/* OneShot Meadow: UI chrome only. Media, canvas and generated artwork retain
   their own colors. Loaded after the older theme sheets on every app page. */
html[data-ui-palette="sage"] {
  --cap-ink:#242c29; --cap-muted:#67715f; --cap-paper:#fffdf5;
  --cap-window:#e3e8d5; --cap-ground:#a5b98a; --cap-field:#f3f3e7;
  --cap-edge:#aeb69e; --cap-base:#a2ab92; --cap-divider:#d4d9c7;
  --cap-orange:#f3a824; --cap-orange-hover:#ffb937; --cap-orange-edge:#ad7418;
  --cap-selected:#dbe7c9; --cap-selected-edge:#7d9762; --cap-blue:#397eac;
  --cap-purple:#87649b; --cap-shadow:#38472e24;
  --cap-type-meta:11px; --cap-type-small:12px; --cap-type-ui:13px;
  --cap-type-body:14px; --cap-type-lead:16px; --cap-type-card:20px;
  --cap-type-section:clamp(26px,2.5vw,34px); --cap-type-hero:clamp(34px,3.5vw,48px); --cap-font:-apple-system,BlinkMacSystemFont,"Inter","PingFang SC","Hiragino Sans GB",sans-serif;
  background:var(--cap-ground); scroll-padding-top:88px;
}
html[data-ui-palette="sage"][data-ui-theme="dark"] {
  --cap-ink:#e9edde; --cap-muted:#a9b5a0; --cap-paper:#303a31;
  --cap-window:#28352b; --cap-ground:#1b281e; --cap-field:#354132;
  --cap-edge:#5c6c53; --cap-base:#101b12; --cap-divider:#43513e;
  --cap-selected:#42543a; --cap-selected-edge:#8baf70; --cap-blue:#8dc1e1;
  --cap-purple:#87649b; --cap-shadow:#0004;
}
html[data-ui-palette="sage"][data-ui-theme="dark"] body#oneshot-web.keycap-ui {color-scheme:dark}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui {
  --ui-bg:var(--cap-window)!important; --ui-canvas:var(--cap-field)!important;
  --ui-surface:var(--cap-paper)!important; --ui-raised:var(--cap-field)!important;
  --ui-hover:var(--cap-selected)!important; --ui-border:var(--cap-edge)!important;
  --ui-divider:var(--cap-divider)!important; --ui-text:var(--cap-ink)!important;
  --ui-secondary:var(--cap-ink)!important; --ui-muted:var(--cap-muted)!important;
  --ui-disabled:#929b88!important; --ui-accent:var(--cap-selected-edge)!important;
  --ui-primary:var(--cap-orange)!important; --ui-primary-hover:var(--cap-orange-hover)!important;
  --ui-primary-border:var(--cap-orange-edge)!important; --ui-primary-fill:var(--cap-orange)!important;
  --ui-primary-hover-fill:var(--cap-orange-hover)!important; --ui-on-primary:#242713!important;
  --ui-selected:var(--cap-selected)!important; --ui-selected-border:var(--cap-selected-edge)!important;
  --ui-focus:var(--cap-blue)!important; --ui-scrollbar:var(--cap-base)!important;
  --bg:var(--cap-window)!important; --surface:var(--cap-paper)!important;
  --raised:var(--cap-field)!important; --panel:var(--cap-paper)!important;
  --border:var(--cap-edge)!important; --line:var(--cap-divider)!important;
  --text:var(--cap-ink)!important; --ink:var(--cap-ink)!important;
  --muted:var(--cap-muted)!important; --accent:var(--cap-selected-edge)!important;
  --purple:var(--cap-purple)!important; --clay:var(--cap-orange)!important;
  --clay-hover:var(--cap-orange-hover)!important; --clay-soft:var(--cap-selected)!important;
  --studio-bg:var(--cap-window)!important; --studio-surface:var(--cap-paper)!important;
  --studio-raised:var(--cap-field)!important; --studio-border:var(--cap-divider)!important;
  --studio-text:var(--cap-ink)!important; --studio-muted:var(--cap-muted)!important;
  --studio-accent:var(--cap-selected-edge)!important;
  --site-bg:var(--cap-window)!important; --site-card:var(--cap-paper)!important;
  --site-ink:var(--cap-ink)!important; --site-muted:var(--cap-muted)!important;
  --site-line:var(--cap-edge)!important; --site-accent:var(--cap-orange)!important;
  --font:var(--cap-font)!important;
  font-family:var(--cap-font); color:var(--cap-ink); color-scheme:light;
  background:var(--cap-ground) url('/assets/studio/creative-meadow.svg') center/cover fixed;
  -webkit-font-smoothing:antialiased;
}
html[data-ui-palette="sage"][data-ui-theme="dark"] body#oneshot-web.keycap-ui {color-scheme:dark; background-image:linear-gradient(#112019a6,#112019a6),url('/assets/studio/creative-meadow.svg')}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui :is(button,input,textarea,select,summary) {font-family:var(--cap-font)}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui ::selection {background:#d6b6ec;color:#242c29}

