:root{--paper:#f6f5f1;--white:#fff;--ink:#20221f;--muted:#777a73;--line:#dedfd7;--orange:#ed6336;--orange-light:#fbe9df;--green:#47644c;--green-light:#e9efe5;--radius:14px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit}button{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #ed633680;outline-offset:3px}[hidden]{display:none!important}.wordmark{font-size:36px;font-weight:750;letter-spacing:-2px;text-decoration:none;line-height:1}.wordmark span{font-size:1rem;vertical-align:top;margin-left:4px;letter-spacing:0}.eyebrow{font-size:.8125rem;font-weight:700;letter-spacing:2px;line-height:1.6}.muted{color:var(--muted)}.fine{font-size:.9375rem;color:var(--muted);line-height:1.7}.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;border:1px solid var(--line);padding:13px 19px;background:transparent;border-radius:8px;font-size:1rem;font-weight:600;text-decoration:none;transition:background .2s,transform .2s}.button:hover{background:#ebece5}.button.primary{background:var(--ink);color:white;border-color:var(--ink)}.button.primary:hover{background:#3b4038}.button.orange{background:var(--orange);color:white;border-color:var(--orange)}.button.orange:hover{background:#d9552c}.button.small{padding:9px 13px;font-size:.9375rem}.button.danger{color:#a24034}.button.ghost{border:0;background:transparent}.button span{font-size:17px}.error{color:#a33827;font-size:1rem;line-height:1.6}.login-layout{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh}.login-art{background:#e8e9d9;padding:48px 60px;position:relative;overflow:hidden}.login-copy{position:relative;z-index:1;margin-top:130px}.login-copy h1{font-size:clamp(50px,5vw,84px);line-height:1.06;font-weight:450;letter-spacing:-4px;margin:25px 0}.login-copy h1 em{font-family:Georgia,serif;font-weight:400}.login-copy>p:last-child{font-size:1rem;color:#606451}.login-foot{position:absolute;bottom:40px;font-size:.8125rem;letter-spacing:2px}.orbit{position:absolute;border:1px solid #b5b99c;border-radius:50%;width:570px;height:570px;right:-230px;top:150px}.orbit-two{width:420px;height:420px;right:-156px;top:225px;background:radial-gradient(circle at 35% 38%,#ed633680,#dd765e20 65%)}.login-form{display:flex;align-items:center;justify-content:center;padding:50px}.login-form>div{width:380px}.login-form h2{font-size:31px;font-weight:500;letter-spacing:-1.3px}.login-form .button{width:100%;justify-content:space-between;margin-top:12px}.login-form .fine{margin-top:40px}form label{display:block;font-size:.9375rem;font-weight:600;line-height:1.5;margin-top:20px}input,textarea,select{display:block;width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:#fff;margin-top:7px;outline:none;font-size:1rem;line-height:1.6}input:focus,textarea:focus,select:focus{border-color:#8c9a80;box-shadow:0 0 0 3px #aab49c22}textarea{resize:vertical;min-height:85px}input[type=checkbox],input[type=radio]{width:auto;display:inline-block;margin:0;accent-color:var(--orange)}input[type=file]{font-size:.9375rem;padding:10px}input[type=file]::file-selector-button{background:var(--paper);border:1px solid var(--line);border-radius:4px;padding:7px 10px;margin-right:12px}.studio{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.sidebar{padding:37px 24px 20px;border-right:1px solid var(--line);position:fixed;width:238px;inset:0 auto 0 0;display:flex;flex-direction:column;background:var(--paper);z-index:3}.sidebar-label{font-size:.6875rem;letter-spacing:1.9px;color:var(--muted);margin-top:14px}.sidebar nav{display:grid;gap:7px;margin-top:48px}.nav-item{display:flex;align-items:center;gap:12px;text-align:left;border:0;background:transparent;border-radius:7px;padding:12px 13px;font-size:1rem;color:#6c7067}.nav-item>span{font-size:19px;line-height:1}.nav-item:hover,.nav-item.active{background:#e9ebe2;color:var(--ink)}.nav-item.active{font-weight:650}.nav-item small{margin-left:auto;font-size:.8125rem;background:white;padding:3px 6px;border-radius:4px}.new-button{margin-top:28px;width:100%;gap:7px;font-size:.9375rem}.sidebar-bottom{margin-top:auto;padding-top:50px}.connection{font-size:.8125rem;display:flex;align-items:center;gap:7px}.status-dot,.live-dot{display:inline-block;width:6px;height:6px;background:#6d8865;border-radius:50%;flex-shrink:0}.sidebar-bottom>p{font-size:.8125rem;color:var(--muted);margin-left:13px}.profile{border-top:1px solid var(--line);margin-top:24px;padding-top:21px;display:flex;align-items:center;gap:9px}.avatar{background:#e2e5d7;width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;padding:0;border-radius:50%;font-size:.875rem;font-weight:650;line-height:1}.profile div{min-width:0;flex:1}.profile strong{display:block;font-size:.875rem;font-weight:600}.profile div>span{display:block;font-size:.75rem;color:var(--muted);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}.profile button{border:0;background:transparent;margin-left:auto;flex:0 0 44px;padding:0;border-radius:8px}.profile button:hover{background:#e8eddf}.workspace{grid-column:2;min-width:0;display:flex;flex-direction:column}#content{padding:45px;max-width:1600px;width:100%;margin:0 auto;flex:1;outline:none}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:32px}.page-heading h1{font-size:36px;font-weight:450;letter-spacing:-1.6px;margin:0 0 12px}.page-heading p{font-size:.9375rem;color:var(--muted);margin:0;line-height:1.8}.page-heading .eyebrow{margin-bottom:10px;font-size:.75rem}.pill{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:7px 10px;border:1px solid var(--line);border-radius:30px;font-size:.75rem;color:#656b5e;line-height:1.2}.hero{background:#e9eadf;border:1px solid #dce0d0;border-radius:var(--radius);padding:38px;display:grid;grid-template-columns:1.4fr 1fr;position:relative;overflow:hidden;min-height:260px;margin-bottom:24px}.hero>div:first-child{z-index:1}.hero h2{font-size:40px;font-weight:450;letter-spacing:-1.7px;margin:16px 0;line-height:1.15}.hero h2 em{font-family:Georgia,serif;font-weight:400}.hero p:not(.eyebrow){font-size:.9375rem;line-height:1.8;max-width:340px;color:#68705d;margin-bottom:24px}.hero-art{position:relative;display:grid;place-items:center;min-height:200px}.art-circle{width:180px;height:180px;border:1px solid #bec5ad;border-radius:50%;position:absolute}.art-circle.two{width:250px;height:250px}.art-object{width:120px;height:155px;background:linear-gradient(140deg,#f4a27d,#d75b32 68%,#bd4e32);border-radius:58px 58px 25px 25px;transform:rotate(-15deg);box-shadow:17px 25px 35px #727f5b30;position:relative}.art-object:before{content:'';width:51px;height:20px;background:#453e31;border-radius:7px 7px 4px 4px;position:absolute;top:-8px;left:34px;box-shadow:0 4px 0 #a25535}.art-label{font-family:Georgia,serif;text-align:center;position:absolute;inset:60px 15px auto;color:#fff7e5;font-size:22px;letter-spacing:-1px}.art-tag{position:absolute;bottom:0;right:0;background:#f7f8f2;border:1px solid #d5d9c8;padding:10px 13px;border-radius:6px;font-size:.75rem;letter-spacing:1px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:24px 0 38px}.stat{border:1px solid var(--line);border-radius:10px;padding:20px;background:#fafaf7}.stat>span{font-size:.8125rem;color:var(--muted)}.stat strong{display:block;font-size:30px;letter-spacing:-1px;font-weight:450;margin-top:14px}.stat small{font-size:.75rem;color:var(--muted);display:block;margin-top:8px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:30px 0 18px}.section-head h2{font-size:17px;font-weight:550;letter-spacing:-.4px;margin:0}.section-head a,.text-link{font-size:.875rem;text-decoration:none;color:#777f6b;border:0;background:none;cursor:pointer}.workflow-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.workflow-card{border:1px solid var(--line);background:#fbfbf8;border-radius:12px;padding:24px;text-align:left;transition:border-color .2s,transform .2s}.workflow-card:hover{transform:translateY(-3px);border-color:#a0aa91}.workflow-number{display:flex;justify-content:space-between;color:var(--muted);font-size:.8125rem}.workflow-symbol{font-size:32px;display:block;margin:24px 0 20px;font-weight:300}.workflow-card h3{font-size:16px;font-weight:550;letter-spacing:-.4px;margin:0 0 12px}.workflow-card p{font-size:.875rem;line-height:1.8;color:var(--muted);margin:0}.workflow-card small{font-size:.75rem;color:#787e6e;display:block;border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.empty{border:1px dashed #cdd2c3;border-radius:12px;padding:40px;text-align:center;background:#fafbf7}.empty>span{font-size:26px;color:#8b947e}.empty h3{font-size:15px;font-weight:550}.empty p{font-size:.9375rem;color:var(--muted);line-height:1.8}.empty .button{margin-top:10px}.order-list{display:grid;gap:10px}.order-row{display:flex;align-items:center;gap:18px;border:1px solid var(--line);border-radius:10px;background:#fbfbf8;padding:17px 20px;text-align:left;width:100%}.order-row:hover{border-color:#9fa98e}.order-thumb{width:53px;height:60px;border-radius:6px;object-fit:cover;background:#e8eadf;display:grid;place-items:center;color:#6d7862;font-size:22px;flex-shrink:0}.order-info{flex:1;min-width:0}.order-info strong{display:block;font-size:1rem;font-weight:550;margin-bottom:7px}.order-info p{font-size:.8125rem;color:var(--muted);margin:0}.order-date{font-size:.8125rem;color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:5px;background:#e9ece3;color:#67725c;font-size:.75rem;white-space:nowrap}.badge.orange{background:var(--orange-light);color:#a6512d}.badge.red{background:#f9e6e2;color:#a54534}.badge.green{background:var(--green-light);color:var(--green)}.badge.busy:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor;animation:breathe 1.5s infinite}.footer{display:flex;justify-content:space-between;padding:30px 45px;border-top:1px solid var(--line);font-size:.75rem;color:#9a9f91;letter-spacing:.8px;margin-top:30px}.footer>span:last-child{font-size:.6875rem;letter-spacing:1.2px}.form-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(230px,.7fr);gap:25px}.panel{border:1px solid var(--line);border-radius:12px;padding:28px;background:#fcfcf9}.panel h2{font-size:17px;font-weight:550;margin:0 0 10px;letter-spacing:-.3px}.panel>p{font-size:.9375rem;color:var(--muted);line-height:1.8}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.mode-select{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:15px}.mode-option{padding:16px 12px;border:1px solid var(--line);border-radius:8px;font-size:.875rem;cursor:pointer;display:block;margin:0;background:white}.mode-option:has(input:checked){border-color:var(--orange);background:#fff4ed}.mode-option span{display:block;margin:10px 0 5px;font-weight:550}.mode-option small{display:block;font-size:.75rem;color:var(--muted);font-weight:400;line-height:1.6}.form-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:25px;padding-top:24px;gap:20px}.manual{border-top:1px solid var(--line);margin-top:25px;padding-top:20px}.manual summary{font-size:.9375rem;cursor:pointer}.manual>p{font-size:.875rem;color:var(--muted);line-height:1.8}.step-guide{counter-reset:steps;padding:0;list-style:none;display:grid;gap:25px;margin:25px 0}.step-guide li{padding-left:30px;position:relative;font-size:.9375rem}.step-guide li:before{counter-increment:steps;content:counter(steps,decimal-leading-zero);position:absolute;left:0;font-size:.8125rem;color:var(--orange)}.step-guide strong{font-weight:550}.step-guide p{font-size:.8125rem;line-height:1.8;color:var(--muted);margin:7px 0 0}.note{font-size:.875rem;line-height:1.9;background:#edf0e5;border:1px solid #dce2d0;padding:17px 20px;border-radius:9px;color:#677057}.note.warning{background:#fff1e5;border-color:#ecd6be;color:#8c653e}.back{border:0;background:none;color:#69725e;padding:0;font-size:.875rem;margin-bottom:25px}.detail-title{max-width:730px;overflow-wrap:anywhere}.detail-title h1{font-size:30px;line-height:1.3}.detail-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.progress-track{display:grid;grid-template-columns:repeat(5,1fr);margin:24px 0 30px;gap:7px}.progress-step{font-size:.8125rem;border-top:3px solid #d9ddd0;padding-top:12px;color:#94998b}.progress-step.done{border-color:#7f916c;color:#536445}.progress-step.current{border-color:var(--orange);color:var(--orange)}.activity{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#ecede4;border-radius:9px;padding:18px 20px;margin-bottom:24px;font-size:.9375rem;line-height:1.7}.countdown{font-variant-numeric:tabular-nums;font-size:18px;letter-spacing:1px;white-space:nowrap}.product-summary{display:grid;grid-template-columns:100px 1fr;gap:20px;margin:24px 0}.product-summary img{width:100px;height:125px;object-fit:cover;border-radius:8px;background:#e9eadd}.product-summary h2{font-size:18px;margin:4px 0 10px;font-weight:550;letter-spacing:-.4px}.product-summary p{font-size:.9375rem;line-height:1.8;color:var(--muted);margin:0}.claims{font-size:.875rem;line-height:1.9;color:#6c7462;display:grid;gap:8px;padding-left:16px}.claims a{font-size:.8125rem;color:#929b85}.sources{display:flex;gap:9px;overflow-x:auto;padding:10px 0}.sources img{width:70px;height:85px;object-fit:cover;border-radius:6px;border:1px solid var(--line)}.concept{padding:24px 0;border-top:1px solid var(--line)}.concept h3{font-weight:500;font-size:19px;margin-top:0}.concept p{font-size:.9375rem;line-height:1.9;color:var(--muted)}.concept dl{display:grid;grid-template-columns:85px 1fr;gap:12px;font-size:.875rem;line-height:1.8}.concept dt{color:#555f4c;font-weight:600}.concept dd{margin:0;color:var(--muted)}.scene{margin:22px 0;border:1px solid var(--line);background:#fbfbf8;border-radius:12px;overflow:hidden}.scene-heading{display:flex;justify-content:space-between;gap:15px;padding:22px 25px;border-bottom:1px solid var(--line);align-items:center}.scene-heading h3{font-size:15px;font-weight:550;margin:0 0 7px}.scene-heading p{font-size:.8125rem;margin:0;color:var(--muted)}.frame-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:24px;background:#eeefe7}.frame-card{margin:0;min-width:0}.frame-card a{display:block}.frame-card img{display:block;width:100%;max-height:620px;object-fit:contain;background:#e3e5db;border-radius:8px}.frame-card figcaption{font-size:.75rem;color:#738067;letter-spacing:1px;margin-top:11px;display:flex;justify-content:space-between}.scene-details{padding:24px}.scene-details p{font-size:.9375rem;line-height:1.85;color:#69715e;margin:6px 0 15px}.scene-details .dialogue{font-family:Georgia,serif;font-size:19px;line-height:1.7;color:#414937}.scene-details .eyebrow{font-size:.75rem;margin:0;color:#818c75}.scene-details details{font-size:.875rem;color:#737d66;line-height:1.8}.scene-details summary{cursor:pointer;margin:10px 0}.scene-details pre{white-space:pre-wrap;font:11px/1.8 "Segoe UI",sans-serif;background:#f1f2eb;padding:15px;border-radius:6px}.approval{position:sticky;bottom:15px;background:#fcfcf9f5;backdrop-filter:blur(10px);border:1px solid #bbc8a8;box-shadow:0 8px 24px #27351c10;padding:22px 25px;border-radius:12px;z-index:2;margin-top:30px}.approval h3{font-size:15px;margin:0 0 12px;font-weight:550}.approval label,.checkbox-label{display:flex;align-items:flex-start;gap:10px;font-size:.875rem;line-height:1.8;font-weight:400;margin:10px 0}.approval input,.checkbox-label input{margin-top:4px}.approval .button{margin-top:12px}.settings-strip{display:flex;flex-wrap:wrap;gap:10px;padding:15px 0}.settings-strip span{font-size:.8125rem;border:1px solid var(--line);padding:7px 10px;border-radius:5px;color:#6d7661}.event-list{font-size:.8125rem;line-height:1.8;display:grid;gap:12px;color:#79836e;list-style:none;padding:0}.event-list time{display:inline-block;width:80px;color:#a0a692}.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.media-card{border:1px solid var(--line);border-radius:10px;background:#fcfcf9;overflow:hidden}.media-card img,.media-card video{width:100%;height:290px;object-fit:contain;background:#e9ebe2;display:block}.media-card>div{padding:17px}.media-card h3{font-size:.9375rem;font-weight:550;margin:0 0 8px}.media-card p{font-size:.8125rem;color:var(--muted);line-height:1.8}.media-card a{font-size:.875rem;color:#707e61}.media-toolbar{display:flex;gap:15px;align-items:center;margin-bottom:25px}.media-toolbar select{width:200px;margin:0}.qa{background:#f0f2e9;border-radius:7px;padding:14px;font-size:.8125rem;line-height:1.8;color:#6b765f}.qa.warning{background:#fff0e7;color:#986239}.export-list{display:grid;gap:25px}.export-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fcfcf9}.export-card video{width:100%;max-height:650px;display:block;background:#191c17}.export-body{padding:25px}.export-body h3{font-size:16px;font-weight:550;margin:0 0 12px}.export-body>p{font-size:.875rem;color:var(--muted);line-height:1.8}.export-body .button{margin-top:15px}.motion-study{position:relative;max-width:280px;border-radius:8px;overflow:hidden;margin:18px auto;background:#1c2119;aspect-ratio:9/16}.motion-study img{width:100%;height:100%;object-fit:contain}.motion-study>span{position:absolute;left:9%;right:9%;bottom:20%;font-weight:700;font-size:18px;line-height:1.3;color:white;text-align:center;text-shadow:0 2px 4px #000;animation:caption 6s infinite}.motion-study>small{position:absolute;top:12px;left:10px;right:10px;color:white;text-shadow:0 1px 3px #000;font-size:.6875rem;letter-spacing:1px;text-align:center}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#252c20;color:#fff;padding:15px 22px;border-radius:9px;box-shadow:0 5px 30px #0002;z-index:50;font-size:.9375rem;max-width:90vw;line-height:1.8}@keyframes breathe{50%{opacity:.35}}@keyframes caption{0%,8%,90%,100%{opacity:0;transform:translateY(6px)}15%,85%{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(min-width:1500px){#content{padding:55px 65px}.hero{min-height:300px}.hero-art{transform:scale(1.15)}}@media(max-width:1100px){.studio{grid-template-columns:200px 1fr}.sidebar{width:200px;padding:30px 17px}#content{padding:30px}.hero{padding:26px}.hero h2{font-size:33px}.art-circle.two{width:210px;height:210px}.hero-art{transform:scale(.85)}.form-layout{grid-template-columns:1fr}.form-layout>aside{display:none}.workflow-card{padding:20px}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.studio{display:block}.sidebar{position:sticky;top:0;inset:0;width:100%;padding:15px 20px;border:0;border-bottom:1px solid var(--line);display:flex;flex-direction:row;align-items:center;gap:20px}.sidebar .wordmark{font-size:27px}.sidebar-label,.sidebar-bottom,.sidebar>.new-button{display:none}.sidebar nav{display:flex;gap:2px;margin:0 0 0 auto}.nav-item{font-size:.8125rem;padding:9px 8px;gap:5px}.nav-item>span{font-size:16px}.nav-item small{display:none}#content{padding:27px 22px}.page-heading{align-items:flex-start;flex-direction:column;gap:15px}.page-heading h1{font-size:30px}.hero{grid-template-columns:1fr;min-height:unset}.hero-art{display:none}.hero h2{font-size:34px}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.stat{padding:16px}.workflow-grid{grid-template-columns:1fr}.workflow-card{position:relative;padding:20px 25px}.workflow-symbol{position:absolute;right:25px;top:35px;margin:0}.workflow-card h3{margin-top:20px}.workflow-card p{padding-right:35px}.workflow-card small{margin-top:15px;padding-top:13px}.order-row{padding:14px;gap:10px;flex-wrap:wrap}.order-info{min-width:150px}.order-date{display:none}.order-row .badge{margin-left:auto}.form-layout .panel{padding:22px}.mode-select{grid-template-columns:1fr}.mode-option{padding:12px;display:flex;align-items:center;gap:12px}.mode-option span{margin:0}.mode-option small{margin-left:auto;max-width:110px}.field-row{grid-template-columns:1fr;gap:0}.form-actions{align-items:flex-start;flex-direction:column}.form-actions .button{width:100%}.frame-pair{padding:12px;gap:10px}.frame-card figcaption{font-size:.6875rem}.frame-card figcaption span{display:none}.scene-heading,.scene-details{padding:18px}.scene-heading{align-items:flex-start}.settings-strip{gap:5px}.settings-strip span{font-size:.75rem}.approval{bottom:8px;padding:18px}.media-grid{gap:12px}.media-card img,.media-card video{height:220px}.media-card>div{padding:12px}.footer{padding:22px;font-size:.6875rem}.footer>span:last-child{display:none}.login-layout{grid-template-columns:1fr}.login-art{padding:28px;min-height:300px}.login-copy{margin-top:45px}.login-copy h1{font-size:42px;letter-spacing:-2px;margin:15px 0}.login-copy h1 br{display:none}.login-copy .eyebrow{font-size:.6875rem}.login-foot{display:none}.login-form{padding:35px 28px}.login-form h2{font-size:26px}.orbit{top:0}.orbit-two{top:75px}.progress-step{font-size:.75rem}.activity{align-items:flex-start;flex-direction:column}.product-summary{grid-template-columns:75px 1fr;gap:15px}.product-summary img{width:75px;height:100px}.product-summary h2{font-size:16px}.product-summary p{font-size:.875rem}}

/* Feedback and accessibility refinements from the marketplace/browser QA pass. */
.boot-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:14px;font-size:1rem;color:#57634e}.spinner{display:inline-block;width:15px;height:15px;border:2px solid #bfc9b3;border-top-color:#ed6336;border-radius:50%;animation:spin .8s linear infinite;flex-shrink:0}.button.is-loading{gap:10px;opacity:.85}.button.is-loading:before{content:'';width:12px;height:12px;border:2px solid #ffffff55;border-top-color:currentColor;border-radius:50%;animation:spin .8s linear infinite}.working-indicator{display:inline-flex;align-items:center;gap:9px;color:#59674d;white-space:nowrap;font-size:.875rem;font-variant-numeric:tabular-nums}.connection-banner{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:15px 45px 0;padding:14px 18px;background:#fff0dc;border:1px solid #e5c99c;color:#775128;border-radius:8px;font-size:.9375rem;line-height:1.6}.frame-card img{aspect-ratio:9/16}.frame-card>.empty{aspect-ratio:9/16;max-height:620px;display:grid;place-items:center;animation:breathe 2s infinite}.fine,.muted{color:#626959}.sidebar-label,.sidebar-bottom>p,.footer{color:#6c7662}.button{min-height:44px}.nav-item{min-height:44px}input[type=checkbox],input[type=radio]{min-width:17px;min-height:17px}.error:empty{display:none}.note.warning .button{margin-top:5px}.order-info strong{line-height:1.6;overflow-wrap:anywhere}.scene-heading h3,.export-body h3{line-height:1.6;overflow-wrap:anywhere}.activity{overflow-wrap:anywhere}.detail-actions{position:relative}.form-actions .fine{margin:0}.checkbox-label,.approval label{cursor:pointer}.sources a{flex-shrink:0}.qa>div{margin-top:4px}video:focus-visible{outline:3px solid #ed6336;outline-offset:3px}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:760px){input,textarea,select{font-size:16px}.connection-banner{margin:12px 22px 0;flex-wrap:wrap}.approval .button{width:100%}.approval{position:relative;bottom:auto}.working-indicator{font-size:.875rem}.sidebar{gap:10px}.nav-item{padding:9px 7px;font-size:.8125rem}.sidebar nav{gap:0}.sidebar .wordmark{font-size:25px}.button.small{min-height:42px}.profile button{min-height:44px;min-width:32px}}

.nav-item>.nav-label{font-size:1rem}.revision-panel{margin:25px 0}.revision-panel>summary{font-size:1rem;font-weight:600;cursor:pointer}.revision-scenes{display:grid;gap:5px;margin-top:18px}@media(max-width:760px){.nav-item>.nav-label{font-size:.8125rem}}@media(max-width:480px){.sidebar{padding:11px 12px;gap:7px;justify-content:space-between}.sidebar .wordmark{font-size:21px;letter-spacing:-1px;flex-shrink:0}.sidebar .wordmark>span{font-size:.75rem}.sidebar nav{flex:0 1 165px;min-width:0;justify-content:flex-end}.nav-item{min-width:43px;flex:1;flex-direction:column;gap:3px;padding:5px 4px;justify-content:center;text-align:center}.nav-item>span{font-size:16px}.nav-item>.nav-label{font-size:.6875rem;line-height:1.2;max-width:48px}.hero h2{font-size:clamp(26px,8vw,34px)}.page-heading h1{font-size:clamp(24px,7vw,30px)}.mode-option{display:grid;grid-template-columns:18px minmax(0,1fr);gap:7px 10px}.mode-option>span{min-width:0;overflow-wrap:anywhere}.mode-option>small{grid-column:2;max-width:none;margin:0;font-size:.8125rem}.mode-option input{align-self:center}.panel{padding:20px}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-summary{grid-template-columns:60px minmax(0,1fr)}.product-summary img{width:60px;height:85px}.scene-heading{flex-wrap:wrap}.frame-pair{gap:8px;padding:10px}.frame-card figcaption{font-size:.6875rem;letter-spacing:.5px}.countdown{font-size:15px}.activity{padding:15px}.order-info{min-width:130px}.profile{min-width:0}}

.mobile-logout{display:none;border:0;background:transparent;min-width:30px;min-height:36px;font-size:17px;cursor:pointer;border-radius:6px}.mobile-logout:hover{background:#e5e9dc}#photo-feedback{font-weight:400;overflow-wrap:anywhere;margin:8px 0 0}#photo-feedback:empty{display:none}@media(max-width:760px){.mobile-logout{display:inline-block}}@media(max-width:480px){#queue-summary{max-width:75px}.mobile-logout{min-width:28px}}

.qa{font-size:.875rem}.qa p{margin:8px 0;line-height:1.8}.qa-details>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;text-decoration:underline;font-weight:600}.qa-details>.qa{background:#ffffff66;margin-top:10px}.export-body{display:flex;flex-direction:column;align-items:flex-start}.export-body>.qa{width:100%}.export-body>.button{order:0}.revision-panel textarea{font-size:1rem}.media-card a{display:inline-flex;min-height:35px;align-items:center}@media(max-width:760px){.qa{font-size:.9375rem}.revision-panel textarea{font-size:16px}.export-body{padding:19px}.product-summary p{font-size:.9375rem}.media-card h3{font-size:.9375rem}.media-card a{min-height:44px}}

:root{--muted:#626a5c}.playback-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 20px;border-bottom:1px solid var(--line);background:#f0f2ea}.playback-tools .button{background:#fff;min-width:48px}.playback-tools .fine{margin-left:auto;font-variant-numeric:tabular-nums}.frame-card figcaption,.event-list,.event-list time{color:#59664f}.settings-strip span,.claims,.scene-heading p,.scene-details details{color:#57634e}.badge{color:#536047}.badge.orange{color:#93441f}.badge.red{color:#993b2a}input,textarea,select{border-color:#929c87}.progress-step{color:#626d58}.order-date{color:#5d6852}.sidebar-label{color:#5e6954}.text-link,.section-head a,.media-card a{color:#50613f}@media(max-width:480px){.playback-tools{padding:10px;gap:6px}.playback-tools .button{padding:8px 10px}.playback-tools .fine{font-size:.875rem}.qa-details>summary{font-size:.9375rem}}

.sidebar{overflow-y:auto}@media(min-width:360px) and (max-width:480px){.sidebar nav{flex-basis:190px}.nav-item>.nav-label{font-size:.8125rem;max-width:64px}}@media(max-height:650px) and (min-width:761px){.sidebar{padding-top:22px}.sidebar nav{margin-top:25px}.sidebar-bottom{padding-top:20px}.mobile-logout{display:inline-block}}
.library-layout{display:grid;grid-template-columns:175px minmax(0,1fr);gap:25px}.folder-panel{min-width:0}.folder-panel h2{font-size:.9375rem;margin:0 0 15px}.folder-link{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;text-align:left;border:0;border-radius:8px;background:transparent;color:#536047;padding:12px;margin-bottom:4px;min-height:44px;font-size:.9375rem;cursor:pointer}.folder-link span{overflow-wrap:anywhere;min-width:0}.folder-link small{font-variant-numeric:tabular-nums}.folder-link.active{background:#e6eadd;font-weight:600}.folder-link:hover{background:#edf0e7}.library-main{min-width:0}.library-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}.library-heading h2{font-size:20px;overflow-wrap:anywhere;min-width:0}.library-heading>div{display:flex;gap:6px;flex-wrap:wrap}.library-search{display:flex;gap:8px;align-items:center;margin-bottom:16px}.library-search input{margin:0;min-width:0;flex:1}.library-search select{margin:0;width:130px}.selection-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-block:1px solid var(--line);padding:13px 0;margin-bottom:20px;font-size:.9375rem;color:#536047}.selection-toolbar label{display:flex;align-items:center;gap:8px;margin:0;font-size:.9375rem;cursor:pointer}.selection-actions{display:flex;gap:7px;flex-wrap:wrap}.media-pick{display:flex;gap:8px;align-items:center;margin:0;padding:11px 13px;font-size:.875rem;cursor:pointer;background:#f1f3eb;border-bottom:1px solid var(--line)}.media-pick:has(input:checked){background:#dee7cf}.media-card:has(.media-pick input:checked){outline:2px solid #7e9268;outline-offset:1px}.media-links{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.media-links button{background:transparent;border:0;cursor:pointer;font-size:.875rem;padding:0;min-height:44px}.media-item-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.media-item-actions .button{font-size:.875rem;padding:8px 10px;min-height:44px}.media-card h3{overflow-wrap:anywhere}.library-main .media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-dialog{width:min(460px,calc(100vw - 32px));border:1px solid #c2cbb6;border-radius:14px;padding:26px;color:#333d2d;background:#fcfcf9;box-shadow:0 20px 80px #1e2b2540;max-height:85vh;overflow:auto}.library-dialog::backdrop{background:#202b2266;backdrop-filter:blur(3px)}.library-dialog h2{font-size:22px;font-weight:500;overflow-wrap:anywhere;margin:0 0 22px}.library-dialog p{font-size:1rem;line-height:1.8}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.library-dialog input,.library-dialog select{font-size:16px}.library-dialog label{font-size:1rem}.library-dialog [type=submit]{min-width:120px}@media(min-width:1600px){.library-main .media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1000px){.library-layout{grid-template-columns:1fr}.folder-panel{display:flex;flex-wrap:wrap;gap:5px;max-height:220px;overflow:auto}.folder-panel h2{width:100%;margin-bottom:7px}.folder-link{width:auto;max-width:100%;margin:0;gap:12px}.library-search{flex-wrap:wrap}.library-search input{flex-basis:55%}}@media(max-width:480px){.library-main .media-grid{grid-template-columns:1fr}.library-search select{width:100%}.selection-toolbar{gap:10px}.selection-actions{width:100%}.selection-actions .button{flex:1}.library-dialog{padding:22px}.library-main .media-card img,.library-main .media-card video{height:320px}.folder-link{font-size:.9375rem}.library-heading>div{width:100%}.library-heading h2{margin:8px 0}}

.scene-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.source-compare{display:inline-flex;align-items:center;min-height:40px;font-size:.875rem;white-space:nowrap;color:#50613f}
.order-view-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.order-view-tabs [aria-pressed=true]{background:#e3e9d8;border-color:#92a17e}.order-entry{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-bottom:12px}.order-entry>.order-row{flex:1;min-width:0;border:0}.order-entry>.button{flex-shrink:0}.order-entry .order-info{min-width:0}.order-entry .order-info strong{overflow-wrap:anywhere}@media(max-width:760px){.order-entry{align-items:stretch;flex-direction:column;gap:0}.order-entry>.button{align-self:flex-end;margin:0 12px 5px}.order-entry .order-row{width:100%}}
/* Studio finish: readable type, quiet depth, and deliberate motion. */
:root{--ease-studio:cubic-bezier(.22,1,.36,1)}
body{line-height:1.55}
.workspace{background:radial-gradient(ellipse at 95% 0%,#e8e9db88,transparent 650px)}
.hero{background:radial-gradient(ellipse at 85% 20%,#faf2de99,transparent 65%),linear-gradient(125deg,#e8eadf,#e1e5d6);box-shadow:inset 0 1px 0 #ffffffc0,0 16px 40px -28px #33412450}
.panel,.stat,.workflow-card,.media-card,.scene,.export-card{box-shadow:0 2px 3px #26331e03,0 10px 28px -22px #26331e30}
.page-heading h1,.hero h2{text-wrap:balance}
.button,.nav-item,.folder-link,.workflow-card,.order-row,.media-card{transition:background-color 220ms ease,border-color 220ms ease,box-shadow 300ms ease,transform 350ms var(--ease-studio)}
.button:active:not(:disabled){transform:translateY(1px) scale(.985)}
.nav-item.active{box-shadow:inset 3px 0 0 #708360}
.library-dialog[open]{animation:studio-dialog 320ms var(--ease-studio)}
.library-dialog[open]::backdrop{animation:studio-fade 220ms ease}
#toast:not([hidden]){animation:studio-dialog 280ms var(--ease-studio)}
.progress-step{transition:color 250ms ease,border-color 350ms ease;line-height:1.55}
.detail-actions .button,.note .button{white-space:normal;text-align:center}
.dialog-actions{flex-wrap:wrap}
.button.small{min-height:44px}
.event-list time{width:auto;margin-right:14px}
@media(hover:hover) and (pointer:fine){
  .button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 7px 15px -10px #24301e80}
  .workflow-card:hover,.order-row:hover{box-shadow:0 14px 30px -22px #24301e70;transform:translateY(-3px)}
  .media-card:hover{border-color:#a2ad94;box-shadow:0 14px 30px -22px #24301e60}
}
@keyframes studio-dialog{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
@keyframes studio-fade{from{opacity:0}to{opacity:1}}
@media(max-width:760px){
  .sidebar{flex-wrap:wrap;height:auto}.sidebar nav{flex:1;justify-content:flex-end}
  .nav-item>.nav-label{font-size:.8125rem;max-width:none}.nav-item{min-width:0}
  .profile div>span{max-width:130px}.progress-track{gap:5px}.progress-step{font-size:.75rem}
}
@media(max-width:480px){
  .sidebar{padding:12px 16px;gap:12px}.sidebar nav{flex-basis:100%;justify-content:space-between}
  .nav-item{flex:1;flex-direction:row;gap:6px;padding:9px 5px}.nav-item>.nav-label{font-size:.75rem;max-width:none}
  .page-heading{flex-wrap:wrap}.progress-step{font-size:.6875rem}.frame-card figcaption{letter-spacing:0}
  .order-row{flex-wrap:wrap}.order-info{min-width:0}.order-row .badge{margin-left:auto}
  .concept dl{grid-template-columns:1fr;gap:6px}.concept dd{margin-bottom:10px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .button:hover:not(:disabled),.button:active:not(:disabled),.workflow-card:hover,.order-row:hover{transform:none}
}
/* Optional guidance stays compact and works with touch and keyboard. */
.panel,.media-card,.workflow-card,.stat,.scene,.export-card{background:#fff;border-color:#c8cdbf}
.help-tip{position:relative;background:#e8eddf;border:1px solid #bdc8ae;border-radius:12px;padding:12px 48px 12px 18px;margin-bottom:14px;color:#3e4d34}
.help-tip summary{cursor:pointer;font-size:15px;font-weight:600;min-height:44px;display:flex;align-items:center;gap:10px}
.help-tip summary::before{content:'+';font-size:20px;font-weight:400}.help-tip details[open] summary::before{content:'−'}
.help-tip p{font-size:14px;line-height:1.7;margin:6px 0 10px}
.help-dismiss{position:absolute;right:5px;top:12px;border:0;background:transparent;width:40px;min-height:44px;font-size:23px;border-radius:6px;color:#3e4d34}
.help-dismiss:hover{background:#d5dfc9}.footer{align-items:center;gap:14px;flex-wrap:wrap}.footer .text-link{min-height:44px}
.form-layout>.production-help{display:block;align-self:start}.page-heading>div{min-width:0}.page-heading h1{line-height:1.25}.detail-title h1{font-size:clamp(24px,2.3vw,34px);line-height:1.3}
.progress-step.current{color:#b4421d}.eyebrow{overflow-wrap:anywhere}.mode-option{min-width:0}.mode-option span{overflow-wrap:anywhere}
@media(max-width:760px){.form-layout{grid-template-columns:minmax(0,1fr)}.form-layout>.production-help{display:grid;gap:10px}.help-tip{margin:0}.section-head{gap:14px;flex-wrap:wrap}.detail-actions>.button{flex:1 1 140px}.form-actions{align-items:stretch}.panel{min-width:0}.footer{padding-block:14px}}
:root{--orange:#bd431d}
.button.orange:hover{background:#a73b18}
input,textarea,select{border-color:#87927a}
input:focus,textarea:focus,select:focus{border-color:#667957}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #9f3e1b;outline-offset:3px}
.footer{color:#58634f}
.mobile-logout,.profile button{min-width:44px;min-height:44px}
summary{min-height:44px;padding-block:9px}
.help-tip summary{padding-block:0}

.music-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}.music-option{display:flex;flex-direction:column;gap:16px;padding:20px;border:1px solid #bdc8ae;border-radius:12px;background:#f3f5ee;min-width:0}.music-option h3,.music-option p{margin:0}.music-option audio{width:100%;min-width:0}.music-option .button{margin-top:auto;min-height:44px}.music-picker .note{margin-top:20px}.music-picker .note p{overflow-wrap:anywhere}@media(max-width:760px){.music-options{grid-template-columns:minmax(0,1fr)}}

.audio-art{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;background:#e8eddf;padding:18px}.audio-art>span{font-size:48px;color:#58634f}.audio-art audio{width:100%;min-width:0}
/* Client review workspace */
.review-header{margin-bottom:24px}.review-header .back{margin-bottom:18px}.review-title{display:flex;align-items:center;justify-content:space-between;gap:24px}.review-title>div{min-width:0}.review-title h1{font-size:clamp(24px,2.3vw,34px);line-height:1.2;letter-spacing:-1px;margin:8px 0;overflow-wrap:anywhere}.review-title .eyebrow{margin:0;color:#58634f}.review-title .badge{flex-shrink:0}
.review-workspace{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:24px;align-items:start}.review-canvas{min-width:0;background:#eeeee7;border:1px solid #d2d6c9;border-radius:16px;overflow:hidden}.review-view-tabs{display:flex;gap:6px;padding:12px 18px;background:#e1e5d9;border-bottom:1px solid #c7cdbf}.review-view-tabs button{border:0;border-radius:7px;background:transparent;padding:12px 16px;min-height:44px;font-weight:600}.review-view-tabs button[aria-pressed=true]{background:white;box-shadow:0 2px 5px #20221f0d}.review-preview{padding:22px;min-width:0}.scene-picker{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.scene-picker button[aria-pressed=true]{background:#202820;color:white;border-color:#202820}.review-scene.scene{padding:0;border:0;background:transparent;margin:0;box-shadow:none}.review-scene h2{font-size:21px;margin:0 0 18px;line-height:1.4}.review-scene .frame-pair{gap:14px}.review-scene .frame-card{margin:0;min-width:0;background:#fff;border-radius:10px;overflow:hidden}.review-scene .frame-card img{display:block;width:100%;height:min(43vh,430px);object-fit:contain;background:#dce0d5}.review-scene .frame-card figcaption{padding:12px;font-size:13px;letter-spacing:0;display:flex;justify-content:space-between;gap:8px}.review-script{background:#fafbf7;border-radius:10px;padding:16px;margin-top:18px;line-height:1.6}.review-script p{margin:6px 0 0}.review-caption{line-height:1.6}.review-caption strong{margin-right:10px}.review-notes{background:#fff2e5;border:1px solid #d9bfa2;border-radius:9px;padding:4px 14px;margin-top:16px;color:#663a1c;font-size:14px;line-height:1.6}.review-notes summary{font-weight:600;cursor:pointer}.review-notes ul{padding-left:20px}.review-notes li+li{margin-top:12px}.review-next{position:sticky;top:24px;max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #c6ccbd;border-radius:16px;padding:24px;box-shadow:0 12px 36px #23311c0b;scrollbar-width:thin}.review-next>.eyebrow{margin:0 0 16px;color:#58634f}.review-steps{display:flex;list-style:none;gap:6px;padding:0;margin:0 0 25px}.review-steps li{flex:1;border-top:3px solid #e3e5dc;padding-top:8px;font-size:11px;color:#62685d}.review-steps .done{border-color:#82916f}.review-steps .current{border-color:#bd431d;color:#9c3616;font-weight:700}.review-decision h2{font-size:23px;line-height:1.25;margin:0 0 12px;letter-spacing:-.4px}.review-decision p{font-size:15px;line-height:1.6}.review-decision form label{font-size:14px;font-weight:400;display:flex;align-items:flex-start;gap:10px}.review-decision input[type=checkbox]{flex-shrink:0;width:18px;height:18px;margin-top:2px}.review-decision form>.button{width:100%;margin-top:20px}.review-next .panel{padding:0;border:0;box-shadow:none;background:none;margin:0}.review-next .revision-panel{border-top:1px solid #dce0d5;margin-top:22px;padding-top:8px}.review-next .revision-panel label:has(textarea){display:block}.review-next .revision-panel textarea{width:100%;font-size:16px}.review-order-options{border-top:1px solid #dce0d5;margin-top:24px;padding-top:8px;font-size:14px}.review-order-options summary{cursor:pointer}.review-order-options .button{margin:4px 0}.review-next .music-picker>.eyebrow{display:none}.review-next .music-options{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:18px}.review-next .music-option{padding:14px;gap:10px;background:#f4f6ef}.review-next .music-option h3{font-size:17px}.review-next .music-option .button{padding:10px}.review-next .note{padding:14px;font-size:14px;line-height:1.5}.review-next .music-picker .note p{margin:8px 0}.review-film.export-card{background:transparent;border:0;box-shadow:none}.review-film video{display:block;width:100%;height:min(58vh,620px);object-fit:contain;background:#202820;border-radius:10px}.review-film .export-body{padding:12px 0 0}.review-film .playback-tools{flex-wrap:wrap}.review-placeholder{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px}.review-placeholder h2{font-size:25px}.review-wait{display:flex;gap:10px;align-items:center;font-size:14px;margin:22px 0}.mobile-next{display:none}.review-preview .sources{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:10px;margin:20px 0}.review-preview .sources img{width:100%;height:120px;object-fit:cover}.review-decision .error{overflow-wrap:anywhere}

@media(max-width:1100px){.review-workspace{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.review-next{padding:18px}.review-preview{padding:16px}.review-title{align-items:flex-start}.review-title .badge{font-size:11px}.review-steps li{font-size:10px}}
@media(max-width:900px){.review-workspace{grid-template-columns:minmax(0,1fr)}.review-next{position:static;max-height:none;overflow:visible;scroll-margin-top:20px}.review-title{flex-direction:column;gap:10px}.review-header{margin-bottom:18px}.review-next .music-options{grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-next{display:block;position:sticky;bottom:16px;margin:20px 0 0 auto;z-index:5;box-shadow:0 5px 20px #20221f26}.review-steps li{font-size:12px}.review-scene .frame-card img{height:min(40vh,380px)}}
@media(max-width:520px){.review-title h1{font-size:24px}.review-preview{padding:12px}.review-view-tabs{padding:8px;gap:0}.review-view-tabs button{flex:1;padding:10px;font-size:14px}.review-scene .frame-pair{gap:8px}.review-scene .frame-card figcaption{font-size:12px;padding:8px}.review-scene .frame-card figcaption span{display:none}.review-scene .frame-card img{height:240px}.review-next .music-options{grid-template-columns:minmax(0,1fr)}.review-next{padding:20px}.review-script{font-size:15px;padding:12px}.review-film video{height:440px}.review-placeholder{min-height:260px}.review-steps li{font-size:11px}}
@media(prefers-reduced-motion:no-preference){.review-preview{animation:review-enter .24s ease-out}@keyframes review-enter{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}}
.review-next .music-option{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 10px}.review-next .music-option .button{grid-column:2;grid-row:1;margin:0;min-height:44px;padding:8px 12px}.review-next .music-option audio,.review-next .music-option p{grid-column:1/-1}.review-next .music-option p{font-size:13px}.review-next .music-option h3{grid-column:1;grid-row:1}.review-next .music-picker .note{margin-top:12px}.review-next .music-picker>p:not(.eyebrow){margin:8px 0}.review-next .music-options{margin-top:14px}

/* Fit the review to the available screen without hiding content. */
#content:has(.review-workspace){padding-top:22px;padding-bottom:24px}
.review-header{margin-bottom:18px}.review-header .back{margin:0 0 10px;padding-block:8px;min-height:44px}
.review-title h1{font-size:clamp(24px,2vw,30px);line-height:1.2;margin:6px 0 0}.review-title .eyebrow{font-size:12px;letter-spacing:1.5px}
.review-view-tabs{padding:8px 14px}.review-preview{padding:16px}.scene-picker{margin-bottom:12px}.review-scene h2{font-size:20px;margin-bottom:12px}
.review-scene .frame-pair{padding:0;margin:0;gap:14px}.review-scene .frame-card figcaption{padding:10px 12px;min-height:38px}.review-script{padding:12px 14px;margin-top:12px;font-size:15px;line-height:1.5}.review-script p{margin:4px 0 0}.review-caption{font-size:14px;margin:10px 0;line-height:1.5}.review-notes{margin-top:10px}.review-notes summary{min-height:40px;padding-block:8px}
.review-next{padding:20px;top:18px}.review-next>.eyebrow{margin-bottom:12px}.review-steps{margin-bottom:20px}.review-decision h2{font-size:22px}.review-decision form label{margin-top:16px}.review-next .revision-panel{margin-top:18px}.review-order-options{margin-top:16px}
@media(min-width:901px){
  #content:has(.review-workspace){padding-inline:28px}
  .workspace:has(.review-workspace)>.footer{display:none}
  .review-scene .frame-card img{height:clamp(180px,calc(100dvh - 700px),420px)}
  .review-film video{height:clamp(260px,calc(100dvh - 380px),620px)}
}
@media(max-width:900px){.review-scene .frame-card img{height:clamp(220px,36dvh,360px)}.review-next{scroll-margin-top:110px}}
@media(max-width:520px){#content:has(.review-workspace){padding-top:12px}.review-header{margin-bottom:14px}.review-preview{padding:12px}.review-title h1{font-size:23px}.review-view-tabs{padding:6px}.review-scene .frame-pair{gap:8px}.review-script{padding:12px}.scene-picker{gap:6px}.scene-picker .button{padding-inline:12px}}
.removed-order-actions{display:flex;flex-direction:column;gap:6px;align-items:stretch;min-width:170px}.removed-order-actions .button{min-height:44px}@media(max-width:760px){.removed-order-actions{width:100%;flex-direction:row;flex-wrap:wrap}.removed-order-actions .button{flex:1}}
/* Stable, cinematic preview loading: identical geometry before and after decode. */
.review-scene .frame-visual{position:relative;height:clamp(180px,calc(100dvh - 700px),420px);overflow:hidden;background:#dce0d5;isolation:isolate}
.review-scene .frame-image-link{position:absolute;inset:0;display:block;opacity:0;visibility:hidden;transition:opacity .65s ease,visibility .65s}
.review-scene .frame-visual img{width:100%;height:100%;object-fit:contain;aspect-ratio:auto}
.frame-loading{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:18px;text-align:center;background:radial-gradient(ellipse at 25% 15%,#f5f4e8,transparent 65%),linear-gradient(145deg,#dce3d1,#e8e8dd);color:#384330;overflow:hidden;transition:opacity .45s ease}
.frame-loading::before{content:'';position:absolute;inset:-100%;background:linear-gradient(110deg,transparent 42%,#ffffff60 50%,transparent 58%);animation:frame-light 4s ease-in-out infinite;pointer-events:none}
.frame-loading>strong,.frame-loading>span{position:relative}.frame-loading strong{font-size:15px;font-weight:600}.frame-loading>span{font-size:13px;line-height:1.5;max-width:210px;color:#56624d}
.frame-outline{width:45px;height:56px;border:1px solid #8e9e7c;border-radius:6px;transform:rotate(-7deg);margin-bottom:6px;position:relative;background:#ffffff40;box-shadow:7px 5px 0 -1px #e7eadd,7px 5px 0 0 #a3af96}.frame-outline span{position:absolute;inset:9px;border:1px solid #a4b296;border-radius:2px}
.frame-dots{display:flex;gap:5px;padding:5px}.frame-dots i{width:4px;height:4px;border-radius:50%;background:#6e815a;animation:frame-dot 1.8s ease-in-out infinite}.frame-dots i:nth-child(2){animation-delay:.2s}.frame-dots i:nth-child(3){animation-delay:.4s}
.frame-visual.is-ready .frame-image-link{opacity:1;visibility:visible}.frame-visual.is-ready .frame-loading{opacity:0;pointer-events:none;visibility:hidden}.frame-visual.is-ready .frame-loading::before,.frame-visual.is-ready .frame-dots i,.frame-loading.is-paused::before,.frame-visual.is-error .frame-loading::before{animation:none}.frame-visual.is-error .frame-image-link{display:none}
.image-progress{background:#f0f3e9;border:1px solid #d7dfcb;border-radius:10px;padding:16px;margin:22px 0}.image-progress>div{display:flex;align-items:baseline;gap:8px;font-size:14px}.image-progress strong{font-size:22px}.image-progress progress{display:block;width:100%;height:5px;appearance:none;border:0;border-radius:5px;overflow:hidden;margin-top:14px;background:#d9dfcf}.image-progress progress::-webkit-progress-bar{background:#d9dfcf}.image-progress progress::-webkit-progress-value{background:#758760;transition:width .5s}.image-progress progress::-moz-progress-bar{background:#758760}
@keyframes frame-light{0%,20%{transform:translateX(-30%)}80%,100%{transform:translateX(30%)}}@keyframes frame-dot{0%,80%,100%{opacity:.25}40%{opacity:1}}
@media(max-width:900px){.review-scene .frame-visual{height:clamp(220px,36dvh,360px)}}
@media(max-width:520px){.frame-loading{padding:10px;gap:8px}.frame-loading strong{font-size:14px}.frame-loading>span{font-size:12px}.frame-outline{width:32px;height:42px}.frame-loading::before{animation-duration:5s}}
@media(prefers-reduced-motion:reduce){.frame-loading::before,.frame-dots i{animation:none}.frame-image-link,.frame-loading{transition:none}}

/* Background progress updates must not replay the whole panel entrance. */
.review-preview{animation:none}
/* Media collection: balanced previews and progressive disclosure. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#content:has(.library-layout){padding:30px 32px}.library-layout{grid-template-columns:156px minmax(0,1fr);gap:24px}.library-layout .folder-panel{align-self:start;position:sticky;top:24px}.library-heading{margin-bottom:12px}.library-heading h2{margin:0}.library-search{margin-bottom:12px}.library-search input,.library-search select{min-height:46px;padding:10px 12px}.selection-toolbar{min-height:52px;margin-bottom:18px;padding:8px 0}.selection-toolbar input{accent-color:#657a52}.library-main .media-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px;align-items:start}
.library-card{position:relative;border-radius:14px;overflow:hidden;background:#fff}.library-card .media-pick{position:absolute;top:10px;left:10px;z-index:2;display:grid;place-items:center;margin:0;padding:0;width:36px;height:36px;background:#ffffffed;border:1px solid #d0d6c7;border-radius:9px;cursor:pointer}.library-card .media-pick input{width:18px;height:18px;accent-color:#657a52;margin:0}.library-card .library-preview{display:block;position:relative;width:100%;height:260px;padding:0;border:0;border-radius:0;background:radial-gradient(ellipse at center,#f7f7f2,#e3e6dc);overflow:hidden}.library-card .library-preview img,.library-card .library-preview video{display:block;width:100%;height:100%;object-fit:contain;background:transparent}.library-preview .preview-hint{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);border-radius:24px;background:#202820e8;color:white;padding:7px 12px;font-size:12px;opacity:0;transition:opacity .2s;white-space:nowrap}.library-preview:hover .preview-hint,.library-preview:focus-visible .preview-hint{opacity:1}.library-card .library-card-body{padding:16px}.media-kind{display:block;font-size:11px;text-transform:uppercase;letter-spacing:1.3px;font-weight:650;color:#647455;margin-bottom:7px}.library-card h3{font-size:16px;font-weight:600;line-height:1.4;margin:0}.library-card .media-product{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:7px 0 10px;font-size:13px;color:#65705c}.library-card .media-links{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.library-card .media-links a,.library-card .text-link{font-size:13px;min-height:44px}.media-menu{border-top:1px solid #e2e5dc;margin-top:6px}.media-menu summary{font-size:13px;cursor:pointer;color:#4f5d43;min-height:40px}.media-menu .media-item-actions{display:flex;gap:6px;flex-wrap:wrap;padding-bottom:4px}.media-menu .button{font-size:13px;padding:8px 10px}.library-more{display:flex;margin:24px auto}.media-lightbox{width:min(1000px,calc(100vw - 32px));padding:20px}.lightbox-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.lightbox-heading h2{margin:0;font-size:20px}.media-lightbox>img{display:block;width:100%;height:min(65dvh,720px);object-fit:contain;background:#e9ece3;border-radius:10px;margin-bottom:16px}.library-card .audio-art{height:260px;padding:14px}
@media(max-width:1100px){.library-layout{grid-template-columns:1fr}.library-layout .folder-panel{position:static;display:flex;flex-wrap:wrap;gap:6px}.folder-panel h2{display:none}.folder-link{width:auto;max-width:100%;gap:14px}.library-main .media-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}}
@media(max-width:600px){#content:has(.library-layout){padding:20px 16px}.library-layout{gap:18px}.library-main .media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.library-card .library-preview,.library-card .audio-art{height:210px}.library-card .library-card-body{padding:12px}.library-card h3{font-size:14px}.library-card .media-product{font-size:12px}.library-card .media-links{gap:0;justify-content:space-between}.library-card .media-links a,.library-card .text-link{font-size:12px}.library-search{display:grid;grid-template-columns:minmax(0,1fr) auto}.library-search input{width:100%}.library-search select{grid-column:1/-1;width:100%}.library-card .media-pick{top:8px;left:8px}.media-kind{font-size:10px;letter-spacing:.8px}.lightbox-heading h2{font-size:16px}}
@media(max-width:360px){.library-main .media-grid{grid-template-columns:1fr}.library-card .library-preview{height:280px}}
@media(max-width:600px){#content:has(.library-layout)>.page-heading{margin-bottom:18px;gap:12px}#content:has(.library-layout)>.page-heading .eyebrow{display:none}#content:has(.library-layout)>.page-heading h1{font-size:26px;margin:0 0 8px}#content:has(.library-layout)>.page-heading p{font-size:14px;margin:0}#content:has(.library-layout)>.page-heading>.button{padding:10px 14px}.library-layout .folder-panel{flex-wrap:nowrap;overflow-x:auto;gap:6px;max-height:none}.folder-panel .folder-link{flex:0 0 auto;font-size:13px;padding:10px;gap:8px}.library-heading{margin-bottom:10px}.library-heading h2{font-size:18px}.selection-toolbar{font-size:13px}.selection-toolbar label{font-size:13px}}
@media(max-width:600px){.order-row{display:grid;grid-template-columns:44px minmax(0,1fr) 16px;gap:8px 12px;align-items:start;padding:16px;text-align:left}.order-row .order-thumb{grid-column:1;grid-row:1/3;width:44px;height:58px;object-fit:cover}.order-row .order-info{grid-column:2;grid-row:1;min-width:0;width:100%}.order-row .order-info strong{font-size:15px;line-height:1.4}.order-row .order-info p{font-size:12px;line-height:1.5;margin:6px 0 0}.order-row .badge{grid-column:2;grid-row:2;margin:0;justify-self:start;max-width:100%;white-space:normal}.order-row>span:last-child{grid-column:3;grid-row:1}.order-date{display:none}.hero{padding:24px}.hero h2{line-height:1.15}}
.library-card .media-pick{width:44px;height:44px}.media-menu summary{min-height:44px}
/* Recovery choices remain distinct in the compact next-step panel. */
.review-decision .recovery-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:20px 0 16px}
.recovery-actions .button{width:100%;min-height:48px;margin:0;padding:13px 16px;white-space:normal;text-align:center}
.review-decision .recovery-actions+.fine{margin:0 0 18px;font-size:13px;line-height:1.6}
/* Shared action spacing: use gap on a group, never incidental inline whitespace. */
:root{--action-gap:12px}
.action-group,.dialog-actions,.selection-actions,.media-menu .media-item-actions,.library-heading>div,.removed-order-actions,.detail-actions,.playback-tools{display:flex;flex-wrap:wrap;gap:var(--action-gap)}
.action-group>.button,.dialog-actions>.button,.selection-actions>.button,.media-menu .media-item-actions>.button,.removed-order-actions>.button{margin:0;min-height:44px}
.action-group-stack{display:grid;grid-template-columns:minmax(0,1fr)}
.action-group-stack>.button{width:100%;white-space:normal;text-align:center}
.review-order-options .action-group{margin:12px 0 16px}
.review-order-options .action-group:empty{display:none}
.review-order-options .action-group>.button{margin:0;min-height:48px}
.review-order-options>.fine{margin:0;font-size:13px;line-height:1.6}
@media(max-width:520px){.dialog-actions>.button{flex:1 1 140px}.media-menu .media-item-actions{flex-direction:column}.media-menu .media-item-actions>.button{width:100%}}
.scene-quality-notice{background:#fff2e5;border-left:3px solid #bd431d;border-radius:6px;padding:10px 12px;margin:0 0 14px;color:#663a1c;font-size:14px;line-height:1.5}
/* Overview metrics: numeric hierarchy and meaningful status accents. */
.stats .stat{--metric-accent:#52604c;position:relative;min-width:0;padding:22px 24px;background:#fff;border-radius:16px;box-shadow:0 4px 16px #20251d05}
.stats .stat-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:14px;font-weight:600}
.stat-heading svg{width:22px;height:22px;flex:none;color:var(--metric-accent)}
.stats .stat strong{font-size:clamp(40px,4vw,56px);line-height:1.1;font-weight:700;letter-spacing:-2px;font-variant-numeric:tabular-nums;margin:20px 0 18px;color:#20251e}
.stats .stat small{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.4;margin:0;padding-top:14px;border-top:1px solid var(--line)}
.stat small i{width:6px;height:6px;border-radius:50%;background:var(--metric-accent);flex:none}
.stats .stat-attention{--metric-accent:#b63f1d;background:#fff8f3;border-color:#e7c9b8}
.stats .stat-ready{--metric-accent:#527443}
.stats .stat-working{--metric-accent:#557087}
@media(max-width:700px){.stats .stat{padding:16px;border-radius:12px}.stats .stat-heading{font-size:13px;align-items:flex-start}.stat-heading svg{width:18px;height:18px}.stats .stat strong{font-size:40px;margin:16px 0}.stats .stat small{font-size:12px;gap:6px;padding-top:12px}}
@media(max-width:700px){.stats .stat-heading{min-height:38px}.stats .stat small{min-height:46px;align-items:flex-start}.stats .stat small i{margin-top:5px}}
@media(min-width:701px) and (max-width:1100px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Product reference selection */
.reference-library{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 24px}.reference-library #reference-selection{flex-basis:100%;display:flex;flex-wrap:wrap;gap:12px}.reference-chip{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #ccd0c3;border-radius:12px;background:#fff}.reference-chip img{width:64px;height:72px;object-fit:contain;border-radius:6px}.reference-picker{width:min(900px,calc(100vw - 32px));max-height:88dvh;padding:24px;border:1px solid #ccd0c3;border-radius:20px;background:#fafaf7;color:#21251f}.reference-picker::backdrop{background:#18201888;backdrop-filter:blur(5px)}.reference-picker header,.reference-picker footer{display:flex;justify-content:space-between;align-items:center;gap:16px}.reference-picker h2{margin:0}.reference-filters{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-top:20px}.reference-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;max-height:48dvh;overflow:auto;padding:4px}.reference-option{position:relative;border:2px solid transparent;border-radius:12px;padding:8px;background:#eceee6;cursor:pointer;margin:0!important;min-width:0}.reference-option:has(input:checked){border-color:#71845f;background:#e0e7d5}.reference-option input{position:absolute;top:12px;left:12px;width:20px;height:20px;z-index:1}.reference-option img{width:100%;height:155px;object-fit:contain;border-radius:8px}.reference-option span{display:block;font-size:13px;line-height:1.4;overflow-wrap:anywhere;margin-top:8px}.reference-picker footer{padding-top:18px;margin-top:12px;border-top:1px solid #d6d9cf}.reference-results .empty{grid-column:1/-1}@media(max-width:600px){.reference-picker{padding:16px}.reference-filters{grid-template-columns:1fr;gap:0}.reference-results{grid-template-columns:repeat(2,minmax(0,1fr));max-height:42dvh}.reference-picker footer{flex-wrap:wrap}.reference-picker footer button{width:100%}.reference-option img{height:130px}}
.reference-picker[open]{display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}.reference-picker header,.reference-picker footer,.reference-filters,.reference-picker>p{flex-shrink:0}.reference-results{min-height:0;flex:1 1 auto}.reference-picker>p.error:empty{display:none}@media(max-width:600px){.reference-picker[open]{height:90dvh;max-height:90dvh}.reference-picker header h2{font-size:20px}.reference-picker .reference-filters label{margin-bottom:8px}.reference-picker>p.fine{margin:8px 0}.reference-picker footer{padding-top:10px;margin-top:8px;gap:8px}.reference-results{max-height:none}}

/* Keep both photo sources inside the reference field, aligned with language. */
.production-inputs{align-items:start}.reference-upload-field{min-width:0;margin:0 0 24px;padding:0;border:0}.reference-upload-field legend{padding:0;margin:0 0 8px;font-size:1rem;font-weight:500;line-height:1.5}.reference-source-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#f6f7f2}.reference-source-actions .button{min-width:0;min-height:48px;justify-content:center;padding:10px 12px;gap:8px;font-size:.9375rem;white-space:normal;text-align:center;background:white}.reference-source-actions .button span{font-size:19px;line-height:1;color:#61744f}.reference-upload-field .reference-limit{margin:8px 2px 0;font-size:.8125rem;line-height:1.5;color:#64705d}.reference-upload-field #reference-selection{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.reference-upload-field #reference-selection:empty{display:none}.reference-upload-field .reference-chip{max-width:100%;padding:6px}.reference-upload-field .reference-chip img{width:48px;height:56px}.reference-upload-field .reference-chip .button{min-height:40px;padding:7px 9px;font-size:.8125rem}@media(max-width:760px){.production-inputs{gap:0}.reference-upload-field{width:100%;margin-bottom:24px}.reference-source-actions{padding:10px;gap:10px}.reference-source-actions .button{padding:10px 8px;font-size:.875rem}}
.production-inputs>.reference-upload-field{margin:20px 0 0}.reference-upload-field legend{margin-bottom:6px}.reference-source-actions{padding:0;border:0;background:transparent;border-radius:0}.reference-source-actions .button{min-height:51px;border-color:#a9b19d}.reference-upload-field .reference-limit{margin-top:8px}@media(max-width:760px){.production-inputs>.reference-upload-field{margin:20px 0 0}.reference-source-actions{padding:0}}

.reference-source-actions svg{flex-shrink:0;color:#61744f}
.reference-source-actions .button{display:inline-flex;align-items:center;justify-content:center;flex-wrap:nowrap;white-space:nowrap}.reference-source-actions .button svg{width:18px;height:18px}@media(max-width:760px){.reference-source-actions .button{font-size:14px;padding:10px 6px;gap:6px;min-width:0}}
#revision-form>label:not(.checkbox-label){display:block!important}#revision-form textarea{display:block;width:100%;margin-top:8px;min-height:120px;resize:vertical}#revision-form>.button{width:100%;margin-top:12px}.mobile-next[hidden]{display:none!important}
@media(max-width:900px){.review-next .music-options{grid-template-columns:minmax(0,1fr)}}
.video-export-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.previous-edits{margin-left:auto;font-size:.875rem}.previous-edits summary{cursor:pointer}.previous-edits[open]{flex-basis:100%;margin-left:0}.previous-edits .action-group{padding-top:12px}
.edit-options{display:grid;gap:12px;margin:20px 0}
.edit-option{display:flex!important;align-items:flex-start;gap:12px;padding:14px;border:1px solid #d7dbcf;border-radius:12px;background:#f7f8f3;cursor:pointer}
.edit-option input{flex:0 0 18px;margin-top:4px}.edit-option span{display:grid;gap:4px}.edit-option small{font-size:.875rem;line-height:1.45;color:#59634f}
#edit-form{display:grid;gap:16px}#edit-form textarea{min-height:100px}#edit-form .fine{margin:0}#edit-form .edit-options{margin:4px 0}
@media(max-width:600px){.video-export-actions>.button{flex:1;text-align:center}.previous-edits{width:100%;margin:0}}
#edit-form>label{display:grid;gap:8px;margin:0}#edit-form>label>.muted{display:inline}#edit-form textarea{width:100%;box-sizing:border-box}
.review-film .export-body.video-export-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:12px;padding:16px 0}
#edit-form .edit-option{margin:0}.review-next #edit-form label.edit-option{display:flex;gap:12px}
.review-film .export-body.video-export-actions{flex-direction:row}.review-film .video-export-actions>.button{margin:0}
.review-next{scroll-margin-top:110px}
.language-control{display:inline-flex;align-items:center;gap:10px;margin:0;font-size:13px}.language-control select{min-height:40px;width:auto;max-width:160px;padding:8px 30px 8px 12px;border-radius:9px;background-color:#fff}.auth-language{display:flex;justify-content:flex-end;margin:0 0 24px}.auth-language>span{color:#68765b}.customer-auth{display:grid;gap:18px}.customer-auth label{display:grid;gap:8px;margin:0}.customer-auth .button{width:100%;justify-content:space-between}.customer-auth .fine{margin:0}.auth-secondary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px}.code-input{font-size:28px;letter-spacing:9px;text-align:center}.admin-access{border-top:1px solid #dedfd5;margin-top:28px;padding-top:18px;color:#68765b;font-size:13px}.admin-access form{margin-top:16px}.credits-button{display:inline-flex;gap:10px;align-items:center;white-space:nowrap}.credit-balance{display:flex;align-items:center;gap:40px;margin-bottom:28px;padding:26px}.credit-balance>div{display:grid;gap:8px;min-width:180px}.credit-balance strong{font-size:48px;font-weight:700;line-height:1}.credit-balance p{max-width:680px;margin:0}.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:36px 0 24px}.price-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:16px;background:white;border:1px solid #c7ccbd;border-radius:18px;padding:28px}.price-card h2,.price-card p{margin:0}.price-card .price{font-size:38px;font-weight:700;letter-spacing:-1px}.price span{font-size:13px;letter-spacing:0;font-weight:400}.price-card .button{margin-top:auto;width:100%;justify-content:center}.price-card small{color:#68765b;align-self:center}.price-card.featured{border:2px solid #758663;background:#fbfcf8}.price-label{position:absolute;top:-15px;left:20px;background:#e6eddd;padding:5px 12px;font-size:12px;border-radius:20px;color:#4c5d3d}.price-card .eyebrow{min-height:36px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.language-control:focus-within{outline:2px solid #758663;outline-offset:3px;border-radius:9px}
@media(max-width:1000px){.pricing-grid{gap:12px}.price-card{padding:22px}}
@media(max-width:650px){.pricing-grid{grid-template-columns:1fr;gap:28px}.price-card{padding:26px}.price-card .eyebrow{min-height:0}.credit-balance{align-items:flex-start;flex-direction:column;gap:20px}.credits-button{font-size:12px;min-height:40px;padding:8px 10px}.language-control select{max-width:112px;font-size:13px}.login-form{padding:30px 22px}}

.customer-auth .error:empty{display:none}.customer-auth .error{margin:0}.login-form>div>.fine{margin:22px 0 0}.login-form>div>h2{margin:12px 0 18px}.login-form>div>.muted{margin:0 0 24px}.login-form .customer-auth .button{margin-top:4px}.customer-auth label>.muted{display:inline}

@media(max-width:760px){.login-art{min-width:0;padding:26px 28px}.login-copy{margin-top:24px}.login-copy .eyebrow,.login-copy>p:last-child{display:none}.login-copy h1{font-size:32px;line-height:1.12;letter-spacing:-1.5px;margin:20px 0 0;overflow-wrap:anywhere}.login-copy h1 br{display:initial}.login-form{padding:28px 22px}.login-form>div{width:100%;max-width:420px}.login-form .auth-language{margin-bottom:18px}.orbit{pointer-events:none}}

@media(max-width:760px){}

/* Workspace header: shared control geometry across all routes and locales. */
.topbar{height:76px;min-height:76px;padding:0 32px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:13px}
.topbar #breadcrumb{min-width:0;color:#54584f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar #breadcrumb>span{padding:0 8px;color:#a8ada1}
.topbar .topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:nowrap;flex-shrink:0;color:#505a49}
.topbar .queue-status{display:inline-flex;align-items:center;gap:9px;margin-right:8px;padding-right:20px;border-right:1px solid var(--line);font-size:12px;white-space:nowrap;color:#66735d}
.topbar .live-dot{flex:none;margin:0}
.topbar .credits-button,.topbar .header-language select,.topbar .mobile-logout{height:44px;min-height:44px;margin:0;border:1px solid #d6dbcf;border-radius:10px;background:#fff;color:#30392a;font-size:13px;font-weight:500;line-height:20px;box-shadow:none;transition:background .18s,border-color .18s}
.topbar .credits-button{padding:0 14px;gap:12px;white-space:nowrap}
.topbar #credits-label{font-size:13px;line-height:20px}
.topbar svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}
.topbar .credits-button>svg{width:15px;height:15px;color:#758367}
.topbar .header-language{position:relative;display:block;width:148px;height:44px;min-width:0;margin:0}
.topbar .header-language select{appearance:none;-webkit-appearance:none;display:block;width:100%;max-width:none;min-width:0;padding:0 32px 0 37px;cursor:pointer}
.topbar .header-language>svg{position:absolute;top:14px;pointer-events:none;color:#78846c;z-index:1}
.topbar .language-globe{left:12px}.topbar .language-chevron{right:10px;width:14px}
.topbar .credits-button:hover,.topbar .header-language select:hover,.topbar .mobile-logout:hover{background:#f0f3eb;border-color:#a9b49c}
.topbar .header-language:focus-within{outline:none}
.topbar .header-language select:focus-visible{outline:3px solid #75866365;outline-offset:3px;border-color:#758663}
.topbar .mobile-logout{display:none;width:44px;padding:0;align-items:center;justify-content:center}
@media(max-width:1100px){.topbar{padding:0 24px;gap:16px}.topbar .queue-status{display:none}}
@media(max-width:760px){.topbar{height:68px;min-height:68px;padding:12px 18px;display:block}.topbar #breadcrumb{display:none}.topbar .topbar-actions{display:grid;grid-template-columns:minmax(0,1fr) 148px 44px;gap:10px;width:100%}.topbar .header-language{width:148px}.topbar .credits-button{min-width:0;justify-content:center}.topbar #credits-label{overflow:hidden;text-overflow:ellipsis}.topbar .mobile-logout{display:inline-flex}}
@media(max-width:360px){.topbar{padding-inline:12px}.topbar .topbar-actions{grid-template-columns:minmax(0,1fr) 120px 44px;gap:8px}.topbar .header-language{width:120px}.topbar .header-language select{padding-left:31px;padding-right:24px;font-size:12px}.topbar .language-globe{left:9px;width:14px}.topbar .language-chevron{right:7px;width:12px}.topbar .credits-button{padding-inline:9px;gap:7px}.topbar #credits-label{font-size:12px}}

/* The brand descriptor uses compact localizations and stays intact on one line. */
.sidebar .sidebar-label{white-space:nowrap;font-size:10px;line-height:1.5;letter-spacing:1.4px}

/* Action intent: pale green advances work; terracotta dismisses or rejects it. */
:root{--action-positive:#e2ecd6;--action-positive-hover:#d3e2c1;--action-positive-border:#b2c39f;--action-positive-ink:#304326;--action-negative:#bb431f;--action-negative-hover:#a43819}
.button.primary,.button.orange{background:var(--action-positive);border-color:var(--action-positive-border);color:var(--action-positive-ink)}
.button.primary:hover,.button.orange:hover{background:var(--action-positive-hover);border-color:#92a77e;color:#263a1d}
.button.danger,.button.danger.ghost{background:var(--action-negative);border:1px solid var(--action-negative);color:#fff}
.button.danger:hover,.button.danger.ghost:hover{background:var(--action-negative-hover);border-color:var(--action-negative-hover);color:#fff}
.button.primary:focus-visible,.button.orange:focus-visible{outline-color:#75866399}
.button.danger:focus-visible{outline-color:#bb431f66}

/* Sign-in locale is a page utility, separate from the authentication form. */
.login-layout{position:relative}
.auth-utilities{position:absolute;top:44px;right:48px;z-index:2}
.auth-utilities .auth-language{position:relative;display:block;width:148px;height:44px;margin:0}
.auth-utilities .auth-language select{appearance:none;-webkit-appearance:none;width:100%;max-width:none;height:44px;min-height:44px;margin:0;padding:0 32px 0 37px;border:1px solid #d6dbcf;border-radius:10px;background:#fff;color:#30392a;font-size:13px;font-weight:500;line-height:20px;cursor:pointer;transition:background .18s,border-color .18s}
.auth-utilities svg{position:absolute;top:14px;width:16px;height:16px;fill:none;stroke:#78846c;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;z-index:1}
.auth-utilities .language-globe{left:12px}.auth-utilities .language-chevron{right:10px;width:14px}
.auth-utilities select:hover{background:#f0f3eb;border-color:#a9b49c}
.auth-utilities .auth-language:focus-within{outline:none}
.auth-utilities select:focus-visible{outline:3px solid #75866365;outline-offset:3px;border-color:#758663}
.login-form{padding-top:104px;padding-bottom:64px}
@media(max-width:760px){.auth-utilities{top:20px;right:22px}.auth-utilities .auth-language{width:132px}.login-art{min-height:0;padding:28px 22px 26px}.login-art>.wordmark{display:inline-block;font-size:28px;letter-spacing:-1.5px;line-height:28px;max-width:calc(100% - 144px)}.login-copy{margin-top:32px}.login-form{padding:30px 22px 38px}}
@media(max-width:360px){.auth-utilities{right:18px}.auth-utilities .auth-language{width:124px}.auth-utilities .auth-language select{font-size:12px;padding-left:33px;padding-right:25px}.auth-utilities .language-globe{left:10px}.auth-utilities .language-chevron{right:7px}.login-art{padding-left:18px;padding-right:18px}.login-art>.wordmark{max-width:calc(100% - 136px)}}

.login-form>div>h2{line-height:1.2;text-wrap:balance}

/* Imaginou brand: a baseline coral square, scaled with the wordmark. */
:root{--brand-coral:#ed6336}
.wordmark>.brand-square,.sidebar .wordmark>.brand-square{display:inline-block;width:.2em;height:.2em;margin-left:.07em;font-size:inherit;line-height:0;letter-spacing:0;vertical-align:baseline;background:var(--brand-coral)}

.share-dialog{width:min(580px,calc(100vw - 32px));padding:28px}.share-dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.share-dialog-heading .eyebrow{font-size:10px;letter-spacing:1.5px;margin:0 0 10px;color:#68765b}.share-dialog-heading h2{margin:0;font-size:26px;line-height:1.2}.share-dialog>p{line-height:1.7;color:#67715f}.share-dialog .error{color:#a33827}.share-result{display:grid;gap:18px}.share-result label,.share-dialog>label{display:grid;gap:8px;font-size:13px;font-weight:600}.share-result input,.share-dialog select{margin:0;min-width:0;font-weight:400;font-size:14px}.share-link-actions{display:flex;flex-wrap:wrap;gap:10px}.share-result>[data-share-revoke]{justify-self:start;margin-top:8px}.share-dialog .fine:empty,.share-dialog .error:empty{display:none}@media(max-width:480px){.share-dialog{padding:22px}.share-dialog-heading{gap:12px}.share-link-actions{display:grid}.share-dialog-heading h2{font-size:23px}}
