/* oz themes: cosmetic CSS tokens only; operational status colors remain unchanged. */
html[data-oz-theme="pulse"]{color-scheme:dark}
html[data-oz-theme="ocean"]{color-scheme:light;--bg:#F3F7FC;--bg-side:#E8F0FA;--surface:#FFFFFF;--surface-2:#EFF4FB;--surface-3:#E5EDF8;--field:#FFFFFF;--border:#CEDBEA;--border-strong:#A8BBD1;--text:#10243A;--text-2:#405873;--text-3:#526780;--accent:#1769E0;--accent-hover:#1053B5;--accent-ink:#FFFFFF;--accent-soft:rgba(23,105,224,.12);--accent-line:rgba(23,105,224,.35);--shadow:0 1px 3px rgba(16,36,58,.12);--glow:0 10px 28px rgba(23,105,224,.18)}
html[data-oz-theme="emerald"]{color-scheme:light;--bg:#F0F8F4;--bg-side:#E4F1E9;--surface:#FFFFFF;--surface-2:#EAF5EE;--surface-3:#DAEBE0;--field:#FFFFFF;--border:#C6DDCF;--border-strong:#99C0AB;--text:#17372B;--text-2:#426555;--text-3:#527565;--accent:#16865B;--accent-hover:#106B49;--accent-ink:#FFFFFF;--accent-soft:rgba(22,134,91,.12);--accent-line:rgba(22,134,91,.34)}
html[data-oz-theme="royal"]{color-scheme:dark;--bg:#101A32;--bg-side:#131E37;--surface:#202C44;--surface-2:#273650;--surface-3:#31415B;--field:#152139;--border:#3B4B65;--border-strong:#536784;--text:#FFFFFF;--text-2:#CDD5E4;--text-3:#B0BDD1;--accent:#E6B85D;--accent-hover:#F4CB7D;--accent-ink:#211807;--accent-soft:rgba(230,184,93,.14);--accent-line:rgba(230,184,93,.38)}
html[data-oz-theme="violet"]{color-scheme:light;--bg:#F8F5FF;--bg-side:#F0EAFB;--surface:#FFFFFF;--surface-2:#F3EDFF;--surface-3:#E8DDFB;--field:#FFFFFF;--border:#DDD0F1;--border-strong:#BCA8DB;--text:#28203B;--text-2:#584A73;--text-3:#695A80;--accent:#7548D8;--accent-hover:#6033C3;--accent-ink:#FFFFFF;--accent-soft:rgba(117,72,216,.12);--accent-line:rgba(117,72,216,.35)}
html[data-oz-theme="carbon"]{color-scheme:dark;--bg:#11161D;--bg-side:#171E27;--surface:#222A35;--surface-2:#293441;--surface-3:#333F4F;--field:#171E27;--border:#394859;--border-strong:#526379;--text:#FFFFFF;--text-2:#C0CFDB;--text-3:#A4B7C7;--accent:#35BAF6;--accent-hover:#69CEFA;--accent-ink:#072334;--accent-soft:rgba(53,186,246,.13);--accent-line:rgba(53,186,246,.37)}
.oz-theme-card{margin-bottom:16px}.oz-theme-card summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;font-weight:700}.oz-theme-card summary::-webkit-details-marker{display:none}.oz-theme-card summary:after{content:'⌄';font-size:22px}.oz-theme-card[open] summary:after{content:'⌃'}.oz-theme-panel{padding-top:18px}.oz-theme-swatches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0}.oz-theme-choice{background:var(--surface-2);color:var(--text);border:2px solid var(--border);border-radius:var(--radius);padding:10px;cursor:pointer;text-align:left;min-height:70px;font:inherit}.oz-theme-choice[aria-pressed="true"]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.oz-theme-colors{display:flex;margin-bottom:8px}.oz-theme-colors i{display:block;width:25px;height:18px;border:1px solid rgba(125,125,125,.3)}.oz-theme-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.oz-theme-status{min-height:1.5em;margin-top:8px;color:var(--text-2)}.oz-brand-image{width:42px;height:42px;object-fit:contain;border-radius:8px;background:#fff;padding:4px}.oz-brand-word{font-family:var(--font-display);font-size:29px;font-weight:800;line-height:1;text-transform:none}@media(max-width:430px){.oz-theme-swatches{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Individual palette editor */
.oz-color-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 18px}
.oz-color-field{display:grid;grid-template-columns:minmax(0,1fr) 48px 94px;align-items:center;gap:9px;min-width:0;padding:10px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius)}
.oz-color-field span{font-size:13px;color:var(--text);min-width:0}
.oz-color-field input[type=color]{width:44px;height:40px;padding:2px;border-radius:8px;cursor:pointer;background:var(--field);border:1px solid var(--border)}
.oz-color-field input[data-hex]{width:94px;min-width:0;padding:8px 6px;font-family:ui-monospace,monospace;font-size:12px;background:var(--field);color:var(--text);border:1px solid var(--border);border-radius:8px}
.oz-color-field input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:900px){.oz-color-fields{grid-template-columns:1fr}}
@media(max-width:430px){.oz-color-field{grid-template-columns:minmax(0,1fr) 44px 88px;gap:6px}.oz-color-field input[data-hex]{width:88px}}