/* Keycaps: a highlighted top face, a solid side wall, then a small cast shadow.
   Keep drag handles, timeline clips, canvas overlays and card hit areas flat. */
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui :is(button,.button,.landing-button,.site-button,.primary-button,.secondary-button,.quiet-button,.workspace-tool-link,summary.quiet-button,#app-menu>summary):not(:where(.demo-asset,.demo-stage-play,.showcase-play,.scene-card,.media-item,.timeline-clip,.layer-clip,.track-clip,.clip-trim,.big-play,[data-clip],[data-layer],[data-preview],[role="separator"],[role="slider"],.panel-drag-handle,.workspace-view-toggle,.smart-effect-choice)) {
  --key-fill:var(--cap-paper); --key-edge:var(--cap-edge); --key-base:var(--cap-base); --key-ink:var(--cap-ink); --key-depth:3px;
  color:var(--key-ink)!important; background:var(--key-fill)!important;
  border:1px solid var(--key-edge)!important; border-radius:7px!important;
  box-shadow:inset 0 1px 0 #ffffffa6,0 var(--key-depth) 0 var(--key-base),0 5px 5px #25301e0c!important;
  text-shadow:none!important; font-weight:550; letter-spacing:0;
  translate:0 0; scale:1!important; transform-origin:center;
  transition:translate .18s cubic-bezier(.2,.8,.2,1),box-shadow .18s cubic-bezier(.2,.8,.2,1),background-color .16s,border-color .16s!important;
  -webkit-tap-highlight-color:transparent;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui :is(.landing-primary,.site-primary,.primary-button,.button.accent,.jelly-primary,#export-button,#render-button,#create-button,#generate-button,.clip-selection-primary,.clip-content-apply,.clip-fx-primary,.chat-send,.icon-send):not(:disabled):not([aria-disabled="true"]) {
  --key-fill:var(--cap-orange)!important; --key-edge:var(--cap-orange-edge)!important;
  --key-base:var(--cap-orange-edge)!important; --key-ink:#242713!important;
  background:var(--key-fill)!important; color:var(--key-ink)!important; border-color:var(--key-edge)!important;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui :is(.landing-primary,.site-primary,.primary-button,.button.accent,#export-button,#render-button,#create-button,#generate-button,.chat-send,.icon-send) * {color:inherit!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui :is(button,.button,.landing-button,.site-button,.primary-button,.secondary-button,.quiet-button,.workspace-tool-link,summary.quiet-button,#app-menu>summary):not(:where(.demo-asset,.demo-stage-play,.showcase-play,.scene-card,.timeline-clip,.layer-clip,[data-clip],[data-layer],[data-preview],[role="separator"],[role="slider"],.panel-drag-handle,.workspace-view-toggle)):is(:active,.jelly-pressed):not(:disabled):not([aria-disabled="true"]) {
  translate:0 3px!important; box-shadow:inset 0 1px 2px #24301b12,0 0 0 var(--key-base)!important; transition-duration:.07s!important;
}
@media(hover:hover) {
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui :is(button,.button,.landing-button,.site-button,.primary-button,.secondary-button,.quiet-button,.workspace-tool-link,summary.quiet-button,#app-menu>summary):not(:where(.demo-asset,.demo-stage-play,.showcase-play,.scene-card,.timeline-clip,.layer-clip,[data-clip],[data-layer],[data-preview],[role="separator"],[role="slider"],.panel-drag-handle,.workspace-view-toggle)):hover:not(:disabled):not([aria-disabled="true"]):not(.jelly-pressed) {
    translate:0 -1px; box-shadow:inset 0 1px 0 #fffc,0 4px 0 var(--key-base),0 7px 8px #25301e12!important; border-color:var(--cap-selected-edge)!important;
  }
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui :is(.landing-primary,.primary-button,.button.accent,.site-primary,#export-button,#render-button,#generate-button):hover:not(:disabled) {--key-fill:var(--cap-orange-hover)!important}
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui :is(button,.button,.site-button,.primary-button,.secondary-button):is(:disabled,[aria-disabled="true"]) {
  --key-fill:var(--cap-field)!important; --key-edge:var(--cap-divider)!important; --key-base:var(--cap-divider)!important; --key-ink:var(--cap-muted)!important;
  background:var(--key-fill)!important;color:var(--key-ink)!important;border-color:var(--key-edge)!important;
  box-shadow:0 2px 0 var(--key-base)!important;opacity:.65;translate:0 0!important;cursor:not-allowed;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui :is(a,button,summary,input,textarea,select,[tabindex]):focus-visible {
  outline:2px solid var(--cap-blue)!important; outline-offset:4px;
}
html[data-ui-palette="sage"][data-ui-theme].ui-theme-changing body#oneshot-web.keycap-ui :is(button,a,input,textarea,select,summary,.app-shell,.topbar,.landing-nav,.editor-workspace,.sidebar,.resource-panel,.timeline-panel,dialog) {transition:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui :is(button[aria-pressed="true"],button[aria-selected="true"],.segmented button.active,.resource-kind-tabs button.active) {
  --key-fill:var(--cap-selected);--key-edge:var(--cap-selected-edge);--key-base:var(--cap-selected-edge);
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui :is(.ui-theme-toggle,.model-control-button,.app-language-toggle,.landing-language-toggle) {min-height:32px;border-radius:7px!important;color:var(--cap-ink)!important;background:var(--cap-paper)!important;border-color:var(--cap-edge)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui :is(.landing-language-thumb,.app-language-thumb) {background:var(--cap-selected)!important;border-color:var(--cap-selected-edge)!important;border-radius:4px!important;box-shadow:0 1px 0 var(--cap-base)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui :is(.landing-language-option,.app-language-option,.ui-theme-label) {color:var(--cap-ink)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui :is(.landing-language-toggle,.app-language-toggle) {box-shadow:0 2px 0 var(--cap-base)!important}

/* A quiet paper window beneath a continuous, opaque navigation bar. */
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing {overflow-x:hidden}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root {
  --lp-muted:var(--cap-muted);--lp-line:var(--cap-divider);--lp-ink:var(--cap-ink);
  position:relative; width:calc(100% - 64px);max-width:1360px; margin:92px auto 40px;
  background:var(--cap-window)!important;color:var(--cap-ink)!important;
  border:1px solid #f4f6eaa6;border-radius:24px; box-shadow:0 24px 70px #263b2b26,0 2px 0 #6e825e33;
  padding:0 0 24px;isolation:isolate;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root *:not(svg,svg *) {color:inherit}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root :is(h1,h2,h3,h1 *,h2 *,h3 *,summary,.landing-brand,.landing-brand span) {color:var(--cap-ink)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav {
  position:fixed;z-index:100;top:0;left:0;right:0;width:100%;max-width:none;height:68px;
  display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;
  padding:0 clamp(20px,3vw,48px);gap:28px;margin:0;background:var(--cap-window)!important;
  border:0!important;border-bottom:1px solid var(--cap-edge)!important;border-radius:0;
  box-shadow:0 2px 12px #263b2b0a;backdrop-filter:none;-webkit-backdrop-filter:none;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-brand {font-size:22px;font-weight:650;letter-spacing:-.6px;gap:9px;justify-self:start}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-brand img {width:25px;height:25px;filter:brightness(.28)!important}
html[data-ui-palette="sage"][data-ui-theme="dark"] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-brand img {filter:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav-links {gap:24px;justify-self:center}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav-links a {font-size:var(--cap-type-ui);line-height:20px;font-weight:550;color:var(--cap-ink)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav-actions {gap:10px;margin-left:auto;justify-self:end;align-items:center;min-width:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav-actions .landing-button {min-height:34px;padding:8px 15px;font-size:12px;white-space:nowrap}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-hero {display:grid;grid-template-columns:1.05fr 1fr;gap:8%;align-items:center;text-align:left;max-width:none;padding:52px 6% 56px;margin:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-hero h1 {font-size:var(--cap-type-hero);line-height:1.2;letter-spacing:-1.3px;font-weight:650;margin:0 0 20px;max-width:none;text-wrap:balance}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .hero-line {display:block;white-space:nowrap}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-hero h1 strong {display:inline-block;color:var(--cap-blue)!important;background:#9ac5db38;border-radius:6px;padding:0 7px;rotate:-2deg;font-weight:740}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-hero p {font-size:var(--cap-type-lead);line-height:1.75;max-width:440px;margin:0;font-weight:450}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .desktop-start-card {background:var(--cap-paper);border:1px solid var(--cap-edge);padding:24px 26px;border-radius:12px;box-shadow:0 10px 24px var(--cap-shadow)}
.desktop-card-kicker {font:500 var(--cap-type-small)/1.5 var(--cap-font);letter-spacing:.08em;color:var(--cap-muted)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .desktop-start-card h2 {font-size:var(--cap-type-card);line-height:1.4;font-weight:600;letter-spacing:-.3px;margin:8px 0 16px}
.desktop-start-card ul {list-style:none;padding:0;margin:0;display:grid;gap:8px;font-size:var(--cap-type-body);line-height:24px}
.desktop-start-card li {display:flex;align-items:baseline;gap:10px}
.desktop-start-card li::before {content:'✓';color:#769558;font-size:17px;font-weight:600}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-hero-actions {display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0 0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-button {min-height:44px;border-radius:7px!important;font-size:var(--cap-type-ui);line-height:20px;font-weight:600;padding:12px 14px;text-align:center;justify-content:center;box-shadow:inset 0 1px 0 #fff8,0 4px 0 var(--key-base),0 6px 7px #25301e10!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-button:not(.landing-primary) {background:var(--cap-paper)!important;border:1px solid var(--cap-orange-edge)!important;--key-base:var(--cap-orange-edge);--key-edge:var(--cap-orange-edge);color:var(--cap-ink)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-primary {--key-base:var(--cap-orange-edge);--key-edge:var(--cap-orange-edge);background:var(--cap-orange)!important;border-color:var(--cap-orange-edge)!important;color:#242713!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-primary * {color:#242713!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-demo-wrap {padding:0;max-width:none;margin:0 5% 44px;border:1px solid var(--cap-edge);border-radius:12px;overflow:hidden;background:var(--cap-paper)}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-demo {border:0!important;border-radius:11px!important;background:var(--cap-paper)!important;color:var(--cap-muted)!important;box-shadow:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-demo :is(.demo-top,.demo-chat,.demo-assets,.demo-preview,.demo-timeline) {background:var(--cap-paper)!important;border-color:var(--cap-divider)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-demo * {border-color:var(--cap-divider)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-demo :is(.demo-project-name,.demo-panel-label,.demo-chat-request,.demo-chat-response b,.demo-composer-copy) {color:var(--cap-ink)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-demo :is(.demo-chat-request,.demo-edit-list .is-current,.demo-audio-icon,.demo-composer) {background:var(--cap-field)!important;color:var(--cap-ink)!important;border-color:var(--cap-edge)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .demo-export-symbol {background:var(--cap-orange)!important;color:#242713!important;border:1px solid var(--cap-orange-edge)!important;border-radius:5px;box-shadow:0 2px 0 var(--cap-orange-edge)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .demo-composer-send {background:var(--cap-orange)!important;color:#242713!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root :is(.demo-asset-type,.demo-asset-duration) {background:#263222b3!important;color:#fff!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root :is(.demo-mini-wave>*,.demo-summary-dot,.demo-chat-response b>i,.demo-chat-response b>i::after) {background:var(--cap-selected-edge)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .demo-asset.is-current .demo-thumb {outline-color:var(--cap-selected-edge)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .demo-layer {background:#e8dbd4!important;border-color:#b58f79!important;color:#72513c!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .demo-layer-title {background:#e0d9ed!important;border-color:#b6a1ca!important;color:#6b4c82!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .demo-footage {background-color:#cddfea!important;border-color:#93b1c4!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .demo-audio {background:#d5e1c3!important;border-color:#a8bb8a!important;color:#527041!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root :is(.demo-window-dots>*,.demo-header-divider,.demo-timeline-zoom>*) {background:var(--cap-base)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .demo-stage-play {background:transparent!important;box-shadow:none!important;border:0!important;translate:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .demo-stage-play [data-play-icon] {color:#fff!important;background:#263222aa!important;border-color:#fff8!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-demo-caption {margin:0;padding:12px;font-size:var(--cap-type-small);line-height:18px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root :is(.landing-section,.landing-showcase) {max-width:none;margin:0;padding:65px 5%;border-top:1px solid var(--cap-divider);background:transparent!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root :is(.landing-section h2,.landing-showcase h2) {font-weight:600;line-height:1.35;letter-spacing:-.8px;font-size:var(--cap-type-section)}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root :is(.landing-use-card,.landing-workflow-card,.landing-detail) {background:var(--cap-paper)!important;border:1px solid var(--cap-edge)!important;border-radius:10px!important;box-shadow:0 3px 0 var(--cap-divider)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-card {background:var(--cap-paper)!important;border:1px solid var(--cap-edge)!important;border-radius:10px!important;box-shadow:0 3px 0 var(--cap-divider)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .showcase-play {background:#26322266!important;border:1px solid #ffffff99!important;border-radius:50%!important;color:#fff!important;box-shadow:0 5px 18px #1b281b20!important;translate:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root :is(.landing-card-link,.landing-workflow-link) {color:var(--cap-blue)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-footer {margin:10px 5% 0;padding:24px 0 0;border-top:1px solid var(--cap-edge);font-size:11px}

/* Editing chrome: sage shell, ivory panels, warm keycaps and clear focus. */
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.app-shell,.editor-workspace,.workspace,.editing-grid) {background:var(--cap-window)!important;color:var(--cap-ink)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.topbar,.app-header,.site-nav,.auth-nav) {background:var(--cap-window)!important;border-color:var(--cap-edge)!important;color:var(--cap-ink)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.brand,.brand-wordmark,.brand-wordmark>span,.site-brand,.site-brand>span) {color:var(--cap-ink)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.brand-symbol,.site-brand img) {filter:brightness(.28)!important}
html[data-ui-palette="sage"][data-ui-theme="dark"] body#oneshot-web.keycap-ui:not(.is-landing) :is(.brand-symbol,.site-brand img) {filter:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.sidebar,.resource-panel,.timeline-panel,.assets-panel,.inspector,.workspace-card,.auth-card,.pricing-card,.projects-dialog,.project-card,.clip-content-panel,dialog) {background:var(--cap-paper)!important;border-color:var(--cap-edge)!important;color:var(--cap-ink)!important;border-radius:10px!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.panel-header,.resource-panel-header,.resource-filter,.resource-kind-tabs,.panel-title,.ai-panel-heading,.preview-toolbar,.timeline-heading,.player-bar,.preview-caption,.track-headers,.track-label-row,.timeline-ruler,.product-layout-menu,.project-bar) {background:var(--cap-window)!important;border-color:var(--cap-divider)!important;color:var(--cap-ink)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.preview-panel,.preview-stage,.scene-preview,.start-view) {background:var(--cap-field)!important;border-color:var(--cap-edge)!important;color:var(--cap-ink)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(h1,h2,h3,label,.time-display,.resource-tab,.track-name,.project-title,.entry-project-row) {color:var(--cap-ink)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.project-save-status,.edit-project-resume,.entry-subtitle,.entry-eyebrow,.generation-hint,.entry-project-row small,.smart-launch p,.ratio-label,.time-display span,.asset-hint,.project-kicker,.save-status,.preview-caption,.source-links p,small) {color:var(--cap-muted)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.edit-form,.revision-form,.create-card,.entry-bubble,.edit-message.user,.source-links>*,.asset-empty,.no-assets,.smart-effects-card,.edit-context,.smart-effect-choice) {background:var(--cap-field)!important;border-color:var(--cap-edge)!important;color:var(--cap-ink)!important;border-radius:9px!important;box-shadow:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.edit-form,.revision-form,.create-card):focus-within {border-color:var(--cap-selected-edge)!important;box-shadow:0 0 0 3px #8aa16b20!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.edit-message.assistant,.edit-message-text,.entry-answer,.entry-bubble.ai,.scene-fields,.asset-list,.menu-dropdown,.studio-select-popover,.product-layout-menu-list,.model-control-popover,.model-controls-popover) {color:var(--cap-ink)!important;background-color:var(--cap-paper)!important;border-color:var(--cap-edge)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(input:not([type="range"]):not([type="checkbox"]):not([type="radio"]):not([type="color"]),textarea,select) {background:var(--cap-paper)!important;color:var(--cap-ink)!important;border:1px solid var(--cap-edge)!important;border-radius:6px!important;box-shadow:inset 0 1px 2px #2e3d2910!important;color-scheme:light}
html[data-ui-palette="sage"][data-ui-theme="dark"] body#oneshot-web.keycap-ui:not(.is-landing) :is(input,textarea,select) {color-scheme:dark}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui :is(input,textarea)::placeholder {color:var(--cap-muted)!important;opacity:.85}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui :is(input[type="checkbox"],input[type="radio"],input[type="range"],progress) {accent-color:var(--cap-selected-edge)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.edit-form textarea,.revision-form textarea,.create-card textarea,#edit-project-name) {background:transparent!important;border-color:transparent!important;box-shadow:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.scene-card,.media-item,.asset-card,.workspace-card) {border-color:var(--cap-edge)!important;border-radius:8px!important;color:var(--cap-ink)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.scene-card.active,.scene-card.is-selected,.media-item.selected,[data-resource-tab][aria-selected="true"],.workspace-tabs a.active,.workspace-tabs a[aria-current="page"]) {background:var(--cap-selected)!important;border-color:var(--cap-selected-edge)!important;color:var(--cap-ink)!important;box-shadow:0 0 0 1px var(--cap-selected-edge)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.timeline-track,.track-row,.timeline-scroll,.timeline-canvas,.timeline-body,.timeline-empty,.scene-strip) {background-color:var(--cap-field)!important;border-color:var(--cap-divider)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .update-banner {background:#ead9a9!important;border:1px solid #c4a35c!important;color:#6c4c13!important;border-radius:8px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.danger,.workspace-danger button,[data-delete-project]) {--key-ink:#aa4435;--key-edge:#c78b7f;--key-base:#c78b7f;color:#aa4435!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui dialog::backdrop {background:#263b2b5c;backdrop-filter:blur(5px)}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui .studio-select-trigger {background:var(--cap-paper)!important;border-color:var(--cap-edge)!important;color:var(--cap-ink)!important;border-radius:6px!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui .studio-select-option {color:var(--cap-ink)!important;background:var(--cap-paper)!important;box-shadow:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui .studio-select-option[aria-selected="true"] {background:var(--cap-selected)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui .model-control-trigger {transform:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .app-language-thumb {background:var(--cap-selected)!important;border-color:var(--cap-selected-edge)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.app-language-toggle[data-locale="zh"] [data-lang="zh"],.app-language-toggle[data-locale="en"] [data-lang="en"]) {color:var(--cap-ink)!important}
html[lang="en"][data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .hero-line {white-space:normal}

/* A single composer face owns focus. The textarea never draws a second box. */
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #edit-form {background:var(--cap-paper)!important;border:1px solid var(--cap-edge)!important;border-radius:12px!important;box-shadow:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #edit-form:focus-within {border-color:var(--cap-selected-edge)!important;box-shadow:0 0 0 3px #8aa16b14!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #edit-form #edit-instruction,
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #edit-form #edit-instruction:is(:focus,:focus-visible) {background:transparent!important;border:0!important;border-radius:0!important;outline:none!important;box-shadow:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) #inspector {background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) #edit-instruction {min-height:112px;max-height:260px;padding:20px 20px 8px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #edit-form .edit-composer-toolbar {align-items:center;gap:8px;min-height:56px;padding:6px 12px 14px;background:transparent}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #edit-form .edit-composer-actions {align-items:center;gap:8px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) #edit-project-resume {margin:16px auto 0;padding:0;max-width:calc(100% - 24px);background:transparent!important;border:0!important;box-shadow:none!important;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) #edit-project-resume:hover {text-decoration:underline;text-underline-offset:4px}

/* Toolbar actions share a 36px face; navigation tabs use one 32px row. */
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(#edit-form,.topbar,.library-actions,.player-bar,#timeline-section) :is(.icon-button,.compact-icon-button,.track-tool) {
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 36px;width:36px;min-width:36px;max-width:36px;height:36px;min-height:36px;max-height:36px;padding:0;
  --key-depth:2px!important;border-radius:7px!important;
  box-shadow:inset 0 1px 0 #ffffffa6,0 2px 0 var(--key-base),0 3px 4px #25301e08!important;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #edit-form #generate-button {display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;min-width:36px;height:36px;min-height:36px;max-height:36px;padding:0;--key-depth:2px!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #edit-form #generate-button .send-label {display:none}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(#edit-form,.topbar,.library-actions,.player-bar,#timeline-section) :is(.icon-button,.compact-icon-button,.track-tool)>.icon {width:18px;height:18px;min-width:18px;flex:none}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #edit-form #generate-button>.icon {width:18px;height:18px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(#edit-form,.topbar,.library-actions,.player-bar,#timeline-section) :is(.icon-button,.compact-icon-button,.track-tool):is(:active,.jelly-pressed):not(:disabled) {translate:0 2px!important;box-shadow:inset 0 1px 2px #24301b12,0 0 0 var(--key-base)!important}
@media(hover:hover) {
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(#edit-form,.topbar,.library-actions,.player-bar,#timeline-section) :is(.icon-button,.compact-icon-button,.track-tool):hover:not(:disabled):not(.jelly-pressed) {box-shadow:inset 0 1px 0 #fffc,0 3px 0 var(--key-base),0 5px 6px #25301e10!important}
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) .topbar .top-actions {gap:8px;align-items:center}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) .topbar {z-index:80}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) .topbar .ui-theme-toggle {width:36px;min-width:36px;height:36px;min-height:36px;padding:0;justify-content:center}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) .topbar .ui-theme-label {display:none}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) .topbar .app-language-toggle {height:36px;min-height:36px;width:80px;min-width:80px;flex-basis:80px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .topbar #app-menu>summary {display:grid;place-items:center;box-sizing:border-box;width:36px;height:36px;min-height:36px;padding:0;--key-depth:2px!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .topbar #app-menu {width:36px;min-width:36px;height:36px;padding:0;margin:0!important;flex:0 0 36px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .topbar #export-button {height:36px;min-height:36px;min-width:84px;padding:0 12px;gap:8px;--key-depth:2px!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) .editor-workspace>:is(.sidebar,.resource-panel,.preview-panel,.timeline-panel) {border-radius:0!important;box-shadow:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) :is(.ai-panel-heading,.preview-panel>.panel-header,.resource-panel-header) {height:48px;min-height:48px;box-sizing:border-box;border-bottom:1px solid var(--cap-divider);padding-block:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) #resource-panel .resource-panel-header {gap:8px;padding-inline:10px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) #resource-panel .resource-tabs {align-items:center;min-height:0;height:48px;padding:0!important;gap:4px!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) #resource-panel .resource-tabs [role=tab] {box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:none;height:32px;min-height:32px;padding:0 8px;font-size:12px;line-height:18px;background:transparent!important;border:1px solid transparent!important;border-radius:6px!important;box-shadow:none!important;translate:0 0!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) #resource-panel .resource-tabs [role=tab][aria-selected=true] {background:var(--cap-selected)!important;border-color:var(--cap-edge)!important;color:var(--cap-ink)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) #resource-panel .resource-tabs [role=tab]::after {content:none}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) #resource-browser-expand {width:36px;min-width:36px;height:36px;min-height:36px;padding:0;margin:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) #timeline-section .timeline-heading {height:auto;min-height:52px;padding-block:6px;gap:12px;align-items:center}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) #timeline-section :is(.timeline-heading-left,.timeline-tools) {align-items:center;gap:8px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing):not(.has-timeline) #timeline-section .timeline-tools {display:none!important}
/* Browser-only drafts must never be mistaken for an account/cloud save. */
body#oneshot-web #project-save-status[data-storage="browser"][data-phase="saved"] {display:inline-flex!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) .workspace-column-resize>span {background:var(--cap-edge);box-shadow:0 0 0 2px var(--cap-window)}

/* Infrequent tools live in two compact disclosures, not another toolbar. */
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .topbar #app-menu .menu-dropdown {right:0;width:248px;max-height:calc(100dvh - 88px);overflow:auto;padding:8px;background:var(--cap-paper)!important;border:1px solid var(--cap-edge)!important;border-radius:10px!important;box-shadow:0 10px 30px var(--cap-shadow)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .topbar #app-menu :is(.menu-item,.studio-menu-actions>button) {box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;max-width:none;min-width:0;flex:none;height:auto;min-height:34px;max-height:none;margin:2px 0;padding:7px 10px;font-size:12px;line-height:20px;text-align:left;background:transparent!important;border:1px solid transparent!important;border-radius:6px!important;box-shadow:none!important;translate:0 0!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .topbar #app-menu :is(.menu-item,.studio-menu-actions>button):hover:not(:disabled) {background:var(--cap-field)!important;border-color:var(--cap-divider)!important;box-shadow:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .topbar #app-menu .studio-menu-actions>button[aria-pressed=true] {background:var(--cap-selected)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .topbar #app-menu .studio-menu-actions>button>span {display:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .topbar #app-menu .studio-menu-actions>button::after {content:attr(aria-label);font:400 12px/20px var(--cap-font)}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .topbar #app-menu .studio-menu-group {border:0;border-top:1px solid var(--cap-divider);padding:4px 0;margin:4px 0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .topbar #app-menu .studio-menu-group>summary {box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px;padding:7px 10px;font-size:12px;line-height:20px;font-weight:550;list-style:none;cursor:pointer}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .topbar #app-menu .studio-menu-group>summary::-webkit-details-marker {display:none}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .topbar #app-menu .studio-menu-group>summary::after {content:'';width:6px;height:6px;flex:none;border:solid var(--cap-muted);border-width:0 1.5px 1.5px 0;rotate:45deg;transition:rotate .2s}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .topbar #app-menu .studio-menu-group[open]>summary::after {rotate:225deg}
@media(min-width:701px) {
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .topbar #app-menu #workspace-projects-menu {display:none}
}

/* FAQ disclosures: consistent hit areas, inset copy, and room between cards. */
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root #landing-faq {
  display:grid;grid-template-columns:minmax(180px,.75fr) minmax(0,1.25fr);
  gap:clamp(32px,5vw,72px);align-items:start;padding-block:64px;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root #landing-faq>div:first-child {padding-top:14px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root #landing-faq h2 {margin:0;max-width:10em;text-wrap:balance}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-faq-list {display:grid;gap:12px;min-width:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-faq-list details {
  box-sizing:border-box;min-width:0;padding:0;overflow:hidden;
  background:var(--cap-paper)!important;border:1px solid var(--cap-edge)!important;
  border-radius:12px;box-shadow:0 2px 0 var(--cap-divider);
  transition:border-color .22s ease,box-shadow .22s ease;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-faq-list summary {
  display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;
  gap:20px;min-height:68px;padding:18px 22px;margin:0;list-style:none;
  text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-faq-list summary::after {content:none}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-faq-list summary:focus-visible {outline-offset:-4px;border-radius:12px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .faq-question {flex:1;min-width:0;overflow-wrap:break-word}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .faq-toggle {
  display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;
  color:var(--cap-muted);background:var(--cap-field);border:1px solid var(--cap-divider)!important;
  border-radius:8px;box-shadow:inset 0 1px 0 #ffffff50;
  transition:background-color .22s,border-color .22s,color .22s;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .faq-toggle svg {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .faq-toggle-stem {transform-origin:12px 12px;transition:transform .32s cubic-bezier(.22,.8,.25,1),opacity .2s}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-faq-list details[open]:not([data-faq-closing="true"]) {border-color:var(--cap-selected-edge)!important;box-shadow:0 2px 0 var(--cap-divider),0 6px 18px var(--cap-shadow)}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root details[open]:not([data-faq-closing="true"]) .faq-toggle {background:var(--cap-selected);border-color:var(--cap-selected-edge)!important;color:var(--cap-ink)}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root details[open]:not([data-faq-closing="true"]) .faq-toggle-stem {opacity:0;transform:rotate(90deg) scaleY(.4)}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .faq-answer {padding:0 70px 22px 22px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .faq-answer p {margin:0;max-width:64ch;animation:none!important}
@media(hover:hover) {
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-faq-list details:hover {border-color:var(--cap-selected-edge)!important}
}
@media(max-width:820px) {
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root #landing-faq {grid-template-columns:1fr;gap:24px;padding-block:44px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root #landing-faq>div:first-child {padding-top:0}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-faq-list summary {padding:16px 18px;gap:16px;min-height:64px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .faq-answer {padding:0 18px 20px}
}

/* Typography follows the same scale across marketing and the editing chrome.
   Select only interface text; video, captions on the canvas and MG keep their
   authored typography. */
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root :is(.landing-card h3,.landing-detail h3) {font-size:var(--cap-type-card);line-height:28px;font-weight:600;letter-spacing:-.3px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-process h3 {font-size:var(--cap-type-lead);line-height:24px;font-weight:600;letter-spacing:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root :is(.landing-card p,.landing-process p,.landing-detail p,.landing-faq-list p) {font-size:var(--cap-type-body);line-height:24px;font-weight:400;letter-spacing:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-faq summary {font-size:var(--cap-type-body);line-height:24px;font-weight:550}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-showcase>p {font-size:var(--cap-type-lead);line-height:26px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-final h2 {font-size:var(--cap-type-section);line-height:1.35;font-weight:600;letter-spacing:-.8px;margin-bottom:28px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root :is(.landing-detail-tag,.landing-card-top span,.landing-footer,.landing-footer>a:not(.landing-brand)) {font-size:var(--cap-type-small);line-height:18px;letter-spacing:.02em}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root :is(.demo-panel-label,.demo-project-name,.demo-chat-response b) {font-size:var(--cap-type-ui);line-height:20px;font-weight:600}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .demo-chat-request {font-size:var(--cap-type-body);line-height:22px;font-weight:400}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .demo-edit-list {font-size:var(--cap-type-ui);line-height:20px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root :is(.demo-edit-list small,.demo-chat-summary,.demo-composer-copy,.demo-open-editor) {font-size:var(--cap-type-small);line-height:18px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root :is(.demo-app-name,.demo-chat-badge,.demo-timeline-title,.demo-time,.demo-asset-title,.demo-asset-name) {font-size:var(--cap-type-meta);line-height:16px}

html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .app-shell {font-size:var(--cap-type-ui);line-height:1.5;letter-spacing:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.panel-header h2,.ai-panel-heading h2,.timeline-heading h2,.resource-panel-header [role="tab"],.clip-content-heading h3,.clip-content-panel h4) {font-size:var(--cap-type-ui);line-height:20px;font-weight:600;letter-spacing:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) #edit-project-name {font-size:var(--cap-type-body);line-height:22px;font-weight:550;letter-spacing:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .edit-message {font-size:var(--cap-type-body);line-height:1.65;font-weight:400;letter-spacing:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.edit-message strong,.edit-message b) {font-weight:600}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #edit-instruction {font-size:var(--cap-type-body);line-height:24px;font-weight:400;letter-spacing:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) #edit-instruction {font-size:var(--cap-type-lead);line-height:26px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.resource-kind-tabs [role="tab"],.resource-search input,.media-select small,.media-empty,.menu-item,.edit-suggestions button,.smart-launch p,.smart-launch .button,.edit-project-resume,.clip-fields label) {font-size:var(--cap-type-small);line-height:18px;font-weight:400}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.section-label,.ai-panel-heading>span,.resource-result-count,.project-save-status,.timeline-summary,.ratio-label,.track-labels,.workspace-footer,.resource-mg-footer>p) {font-size:var(--cap-type-meta);line-height:16px;font-weight:450;letter-spacing:.01em}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.time-display,.timeline-tick,.timeline-duration-label,.timeline-clip small,.layer-text) {font-size:var(--cap-type-meta);font-variant-numeric:tabular-nums;letter-spacing:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.top-actions>.button,.panel-header>.button,.timeline-tools>.button,.clip-actions>.button) {font-size:var(--cap-type-small);line-height:18px;font-weight:550}

/* Connected pages keep the same paper-and-sage language. */
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.site-page {background:var(--cap-window)!important;color:var(--cap-ink)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.site-page :is(h1,h2,h3,h4,.site-brand,.pricing-name,.pricing-price,.workspace-card strong) {color:var(--cap-ink)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.site-page :is(p,.site-lead,.site-eyebrow,.site-footer,.site-nav-links a,.workspace-heading p) {color:var(--cap-muted)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.site-page :is(.workspace-tabs,.pricing-billing-switch,.site-nav,.workspace-floating-nav) {background:var(--cap-window)!important;border-color:var(--cap-edge)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.site-page :is(.workspace-card,.pricing-plan,.legal-card,.help-card,.auth-card) {background:var(--cap-paper)!important;border-color:var(--cap-edge)!important;color:var(--cap-ink)!important}

/* Header controls share one 36px face and a restrained 2px side wall.
   Long model names stay available to assistive technology and in the tooltip. */
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:is(.is-landing,.is-entry) :is(#landing-root .landing-nav-actions,.topbar .top-actions)>:is(.model-control-trigger,.ui-theme-toggle,.app-language-toggle,.landing-language-toggle,.entry-workspace-link,.landing-button,.landing-menu-button) {
  box-sizing:border-box;position:relative;inset:auto;flex-shrink:0;
  height:36px;min-height:36px;max-height:36px;margin:0;padding:0 var(--header-control-padding,12px);
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-size:var(--header-control-font,var(--cap-type-ui))!important;font-weight:550;line-height:1;white-space:nowrap;
  --key-depth:2px;
  box-shadow:inset 0 1px 0 #ffffffa6,0 2px 0 var(--key-base),0 3px 4px #25301e08!important;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:is(.is-landing,.is-entry) :is(#landing-root .landing-nav-actions,.topbar .top-actions)>:is(.model-control-trigger,.ui-theme-toggle,.app-language-toggle,.landing-language-toggle,.entry-workspace-link,.landing-button,.landing-menu-button):hover:not(:disabled):not(.jelly-pressed) {
  box-shadow:inset 0 1px 0 #fffc,0 3px 0 var(--key-base),0 5px 6px #25301e10!important;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:is(.is-landing,.is-entry) :is(#landing-root .landing-nav-actions,.topbar .top-actions)>:is(.model-control-trigger,.ui-theme-toggle,.app-language-toggle,.landing-language-toggle,.entry-workspace-link,.landing-button,.landing-menu-button):is(:active,.jelly-pressed) {
  translate:0 2px!important;box-shadow:inset 0 1px 2px #24301b12,0 0 0 var(--key-base)!important;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:is(.is-landing,.is-entry) :is(#landing-root .landing-nav-actions,.topbar .top-actions)>.model-control-trigger {
  display:block;max-width:164px;min-width:0;overflow:hidden;text-overflow:ellipsis;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:is(.is-landing,.is-entry) :is(#landing-root .landing-nav-actions,.topbar .top-actions)>.ui-theme-toggle {width:36px;min-width:36px;padding:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:is(.is-landing,.is-entry) :is(#landing-root .landing-nav-actions,.topbar .top-actions) .ui-theme-label {display:none}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:is(.is-landing,.is-entry) :is(#landing-root .landing-nav-actions,.topbar .top-actions)>:is(.landing-language-toggle,.app-language-toggle) {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:80px;flex-basis:80px;padding:3px;gap:0;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:is(.is-landing,.is-entry) :is(#landing-root .landing-nav-actions,.topbar .top-actions) :is(.landing-language-option,.app-language-option) {font-size:11px;line-height:1}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:is(.is-landing,.is-entry) :is(#landing-root .landing-nav-actions,.topbar .top-actions)>button svg {width:17px;height:17px;flex:none}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) .app-shell {grid-template-rows:68px minmax(0,1fr)}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) .topbar {
  display:flex;align-items:center;justify-content:space-between;gap:24px;height:68px;min-height:68px;
  padding:0 clamp(20px,3vw,48px);border-bottom:1px solid var(--cap-divider)!important;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) .topbar .brand {font-size:22px;flex-shrink:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) .topbar .top-actions {display:flex;align-items:center;gap:10px;margin-left:auto;min-width:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) .topbar .top-actions>#entry-projects {width:36px;min-width:36px;padding:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) .topbar .top-actions>#entry-workspace {min-width:92px;--key-fill:var(--cap-orange)!important;--key-base:var(--cap-orange-edge)!important;--key-edge:var(--cap-orange-edge)!important;--key-ink:#242713!important}

html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav-actions>#landing-menu-toggle {display:none}

@media(max-width:1200px) {
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav {gap:20px;padding-inline:24px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav-links {gap:18px}
}
@media(max-width:1050px) {
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav-actions>#landing-menu-toggle {display:inline-flex}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root {width:calc(100% - 40px);margin-top:88px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav {display:flex;gap:20px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav-links.is-open {top:calc(100% + 8px);left:20px;right:20px;width:calc(100% - 40px);justify-self:stretch;align-items:stretch;text-align:left;padding:12px 20px;gap:0;animation:header-menu-in .22s cubic-bezier(.2,.8,.2,1);background:var(--cap-paper)!important;border:1px solid var(--cap-edge)!important;border-radius:10px;box-shadow:0 4px 0 var(--cap-base),0 12px 25px var(--cap-shadow)!important}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav-links.is-open a {padding:12px 0;color:var(--cap-ink)!important;border-color:var(--cap-divider)!important}
}
@media(max-width:760px) {
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:is(.is-landing,.is-entry) :is(#landing-root .landing-nav-actions,.topbar .top-actions)>.model-control-trigger {width:36px;min-width:36px;padding:0;--header-control-font:0px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root {width:calc(100% - 24px);margin:80px auto 16px;border-radius:16px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav {height:62px;padding-inline:16px;gap:12px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-brand {font-size:20px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav-actions {gap:8px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav-actions>.landing-button {display:none}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav-actions .model-control-trigger {--header-control-font:0px;font-size:0!important;width:36px;min-width:36px;padding:0}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .model-control-trigger::after {content:"AI";font:650 10px/1.4 var(--cap-font)}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav-actions :is(.ui-theme-toggle,.landing-language-toggle,#landing-menu-toggle) {height:36px;min-height:36px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav-actions :is(.ui-theme-toggle,#landing-menu-toggle) {width:36px;min-width:36px;padding:0}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav-actions .landing-language-toggle {width:70px;flex-basis:70px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-hero {grid-template-columns:1fr;padding:36px 7%;gap:28px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-hero h1 {font-size:clamp(32px,8.5vw,40px);letter-spacing:-.8px;margin-bottom:16px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-hero p {font-size:var(--cap-type-body)}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .desktop-start-card {padding:22px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root :is(.landing-section,.landing-showcase) {padding:44px 6%}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui :is(button,.button,.site-button,.primary-button,.secondary-button,.landing-button):not(.demo-asset):not(.demo-stage-play) {min-height:36px}
}
@media(max-width:380px) {
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav .landing-brand>span {display:none}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-landing #landing-root .landing-nav .landing-brand {min-width:25px;flex-shrink:0}
}
@media(max-width:700px) {
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) :is(#landing-root .landing-nav-actions,.topbar .top-actions)>.app-language-toggle {display:flex;align-items:center;justify-content:center;width:36px;min-width:36px;flex-basis:36px;padding:0}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) .topbar {padding-inline:16px;gap:14px;height:62px;min-height:62px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) .app-shell {grid-template-rows:62px minmax(0,1fr)}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) .topbar .brand {font-size:20px;gap:7px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) .topbar .top-actions {gap:7px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) .topbar .top-actions>.model-control-trigger {width:36px;min-width:36px;padding:0;--header-control-font:0px;font-size:0!important}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) .topbar .model-control-trigger::after {content:"AI";font:650 10px/1.4 var(--cap-font)}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) .topbar .top-actions>.app-language-toggle {width:36px;min-width:36px;flex-basis:36px;padding:0}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) .topbar .app-language-toggle>span {display:none}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) .topbar .app-language-toggle::after {content:"中";font:600 11px/1.4 var(--cap-font)}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) .topbar .app-language-toggle[data-locale="en"]::after {content:"EN"}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) .topbar .top-actions>#entry-workspace {min-width:36px;width:36px;padding:0;--header-control-font:0px;font-size:0!important}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui.is-entry:not(.is-landing) .topbar .top-actions>#entry-workspace span {font-size:17px}
  /* The compact editor has two toolbar rows. Keep optional model/appearance
     controls in their own slots so they never cover the project title. */
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) .topbar .model-control-trigger {position:absolute;top:44px;right:54px;width:30px;height:30px;min-width:30px;min-height:30px;padding:6px;font-size:0!important}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) .topbar .model-control-trigger::after {content:"AI";font:650 10px/1.4 var(--cap-font)}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) .topbar .app-language-toggle {position:absolute;top:7px;right:148px;display:flex!important;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;min-height:36px;flex-basis:36px;padding:0;font-size:0!important}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) .topbar .app-language-toggle>span {display:none}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) .topbar .app-language-toggle::after {content:"中";font:600 11px/1.4 var(--cap-font)}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) .topbar .app-language-toggle[data-locale="en"]::after {content:"EN"}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) .topbar #app-menu {position:absolute;top:7px;right:104px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) .topbar #export-button {position:absolute;top:7px;right:12px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) .topbar #entry-projects {display:none!important}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) .workspace-mobile-nav {gap:6px;padding:6px 10px}
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-entry):not(.is-landing) .workspace-mobile-nav>button {height:36px;min-height:36px;padding:0 8px;font-size:12px;line-height:18px}
}
@keyframes header-menu-in {from {opacity:0;translate:0 -6px} to {opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce) {
  html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui .landing-faq-list :is(details,.faq-toggle,.faq-toggle-stem) {transition:none!important;animation:none!important}
}

/* Compact controls share one rhythm; media cards and timeline handles keep
   their own geometry. A quiet green focus ring remains for keyboard users. */
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) {
  --control-size:34px; --control-radius:8px;
  --ui-focus:var(--cap-selected-edge)!important;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.topbar,#edit-form,#timeline-section,.resource-panel,dialog,.site-nav,.pricing-grid,.workspace-card) :is(button,.button,.site-button,summary.quiet-button,#app-menu>summary):not(:where(.media-item,.media-select,.timeline-clip,.layer-clip,.track-clip,.clip-trim,.panel-drag-handle,.mg-card-preview,.sound-resource-preview,.music-resource-preview,.billing-complexity-option,.big-play,.scene-card,[data-clip],[data-layer],[data-preview],[role=slider],[role=separator])) {
  box-sizing:border-box; min-height:var(--control-size); height:var(--control-size);
  padding:0 10px; border-radius:var(--control-radius)!important;
  font-size:12px; line-height:16px; font-weight:500; --key-depth:1px!important;
  box-shadow:inset 0 1px 0 #ffffff50,0 1px 1px var(--cap-shadow)!important;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.topbar,#edit-form,#timeline-section,.resource-panel,dialog) :is(.icon-button,.compact-icon-button,.voice-button,.entry-attach,.track-tool,#generate-button,#app-menu>summary,.ui-theme-toggle) {
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 var(--control-size);
  width:var(--control-size);min-width:var(--control-size);max-width:var(--control-size);
  height:var(--control-size);min-height:var(--control-size);max-height:var(--control-size);padding:0;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.topbar,#edit-form,#timeline-section,.resource-panel) button :is(.icon,svg) {width:16px;height:16px;min-width:16px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .topbar :is(.ui-theme-label,.app-language-thumb) {display:none}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .topbar .app-language-toggle {width:80px;min-width:80px;flex-basis:80px;height:var(--control-size);min-height:var(--control-size);padding:3px;gap:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .topbar .app-language-option {font-size:11px;line-height:24px;padding:0 6px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(button,a,summary,input,select,textarea):focus-visible {outline:2px solid var(--cap-selected-edge)!important;outline-offset:2px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(button,summary):focus:not(:focus-visible) {outline:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.is-selected,.is-active,[aria-selected=true],[aria-pressed=true]) {--ui-focus:var(--cap-selected-edge)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.edit-form:focus-within,.resource-search:focus-within) {border-color:var(--cap-selected-edge)!important;box-shadow:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.resource-tabs,.resource-kind-tabs) [role=tab] {
  height:30px;min-height:30px;padding:0 9px;border:0!important;box-shadow:none!important;background:transparent!important;translate:0 0!important;
}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .resource-kind-tabs {min-height:36px;gap:4px;padding:2px 12px;align-items:center}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .resource-kind-tabs [aria-selected=true] {background:var(--cap-selected)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .resource-kind-tabs [aria-selected=true]::after {display:none}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .resource-search {box-sizing:border-box;height:32px;min-height:32px;margin:10px 12px 6px;padding:0 9px;gap:6px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .resource-search input {height:28px;min-height:0;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;font-size:12px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .resource-search input:focus-visible {outline:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .resource-result-count {margin:4px 12px 8px;font-size:10px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .mg-resource-grid {grid-template-columns:repeat(auto-fill,minmax(142px,1fr));padding:0 12px 12px;gap:12px 10px;scroll-padding-block:8px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .mg-card-preview {height:auto;min-height:0;aspect-ratio:450/280;padding:0;box-shadow:none!important;border-radius:8px!important;translate:0 0!important;background:#22282c!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .mg-card-preview canvas {display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .mg-card-label {padding-top:5px;gap:6px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .mg-card-label>span {font-size:11px;line-height:17px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .mg-card-label .mg-card-add {display:grid;place-items:center;width:26px;height:26px;min-width:26px;min-height:26px;padding:0;box-shadow:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .resource-mg-footer {padding:6px 12px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .resource-mg-footer p {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:14px;margin:0 0 3px}
@media(max-height:850px) and (min-width:701px) {html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) .resource-mg-footer>p {display:none}}
@media(pointer:coarse) {html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) {--control-size:40px}}
@media(prefers-reduced-motion:reduce) {html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(button,.button,summary) {transition:none!important}}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #resource-panel .resource-kind-tabs [role=tab] {height:30px;min-height:30px;padding:0 9px;border:0!important;box-shadow:none!important;background:transparent!important;translate:0 0!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #resource-panel .resource-kind-tabs [aria-selected=true] {background:var(--cap-selected)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #resource-mg-panel:not([hidden]) {display:grid!important;grid-template-columns:minmax(0,1fr) 104px;grid-template-rows:42px 24px minmax(0,1fr) auto;gap:0;min-height:0}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #resource-mg-panel>.resource-search {grid-area:1/1;margin:8px 6px 2px 12px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #resource-panel #resource-mg-panel .resource-search input {border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #resource-mg-panel>.resource-filter {grid-area:1/2;margin:8px 12px 2px 0;height:32px;min-width:0;align-self:start}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #resource-mg-panel>.resource-filter>summary {box-sizing:border-box;height:32px;min-height:32px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px;border:1px solid var(--cap-edge);border-radius:7px;padding:7px 8px;background:var(--cap-paper)}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #resource-mg-panel>.resource-result-count {grid-area:2/1/3/-1;margin:3px 12px;font-size:10px}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #resource-mg-panel>.mg-resource-grid {grid-area:3/1/4/-1;min-height:0;max-height:none}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #resource-mg-panel>.resource-mg-footer {grid-area:4/1/5/-1}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) #resource-panel .mg-card-label .mg-card-add {height:26px;min-height:26px;max-height:26px;min-width:26px;width:26px;padding:0;box-shadow:none!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) :is(.topbar,#edit-form,#timeline-section,.resource-panel) button:is(:active,.jelly-pressed) {translate:0 1px!important;box-shadow:inset 0 1px 2px var(--cap-shadow)!important}
html[data-ui-palette="sage"][data-ui-theme] body#oneshot-web.keycap-ui:not(.is-landing) [tabindex]:focus-visible {outline-color:var(--cap-selected-edge)!important}
