.mashhad-install{display:flex;justify-content:center;padding:10px 12px 0}.mashhad-install>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #9275d9;border-radius:12px;padding:9px 17px;color:#f4edff;background:linear-gradient(135deg,#44306e,#272643);font:700 13px Tahoma,Arial,sans-serif;cursor:pointer;box-shadow:0 3px 12px #5730a52b}.mashhad-install>button:hover{background:#483077}.mashhad-install>button:disabled{opacity:.65}.mashhad-install-dialog{box-sizing:border-box;max-width:min(440px,calc(100vw - 32px));width:440px;margin:auto;padding:30px 24px 24px;border:1px solid #9877dc;border-radius:22px;background:linear-gradient(145deg,#202b45,#17182d);color:#f1ebff;box-shadow:0 18px 70px #0009;font:14px Tahoma,Arial,sans-serif;text-align:right}.mashhad-install-dialog::backdrop{background:#090e22b8}.mashhad-install-dialog>svg{color:#c3a1ff}.mashhad-install-dialog h2{font-size:20px;margin:16px 0}.mashhad-install-dialog p{line-height:1.9}.mashhad-install-dialog small{display:block;color:#b8c5df;line-height:1.8}.mashhad-install-dialog .install-close{position:absolute;left:12px;top:12px;background:transparent;border:0;color:#c8b7e9;padding:7px;cursor:pointer}.mashhad-install-dialog .install-ok{display:block;margin:22px 0 0;padding:10px 24px;border:0;border-radius:10px;background:#b795f6;color:#16122a;font-weight:700;cursor:pointer}.mashhad-install button:focus-visible,.mashhad-install-dialog button:focus-visible{outline:3px solid #81d4ff;outline-offset:3px}.subscription-screen{min-height:100dvh;display:grid;place-items:center;padding:28px 16px;background:radial-gradient(ellipse at top,#30204e,#101326,#090c19);color:#f7f3ff}.subscription-card{width:min(100%,520px);padding:42px 32px;text-align:center;border:1px solid #715895;border-radius:28px;background:linear-gradient(145deg,#24243ce8,#121528f2);box-shadow:0 24px 80px #0005;box-sizing:border-box}.subscription-brand{font-size:15px;color:#ded0f6;font-weight:700;letter-spacing:.5px}.subscription-icon{margin:28px auto 18px;display:grid;place-items:center;width:76px;height:76px;border-radius:24px;font-size:44px;background:linear-gradient(135deg,#b880ff,#6950c5);box-shadow:0 8px 32px #a36ef34a}.subscription-label{color:#c49aff;font-size:14px}.subscription-card h1{font-size:clamp(28px,6vw,36px);margin:12px 0 20px}.subscription-card p{color:#d0cce1;line-height:1.9;font-size:16px;margin:10px 0}.subscription-contact{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:28px;padding:17px 12px;border-radius:16px;background:linear-gradient(115deg,#c49aff,#a479ed);color:#171028;text-decoration:none;font-weight:800;font-size:16px;min-height:54px;box-sizing:border-box}.subscription-contact:hover{filter:brightness(1.08)}.subscription-contact:focus-visible{outline:3px solid white;outline-offset:4px}.subscription-card small{display:block;margin-top:15px;color:#aaa3c0}@media(max-width:480px){.subscription-card{padding:30px 20px}.subscription-contact{font-size:15px}}:root{font-family:Tahoma,Arial,sans-serif;color-scheme:dark;--bg:#101117;--card:#191a23;--field:#13141c;--border:#2b2c39;--muted:#9293a8;--text:#eeedf5;--accent:#bca1ff;--soft:#252133}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}[data-theme=light]{--bg:#f6f5fa;--card:#fff;--field:#f9f8fc;--border:#e4e0ed;--muted:#777188;--text:#292336;--accent:#7950c9;--soft:#f1ebff;color-scheme:light}.app{min-height:100vh;background:var(--bg);color:var(--text)}.sidebar{position:fixed;right:0;top:0;bottom:0;width:235px;border-left:1px solid var(--border);padding:36px 22px;background:var(--card);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:28px;font-weight:700}.brand-icon{width:45px;height:45px;background:#c8b2ff;color:#332052;border-radius:14px;display:grid;place-items:center;transform:rotate(-5deg)}.brand small{display:block;font-size:11px;color:var(--muted);margin-top:7px;font-weight:400}.workspace{font-size:11px;color:var(--muted);margin:58px 10px 17px}.nav{display:flex;align-items:center;gap:12px;padding:15px 12px;margin-bottom:7px;border-radius:9px;font-size:13px;color:var(--muted)}.nav span{margin-right:auto;font-size:11px}.nav.selected{background:var(--soft);color:var(--accent)}.side-note{margin-top:auto;font-size:12px;border:1px solid var(--border);border-radius:10px;padding:16px}.side-note small{display:block;line-height:1.9;margin-top:10px;color:var(--muted);font-size:10px}.dot{display:inline-block;width:6px;height:6px;background:#b4dba0;border-radius:50%;margin-left:6px}.profile{border-top:1px solid var(--border);display:flex;gap:10px;padding-top:23px;margin-top:23px;font-size:11px;align-items:center}.profile small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.avatar{width:34px;height:34px;background:var(--soft);border-radius:50%;display:grid;place-items:center;color:var(--accent)}.main{margin-right:235px}header{height:76px;padding:0 44px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 15px;color:var(--border)}.icon-button{display:grid;place-items:center;background:var(--card);border:1px solid var(--border);width:35px;height:35px;border-radius:9px}main{max-width:1450px;margin:auto;padding:42px 44px 20px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:35px}.eyebrow{font-size:11px;color:var(--accent)}.eyebrow>span{display:inline-block;width:20px;height:1px;background:var(--accent);vertical-align:middle;margin-left:8px}h1{font-size:32px;margin:14px 0;letter-spacing:-1px}h1 span{color:var(--accent)}p{color:var(--muted);font-size:12px;line-height:1.8;margin:0}.local-badge{border:1px solid var(--border);border-radius:20px;padding:9px 13px;font-size:10px;white-space:nowrap}.content{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:24px;align-items:start}.card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:25px;margin-bottom:20px}.section-title{display:flex;align-items:center;gap:12px;margin-bottom:25px}.section-title>div{flex:1}.section-title h2{font-size:16px;margin:0 0 7px}.section-title p{font-size:10px}.step{width:32px;height:32px;border-radius:9px;background:var(--soft);color:var(--accent);display:grid;place-items:center;font-size:11px}.required-note,.optional{color:var(--muted);font-size:10px;font-weight:400}.fields{display:grid;grid-template-columns:1fr 1fr;gap:20px 18px}.wide{grid-column:1/-1}label{display:block;font-size:12px;line-height:1.7}b{color:var(--accent);font-weight:400}.optional{margin-right:6px}input,textarea,select{width:100%;border:1px solid var(--border);border-radius:8px;background:var(--field);padding:12px 13px;color:var(--text);margin-top:9px;font-size:12px;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--accent)}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.7;font-size:11px}textarea{resize:vertical;line-height:1.9;min-height:65px}.prompt{min-height:145px}.spaced{margin-top:20px}.muted{color:var(--accent)}.uploads{display:grid;grid-template-columns:1fr 1fr;gap:18px}.upload{border:1px dashed #575065;border-radius:9px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:135px;margin-top:9px;background:var(--field);color:var(--accent);cursor:pointer}.upload strong{color:var(--text);font-size:11px}.upload small{color:var(--muted);font-size:9px}.upload input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer;margin:0}.upload:focus-within{outline:2px solid var(--accent)}.file-preview{display:flex;gap:8px;align-items:center;margin-top:10px;font-size:10px}.file-preview img{width:38px;height:38px;object-fit:contain}.file-preview span{overflow-wrap:anywhere;flex:1}.file-preview button,.references button{background:var(--field);border:1px solid var(--border);border-radius:5px;padding:4px;display:grid;place-items:center}.references{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.references>div{position:relative}.references img{width:60px;height:60px;object-fit:cover;border-radius:6px}.references button{position:absolute;top:-4px;left:-4px}.warning{color:#d8ae78;font-size:10px;margin-top:10px}.models{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:10px 0 24px}.models button{position:relative;text-align:right;min-height:99px;padding:13px 10px;border:1px solid var(--border);border-radius:8px;background:var(--field)}.models strong{display:block;font-size:11px;margin:9px 0 6px;direction:ltr;text-align:right}.models small{font-size:9px;color:var(--muted)}.models button>span{color:var(--accent);font-size:19px}.models button>svg{position:absolute;left:9px;top:13px;color:var(--accent)}button.chosen{border-color:var(--accent);background:var(--soft)}.aspects{display:flex;gap:8px;margin-top:9px}.aspects button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;min-height:42px;border:1px solid var(--border);border-radius:8px;background:var(--field);font-size:11px}.aspects button.chosen{border-color:var(--accent);background:var(--soft);color:var(--accent)}.duration{display:flex;align-items:center;gap:10px;color:var(--muted)}.duration input{width:105px}.duration span{font-size:11px;margin-top:8px}.info{display:flex;gap:9px;background:var(--soft);padding:13px;border-radius:8px;margin-top:20px;color:var(--accent)}.info svg{flex-shrink:0}.info p{font-size:10px;color:var(--accent)}.submit-row{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:25px 0 30px}.submit-row>span{font-size:10px;color:var(--muted)}.primary{background:#bea1f5;color:#27193f;border:0;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 20px;font-weight:700;font-size:12px}.preview-card{padding:22px}.tag{font-size:10px;background:var(--soft);padding:6px 8px;border-radius:6px;color:var(--accent)}.video-placeholder{aspect-ratio:9/14;background:radial-gradient(ellipse at 50% 38%,#51416926,transparent 70%),var(--field);border:1px solid var(--border);border-radius:10px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:15px}.video-placeholder.landscape{aspect-ratio:16/9}.film-icon{display:grid;place-items:center;width:66px;height:66px;background:var(--soft);border:1px solid var(--border);border-radius:18px;color:var(--accent);margin-bottom:21px}.video-placeholder strong{font-size:13px;margin-bottom:10px}.video-placeholder p{font-size:10px}.video-placeholder>span{font-size:9px;border:1px solid var(--border);padding:7px 10px;border-radius:20px;color:var(--muted);margin-top:25px}.download{display:flex;align-items:center;justify-content:center;gap:9px;background:var(--soft);border:1px solid var(--border);width:100%;padding:12px;border-radius:8px;font-size:11px;margin-top:16px}.preview-footer{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin-top:18px}.preview-footer span{display:flex;gap:6px;align-items:center}.workflow{padding:16px 12px}.workflow h3{font-size:17px;margin:12px 0 24px}.workflow-item{display:flex;gap:13px;font-size:11px;min-height:64px}.workflow-item>span{background:var(--card);border:1px solid var(--border);width:27px;height:27px;border-radius:50%;display:grid;place-items:center;color:var(--accent);flex-shrink:0;font-size:10px}.workflow-item small{display:block;color:var(--muted);margin-top:8px;font-size:9px}.privacy{font-size:10px;text-align:center;border-top:1px solid var(--border);padding:22px 0;line-height:2}.notice{padding:15px;border-radius:9px;font-size:12px;margin-bottom:15px}.success{background:#84c99917;color:#97c7a5;border:1px solid #97c7a544}.error{background:#ff696914;color:#f09b9b;border:1px solid #f09b9b55}.secondary{display:flex;align-items:center;gap:6px;font-size:11px;padding:10px 12px;background:var(--field);border:1px solid var(--border);border-radius:7px}.count{color:var(--muted);font-size:11px;padding:4px 7px;background:var(--field);border-radius:5px;margin-right:5px}.empty{text-align:center;padding:35px 10px;color:var(--muted)}.empty svg{color:var(--accent)}.empty h3{font-size:13px;color:var(--text);margin:15px 0 7px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:11px;text-align:right;min-width:580px}th{color:var(--muted);font-weight:400;padding:13px;border-bottom:1px solid var(--border)}td{padding:17px 13px;border-bottom:1px solid var(--border);max-width:220px;overflow-wrap:anywhere}.status{color:var(--accent);background:var(--soft);border-radius:20px;padding:5px 10px}.text-button{color:var(--accent);border:0;background:transparent;font-size:11px}.status-legend{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;font-size:9px;color:var(--muted)}.status-legend>span:not(:first-child){border:1px solid var(--border);border-radius:5px;padding:4px 7px}footer{font-size:10px;color:var(--muted);display:flex;gap:9px;padding:10px 0 15px}footer small{margin-right:auto;font-size:9px}@media(max-width:1150px){.sidebar{width:185px;padding:30px 16px}.main{margin-right:185px}main{padding:30px 25px}.content{grid-template-columns:minmax(0,1fr) 265px;gap:18px}.card{padding:20px}h1{font-size:27px}.required-note{display:none}}@media(max-width:900px){.sidebar{position:static;width:auto;flex-direction:row;align-items:center;padding:15px 20px;border-left:0;border-bottom:1px solid var(--border);gap:15px}.brand{font-size:22px;margin-left:auto}.brand-icon{width:37px;height:37px}.workspace,.side-note,.profile{display:none}.nav{margin:0;padding:10px}.nav span{display:none}.main{margin:0}header{height:55px;padding:0 25px}.local-badge{display:none}}@media(max-width:700px){main{padding:25px 16px 10px}.content{display:flex;flex-direction:column;gap:0}.content form,.right-column{width:100%}.sidebar{gap:4px;padding:14px 16px}.nav{font-size:10px;gap:6px;padding:10px 7px}.brand{gap:8px}.brand small{display:none}header{padding:0 18px}h1{font-size:25px;line-height:1.5;margin:11px 0}.intro{margin-bottom:24px}.intro p{font-size:11px}.card{padding:20px 16px}.fields{grid-template-columns:1fr;gap:17px}.wide{grid-column:auto}.uploads{grid-template-columns:1fr}.section-title h2{font-size:15px}.models{gap:7px}.models strong{font-size:10px}.models small{font-size:8px}.submit-row{flex-direction:column-reverse;align-items:stretch}.submit-row>span{text-align:center}.primary{padding:16px}.video-placeholder{aspect-ratio:9/12;max-width:260px;margin:auto}.video-placeholder.landscape{max-width:none;aspect-ratio:16/9}.workflow{padding:14px 20px}.privacy{margin-bottom:20px}.requests .section-title{gap:5px}.secondary{font-size:10px;padding:9px}footer{flex-wrap:wrap;justify-content:center}footer small{width:100%;text-align:center;margin:5px 0}.status-legend{gap:7px}}.setup-banner{background:var(--soft,#252133);color:var(--accent,#bca1ff);font-size:12px;padding:14px 24px;text-align:center;line-height:1.8}.auth-screen{min-height:100vh;background:var(--bg);color:var(--text);display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px;gap:20px}.auth-screen h1{font-size:25px}.auth-screen p{max-width:600px}.auth-screen button{padding:14px 25px;border-radius:10px;border:1px solid var(--border);background:var(--soft);color:var(--text)}.cloud-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;font-size:11px}.online{color:#98b995}.offline{color:#d8ae78}.cloud-notice{margin-bottom:22px}.cloud-notice progress{width:100%;accent-color:var(--accent);margin:8px 0 18px}.cloud-preview h2{font-size:15px;margin:0 0 13px}.cloud-preview p{font-size:10px;margin:7px 0;overflow-wrap:anywhere}.cloud-preview video{width:100%;max-height:440px;background:#000;border-radius:10px;margin:15px 0;display:block}.cloud-preview .references>img{width:65px;height:65px;object-fit:contain;background:var(--field);border-radius:6px}.submit-row{flex-wrap:wrap}.submit-row>span{flex-basis:100%}label.upload:has(input:disabled){opacity:.5;cursor:not-allowed}@media(max-width:700px){.setup-banner{font-size:10px;padding:12px}.submit-row>span{flex-basis:auto}}@media(max-width:700px){#cloud-requests .table-wrap{overflow:visible}#cloud-requests table{min-width:0}#cloud-requests thead{display:none}#cloud-requests tbody{display:block}#cloud-requests tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--border);border-radius:9px;padding:13px;margin-bottom:10px;gap:10px}#cloud-requests td{padding:0;border:0;max-width:none}#cloud-requests td:first-child{font-weight:700;font-size:13px}#cloud-requests td:nth-child(2){font-size:9px;color:var(--muted)}#cloud-requests td:nth-child(3){font-size:10px;text-align:right}#cloud-requests td:last-child{grid-column:1/-1}.cloud-preview{scroll-margin-top:15px}}html{overflow-x:clip}.montage{margin-top:24px}.montage-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:30px}.montage h3{margin:24px 0 12px}.montage p{line-height:1.8;overflow-wrap:anywhere}.montage label{display:flex;flex-direction:column;gap:8px;margin:10px 0}.montage .check{flex-direction:row;align-items:center}.montage .check input{width:auto}.clip-edit{display:flex;align-items:end;gap:10px;flex-wrap:wrap;border:1px solid var(--border);border-radius:12px;padding:12px;margin:12px 0}.clip-edit label{max-width:130px}.edit-preview{aspect-ratio:9/16;position:relative;background:#000;overflow:hidden;border-radius:18px;max-width:360px;margin:auto}.edit-preview video{width:100%;height:100%;max-height:none}.edit-logo{position:absolute;pointer-events:none;object-fit:contain}.edit-logo.top-right{top:3%;right:6%}.edit-logo.top-left{top:3%;left:6%}.edit-logo.bottom-right{bottom:3%;right:6%}.edit-logo.bottom-left{bottom:3%;left:6%}.edit-text{position:absolute;right:7.5%;left:7.5%;font:16px/1.5 Arial,sans-serif;text-align:center;padding:8px;overflow-wrap:anywhere;pointer-events:none}.edit-text.top{top:7.5%}.edit-text.bottom{bottom:7.5%}.export-job{border:1px solid var(--border);border-radius:12px;padding:16px;margin:12px 0;display:flex;flex-direction:column;gap:10px}.export-job code{overflow-wrap:anywhere}.final-export video{width:100%;max-height:640px}.montage progress{width:100%}.montage input[type=color]{height:44px}.montage .fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.montage-view,.montage-settings{min-width:0}@media(max-width:800px){.montage-grid,.montage .fields{grid-template-columns:1fr}.clip-edit label{max-width:100%;flex:1 1 100px}.montage .submit-row{flex-wrap:wrap}.export-job code{font-size:11px}}.montage button:not(.primary):not(.secondary){background:var(--soft);color:var(--accent);border:1px solid var(--border);border-radius:8px;padding:8px 12px;font-size:12px}.montage button[aria-pressed=true]{border-color:var(--accent)}.montage h3,.montage code{overflow-wrap:anywhere}.final-export>video{display:block;background:#000;border-radius:12px;margin:12px auto}.montage details summary{cursor:pointer;color:var(--muted);font-size:12px}.montage details p{margin-top:6px}.final-export>video{width:auto;max-width:100%;height:auto;max-height:min(640px,70vh);object-fit:contain}.generation-plan input[type=checkbox]{width:auto;margin-inline-end:8px}.generation-plan .duration button,#pipeline button{border:1px solid var(--border);background:var(--soft);border-radius:8px;padding:10px}.generation-plan .duration{justify-content:space-between}.generation-plan h2,#pipeline h2{font-size:17px}.settings-preview p{color:inherit;overflow-wrap:anywhere}#pipeline video{display:block;width:auto;max-width:100%;max-height:70vh;margin:12px auto}#pipeline code,#pipeline li,#pipeline p{overflow-wrap:anywhere}#pipeline li{margin-block:12px;font-size:13px}#pipeline details{margin-block:8px}.generation-plan .fields{margin-block:20px}.advanced{border:1px solid var(--border);border-radius:14px;padding:14px;margin:16px 0}.advanced summary{cursor:pointer;font-weight:700;min-height:28px}.advanced[open] summary{margin-bottom:18px}.advanced img{max-width:180px;max-height:180px;object-fit:contain}.file-preview img,.edit-logo{background-color:#ddd;background-image:conic-gradient(#bbb 25%,#eee 0,#eee 50%,#bbb 0,#bbb 75%,#eee 0);background-size:16px 16px}.edit-logo{background:none}.file-preview img{width:88px;height:88px;flex-shrink:0}.file-preview span{overflow-wrap:anywhere;min-width:0}.app-update{position:fixed;top:max(12px,env(safe-area-inset-top));left:50%;transform:translate(-50%);z-index:2147483647;max-width:calc(100vw - 24px);width:440px;padding:14px 18px;box-sizing:border-box;border:1px solid #bf8cff;border-radius:18px;background:#12172f;color:#f6efff;box-shadow:0 8px 32px #0008;display:flex;align-items:center;gap:12px;flex-wrap:wrap;direction:rtl;font:13px Tahoma,Arial,sans-serif}.app-update button{display:flex;align-items:center;gap:7px;margin-right:auto;min-height:44px;border:1px solid #e0bcff;border-radius:12px;background:#ba85fa;color:#211332;padding:8px 12px;font-weight:700;cursor:pointer}.app-update small{width:100%;font-size:11px;line-height:1.8;color:#d0c5e5}.redesign-canvas{width:100%;max-width:none;min-height:100dvh;margin:0;padding:0;background:#101117}.redesign-settings-tab{position:fixed;z-index:11;top:20px;left:20px;display:flex;align-items:center;gap:10px;min-height:46px;padding:10px 18px;border:1px solid #514366;border-radius:14px;background:#211c2d;color:#e8dcff;font-weight:700;font-size:14px;box-shadow:0 6px 20px #0003}.redesign-settings-tab:hover,.redesign-settings-tab[aria-expanded=true]{background:#342744;border-color:#a67bdd}.redesign-settings-panel{position:fixed;top:80px;left:20px;width:min(400px,calc(100% - 40px));max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain;min-height:140px;padding:16px;border:1px solid #514366;border-radius:18px;background:#191722;color:#eee8f8;box-shadow:0 16px 40px #0004;margin-bottom:24px}.redesign-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.redesign-settings-heading h2{margin:0;font-size:18px}.redesign-settings-heading button{display:grid;place-items:center;min-width:36px;min-height:36px;padding:6px;border:1px solid #514366;border-radius:10px;background:#272133;color:#e8dcff}.series-projects{margin-top:16px;padding-bottom:16px;border-bottom:1px solid #393244}.series-section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.series-section-heading h3,.series-project-content h3{font-size:14px;margin:0}.redesign-settings-panel label{display:block;font-size:13px;margin-bottom:10px;color:#cbc1da}.redesign-settings-panel select,.redesign-settings-panel input:not([type=file]){width:100%;min-height:42px;border:1px solid #514366;border-radius:12px;padding:10px;background:#101117;color:#eee8f8;font-size:14px}.redesign-settings-panel button{font-size:13px}.series-primary,.series-secondary,.series-delete{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:9px 13px;border:1px solid #514366;border-radius:10px;font-weight:700}.series-primary{background:#b58aee;color:#1b1127;border-color:#b58aee}.series-secondary{background:#292232;color:#e2d3f7}.series-delete{background:#302029;border-color:#63404f;color:#ffb4c3}.series-new-project{display:grid;gap:12px;margin-top:16px;padding:16px;border:1px solid #514366;border-radius:14px}.series-new-project label{margin:0}.series-project-content{padding-top:16px}.series-characters-entry{display:flex;align-items:center;gap:10px;width:100%;text-align:right;margin-top:12px;padding:12px;border:1px solid #514366;border-radius:14px;background:#24202e;color:#eee8f8}.series-characters-entry>svg{margin-right:auto}.series-entry-icon{display:grid;place-items:center;background:#392b4c;color:#cfabff;width:36px;height:36px;border-radius:12px}.series-characters-entry small{display:block;margin-top:5px;color:#aba1b7}.series-back{display:flex;gap:7px;align-items:center;margin-bottom:22px;border:0;background:none;color:#c7a5f2;padding:4px 0;min-height:32px}.series-character-form{padding:14px;margin:14px 0;border:1px solid #655080;border-radius:16px;background:#211c2d}.series-character-form h4,.series-character-list h4{font-size:14px;margin:0 0 16px}.redesign-settings-panel .series-upload{display:flex;flex-direction:column;align-items:center;gap:12px;border:1px dashed #82659e;background:#17131e;border-radius:14px;padding:20px;cursor:pointer;margin-bottom:20px}.series-upload span{display:flex;align-items:center;gap:8px;color:#d9baff;font-weight:700}.series-upload input{position:absolute;width:1px;height:1px;opacity:0}.series-upload:focus-within{outline:2px solid #c6a1ff;outline-offset:3px}.series-upload img{width:110px;height:110px;border-radius:12px;object-fit:cover}.series-form-actions{display:flex;gap:10px;margin-top:18px}.series-character-list{margin-top:18px}.series-character-card{display:flex;gap:16px;align-items:center;padding:14px;border:1px solid #44364f;border-radius:14px;background:#211d29;margin-top:12px}.series-character-card>img{width:80px;height:90px;object-fit:cover;border-radius:10px}.series-character-info{flex:1;min-width:0}.series-character-info>strong{display:block;overflow-wrap:anywhere}.series-character-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.series-empty{padding:22px;border:1px dashed #44364f;border-radius:14px;font-size:13px;color:#bcb1ca}.series-error{margin-top:16px;font-size:13px;color:#ffb4c3}.series-delete-confirm{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;align-items:center;font-size:12px;color:#ffb4c3}.series-delete-confirm button{border:1px solid #63404f;border-radius:8px;padding:8px;background:#302029;color:#ffdae2}@media(max-width:480px){.redesign-settings-panel{padding:16px}.series-section-heading{flex-wrap:wrap}.series-character-form{padding:15px}.series-character-card{gap:12px;padding:12px}.series-character-card>img{width:64px;height:80px}}.series-models>h3{margin-bottom:12px}.series-model-note{font-size:13px;color:#bcb1ca;line-height:1.8;margin:12px 0}.series-model-observed{display:block;color:#92859f;font-size:11px;line-height:1.8;margin:8px 0 20px}.series-model-card{border:1px solid #514366;border-radius:15px;background:#211d29;padding:18px;margin:16px 0}.series-model-heading{display:flex;gap:10px;align-items:center;color:#d9baff;margin-bottom:16px}.series-model-heading h4{margin:0;font-size:15px}.series-model-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.series-model-option{display:flex;flex-direction:column;gap:10px;align-items:flex-start;padding:13px;border:1px solid #514366;border-radius:12px;background:#17131e;color:#ddd0ec;text-align:right}.series-model-option>span{font-size:12px}.series-model-option>strong{display:flex;gap:8px;align-items:center;color:#cfadff;font-size:15px}.series-model-option:hover,.series-model-option.selected{border-color:#c49aff;background:#362647}.series-model-option.selected>strong{color:#eadbff}@media(max-width:360px){.series-model-options{grid-template-columns:1fr}}.redesign-settings-panel{z-index:10}.series-chat{width:min(480px,calc(100% - 40px));margin:0 auto;padding-top:42dvh;padding-bottom:32px;color:#eee8f8}.series-chat-history{display:flex;flex-direction:column;gap:14px;margin-bottom:18px}.series-chat-message{max-width:90%;border:1px solid #55416a;border-radius:16px 16px 4px;padding:12px 15px;background:#2a2037;align-self:flex-start}.series-chat-message.assistant{align-self:flex-end;background:#1b1b29;border-color:#3e374b;border-radius:16px 16px 16px 4px}.series-chat-message strong{font-size:11px;color:#c5a4ed}.series-chat-message p{font-size:14px;line-height:1.9;color:#eee8f8;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:7px}.series-chat-composer{position:relative;border:1px solid #675080;background:#1b1725;border-radius:16px;padding:13px 15px 13px 54px}.series-chat-composer textarea{display:block;box-sizing:border-box;width:100%;min-height:26px;resize:none;overflow:hidden;border:0;padding:0;outline:0;background:transparent;color:#eee8f8;font-size:14px;line-height:26px}.series-chat-composer:focus-within{border-color:#b887ed}.series-chat-composer>button{position:absolute;bottom:9px;left:9px;display:grid;place-items:center;width:34px;height:34px;background:#b58aee;color:#20112d;border:0;border-radius:10px}.series-chat-input-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:480px){.series-chat{width:calc(100% - 32px)}.series-chat-message{max-width:95%}}.series-ticket form{display:block}.series-ticket textarea{width:100%;min-height:100px;padding:10px;border:1px solid #514366;border-radius:12px;background:#101117;color:#eee8f8;resize:vertical;font-size:13px;line-height:1.8;margin-bottom:14px}.series-ticket h4{font-size:14px;margin:0}.series-ticket-episode{border:1px solid #514366;background:#211d29;border-radius:12px;padding:12px;margin-bottom:12px}.series-ticket-episode.completed{border-color:#649a7c}.series-ticket-episode.active{border-color:#b58aee}.series-ticket-episode-heading{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:13px}.series-ticket-episode-heading span{color:#bcb1ca;font-size:12px}.redesign-settings-panel .series-ticket-complete{display:flex;align-items:center;gap:8px}.series-ticket-complete input{accent-color:#b58aee}.series-ticket-episode small{display:block;color:#cfabff;margin-bottom:10px}.series-ticket-episode .series-secondary{min-height:34px;font-size:12px}.redesign-settings-panel .series-ticket-complete input[type=checkbox]{width:18px;height:18px;min-width:18px;min-height:18px;flex:0 0 18px;margin:0;padding:0}.redesign-settings-panel .series-ticket-complete{justify-content:flex-start}.series-chat{padding-top:100px;padding-bottom:120px}.series-chat-composer{position:fixed;bottom:20px;left:50%;transform:translate(-50%);width:min(480px,calc(100% - 40px));z-index:5}.series-chat-composer textarea{max-height:35dvh;overflow-y:auto}@media(max-width:480px){.series-chat-composer{bottom:16px;width:calc(100% - 32px)}}.series-chat-composer{padding-left:94px}.series-chat-composer>.series-chat-upload{left:50px;background:transparent;color:#d9baff;border:1px solid #514366}.series-image-review{position:absolute;bottom:calc(100% + 12px);left:0;width:100%;max-height:calc(100dvh - 180px);overflow-y:auto;overscroll-behavior:contain;border:1px solid #675080;border-radius:16px;padding:16px;background:#191722;box-shadow:0 12px 35px #0006}.series-image-review h3{font-size:15px;margin:0}.series-image-review>img{display:block;max-height:200px;width:100%;object-fit:contain;border-radius:10px;margin-bottom:12px}.series-image-review>p{font-size:12px;color:#bcb1ca}.series-image-review label{display:block;margin:12px 0 7px;font-size:12px}.series-image-review select,.series-image-review input,.series-image-review textarea{width:100%;border:1px solid #514366;border-radius:10px;padding:9px;background:#101117;color:#eee8f8;font-size:13px}.series-image-review textarea{min-height:65px;resize:vertical;overflow:auto}.series-image-review .series-secondary{min-height:34px}.series-scene-card{padding:12px;border:1px solid #514366;background:#211d29;border-radius:12px;margin-top:12px}.series-scene-card img{display:block;width:100%;max-height:210px;object-fit:contain;margin-bottom:10px;border-radius:10px}.series-scene-card strong{font-size:14px}.series-scene-card p{font-size:12px;color:#bcb1ca;margin-top:8px;white-space:pre-wrap}.series-upload-error{position:absolute;bottom:100%;color:#ffb4c3}.series-chat-history{gap:8px}.series-chat-message{width:fit-content;max-width:85%;padding:6px 10px;border-radius:11px 11px 3px}.series-chat-message.assistant{border-radius:11px 11px 11px 3px}.series-chat-message strong{font-size:10px;line-height:1.3}.series-chat-message p{font-size:13px;line-height:1.5;margin:3px 0 0}.series-chat-message strong{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.series-chat-message p{margin:0}.series-chat-message img{display:block;width:auto;max-width:220px;max-height:180px;object-fit:contain;border-radius:8px}.series-image-status{display:block;color:#bda8d2;font-size:10px;margin-top:5px}.series-episode-settings h3{margin-bottom:16px}.series-episode-settings form{display:block}.series-episode-settings label:not(.series-ticket-complete){margin-top:14px}.series-episode-settings .series-primary{margin-top:12px}.series-ending-video{margin-top:20px;padding-top:16px;border-top:1px solid #44364f}.series-ending-video input[type=file]{display:block;width:100%;font-size:12px;color:#cbc1da}.series-ending-video video{display:block;width:100%;max-height:180px;border-radius:10px;margin:10px 0;background:#000}.series-ending-filename{font-size:12px;color:#d9baff;overflow-wrap:anywhere;margin-top:10px}.series-ai-status{font-size:12px;color:#baa1e4;margin:10px 0}.series-retry{font-size:12px;padding:7px 12px;border:1px solid #67527f;background:#241d30;color:#d8c8f0;border-radius:10px}.series-project-picker{display:flex;gap:6px;align-items:center}.series-project-picker select{flex:1;min-width:0}.series-project-picker button{flex:none;padding:10px;display:flex;align-items:center;justify-content:center}.series-project-delete-confirm{margin-top:12px;padding:12px;border:1px solid #70435b;border-radius:12px;background:#261c27;font-size:12px;line-height:1.7}.series-project-delete-confirm p{margin:0 0 10px}.series-continuity label{display:block;font-size:12px;margin:12px 0 6px}.series-continuity textarea{width:100%;resize:vertical;padding:10px;border:1px solid #594570;border-radius:10px;background:#11111e;color:#eee;box-sizing:border-box;font:inherit;font-size:13px;line-height:1.7}.series-continuity form>button{margin-top:10px}.series-continuity .series-section-heading{margin-top:24px}.series-place-form,.series-place-card{border:1px solid #594570;border-radius:12px;padding:12px;margin:12px 0;background:#211c2d}.series-place-card p{font-size:12px;white-space:pre-wrap;line-height:1.7}.series-place-references>div{display:flex;gap:6px;align-items:center;margin:8px 0}.series-place-references img{width:50px;height:50px;object-fit:cover;border-radius:7px}.series-place-references input{min-width:0;flex:1}.series-place-thumbnails{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.series-place-thumbnails figure{margin:0;width:75px}.series-place-thumbnails img{width:75px;height:65px;object-fit:cover;border-radius:8px}.series-place-thumbnails figcaption{font-size:10px;overflow-wrap:anywhere}.series-scene-snapshot{font-size:12px;margin:10px 0;border-top:1px solid #594570;padding-top:8px}.series-scene-snapshot pre{white-space:pre-wrap;font:inherit;line-height:1.7}.series-visual-cards{width:min(100%,480px);margin:16px auto 110px}.series-visual-card{padding:14px;border:1px solid #514164;border-radius:16px;margin:12px 0;background:#191620}.series-visual-card label{display:block;margin:10px 0}.series-visual-card input,.series-visual-card textarea{width:100%;box-sizing:border-box;background:#101117;color:inherit;border:1px solid #514164;border-radius:8px;padding:8px}.series-visual-card textarea{min-height:100px}.series-visual-card button{margin:4px;padding:8px;border-radius:8px}.series-visual-card img{max-width:100%;max-height:420px;object-fit:contain}.redesign-points-tab{position:fixed;z-index:11;top:20px;right:20px;display:flex;align-items:center;gap:8px;min-height:46px;padding:10px 18px;border:1px solid #514366;border-radius:14px;background:#211c2d;color:#e8dcff;font-weight:700;font-size:14px}.redesign-points-panel{position:fixed;top:80px;right:20px;width:min(320px,calc(100vw - 40px));box-sizing:border-box;padding:18px;border:1px solid #514366;border-radius:18px;background:#191722;color:#eee8f8;z-index:12;box-shadow:0 8px 25px #0005}.redesign-points-panel h2{font-size:16px}.redesign-points-panel p{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.personal-points-number{display:block;font-size:36px;margin:14px 0;color:#d9baff}.series-conversation-row{display:flex;flex-wrap:wrap;gap:8px;padding:10px 0;border-bottom:1px solid #574568}.series-conversation-row>.series-secondary{flex:1;min-width:0;justify-content:flex-start;text-align:right}.series-conversation-row span{overflow-wrap:anywhere}.series-conversation-row small{color:#bba8d3}.series-conversation-row [role=alertdialog]{width:100%;font-size:13px}.series-chat-result-image{position:relative;width:fit-content;max-width:100%;margin:12px auto 22px;padding:0}.series-chat-result-image>img{display:block;width:auto;max-width:100%;height:auto;max-height:65dvh;border-radius:12px}.series-image-download{position:absolute;bottom:9px;left:9px;display:grid;place-items:center;width:30px;height:30px;border:1px solid #66517c;border-radius:8px;background:#171321e8;color:#e5d0ff;text-decoration:none}.series-image-download:hover{background:#3a284d}.series-image-download:focus-visible{outline:2px solid #b887ed;outline-offset:3px}.series-chat-attachment{position:relative;display:inline-flex;flex-shrink:0}.series-chat-attachment .series-chat-upload{overflow:hidden;padding:0;width:38px;height:38px}.series-chat-attachment .series-chat-upload img{width:100%;height:100%;object-fit:cover;border-radius:8px}.series-chat-composer .series-chat-attachment-remove{position:absolute;top:-7px;right:-7px;width:18px;min-width:18px;height:18px;min-height:18px;padding:0;border-radius:50%;background:#292032;border:1px solid #a886d0;display:grid;place-items:center}.series-chat-composer>.series-chat-attachment{position:absolute;bottom:9px;left:50px}.series-chat-attachment .series-chat-upload{display:grid;place-items:center;background:transparent;color:#d9baff;border:1px solid #514366;border-radius:10px}.series-connection-card{border:1px solid #514366;border-radius:12px;padding:14px;margin:14px 0;background:#211d29}.series-connection-card h4{font-size:14px;margin:0 0 8px}.series-connection-card p,.series-connection-card small,.series-connection-card summary{font-size:12px;line-height:1.8}.series-connection-card small{display:block;color:#bcb1ca;margin-top:8px}.series-connection-card a{display:inline-block;color:#d4adff;font-size:12px;margin-top:10px}.series-connection-card details{margin-top:12px}.series-connection-card code{display:block;font-size:11px;overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;margin:8px 0}.series-connection-platform{margin:12px 0}.series-connection-platform label{display:block;font-size:12px;margin-bottom:7px}.series-connection-platform select{width:100%;min-height:40px;border:1px solid #675080;border-radius:10px;background:#111117;color:#eee8f8;padding:8px;margin-bottom:8px}.series-connections h3{display:flex;align-items:center;gap:7px}.series-platform-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.series-platform-group{display:flex;flex-direction:column;min-width:0;justify-content:flex-end}.series-platform-schedule{font-size:10px;line-height:1.6;text-align:center;color:#c8bbd9;margin:0 0 6px}.series-platform-tile{width:100%;min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;padding:13px 8px;background:#211d29;border:1px solid #514366;border-radius:14px;color:#eee8f8;cursor:pointer}.series-platform-tile:hover,.series-platform-tile.is-open{border-color:#b58bef;background:#30243e}.series-platform-tile:focus-visible{outline:2px solid #ba91ff;outline-offset:3px}.series-platform-identity{display:flex;align-items:center;justify-content:center;gap:8px;height:38px}.series-platform-icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:#382d48;flex:none}.series-platform-icon svg{width:23px;height:23px}.facebook .series-platform-icon,.series-platform-icon.facebook{background:#1877f2;color:#fff}.instagram .series-platform-icon,.series-platform-icon.instagram{background:linear-gradient(35deg,#efaa40,#df347b,#7144c5);color:#fff}.youtube .series-platform-icon,.series-platform-icon.youtube{background:#dc2929;color:#fff}.tiktok .series-platform-icon,.series-platform-icon.tiktok{background:#080c12;color:#fff}.series-platform-tile strong{font-size:13px}.series-platform-account{font-size:11px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.series-platform-status{font-size:10px;color:#b8a8c9;display:flex;align-items:center;gap:4px}.series-account-photo{width:34px;height:34px;object-fit:cover;border-radius:50%;flex:none;border:1px solid #8a6aa6}.series-account-placeholder{display:flex;align-items:center;justify-content:center;background:#3a2d49;color:#e7cef6;font-size:14px}.series-connected-account{display:flex;align-items:center;gap:10px;margin:12px 0;padding:10px;background:#18151f;border-radius:10px}.series-connected-account div{min-width:0}.series-connected-account strong{font-size:12px;overflow-wrap:anywhere;display:block}.series-connected-account small{margin-top:2px}.series-connection-card h4{display:flex;align-items:center;gap:8px}.series-scheduling-note{border-top:1px solid #514366;padding-top:10px}.series-connections>.series-section-heading{margin:14px 0 10px}.series-connections>.series-back{margin:8px 0}.series-platform-tile{padding:10px 7px;gap:5px}.series-platform-identity{height:32px}.series-platform-identity .series-platform-icon,.series-platform-identity .series-account-photo{width:30px;height:30px}.series-platform-grid{margin:12px 0}.series-chat-mode{margin:10px 0 14px}.series-chat-mode>strong{display:block;font-size:12px;margin-bottom:8px}.series-chat-mode>div{display:flex;padding:4px;gap:4px;border:1px solid #514366;border-radius:12px;background:#111117}.series-chat-mode button{flex:1;padding:10px 6px;border:0;border-radius:9px;background:transparent;color:#c8bdd7;cursor:pointer;font:inherit;font-size:12px}.series-chat-mode button[aria-pressed=true]{background:#7854a0;color:#fff}.series-chat-mode small{display:block;font-size:11px;margin-top:7px;color:#c8bdd7}.series-library{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#101117;color:#eee8f8;padding:24px;overflow:auto;box-sizing:border-box}.series-library header{display:flex;justify-content:space-between;gap:20px;align-items:start;max-width:1200px;margin:auto}.series-library header>div{width:min(480px,80%)}.series-library label,.library-add label{display:block;font-size:13px;margin:10px 0}.series-library input,.series-library select,.library-add input,.library-add select{width:100%;box-sizing:border-box;padding:10px;background:#191722;border:1px solid #675080;color:#eee8f8;border-radius:10px;font:inherit}.library-toolbar{display:flex;gap:10px;max-width:1200px;margin:20px auto}.library-note{font-size:12px;line-height:1.8;color:#bcb1ca;max-width:1200px;margin:12px auto}.library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;max-width:1200px;margin:20px auto}.library-video{border:1px solid #514366;border-radius:15px;background:#211c2d;padding:14px;min-width:0}.library-video video{width:100%;max-height:280px;border-radius:10px;background:#000}.library-video h3{font-size:15px;overflow-wrap:anywhere}.library-video p{font-size:13px;line-height:1.7}.library-video.is-published{opacity:.58;border-color:#619b7b}.library-video.is-published>strong{color:#98d2b2}.library-schedule,.library-add{max-width:650px;padding:18px;margin:18px auto;border:1px solid #675080;border-radius:14px;background:#191722}.library-schedule p{font-size:12px;color:#bcb1ca}.library-time{display:flex;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #514366}.library-time>strong{font-size:12px;flex:none}.library-time label{flex:1;min-width:0}.library-video form button{margin:8px 4px}.library-video [role=alertdialog]{padding:12px;border:1px solid #675080;border-radius:10px;margin-top:12px}@media(max-width:480px){.series-library{padding:16px}.library-grid{grid-template-columns:1fr}.library-time{flex-wrap:wrap}.library-time>strong{width:100%}.library-time label{min-width:65px}}.library-video.is-next{border:2px solid #ed5656;box-shadow:0 0 0 1px #ed565633}.library-next-label{display:block;color:#ff7e7e;font-size:12px;margin:8px 0}.library-video[draggable=true]{cursor:grab}.library-video:active{cursor:grabbing}.library-checkbox{display:flex!important;align-items:flex-start;gap:10px;line-height:1.8}.library-checkbox input[type=checkbox]{width:18px;height:18px;min-width:18px;flex:none;accent-color:#b58aee;margin-top:4px}.library-publish-state{padding:10px;border:1px solid #675080;border-radius:10px;margin:10px 0}.library-publish-state small{display:block;font-size:11px}.library-video details{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.reels-shell{min-height:100dvh;background:#101117;color:#eee8f8;font-family:system-ui,sans-serif;overflow-wrap:anywhere}.reels-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px;background:#15141eef;border-bottom:1px solid #3f344f;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.reels-header>strong{font-size:22px}.reels-header small{display:block;font-size:11px;font-weight:400;color:#c8bbd9}.reels-header nav{display:flex;gap:4px;flex-wrap:wrap}.reels-header nav button{font:inherit;color:inherit;background:transparent;border:0;border-radius:10px;padding:10px 12px;cursor:pointer}.reels-header nav button[aria-pressed=true]{background:#392b4c}.reels-tools{display:flex;align-items:center;gap:15px;padding:16px 24px;max-width:1200px;margin:auto}.reels-tools span{font-size:12px;color:#bcb1ca}.reels-shell .series-library{position:static;inset:auto;z-index:auto;overflow:visible;max-width:1250px;margin:auto;min-height:65dvh}.reels-shell .library-toolbar{align-items:center;flex-wrap:wrap}.reels-shell .library-toolbar label{min-width:200px;flex:1}.reels-shell .library-video h2{font-size:16px}.reels-shell textarea{width:100%;box-sizing:border-box;border:1px solid #675080;border-radius:10px;background:#191722;color:#eee8f8;padding:10px;font:inherit;resize:vertical}.reels-shell button{cursor:pointer}.reels-shell button:disabled{cursor:default;opacity:.55}.reels-connections,.reels-history{max-width:850px;margin:20px auto;padding:20px}.reels-history article{border:1px solid #514366;border-radius:14px;padding:16px;margin:12px 0}.reels-empty{text-align:center;padding:60px 16px;color:#bcb1ca}.reels-empty h2{font-size:20px;color:#eee8f8}.reels-shell>.series-error{max-width:1100px;margin:20px auto;padding:12px}.reels-shell .series-form-actions{flex-wrap:wrap}.reels-shell .library-grid{grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr))}.reels-shell input,.reels-shell select{min-width:0}.reels-shell video{display:block;max-width:100%}@media(max-width:600px){.reels-header{align-items:start;padding:12px;flex-direction:column}.reels-header nav{width:100%}.reels-header nav button{flex:1;padding:9px 6px;font-size:13px}.reels-tools{padding:12px;flex-wrap:wrap}.reels-shell .series-library{padding:12px}.reels-shell .series-library header{gap:10px;flex-wrap:wrap}.reels-shell .series-library header>div{width:100%}.reels-connections,.reels-history{padding:12px}.reels-shell .library-grid{grid-template-columns:1fr}.reels-shell .library-video{padding:12px}.reels-shell .series-library header button{width:100%}}.reels-shell{margin:0!important;padding:0!important;width:100%;max-width:none}.reels-shell .reels-header{margin:0}.reels-shell .series-library>header{padding:0;border:0}.reels-shell .series-library h1{font-size:24px;margin:0 0 12px}.reels-shell{--bg:#f6f7fb;--surface:#fff;--raised:#f1eff8;--text:#252135;--muted:#6c657b;--border:#dedbe8;--accent:#7550ae;--accent-text:#fff;background:var(--bg);color:var(--text);font:15px/1.7 system-ui,sans-serif}.reels-shell[data-theme=dark]{--bg:#11131b;--surface:#1b1b28;--raised:#282334;--text:#eee8f8;--muted:#beb4cc;--border:#484057;--accent:#b58aee;--accent-text:#201529;color-scheme:dark}html[data-reels-theme=light],html[data-reels-theme=light] body{background:#f6f7fb;color-scheme:light}html[data-reels-theme=dark],html[data-reels-theme=dark] body{background:#11131b;color-scheme:dark}.reels-header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;padding:14px 24px;background:var(--surface);border-color:var(--border);margin:0;height:auto;min-height:0}.reels-header>strong{font-size:23px;line-height:1.25;white-space:nowrap}.reels-header small{color:var(--muted);margin-top:5px}.reels-header nav{gap:6px;justify-content:center}.reels-header nav button,.reels-header-actions button{font:inherit;color:var(--muted);background:transparent;border:0;border-radius:11px;padding:9px 13px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px}.reels-header nav button[aria-pressed=true],.reels-header-actions button[aria-pressed=true]{color:var(--accent);background:var(--raised)}.reels-header-actions{display:flex;gap:4px}.reels-header-actions button{width:auto;min-width:44px;padding:8px 12px;white-space:nowrap}.reels-header-actions button svg{flex-shrink:0}.reels-tools{padding:18px 24px}.reels-tools span,.reels-muted{font-size:13px;color:var(--muted)}.reels-shell .series-library{background:var(--bg);color:var(--text)}.reels-shell .series-library>header{gap:14px;height:auto;min-height:0}.reels-shell .library-toolbar label{min-width:180px}.reels-shell .library-grid{grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr))}.reels-shell .library-video,.reels-shell .library-schedule,.reels-shell .library-add,.reels-shell .series-connection-card,.reels-shell .series-platform-tile,.reels-shell .series-connected-account{background:var(--surface);border-color:var(--border);color:var(--text)}.reels-shell .library-video{box-shadow:0 3px 14px #31244808;transition:border-color .18s ease,box-shadow .18s ease}.reels-shell .library-video h2{margin:14px 0 6px}.reels-shell .library-video p,.reels-shell .library-note,.reels-shell .library-schedule p,.reels-shell .series-platform-schedule,.reels-shell .series-platform-status,.reels-shell .series-connection-card small{color:var(--muted)}.reels-shell .library-video.is-next{border-color:#dd4242}.reels-shell .library-video.is-published{border-color:#3f906b}.reels-shell .library-video.is-published>strong{color:#32805e}.reels-shell input:not([type=checkbox]),.reels-shell select,.reels-shell textarea{min-width:0;width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);padding:10px;font:inherit;max-width:100%}.reels-shell textarea{min-height:82px}.reels-shell input::placeholder,.reels-shell textarea::placeholder{color:var(--muted)}.reels-shell .series-primary{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}.reels-shell .series-secondary{background:var(--raised);color:var(--text);border-color:var(--border)}.reels-shell .series-back,.reels-shell .series-connection-card a{color:var(--accent)}.reels-shell .series-platform-tile:hover,.reels-shell .series-platform-tile.is-open{background:var(--raised);border-color:var(--accent)}.reels-shell .series-platform-grid{gap:14px}.reels-shell button:focus-visible,.reels-shell input:focus-visible,.reels-shell textarea:focus-visible,.reels-shell select:focus-visible,.reels-shell summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.reels-shell video{aspect-ratio:9/16;object-fit:contain;background:#080a10}.reels-connections,.reels-history,.reels-page{max-width:900px;margin:24px auto;padding:20px}.reels-page h1,.reels-history h1{font-size:24px;margin:0 0 8px}.reels-page h2{font-size:17px;margin:0 0 8px}.reels-history article,.reels-settings article,.reels-subscription article{border:1px solid var(--border);background:var(--surface);border-radius:16px;padding:20px;margin:16px 0}.reels-settings label{display:block;max-width:320px}.reels-settings select{margin-top:8px}.reels-agenda{display:grid;gap:12px;margin-top:24px}.reels-agenda article{display:grid;grid-template-columns:170px 1fr auto;gap:20px;align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:18px;min-width:0}.reels-agenda time{font-size:13px;color:var(--accent);font-weight:600}.reels-agenda h2{font-size:15px;overflow-wrap:anywhere}.reels-agenda p{font-size:12px;margin:4px 0;color:var(--muted)}.reels-empty{color:var(--muted)}.reels-empty h2{color:var(--text)}@media(max-width:700px){.reels-header{gap:12px;padding:12px;grid-template-columns:1fr auto}.reels-header nav{grid-column:1/-1;grid-row:2;gap:3px}.reels-header nav button{flex:1;flex-direction:column;gap:3px;padding:7px 4px;font-size:12px;min-width:0}.reels-header-actions{grid-column:2;grid-row:1}.reels-tools{padding:14px 12px;gap:10px}.reels-tools span{font-size:11px}.reels-connections,.reels-history,.reels-page{margin:14px auto;padding:12px}.reels-agenda article{grid-template-columns:1fr;gap:10px;padding:14px}.reels-agenda button{justify-self:start}}@media(prefers-reduced-motion:reduce){.reels-shell *{transition:none!important;animation:none!important}}.reels-login{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;background:#f6f7fb;color:#252135;box-sizing:border-box;font-family:system-ui,sans-serif}.reels-login h1{font-size:21px;text-align:center}.reels-login>p{font-size:13px;text-align:center;color:#6c657b}.reels-login .cl-rootBox,.reels-login .cl-cardBox{max-width:100%}.reels-account{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 18px;background:#ece9f4;color:#43395b;font:12px system-ui,sans-serif}.reels-account>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.publishing-account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;margin-block:18px}.publishing-account-grid article{border:1px solid var(--reels-border,#6a587e);border-radius:14px;padding:14px;min-width:0}.publishing-account-grid h2{display:flex;align-items:center;gap:8px;font-size:1rem}.publishing-account-grid label{display:flex;align-items:center;gap:8px;margin-block:12px;overflow-wrap:anywhere}.publishing-account-grid label span{flex:1;min-width:0}.publishing-account-grid img{border-radius:50%;object-fit:cover}.reels-page form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:12px;align-items:end;margin-block:16px}.reels-page form label{display:grid;gap:6px;min-width:0}.reels-page form input:not([type=checkbox]),.reels-page form select{width:100%;min-width:0;box-sizing:border-box}.reels-page article{overflow-wrap:anywhere}.reels-shell .customer-header{height:auto;min-height:56px;padding:8px 16px;grid-template-columns:auto 1fr auto}.customer-header .customer-settings-button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;min-height:36px;flex-shrink:0;background:var(--raised);color:var(--text);border:1px solid var(--border);border-radius:10px;padding:0;font:inherit;white-space:nowrap}.customer-header nav button{white-space:nowrap}.reels-page.month-board{max-width:1100px}.month-heading{height:auto;min-height:0;padding:0 0 14px}.month-inactive-note{margin:16px auto 0;max-width:1060px;padding:12px 18px;border:1px solid var(--border);border-radius:12px;color:var(--muted);font-size:12px}.customer-shell .reels-settings summary{cursor:pointer;font-weight:700}.customer-shell .reels-settings label{display:grid;gap:8px;margin:14px 0}@media(max-width:700px){.reels-shell .customer-header{grid-template-columns:1fr auto;padding:8px 12px;gap:8px}.customer-header>strong{grid-column:1;grid-row:1}.customer-header>.customer-settings-button{grid-column:2;grid-row:1}.customer-header nav{grid-column:1/-1;grid-row:2}.customer-header nav button{flex-direction:row;padding:10px 12px;font-size:13px}.month-inactive-note{margin:12px}}.customer-brand-title{display:flex;align-items:center;gap:10px}.mashhad-logo-stage{display:inline-block;flex-shrink:0;width:44px;height:44px;perspective:360px}.mashhad-logo-coin{position:relative;display:block;width:100%;height:100%;transform-style:preserve-3d;animation:mashhad-logo-spin 7s linear infinite}.mashhad-logo-face{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;backface-visibility:hidden;transform:translateZ(3px);border:1px solid #e8b84866;border-radius:13px;background:linear-gradient(145deg,#261b08,#090b16);box-shadow:0 0 12px #f0b73322}.mashhad-logo-face img{width:92%;height:92%;object-fit:contain}.mashhad-logo-back{transform:rotateY(180deg) translateZ(3px);background:linear-gradient(145deg,#5b3b0d,#17101f);border-color:#ffdc7b99}.mashhad-logo-back img{filter:sepia(.7) brightness(.8)}@keyframes mashhad-logo-spin{0%{transform:rotateY(0)}to{transform:rotateY(360deg)}}@media(max-width:700px){.mashhad-logo-stage{width:38px;height:38px}.customer-brand-title{gap:8px}}@media(prefers-reduced-motion:reduce){.mashhad-logo-coin{animation:none}}.customer-header .customer-wallet-badge{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:3px 7px;border:1px solid #65dfc540;border-radius:8px;background:#65dfc511;color:var(--text);font:600 13px/1.4 Tahoma,Arial,sans-serif;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:.1px}@media(max-width:420px){.customer-header .customer-wallet-badge{font-size:12px;padding:3px 5px}.customer-brand-title{gap:6px}}.reels-shell .customer-header{grid-template-columns:1fr auto}.customer-header>.customer-settings-button{grid-column:2;grid-row:1}.reels-shell.customer-shell{padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}.customer-bottom-nav{position:fixed;bottom:10px;bottom:calc(10px + env(safe-area-inset-bottom));inset-inline:10px;margin-inline:auto;max-width:590px;z-index:40;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding:7px 4px;border:1px solid #80709955;border-radius:20px;background:#191929f5;box-shadow:0 4px 28px #0005;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.customer-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;border-radius:13px;background:transparent;color:#c9c4d7;font:500 10px/1.3 Tahoma,Arial,sans-serif;min-width:0;min-height:46px;padding:4px 2px;cursor:pointer}.customer-bottom-nav button[aria-current=page]{background:#a27bed24;color:#c5a9ff}.customer-bottom-nav button:focus-visible{outline:2px solid #c8b0ff;outline-offset:1px}.customer-shell .film-chat-workspace{min-height:calc(100dvh - 180px)}.customer-shell .film-composer-wrap{bottom:calc(80px + env(safe-area-inset-bottom))}.schedule-plans-return{max-width:1100px;margin:12px auto;padding-inline:12px}.film-orientation-settings>[role=group]{display:flex;flex-wrap:wrap;gap:7px}.film-orientation-settings button{flex:1;min-width:90px;padding:10px 7px;border-radius:11px;border:1px solid #71749166;background:#1b2638;color:#dfe9f3;font:inherit;font-size:12px}.film-orientation-settings button[aria-pressed=true]{border-color:#77e1ce;background:#25524f;color:#b9fff0}.film-orientation-settings p,.film-orientation-settings small{font-size:12px;line-height:1.7;color:#aebdcb}.settings-account{display:grid;gap:20px}.settings-account-identity{display:flex;align-items:center;gap:14px}.settings-account-icon{display:grid;place-items:center;flex-shrink:0;width:54px;height:54px;border-radius:16px;border:1px solid #9872d055;background:linear-gradient(140deg,#9872d022,#9872d008);color:#ac85dd}.settings-account-identity strong{font-size:16px}.settings-account-identity p{margin:4px 0;font-size:13px}.settings-account-identity small{font-size:12px;color:var(--muted,#a89db6)}.settings-account-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.reels-shell .settings-signout{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:9px 16px;border:1px solid #d26a7955;border-radius:12px;background:#d26a790c;color:#dd8793;font:inherit;cursor:pointer}.reels-shell .settings-signout:hover:not(:disabled){background:#d26a791c}.reels-shell .settings-signout:disabled{cursor:default;opacity:.5}@media(max-width:500px){.settings-account-actions{align-items:stretch;flex-direction:column}.settings-signout{width:100%}}.plan-picker{max-width:1080px;margin:auto;padding:28px 12px}.plan-intro{text-align:center;margin-bottom:28px}.plan-eyebrow{display:inline-flex;align-items:center;gap:7px;color:#9872d0;font-size:13px}.plan-intro h1{font-size:clamp(24px,4vw,34px);margin:12px 0}.plan-intro p,.plan-footnote{opacity:.7;line-height:1.8}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.plan-card{position:relative;border:1px solid #8b72ac55;border-radius:22px;padding:26px 22px;display:flex;flex-direction:column;background:color-mix(in srgb,#9172bc 6%,transparent);min-width:0}.plan-card.is-selected{border:2px solid #9368cc}.plan-card h2{font-size:18px;margin:8px 0}.plan-price{margin:14px 0 20px}.plan-price b{font-size:42px;letter-spacing:-2px}.plan-price span,.plan-card small{opacity:.7;font-size:12px}.plan-card>strong{font-size:24px}.plan-card>p{font-size:13px}.plan-platforms{display:flex;gap:10px;margin:14px 0}.plan-platform{width:42px;height:42px;border:1px solid #8b72ac44;border-radius:12px;display:inline-flex;align-items:center;justify-content:center}.plan-platform svg{width:23px;height:23px}.plan-platform.facebook{color:#4285e9}.plan-platform.instagram{color:#d85a97}.plan-platform.youtube{color:#f04f55}.plan-card ul{list-style:none;padding:0;display:grid;gap:12px;font-size:13px;line-height:1.6;margin:20px 0 26px}.plan-card li{display:flex;gap:8px}.plan-card li svg{flex-shrink:0;color:#9872d0}.plan-card button{margin-top:auto!important;min-height:46px}.plan-card small{margin-top:12px}.plan-popular{position:absolute;top:-12px;left:22px;background:#8056b4;color:#fff;padding:4px 12px;border-radius:20px;font-size:11px}.plan-footnote{text-align:center;font-size:12px;margin-top:22px}.subscription-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#080912bb;z-index:1800;display:flex;align-items:center;justify-content:center;padding:18px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.subscription-dialog{position:relative;max-width:1120px;width:100%;max-height:92dvh;overflow:auto;border:1px solid #8b72ac55;border-radius:24px;background:var(--reels-bg,#181721);color:var(--reels-text,#eee)}.plan-close{position:absolute;top:12px;left:14px;z-index:1;background:transparent;color:inherit;border:0;font-size:30px;cursor:pointer}.subscription-summary{border:1px solid #8b72ac55;border-radius:20px;padding:24px;margin-bottom:20px}@media(max-width:700px){.plan-grid{grid-template-columns:1fr}.plan-card{padding:22px}.plan-picker{padding:28px 8px}.subscription-overlay{padding:8px}.subscription-dialog{max-height:96dvh}.plan-card>p{margin:8px 0}}.subscription-dialog{font:15px/1.7 system-ui,sans-serif}.subscription-dialog .series-primary{border:1px solid #a783d4;background:#8e66bf;color:#fff;border-radius:12px;padding:12px 16px;font:inherit;cursor:pointer}.subscription-dialog button:disabled{opacity:.5;cursor:default}.subscription-dialog .plan-platform.tiktok{color:#fafafa}.plan-picker>p[role=alert]{color:#f08080}.platform-connections{display:flex;align-items:flex-start;justify-content:center;gap:12px;flex-wrap:wrap}.platform-connection{width:74px;text-align:center;min-width:0}.platform-connection-icon{position:relative;display:inline-flex}.platform-connection .plan-platform{width:48px;height:48px}.platform-connection small{display:block;line-height:1.6;font-size:10px;margin-top:7px;overflow-wrap:anywhere;color:var(--muted)}.platform-status-mark{position:absolute;bottom:-3px;inset-inline-end:-3px;background:#167d59;color:#fff;border:2px solid var(--surface);border-radius:50%;padding:1px;width:19px;height:19px}.platform-connection.is-disconnected .plan-platform{opacity:.45;filter:grayscale(.7)}.platform-disconnected-slash{position:absolute;top:7px;right:7px;bottom:7px;left:7px;color:var(--muted);filter:drop-shadow(0 0 2px var(--surface));pointer-events:none}.buffer-platforms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.buffer-platform-card{border:1px solid var(--border);border-radius:16px;padding:18px;min-width:0}.buffer-platform-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.buffer-platform-heading h3{margin:0}.buffer-platform-card .platform-connections{gap:0}.buffer-platform-card .platform-connection small{display:none}.buffer-channel-row{padding:14px 0;border-top:1px solid var(--border);margin-top:14px}.buffer-channel-row label{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.buffer-channel-row img{border-radius:50%;object-fit:cover}.buffer-channel-row span{flex:1;min-width:100px;overflow-wrap:anywhere}.buffer-channel-row input{width:auto}.buffer-channel-row button{margin-top:10px}.buffer-platform-badge{position:relative;display:inline-flex}.buffer-platform-badge>svg{position:absolute;top:5px;right:5px;bottom:5px;left:5px;pointer-events:none}.buffer-platform-badge.is-disconnected>.plan-platform{opacity:.45}.buffer-personal .buffer-key-form{display:grid;gap:12px}.buffer-personal .buffer-key-form input{width:100%;box-sizing:border-box}@media(max-width:600px){.buffer-platforms{grid-template-columns:1fr}.platform-connections{gap:8px}.platform-connection{width:61px}}.day-editor-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1600;background:#080a14b8;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:grid;place-items:center;padding:20px}.day-editor{width:min(100%,1000px);max-height:94dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:var(--surface,#1b1b28);color:var(--text,#eee8f8);border:1px solid var(--border,#484057);border-radius:24px;box-shadow:0 28px 100px #0006;overflow:hidden;outline:none}.day-editor-header{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 26px;border-bottom:1px solid var(--border,#484057);gap:16px}.day-editor-header span{font-size:12px;color:var(--accent,#ac85dd)}.day-editor-header h2{font-size:23px;margin:6px 0}.day-editor-header p{font-size:12px;color:var(--muted,#aaa);margin:0}.reels-shell .day-editor-close{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:50%;background:var(--raised,#282334);color:inherit;border:1px solid var(--border,#484057)}.day-editor-body{padding:22px 26px;overflow:auto;overscroll-behavior:contain}.day-editor-empty{text-align:center;padding:38px 12px;color:var(--muted,#aaa)}.day-editor-empty svg{color:var(--accent,#ac85dd)}.day-editor-empty h3{color:var(--text,#eee8f8);margin:12px 0 6px}.day-editor-empty p{font-size:13px}.day-editor-videos{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(330px,100%),1fr));gap:18px}.day-video-card{min-width:0;margin:0;border:1px solid var(--border,#484057);border-radius:16px;padding:18px;display:grid;align-content:start;gap:15px;background:color-mix(in srgb,var(--accent,#ac85dd) 3%,transparent)}.day-video-card legend{font-weight:700;font-size:14px;padding:0 8px}.day-video-card label{display:grid;gap:7px;font-size:13px}.day-file-label input{border-style:dashed!important;font-size:12px!important}.day-file-saved{display:flex;align-items:center;gap:7px;color:var(--accent,#ac85dd);font-size:11px}.day-editor-preview{border-radius:12px;overflow:hidden;background:#080a14;display:grid;place-items:center}.day-editor-preview video{width:100%;height:170px;object-fit:contain}.day-editor-clock{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.day-channel-heading{display:flex;flex-direction:column;gap:4px}.day-channel-heading strong{font-size:13px}.day-channel-heading small{font-size:11px;color:var(--muted,#aaa)}.day-channel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(82px,1fr));gap:8px}.day-video-card label.day-channel{display:flex;align-items:center;flex-direction:column;gap:7px;border:1px solid var(--border,#484057);border-radius:13px;padding:12px 6px;cursor:pointer;min-width:0;background:var(--surface,#1b1b28)}.day-channel.is-checked{border-color:var(--accent,#ac85dd)!important;box-shadow:inset 0 0 0 1px #a783d422;background:color-mix(in srgb,var(--accent,#ac85dd) 7%,var(--surface,#1b1b28))!important}.day-channel .plan-platform{width:36px;height:36px;border-radius:10px}.day-channel strong{font-size:11px}.day-channel small{font-size:9px;color:var(--muted,#aaa);max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.day-channel input[type=checkbox]{width:18px;height:18px;margin:2px 0 0;accent-color:var(--accent,#ac85dd);cursor:pointer}.day-editor-footer{padding:18px 26px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--border,#484057);background:var(--surface,#1b1b28)}.day-editor-footer small{font-size:11px;color:var(--muted,#aaa)}.day-editor-footer p{font-size:12px;margin:0 0 5px}.day-editor-actions{display:flex;gap:10px;flex-shrink:0}.day-editor-actions button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 17px;border-radius:12px;font:inherit;border:1px solid var(--border,#484057);white-space:nowrap}.day-editor-error{margin:0 0 18px;padding:12px 16px;border:1px solid #d46e7a66;border-radius:12px;background:#d46e7a12;color:#e38e99;font-size:13px;line-height:1.8}.day-remove-draft{justify-self:start;border:0;background:transparent;color:var(--muted,#aaa);font:inherit;font-size:11px;text-decoration:underline}.month-saved-video{padding:5px;border:1px solid var(--border,#484057);border-radius:8px;background:var(--surface,#1b1b28)}.month-slots:has(.month-saved-video){gap:6px}.month-video-thumb{width:38px;height:34px}.month-day:has(.month-saved-video){min-height:160px}@media(max-width:650px){.day-editor-overlay{padding:8px}.day-editor{max-height:97dvh;border-radius:18px}.day-editor-header{padding:17px}.day-editor-header h2{font-size:19px}.day-editor-body{padding:16px}.day-editor-footer{padding:14px 16px;align-items:stretch;flex-direction:column}.day-editor-actions{display:grid;grid-template-columns:1fr 1fr}.day-video-card{padding:14px}.day-editor-videos{grid-template-columns:1fr}.day-channel-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.day-channel strong{font-size:10px}.day-channel .plan-platform{width:31px;height:31px}.day-channel .plan-platform svg{width:20px;height:20px}}.reels-page form.day-editor{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;align-items:stretch;gap:0;margin:0}.day-editor-header,.day-editor-body,.day-editor-footer{min-width:0}.day-editor input:not([type=checkbox]),.day-editor textarea,.day-editor select{width:100%;min-width:0;box-sizing:border-box}.day-editor-header{height:auto;min-height:110px}.day-editor{height:min(850px,94dvh)}@media(max-width:650px){.day-editor{height:97dvh}}.day-saved-card h3{margin:0;font-size:17px}.day-saved-card p{margin:0;font-size:13px;line-height:1.8}.day-saved-card .day-editor-preview video{height:260px}.day-saved-card .day-editor-preview a{padding:10px;color:var(--accent,#ac85dd)}.day-video-description{white-space:pre-wrap;overflow-wrap:anywhere}.day-delete-confirm{border:1px solid #d46e7a66;border-radius:12px;padding:12px;display:grid;gap:10px}.day-saved-card small{font-size:11px;color:var(--muted,#aaa)}.month-board{max-width:1100px;margin:auto;padding:28px 20px}.month-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.month-heading>div>span{display:flex;gap:7px;align-items:center;color:#9872d0}.month-heading h1{font-size:28px;margin:12px 0}.month-heading p,.month-note{font-size:13px;opacity:.7;line-height:1.8}.month-quota{border:1px solid #9872d055;border-radius:18px;padding:18px 26px;min-width:140px;display:grid;gap:6px}.month-quota strong{font-size:34px}.month-quota small{font-size:14px;opacity:.6}.month-quota>span{font-size:12px}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-top:24px}.reels-shell .month-day{background:color-mix(in srgb,#9872d0 5%,transparent);color:inherit;border:1px solid #9872d044;border-radius:14px;min-height:125px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:14px 6px;transition:transform .18s,border-color .18s}.month-day:hover{transform:translateY(-3px);border-color:#9872d0}.month-day.is-selected{outline:2px solid #9872d0}.month-day.is-past{opacity:.55}.month-day strong{font-size:22px}.month-day time{font-size:11px;direction:ltr}.month-day small{font-size:10px;opacity:.6}.month-slots{display:flex;align-items:center;gap:5px;min-height:20px;color:#9872d0}.month-video-dot{display:inline-block;border:1px solid #94859f;background:#fff;width:12px;height:12px;border-radius:50%;flex-shrink:0}.month-video-dot.is-published{background:#111;border-color:#79717e}.month-legend{display:flex;align-items:center;gap:10px;font-size:12px;opacity:.7;margin:22px 0}.month-editor{margin-top:26px;border:1px solid #9872d055;border-radius:20px;padding:22px}.month-editor>header{display:flex;justify-content:space-between;align-items:center}.month-editor fieldset{border:1px solid #9872d044;border-radius:12px;margin:16px 0;padding:18px;display:grid;gap:14px}.month-editor label{display:grid;gap:7px;min-width:0}.month-editor input,.month-editor textarea,.month-editor select{width:100%;box-sizing:border-box}.month-editor video{max-height:180px}.month-editor>p{font-size:12px;opacity:.7;line-height:1.8}.month-editor>button{margin:6px}.month-clock{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.month-heading+.month-note{margin-top:24px}@media(max-width:700px){.month-board{padding:18px 12px}.month-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.month-heading{align-items:flex-start}.month-heading h1{font-size:22px}.month-quota{min-width:80px;padding:14px}.month-quota strong{font-size:28px}.month-editor,.month-editor fieldset{padding:12px}.month-heading p{font-size:11px}}@media(prefers-reduced-motion:reduce){.month-day{transition:none}.month-day:hover{transform:none}}.month-slots:has(.month-saved-video){flex-direction:column;width:100%;align-items:stretch}.month-saved-video{display:flex;align-items:center;gap:5px;min-width:0;text-align:right}.month-video-thumb{width:36px;height:30px;flex-shrink:0;background:#8b72ac22;border-radius:6px;overflow:hidden;display:grid;place-items:center}.month-video-thumb video{width:100%;height:100%;object-fit:cover;pointer-events:none}.month-video-label{display:grid;min-width:0;flex:1}.month-day .month-video-label strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.month-day .month-video-label small{font-size:9px}.month-saved-video>.month-video-dot{width:8px;height:8px}.month-platforms{display:flex;justify-content:center;align-items:center;gap:12px;margin-inline:auto;flex-shrink:0}.month-platforms .plan-platform{width:48px;height:48px;border-radius:15px;background:var(--surface,#1b1b28);box-shadow:0 5px 16px #00000014;transition:transform .18s,box-shadow .18s}.month-platforms .plan-platform:hover{transform:translateY(-3px);box-shadow:0 8px 20px #00000024}.month-platforms .plan-platform svg{width:25px;height:25px}.month-platforms .tiktok{color:var(--text,#f5f3fa);border-color:#45d9d044;filter:drop-shadow(1px 0 0 #ef4b7f55)}.month-platforms .facebook{color:#4597ff;border-color:#4597ff55;background:linear-gradient(145deg,#4597ff16,transparent)}.month-platforms .instagram{color:#ef72b1;border-color:#db65a955;background:linear-gradient(135deg,#ae5ce722,#ef835716)}.month-platforms .youtube{color:#ff5a63;border-color:#ff5a6355;background:linear-gradient(145deg,#ff5a6318,transparent)}@media(max-width:700px){.month-heading{flex-wrap:wrap}.month-platforms{order:3;width:100%;margin:4px 0 8px;gap:16px}.month-platforms .plan-platform{width:44px;height:44px;border-radius:13px}}@media(prefers-reduced-motion:reduce){.month-platforms .plan-platform{transition:none}.month-platforms .plan-platform:hover{transform:none}}.month-heading .month-subscription-label{flex-wrap:wrap;align-items:center;gap:8px}.month-heading .month-vip{display:inline-flex;align-items:center;gap:4px;padding:4px 9px;border-radius:8px;color:#5a3500;background:linear-gradient(120deg,#bd891f,#ffe89c 45%,#efbc46);border:1px solid #ffe29a;box-shadow:0 2px 10px #d7a21d26;font-size:11px;line-height:1;font-weight:800;letter-spacing:.8px;white-space:nowrap}.month-vip svg{fill:#86550022;stroke:#795000}.month-day.is-past{filter:grayscale(.75);cursor:default}.month-day.is-past:hover{transform:none}.month-day.is-past>small{opacity:1;font-weight:700}.month-heading-title{flex:1;min-width:0}.month-subscription-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.month-subscribe-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;min-height:34px;padding:6px 10px;border:1px solid #c7a45c66;border-radius:10px;background:#c7a45c15;color:var(--text,#f4efff);font:600 12px/1.4 Tahoma,Arial,sans-serif;cursor:pointer}.month-subscribe-button:focus-visible{outline:2px solid #d7b66b;outline-offset:2px}.schedule-panel{max-width:1100px;margin:auto}.schedule-mode{display:flex;gap:4px;padding:5px;background:var(--reels-surface,#eceaf3);border-radius:30px;width:fit-content;margin:16px 0}.schedule-mode button{border-radius:24px;padding:10px 28px;transition:background .2s,box-shadow .2s}.schedule-mode button[aria-pressed=true]{background:#6d42ba;color:#fff;box-shadow:0 3px 10px #563b7c33}.schedule-fields,.schedule-panel fieldset{display:flex;gap:16px;flex-wrap:wrap}.schedule-panel fieldset{border:1px solid #8c7ca755;border-radius:14px;margin:15px 0;padding:15px}.schedule-panel label{display:grid;gap:7px}.schedule-day{margin:20px 0}.schedule-thumbnails{display:flex;flex-wrap:wrap;gap:12px}.schedule-thumbnails article{display:grid;gap:9px;width:220px;max-width:100%;border:1px solid #8c7ca766;border-radius:15px;padding:14px;overflow-wrap:anywhere;cursor:grab}.schedule-thumbnails article.is-published{opacity:.55}.schedule-dot{width:13px;height:13px;border-radius:50%;background:#fff;border:1px solid #555}.is-published .schedule-dot{background:#111}.schedule-thumbnails input{max-width:100%;min-width:0}.schedule-thumbnails button{margin-inline-end:8px}@media(max-width:600px){.schedule-thumbnails article{width:100%}.schedule-fields>label{width:100%}}.schedule-panel>form{display:block}.schedule-mode button{width:auto;min-width:100px;white-space:nowrap;border:0}.schedule-panel fieldset{display:inline-flex;vertical-align:top;margin-inline-end:12px}.schedule-panel>form>.series-primary{width:auto}.schedule-panel select{min-height:42px}.schedule-panel .schedule-fields{align-items:end}.schedule-panel .schedule-fields>label{min-width:170px}@media(max-width:600px){.schedule-panel fieldset{display:flex;margin-inline-end:0}.schedule-panel>form>.series-primary{width:100%}}.library-add fieldset{min-width:0;border:1px solid #8c7ca744;border-radius:14px;padding:14px;margin:12px 0}.library-add legend{overflow-wrap:anywhere}.library-add fieldset label{display:grid;gap:8px;margin:12px 0}.reels-calendar{max-width:1000px;padding-block:22px}.calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.calendar-heading h1{font-size:30px;margin:5px 0}.calendar-heading p,.calendar-caption{color:var(--muted);font-size:13px;margin:4px 0}.calendar-eyebrow{display:flex;align-items:center;gap:6px;color:var(--accent);font-size:12px;font-weight:650}.calendar-progress{width:86px;height:86px;flex-shrink:0;background:conic-gradient(#17171b var(--calendar-progress),var(--border) 0);border-radius:50%;padding:6px;box-sizing:border-box}.calendar-progress>span{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%;border-radius:50%;background:var(--surface)}.calendar-progress strong{font-size:24px;line-height:1.2}.calendar-progress small{font-size:10px;color:var(--muted)}.calendar-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}.calendar-summary article{display:grid;grid-template-columns:auto 1fr;gap:3px 9px;align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:16px}.calendar-summary article>svg{grid-row:1/3;color:var(--accent)}.calendar-summary strong{font-size:24px;line-height:1.2}.calendar-summary span{font-size:12px;color:var(--muted)}.calendar-period{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0}.calendar-period>div{display:flex;flex-direction:column;text-align:center}.calendar-period strong{font-size:17px}.calendar-period span{font-size:12px;color:var(--muted)}.calendar-period>button{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:12px;display:grid;place-items:center;width:42px;height:42px}.calendar-legend{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin:18px 0 10px}.calendar-legend>span{display:flex;align-items:center;gap:7px;font-size:12px}.calendar-dot{display:inline-block;width:11px;height:11px;min-width:11px;border-radius:50%;background:#fff;border:1px solid #91919d;box-sizing:border-box}.calendar-dot.is-published{background:#101114;border-color:#101114;box-shadow:0 0 0 1px #ffffffa0}.calendar-dot.is-pending{background:#fff;border-color:#777883}.calendar-dot.is-working{background:#fff;border:2px solid #7651b4;animation:calendar-pulse 1.4s ease-in-out infinite}.calendar-dot.is-partial{background:linear-gradient(90deg,#111 50%,#fff 50%);border-color:#777}.calendar-dot.is-review{background:#fff;border:2px solid #d44c48}.calendar-dot.is-test,.calendar-dot.is-cancelled{background:transparent;border:1px dashed #87818c}.calendar-caption{margin-bottom:15px}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.calendar-weekdays{color:var(--muted);font-size:12px;text-align:center;margin:14px 0 8px}.calendar-grid{isolation:isolate}.calendar-day{font:inherit;min-width:0;min-height:112px;display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:11px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text);text-align:right;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;animation:calendar-enter .45s both;animation-delay:calc(var(--calendar-order)*12ms)}.calendar-day:hover{transform:translateY(-3px);box-shadow:0 7px 20px #241a3c12;border-color:var(--accent)}.calendar-day.is-selected{border:2px solid var(--accent);padding:10px;background:var(--raised)}.calendar-day.is-today .calendar-day-number{color:var(--accent);text-decoration:underline;text-underline-offset:5px}.calendar-day-number{font-size:21px;font-weight:750;line-height:1.25}.calendar-month{font-size:10px;color:var(--muted)}.calendar-dots{display:flex;flex-wrap:wrap;gap:4px;min-height:14px;margin-top:7px;max-width:100%}.calendar-dots small{font-size:9px;line-height:12px;color:var(--muted)}.calendar-day-count{font-size:10px;color:var(--muted);margin-top:auto;padding-top:3px}.calendar-details{margin-top:25px;background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:20px;animation:calendar-enter .28s both}.calendar-details>header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}.calendar-details header small,.calendar-details header>span{font-size:12px;color:var(--muted)}.calendar-details h2{font-size:18px;margin:3px 0}.calendar-details article{display:flex;align-items:center;gap:12px;border-top:1px solid var(--border);padding:16px 0}.calendar-details article>div{flex:1;min-width:0}.calendar-details h3{margin:0 0 4px;font-size:15px}.calendar-details p{margin:0;color:var(--muted);font-size:12px}.calendar-details article small{color:var(--muted);font-size:11px}.calendar-details button{font-size:12px;white-space:nowrap}.calendar-no-videos{padding:14px 0;color:var(--muted)}.calendar-notice{padding:12px;border:1px dashed var(--border);border-radius:10px;font-size:12px}.calendar-notice button{font:inherit;color:var(--accent);background:transparent;border:0;text-decoration:underline}.queue-saved-list{max-width:1250px;margin:20px auto;border-top:1px solid var(--border)}.queue-saved-list>summary{padding:15px;cursor:pointer}.reels-tools .queue-calendar-button{display:flex;align-items:center;gap:7px;min-height:42px}.queue-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.queue-toolbar>p{margin:0;color:var(--muted);font-size:12px}@keyframes calendar-enter{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes calendar-pulse{50%{box-shadow:0 0 0 4px #7651b426}}@media(max-width:600px){.calendar-heading h1{font-size:25px}.calendar-progress{width:70px;height:70px}.calendar-summary{gap:6px}.calendar-summary article{padding:11px 7px;gap:4px}.calendar-summary article>svg{display:none}.calendar-summary strong{font-size:22px}.calendar-summary span{font-size:10px}.calendar-weekdays,.calendar-grid{gap:4px}.calendar-day{border-radius:9px;padding:7px 4px;min-height:96px}.calendar-day.is-selected{padding:6px 3px}.calendar-day-number{font-size:18px}.calendar-month{font-size:8px}.calendar-dot{width:9px;height:9px;min-width:9px}.calendar-dots{gap:3px}.calendar-legend{gap:8px 12px}.calendar-legend>span{font-size:10px}.calendar-day-count{font-size:8px}.calendar-details{padding:13px}.calendar-details article{flex-wrap:wrap}.calendar-details article>button{margin-inline-start:21px}.calendar-period strong{font-size:15px}}@media(prefers-reduced-motion:reduce){.reels-calendar *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:600px){.calendar-month{display:none}.calendar-day{min-height:82px}.calendar-day-count{font-size:9px}}.site-banner-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1700;display:grid;place-items:center;padding:28px 16px;background:#080911b8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.site-banner-dialog{position:relative;width:min(100%,920px);padding-top:48px;min-width:0}.site-banner-dialog>img{display:block;width:100%;max-height:72dvh;object-fit:contain;border-radius:16px;background:#171722;box-shadow:0 18px 80px #0006;pointer-events:none;-webkit-user-select:none;user-select:none}.site-banner-close{position:absolute;top:0;inset-inline-end:0;display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff66;border-radius:50%;background:#242332;color:#fff;cursor:pointer}.site-banner-close:focus-visible{outline:3px solid #c79bef;outline-offset:3px}@media(max-width:600px){.site-banner-overlay{padding:18px 12px}.site-banner-dialog{padding-top:46px}.site-banner-dialog>img{border-radius:12px}}
