:root{--s-bg:var(--tmp-colour-paper);--s-tint:#eeebe3;--s-surface:#fffefb;--s-ink:var(--tmp-colour-ink);--s-ink-strong:#131a30;--s-text:var(--tmp-colour-ink);--s-muted:#565e72;--s-subtle:#5f6678;--s-line:#e2ddd2;--s-line-strong:#cbc4b6;--s-accent:#e0522f;--s-accent-ink:#b33f20;--s-good:var(--tmp-colour-band-good);--s-warn-bg:#fbf3e4;--s-warn-line:#e6c88f;--s-warn-ink:#6e4b0c;--s-ok-bg:var(--tmp-colour-success-bg);--s-ok-line:var(--tmp-colour-success-line);--s-radius:14px;--s-radius-sm:10px;--s-shadow-sm:0 1px 2px #131a300f, 0 1px 1px #131a300a;--s-shadow-md:0 14px 30px -16px #131a304d, 0 2px 6px -2px #131a3014;--s-focus:0 0 0 3px #1e2a4a2e;--s-ease:var(--tmp-motion-ease)}html{background:var(--s-bg)}body{background:var(--s-bg);color:var(--s-text);font:15px/1.5 var(--tmp-font-body);-webkit-font-smoothing:antialiased;margin:0}.studio{min-height:100vh}.studio h2{color:var(--s-ink);letter-spacing:-.025em;margin:0 0 6px;font-size:1.5rem;font-weight:700;line-height:1.2}.studio h3{color:var(--s-ink);letter-spacing:-.01em;margin:0 0 10px;font-size:.9375rem;font-weight:650}.studio p{margin:0 0 10px}.studio a{color:var(--s-ink);text-underline-offset:3px}.studio button{border:1px solid var(--s-line-strong);border-radius:var(--s-radius-sm);background:var(--s-surface);min-height:36px;box-shadow:var(--s-shadow-sm);color:var(--s-ink);font:500 .875rem/1.2 var(--tmp-font-body);cursor:pointer;transition:border-color .14s var(--s-ease), background-color .14s var(--s-ease), box-shadow .14s var(--s-ease);justify-content:center;align-items:center;gap:6px;padding:0 14px;display:inline-flex}.studio button:hover:not(:disabled){border-color:var(--s-ink)}.studio button:focus-visible,.studio input:focus-visible,.studio select:focus-visible,.studio summary:focus-visible,.studio a:focus-visible{box-shadow:var(--s-focus);outline:none}.studio button:disabled{opacity:.45;cursor:default;box-shadow:none}.studio button[aria-pressed=true]{border-color:var(--s-ink);background:var(--s-ink);color:var(--s-bg)}.studio .btn-primary{border-color:var(--s-ink);background:var(--s-ink);min-height:46px;box-shadow:inset 0 1px 0 #ffffff1f, var(--s-shadow-sm);color:var(--s-bg);padding:0 22px;font-size:.9375rem;font-weight:600}.studio .btn-primary:hover:not(:disabled){background:var(--s-ink-strong);box-shadow:inset 0 1px 0 #ffffff1f, var(--s-shadow-md)}.studio .btn-armed{border-color:var(--s-accent);background:var(--s-accent)}.studio .btn-ghost{box-shadow:none;background:0 0;border-color:#0000}.studio .btn-ghost:hover:not(:disabled){border-color:var(--s-line-strong);background:var(--s-surface)}.studio .btn-small{min-height:30px;padding:0 10px;font-size:.8125rem}.studio input[type=text],.studio input[type=number],.studio input[type=url],.studio input:not([type]),.studio select{border:1px solid var(--s-line-strong);border-radius:var(--s-radius-sm);background:var(--s-surface);min-height:38px;color:var(--s-ink);font:500 .9375rem var(--tmp-font-body);padding:0 11px}.studio input:not([type]):focus,.studio input[type=text]:focus,.studio input[type=number]:focus,.studio input[type=url]:focus,.studio select:focus{border-color:var(--s-ink)}.studio input[type=range]{width:100%;accent-color:var(--s-ink)}.studio input[type=checkbox],.studio input[type=radio]{width:16px;height:16px;accent-color:var(--s-ink);vertical-align:-3px;margin:0}.studio fieldset{border:0;min-width:0;margin:0;padding:0}.studio legend{color:var(--s-muted);margin-bottom:8px;padding:0;font-size:.8125rem;font-weight:600}.studio details>summary{color:var(--s-ink);cursor:pointer;align-items:center;gap:8px;padding:10px 0;font-weight:600;list-style:none;display:flex}.studio details>summary::-webkit-details-marker{display:none}.studio details>summary:before{content:"";border-right:2px solid var(--s-muted);border-bottom:2px solid var(--s-muted);width:7px;height:7px;transition:transform .14s var(--s-ease);transform:rotate(-45deg)}.studio details[open]>summary:before{transform:rotate(45deg)}.s-card{border:1px solid var(--s-line);border-radius:var(--s-radius);background:var(--s-surface);box-shadow:var(--s-shadow-sm);padding:20px}.s-section+.s-section{border-top:1px solid var(--s-line);margin-top:22px;padding-top:20px}.s-lede{max-width:44em;color:var(--s-muted)}.s-row{flex-wrap:wrap;align-items:center;gap:10px 14px;display:flex}.s-field{color:var(--s-muted);gap:6px;font-size:.8125rem;font-weight:600;display:grid}.s-field input{width:9.5em}.s-field--narrow input{width:5em}.s-check{color:var(--s-text);cursor:pointer;align-items:center;gap:8px;font-size:.875rem;display:inline-flex}.s-segmented{border:1px solid var(--s-line-strong);border-radius:var(--s-radius-sm);background:var(--s-bg);padding:3px;display:inline-flex}.studio .s-segmented button{min-height:30px;box-shadow:none;color:var(--s-muted);background:0 0;border-color:#0000;padding:0 12px}.studio .s-segmented button[aria-pressed=true]{border-color:var(--s-line);background:var(--s-surface);box-shadow:var(--s-shadow-sm);color:var(--s-ink)}.s-chips{flex-wrap:wrap;gap:6px;display:flex}.studio .s-chips button{border-radius:999px;min-height:32px;padding:0 12px;font-size:.8125rem}.s-chip{border:1px solid var(--s-line);background:var(--s-bg);color:var(--s-ink);border-radius:999px;align-items:center;gap:6px;padding:3px 10px;font-size:.8125rem;font-weight:500;display:inline-flex}.s-chip--strong{border-color:var(--s-ink);background:var(--s-ink);color:var(--s-bg)}.s-notice{border:1px solid var(--s-warn-line);border-radius:var(--s-radius-sm);background:var(--s-warn-bg);color:var(--s-warn-ink);margin:12px 0 0;padding:10px 14px;font-size:.875rem}.s-notice--ok{border-color:var(--s-ok-line);background:var(--s-ok-bg);color:#2f4a14}.s-notice--error{color:#8a2417;background:#fbecea;border-color:#e3a49b}.s-hint{color:var(--s-subtle);font-size:.8125rem}.s-mono{font-family:var(--tmp-font-mono);font-size:.8125rem}.app-header{z-index:20;-webkit-backdrop-filter:saturate(1.4)blur(12px);background:#f6f4efe6;border-bottom:1px solid #cbc4b699;position:sticky;top:0}.app-header__inner{align-items:center;gap:20px;max-width:1320px;height:64px;margin:0 auto;padding:0 20px;display:flex}.app-brand{color:var(--s-ink);letter-spacing:-.02em;flex:none;align-items:center;gap:10px;margin:0;font-size:1rem;font-weight:700;text-decoration:none;display:inline-flex}.app-header__actions{flex:none;gap:4px;margin-left:auto;display:flex}.stepper{align-items:center;gap:4px;margin:0 auto;padding:0;list-style:none;display:flex}.stepper__item{align-items:center;gap:4px;display:flex}.stepper__item+.stepper__item:before{content:"";background:var(--s-line-strong);width:18px;height:1px}.studio .stepper button{min-height:34px;box-shadow:none;color:var(--s-muted);background:0 0;border-color:#0000;border-radius:999px;gap:8px;padding:0 12px 0 6px;font-weight:500}.studio .stepper button:hover:not(:disabled){border-color:var(--s-line-strong);background:var(--s-surface)}.stepper__num{border:1px solid var(--s-line-strong);background:var(--s-surface);border-radius:50%;place-items:center;width:22px;height:22px;font-size:.75rem;font-weight:600;display:inline-grid}.studio .stepper button[aria-current=step]{color:var(--s-ink);font-weight:650}.studio .stepper button[aria-current=step] .stepper__num{border-color:var(--s-ink);background:var(--s-ink);color:var(--s-bg)}.studio .stepper button:disabled{opacity:.5}.app-main{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:22px;max-width:1320px;margin:0 auto;padding:22px 20px 64px;display:grid}.workspace{border:1px solid var(--s-line);background:var(--s-surface);min-width:0;box-shadow:var(--s-shadow-sm);border-radius:18px;padding:clamp(18px,2.4vw,28px)}.side{gap:14px;display:grid;position:sticky;top:86px}.side-card{border:1px solid var(--s-line);border-radius:var(--s-radius);background:var(--s-surface);box-shadow:var(--s-shadow-sm);padding:16px}.side-card h3{margin-bottom:8px}.side-meta{color:var(--s-muted);margin:0;font-size:.8125rem;line-height:1.5}.side-meta strong{color:var(--s-ink);text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;display:block;overflow:hidden}.side-figures{flex-wrap:wrap;gap:6px;margin:10px 0 0;display:flex}.side-figures p{margin:0}.side-footer{color:var(--s-subtle);gap:10px;padding:4px 4px 0;font-size:.8125rem;display:grid}.side-footer label{justify-content:space-between;align-items:center;gap:10px;display:flex}.side-footer select{min-height:32px;font-size:.8125rem}.side-footer nav{flex-wrap:wrap;gap:12px;display:flex}.side-footer nav a{color:var(--s-subtle)}.poster-preview{background:var(--s-tint);border-radius:8px;width:100%;height:auto;display:block}.screen-head{margin-bottom:22px}.drop-zone{border:1.5px dashed var(--s-line-strong);background:radial-gradient(100% 120% at 50% 0%, #fff 0%, #fff0 70%), var(--s-bg);text-align:center;transition:border-color .14s var(--s-ease), background-color .14s var(--s-ease);border-radius:16px;justify-items:center;gap:14px;padding:clamp(36px,7vw,72px) 24px;display:grid}.drop-zone:hover{border-color:var(--s-ink)}.drop-zone__icon{border:1px solid var(--s-line);background:var(--s-surface);width:52px;height:52px;box-shadow:var(--s-shadow-sm);color:var(--s-ink);border-radius:14px;place-items:center;display:grid}.drop-zone__title{color:var(--s-ink);margin:0;font-size:1.0625rem;font-weight:650}.drop-zone__actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.recent-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.recent-list li{border:1px solid var(--s-line);border-radius:var(--s-radius-sm);background:var(--s-bg);flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;display:flex}.studio .recent-list li>button:first-child{box-shadow:none;background:0 0;border-color:#0000;margin-right:auto;font-weight:600}.option-cards{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;display:grid}.summary-list{border:1px solid var(--s-line);border-radius:var(--s-radius);background:var(--s-bg);grid-template-columns:max-content 1fr;gap:10px 24px;margin:0 0 18px;padding:16px 18px;display:grid}.summary-list dt{color:var(--s-muted);font-size:.875rem}.summary-list dd{color:var(--s-ink);flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-weight:600;display:flex}.format-list{gap:8px;display:grid}.format-option{border:1px solid var(--s-line);border-radius:var(--s-radius-sm);background:var(--s-surface);cursor:pointer;align-items:center;gap:10px;padding:12px 14px;display:flex}.format-option:has(input:checked){border-color:var(--s-ink);box-shadow:var(--s-focus)}.export-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px;display:flex}.export-done{border:1px solid var(--s-ok-line);border-radius:var(--s-radius);background:var(--s-ok-bg);gap:8px;margin-top:16px;padding:16px 18px;display:grid}.export-done a{border-radius:var(--s-radius-sm);background:var(--s-ink);color:var(--s-bg);justify-self:start;padding:10px 18px;font-weight:600;text-decoration:none}.pro-card{background:radial-gradient(90% 120% at 100% 0%, #e0522f38 0%, #e0522f00 60%), var(--s-ink);color:var(--s-bg);border-radius:16px;margin-top:22px;padding:20px}.studio .pro-card h3{color:#fff;font-size:1.125rem}.pro-card p{color:#f6f4efd1}.studio .pro-card button{box-shadow:none;color:var(--s-bg);background:0 0;border-color:#f6f4ef59}.studio .pro-card .btn-primary{border-color:var(--s-bg);background:var(--s-bg);color:var(--s-ink)}.studio .pro-card input{color:#fff;background:#ffffff14;border-color:#f6f4ef59}.pro-card label{color:#f6f4efd1}@media (width<=1100px){.stepper__label{display:none}.studio .stepper button{padding:0 6px}.studio .stepper button[aria-current=step] .stepper__label{display:inline}}@media (width<=860px){.app-main{grid-template-columns:1fr;padding:14px 12px 120px}.side{position:static}.app-header__inner{gap:10px;height:56px;padding:0 12px}.app-brand__name,.app-action__label{display:none}.studio .app-action{min-width:40px;padding:0 8px}.app-header__actions{gap:0}.stepper__item+.stepper__item:before{width:8px}}@media (prefers-reduced-motion:reduce){.studio *,.studio :before,.studio :after{transition:none!important}}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=520px){.studio .stepper button[aria-current=step] .stepper__label{display:none}.studio .stepper button{min-width:44px;min-height:44px;padding:0}.stepper,.stepper__item{gap:0}.stepper__item+.stepper__item:before{display:none}.stepper__num{width:26px;height:26px}.app-header__inner{gap:6px;padding:0 10px}.studio .app-action{min-width:44px;min-height:44px;padding:0}.s-dims{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);display:grid}.s-dims .s-field input{width:100%!important}.s-dims>.s-segmented{grid-column:1/-1;justify-self:start}}@media (width<=700px),(pointer:coarse){.studio .stepper button,.studio .app-action{min-height:44px}}.cal-step{justify-items:start;gap:12px;display:grid}.studio .cal-step h3{margin:4px 0 0}.cal-step fieldset label{align-items:center;gap:8px;display:inline-flex}@media (width<=700px),(pointer:coarse){button,select,summary,input[type=checkbox]+span,input[type=radio]+span{min-height:44px}button{min-width:44px;padding:8px 12px}select,input[type=text],input[type=number]{box-sizing:border-box;min-height:44px;padding:6px 8px}input[type=range]{min-height:44px}}
