/* V14: a readable page introduction and one control language. */
.studio-hero{padding-top:38px}
.hero-heading{width:min(100%,960px);padding:0 16px 32px;text-align:center}
.hero-heading h1{font:650 calc(clamp(36px,4.3vw,60px) + 2px)/1.08 var(--display);letter-spacing:-.045em;margin:0;text-wrap:balance}
.hero-heading .hero-description{display:block;max-width:760px;margin:16px auto 0;font-size:18px;line-height:1.65;color:#bac6c8;text-shadow:none;text-wrap:pretty}
.studio-workbench{margin-top:0}
.workbench-topbar{justify-content:center}
.workbench-topbar .creation-links{justify-content:center}
.input-mode .control-step,.input-mode .step-index{display:none}
.result-empty{padding:24px 4px;color:#9ba9ad;font-size:14px}
.preview-main .empty-stage :is(h2, p){font-size:26px;letter-spacing:-.03em}
.preview-main .empty-stage p{max-width:260px;line-height:1.7}
.creation-panel .settings-trigger{width:44px;min-width:44px;height:44px;padding:0;flex-shrink:0;display:grid;place-items:center}
.creation-panel .settings-trigger .icon{width:20px;height:20px;flex-shrink:0}
.icon{flex-shrink:0;vertical-align:middle}
.icon-button{display:inline-grid;place-items:center;padding:0;line-height:1;flex-shrink:0}
.icon-button .icon{max-width:20px;max-height:20px;margin:0}
button,a,summary,input,select,textarea{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid #bce9db;outline-offset:4px}
.creation-panel .reference-mode-field{max-width:152px}
.creation-panel .reference-mode-field select{min-height:44px;font-size:14px}
.creation-panel .surface-controls{align-items:center}
.creation-panel .batch-control{align-self:stretch;justify-content:center}
body select{color:#e9efed;background-color:#242c2e;border-color:#ffffff24;border-radius:10px;font-family:var(--body);cursor:pointer;line-height:1.4}
body select:disabled{cursor:default}
body select option{background:#232a2c;color:#e9efed}
/* Preserve native semantics and fall back to the system picker where unsupported. */
@supports(appearance:base-select){
 body select,body select::picker(select){appearance:base-select}
 body select{background-image:none;align-items:center;gap:10px;padding-block:9px;padding-inline:12px;min-height:44px}
 body select::picker-icon{color:#b3c3bf;font-size:14px;margin-inline-start:auto}
 body select::picker(select){margin:6px 0;border:1px solid #ffffff29;border-radius:14px;padding:var(--select-inset);background:#222a2c;color:#e9efed;box-shadow:0 18px 55px #0008;max-height:320px;overflow:auto}
 body select option{min-height:44px;display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;font:500 15px/1.5 var(--body);white-space:normal;overflow-wrap:anywhere}
 body select option:hover{background:#bce9db15}
 body select option:checked{background:var(--selection-fill);color:var(--selection-text);box-shadow:var(--selection-ring)}
 body select option:focus-visible{outline:2px solid var(--cyan);outline-offset:-2px}
 body select option:disabled{opacity:.45}
 body select option::checkmark{color:var(--selection-edge);margin-inline-end:0}
 .reference-mode-field>.icon{display:none}
 .creation-panel .reference-mode-field select{padding-inline:10px}
}
.content-hero .content-kicker:empty{display:none}
.prose table{width:100%;border-collapse:collapse;margin:24px 0;font-size:16px}
.prose td,.prose th{text-align:left;padding:14px 12px;border-bottom:1px solid #ffffff20;vertical-align:top}
.prose th{color:#d8eee7;font-weight:600}
.prose .table-scroll{overflow-x:auto}
.prose .table-scroll table{min-width:550px}
.prose .source-note{font-size:15px;color:#a6b6b4}
@media(max-width:800px){
 .studio-hero{padding-top:28px}
 .hero-heading{padding:0 6px 26px}
 .hero-heading h1{font-size:calc(clamp(34px,6vw,44px) + 2px)}
 .hero-heading .hero-description{font-size:17px;max-width:680px;margin-top:13px}
 .preview-main .stage-tools .icon-button{width:44px;height:44px}
}
@media(prefers-reduced-motion:reduce){body select,body select::picker(select){transition:none;animation:none}}

.menu-toggle{display:none}
@media(max-width:600px){.menu-toggle{display:inline-grid}}
.nav-tools>summary{font-size:16px;font-weight:500}
.model-lab .control-step,.control-heading .control-step{display:none}
.stage-shell.is-idle .stage-topline{display:none}

.preview-layout:not(:has(.result-list > :nth-child(2))){grid-template-columns:minmax(0,1fr)}
.preview-layout:not(:has(.result-list > :nth-child(2))) .result-rail{display:none}
