/* Shared ShowWeld UI contract. Recovered brand values: PHILL_OS_Visual_Lab /
   storyforge/styles/system/showweld-theme.css. World lighting is independent. */
:root {
 --sw-brand:56 189 248; --sw-ink:7 11 18;
 --sw-white:240 246 252; --sw-muted-rgb:160 177 196; --sw-faint-rgb:108 128 151;
 --sw-panel-rgb:14 22 34; --sw-raised-rgb:21 33 49; --sw-line-rgb:49 68 89;
 --sw-success-rgb:115 222 174; --sw-warning-rgb:245 197 111; --sw-danger-rgb:255 151 148;
 --sw-bg:rgb(var(--sw-ink)); --sw-surface:rgb(var(--sw-panel-rgb));
 --sw-raised:rgb(var(--sw-raised-rgb)); --sw-text:rgb(var(--sw-white));
 --sw-muted:rgb(var(--sw-muted-rgb)); --sw-faint:rgb(var(--sw-faint-rgb));
 --sw-accent:rgb(var(--sw-brand)); --sw-on-accent:rgb(var(--sw-ink));
 --sw-line:rgb(var(--sw-line-rgb)); --sw-line-soft:rgb(var(--sw-line-rgb)/.6);
 --sw-success:rgb(var(--sw-success-rgb)); --sw-warning:rgb(var(--sw-warning-rgb)); --sw-danger:rgb(var(--sw-danger-rgb));
 --sw-shadow:0 20px 64px rgb(var(--sw-ink)/.48); --sw-shadow-small:0 8px 24px rgb(var(--sw-ink)/.28);
 --sw-radius-sm:6px; --sw-radius:12px; --sw-radius-lg:20px;
 --sw-font:Inter,"Avenir Next",Avenir,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 --sw-display:"Arial Black","Avenir Next",Arial,ui-sans-serif,system-ui,sans-serif;
 --sw-mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;
 --sw-space-1:4px; --sw-space-2:8px; --sw-space-3:12px; --sw-space-4:16px;
 --sw-space-5:24px; --sw-space-6:32px; --sw-space-7:48px; --sw-space-8:64px;
 --sw-violet:rgb(var(--sw-violet-rgb,167 139 250)); --sw-amber:rgb(var(--sw-amber-rgb,251 191 36));
 --sw-title-clean:var(--sw-success); --sw-title-steady:var(--sw-accent); --sw-title-maker:var(--sw-violet);
 --sw-title-path:var(--sw-warning); --sw-title-neighbor:var(--sw-success); --sw-title-recovery:var(--sw-warning);
 --sw-duration:140ms; --sw-fast:var(--sw-duration); --sw-ease:cubic-bezier(.2,.7,.2,1);
 color-scheme:dark;
}
/* The original UI consumes aliases of the same palette. Inline world-theme
   color choices affect the scene; these UI tokens remain the ShowWeld system. */
:root[data-showweld] {
 --kinora-accent:var(--sw-accent)!important; --kinora-ink:var(--sw-text)!important;
 --kinora-muted:var(--sw-muted)!important; --kinora-shell:var(--sw-surface)!important;
 --kinora-deep:var(--sw-bg)!important; --kinora-paper:var(--sw-raised)!important;
 --kinora-paper-ink:var(--sw-text)!important; --kinora-edge:var(--sw-line)!important;
 --os-deep:var(--sw-bg)!important; --os-night:var(--sw-bg)!important; --os-surface:var(--sw-surface)!important;
 --os-raised:var(--sw-raised)!important; --os-card:var(--sw-surface)!important; --os-card-hover:var(--sw-raised)!important;
 --os-glass:var(--sw-surface)!important; --os-glass-heavy:var(--sw-bg)!important;
 --os-edge:var(--sw-line)!important; --os-text:var(--sw-text)!important; --os-muted:var(--sw-muted)!important;
 --os-aqua:var(--sw-accent)!important; --os-aqua-ink:var(--sw-on-accent)!important;
 --os-aqua-soft:rgb(var(--sw-brand)/.12)!important; --glass-strong:var(--sw-surface)!important; --phone-bg:var(--sw-bg)!important;
 --ko-muted:var(--sw-muted); --ko-line:var(--sw-line); --ko-card:var(--sw-surface);
 --ko-accent:var(--sw-accent); --ko-ink:var(--sw-on-accent);
}
:root[data-showweld] body {font-family:var(--sw-font)}
:root[data-showweld] :focus-visible {outline:3px solid var(--sw-accent);outline-offset:4px}
:root[data-showweld] ::selection {background:rgb(var(--sw-brand)/.28);color:var(--sw-text)}
@media(prefers-reduced-motion:reduce){:root{--sw-fast:0ms}}
:root[data-reduce-motion=true]{--sw-fast:0ms}
