.pc-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:18px;align-items:start}
@media(max-width:1000px){.pc-grid{grid-template-columns:1fr}}
.pc-form{padding:22px;display:flex;flex-direction:column;gap:12px}
.pc-form h3{margin:14px 0 0;font-size:15px}.pc-form h3:first-child{margin-top:0}
.pc-form label{display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:12.5px}
.pc-form textarea,.pc-form input:not([type=checkbox]):not([type=color]),.pc-form select{width:100%}
.pc-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media(max-width:620px){.pc-two{grid-template-columns:1fr}}
.pc-label{font-weight:600;font-size:12.5px;margin-bottom:-6px}
.pc-chips{display:flex;flex-wrap:wrap;gap:8px}
.pc-chip{border:1.5px solid #dbe3ef;background:#fff;border-radius:999px;padding:6px 13px;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.pc-chip:hover{border-color:#3987e5}.pc-chip.on{background:#eaf2ff;border-color:#3987e5;color:#1d4fa8}
.pc-wide{width:100%;justify-content:center}
.pc-create{padding:14px;font-size:15px}
.pc-adv{border:1px solid #e3ebf7;border-radius:12px;padding:10px 14px;background:#f4f8fd}.pc-adv summary{cursor:pointer;font-weight:700;color:#1d4fa8}
.pc-adv .pc-two{margin-top:10px}.pc-colors{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}.pc-colors input[type=color]{width:100%;height:36px;padding:2px;border-radius:8px}
.pc-refs{border:1.5px dashed #cfd8e6;border-radius:12px;padding:12px;background:#fafcff}
.pc-ref-list{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0}.pc-ref{position:relative}.pc-ref img{width:84px;height:84px;object-fit:cover;border-radius:10px;border:1px solid #dbe3ef}.pc-ref button{position:absolute;top:-6px;right:-6px;width:20px;height:20px;border-radius:50%;border:0;background:#111;color:#fff;cursor:pointer;line-height:1}
.pc-ref-add{cursor:pointer;text-align:center}
.pc-other{border-top:1px dashed #dbe3ef;padding-top:12px}.pc-three{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:8px}@media(max-width:760px){.pc-three{grid-template-columns:1fr}}
.pc-result{padding:18px;position:sticky;top:12px;min-height:260px;display:flex;flex-direction:column;gap:16px}
.pc-empty{margin:auto;text-align:center;max-width:300px;color:#64748b}.pc-empty b{color:#111;font-size:15px}
.pc-card{margin:0;border:1px solid #e3ebf7;border-radius:14px;overflow:hidden;background:#fff}
.pc-img img{display:block;width:100%;height:auto}
.pc-wait{display:flex;flex-direction:column;align-items:center;gap:10px;padding:60px 20px;color:#64748b;text-align:center}
.pc-spin{width:30px;height:30px;border:3px solid #e3ebf7;border-top-color:#3987e5;border-radius:50%;animation:pcspin 1s linear infinite}@keyframes pcspin{to{transform:rotate(360deg)}}
.pc-card figcaption{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;flex-wrap:wrap}
.pc-form label.toggle-row{flex-direction:row;align-items:center;gap:8px}

/* Reels generator */
.rg-num{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#2563eb;color:#fff;font-size:12px;margin-right:8px}
.pc-four{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}@media(max-width:900px){.pc-four{grid-template-columns:1fr 1fr}}
.rg-starter{display:grid;grid-template-columns:1fr auto auto;gap:10px}@media(max-width:620px){.rg-starter{grid-template-columns:1fr}}
.rg-make{margin-top:18px}.rg-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.rg-video video{width:min(320px,100%);border-radius:12px;display:block;margin:10px 0;background:#000}
.rg-plan{display:flex;flex-direction:column;gap:6px}.rg-plan p{margin:0 0 6px}.rg-row{display:flex;justify-content:space-between;align-items:center;margin-top:8px}
.rg-hook{font-size:17px;font-weight:700;line-height:1.35}.rg-tags{color:#2563eb}.rg-shots td,.rg-shots th{font-size:12.5px;vertical-align:top}
.rg-shots{width:100%;table-layout:fixed}.rg-shots th:first-child,.rg-shots td:first-child{width:62px}.rg-shots td,.rg-shots th{overflow-wrap:anywhere}
