/* Approved public Studio semantic palette, scoped to public demo owners only. */
@media screen and (forced-colors:none) {
html.wn-public-theme-controls[data-wn-theme="light"],
html.wn-public-theme-controls[data-wn-theme="light"] body.wn-evolution-demo,
html #review-workspace[data-wn-theme="light"],
html [data-wn-theme-owner="studio-demo"][data-wn-theme="light"],
body.wn-ui-authority #content .wn-mini[data-wn-theme="light"],
body.wn-ui-authority #content #simspace .wn-sim[data-wn-theme="light"] {
  color-scheme:light;
  --ev-bg:#faf9f5!important;
  --ev-surface:#fffdf8!important;
  --ev-raised:#f3f5f0!important;
  --ev-ink:#302934!important;
  --ev-muted:#555b56!important;
  --ev-accent:#842780!important;
  --ev-accent-ink:#fff!important;
  --ev-line:#d8ded7!important;
  --ev-control:#898d81!important;
  --ev-soft:#f1e4ee!important;
  --ev-good:#365c58!important;
  --ev-good-bg:#edf5ef!important;
  --ev-danger:#8a233b!important;
  --ev-danger-bg:#fae6ea!important;
  --ev-warn:#754722!important;
  --ev-warn-bg:#fff4d9!important;
  --paper-top:#fffdf8!important;
  --paper-middle:#fcfbf7!important;
  --paper-edge:#f0f6f3!important;
  --tray-start:#faf7f1!important;
  --tray-end:#eaf2ee!important;
  --brand-text:#92278f!important;
  --warm-glint:#fffcf0!important;
  --action-ink:#672a65!important;
  --action-ring:#c3a5bc!important;
  --action-top:#fffefb!important;
  --action-bottom:#f2e7f0!important;
  --icon-ground:#f0e1ee!important;
  --icon-ink:#842780!important;
  --card-shine:#fff!important;
  --studio-shadow:0 1px 2px rgb(49 40 42 / 6%),0 10px 22px -18px rgb(41 64 59 / 30%)!important;
}
html.wn-public-theme-controls[data-wn-theme="dark"],
html.wn-public-theme-controls[data-wn-theme="dark"] body.wn-evolution-demo,
html #review-workspace[data-wn-theme="dark"],
html [data-wn-theme-owner="studio-demo"][data-wn-theme="dark"],
body.wn-ui-authority #content .wn-mini[data-wn-theme="dark"],
body.wn-ui-authority #content #simspace .wn-sim[data-wn-theme="dark"] {
  color-scheme:dark;
  --ev-bg:#1b191e!important;
  --ev-surface:#29252b!important;
  --ev-raised:#303732!important;
  --ev-ink:#fff9ec!important;
  --ev-muted:#cec8c2!important;
  --ev-accent:#ebbaea!important;
  --ev-accent-ink:#341630!important;
  --ev-line:#49464a!important;
  --ev-control:#928b91!important;
  --ev-soft:#483343!important;
  --ev-good:#b9d9cf!important;
  --ev-good-bg:#283c35!important;
  --ev-danger:#ffb4bf!important;
  --ev-danger-bg:#4b2b34!important;
  --ev-warn:#f1d69b!important;
  --ev-warn-bg:#3d3527!important;
  --paper-top:#30282e!important;
  --paper-middle:#28272b!important;
  --paper-edge:#253331!important;
  --tray-start:#29262b!important;
  --tray-end:#263630!important;
  --brand-text:#edb9e8!important;
  --warm-glint:#35302a!important;
  --action-ink:#f3daf0!important;
  --action-ring:#87657e!important;
  --action-top:#4b3747!important;
  --action-bottom:#332833!important;
  --icon-ground:#52334e!important;
  --icon-ink:#efc4e7!important;
  --card-shine:#ffffff12!important;
  --studio-shadow:0 1px 1px #0005,0 14px 30px -23px #000a!important;
}
html.wn-public-theme-controls[data-wn-theme],
html.wn-public-theme-controls[data-wn-theme] body.wn-evolution-demo,
html #review-workspace[data-wn-theme],
html [data-wn-theme-owner="studio-demo"][data-wn-theme],
body.wn-ui-authority #content .wn-mini[data-wn-theme],
body.wn-ui-authority #content #simspace .wn-sim[data-wn-theme] {
  --ev-gradient:linear-gradient(112deg,var(--paper-top),var(--paper-middle) 48%,var(--paper-edge))!important;
  --ev-payment-gradient:linear-gradient(110deg,var(--tray-start),var(--tray-end))!important;
  --edition-action:linear-gradient(108deg,var(--action-top),var(--action-bottom))!important;
  --qe-canvas:var(--ev-bg)!important;
  --qe-paper:var(--ev-surface)!important;
  --qe-surface:var(--ev-raised)!important;
  --qe-raised:var(--ev-raised)!important;
  --qe-ink:var(--ev-ink)!important;
  --qe-muted:var(--ev-muted)!important;
  --qe-line:var(--ev-line)!important;
  --qe-control:var(--ev-control)!important;
  --qe-link:var(--ev-accent)!important;
  --qe-focus:var(--ev-accent)!important;
  --qe-selection:var(--ev-soft)!important;
  --qe-action:var(--ev-accent)!important;
  --qe-action-hover:var(--action-ink)!important;
  --qe-action-ink:var(--ev-accent-ink)!important;
  --qe-good:var(--ev-good)!important;
  --qe-good-surface:var(--ev-good-bg)!important;
  --qe-warning:var(--ev-warn)!important;
  --qe-warning-surface:var(--ev-warn-bg)!important;
  --qe-error:var(--ev-danger)!important;
  --qe-error-surface:var(--ev-danger-bg)!important;
  --qe-info:var(--ev-good)!important;
  --qe-info-surface:var(--ev-good-bg)!important;
  --wn-canvas:var(--ev-bg)!important;
  --wn-surface:var(--ev-surface)!important;
  --wn-raised:var(--ev-raised)!important;
  --wn-text:var(--ev-ink)!important;
  --wn-secondary:var(--ev-muted)!important;
  --wn-link:var(--ev-accent)!important;
  --wn-focus:var(--ev-accent)!important;
  --wn-divider:var(--ev-line)!important;
  --wn-control-border:var(--ev-control)!important;
  --wn-success:var(--ev-good)!important;
  --wn-warning:var(--ev-warn)!important;
  --wn-error:var(--ev-danger)!important;
  --wn-ink:var(--ev-ink)!important;
  --wn-purple:var(--ev-accent)!important;
  --wn-border:var(--ev-control)!important;
  --wn-paper:var(--ev-surface)!important;
  --paper:var(--ev-surface)!important;
  --ink:var(--ev-ink)!important;
  --muted:var(--ev-muted)!important;
  --line:var(--ev-line)!important;
  --purple:var(--ev-accent)!important;
  --purple-dark:var(--ev-accent)!important;
  --wash:var(--ev-bg)!important;
  --soft:var(--ev-soft)!important;
  --panel:var(--ev-surface)!important;
  --button-text:var(--ev-accent-ink)!important;
  --focus:var(--ev-accent)!important;
  --tool-paper:var(--ev-gradient)!important;
  --tool-button:var(--edition-action)!important;
  --tool-hover:var(--ev-soft)!important;
  --tool-field:var(--ev-bg)!important;
  --tool-ink:var(--ev-ink)!important;
  --tool-purple:var(--action-ink)!important;
  --tool-border:var(--action-ring)!important;
  --tool-edge:var(--ev-line)!important;
  --tool-control:var(--ev-control)!important;
  --tool-focus:var(--ev-accent)!important;
  --draft-canvas:var(--ev-bg)!important;
  --draft-paper:var(--ev-surface)!important;
  --draft-raised:var(--ev-raised)!important;
  --draft-field:var(--ev-bg)!important;
  --draft-ink:var(--ev-ink)!important;
  --draft-muted:var(--ev-muted)!important;
  --draft-line:var(--ev-line)!important;
  --draft-control:var(--ev-control)!important;
  --draft-shade:var(--ev-gradient)!important;
  --qe-review-paper:var(--ev-surface)!important;
  --qe-review-soft:var(--ev-raised)!important;
  --qe-review-raised:var(--ev-raised)!important;
  --qe-review-ink:var(--ev-ink)!important;
  --qe-review-muted:var(--ev-muted)!important;
  --qe-review-line:var(--ev-line)!important;
  --qe-review-control:var(--ev-control)!important;
  --qe-review-brand:var(--action-ink)!important;
  --qe-review-selected:var(--ev-soft)!important;
  --qe-review-info-soft:var(--ev-raised)!important;
  --qe-review-action:var(--ev-accent)!important;
  --qe-review-link:var(--ev-accent)!important;
  --qe-library-button:var(--ev-accent)!important;
  --qe-library-button-hover:var(--action-ink)!important;
  --qe-library-link:var(--ev-accent)!important;
  --qe-library-focus:var(--ev-accent)!important;
}
:is(html.wn-public-theme-controls, #review-workspace, [data-wn-theme-owner="studio-demo"], .wn-mini[data-wn-theme-root],#simspace .wn-sim[data-wn-theme-root]) .wn-theme-lightbulb,html.wn-evolution body.wn-evolution-public #review-workspace button.wn-theme-lightbulb,html.wn-public-theme-controls[data-wn-theme] body.wn-quiet-editorial :is(#content,header.demo-header) :is(#theme,button.wn-theme-lightbulb) {
 color:var(--ev-accent)!important;background:var(--ev-surface)!important;border:1px solid var(--ev-control)!important;box-shadow:none!important;
}
:is(html.wn-public-theme-controls, #review-workspace, [data-wn-theme-owner="studio-demo"], .wn-mini[data-wn-theme-root],#simspace .wn-sim[data-wn-theme-root]) .wn-theme-lightbulb:hover {background:var(--ev-soft)!important;border-color:var(--ev-accent)!important}
:is(html.wn-public-theme-controls, #review-workspace, [data-wn-theme-owner="studio-demo"], .wn-mini[data-wn-theme-root],#simspace .wn-sim[data-wn-theme-root]) .wn-theme-lightbulb:focus-visible {outline:2px solid var(--ev-accent)!important;outline-offset:3px}
:is(html.wn-public-theme-controls, #review-workspace, [data-wn-theme-owner="studio-demo"], .wn-mini[data-wn-theme-root],#simspace .wn-sim[data-wn-theme-root]) .wn-theme-bulb {fill:currentColor!important}
html.wn-public-theme-controls body.wn-evolution-demo :is(button,input,textarea,select,label,.demo-header,.demo-toolbar,.demo-notice,.csrc-small,.story-meta) {font-family:"Times New Roman",Times,serif!important}
}
/* Controls have a stable 44px pointer target and accessible state. */
:is(html.wn-public-theme-controls, #review-workspace, [data-wn-theme-owner="studio-demo"], .wn-mini[data-wn-theme-root],#simspace .wn-sim[data-wn-theme-root]) .wn-theme-lightbulb,html.wn-evolution body.wn-evolution-public #review-workspace button.wn-theme-lightbulb,html.wn-public-theme-controls[data-wn-theme] body.wn-quiet-editorial :is(#content,header.demo-header) :is(#theme,button.wn-theme-lightbulb) {
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;
 padding:0!important;gap:0!important;border-radius:50%!important;flex:none!important;position:relative;
}
:is(html.wn-public-theme-controls, #review-workspace, [data-wn-theme-owner="studio-demo"], .wn-mini[data-wn-theme-root],#simspace .wn-sim[data-wn-theme-root]) .wn-theme-bulb {display:block;width:22px!important;height:22px!important;flex:none;pointer-events:none}
:is(html.wn-public-theme-controls, #review-workspace, [data-wn-theme-owner="studio-demo"], .wn-mini[data-wn-theme-root],#simspace .wn-sim[data-wn-theme-root]) .wn-theme-label {position:absolute!important;clip-path:inset(50%)!important;width:1px!important;height:1px!important;overflow:hidden!important;white-space:nowrap}
@media (forced-colors:active) {
 :is(html.wn-public-theme-controls, #review-workspace, [data-wn-theme-owner="studio-demo"], .wn-mini[data-wn-theme-root],#simspace .wn-sim[data-wn-theme-root]) .wn-theme-lightbulb,html.wn-evolution body.wn-evolution-public #review-workspace button.wn-theme-lightbulb,html.wn-public-theme-controls[data-wn-theme] body.wn-quiet-editorial :is(#content,header.demo-header) :is(#theme,button.wn-theme-lightbulb) {color:ButtonText!important;background:ButtonFace!important;border:1px solid ButtonText!important;forced-color-adjust:auto}
 :is(html.wn-public-theme-controls, #review-workspace, [data-wn-theme-owner="studio-demo"], .wn-mini[data-wn-theme-root],#simspace .wn-sim[data-wn-theme-root]) .wn-theme-bulb {fill:currentColor}
 :is(html.wn-public-theme-controls, #review-workspace, [data-wn-theme-owner="studio-demo"], .wn-mini[data-wn-theme-root],#simspace .wn-sim[data-wn-theme-root]) .wn-theme-lightbulb:focus-visible {outline:2px solid Highlight!important;outline-offset:3px}
}
@media print {:is(html.wn-public-theme-controls, #review-workspace, [data-wn-theme-owner="studio-demo"], .wn-mini[data-wn-theme-root],#simspace .wn-sim[data-wn-theme-root]) .wn-theme-lightbulb,html.wn-evolution body.wn-evolution-public #review-workspace button.wn-theme-lightbulb,html.wn-public-theme-controls[data-wn-theme] body.wn-quiet-editorial :is(#content,header.demo-header) :is(#theme,button.wn-theme-lightbulb) {display:none!important}}
