:root{--bg:#f4f7fb;--surface:#fff;--ink:#101828;--muted:#667085;--line:#dfe6f1;--blue:#1769e0;--blue2:#eaf3ff;--green:#087a55;--green2:#eaf8f2;--red:#b42318;--red2:#fff0ee;--dark:#122018;--shadow:0 14px 40px rgba(16,24,40,.07)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.topbar{height:72px;background:#14271a;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1120px)/2));position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;color:#fff;text-decoration:none;font-weight:800}.brand-original{background:rgba(255,255,255,.96);border-radius:10px;padding:6px 10px;line-height:0;box-shadow:0 1px 0 rgba(255,255,255,.12)}.brand img{display:block;width:132px;height:auto;object-fit:contain}.topbar nav{display:flex;gap:22px}.topbar nav a{color:#dce7df;text-decoration:none;font-size:14px}.topbar nav a:hover{color:#fff}main{max-width:1120px;margin:auto;padding:34px 22px 80px}.boot,.locked{padding:40px;background:#fff;border:1px solid var(--line);border-radius:18px}.hero,.project-top{display:flex;justify-content:space-between;gap:32px;align-items:flex-end;margin:8px 0 28px}.eyebrow{font-size:11px;letter-spacing:.13em;font-weight:900;color:var(--blue);text-transform:uppercase}.hero h1,.project-top h1{font-size:clamp(38px,5vw,68px);line-height:.96;letter-spacing:-.045em;margin:10px 0 14px}.hero p,.project-top p{max-width:680px;color:var(--muted);line-height:1.65;margin:0}.hero-rule{display:flex;flex-wrap:wrap;gap:8px 12px;justify-content:flex-end;font-size:12px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:13px 17px;box-shadow:var(--shadow);white-space:nowrap}.panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:24px;margin:0 0 20px;box-shadow:0 3px 18px rgba(16,24,40,.025)}.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}.section-head>div:first-child{display:flex;gap:12px}.section-head h2{margin:0 0 4px;font-size:22px;letter-spacing:-.02em}.section-head p{margin:0;color:var(--muted);font-size:14px}.section-head.compact{margin-top:2px}.step{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:var(--blue2);color:var(--blue);font-weight:900;font-size:11px;flex:0 0 auto}.create-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:22px}.dropzone{min-height:280px;border:1.5px dashed #9bbce8;border-radius:17px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;background:#f8fbff;cursor:pointer;transition:.18s}.dropzone:hover,.dropzone.dragging{background:#eef6ff;border-color:var(--blue);transform:translateY(-1px)}.drop-icon{font-size:30px;color:var(--blue)}.dropzone strong{font-size:17px}.dropzone span:last-child{font-size:12px;color:var(--muted)}.brief-card{border:1px solid var(--line);border-radius:16px;padding:18px;background:#fbfcfe}label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:800;margin-bottom:14px}.optional{font-weight:500;color:#98a2b3;margin-left:4px}input,textarea,select{width:100%;border:1px solid #cfd8e6;background:#fff;border-radius:10px;padding:12px 13px;color:var(--ink);font:inherit;font-size:14px;outline:none}input:focus,textarea:focus,select:focus{border-color:#68a2ee;box-shadow:0 0 0 3px #eaf3ff}textarea{resize:vertical}.thumb-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.thumb{position:relative;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#eef2f7;aspect-ratio:1}.thumb img{width:100%;height:100%;object-fit:cover;display:block}.thumb button{position:absolute;right:6px;top:6px;width:26px;height:26px;border:none;border-radius:50%;background:rgba(16,24,40,.78);color:white;cursor:pointer}.thumb small{position:absolute;left:7px;right:7px;bottom:6px;padding:5px 7px;border-radius:7px;background:rgba(16,24,40,.72);color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.divider{height:1px;background:var(--line);margin:25px 0}.settings-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.choice-block{margin:12px 0 20px}.choice-label{display:block;font-size:12px;font-weight:900;margin-bottom:9px}.choice-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.duration-row{grid-template-columns:repeat(5,1fr)}button,.ghost,.primary{font:inherit}.choice{padding:13px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;text-align:left;cursor:pointer}.choice strong,.choice small{display:block}.choice small{color:var(--muted);margin-top:3px;font-size:11px}.choice.active{border-color:#6aa6f2;background:#eef6ff;box-shadow:inset 0 0 0 1px #9ec4f4}.planner-note{display:flex;gap:10px;align-items:center;padding:14px;border-radius:12px;background:#f6f8fb;border:1px solid var(--line);font-size:13px;margin-bottom:16px}.planner-note span{color:var(--muted)}.primary,.ghost{border-radius:11px;padding:11px 15px;font-weight:850;cursor:pointer}.primary{border:1px solid var(--blue);background:var(--blue);color:#fff}.primary:hover:not(:disabled){filter:brightness(.96)}.primary:disabled{opacity:.45;cursor:not-allowed}.primary.big{width:100%;padding:15px;font-size:15px}.ghost{border:1px solid var(--line);background:#fff;color:#344054;text-decoration:none}.progress-shell{padding:14px 0}.progress-copy{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:7px}.progress{height:8px;background:#edf1f7;border-radius:99px;overflow:hidden}.progress span{display:block;height:100%;background:var(--blue);width:4%;transition:.25s}.error,.notice{padding:13px 15px;border-radius:12px;margin-bottom:16px;font-size:13px}.error{background:var(--red2);border:1px solid #fecac5;color:var(--red)}.notice{background:var(--blue2);border:1px solid #c9def8;color:#174d91}.muted{color:var(--muted);font-size:13px}.project-top{align-items:center}.project-top h1{font-size:42px}.top-actions{display:flex;gap:9px}.status-card{padding:13px 16px;background:var(--green2);border:1px solid #bfe9d9;color:var(--green);border-radius:12px;margin-bottom:18px;font-size:13px}.understanding-grid,.concept-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.kv{border:1px solid var(--line);border-radius:12px;padding:13px;background:#fbfcfe}.kv span{display:block;font-size:10px;font-weight:900;color:#667085;text-transform:uppercase;letter-spacing:.07em;margin-bottom:5px}.kv strong,.kv p{font-size:14px;line-height:1.5;margin:0}.kv.wide{grid-column:1/-1}.chip-wrap{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.chip{font-size:11px;padding:7px 9px;border-radius:999px;background:#f2f4f7;border:1px solid #e4e7ec}.chip.lock{background:#eef6ff;border-color:#c6ddfa;color:#174d91}.reference-gallery{display:flex;gap:10px;overflow:auto;margin-top:16px}.reference{min-width:120px;width:120px}.reference img{width:120px;height:120px;object-fit:cover;border-radius:12px;border:1px solid var(--line);display:block}.reference small{display:block;margin-top:6px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.off-badge{background:#f2f4f7;border:1px solid #d0d5dd;color:#475467;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:900}.full-script{margin-top:15px;padding:16px;border-radius:13px;background:#14271a;color:#eff7f1}.full-script span{font-size:10px;letter-spacing:.09em;font-weight:900;color:#a9cbb3}.full-script p{font-size:16px;line-height:1.6;margin:7px 0 0}.storyboard{display:grid;gap:13px}.scene-card{display:grid;grid-template-columns:90px 1fr;gap:16px;border:1px solid var(--line);border-radius:16px;padding:15px}.scene-time{background:#f3f7fc;border-radius:12px;padding:12px;text-align:center;height:max-content}.scene-time strong{font-size:22px;display:block}.scene-time span{font-size:10px;color:var(--muted)}.scene-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.scene-head h3{margin:0;font-size:17px}.badge{font-size:10px;font-weight:900;border-radius:999px;padding:6px 8px;background:var(--blue2);color:#1757a6}.badge.original{background:var(--green2);color:var(--green)}.scene-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.scene-box{padding:11px;background:#fbfcfe;border:1px solid #edf0f5;border-radius:10px}.scene-box span{font-size:9px;color:#667085;font-weight:900;letter-spacing:.06em}.scene-box p{margin:5px 0 0;font-size:13px;line-height:1.5}.scene-box.voice{grid-column:1/-1;background:#fffaf0;border-color:#f3e2b8}.scene-refs{display:flex;gap:7px;margin-top:9px}.scene-refs img{width:54px;height:54px;border-radius:9px;object-fit:cover;border:1px solid var(--line)}details.prompt{margin-top:9px}details.prompt summary{cursor:pointer;font-size:11px;color:#475467}details.prompt p{font-size:11px;color:#667085;line-height:1.5}.next-phase{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(135deg,#f8fbff,#fff)}.history{margin-top:28px}.project-row{display:grid;grid-template-columns:1fr auto;gap:12px;text-decoration:none;color:var(--ink);padding:14px 2px;border-top:1px solid #edf0f5}.project-row:first-child{border-top:0}.project-row strong{display:block}.project-row small{color:var(--muted);display:block;margin-top:3px}.project-row .meta{text-align:right;color:var(--muted);font-size:12px}footer{text-align:center;color:#7a8596;padding:0 20px 35px;font-size:12px}@media(max-width:800px){.topbar{padding:0 16px}.brand img{width:116px}.brand-original{padding:6px 8px}.topbar nav a:nth-child(2){display:none}main{padding:24px 14px 60px}.hero,.project-top{display:block}.hero-rule{margin-top:18px;justify-content:flex-start;width:max-content;max-width:100%}.create-grid,.settings-grid,.understanding-grid,.concept-grid{grid-template-columns:1fr}.choice-row,.duration-row{grid-template-columns:repeat(2,1fr)}.duration-row .choice:last-child{grid-column:1/-1}.thumb-grid{grid-template-columns:repeat(2,1fr)}.project-top .top-actions{margin-top:16px;flex-wrap:wrap}.scene-card{grid-template-columns:1fr}.scene-time{text-align:left}.scene-time strong{display:inline;margin-right:6px}.scene-grid{grid-template-columns:1fr}.scene-box.voice{grid-column:auto}.next-phase{display:block}.next-phase button{margin-top:14px;width:100%}}
.legacy-projects{border-top:1px solid #edf0f5;margin-top:14px;padding-top:12px}.legacy-projects summary{cursor:pointer;color:#667085;font-size:12px;font-weight:800}.legacy-projects[open] summary{margin-bottom:8px}

/* 1.12B — Identity-Preserving Multi-Scene Image Generation */
.scene-image-shell{margin-top:14px;border:1px solid #dbe5f2;background:linear-gradient(135deg,#f8fbff,#fff);border-radius:14px;padding:13px}.scene-image-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.scene-image-top>div{display:flex;flex-direction:column;gap:2px}.scene-image-kicker{font-size:9px;letter-spacing:.08em;font-weight:900;color:var(--blue)}.scene-image-top strong{font-size:13px}.image-status{font-size:9px;font-weight:900;border-radius:999px;padding:6px 8px;border:1px solid #d0d5dd;background:#f2f4f7;color:#475467}.image-status.ready{background:var(--green2);border-color:#bfe9d9;color:var(--green)}.image-status.generating{background:#fff7e8;border-color:#f5d99b;color:#955b00}.image-status.failed{background:var(--red2);border-color:#fecac5;color:var(--red)}.scene-image-preview{display:grid;grid-template-columns:minmax(0,220px) 1fr;gap:12px;align-items:end}.scene-image-preview img{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:12px;border:1px solid var(--line);background:#edf2f7}.scene-image-preview a{font-size:12px;color:#1757a6;text-decoration:none;font-weight:800;margin-bottom:4px}.scene-image-placeholder{min-height:120px;border:1px dashed #bbcae0;border-radius:12px;display:grid;place-items:center;text-align:center;padding:18px;color:var(--muted);font-size:12px;background:#fbfdff}.scene-image-error{margin-top:9px;border-radius:10px;padding:9px 10px;background:var(--red2);border:1px solid #fecac5;color:var(--red);font-size:11px;line-height:1.45}.scene-image-actions{display:flex;align-items:center;gap:10px;margin-top:10px}.scene-image-actions small{color:var(--muted);font-size:10px}.scene-generate{padding:8px 11px;font-size:11px}.image-generation-panel{display:grid;grid-template-columns:1fr minmax(280px,.55fr);gap:24px;align-items:center;background:linear-gradient(135deg,#f8fbff,#fff)}.image-generation-copy h2{margin:7px 0 8px;font-size:24px}.image-generation-copy p{color:var(--muted);line-height:1.55;margin:0 0 11px}.image-generation-copy>strong{display:block;font-size:12px;color:#344054}.image-generation-actions .primary{width:100%;padding:14px}.compact-progress{padding:12px 0 0}.next-phase-ready{grid-column:1/-1;display:flex;gap:10px;align-items:center;padding:12px 14px;border-radius:12px;background:var(--green2);border:1px solid #bfe9d9;color:#145f46}.next-phase-ready strong{font-size:12px}.next-phase-ready small{margin-left:auto;color:#477665;font-size:10px}@media(max-width:800px){.image-generation-panel{grid-template-columns:1fr}.scene-image-preview{grid-template-columns:1fr}.scene-image-preview img{max-width:240px}.next-phase-ready{display:block}.next-phase-ready>*{display:block;margin:3px 0}.next-phase-ready small{margin-left:0}.scene-image-actions{align-items:flex-start;flex-direction:column}}

/* Revaly Content 1.12C — scene-to-motion */
.scene-motion-shell{margin-top:12px;border:1px solid #d9e7dc;background:linear-gradient(135deg,#f7fcf8,#fff);border-radius:14px;padding:13px}.scene-motion-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.scene-motion-top>div{display:flex;flex-direction:column;gap:2px}.scene-motion-kicker{font-size:9px;letter-spacing:.08em;font-weight:900;color:var(--green)}.scene-motion-top strong{font-size:13px}.motion-status{font-size:9px;font-weight:900;border-radius:999px;padding:6px 8px;border:1px solid #d0d5dd;background:#f2f4f7;color:#475467}.motion-status.ready{background:var(--green2);border-color:#bfe9d9;color:var(--green)}.motion-status.generating{background:#fff7e8;border-color:#f5d99b;color:#955b00}.motion-status.failed{background:var(--red2);border-color:#fecac5;color:var(--red)}.motion-status.unknown{background:#fff4e5;border-color:#fed7aa;color:#9a3412}.scene-motion-preview{display:grid;grid-template-columns:minmax(0,220px) 1fr;gap:12px;align-items:end}.scene-motion-preview video{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:12px;border:1px solid var(--line);background:#0b1710}.scene-motion-preview>div{display:flex;flex-direction:column;gap:4px;padding-bottom:4px}.scene-motion-preview strong{font-size:12px}.scene-motion-preview small{font-size:10px;color:var(--muted)}.scene-motion-placeholder{min-height:92px;border:1px dashed #b9d4c0;border-radius:12px;display:grid;place-items:center;text-align:center;padding:16px;color:var(--muted);font-size:12px;background:#fbfefb}.scene-motion-error{margin-top:9px;border-radius:10px;padding:9px 10px;background:var(--red2);border:1px solid #fecac5;color:var(--red);font-size:11px;line-height:1.45}.scene-motion-actions{display:flex;align-items:center;gap:10px;margin-top:10px}.scene-motion-actions small{color:var(--muted);font-size:10px}.motion-generate{padding:8px 11px;font-size:11px}.motion-generation-panel{display:grid;grid-template-columns:1fr minmax(280px,.55fr);gap:24px;align-items:center;background:linear-gradient(135deg,#f7fcf8,#fff)}.motion-generation-copy h2{margin:7px 0 8px;font-size:24px}.motion-generation-copy p{color:var(--muted);line-height:1.55;margin:0 0 11px}.motion-generation-copy>strong{display:block;font-size:12px;color:#344054}.motion-generation-actions .primary{width:100%;padding:14px}@media(max-width:800px){.motion-generation-panel{grid-template-columns:1fr}.scene-motion-preview{grid-template-columns:1fr}.scene-motion-preview video{max-width:240px}.scene-motion-actions{align-items:flex-start;flex-direction:column}}

/* Revaly Content 1.12D — market-adaptive voiceover + final assembly */
.scene-voice-shell{margin-top:12px;border:1px solid #eadfca;background:linear-gradient(135deg,#fffaf1,#fff);border-radius:14px;padding:13px}.scene-voice-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.scene-voice-top>div{display:flex;flex-direction:column;gap:2px}.scene-voice-kicker{font-size:9px;letter-spacing:.08em;font-weight:900;color:#9a5a00}.scene-voice-top strong{font-size:13px}.voice-status{font-size:9px;font-weight:900;border-radius:999px;padding:6px 8px;border:1px solid #d0d5dd;background:#f2f4f7;color:#475467}.voice-status.ready{background:var(--green2);border-color:#bfe9d9;color:var(--green)}.voice-status.generating{background:#fff7e8;border-color:#f5d99b;color:#955b00}.voice-status.failed{background:var(--red2);border-color:#fecac5;color:var(--red)}.scene-voice-preview{display:grid;grid-template-columns:minmax(0,320px) 1fr;gap:12px;align-items:center}.scene-voice-preview audio{width:100%}.scene-voice-preview>div{display:flex;flex-direction:column;gap:4px}.scene-voice-preview strong{font-size:12px}.scene-voice-preview small{font-size:10px;color:var(--muted)}.scene-voice-placeholder{min-height:72px;border:1px dashed #e6cfaa;border-radius:12px;display:grid;place-items:center;text-align:center;padding:14px;color:var(--muted);font-size:12px;background:#fffdf8}.scene-voice-error,.final-render-error{margin-top:9px;border-radius:10px;padding:9px 10px;background:var(--red2);border:1px solid #fecac5;color:var(--red);font-size:11px;line-height:1.45}.scene-voice-actions{display:flex;align-items:center;gap:10px;margin-top:10px}.scene-voice-actions small{color:var(--muted);font-size:10px}.voice-generate{padding:8px 11px;font-size:11px}.voice-final-panel{background:linear-gradient(135deg,#fffdf8,#f8fbff)}.voice-final-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.voice-generation-block,.final-render-block{border:1px solid var(--line);border-radius:14px;padding:18px;background:#fff}.voice-generation-block h2,.final-render-block h2{font-size:22px;margin:7px 0 8px}.voice-generation-block p,.final-render-block p{color:var(--muted);line-height:1.55;margin:0 0 12px}.voice-generation-block>strong{display:block;font-size:12px;color:#344054;margin-bottom:12px}.voice-generation-block .primary,.final-render-block .primary{width:100%;padding:13px}.final-render-result{margin-top:16px}.final-placeholder{min-height:90px;border:1px dashed #c8d4e3;border-radius:13px;display:grid;place-items:center;text-align:center;padding:18px;color:var(--muted);font-size:12px;background:#fbfcfe}.final-preview{display:grid;grid-template-columns:minmax(0,280px) 1fr;gap:18px;align-items:end;border:1px solid #cde7d5;border-radius:15px;padding:14px;background:var(--green2)}.final-preview video{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:12px;background:#000}.final-preview>div{display:flex;flex-direction:column;gap:6px;padding-bottom:4px}.final-preview strong{font-size:16px;color:#174f3c}.final-preview small{font-size:11px;color:#477665}.final-preview a{font-size:12px;font-weight:800;color:#1757a6;text-decoration:none}@media(max-width:800px){.voice-final-grid{grid-template-columns:1fr}.scene-voice-preview,.final-preview{grid-template-columns:1fr}.final-preview video{max-width:280px}.scene-voice-actions{align-items:flex-start;flex-direction:column}}

/* Revaly Content 1.12D1 — Natural Voice Director + continuous narration */
.natural-narration-result{margin-top:14px}.natural-narration-placeholder{min-height:72px;border:1px dashed #e6cfaa;border-radius:12px;display:grid;place-items:center;text-align:center;padding:14px;color:var(--muted);font-size:12px;background:#fffdf8}.natural-narration-ready{border:1px solid #d7e7dc;background:#f8fcf9;border-radius:13px;padding:13px}.natural-narration-ready audio{width:100%;margin:8px 0 10px}.natural-narration-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:9px}.natural-narration-meta span{font-size:10px;font-weight:800;border:1px solid #d0e5d8;background:#eef9f2;color:#176346;border-radius:999px;padding:5px 8px}.natural-narration-script{margin:0;padding:11px 12px;background:#fff;border:1px solid var(--line);border-radius:10px;color:#344054;font-size:12px;line-height:1.6}.natural-narration-error{border-radius:10px;padding:9px 10px;background:var(--red2);border:1px solid #fecac5;color:var(--red);font-size:11px;line-height:1.45}.voice-generation-block{min-width:0}

/* Revaly Content 1.12E1 — Adaptive Background Music & Natural Audio Mix */
.music-mode-control{display:grid;grid-template-columns:auto 1fr 1fr;align-items:stretch;gap:8px;margin:13px 0 9px}.music-mode-label{align-self:center;font-size:10px;font-weight:900;letter-spacing:.08em;color:#475467;text-transform:uppercase;padding-right:4px}.music-mode-option{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:11px;padding:10px 11px;background:#fbfcfe;cursor:pointer}.music-mode-option:has(input:checked){border-color:#9fc5ed;background:#f2f8ff}.music-mode-option input{margin:0}.music-mode-option span{display:flex;flex-direction:column;gap:2px}.music-mode-option strong{font-size:11px}.music-mode-option small{font-size:9px;color:var(--muted);line-height:1.35}.music-direction-summary{font-size:10px;color:#536273;line-height:1.5;border:1px solid #e5eaf0;background:#f8fafc;border-radius:9px;padding:8px 10px;margin:0 0 11px}.music-direction-summary.ready{border-color:#cce6d5;background:#f3fbf6;color:#2f6650}.music-direction-summary.off{background:#f8f8f8;color:#667085}.final-preview .mix-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:3px}.final-preview .mix-chips span{font-size:9px;font-weight:800;border:1px solid #cfe1d5;background:#fff;border-radius:999px;padding:4px 7px;color:#315d4c}.previous-final{background:#f7f9fc;border-color:#d8e0ea}.previous-final strong{color:#344054}@media(max-width:800px){.music-mode-control{grid-template-columns:1fr}.music-mode-label{padding:0 0 2px}.music-mode-option{width:100%}}

/* Revaly Content 1.13A — Clean Workspace & Guided Production Navigation */
.topbar nav{align-items:center}.topbar nav a{padding:8px 0;position:relative}.topbar nav a[href="./index.html"],.topbar nav a[href="#history"]{font-weight:750}
.project-status-clean{font-weight:750;font-size:14px;padding:14px 16px;box-shadow:none}
.workspace-stepper{position:sticky;top:84px;z-index:12;display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:0 0 18px;padding:8px;background:rgba(244,247,251,.94);backdrop-filter:blur(14px);border:1px solid rgba(223,230,241,.9);border-radius:16px}
.workspace-stepper button{min-width:0;border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px 8px;display:flex;align-items:center;justify-content:center;gap:7px;color:#667085;cursor:pointer;font-size:11px}.workspace-stepper button span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f2f4f7;color:#667085;font-size:9px;font-weight:900}.workspace-stepper button strong{font-size:11px}.workspace-stepper button.done{border-color:#cce7d6;background:#f5fbf7;color:#176346}.workspace-stepper button.done span{background:#dff4e7;color:#176346}.workspace-stepper button.active{border-color:#8fb9ef;background:#eef6ff;color:#1757a6;box-shadow:inset 0 0 0 1px #c6ddfa}.workspace-stepper button.active span{background:#1769e0;color:#fff}.workspace-stepper button:disabled{opacity:.45;cursor:not-allowed}
.workspace-detail{padding:0;overflow:hidden}.workspace-detail>summary{list-style:none;cursor:pointer;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px}.workspace-detail>summary::-webkit-details-marker{display:none}.workspace-detail>summary>div{display:flex;align-items:center;gap:12px}.workspace-detail>summary strong{display:block;font-size:16px;color:var(--ink)}.workspace-detail>summary small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.workspace-summary-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#eef6ff;color:#1769e0;font-size:10px;font-weight:900}.workspace-summary-action{font-size:11px;font-weight:800;color:#667085}.workspace-detail[open] .workspace-summary-action{font-size:0}.workspace-detail[open] .workspace-summary-action:after{content:'Tutup';font-size:11px}.workspace-detail-body{padding:0 22px 22px;border-top:1px solid #edf0f5;padding-top:18px}.workspace-stage{scroll-margin-top:160px}.workspace-stage-card,.final-workspace-card,.workspace-detail{scroll-margin-top:160px}
.motion-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px}.motion-gallery-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:14px}.motion-gallery-title{display:flex;align-items:center;gap:7px;margin-bottom:8px}.motion-gallery-title span{font-size:10px;font-weight:900;color:#1769e0;background:#eef6ff;border-radius:999px;padding:5px 7px}.motion-gallery-title strong{font-size:13px}.motion-gallery-card .scene-motion-shell{margin-top:0;border:0;padding:0;background:transparent}.motion-gallery-card .scene-motion-top>div>strong{display:none}.motion-gallery-card .scene-motion-kicker{display:none}
#voiceFinalPanel{display:grid;gap:20px}.workspace-stage-card,.final-workspace-card{margin-bottom:0}.voice-generation-block,.final-render-block{padding:24px}.voice-generation-block>span.eyebrow,.final-render-block .eyebrow{letter-spacing:.12em}.voice-generation-block h2,.final-render-block h2{font-size:26px;letter-spacing:-.025em}.voice-generation-block .primary,.final-render-block .primary{max-width:420px}.final-workspace-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.final-ready-badge{background:#eaf8f2;color:#087a55;border:1px solid #bfe9d9;border-radius:999px;padding:7px 10px;font-size:9px;font-weight:900;letter-spacing:.05em;white-space:nowrap}
.final-render-result{margin-top:20px}.final-preview{grid-template-columns:minmax(0,360px) 1fr;padding:18px;gap:24px}.final-preview video{max-height:620px}.final-preview>div strong{font-size:20px}.final-preview>div small{font-size:12px;line-height:1.55}.final-preview a{display:inline-flex;width:max-content;margin-top:6px;padding:9px 12px;border:1px solid #bfd8c8;border-radius:9px;background:#fff;color:#174f3c}.mix-chips{margin:4px 0}
.project-list-clean{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.project-card-clean{border:1px solid var(--line)!important;border-radius:14px;padding:16px!important;background:#fff;align-items:center;transition:.15s}.project-card-clean:hover{border-color:#a9c7ed!important;transform:translateY(-1px);box-shadow:0 8px 24px rgba(16,24,40,.05)}.project-card-main small{margin-top:4px}.project-card-side{display:flex;flex-direction:column;align-items:flex-end;gap:9px}.project-state{font-size:9px;font-weight:900;border-radius:999px;padding:6px 8px;border:1px solid #d0d5dd;background:#f2f4f7;color:#475467}.project-state.ready{background:#eaf8f2;border-color:#bfe9d9;color:#087a55}.project-state.progress{background:#eef6ff;border-color:#c6ddfa;color:#1757a6}.project-state.working{background:#fff7e8;border-color:#f5d99b;color:#955b00}.project-state.error{background:#fff0ee;border-color:#fecac5;color:#b42318}.project-open{font-size:11px;font-weight:800;color:#1757a6}.empty-projects{padding:26px;text-align:center;border:1px dashed var(--line);border-radius:13px;color:var(--muted)}.empty-projects strong,.empty-projects span{display:block}.empty-projects strong{color:var(--ink);margin-bottom:4px}
.scene-image-kicker,.scene-motion-kicker{letter-spacing:.06em}.scene-card details.prompt{opacity:.78}.history{scroll-margin-top:100px}
@media(max-width:800px){.topbar{height:64px}.topbar nav{gap:14px}.topbar nav a{font-size:12px}.topbar nav a:nth-child(2){display:inline}.topbar nav a:nth-child(3){display:none}.workspace-stepper{top:72px;grid-template-columns:repeat(3,1fr);gap:6px}.workspace-stepper button{padding:8px 5px}.workspace-stepper button strong{font-size:10px}.project-list-clean,.motion-gallery{grid-template-columns:1fr}.workspace-detail>summary{padding:16px}.workspace-detail-body{padding:16px}.final-workspace-head{display:block}.final-ready-badge{display:inline-flex;margin-top:10px}.final-preview{grid-template-columns:1fr}.final-preview video{max-width:320px}.voice-generation-block .primary,.final-render-block .primary{max-width:none}}
[hidden]{display:none!important}

/* Revaly Content 1.13B — Final Creative QA, Selective Repair & Launch Guard */
.final-ready-badge.review{background:#fff7e8;color:#955b00;border-color:#f5d99b}
.launch-guard-panel{margin-top:20px;border-top:1px solid #e7ebf1;padding-top:20px}
.launch-guard-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}
.launch-guard-head h3{font-size:20px;line-height:1.2;margin:4px 0 6px;color:var(--ink);letter-spacing:-.02em}
.launch-guard-head p{margin:0;color:var(--muted);font-size:12px;line-height:1.6;max-width:720px}
.launch-guard-badge{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:999px;padding:7px 10px;font-size:9px;font-weight:900;letter-spacing:.06em;border:1px solid #d0d5dd;background:#f2f4f7;color:#475467}
.launch-guard-badge.ready{background:#eaf8f2;border-color:#bfe9d9;color:#087a55}
.launch-guard-badge.review{background:#fff7e8;border-color:#f5d99b;color:#955b00}
.launch-guard-badge.failed{background:#fff0ee;border-color:#fecac5;color:#b42318}
.launch-guard-badge.generating{background:#eef6ff;border-color:#c6ddfa;color:#1757a6}
.launch-guard-badge.stale{background:#f7f7f8;border-color:#d9dde5;color:#667085}
.launch-guard-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 15px;border:1px solid #dfe6ef;border-radius:13px;background:#fbfcfe}
.launch-guard-actions>div{display:flex;flex-direction:column;gap:4px}.launch-guard-actions strong{font-size:12px;color:#344054}.launch-guard-actions small{font-size:10px;color:var(--muted);line-height:1.45}.launch-guard-actions .primary{width:auto;min-width:210px;padding:11px 14px}
.final-qa-result{margin-top:14px}.qa-empty{border:1px dashed #cbd5e1;border-radius:12px;padding:16px;background:#fff;color:#667085;font-size:11px;line-height:1.55}.qa-error{border:1px solid #fecac5;border-radius:12px;padding:13px;background:#fff0ee;color:#b42318;font-size:11px;line-height:1.5}
.qa-pass-card{display:flex;flex-direction:column;gap:5px;border:1px solid #bfe9d9;background:#f3fbf6;border-radius:13px;padding:15px}.qa-pass-card strong{font-size:15px;color:#087a55}.qa-pass-card span{font-size:11px;color:#356b58;line-height:1.55}
.qa-score-row{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center;border:1px solid #e3e8ef;background:#fff;border-radius:13px;padding:13px 15px;margin-bottom:10px}.qa-score-row>div{display:flex;align-items:baseline;gap:2px;min-width:94px}.qa-score-row>div span{font-size:8px;font-weight:900;letter-spacing:.08em;color:#667085;margin-right:6px}.qa-score-row strong{font-size:28px;line-height:1;color:var(--ink)}.qa-score-row small{font-size:10px;color:#98a2b3}.qa-score-row p{margin:0;color:#475467;font-size:11px;line-height:1.55}
.qa-issues{display:grid;gap:9px}.qa-issue{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #e3e8ef;border-radius:12px;padding:12px;background:#fff}.qa-issue.blocker{border-color:#fecac5;background:#fff9f8}.qa-issue.warning{border-color:#f3d9a3;background:#fffdf8}.qa-issue-icon{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;font-size:12px;font-weight:900;background:#f2f4f7;color:#475467}.qa-issue.blocker .qa-issue-icon{background:#fee4e2;color:#b42318}.qa-issue.warning .qa-issue-icon{background:#fff0c2;color:#8a5a00}.qa-issue>div{min-width:0;display:flex;flex-direction:column;gap:3px}.qa-issue small{font-size:8px;font-weight:900;letter-spacing:.05em;color:#667085}.qa-issue strong{font-size:12px;color:#1d2939}.qa-issue p{font-size:10px;line-height:1.5;color:#667085;margin:0}.qa-issue em{font-style:normal;font-size:10px;line-height:1.45;color:#475467;background:#f7f8fa;border-radius:7px;padding:6px 8px;margin-top:2px}.qa-issue button{white-space:nowrap;font-size:10px;padding:8px 10px}
.project-state.warning{background:#fff7e8;border-color:#f5d99b;color:#955b00}
@media(max-width:800px){.launch-guard-head,.launch-guard-actions{flex-direction:column}.launch-guard-actions{align-items:stretch}.launch-guard-actions .primary{width:100%;min-width:0}.qa-score-row{grid-template-columns:1fr}.qa-issue{grid-template-columns:26px 1fr}.qa-issue button{grid-column:1/-1;width:100%}}

/* 1.13C — Dedicated Create Workspace & Project Library */
.main-nav a.active{color:#fff;font-weight:850}.main-nav a.active::after{content:"";position:absolute;left:0;right:0;bottom:1px;height:2px;border-radius:99px;background:#fff}.project-library{margin-top:6px;padding:26px}.project-library-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}.project-library-head h1{margin:7px 0 6px;font-size:38px;letter-spacing:-.035em}.project-library-head p{margin:0;color:var(--muted);max-width:650px}.project-library-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.library-create{text-decoration:none;display:inline-flex;align-items:center}.project-filter-row{display:flex;gap:8px;flex-wrap:wrap;padding:12px;border:1px solid var(--line);border-radius:14px;background:#f8fafc;margin-bottom:18px}.project-filter{border:1px solid transparent;background:transparent;border-radius:999px;padding:9px 12px;font-size:12px;font-weight:800;color:#667085;cursor:pointer}.project-filter span{display:inline-grid;place-items:center;min-width:21px;height:21px;margin-left:5px;padding:0 6px;border-radius:999px;background:#fff;border:1px solid #e4e7ec;font-size:10px}.project-filter:hover{background:#fff}.project-filter.active{background:#fff;border-color:#b9d1ee;color:#1757a6;box-shadow:0 3px 10px rgba(16,24,40,.04)}.project-state.draft{background:#f2f4f7;border-color:#e4e7ec;color:#667085}.project-library .project-list-clean{grid-template-columns:repeat(2,minmax(0,1fr))}.project-library .empty-projects{grid-column:1/-1}.project-library .project-card-clean{min-height:118px}.project-library .project-card-main strong{font-size:16px}.project-library .project-card-main small:last-child{margin-top:9px;font-size:11px}.project-library .project-card-side{min-width:110px}
@media(max-width:800px){.project-library{padding:18px}.project-library-head{display:block}.project-library-head h1{font-size:32px}.project-library-actions{margin-top:16px}.project-library-actions .library-create,.project-library-actions .ghost{flex:1;justify-content:center}.project-filter-row{overflow:auto;flex-wrap:nowrap}.project-filter{white-space:nowrap}.project-library .project-list-clean{grid-template-columns:1fr}}

/* 1.14B | project slot and safe delete controls */
.project-slot-notice{padding:12px 15px;margin:12px 0 18px;background:#edf4ff;border:1px solid #cbddfa;color:#17458a;border-radius:12px;font-size:13px;font-weight:700}
.project-slot-notice.is-full{border-color:#f3d5a7;background:#fff8eb;color:#835211}
.project-card-wrapper{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden;display:flex;flex-direction:column}
.project-card-wrapper .project-card-clean{border:0!important;border-radius:0!important;flex:1;min-height:105px}
.project-card-wrapper .project-card-clean:hover{transform:none;box-shadow:none}
.project-card-controls{border-top:1px solid #eef2f7;padding:6px 12px;display:flex;align-items:center;justify-content:flex-end}
.project-delete-btn{font:inherit;font-size:12px;font-weight:750;color:#aa2631;background:transparent;border:0;padding:8px 10px;cursor:pointer;border-radius:8px}
.project-delete-btn:hover{background:#fff0f0}
.project-delete-btn:disabled{opacity:.5;cursor:not-allowed}
