.app-nav{position:relative;z-index:130;display:flex;gap:18px;max-width:1440px;margin:0 auto;padding:14px 24px}.app-nav a{color:#31527e;font-weight:800;text-decoration:none}.nav-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.overall-scenes{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px;width:100%;padding-top:6px}.overall-scene{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#e9edf4;color:#617087;font-size:.75rem;font-weight:900}.overall-scene.generating,.overall-scene.polling,.overall-scene.downloading{background:#2674e8;color:#fff;animation:scenePulse 1.2s infinite}.overall-scene.waiting_quota{background:#e2971c;color:#fff;animation:scenePulse 1.2s infinite}.overall-scene.completed{background:#20a765;color:#fff}.overall-scene.failed{background:#d94452;color:#fff}.overall-scene.skipped{background:#e6a42f;color:#fff}@keyframes scenePulse{50%{transform:scale(1.08);box-shadow:0 0 0 5px rgba(38,116,232,.16)}}
.project-list{display:grid;gap:10px}.project-row{display:grid;grid-template-columns:1fr auto;gap:20px;padding:18px;border:1px solid #dce4ef;border-radius:14px;color:#172033;text-decoration:none;background:#fff}.project-row:hover{border-color:#4381da;box-shadow:0 8px 24px rgba(26,68,128,.1)}.project-row>div{display:flex;flex-direction:column;gap:6px}.project-row>div:last-child{text-align:right}.project-row small{color:#6b778c}.project-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:22px}.project-facts>div{display:flex;flex-direction:column;gap:5px;padding:14px;border-radius:12px;background:#f3f7fc}.project-facts span{font-size:.78rem;color:#65738a}.prompt-view{white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;border-radius:10px;background:#f5f7fa;font-family:inherit}.project-scenes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.project-scene{padding:18px;border:1px solid #dce4ef;border-radius:14px}.project-scene header{display:flex;justify-content:space-between;align-items:center}.project-scene h4{margin-bottom:6px}.media-links{display:flex;flex-wrap:wrap;gap:8px}.media-links a{padding:8px 11px;border-radius:8px;background:#eaf2ff;color:#225eb6;font-weight:800;text-decoration:none}
.project-list-tabs{display:flex;gap:8px;margin-bottom:14px}.project-list-tabs a{padding:9px 16px;border-radius:99px;background:#eef1f6;color:#495468;font-weight:800;text-decoration:none;font-size:.85rem}.project-list-tabs a.active{background:#172033;color:#fff}
.project-row-outer{display:flex;align-items:stretch;gap:10px}.project-row-outer .project-row{flex:1;min-width:0}.project-row-empty{border-style:dashed;background:#fbfcfe}.project-row-buttons{display:flex;flex-direction:column;gap:6px;justify-content:center}.project-row-buttons form{margin:0}.project-row-buttons button{white-space:nowrap;width:100%}.pill-empty{background:#fff3dc;color:#9a6400;font-size:.7rem;padding:3px 9px;border-radius:99px;font-weight:800;margin-left:8px;vertical-align:middle}
@media(max-width:760px){.project-row{grid-template-columns:1fr}.project-row>div:last-child{text-align:left}.project-facts{grid-template-columns:repeat(2,1fr)}.project-scenes{grid-template-columns:1fr}.project-row-outer{flex-direction:column}.project-row-buttons{flex-direction:row}}
.project-detail-toolbar{position:sticky;top:0;z-index:125;display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;padding:14px 18px;border:1px solid #dce4ef;border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 8px 28px rgba(25,55,100,.1)}.project-detail-toolbar>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.summary-clip-control{display:flex;align-items:center;gap:6px;font-size:.8rem;font-weight:700;color:#495468;background:#f0f3f9;border-radius:10px;padding:6px 10px}.summary-clip-control input{width:52px;padding:4px 6px;border-radius:8px;text-align:center}.project-detail-toolbar a{font-weight:800;text-decoration:none;color:#2867d8}.project-detail-toolbar span{color:#66758b;font-size:.85rem}#projectSaveStatus{font-weight:800;color:#188653}@media(max-width:760px){.project-detail-toolbar,.project-detail-toolbar>div{align-items:flex-start;flex-direction:column}}
.app-header{position:sticky;top:0;z-index:150;border-bottom:1px solid #dce4ef;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);box-shadow:0 4px 18px rgba(28,57,99,.06)}.app-header-inner{display:flex;justify-content:space-between;align-items:center;max-width:1440px;margin:0 auto;padding:12px 24px}.app-brand{display:flex;align-items:center;gap:11px;color:#172033;text-decoration:none}.app-brand>span{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#2867d8;color:#fff;font-weight:950}.app-brand>div{display:flex;flex-direction:column;gap:2px}.app-brand small{color:#718096}.app-header .app-nav{margin:0;padding:0}.new-project-panel{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(320px,1.3fr);align-items:end;gap:28px}.new-project-panel h2{margin-bottom:4px}.new-project-form{display:grid;grid-template-columns:1fr auto;gap:10px}.new-project-form input{min-width:0}.new-project-options{display:flex;flex-wrap:wrap;gap:22px;margin-top:14px}.option-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.option-group-label{font-weight:750;font-size:.85rem;color:#495468;margin-right:2px}.option-group .check{margin-top:0;padding:8px 12px;background:#f0f3f9}.option-group .check input{width:auto}@media(max-width:760px){.app-header-inner{padding:10px 16px}.app-brand small{display:none}.new-project-panel,.new-project-form{grid-template-columns:1fr}}
.project-detail-toolbar~.hero{min-height:auto;padding:22px 26px;border-radius:18px}.project-detail-toolbar~.hero h1{margin:4px 0 7px;font-size:clamp(1.55rem,3vw,2.35rem);line-height:1.08}.project-detail-toolbar~.hero p{max-width:760px;margin:0;font-size:.95rem}.project-detail-toolbar~.hero .hero-actions{align-items:flex-end}.project-detail-toolbar~.hero .eyebrow{font-size:.7rem}@media(max-width:760px){.project-detail-toolbar~.hero{padding:18px}.project-detail-toolbar~.hero .hero-actions{align-items:flex-start}}
.production-accordion{margin:18px 0;border:1px solid #d5e0ed;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(31,66,116,.07);overflow:hidden;scroll-margin-top:95px}.production-accordion>summary{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;cursor:pointer;list-style:none;background:linear-gradient(135deg,#f8fbff,#eef5ff);color:#213c61}.production-accordion>summary::-webkit-details-marker{display:none}.production-accordion>summary strong{font-size:1.05rem}.production-accordion>summary span{color:#627795;font-size:.8rem;font-weight:800}.production-accordion[open]>summary{border-bottom:1px solid #dbe5f1}.production-accordion>.panel{margin:0;border:0;border-radius:0;box-shadow:none}.production-accordion>summary:after{content:'＋';margin-left:10px;color:#2867d8;font-size:1.25rem}.production-accordion[open]>summary:after{content:'−'}
.production-accordion>summary span{margin-left:auto;text-align:right}.video-result-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.video-result-actions .danger-link{white-space:nowrap}

/* Proje detayında güçlü başlıklar ve tek satırlık format ayarları */
.project-production>.panel{background:#f6f8fc;border-color:#cad5e4}
.project-production>.panel>.section-title{margin:-26px -26px 20px;padding:15px 20px;border-radius:23px 23px 0 0;background:linear-gradient(135deg,#17243a,#294568);color:#fff}
.project-production>.panel>.section-title .eyebrow{color:#8ebcff}.project-production>.panel>.section-title h2{color:#fff}
.project-production>.production-settings{display:grid;grid-template-columns:auto minmax(620px,1fr);align-items:end;gap:10px 22px;padding-bottom:18px}
.project-production>.production-settings>.section-title{align-self:stretch;align-items:center;min-width:245px;margin:-26px 0 -18px -26px;border-radius:23px 0 0 23px}
.project-production>.production-settings>.grid{grid-template-columns:repeat(4,minmax(125px,1fr));gap:9px}
.project-production>.production-settings>.grid label{margin-bottom:5px;color:#435168;font-size:.78rem}.project-production>.production-settings>.grid select{padding:10px;background:#fff}
.project-production>.production-settings>.hint{grid-column:2;margin:0;color:#617087;font-size:.8rem}
.project-production .production-accordion>summary{background:linear-gradient(135deg,#1b2c45,#2d4b72);color:#fff}.project-production .production-accordion>summary span{color:#bfd0e8}.project-production .production-accordion>summary:after{color:#91bdff}.project-production .production-accordion>.panel{background:#f6f8fc}
.theme-toggle{border:1px solid #cad6e6;padding:8px 12px;border-radius:10px;background:#edf3fb;color:#263d5e;font-size:.82rem;white-space:nowrap}
@media(max-width:1050px){.project-production>.production-settings{grid-template-columns:1fr}.project-production>.production-settings>.section-title{margin:-26px -26px 4px;border-radius:23px 23px 0 0}.project-production>.production-settings>.hint{grid-column:1}}
@media(max-width:700px){.project-production>.production-settings>.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-production>.panel>.section-title{margin:-18px -18px 18px}.project-production>.production-settings>.section-title{margin:-18px -18px 4px}.app-nav{gap:8px}.theme-toggle{padding:7px 9px}}

/* Kalıcı koyu tema */
html[data-theme=dark]{color-scheme:dark;background:#0d1420}
html[data-theme=dark] body{color:#dce6f4;background:radial-gradient(circle at top left,#19263a,#0d1420 52%)}
html[data-theme=dark] .app-header,html[data-theme=dark] .project-detail-toolbar,html[data-theme=dark] .top-progress{border-color:#33435a;background:rgba(17,27,42,.96);color:#e9f1fb}
html[data-theme=dark] .app-brand,html[data-theme=dark] .app-nav a,html[data-theme=dark] .project-row{color:#e6edf7}
html[data-theme=dark] .panel,html[data-theme=dark] .scene-card,html[data-theme=dark] .production-accordion,html[data-theme=dark] .project-production>.panel,html[data-theme=dark] .project-production .production-accordion>.panel{border-color:#33445d;background:#151f2e;color:#dfe8f5;box-shadow:0 12px 34px rgba(0,0,0,.22)}
html[data-theme=dark] textarea,html[data-theme=dark] input,html[data-theme=dark] select{border-color:#40516a;background:#101927;color:#e5edf8}
html[data-theme=dark] textarea::placeholder,html[data-theme=dark] input::placeholder{color:#77869a}
html[data-theme=dark] .upload-card,html[data-theme=dark] .common-upload,html[data-theme=dark] .media-upload-preview,html[data-theme=dark] .modern-media-upload,html[data-theme=dark] .audio-upload,html[data-theme=dark] .check{border-color:#40536d;background:#111c2b;color:#dce7f4}
html[data-theme=dark] .project-production>.production-settings>.grid label,html[data-theme=dark] label,html[data-theme=dark] .hint,html[data-theme=dark] .upload-card small,html[data-theme=dark] .project-detail-toolbar span,html[data-theme=dark] .top-progress small{color:#a8b6c9}
html[data-theme=dark] .cost-card{border-color:#354d70;background:#172840}html[data-theme=dark] .cost-stat{border-color:#3d526d;background:#101a28}html[data-theme=dark] .cost-stat strong{color:#e5edf8}html[data-theme=dark] .cost-stat-balance strong{color:#7fb3ff}html[data-theme=dark] .cost-stat-balance strong.negative{color:#ff9aa4}html[data-theme=dark] .cost-stat-label{color:#93a6bd}html[data-theme=dark] .cost-controls{border-color:#354d70}html[data-theme=dark] .secondary{background:#263a56;color:#dceaff}html[data-theme=dark] .theme-toggle{border-color:#49617f;background:#243650;color:#eef5ff}
html[data-theme=dark] .empty-scenes{border-color:#40516a;background:#111a28;color:#9eacc0}html[data-theme=dark] .scene-result{background:#101927}html[data-theme=dark] .overall-track{background:#26364d}

/* Format ayarlarında dört seçim her zaman aynı satırdadır. */
.project-production>.production-settings{display:block;padding-bottom:18px}
.project-production>.production-settings>.section-title{margin:-26px -26px 16px;border-radius:23px 23px 0 0;min-width:0}
.project-production>.production-settings>.grid{display:grid;grid-template-columns:minmax(220px,1.6fr) minmax(120px,.8fr) minmax(120px,.8fr) minmax(120px,.8fr);gap:9px;width:100%}
.project-production>.production-settings>.hint{margin:9px 0 0}
.video-result-actions{justify-content:flex-start}
.video-icon-action{display:inline-grid!important;place-items:center;width:36px;height:36px;margin:0!important;padding:0!important;border:1px solid #ccd8e8;border-radius:9px;background:#eaf2ff;color:#245da9;text-decoration:none;font-size:17px;line-height:1;cursor:pointer}
.video-icon-action.delete-generated-video{background:#fff0f0;color:#ae3030;border-color:#f3cccc}
.video-icon-action:hover{transform:translateY(-1px);box-shadow:0 5px 13px rgba(30,70,125,.15)}
html[data-theme=dark] .video-icon-action{border-color:#405674;background:#233955;color:#dceaff}html[data-theme=dark] .video-icon-action.delete-generated-video{border-color:#70434a;background:#42252b;color:#ffb7bf}
@media(max-width:650px){.project-production>.production-settings>.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Koyu tema son katmanı: açık tema kurallarının beyaz zemin bırakmasını engeller. */
html[data-theme=dark] .project-production>.production-settings>.grid>div,
html[data-theme=dark] .project-production .reference-grid>label{color:#dfe8f5}
html[data-theme=dark] .project-production>.production-settings>.grid label,
html[data-theme=dark] .reference-name-label{color:#b9c7d9!important}
html[data-theme=dark] .project-production>.production-settings>.grid select,
html[data-theme=dark] .project-production input,
html[data-theme=dark] .project-production textarea,
html[data-theme=dark] .project-production select{border-color:#455a76!important;background:#0e1826!important;color:#edf4fc!important}
html[data-theme=dark] .project-production option{background:#101a28;color:#edf4fc}
html[data-theme=dark] .project-production .modern-media-upload{border-color:#3d526d;background:#131f30!important;box-shadow:none}
html[data-theme=dark] .project-production .media-upload-preview,
html[data-theme=dark] .project-production .upload-card,
html[data-theme=dark] .project-production .common-upload,
html[data-theme=dark] .project-production .document-upload{border-color:#405774;background:#101b2a!important;color:#e3edf8}
html[data-theme=dark] .project-production .visual-prompt,
html[data-theme=dark] .project-production .selected-file-note{border-color:#3e5675;background:#172840!important;color:#c9dcf5}
html[data-theme=dark] .project-production .media-upload-preview img{background:#0b1420}
html[data-theme=dark] .project-production .status{background:#2a394d;color:#c9d5e4}
html[data-theme=dark] .project-production .status.completed{background:#173f31;color:#91e3bc}
html[data-theme=dark] .project-production .status.failed{background:#49272d;color:#ffadb7}
html[data-theme=dark] .project-production .status.generating,
html[data-theme=dark] .project-production .status.polling,
html[data-theme=dark] .project-production .status.downloading{background:#203b65;color:#b8d5ff}
html[data-theme=dark] .project-production .status.waiting-quota{background:#4a3a17;color:#ffcf7a}
html[data-theme=dark] .project-production .scene-progress{background:#26364c}
html[data-theme=dark] .project-production .scene-progress small{color:#e2ecf8}

/* Proje listesi koyu tema */
html[data-theme=dark] .project-list{border-color:#33445d!important;background:#151f2e!important;color:#e4edf8}
html[data-theme=dark] .project-row{border-color:#344862!important;background:#111b2a!important;color:#e7eff9!important;box-shadow:none}
html[data-theme=dark] .project-row:hover{border-color:#5b8fd3!important;background:#17263a!important;box-shadow:0 8px 24px rgba(0,0,0,.28)}
html[data-theme=dark] .project-row small{color:#9eacc0}
html[data-theme=dark] .project-facts>div,
html[data-theme=dark] .prompt-view,
html[data-theme=dark] .project-scene{border-color:#344862;background:#111b2a;color:#dfe9f6}
html[data-theme=dark] .project-facts span{color:#9eacc0}

/* 2026 Projects workspace */
:root{--studio-ink:#10182b;--studio-muted:#69758d;--studio-blue:#5968f5;--studio-violet:#8a55ef;--studio-line:#e8eaf2;--studio-surface:#fff}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-header{width:100%;border:0;background:rgba(255,255,255,.88);box-shadow:0 1px 0 rgba(21,27,45,.08);backdrop-filter:blur(20px)}.app-header-inner{width:100%;max-width:none;padding:0 clamp(20px,4vw,64px);min-height:76px}.app-brand{gap:12px}.brand-mark{display:grid!important;place-items:center;width:43px!important;height:43px!important;border-radius:13px!important;background:linear-gradient(145deg,#7568ff,#425de6)!important;box-shadow:0 8px 22px rgba(82,94,235,.3)}.brand-mark svg{width:25px;height:25px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linejoin:round}.brand-mark svg path:first-child{fill:#fff;stroke:none}.brand-copy strong{font-size:16px;letter-spacing:-.2px}.brand-copy small{font-size:10px;letter-spacing:.9px;text-transform:uppercase}.app-header .app-nav{display:flex;align-items:center;gap:5px;max-width:none}.app-nav a,.theme-toggle{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 14px;border-radius:11px;color:#68738a;font-size:13px;font-weight:750;text-decoration:none;transition:.18s ease}.app-nav a svg,.theme-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.app-nav a:hover,.app-nav a.active{color:#4f5ee7;background:#f1f2ff}.app-nav a.active:after{content:"";position:absolute;bottom:-17px;width:24px;height:2px;border-radius:2px;background:#5c67ed}.app-nav a{position:relative}.nav-divider{width:1px;height:24px;margin:0 7px;background:#e1e4ec}.theme-toggle{background:transparent}.theme-toggle:hover{background:#f4f5f9;color:#303b52}.theme-icon-sun{display:none}.nav-toggle{display:none;padding:8px;background:transparent}.nav-toggle>span:not(.sr-only){display:block;width:22px;height:2px;margin:4px;background:#30394c;border-radius:2px}
.container:has(.projects-page){max-width:none;padding:0 0 80px}.projects-page{color:var(--studio-ink);background:#fafbfe;min-height:calc(100vh - 76px)}.projects-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(400px,.8fr);align-items:center;min-height:390px;padding:60px clamp(28px,7vw,120px);overflow:hidden;color:#fff;background:linear-gradient(118deg,#12182d 0%,#202147 53%,#171a38 100%)}.projects-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(90deg,#000,transparent 80%)}.hero-glow{position:absolute;border-radius:50%;filter:blur(2px)}.hero-glow-one{width:440px;height:440px;right:10%;top:-280px;background:#8258ff26}.hero-glow-two{width:330px;height:330px;left:35%;bottom:-270px;background:#4d7cff21}.projects-hero-copy{position:relative;z-index:2;max-width:650px}.projects-kicker,.section-kicker{display:block;color:#7d8aff;font-size:10px;font-weight:900;letter-spacing:1.8px}.projects-kicker{display:flex;align-items:center;color:#a9b0ff}.projects-kicker i{width:7px;height:7px;margin-right:9px;border-radius:50%;background:#7b86ff;box-shadow:0 0 15px #8d94ff}.projects-hero h1{margin:16px 0 18px;max-width:620px;font-size:clamp(43px,5vw,68px);line-height:1.02;letter-spacing:-3.6px}.projects-hero h1 span{color:#8b86ff}.projects-hero p{max-width:590px;margin:0;color:#b4bad0;font-size:16px;line-height:1.7}.hero-create-link{display:inline-flex;align-items:center;gap:10px;margin-top:27px;padding:13px 18px;border:1px solid #ffffff21;border-radius:12px;color:#fff;background:#ffffff0d;text-decoration:none;font-size:13px;font-weight:800;transition:.2s}.hero-create-link:hover{transform:translateY(-2px);background:#ffffff17}.hero-create-link span{color:#a6a9ff;font-size:18px}.hero-visual{position:relative;z-index:2;height:265px;margin-left:50px;perspective:900px}.video-frame{position:absolute;inset:13px 2% 13px 10%;overflow:hidden;border:1px solid #ffffff24;border-radius:22px;background:radial-gradient(circle at 57% 38%,#6460c9 0,#303165 24%,#171a36 62%);box-shadow:0 35px 70px #0506117a;transform:rotateY(-6deg) rotateX(2deg)}.video-frame:after{content:"";position:absolute;inset:0;background:linear-gradient(125deg,transparent 38%,rgba(150,130,255,.21) 50%,transparent 65%)}.frame-label{position:absolute;top:17px;left:17px;display:flex;align-items:center;gap:7px;padding:7px 9px;border-radius:7px;background:#0c0d1b99;font-size:8px;font-weight:900;letter-spacing:1px}.frame-label i{width:6px;height:6px;border-radius:50%;background:#845df7}.frame-play{position:absolute;left:50%;top:47%;display:grid;place-items:center;width:58px;height:58px;border:1px solid #ffffff59;border-radius:50%;background:#ffffff18;transform:translate(-50%,-50%);backdrop-filter:blur(10px)}.frame-play svg{width:27px;fill:#fff}.frame-timeline{position:absolute;display:flex;align-items:center;gap:7px;left:20px;right:20px;bottom:19px}.frame-timeline span{height:3px;flex:1;border-radius:3px;background:linear-gradient(90deg,#8c7bff 62%,#ffffff30 62%)}.frame-timeline i{width:6px;height:6px;border-radius:50%;background:#ffffff80}.floating-chip{position:absolute;padding:10px 13px;border:1px solid #ffffff1c;border-radius:10px;background:#252847e8;box-shadow:0 14px 35px #06071366;color:#d6d9e9;font-size:10px;font-weight:700;backdrop-filter:blur(12px)}.chip-top{right:-15px;top:0}.chip-bottom{left:0;bottom:0}.chip-bottom strong{margin-right:4px;color:#9a91ff;font-size:17px}
.projects-error{max-width:1500px;margin:24px auto 0}.studio-grid{display:grid;grid-template-columns:minmax(330px,410px) minmax(0,1fr);gap:38px;max-width:1500px;margin:0 auto;padding:48px clamp(24px,4vw,64px)}.creation-card,.library-section{min-width:0}.creation-card{align-self:start;padding:27px;border:1px solid var(--studio-line);border-radius:19px;background:var(--studio-surface);box-shadow:0 16px 45px rgba(31,37,64,.07);scroll-margin-top:100px}.creation-heading{display:flex;align-items:center;gap:12px}.creation-icon{display:grid;place-items:center;width:41px;height:41px;border-radius:12px;color:#fff;background:linear-gradient(145deg,#6574fa,#8b55ee);box-shadow:0 7px 18px #696df13d}.creation-heading h2,.library-header h2{margin:3px 0 0;font-size:21px;letter-spacing:-.5px}.creation-intro{margin:19px 0 23px;color:var(--studio-muted);font-size:12px;line-height:1.6}.creation-card label,.format-fieldset legend{margin-bottom:8px;color:#3f4960;font-size:11px;font-weight:850}.project-name-field{position:relative}.project-name-field svg{position:absolute;z-index:1;left:13px;top:50%;width:18px;fill:none;stroke:#7b8497;stroke-width:1.6;transform:translateY(-50%)}.project-name-field input{height:48px;padding-left:41px!important;border-color:#e0e3eb!important;background:#fafbfe!important;font-size:13px}.format-fieldset{padding:0;margin:21px 0 22px;border:0}.visual-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.visual-option{position:relative;display:grid!important;grid-template-columns:47px 1fr;align-items:center;gap:10px;margin:0!important;padding:9px;border:1px solid #e3e5ed;border-radius:12px;cursor:pointer}.visual-option:has(input:checked){border-color:#6972ed;background:#f7f7ff;box-shadow:0 0 0 1px #6972ed}.visual-option input{position:absolute;opacity:0;pointer-events:none}.visual-option>span:nth-of-type(2){display:flex;flex-direction:column;min-width:0}.visual-option strong{font-size:10px;white-space:nowrap}.visual-option small{margin-top:3px;color:#8a93a5;font-size:8px}.visual-option>b{display:none;position:absolute;top:-6px;right:-5px;width:17px;height:17px;border:2px solid #fff;border-radius:50%;background:#606ced;color:#fff;font-size:9px;text-align:center}.visual-option:has(input:checked)>b{display:block}.option-illustration{position:relative;display:grid!important;place-items:center;width:47px;height:38px;border-radius:7px;background:linear-gradient(145deg,#222843,#4e4d85)}.option-illustration.portrait i{width:16px;height:28px}.option-illustration.landscape i{width:31px;height:20px}.option-illustration i{display:block;border:1px solid #aaa7ff;border-radius:2px;background:linear-gradient(145deg,#7771ed22,#ae81ff55)}.create-project-button{display:flex;width:100%;align-items:center;justify-content:space-between;padding:14px 16px;border-radius:11px;background:linear-gradient(100deg,#5969f4,#7559eb);box-shadow:0 9px 22px #6269ee42;color:#fff;font-size:12px}.create-project-button:hover{filter:brightness(1.06);transform:translateY(-1px)}.create-project-button b{font-size:18px}.form-note{display:block;margin-top:12px;color:#929aaa;text-align:center;font-size:9px}.library-header{display:flex;align-items:end;justify-content:space-between;margin:5px 0 19px}.project-list-tabs{margin:0;padding:3px;border:1px solid #e7e9f0;border-radius:10px;background:#f3f4f8}.project-list-tabs a{padding:7px 11px;border-radius:7px;background:transparent;font-size:10px}.project-list-tabs a span{margin-left:4px;color:#8b93a3}.project-list-tabs a.active{color:#4d5be3;background:#fff;box-shadow:0 2px 7px #18213a12}.project-list-tabs a.active span{color:#5967ec}.project-library{display:grid;gap:12px}.project-card{display:flex;align-items:stretch;border:1px solid var(--studio-line);border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(35,42,68,.045);transition:.2s}.project-card:hover{border-color:#cdd0f5;box-shadow:0 13px 30px rgba(43,49,91,.1);transform:translateY(-2px)}.project-card-main{display:grid;grid-template-columns:116px minmax(0,1fr) 95px;align-items:center;gap:17px;flex:1;min-width:0;padding:13px;color:var(--studio-ink);text-decoration:none}.project-thumbnail{position:relative;display:block;width:100%;height:76px;overflow:hidden;border-radius:10px;background:radial-gradient(circle at 60% 35%,#6c67ce,#30325e 48%,#1b203a)}.project-thumbnail.reels{width:54px;margin:0 auto;background:radial-gradient(circle at 50% 20%,#b768a2,#623b78 45%,#2c2345)}.thumb-grid{position:absolute;inset:0;background-image:linear-gradient(#ffffff0b 1px,transparent 1px),linear-gradient(90deg,#ffffff0b 1px,transparent 1px);background-size:13px 13px}.thumb-play{position:absolute;display:grid;place-items:center;left:50%;top:50%;width:29px;height:29px;border-radius:50%;background:#ffffffde;color:#5958b2;font-style:normal;font-size:9px;transform:translate(-50%,-50%)}.project-thumbnail em{position:absolute;right:6px;bottom:5px;padding:3px 5px;border-radius:4px;background:#0e1020aa;color:#fff;font-size:7px;font-style:normal}.project-card-content{display:flex;flex-direction:column;min-width:0}.project-type{color:#6a72df;font-size:8px;font-weight:900;letter-spacing:1px}.project-card-content>strong{overflow:hidden;margin-top:5px;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.project-meta{margin-top:6px;color:#818a9d;font-size:9px}.project-meta i{margin:0 3px;color:#c0c5cf;font-style:normal}.project-progress{display:flex;align-items:center;gap:9px;margin-top:11px}.project-progress>i{display:block;width:100%;max-width:135px;height:3px;overflow:hidden;border-radius:3px;background:#e9ebf1}.project-progress b{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#5869f4,#8a5be9)}.project-progress small{color:#81899b;font-size:8px;white-space:nowrap}.project-cost{display:flex;flex-direction:column;align-items:flex-end;padding-left:15px;border-left:1px solid #eceef3}.project-cost small{color:#9aa1b0;font-size:7px;font-weight:900;letter-spacing:1px}.project-cost strong{margin-top:4px;font-size:15px}.project-cost em{margin-top:15px;color:#6470e9;font-size:9px;font-style:normal;font-weight:800}.project-card-actions{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:8px;border-left:1px solid #f0f1f5}.project-card-actions form{margin:0}.project-card-actions button{display:grid;place-items:center;width:29px;height:29px;padding:0;border-radius:8px;background:#f3f4f8;color:#747e91;font-size:15px}.project-card-actions button:hover{color:#5361e5;background:#ebedff}.project-card-actions .delete-action:hover{color:#cc4350;background:#fff0f1}.projects-empty{padding:60px 30px;border:1px dashed #d9dce6;border-radius:16px;background:#fff;text-align:center}.projects-empty>span{color:#7778ed;font-size:38px}.projects-empty h3{margin:9px 0 5px;font-size:17px}.projects-empty p{margin:0;color:var(--studio-muted);font-size:12px}
html[data-theme=dark]{--studio-ink:#edf1fa;--studio-muted:#98a4ba;--studio-line:#2d3850;--studio-surface:#172134}html[data-theme=dark] .app-header{background:rgba(13,20,32,.9);box-shadow:0 1px 0 #2a3549}html[data-theme=dark] .app-brand{color:#f0f4fb}html[data-theme=dark] .app-nav a:hover,html[data-theme=dark] .app-nav a.active{background:#252d4b;color:#aeb5ff}html[data-theme=dark] .theme-icon-moon{display:none}html[data-theme=dark] .theme-icon-sun{display:block}html[data-theme=dark] .projects-page{background:#0e1624}html[data-theme=dark] .creation-card,html[data-theme=dark] .project-card,html[data-theme=dark] .projects-empty{background:var(--studio-surface)}html[data-theme=dark] .creation-card label,html[data-theme=dark] .format-fieldset legend{color:#c5cede}html[data-theme=dark] .project-name-field input{border-color:#37435a!important;background:#101927!important;color:#f1f4fa!important}html[data-theme=dark] .visual-option{border-color:#354057;background:#131c2c}html[data-theme=dark] .visual-option:has(input:checked){border-color:#7680ff;background:#222947}html[data-theme=dark] .project-list-tabs{border-color:#303a50;background:#111a29}html[data-theme=dark] .project-list-tabs a.active{background:#273149;color:#b7bdff}html[data-theme=dark] .project-cost,html[data-theme=dark] .project-card-actions{border-color:#303a4f}html[data-theme=dark] .project-card-actions button{background:#222c3f;color:#a9b4c8}
@media(max-width:980px){.projects-hero{grid-template-columns:1fr minmax(300px,.65fr);padding-inline:35px}.hero-visual{margin-left:10px}.studio-grid{grid-template-columns:330px minmax(0,1fr);gap:22px;padding-inline:24px}.project-card-main{grid-template-columns:90px minmax(0,1fr)}.project-cost{display:none}}
@media(max-width:760px){.app-header-inner{min-height:66px;padding:9px 17px}.brand-copy small{display:none}.nav-toggle{display:block}.app-header .app-nav{position:absolute;display:none;top:100%;left:12px;right:12px;flex-direction:column;align-items:stretch;padding:10px;border:1px solid #e2e5ee;border-radius:14px;background:#fff;box-shadow:0 18px 45px #171d3040}.app-header .app-nav.open{display:flex}.app-nav a,.theme-toggle{width:100%}.app-nav a.active:after,.nav-divider{display:none}html[data-theme=dark] .app-header .app-nav{border-color:#303c50;background:#121c2b}.projects-hero{display:block;min-height:450px;padding:48px 22px}.projects-hero h1{font-size:43px;letter-spacing:-2.5px}.hero-visual{height:190px;margin:38px 0 0}.video-frame{inset:0 3% 0 6%}.floating-chip{display:none}.studio-grid{grid-template-columns:1fr;padding:28px 15px}.library-header{align-items:center}.creation-card{padding:21px}.project-card-main{grid-template-columns:82px minmax(0,1fr);gap:12px;padding:10px}.project-thumbnail{height:68px}.project-card-content>strong{font-size:12px}.project-meta{white-space:nowrap}.project-progress small{display:none}.project-card-actions{padding:5px}.project-list-tabs a{padding:7px 9px}}
@media(max-width:420px){.brand-copy strong{font-size:14px}.projects-hero h1{font-size:38px}.visual-options{grid-template-columns:1fr}.project-card-main{grid-template-columns:68px minmax(0,1fr)}.project-thumbnail{height:61px}.project-meta{font-size:8px}.project-list-tabs a span{display:none}}

/* Compact application header and project dashboard hero */
.app-header{background:#111629;box-shadow:0 1px 0 rgba(255,255,255,.09)}.app-header-inner{min-height:68px}.brand-mark{width:38px!important;height:38px!important;border-radius:11px!important;box-shadow:none}.brand-mark svg{width:22px;height:22px}.app-brand{color:#fff}.brand-copy{display:flex!important;flex-direction:row!important;align-items:baseline;gap:6px!important}.brand-copy strong{font-size:17px;letter-spacing:1.2px}.brand-copy small{color:#8f98b5!important;font-size:10px;letter-spacing:2px}.app-header .app-nav{align-self:stretch}.app-nav a,.theme-toggle{align-self:center;color:#9fa8c1}.app-nav a:hover{color:#fff;background:#ffffff0b}.app-nav a.active{color:#fff;background:transparent}.app-nav a.active:after{bottom:-13px;width:100%;height:2px;background:#7882ff}.nav-divider{background:#ffffff1c}.theme-toggle{justify-content:center;width:38px;min-height:38px;padding:0;border:1px solid #ffffff14;border-radius:10px;background:#ffffff08}.theme-toggle:hover{color:#fff;background:#ffffff10}
.projects-dashboard-hero{grid-template-columns:minmax(0,1fr) auto;min-height:230px;padding-top:50px;padding-bottom:50px;background:linear-gradient(118deg,#171d35,#202548 62%,#25204a)}.projects-dashboard-hero:before{opacity:.65}.projects-dashboard-hero .projects-hero-copy{max-width:680px}.projects-dashboard-hero h1{margin:11px 0 10px;font-size:clamp(34px,4vw,50px);letter-spacing:-2.3px}.projects-dashboard-hero p{font-size:14px}.hero-summary{position:relative;z-index:2;display:flex;align-items:center;gap:26px;padding:17px 18px 17px 25px;border:1px solid #ffffff18;border-radius:16px;background:#ffffff0a;box-shadow:0 18px 45px #07091940;backdrop-filter:blur(12px)}.hero-summary>div{display:flex;flex-direction:column;min-width:75px}.hero-summary>div span{color:#9fa7bf;font-size:9px;font-weight:800;letter-spacing:.8px;text-transform:uppercase}.hero-summary>div strong{margin-top:4px;color:#fff;font-size:26px}.hero-summary>i{width:1px;height:39px;background:#ffffff18}.hero-summary>a{display:flex;align-items:center;gap:9px;margin-left:3px;padding:12px 15px;border-radius:10px;background:linear-gradient(110deg,#6573f5,#795bec);box-shadow:0 8px 19px #4246b54d;color:#fff;text-decoration:none;font-size:11px;font-weight:850;white-space:nowrap}.hero-summary>a b{font-size:17px;font-weight:500}.studio-grid{padding-top:38px}
html[data-theme=dark] .app-header{background:#0c1220}html[data-theme=dark] .app-nav a.active{background:transparent;color:#fff}
@media(max-width:760px){.app-header-inner{min-height:62px}.brand-copy{display:flex!important}.app-header .app-nav{background:#11182a}.projects-dashboard-hero{min-height:300px;padding:38px 22px}.projects-dashboard-hero h1{font-size:38px}.hero-summary{margin-top:30px;gap:16px;padding:14px}.hero-summary>div{min-width:60px}.hero-summary>a{margin-left:auto}.hero-summary>a span{display:none}.hero-summary>i{height:34px}}
@media(max-width:420px){.hero-summary{gap:11px}.hero-summary>div strong{font-size:22px}.hero-summary>a{padding:10px 12px}}

/* Refined Veo Studio wordmark */
.app-brand{gap:10px}.brand-mark{width:40px!important;height:40px!important;border-radius:12px!important;background:linear-gradient(145deg,#7781ff 0%,#5964ed 48%,#8756dc 100%)!important;box-shadow:0 7px 18px rgba(85,94,225,.26)}.brand-copy{display:flex!important;align-items:center!important;gap:5px!important;line-height:1}.brand-copy strong{color:#fff;font-size:18px;font-weight:850;letter-spacing:-.45px;text-transform:none}.brand-copy>span{color:#aab2ca;font-size:18px;font-weight:450;letter-spacing:-.45px}.app-brand:hover .brand-mark{filter:brightness(1.08)}
@media(max-width:420px){.brand-copy strong,.brand-copy>span{font-size:16px}}

/* API accounts workspace */
.container:has(.accounts-page){max-width:none;padding:0 0 80px}.accounts-page{min-height:calc(100vh - 68px);color:var(--studio-ink);background:#fafbfe}.accounts-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:45px;min-height:230px;padding:45px clamp(28px,7vw,120px);overflow:hidden;color:#fff;background:linear-gradient(118deg,#171d35,#202548 62%,#25204a)}.accounts-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(90deg,#000,transparent 80%)}.accounts-hero>div{position:relative;z-index:1}.accounts-hero>div:first-child{max-width:650px}.accounts-hero h1{margin:11px 0 10px;font-size:clamp(34px,4vw,50px);line-height:1.06;letter-spacing:-2.3px}.accounts-hero p{max-width:630px;margin:0;color:#b4bad0;font-size:14px;line-height:1.7}.accounts-overview{display:flex;align-items:center;gap:25px;padding:17px 25px;border:1px solid #ffffff18;border-radius:16px;background:#ffffff0a;box-shadow:0 18px 45px #07091940;backdrop-filter:blur(12px)}.accounts-overview>div{display:flex;flex-direction:column;min-width:75px}.accounts-overview span{color:#9fa7bf;font-size:8px;font-weight:850;letter-spacing:.9px;text-transform:uppercase}.accounts-overview strong{overflow:hidden;max-width:145px;margin-top:5px;color:#fff;font-size:25px;text-overflow:ellipsis;white-space:nowrap}.accounts-overview .active-account-name{color:#aeb4ff;font-size:15px}.accounts-overview>i{width:1px;height:38px;background:#ffffff18}.accounts-error{max-width:1500px;margin:24px auto 0}.accounts-layout{display:grid;grid-template-columns:minmax(330px,400px) minmax(0,1fr);gap:38px;max-width:1500px;margin:0 auto;padding:38px clamp(24px,4vw,64px)}.account-create-card{align-self:start;padding:27px;border:1px solid var(--studio-line);border-radius:19px;background:var(--studio-surface);box-shadow:0 16px 45px rgba(31,37,64,.07)}.account-section-heading{display:flex;align-items:center;gap:12px}.account-heading-icon{display:grid;place-items:center;width:41px;height:41px;border-radius:12px;color:#fff;background:linear-gradient(145deg,#6574fa,#8b55ee);box-shadow:0 7px 18px #696df13d;font-size:20px}.account-section-heading h2,.accounts-list-heading h2{margin:3px 0 0;font-size:21px;letter-spacing:-.5px}.account-create-card>p{margin:19px 0 23px;color:var(--studio-muted);font-size:12px;line-height:1.6}.account-create-card label{margin-bottom:8px;color:#3f4960;font-size:11px;font-weight:850}.account-label-gap{margin-top:18px}.account-input{position:relative}.account-input>svg{position:absolute;z-index:1;left:13px;top:50%;width:18px;fill:none;stroke:#7b8497;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transform:translateY(-50%)}.account-input input{height:48px;padding:0 42px!important;border-color:#e0e3eb!important;background:#fafbfe!important;font-size:12px}.api-key-input input{padding-right:45px!important;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.api-key-input>button{position:absolute;right:7px;top:50%;display:grid;place-items:center;width:34px;height:34px;padding:0;background:transparent;color:#7b8497;transform:translateY(-50%)}.api-key-input>button:hover{color:#5966e9;background:#eceeff}.api-key-input>button svg{width:18px;fill:none;stroke:currentColor;stroke-width:1.5}.security-note{display:flex;align-items:center;gap:7px;margin:10px 1px 20px;color:#7e889b}.security-note span{display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#e8f7ef;color:#1e9360;font-size:9px;font-weight:900}.security-note small{font-size:9px}.add-account-button{display:flex;width:100%;align-items:center;justify-content:space-between;padding:14px 16px;border-radius:11px;background:linear-gradient(100deg,#5969f4,#7559eb);box-shadow:0 9px 22px #6269ee42;color:#fff;font-size:12px}.add-account-button b{font-size:18px}.accounts-list-section{min-width:0}.accounts-list-heading{display:flex;align-items:end;justify-content:space-between;margin:5px 0 19px}.accounts-count{padding:7px 10px;border:1px solid #e4e7ef;border-radius:8px;background:#fff;color:#727d91;font-size:9px;font-weight:800}.accounts-list{display:grid;gap:11px}.account-card{display:grid;grid-template-columns:48px 43px minmax(0,1fr) auto;align-items:center;gap:15px;min-height:105px;padding:15px 16px;border:1px solid var(--studio-line);border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(35,42,68,.045);transition:.2s}.account-card.active{border-color:#cdd1ff;background:linear-gradient(100deg,#fff,#fafaff);box-shadow:inset 3px 0 #6973ef,0 8px 25px rgba(52,59,111,.07)}.account-card:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(35,42,68,.09)}.account-order{display:flex;flex-direction:column;align-items:center;padding-right:14px;border-right:1px solid #edf0f4}.account-order small{color:#9aa2b1;font-size:7px;font-weight:900;letter-spacing:1px}.account-order strong{margin-top:3px;font-size:18px}.account-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:linear-gradient(145deg,#e9eaff,#dfe3ff);color:#5966df;font-size:15px;font-weight:900}.account-info{display:flex;flex-direction:column;min-width:0}.account-name-row{display:flex;align-items:center;gap:9px}.account-name-row>strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.account-name-row>span{display:flex;align-items:center;gap:5px;padding:4px 6px;border-radius:5px;background:#e9f8f0;color:#218b5b;font-size:7px;font-weight:900;letter-spacing:.7px}.account-name-row>span i{width:5px;height:5px;border-radius:50%;background:#2ca66d;box-shadow:0 0 0 3px #2ca66d1c}.account-info code{margin-top:6px;color:#7f8899;font-size:9px}.quota-status{display:flex;align-items:center;gap:6px;margin-top:8px;color:#7e8798;font-size:8px}.quota-status i{width:6px;height:6px;border-radius:50%;background:#29a56b}.quota-status.warning i{background:#e29a28}.account-actions{display:flex;align-items:center;gap:6px}.account-actions form{margin:0}.account-actions button{white-space:nowrap}.activate-account{padding:9px 12px;border:1px solid #dde0f6;border-radius:8px;background:#f0f1ff;color:#5965df;font-size:9px}.delete-account{display:grid;place-items:center;width:31px;height:31px;padding:0;border-radius:8px;background:#f5f6f9;color:#8d96a8;font-size:17px}.delete-account:hover{color:#c83e4b;background:#fff0f1}.rotation-note{display:flex;align-items:center;gap:8px;margin:15px 4px 0;color:#7d8799;font-size:9px}.rotation-note span{color:#636ee8;font-size:16px}.accounts-empty{padding:60px 30px;border:1px dashed #d9dce6;border-radius:16px;background:#fff;text-align:center}.accounts-empty>span{color:#7778ed;font-size:38px}.accounts-empty h3{margin:9px 0 5px;font-size:17px}.accounts-empty p{margin:0;color:var(--studio-muted);font-size:12px}
html[data-theme=dark] .accounts-page{background:#0e1624}html[data-theme=dark] .account-create-card,html[data-theme=dark] .account-card,html[data-theme=dark] .accounts-empty,html[data-theme=dark] .accounts-count{background:var(--studio-surface)}html[data-theme=dark] .account-card.active{border-color:#444f84;background:linear-gradient(100deg,#172134,#1b213d)}html[data-theme=dark] .account-create-card label{color:#c5cede}html[data-theme=dark] .account-input input{border-color:#37435a!important;background:#101927!important;color:#f1f4fa!important}html[data-theme=dark] .account-order{border-color:#303a4f}html[data-theme=dark] .account-avatar{background:#252d4f;color:#aeb5ff}html[data-theme=dark] .account-name-row>span{background:#173b2d;color:#7bd6a9}
@media(max-width:980px){.accounts-hero{padding-inline:35px}.accounts-layout{grid-template-columns:330px minmax(0,1fr);gap:22px;padding-inline:24px}.accounts-overview{gap:15px}.accounts-overview>div:nth-of-type(3),.accounts-overview>i:nth-of-type(2){display:none}}
@media(max-width:760px){.accounts-hero{display:block;padding:38px 22px}.accounts-hero h1{font-size:38px}.accounts-overview{margin-top:27px;justify-content:space-between}.accounts-overview>div:nth-of-type(3),.accounts-overview>i:nth-of-type(2){display:flex}.accounts-layout{grid-template-columns:1fr;padding:28px 15px}.account-create-card{padding:21px}.account-card{grid-template-columns:36px 39px minmax(0,1fr);gap:10px;padding:13px 10px}.account-order{padding-right:8px}.account-avatar{width:38px;height:38px}.account-actions{grid-column:2/-1;justify-content:flex-end;padding-top:8px;border-top:1px solid #edf0f4}}
@media(max-width:430px){.accounts-overview{gap:10px;padding:13px}.accounts-overview>div:nth-of-type(3),.accounts-overview>i:nth-of-type(2){display:none}.accounts-overview strong{font-size:21px}.accounts-overview .active-account-name{max-width:110px}.account-info code{max-width:160px;overflow:hidden}.account-name-row>span{display:none}}

/* Single-piece brand: cannot wrap or split across lines */
.app-brand .brand-wordmark{display:block;color:#fff;font-size:18px;font-weight:800;line-height:1;letter-spacing:-.35px;white-space:nowrap}.app-brand .brand-wordmark::first-letter{letter-spacing:-.6px}@media(max-width:420px){.app-brand .brand-wordmark{font-size:16px}}

/* Project detail workspace — structural redesign */
.container:has(.project-detail-page){max-width:none;padding:0;background:#f7f8fc}.project-detail-page{min-height:calc(100vh - 68px);color:var(--studio-ink)}.project-detail-hero{padding:27px clamp(25px,4.5vw,72px) 0;border-bottom:1px solid #e1e4ec;background:linear-gradient(115deg,#fff,#f8f9ff)}.detail-breadcrumb{display:flex;align-items:center;gap:8px;color:#9199a9;font-size:10px;font-weight:700}.detail-breadcrumb a{color:#5e69e6;text-decoration:none}.detail-title-row{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:20px}.detail-title{display:flex;align-items:center;gap:17px;min-width:0}.detail-project-icon{position:relative;display:grid;place-items:center;flex:0 0 auto;width:62px;height:62px;overflow:hidden;border-radius:17px;background:radial-gradient(circle at 65% 30%,#7771dc,#343660 55%,#1d223d);box-shadow:0 10px 25px #34395b28}.detail-project-icon.reels{background:radial-gradient(circle at 50% 20%,#c168a8,#6b3f81 48%,#302548)}.detail-project-icon:after{content:"";position:absolute;inset:0;background-image:linear-gradient(#ffffff0b 1px,transparent 1px),linear-gradient(90deg,#ffffff0b 1px,transparent 1px);background-size:11px 11px}.detail-project-icon i{position:relative;z-index:1;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#ffffffdd;color:#5b5db9;font-size:8px;font-style:normal}.detail-label-row{display:flex;align-items:center;gap:7px;color:#8891a3;font-size:8px;font-weight:800;letter-spacing:.8px}.detail-label-row>span{color:#6972df}.detail-label-row i{font-style:normal}.detail-title h1{overflow:hidden;max-width:750px;margin:5px 0 7px;font-size:clamp(23px,3vw,34px);line-height:1.1;letter-spacing:-1.3px;text-overflow:ellipsis;white-space:nowrap}.detail-badges{display:flex;gap:6px}.detail-badges>span{display:flex;align-items:center;gap:5px;padding:5px 8px;border-radius:6px;background:#eef0f6;color:#697488;font-size:8px;font-weight:800}.detail-badges .detail-status{color:#218759;background:#e8f7ef}.detail-status i{width:5px;height:5px;border-radius:50%;background:#2aa469}.detail-primary-actions{display:flex;align-items:center;gap:12px}.detail-primary-actions #projectSaveStatus{color:#298560;font-size:10px;font-weight:800}.detail-save-button{display:flex;align-items:center;gap:16px;padding:11px 13px 11px 16px;border-radius:10px;color:#fff;background:linear-gradient(100deg,#5969f4,#7559eb);box-shadow:0 8px 20px #6269ee35;font-size:10px}.detail-save-button b{padding:4px 6px;border-radius:5px;background:#ffffff17;color:#cfd2ff;font-size:7px}.detail-stats{display:flex;align-items:stretch;margin-top:24px;border-top:1px solid #e8eaf0}.detail-stats>div{display:flex;flex-direction:column;justify-content:center;min-width:145px;padding:18px 35px 18px 0;margin-right:35px;border-right:1px solid #e8eaf0}.detail-stats small,.detail-final-link small{color:#9ba2b1;font-size:7px;font-weight:900;letter-spacing:1px}.detail-stats strong{margin-top:5px;font-size:15px}.detail-stats strong span{color:#9ba3b2;font-size:10px;font-weight:600}.detail-stats .spent-value{color:#5d68e6}.detail-stats>div>i{display:block;width:100%;height:3px;margin-top:8px;border-radius:3px;background:#e6e8ef}.detail-stats>div>i b{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#5869f4,#8a5be9)}.detail-final-link{display:flex;align-items:center;gap:9px;align-self:center;margin-left:auto;padding:9px 12px;border:1px solid #dfe2ef;border-radius:10px;color:#252d42;background:#fff;text-decoration:none}.detail-final-link>span{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;color:#fff;background:#6772ee;font-size:8px}.detail-final-link>div{display:flex;flex-direction:column}.detail-final-link strong{font-size:10px}.project-workspace{display:grid;grid-template-columns:245px minmax(0,1fr);gap:27px;max-width:1600px;margin:0 auto;padding:30px clamp(22px,4vw,64px) 80px}.project-step-sidebar{position:sticky;top:89px;align-self:start;padding:20px 13px 15px;border:1px solid #e3e6ee;border-radius:16px;background:#fff;box-shadow:0 10px 30px #2029440a}.step-sidebar-title{display:flex;flex-direction:column;padding:0 9px 15px;border-bottom:1px solid #eceef3}.step-sidebar-title span{color:#6973e5;font-size:9px;font-weight:900;letter-spacing:1.2px}.step-sidebar-title small{margin-top:4px;color:#9099a9;font-size:8px}.project-step-sidebar nav{display:grid;gap:3px;margin-top:10px}.project-step-sidebar nav a{display:grid;grid-template-columns:27px 1fr;align-items:center;gap:10px;padding:9px;border-radius:9px;color:#4e596d;text-decoration:none;transition:.17s}.project-step-sidebar nav a:hover,.project-step-sidebar nav a.active{color:#4e5ae0;background:#f0f1ff}.project-step-sidebar nav a>b{display:grid;place-items:center;width:26px;height:26px;border:1px solid #e0e3eb;border-radius:8px;background:#fafbfc;color:#8992a4;font-size:9px}.project-step-sidebar nav a:hover>b,.project-step-sidebar nav a.active>b{border-color:#cdd1ff;color:#fff;background:#6973ed}.project-step-sidebar nav a>span{display:flex;flex-direction:column}.project-step-sidebar nav strong{font-size:10px}.project-step-sidebar nav small{margin-top:2px;color:#9ba3b2;font-size:7px}.sidebar-progress{margin-top:14px;padding:13px 10px 4px;border-top:1px solid #eceef3}.sidebar-progress>div{display:flex;justify-content:space-between;color:#737e91;font-size:8px}.sidebar-progress strong{color:#5d68e8}.sidebar-progress>i{display:block;height:4px;margin:8px 0 6px;border-radius:4px;background:#e9ebf1}.sidebar-progress>i b{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#5969f4,#895ae9)}.sidebar-progress>small{color:#9ba3b2;font-size:7px}.project-workspace-main{min-width:0}.project-quick-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 16px;margin-bottom:15px;border:1px solid #e2e5ed;border-radius:13px;background:#fff;box-shadow:0 7px 20px #20294408}.project-quick-toolbar>div:first-child{display:flex;flex-direction:column}.quick-toolbar-label{color:#6973e5;font-size:8px;font-weight:900;letter-spacing:1px}.project-quick-toolbar>div:first-child small{margin-top:3px;color:#929bac;font-size:8px}.quick-toolbar-actions{display:flex;align-items:center;gap:7px}.quick-toolbar-actions button{padding:9px 11px;border-radius:8px;font-size:9px}.quick-toolbar-actions .summary-clip-control{margin:0;padding:5px 8px;background:#f1f3f8}.quick-toolbar-actions .summary-clip-control input{width:41px;padding:4px}.project-production>.hero{display:none}.project-production>.panel,.project-production>.production-settings{margin-bottom:15px;border-radius:15px;box-shadow:0 8px 25px #2029440a}.project-production>.production-settings{padding:21px;background:#fff;border-color:#e1e5ed}.project-production>.production-settings>.section-title{margin:-21px -21px 18px;padding:16px 20px;border-radius:15px 15px 0 0;background:linear-gradient(110deg,#202842,#2a3155)}.project-production .production-accordion{margin:0 0 11px;border-color:#e1e4ec;border-radius:14px;box-shadow:0 6px 20px #20294408}.project-production .production-accordion>summary{min-height:61px;padding:14px 17px;background:#fff;color:#263047}.project-production .production-accordion>summary strong{font-size:12px}.project-production .production-accordion>summary span{color:#98a0af;font-size:8px}.project-production .production-accordion>summary:after{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#f0f1ff;color:#606be7;font-size:15px}.project-production .production-accordion[open]>summary{border-color:#e8eaf0;background:#fafaff}.project-production .production-accordion>.panel{padding:22px;background:#fff}.project-production>.panel>.section-title,.project-production .production-accordion>.panel>.section-title{margin:-22px -22px 20px;padding:15px 20px;border-radius:0;background:#f6f7fb;color:#283248}.project-production>.panel>.section-title .eyebrow,.project-production .production-accordion>.panel>.section-title .eyebrow{color:#6771e0}.project-production>.panel>.section-title h2,.project-production .production-accordion>.panel>.section-title h2{color:#202a40}
html[data-theme=dark] .container:has(.project-detail-page){background:#0e1624}html[data-theme=dark] .project-detail-hero{border-color:#2c374b;background:linear-gradient(115deg,#151f2f,#171d33)}html[data-theme=dark] .detail-stats,html[data-theme=dark] .detail-stats>div{border-color:#2c374b}html[data-theme=dark] .detail-badges>span{background:#253044;color:#aeb9ca}html[data-theme=dark] .detail-badges .detail-status{background:#173b2d;color:#7bd6a9}html[data-theme=dark] .project-step-sidebar,html[data-theme=dark] .project-quick-toolbar,html[data-theme=dark] .project-production>.production-settings,html[data-theme=dark] .project-production .production-accordion>summary,html[data-theme=dark] .project-production .production-accordion>.panel{border-color:#303d52;background:#151f2e;color:#e4ecf7}html[data-theme=dark] .project-step-sidebar nav a{color:#b5c0d0}html[data-theme=dark] .project-step-sidebar nav a:hover,html[data-theme=dark] .project-step-sidebar nav a.active{background:#252d4c;color:#b8beff}html[data-theme=dark] .project-step-sidebar nav a>b{border-color:#39465c;background:#111a28}html[data-theme=dark] .project-production .production-accordion[open]>summary,html[data-theme=dark] .project-production>.panel>.section-title,html[data-theme=dark] .project-production .production-accordion>.panel>.section-title{background:#202b3e;color:#edf3fb}html[data-theme=dark] .project-production>.panel>.section-title h2,html[data-theme=dark] .project-production .production-accordion>.panel>.section-title h2{color:#edf3fb}
@media(max-width:1100px){.project-workspace{grid-template-columns:210px minmax(0,1fr);gap:18px}.detail-stats>div{min-width:120px;padding-right:20px;margin-right:20px}.detail-title h1{max-width:550px}}
@media(max-width:850px){.project-detail-hero{padding-inline:20px}.detail-title-row{align-items:flex-start}.detail-primary-actions{align-self:flex-end}.detail-save-button b{display:none}.detail-stats{overflow-x:auto}.detail-stats>div{flex:0 0 130px}.project-workspace{display:block;padding:20px 14px 60px}.project-step-sidebar{position:static;margin-bottom:15px}.project-step-sidebar nav{display:flex;overflow-x:auto}.project-step-sidebar nav a{flex:0 0 auto}.project-step-sidebar nav a>span small,.sidebar-progress,.step-sidebar-title small{display:none}.step-sidebar-title{padding-bottom:10px}.project-step-sidebar nav a{display:flex}.project-step-sidebar nav a>span strong{white-space:nowrap}}
@media(max-width:600px){.detail-title-row{display:block}.detail-project-icon{width:52px;height:52px}.detail-title h1{font-size:22px;white-space:normal}.detail-primary-actions{justify-content:flex-end;margin-top:17px}.detail-stats{margin-top:18px}.detail-stats>div{padding:14px 18px 14px 0;margin-right:18px}.project-quick-toolbar{align-items:flex-start;flex-direction:column}.quick-toolbar-actions{width:100%;flex-wrap:wrap}.quick-toolbar-actions button{flex:1}.project-production>.production-settings>.grid{grid-template-columns:1fr 1fr}.project-production .production-accordion>.panel{padding:16px}.project-production .production-accordion>.panel>.section-title{margin:-16px -16px 17px}.project-production .production-accordion>summary span{display:none}}

/* Device illustrations for content type selection */
.option-illustration svg{position:relative;z-index:1;width:31px;height:31px;fill:none;stroke:#c8c9ff;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 3px 7px rgba(9,10,31,.25))}.option-illustration .device-play{fill:#aaa8ff;stroke:none}.visual-option:has(input:checked) .option-illustration{background:linear-gradient(145deg,#30375f,#5e5da4);box-shadow:inset 0 0 0 1px #9694ff4f}.visual-option:has(input:checked) .option-illustration svg{stroke:#fff}.visual-option:has(input:checked) .option-illustration .device-play{fill:#fff}.option-illustration.landscape i,.option-illustration.portrait i{display:none}

/* Readability, darker navigation and refined device artwork */
.app-header{background:#080d1a;box-shadow:0 1px 0 rgba(255,255,255,.1),0 8px 28px rgba(3,6,14,.18)}html[data-theme=dark] .app-header{background:#060a14}.app-nav a{font-size:14px}.projects-kicker,.section-kicker{font-size:12px}.projects-dashboard-hero p,.accounts-hero p{font-size:16px}.creation-heading h2,.library-header h2,.account-section-heading h2,.accounts-list-heading h2{font-size:24px}.creation-intro,.account-create-card>p{font-size:14px}.creation-card label,.format-fieldset legend,.account-create-card label{font-size:13px}.project-name-field input,.account-input input{font-size:14px}.visual-option strong{font-size:13px}.visual-option small{font-size:11px}.form-note,.security-note small{font-size:11px}.create-project-button,.add-account-button{font-size:14px}.project-list-tabs a{font-size:12px}.project-type{font-size:10px}.project-card-content>strong{font-size:16px}.project-meta{font-size:11px}.project-progress small{font-size:10px}.project-cost small,.account-order small{font-size:9px}.project-cost strong{font-size:17px}.project-cost em{font-size:11px}.account-name-row>strong{font-size:15px}.account-name-row>span{font-size:9px}.account-info code{font-size:11px}.quota-status,.rotation-note{font-size:10px}.accounts-count{font-size:11px}.activate-account{font-size:11px}.detail-breadcrumb{font-size:12px}.detail-label-row{font-size:10px}.detail-badges>span{font-size:10px}.detail-stats small,.detail-final-link small{font-size:9px}.detail-stats strong{font-size:17px}.step-sidebar-title span{font-size:11px}.step-sidebar-title small{font-size:10px}.project-step-sidebar nav strong{font-size:12px}.project-step-sidebar nav small{font-size:9px}.sidebar-progress>div{font-size:10px}.sidebar-progress>small{font-size:9px}.quick-toolbar-label{font-size:10px}.project-quick-toolbar>div:first-child small{font-size:10px}.quick-toolbar-actions button{font-size:11px}.project-production .production-accordion>summary strong{font-size:14px}.project-production .production-accordion>summary span{font-size:10px}
.option-illustration{width:58px;height:48px;border:1px solid #4f568c;border-radius:10px;background:radial-gradient(circle at 50% 40%,#555da0,#252b4e 72%)}.visual-option{grid-template-columns:58px 1fr;min-height:68px;padding:9px 10px}.option-illustration svg{width:44px;height:36px;overflow:visible;stroke:#bec3ff;stroke-width:1.45;filter:drop-shadow(0 4px 8px rgba(4,6,22,.3))}.option-illustration .device-body{fill:#171c36;stroke:#bfc4ff}.option-illustration .device-screen{fill:#252d58;stroke:#6870b7;opacity:.9}.option-illustration .device-glow{fill:#7b75e8;stroke:none;opacity:.38}.option-illustration .device-play{fill:#fff;stroke:none}.option-illustration .reels-spark{fill:#d1ceff;stroke:none}.visual-option:has(input:checked) .option-illustration{border-color:#8d94ff;background:radial-gradient(circle at 50% 38%,#6e72ca,#303762 72%);box-shadow:0 7px 16px #41478b30,inset 0 0 0 1px #a2a6ff35}.visual-option:has(input:checked) .option-illustration .device-body{fill:#171d39;stroke:#fff}.visual-option:has(input:checked) .option-illustration .device-screen{stroke:#9fa5ff}
.scroll-to-top{position:fixed;z-index:220;right:24px;bottom:24px;display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid #ffffff2b;border-radius:14px;background:linear-gradient(145deg,#6874f3,#7459dc);box-shadow:0 12px 30px rgba(52,59,157,.38);color:#fff;opacity:0;visibility:hidden;transform:translateY(14px);transition:opacity .2s,transform .2s,visibility .2s}.scroll-to-top.visible{opacity:1;visibility:visible;transform:translateY(0)}.scroll-to-top:hover{transform:translateY(-3px);filter:brightness(1.08)}.scroll-to-top svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){.projects-dashboard-hero p,.accounts-hero p{font-size:14px}.creation-heading h2,.library-header h2,.account-section-heading h2,.accounts-list-heading h2{font-size:21px}.project-card-content>strong{font-size:14px}.project-meta{font-size:10px}.scroll-to-top{right:15px;bottom:17px;width:42px;height:42px;border-radius:12px}}

/* Darker, larger project detail header and workflow */
.container:has(.project-detail-page){background:#eef0f6}.project-detail-hero{position:relative;overflow:hidden;border-color:#303753;background:linear-gradient(118deg,#111728 0%,#1b2240 58%,#242049 100%);color:#f7f8ff}.project-detail-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:38px 38px;mask-image:linear-gradient(90deg,#000,transparent 82%)}.project-detail-hero>*{position:relative;z-index:1}.detail-breadcrumb{color:#a9b1c8;font-size:14px}.detail-breadcrumb a{color:#aeb4ff}.detail-title-row{margin-top:24px}.detail-label-row{color:#aab2c8;font-size:12px}.detail-label-row>span{color:#aeb4ff}.detail-title h1{margin:8px 0 10px;font-size:clamp(29px,3.2vw,40px);color:#fff}.detail-badges>span{padding:7px 10px;background:#ffffff12;color:#c7cde0;font-size:12px}.detail-badges .detail-status{background:#1e4b3a;color:#91e1b8}.detail-primary-actions #projectSaveStatus{max-width:230px;color:#8ee0b6;font-size:13px;text-align:right}.detail-primary-actions #projectSaveStatus a{color:#b9beff}.detail-save-button{padding:13px 15px 13px 18px;font-size:13px}.detail-save-button b{font-size:9px}.detail-stats{border-color:#ffffff17}.detail-stats>div{min-width:170px;padding-top:22px;padding-bottom:22px;border-color:#ffffff17}.detail-stats small,.detail-final-link small{color:#959fb9;font-size:11px}.detail-stats strong{margin-top:7px;color:#fff;font-size:20px}.detail-stats strong span{color:#aab2c7;font-size:13px}.detail-stats .spent-value{color:#aeb4ff}.detail-stats>div>i{height:4px;background:#ffffff17}.detail-final-link{padding:11px 15px;border-color:#ffffff1f;background:#ffffff0d;color:#fff}.detail-final-link:hover{background:#ffffff17}.detail-final-link>span{width:33px;height:33px}.detail-final-link strong{margin-top:2px;font-size:13px}.detail-cost-stat{min-width:230px;max-width:300px}.detail-cost-stat .detail-cost-note{margin-top:6px;color:#8991ad;font-size:10px;font-weight:600;letter-spacing:0;text-transform:none;line-height:1.4}.detail-cost-stat .billing-link{display:inline-block;margin-top:6px;color:#9fb2ff;font-size:10px;font-weight:800;text-decoration:none}.detail-cost-stat .billing-link:hover{color:#c2ccff}.project-workspace{padding-top:32px}.project-step-sidebar{border-color:#2c3551;background:linear-gradient(165deg,#171e33,#111827);box-shadow:0 16px 35px #18203824;color:#eef2fb}.step-sidebar-title{border-color:#ffffff14}.step-sidebar-title span{color:#9fa8ff;font-size:13px}.step-sidebar-title small{color:#9ca6ba;font-size:11px}.project-step-sidebar nav a{color:#c7cede}.project-step-sidebar nav a:hover,.project-step-sidebar nav a.active{color:#fff;background:#ffffff0c}.project-step-sidebar nav a>b{width:30px;height:30px;border-color:#3b4560;background:#222b43;color:#aeb7ca;font-size:12px}.project-step-sidebar nav a:hover>b,.project-step-sidebar nav a.active>b{border-color:#7782f4;background:#6874ed}.project-step-sidebar nav strong{font-size:14px}.project-step-sidebar nav small{margin-top:4px;color:#939db2;font-size:11px}.sidebar-progress{border-color:#ffffff14}.sidebar-progress>div{color:#a8b1c4;font-size:12px}.sidebar-progress strong{color:#aeb4ff}.sidebar-progress>small{color:#929db2;font-size:11px}.project-quick-toolbar{border-color:#d8dce8;background:#f8f9fc}.quick-toolbar-label{font-size:12px}.project-quick-toolbar>div:first-child small{font-size:12px}.quick-toolbar-actions button{font-size:13px}.project-production>.production-settings,.project-production .production-accordion>summary,.project-production .production-accordion>.panel{background:#f9fafe}.project-production .production-accordion>summary strong{font-size:16px}.project-production .production-accordion>summary span{font-size:12px}
html[data-theme=dark] .container:has(.project-detail-page){background:#0b111d}html[data-theme=dark] .project-detail-hero{background:linear-gradient(118deg,#0b1020,#161d37 58%,#211c42)}
@media(max-width:850px){.detail-stats>div{flex-basis:155px}.project-step-sidebar nav strong{font-size:13px}}
@media(max-width:600px){.detail-breadcrumb{font-size:12px}.detail-title h1{font-size:27px}.detail-label-row{font-size:10px}.detail-badges>span{font-size:10px}.detail-primary-actions{align-items:flex-end;flex-direction:column}.detail-primary-actions #projectSaveStatus{text-align:right}.detail-stats strong{font-size:17px}.detail-stats small{font-size:9px}}
