/* Styles (owner, 2026-11-04): one look for everyone, picked on Design system → Styles (src/styles.js) and set as
   html[data-style]. Every colour comes from the palette's names (--nav, --brand, --accent, --bg, --card, ...), so
   any palette works with any style. "Glow" is style.css as it is, so it has no rules here. The corners chosen next to
   the style (shapes.js) still win: they are set on html itself. */

/* ------------------------------------------------------------------ the dashboard's charts (every style) */
.dash-stats .stat { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-4) var(--space-5); }
.stat-top { display: flex; align-items: center; gap: var(--space-3); }
.dash-stats .stat .app-ico { width: 2.4rem; height: 2.4rem; }
.dash-stats .stat b { font-size: 2.2rem; }
.mini { display: block; width: 100%; height: 2.6rem; overflow: visible; }
.mini.bars rect { fill: var(--accent); opacity: .85; }
.mini.bars.alt rect { fill: color-mix(in srgb, var(--accent) 50%, var(--brand)); }
.mini.bars.warm rect { fill: var(--brand); }
.mini .stroke, .big-line .stroke { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mini .fill, .big-line .fill { fill: color-mix(in srgb, var(--brand) 18%, transparent); }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.dash-grid .card { margin: 0; }
/* The whole platform, for website owners (dashboard): above the owner's own numbers. */
.platform { margin-bottom: var(--space-6); }
.platform .dash-stats .stat b.money-sum { font-size: 1.6rem; overflow-wrap: anywhere; }
.platform table { width: 100%; }
.platform table th, .platform table td { text-align: start; }
.dash-mine { margin: var(--space-4) 0 var(--space-3); }
.dash-grid .wide { grid-column: 1 / -1; }
.big-line { display: block; width: 100%; height: 11rem; overflow: visible; }
.big-line .grid line { stroke: var(--line); stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.big-line .dot { fill: var(--brand); stroke: var(--card); stroke-width: 3; vector-effect: non-scaling-stroke; }
.days { display: flex; justify-content: space-between; margin-top: var(--space-2); }
.style-scene { display: none; }

/* ------------------------------------------------------------------ the samples on the Styles tab */
.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: var(--space-3); }
.style-demo { display: grid; grid-template-columns: 28% 1fr; gap: 6px; height: 5.5rem; padding: 6px; border-radius: 12px; overflow: hidden;
  background: var(--bg); border: 1px solid var(--line); }
.style-demo i { display: block; border-radius: 8px; }
.style-demo .s { grid-row: span 2; background: var(--nav); }
.style-demo .c { background: var(--card); border: 1px solid var(--line); }
.style-demo .b { width: 55%; height: 1.2rem; align-self: end; background: var(--brand); border-radius: 6px; }
.sd-glass, .sd-glass-side { background: linear-gradient(150deg, var(--accent), var(--brand)); }
.sd-glass .s, .sd-glass-side .s { background: color-mix(in srgb, var(--nav) 55%, transparent); margin: 2px; border-radius: 10px; }
.sd-glass .c { background: color-mix(in srgb, #FFFFFF 45%, transparent); border-color: color-mix(in srgb, #FFFFFF 60%, transparent); }
.sd-soft .c { border-color: transparent; box-shadow: 0 4px 10px rgba(0, 0, 0, .08); border-radius: 12px; }
.sd-soft .b, .sd-blocks .b, .sd-clay .b, .sd-pills .b { border-radius: 99px; }
.sd-crisp i { border-radius: 2px; }
.sd-bold .c { border: 2px solid var(--text); box-shadow: 3px 3px 0 var(--text); }
.sd-bold .b { border: 2px solid var(--text); }
.sd-layered .c { border: 0; border-top: 3px solid var(--accent); box-shadow: 0 4px 10px rgba(0, 0, 0, .1); }
.sd-outline .s { background: transparent; border: 1px solid var(--line-strong); }
.sd-outline .c { background: transparent; border-color: var(--line-strong); }
.sd-outline .b { background: transparent; border: 2px solid var(--brand); }
.sd-editorial i { border-radius: 0; }
.sd-editorial .c { background: transparent; border: 0; border-top: 3px solid var(--text); }
.sd-blocks .c { border: 0; background: color-mix(in srgb, var(--accent) 35%, var(--card)); border-radius: 14px; }
.sd-clay { background: color-mix(in srgb, var(--accent) 14%, var(--bg)); }
.sd-clay .s { background: color-mix(in srgb, var(--nav) 70%, var(--accent)); border-radius: 14px; }
.sd-clay .c { border: 0; border-radius: 14px; box-shadow: 3px 3px 8px color-mix(in srgb, var(--accent) 30%, transparent), -2px -2px 6px #FFFFFF; }
.sd-pills { background: var(--card); }
.sd-pills .s { background: var(--surface-2); }
.sd-pills .c:first-of-type { background: var(--nav); border: 0; border-radius: 14px; }

/* ------------------------------------------------------------------ Glass and Glassy sidebar: a soft scene behind */
[data-style="glass"] .style-scene, [data-style="glass-side"] .style-scene { display: block; position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(160deg, color-mix(in srgb, var(--nav) 80%, var(--accent)) 0%, color-mix(in srgb, var(--bg) 70%, var(--accent)) 55%, color-mix(in srgb, var(--bg) 60%, var(--brand)) 100%); }
.style-scene span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; }
.style-scene span:nth-child(1) { width: 46vw; height: 46vw; left: -8vw; top: -12vw; background: var(--accent); }
.style-scene span:nth-child(2) { width: 40vw; height: 40vw; right: -10vw; top: 18vh; background: var(--brand); opacity: .55; }
.style-scene span:nth-child(3) { width: 50vw; height: 34vw; left: 25vw; bottom: -16vw; background: color-mix(in srgb, var(--accent) 50%, var(--brand)); opacity: .5; }
:root { --g-fill: color-mix(in srgb, var(--card) 52%, transparent); --g-fill-2: color-mix(in srgb, var(--card) 38%, transparent);
  --g-edge: color-mix(in srgb, #FFFFFF 55%, transparent); --g-blur: blur(22px) saturate(160%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --g-fill: color-mix(in srgb, var(--card) 48%, transparent);
  --g-fill-2: color-mix(in srgb, var(--card) 32%, transparent); --g-edge: color-mix(in srgb, #FFFFFF 16%, transparent); } }
:root[data-theme="dark"] { --g-fill: color-mix(in srgb, var(--card) 48%, transparent); --g-fill-2: color-mix(in srgb, var(--card) 32%, transparent);
  --g-edge: color-mix(in srgb, #FFFFFF 16%, transparent); }

:is([data-style="glass"], [data-style="glass-side"]) body.with-side { background: color-mix(in srgb, var(--nav) 55%, var(--bg)); grid-template-columns: calc(var(--side-w) + 1rem) minmax(0, 1fr); }
:is([data-style="glass"], [data-style="glass-side"]) .frame { background: none; }
:is([data-style="glass"], [data-style="glass-side"]) .side { margin: var(--space-4) 0 var(--space-4) var(--space-4); height: calc(100vh - 2rem); top: var(--space-4); border-radius: 28px;
  background: color-mix(in srgb, var(--nav) 58%, transparent); border: 1px solid color-mix(in srgb, #FFFFFF 18%, transparent);
  -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); box-shadow: 0 20px 50px rgba(0, 0, 0, .18); }
[dir="rtl"]:is([data-style="glass"], [data-style="glass-side"]) .side { margin: var(--space-4) var(--space-4) var(--space-4) 0; }
:is([data-style="glass"], [data-style="glass-side"]) .side-link.on { background: color-mix(in srgb, #FFFFFF 16%, transparent); outline: 1px solid color-mix(in srgb, #FFFFFF 30%, transparent); border-radius: 999px; }
:is([data-style="glass"], [data-style="glass-side"]) .side-link { border-radius: 999px; }
:is([data-style="glass"], [data-style="glass-side"]) .side-link.on::before { display: none; }
:is([data-style="glass"], [data-style="glass-side"]) .topbar { background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
:is([data-style="glass"], [data-style="glass-side"]) :is(.switch-btn, .chip-btn) { background: var(--g-fill); border-color: var(--g-edge); -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); }
:is([data-style="glass"], [data-style="glass-side"]) .topbar .search input { border-radius: 999px; background: var(--g-fill); border-color: var(--g-edge); }

/* Glass: the page sits in one big glass panel and every card is frosted. */
[data-style="glass"] .dash-panel { padding: var(--space-6); border-radius: 32px; background: var(--g-fill-2); border: 1px solid var(--g-edge);
  -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); box-shadow: inset 0 1px 0 var(--g-edge), 0 30px 60px rgba(0, 0, 0, .12); }
[data-style="glass"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap) { background: var(--g-fill); border: 1px solid var(--g-edge); border-radius: 24px;
  box-shadow: inset 0 1px 0 var(--g-edge), 0 10px 30px rgba(0, 0, 0, .08); -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); }
[data-style="glass"] .stat .app-ico { background: color-mix(in srgb, var(--accent) 22%, transparent); }

/* Glassy sidebar: solid, calm cards; only the side menu is glass. */
[data-style="glass-side"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap) { background: var(--card); border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .10); }

/* ------------------------------------------------------------------ Soft */
[data-style="soft"] { --radius: 24px; --radius-lg: 28px; --radius-btn: 999px; --radius-icon: 16px; }
[data-style="soft"] .frame { background: none; }
[data-style="soft"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap) { background: var(--card); border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .07); }
[data-style="soft"] .btn.primary { background: var(--brand); box-shadow: none; }
[data-style="soft"] .btn:not(.primary):not(.ghost):not(.danger) { background: var(--surface-2); border-color: transparent; }
[data-style="soft"] input:not([type=checkbox]):not([type=radio]) { background: var(--surface-2); border-color: transparent; }

/* ------------------------------------------------------------------ Crisp */
[data-style="crisp"] { --radius: 6px; --radius-lg: 8px; --radius-btn: 4px; --radius-icon: 6px; --radius-pill: 4px; }
[data-style="crisp"] .frame { background: none; }
[data-style="crisp"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap) { background: var(--card); box-shadow: none; border-color: var(--line-strong); -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-style="crisp"] .btn.primary { background: var(--nav); color: var(--on-nav); box-shadow: none; }
[data-style="crisp"] .btn:not(.primary):not(.ghost):not(.danger) { background: var(--card); border-color: var(--line-strong); }
[data-style="crisp"] .chip { text-transform: uppercase; letter-spacing: .04em; }
[data-style="crisp"] .side-link.on::before { inset-inline-start: -.75rem; top: 0; bottom: 0; border-radius: 0; }

/* ------------------------------------------------------------------ Bold */
[data-style="bold"] { --radius: 16px; --radius-lg: 18px; --radius-btn: 12px; --bold-ink: var(--heading); }
[data-style="bold"] .frame { background: none; }
[data-style="bold"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap) { background: var(--card); border: 2px solid var(--bold-ink); box-shadow: 5px 5px 0 var(--bold-ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-style="bold"] .stat:nth-child(2) { background: color-mix(in srgb, var(--accent) 18%, var(--card)); }
[data-style="bold"] .stat:nth-child(3) { background: color-mix(in srgb, var(--brand) 16%, var(--card)); }
[data-style="bold"] .btn { border: 2px solid var(--bold-ink); box-shadow: 3px 3px 0 var(--bold-ink); }
[data-style="bold"] .btn.primary { background: var(--brand); }
[data-style="bold"] .btn:not(.primary):not(.ghost):not(.danger) { background: var(--card); border-color: var(--bold-ink); }
[data-style="bold"] input:not([type=checkbox]):not([type=radio]) { border: 2px solid var(--bold-ink); box-shadow: 3px 3px 0 var(--accent); }
[data-style="bold"] h1 { font-size: 2.2rem; }
[data-style="bold"] .side-link.on { background: var(--brand-soft); color: var(--heading); border: 2px solid var(--bold-ink); }
[data-style="bold"] .side-link.on::before { display: none; }

/* ------------------------------------------------------------------ Layered */
[data-style="layered"] .frame { background: none; }
[data-style="layered"] body.with-side { background: linear-gradient(to right, var(--nav) var(--side-w), var(--surface-2) 0); }
[data-style="layered"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap) { background: var(--card); border: 0; border-top: 3px solid var(--accent); -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 6px 16px rgba(0, 0, 0, .06), 0 18px 40px rgba(0, 0, 0, .06); }
[data-style="layered"] .stat:nth-child(2) { border-top-color: var(--brand); }
[data-style="layered"] .stat:nth-child(3) { border-top-color: var(--nav); }
[data-style="layered"] .btn { text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }
[data-style="layered"] .btn.primary { background: var(--brand); }
[data-style="layered"] input:not([type=checkbox]):not([type=radio]) { border: 0; border-bottom: 2px solid var(--line-strong); border-radius: 6px 6px 0 0; background: var(--surface-2); }

/* ------------------------------------------------------------------ Outline: light everywhere, even the menu */
[data-style="outline"] .frame { background: none; }
[data-style="outline"] body.with-side { background: var(--bg); }
[data-style="outline"] .side { background: var(--bg); color: var(--text); border-inline-end: 1px solid var(--line-strong); }
[data-style="outline"] .side-link { color: var(--muted); }
[data-style="outline"] a.side-link:hover { background: var(--surface-2); color: var(--heading); }
[data-style="outline"] .side-link.on { background: transparent; color: var(--heading); outline: 1.5px solid var(--heading); }
[data-style="outline"] .side-link.on::before { display: none; }
[data-style="outline"] .side-head, [data-style="outline"] .side-foot { color: var(--muted); }
[data-style="outline"] .side .icon-btn { color: var(--text); }
[data-style="outline"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap) { background: transparent; box-shadow: none; border: 1px solid var(--line-strong); -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-style="outline"] .app-ico { background: transparent; border: 1.5px solid var(--brand); color: var(--brand); border-radius: 50%; }
[data-style="outline"] .btn.primary { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); box-shadow: none; }
[data-style="outline"] .btn:not(.primary):not(.ghost):not(.danger) { background: transparent; border: 1.5px solid var(--text); }
[data-style="outline"] .chip { background: transparent; border: 1px solid currentColor; }

/* ------------------------------------------------------------------ Editorial: like a magazine */
[data-style="editorial"] { --radius: 0; --radius-lg: 0; --radius-btn: 0; --radius-icon: 0; }
[data-style="editorial"] .frame { background: none; }
[data-style="editorial"] body.with-side { background: linear-gradient(to right, var(--nav) var(--side-w), var(--card) 0); }
[dir="rtl"][data-style="editorial"] body.with-side { background: linear-gradient(to left, var(--nav) var(--side-w), var(--card) 0); }
[data-style="editorial"] .side-link { text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
[data-style="editorial"] h1 { font-size: 2.6rem; letter-spacing: -.02em; }
[data-style="editorial"] :is(.card, .app-tile, .co-card, .market-card, .table-wrap) { background: transparent; box-shadow: none; border: 0; border-top: 3px solid var(--heading); padding-inline: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-style="editorial"] .stats { gap: 0; border-block: 2px solid var(--heading); }
[data-style="editorial"] .stat { background: transparent; box-shadow: none; border: 0; border-inline-end: 1px solid var(--line-strong); -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-style="editorial"] .stat:last-child { border-inline-end: 0; }
[data-style="editorial"] .dash-stats .stat b { font-size: 3rem; }
[data-style="editorial"] .dash-grid .card:nth-child(2) { border-top-color: var(--brand); }
[data-style="editorial"] .dash-grid .card:nth-child(3) { border-top-color: var(--accent); }
[data-style="editorial"] .btn { text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }
[data-style="editorial"] .btn.primary { background: var(--brand); box-shadow: none; }
[data-style="editorial"] .btn.primary::after { content: '→'; }
[dir="rtl"][data-style="editorial"] .btn.primary::after { content: '←'; }
[data-style="editorial"] .btn:not(.primary):not(.ghost):not(.danger) { background: transparent; border: 2px solid var(--heading); }
[data-style="editorial"] .app-ico { background: transparent; }
[data-style="editorial"] input:not([type=checkbox]):not([type=radio]) { border: 0; border-bottom: 2px solid var(--line-strong); background: transparent; }

/* ------------------------------------------------------------------ Blocks: filled with the palette colours */
[data-style="blocks"] { --radius: 26px; --radius-lg: 30px; --radius-btn: 999px; --radius-icon: 50%; }
[data-style="blocks"] .frame { background: none; }
[data-style="blocks"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap) { border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--surface-2); }
[data-style="blocks"] .stat:nth-child(1) { background: var(--nav); color: var(--on-nav); }
[data-style="blocks"] .stat:nth-child(1) :is(b, .quiet) { color: var(--on-nav); }
[data-style="blocks"] .stat:nth-child(2) { background: color-mix(in srgb, var(--accent) 45%, var(--card)); }
[data-style="blocks"] .stat:nth-child(3) { background: color-mix(in srgb, var(--brand) 25%, var(--card)); }
[data-style="blocks"] .stat:nth-child(4) { background: color-mix(in srgb, var(--accent) 18%, var(--card)); }
[data-style="blocks"] .stat:nth-child(1) .app-ico { background: color-mix(in srgb, #FFFFFF 18%, transparent); color: var(--on-nav); }
[data-style="blocks"] .stat:nth-child(1) .mini rect { fill: var(--on-nav); opacity: .7; }
[data-style="blocks"] .app-ico { background: var(--card); }
[data-style="blocks"] .btn.primary { background: var(--nav); color: var(--on-nav); box-shadow: none; }
[data-style="blocks"] .btn:not(.primary):not(.ghost):not(.danger) { background: var(--brand-soft); border-color: transparent; }
[data-style="blocks"] .side-link.on { background: var(--brand-soft); color: var(--heading); }
[data-style="blocks"] .side-link.on .ico { color: var(--heading); }
[data-style="blocks"] .side-link.on::before { display: none; }
[data-style="blocks"] input:not([type=checkbox]):not([type=radio]) { background: var(--card); border-color: transparent; border-radius: 999px; }

/* ------------------------------------------------------------------ Clay: soft, puffy, pastel */
[data-style="clay"] { --radius: 28px; --radius-lg: 32px; --radius-btn: 999px; --radius-icon: 18px;
  --clay-shadow: 10px 10px 24px color-mix(in srgb, var(--accent) 24%, transparent), -8px -8px 20px color-mix(in srgb, #FFFFFF 75%, transparent), inset 0 2px 0 color-mix(in srgb, #FFFFFF 65%, transparent); }
[data-style="clay"] .frame { background: none; }
[data-style="clay"] body.with-side { background: color-mix(in srgb, var(--accent) 14%, var(--bg)); grid-template-columns: calc(var(--side-w) + 1rem) minmax(0, 1fr); }
[data-style="clay"] .side { margin: var(--space-4) 0 var(--space-4) var(--space-4); height: calc(100vh - 2rem); top: var(--space-4); border-radius: 32px;
  background: linear-gradient(170deg, color-mix(in srgb, var(--nav) 70%, var(--accent)), var(--nav)); box-shadow: 10px 10px 30px color-mix(in srgb, var(--nav) 35%, transparent); }
[dir="rtl"][data-style="clay"] .side { margin: var(--space-4) var(--space-4) var(--space-4) 0; }
[data-style="clay"] .side-link { border-radius: 999px; }
[data-style="clay"] .side-link.on { background: color-mix(in srgb, #FFFFFF 22%, transparent); box-shadow: inset 0 2px 0 color-mix(in srgb, #FFFFFF 25%, transparent); }
[data-style="clay"] .side-link.on::before { display: none; }
[data-style="clay"] .topbar { background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-style="clay"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap) { background: color-mix(in srgb, var(--card) 85%, var(--accent)); border: 0; box-shadow: var(--clay-shadow); -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-style="clay"] .app-ico { border-radius: 50%; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 40%, var(--card)), color-mix(in srgb, var(--brand) 25%, var(--card))); box-shadow: inset 0 2px 0 color-mix(in srgb, #FFFFFF 50%, transparent); }
[data-style="clay"] .btn.primary { background: linear-gradient(145deg, color-mix(in srgb, var(--brand) 80%, #FFFFFF), var(--brand)); box-shadow: 0 8px 18px color-mix(in srgb, var(--brand) 35%, transparent), inset 0 2px 0 color-mix(in srgb, #FFFFFF 35%, transparent); }
[data-style="clay"] .btn:not(.primary):not(.ghost):not(.danger) { background: var(--card); border-color: transparent; box-shadow: var(--clay-shadow); }
[data-style="clay"] input:not([type=checkbox]):not([type=radio]) { border-color: transparent; border-radius: 999px; background: var(--card); box-shadow: inset 3px 3px 8px color-mix(in srgb, var(--accent) 18%, transparent); }
:is([data-theme="dark"])[data-style="clay"] { --clay-shadow: 8px 8px 20px rgba(0, 0, 0, .35), inset 0 1px 0 color-mix(in srgb, #FFFFFF 10%, transparent); }

/* ------------------------------------------------------------------ Clean pills: white page, pill tabs, one dark highlight */
[data-style="pills"] { --radius: 22px; --radius-lg: 26px; --radius-btn: 999px; --radius-icon: 50%; }
[data-style="pills"] .frame { background: none; }
[data-style="pills"] body.with-side { background: linear-gradient(to right, var(--surface-2) var(--side-w), var(--card) 0); }
[dir="rtl"][data-style="pills"] body.with-side { background: linear-gradient(to left, var(--surface-2) var(--side-w), var(--card) 0); }
[data-style="pills"] .side { background: var(--surface-2); color: var(--text); }
[data-style="pills"] .side-link { color: var(--muted); border-radius: 999px; }
[data-style="pills"] a.side-link:hover { background: var(--card); color: var(--heading); }
[data-style="pills"] .side-link.on { background: var(--brand); color: var(--on-brand); }
[data-style="pills"] .side-link.on .ico { color: var(--on-brand); }
[data-style="pills"] .side-link.on::before { display: none; }
[data-style="pills"] .side-head, [data-style="pills"] .side-foot { color: var(--muted); }
[data-style="pills"] .side .icon-btn { color: var(--text); }
[data-style="pills"] .topbar { background: var(--card); border-bottom: 0; }
[data-style="pills"] :is(.switch-btn, .chip-btn) { border-radius: 999px; background: var(--surface-2); border-color: transparent; }
[data-style="pills"] .topbar .search input { border-radius: 999px; background: var(--surface-2); border-color: transparent; }
[data-style="pills"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap) { background: var(--card); box-shadow: none; border: 1px solid var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-style="pills"] .stat:first-child { background: var(--nav); color: var(--on-nav); border-color: transparent; }
[data-style="pills"] .stat:first-child :is(b, .quiet) { color: var(--on-nav); }
[data-style="pills"] .stat:first-child .app-ico { background: color-mix(in srgb, #FFFFFF 16%, transparent); color: var(--on-nav); }
[data-style="pills"] .stat:first-child .mini rect { fill: var(--accent); }
[data-style="pills"] .app-ico { background: var(--surface-2); }
[data-style="pills"] .btn.primary { background: var(--brand); box-shadow: none; }
[data-style="pills"] .btn:not(.primary):not(.ghost):not(.danger) { background: var(--surface-2); border-color: transparent; }
[data-style="pills"] .chip { border: 1px solid currentColor; }

/* ------------------------------------------------------------------ the five added on 2026-11-04 (owner's pictures) */
/* A dark surface inside any light or dark page: the parts in it take light text, whatever the theme. */
[data-style="otp"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap),
[data-style="lamp"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap),
[data-style="tabbar"] .side {
  --card: color-mix(in srgb, var(--nav) 92%, #000000); --surface-2: color-mix(in srgb, var(--nav) 82%, #FFFFFF);
  --line: color-mix(in srgb, #FFFFFF 14%, transparent); --line-strong: color-mix(in srgb, #FFFFFF 26%, transparent);
  --text: #EEF1F6; --heading: #FFFFFF; --muted: color-mix(in srgb, #FFFFFF 78%, var(--nav)); --link: color-mix(in srgb, var(--accent) 40%, #FFFFFF);
  color: var(--text); }

/* Admin glass: cool frosted glass, a light glass side menu with dark text. */
[data-style="admin"] .style-scene { display: block; position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 45%, #FFFFFF) 0%, color-mix(in srgb, var(--accent) 25%, var(--bg)) 50%, color-mix(in srgb, var(--nav) 30%, var(--bg)) 100%); }
[data-style="admin"] .style-scene span:nth-child(2) { background: var(--accent); opacity: .45; }
[data-style="admin"] .style-scene span:nth-child(3) { background: var(--nav); opacity: .25; }
[data-style="admin"] body.with-side { background: color-mix(in srgb, var(--accent) 20%, var(--bg)); grid-template-columns: calc(var(--side-w) + 1rem) minmax(0, 1fr); }
[data-style="admin"] .frame { background: none; }
[data-style="admin"] .side { margin: var(--space-4) 0 var(--space-4) var(--space-4); height: calc(100vh - 2rem); top: var(--space-4); border-radius: 24px;
  background: var(--g-fill); color: var(--text); border: 1px solid var(--g-edge); -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); box-shadow: 0 16px 40px rgba(0, 0, 0, .08); }
[dir="rtl"][data-style="admin"] .side { margin: var(--space-4) var(--space-4) var(--space-4) 0; }
[data-style="admin"] .side-link { color: var(--muted); }
[data-style="admin"] a.side-link:hover { background: var(--g-fill); color: var(--heading); }
[data-style="admin"] .side-link.on { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--heading); }
[data-style="admin"] .side-link.on .ico { color: var(--heading); }
[data-style="admin"] .side-link.on::before { display: none; }
[data-style="admin"] :is(.side-head, .side-foot) { color: var(--muted); }
[data-style="admin"] .side .icon-btn { color: var(--text); }
[data-style="admin"] .topbar { background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-style="admin"] :is(.switch-btn, .chip-btn) { background: var(--g-fill); border-color: var(--g-edge); }
[data-style="admin"] .topbar .search input { background: var(--g-fill); border-color: var(--g-edge); border-radius: 12px; }
[data-style="admin"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap) { background: var(--g-fill); border: 1px solid var(--g-edge); border-radius: 18px;
  box-shadow: inset 0 1px 0 var(--g-edge), 0 8px 24px rgba(0, 0, 0, .06); -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); }
[data-style="admin"] .app-ico { background: color-mix(in srgb, var(--accent) 25%, transparent); color: var(--heading); border-radius: 12px; }
[data-style="admin"] .btn.primary { background: var(--nav); color: var(--on-nav); box-shadow: none; }
[data-style="admin"] .mini.bars rect, [data-style="admin"] .mini.bars.alt rect { fill: var(--accent); }

/* Glass tab bar: a dark glass menu with a glowing line under the open page; on phones it is a tab bar at the bottom. */
[data-style="tabbar"] .style-scene { display: block; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(170deg, color-mix(in srgb, var(--accent) 18%, var(--bg)), var(--bg) 60%, color-mix(in srgb, var(--brand) 12%, var(--bg))); }
[data-style="tabbar"] .style-scene span { display: none; }
[data-style="tabbar"] body.with-side { background: var(--bg); grid-template-columns: calc(var(--side-w) + 1rem) minmax(0, 1fr); }
[data-style="tabbar"] .frame { background: none; }
[data-style="tabbar"] .side { margin: var(--space-4) 0 var(--space-4) var(--space-4); height: calc(100vh - 2rem); top: var(--space-4); border-radius: 30px;
  background: color-mix(in srgb, var(--card) 95%, transparent); border: 1px solid var(--line); -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
[dir="rtl"][data-style="tabbar"] .side { margin: var(--space-4) var(--space-4) var(--space-4) 0; }
[data-style="tabbar"] .side-link { color: var(--muted); border-radius: 999px; }
[data-style="tabbar"] .side-link.on { background: color-mix(in srgb, #FFFFFF 10%, transparent); color: #FFFFFF; box-shadow: inset 0 -2px 0 var(--accent), 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent); }
[data-style="tabbar"] .side-link.on .ico { color: var(--accent); }
[data-style="tabbar"] .side-link.on::before { display: none; }
[data-style="tabbar"] :is(.side-head, .side-foot) { color: var(--muted); }
[data-style="tabbar"] .topbar { background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-style="tabbar"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap) { background: var(--g-fill); border: 1px solid var(--g-edge); border-radius: 22px;
  -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
[data-style="tabbar"] .btn.primary { border-radius: 999px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent), var(--brand-glow); }

/* Code boxes: dark rounded cards, big boxes for fields, the open field outlined in the palette's warm colour. */
[data-style="otp"] { --radius: 26px; --radius-lg: 30px; --radius-btn: 16px; --radius-icon: 14px; }
[data-style="otp"] .frame { background: none; }
[data-style="otp"] body.with-side { background: linear-gradient(to right, var(--nav) var(--side-w), color-mix(in srgb, var(--nav) 10%, var(--bg)) 0); }
[dir="rtl"][data-style="otp"] body.with-side { background: linear-gradient(to left, var(--nav) var(--side-w), color-mix(in srgb, var(--nav) 10%, var(--bg)) 0); }
[data-style="otp"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap) { background: var(--card); border: 1px solid var(--line); -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 18px 40px color-mix(in srgb, var(--nav) 30%, transparent); }
[data-style="otp"] .app-ico { background: var(--surface-2); color: var(--heading); border: 1px solid var(--line-strong); }
[data-style="otp"] input:not([type=checkbox]):not([type=radio]) { min-height: 3.2rem; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--surface-2); }
[data-style="otp"] input:not([type=checkbox]):not([type=radio]):focus { border: 2px solid var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent); }
[data-style="otp"] .btn.primary { background: var(--brand); box-shadow: none; }
[data-style="otp"] .stat b { display: inline-block; min-width: 3.2rem; padding: .2rem .6rem; text-align: center; border: 2px solid var(--brand); border-radius: 14px; }

/* Lamp: a dark room, a warm light from the top, cards that glow softly in it. */
[data-style="lamp"] .style-scene { display: block; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60vw 70vh at 58% -8%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%), color-mix(in srgb, var(--nav) 70%, #000000); }
[data-style="lamp"] .style-scene span { display: none; }
[data-style="lamp"] { color-scheme: dark; }
[data-style="lamp"] body { --text: #EEF1F6; --heading: #FFFFFF; --muted: color-mix(in srgb, #FFFFFF 78%, var(--nav)); --link: color-mix(in srgb, var(--accent) 40%, #FFFFFF);
  --line: color-mix(in srgb, #FFFFFF 14%, transparent); --line-strong: color-mix(in srgb, #FFFFFF 26%, transparent); --surface-2: color-mix(in srgb, var(--nav) 80%, #FFFFFF);
  --card: color-mix(in srgb, var(--nav) 90%, #000000); color: var(--text); }
[data-style="lamp"] body.with-side { background: color-mix(in srgb, var(--nav) 70%, #000000); }
[data-style="lamp"] .frame { background: none; }
[data-style="lamp"] .side { background: color-mix(in srgb, var(--nav) 60%, #000000); }
[data-style="lamp"] .topbar { background: transparent; border-bottom: 0; }
[data-style="lamp"] :is(.switch-btn, .chip-btn, .topbar .search input) { background: var(--card); border-color: var(--line); color: var(--text); }
[data-style="lamp"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap) { background: color-mix(in srgb, var(--card) 88%, transparent); border: 1px solid var(--line); -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 14%, transparent), 0 20px 40px rgba(0, 0, 0, .35); }
[data-style="lamp"] .btn.primary { background: linear-gradient(135deg, var(--accent), var(--brand)); color: #FFFFFF; box-shadow: 0 8px 24px color-mix(in srgb, var(--brand) 40%, transparent); }
[data-style="lamp"] .btn:not(.primary):not(.ghost):not(.danger) { background: var(--card); color: var(--text); border-color: var(--line-strong); }
[data-style="lamp"] .app-ico { background: var(--surface-2); color: var(--heading); }
[data-style="lamp"] .eyebrow { color: var(--link); }

/* Glass checkout: frosted glass over a soft scene, with one glowing card in the palette's warm colours and pill steps. */
[data-style="checkout"] .style-scene { display: block; position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(160deg, color-mix(in srgb, var(--nav) 55%, var(--bg)), color-mix(in srgb, var(--bg) 75%, var(--accent)) 60%, color-mix(in srgb, var(--bg) 70%, var(--nav))); }
[data-style="checkout"] .style-scene span { filter: blur(90px); }
[data-style="checkout"] body.with-side { background: var(--bg); }
[data-style="checkout"] .frame { background: none; }
[data-style="checkout"] .side { background: color-mix(in srgb, var(--nav) 70%, transparent); -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); }
[data-style="checkout"] .topbar { background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-style="checkout"] :is(.switch-btn, .chip-btn, .topbar .search input) { background: var(--g-fill); border-color: var(--g-edge); border-radius: 999px; }
[data-style="checkout"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap) { background: var(--g-fill); border: 1px solid var(--g-edge); border-radius: 26px;
  -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); box-shadow: inset 0 1px 0 var(--g-edge), 0 14px 34px rgba(0, 0, 0, .10); }
[data-style="checkout"] .stat:first-child { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 80%, #FFFFFF), var(--brand)); color: var(--on-brand); border-color: transparent;
  box-shadow: 0 0 50px color-mix(in srgb, var(--brand) 45%, transparent), 0 14px 34px rgba(0, 0, 0, .15); }
[data-style="checkout"] .stat:first-child :is(b, .quiet) { color: var(--on-brand); }
[data-style="checkout"] .stat:first-child .app-ico { background: color-mix(in srgb, #FFFFFF 25%, transparent); color: var(--on-brand); }
[data-style="checkout"] .stat:first-child .mini rect { fill: var(--on-brand); opacity: .55; }
[data-style="checkout"] .chip { background: var(--g-fill); border: 1px solid var(--g-edge); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
[data-style="checkout"] .btn { border-radius: 999px; }
[data-style="checkout"] .btn.primary { background: var(--brand); box-shadow: 0 0 24px color-mix(in srgb, var(--brand) 40%, transparent); }

/* Their samples on the Styles tab */
.sd-admin { background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 45%, #FFFFFF), color-mix(in srgb, var(--accent) 25%, var(--bg))); }
.sd-admin .s, .sd-admin .c { background: color-mix(in srgb, #FFFFFF 55%, transparent); border: 1px solid color-mix(in srgb, #FFFFFF 70%, transparent); }
.sd-admin .b { background: var(--nav); }
.sd-tabbar { background: linear-gradient(170deg, color-mix(in srgb, var(--accent) 18%, var(--bg)), var(--bg)); }
.sd-tabbar .s { background: color-mix(in srgb, var(--nav) 90%, #000000); border-radius: 12px; box-shadow: inset 0 -3px 0 var(--accent); }
.sd-tabbar .b { border-radius: 99px; }
.sd-otp { background: color-mix(in srgb, var(--nav) 10%, var(--bg)); }
.sd-otp .c { background: color-mix(in srgb, var(--nav) 92%, #000000); border-color: transparent; border-radius: 12px; }
.sd-otp .c + .c { border: 2px solid var(--brand); }
.sd-lamp { background: radial-gradient(80% 80% at 60% -10%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%), color-mix(in srgb, var(--nav) 70%, #000000); }
.sd-lamp .s { background: color-mix(in srgb, var(--nav) 60%, #000000); }
.sd-lamp .c { background: color-mix(in srgb, var(--nav) 90%, #000000); border-color: color-mix(in srgb, #FFFFFF 14%, transparent); }
.sd-lamp .b { background: linear-gradient(135deg, var(--accent), var(--brand)); }
.sd-checkout { background: linear-gradient(160deg, color-mix(in srgb, var(--nav) 55%, var(--bg)), color-mix(in srgb, var(--bg) 75%, var(--accent))); }
.sd-checkout .c { background: color-mix(in srgb, #FFFFFF 45%, transparent); border-color: color-mix(in srgb, #FFFFFF 60%, transparent); }
.sd-checkout .c:first-of-type { background: var(--brand); box-shadow: 0 0 14px var(--brand); border: 0; }
.sd-checkout .b { border-radius: 99px; }

@media (max-width: 960px) {
  :is([data-style="admin"], [data-style="tabbar"], [data-style="otp"], [data-style="lamp"], [data-style="checkout"]) body.with-side { display: block; }
  [data-style="admin"] .side { margin: 0; height: 100%; top: 0; border-radius: 0 24px 24px 0; }
  [data-style="otp"] body.with-side, [dir="rtl"][data-style="otp"] body.with-side { background: color-mix(in srgb, var(--nav) 10%, var(--bg)); }
}

@media (max-width: 960px) {
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
  :is([data-style="glass"], [data-style="glass-side"], [data-style="clay"], [data-style="pills"], [data-style="layered"], [data-style="editorial"], [data-style="outline"]) body.with-side { display: block; }
  :is([data-style="glass"], [data-style="glass-side"], [data-style="clay"]) .side { margin: 0; height: 100%; top: 0; border-radius: 0 28px 28px 0; }
  [dir="rtl"]:is([data-style="glass"], [data-style="glass-side"], [data-style="clay"]) .side { margin: 0; border-radius: 28px 0 0 28px; }
  [data-style="layered"] body.with-side { background: var(--surface-2); }
  [data-style="editorial"] body.with-side, [dir="rtl"][data-style="editorial"] body.with-side, [data-style="pills"] body.with-side, [dir="rtl"][data-style="pills"] body.with-side { background: var(--card); }
}
@media (max-width: 680px) {
  [data-style="glass"] .dash-panel { padding: var(--space-4); border-radius: 24px; }
  .dash-stats .stat b { font-size: 1.8rem; }
  [data-style="editorial"] .stat { border-inline-end: 0; border-bottom: 1px solid var(--line-strong); }
}

/* ------------------------------------------------------------------ layouts: where the menu sits (src/styles.js LAYOUTS)
   Each style brings one, set as html[data-layout]. ":root:root" lets a layout win over a style's own menu rules. */
.brand .brand-mark { display: none; }
.ly-name { color: var(--link); font-weight: 600; }

/* The style samples show their layout too. */
.style-demo.ly-top { grid-template-columns: 1fr 1fr; grid-template-rows: .7rem 1fr auto; }
.style-demo.ly-top .s { grid-row: auto; grid-column: 1 / -1; }
.style-demo.ly-rail { grid-template-columns: 10% 1fr 1fr; }
.style-demo.ly-rail .b { grid-column: 2; }
.style-demo.ly-bottom { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto .7rem; }
.style-demo.ly-bottom .s { grid-row: 3; grid-column: 1 / -1; margin-inline: 18%; border-radius: 99px; }

@media (min-width: 961px) {
  /* Menu along the top: the logo and the pages in one bar, the page below at full width. */
  :root:root[data-layout="top"] body.with-side { display: block; background: var(--bg); }
  :root:root[data-layout="top"] .side { position: sticky; top: 0; z-index: 30; height: auto; margin: 0; border-radius: 0; flex-direction: row; align-items: center;
    gap: var(--space-4); padding: var(--space-2) var(--space-5); overflow: visible; box-shadow: 0 1px 0 var(--line); }
  :root:root[data-layout="top"] .side-top { padding: 0; flex: none; }
  :root:root[data-layout="top"] .side-nav { display: flex; flex-wrap: nowrap; gap: var(--space-1); overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
  :root:root[data-layout="top"] .side-link { flex: none; min-height: 2.3rem; padding: .35rem .9rem; border-radius: 999px; font-size: .88rem; white-space: nowrap; }
  :root:root[data-layout="top"] .side-link .ico { display: none; }
  :root:root[data-layout="top"] .side-link .soon-tag { display: none; }
  :root:root[data-layout="top"] .side-link.on::before { display: none; }
  :root:root[data-layout="top"] .side-head { margin: 0 var(--space-2); padding-inline-start: var(--space-3); border-inline-start: 1px solid currentColor; opacity: .7; flex: none; align-self: center; }
  :root:root[data-layout="top"] .side-foot { display: none; }
  :root:root[data-layout="top"] .topbar { position: static; }
  :root:root[data-layout="top"] main { max-width: 1280px; }

  /* Slim icon bar: only the icons, names on hover, and a wider page. */
  :root:root[data-layout="rail"] body.with-side { grid-template-columns: 5.5rem minmax(0, 1fr); }
  [dir="rtl"]:root:root[data-layout="rail"] body.with-side, :root:root[data-layout="rail"] body.with-side { background: var(--bg); }
  :root:root[data-layout="rail"] .side { width: auto; align-items: center; padding: var(--space-4) var(--space-2); gap: var(--space-3); }
  :root:root[data-layout="rail"] .brand .logo-row { display: none; }
  :root:root[data-layout="rail"] .brand .brand-mark { display: block; height: 2rem; width: 2rem; }
  :root:root[data-layout="rail"] .side-top { padding: 0; justify-content: center; }
  :root:root[data-layout="rail"] .side-nav { justify-items: center; gap: var(--space-1); }
  :root:root[data-layout="rail"] .side-link { width: 3rem; height: 3rem; min-height: 0; padding: 0; justify-content: center; border-radius: 14px; }
  :root:root[data-layout="rail"] :is(.side-label, .soon-tag, .side-foot) { display: none; }
  :root:root[data-layout="rail"] .side-head { width: 2rem; height: 1px; margin: var(--space-2) 0; overflow: hidden; color: transparent; background: var(--nav-muted); opacity: .4; }
  :root:root[data-layout="rail"] .side-link.on::before { inset-inline-start: -.5rem; }
  :root:root[data-layout="rail"] main { max-width: 1400px; }
}

/* Bar at the bottom, on every screen: a floating bar with the pages, the open one raised. */
:root:root[data-layout="bottom"] body.with-side { display: block; }
:root:root[data-layout="bottom"] .icon-btn.menu-btn { display: none; }
:root:root[data-layout="bottom"] .side, :root:root[data-layout="bottom"] .side:target { display: flex; position: fixed; inset: auto 0 14px 0; top: auto; z-index: 40;
  width: auto; max-width: min(64rem, calc(100% - 24px)); height: auto; margin: 0 auto; padding: 6px; border-radius: 30px; flex-direction: row; gap: 0; overflow: visible;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25); }
:root:root[data-layout="bottom"] :is(.side-top, .side-foot, .side-head) { display: none; }
/* Only the main pages fit; the platform pages stay one click away under Settings. */
:root:root[data-layout="bottom"] .side-head ~ .side-link { display: none; }
:root:root[data-layout="bottom"] .side-nav { display: flex; flex: 1; gap: 2px; overflow-x: auto; overflow-y: visible; scrollbar-width: none; padding-top: 16px; margin-top: -16px; }
:root:root[data-layout="bottom"] .side-link { flex: 1 0 4.6rem; flex-direction: column; gap: 2px; min-height: 0; padding: .45rem .3rem; font-size: .68rem; text-align: center; min-width: 0; border-radius: 20px; }
:root:root[data-layout="bottom"] .side-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
:root:root[data-layout="bottom"] .side-link .soon-tag { display: none; }
:root:root[data-layout="bottom"] .side-link.on { transform: translateY(-10px); background: var(--brand); color: var(--on-brand); outline: 0;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 45%, transparent); }
:root:root[data-layout="bottom"] .side-link.on .ico { color: var(--on-brand); }
:root:root[data-layout="bottom"] .side-link.on::before { display: none; }
:root:root[data-layout="bottom"] .scrim { display: none !important; }
:root:root[data-layout="bottom"] main { padding-bottom: 8rem; }
:root:root[data-layout="bottom"] .legal { padding-bottom: 7rem; }
@media (max-width: 680px) {
  :root:root[data-layout="bottom"] .side-link { flex-basis: 4.4rem; font-size: .7rem; min-height: 2.75rem; }
}

/* ------------------------------------------------------------------ six more layouts (owner: "more layouts, be creative") */
/* Samples on the Layout card. */
.ly-demo .s { background: var(--nav); }
.style-demo.ly-dock, .style-demo.ly-island, .style-demo.ly-centred { grid-template-columns: 1fr 1fr; grid-template-rows: .7rem 1fr auto; }
.style-demo.ly-dock { grid-template-rows: 1fr auto .7rem; }
.style-demo.ly-dock .s { grid-row: 3; grid-column: 1 / -1; margin-inline: 34%; border-radius: 99px; }
.style-demo.ly-island .s { grid-row: auto; grid-column: 1 / -1; margin-inline: 25%; border-radius: 99px; }
.style-demo.ly-centred { padding-inline: 20%; }
.style-demo.ly-centred .s { grid-row: auto; grid-column: 1 / -1; }
.style-demo.ly-right { grid-template-columns: 1fr 28%; }
.style-demo.ly-right .s { grid-column: 2; grid-row: 1 / span 2; }
.style-demo.ly-right .c { grid-column: 1; }
.style-demo.ly-launcher { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; }
.style-demo.ly-launcher i { background: var(--nav); border: 0; border-radius: 8px; opacity: .85; }
.style-demo.ly-launcher .s { grid-row: auto; }
.style-demo.ly-launcher .b { width: 100%; height: auto; align-self: stretch; background: var(--brand); }
.style-demo.ly-bento { grid-template-columns: 10% 2fr 1fr; grid-template-rows: 1fr 1fr; }
.style-demo.ly-bento .c:first-of-type { grid-row: span 2; }
.style-demo.ly-bento .b { width: 100%; height: auto; align-self: stretch; grid-column: 3; }

/* Dock: a small row of icons at the bottom, on every screen; they grow under the mouse. */
:root:root[data-layout="dock"] body.with-side { display: block; }
:root:root[data-layout="dock"] .icon-btn.menu-btn { display: none; }
:root:root[data-layout="dock"] .side, :root:root[data-layout="dock"] .side:target { display: flex; position: fixed; inset: auto 0 14px 0; top: auto; z-index: 40;
  width: fit-content; max-width: calc(100% - 24px); height: auto; margin: 0 auto; padding: 8px 10px; border-radius: 24px; flex-direction: row; gap: 0; overflow: visible;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28); }
:root:root[data-layout="dock"] :is(.side-top, .side-foot, .side-head, .side-label, .soon-tag) { display: none; }
:root:root[data-layout="dock"] .side-head ~ .side-link { display: none; }
:root:root[data-layout="dock"] .side-nav { display: flex; gap: 6px; align-items: flex-end; }
:root:root[data-layout="dock"] .side-link { width: 3rem; height: 3rem; min-height: 0; padding: 0; justify-content: center; border-radius: 14px;
  background: color-mix(in srgb, #FFFFFF 10%, transparent); transition: transform .15s ease; transform-origin: bottom center; }
:root:root[data-layout="dock"] .side-link:hover, :root:root[data-layout="dock"] .side-link:focus-visible { transform: scale(1.35) translateY(-4px); }
:root:root[data-layout="dock"] .side-link.on { background: color-mix(in srgb, #FFFFFF 22%, transparent); }
:root:root[data-layout="dock"] .side-link.on::before { inset: auto 0 -7px 0; top: auto; width: 5px; height: 5px; margin: 0 auto; border-radius: 50%; }
:root:root[data-layout="dock"] .scrim { display: none !important; }
:root:root[data-layout="dock"] main { padding-bottom: 7rem; }
:root:root[data-layout="dock"] .legal { padding-bottom: 6rem; }

/* Launcher: no menu on the page; one button opens every page as big tiles over a frosted screen. */
:root:root[data-layout="launcher"] body.with-side { display: block; }
:root:root[data-layout="launcher"] .icon-btn.menu-btn { display: inline-grid; background: var(--brand); color: var(--on-brand); border-radius: 14px; }
:root:root[data-layout="launcher"] .side:not(:target) { display: none; }
:root:root[data-layout="launcher"] .side:target { display: flex; position: fixed; inset: 0; z-index: 50; width: auto; height: auto; margin: 0; border-radius: 0;
  padding: var(--space-6) max(var(--space-5), calc((100% - 64rem) / 2)); overflow-y: auto;
  background: color-mix(in srgb, var(--nav) 82%, transparent); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
:root:root[data-layout="launcher"] .icon-btn.side-close { display: inline-grid; color: var(--on-nav); }
:root:root[data-layout="launcher"] .side-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: var(--space-3); }
:root:root[data-layout="launcher"] .side-link { flex-direction: column; justify-content: center; gap: var(--space-2); min-height: 7.5rem; padding: var(--space-4);
  border-radius: 22px; text-align: center; background: color-mix(in srgb, #FFFFFF 8%, transparent); border: 1px solid color-mix(in srgb, #FFFFFF 12%, transparent); }
:root:root[data-layout="launcher"] .side-link .ico { width: 30px; height: 30px; }
:root:root[data-layout="launcher"] .side-link.on { background: var(--brand); color: var(--on-brand); }
:root:root[data-layout="launcher"] .side-link.on .ico { color: var(--on-brand); }
:root:root[data-layout="launcher"] .side-link.on::before { display: none; }
:root:root[data-layout="launcher"] .side-head { grid-column: 1 / -1; margin: var(--space-4) 0 0; }
:root:root[data-layout="launcher"] .side-foot { margin: var(--space-5) 0 0; }
:root:root[data-layout="launcher"] .scrim { display: none !important; }

@media (min-width: 961px) {
  /* Menu on the right: the side menu on the other side. */
  :root:root[data-layout="right"] body.with-side { grid-template-columns: minmax(0, 1fr) var(--side-w); background: var(--bg); }
  :root:root[data-layout="right"] .side { grid-column: 2; grid-row: 1; }
  :root:root[data-layout="right"] .frame { grid-column: 1; grid-row: 1; }
  :root:root[data-layout="right"] .side-link.on::before { inset-inline-start: auto; inset-inline-end: -.75rem; border-radius: 4px 0 0 4px; }

  /* Floating island: a pill-shaped menu floating at the top centre. */
  :root:root[data-layout="island"] body.with-side { display: block; background: var(--bg); }
  :root:root[data-layout="island"] .side { position: sticky; top: 12px; z-index: 30; width: fit-content; max-width: calc(100% - 32px); height: auto; margin: 12px auto 0;
    padding: 6px 8px 6px 14px; border-radius: 999px; flex-direction: row; align-items: center; gap: var(--space-3); overflow: visible;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .22); }
  :root:root[data-layout="island"] .side-top { padding: 0; }
  :root:root[data-layout="island"] .brand .logo-row { display: none; }
  :root:root[data-layout="island"] .brand .brand-mark { display: block; height: 1.8rem; width: 1.8rem; }
  :root:root[data-layout="island"] .side-nav { display: flex; gap: 2px; }
  :root:root[data-layout="island"] .side-head ~ .side-link, :root:root[data-layout="island"] :is(.side-head, .side-foot, .soon-tag) { display: none; }
  :root:root[data-layout="island"] .side-link { min-height: 2.4rem; padding: .35rem .9rem; border-radius: 999px; font-size: .86rem; white-space: nowrap; }
  :root:root[data-layout="island"] .side-link:not(.on) .side-label { display: none; }
  :root:root[data-layout="island"] .side-link.on { background: var(--brand); color: var(--on-brand); }
  :root:root[data-layout="island"] .side-link.on .ico { color: var(--on-brand); }
  :root:root[data-layout="island"] .side-link.on::before { display: none; }
  :root:root[data-layout="island"] .topbar { position: static; }

  /* Centred page: the menu on top, the page a calm narrow column in the middle. */
  :root:root[data-layout="centred"] body.with-side { display: block; background: var(--bg); }
  :root:root[data-layout="centred"] .side { position: static; height: auto; margin: 0; border-radius: 0; flex-direction: column; align-items: center; gap: var(--space-2); padding: var(--space-4) var(--space-5) var(--space-3); }
  :root:root[data-layout="centred"] .side-top { padding: 0; }
  :root:root[data-layout="centred"] .side-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1); max-width: 60rem; }
  :root:root[data-layout="centred"] :is(.side-head, .side-foot, .soon-tag) { display: none; }
  :root:root[data-layout="centred"] .side-link { min-height: 2.2rem; padding: .3rem .8rem; font-size: .85rem; border-radius: 999px; }
  :root:root[data-layout="centred"] .side-link .ico { display: none; }
  :root:root[data-layout="centred"] .side-link.on::before { display: none; }
  :root:root[data-layout="centred"] .topbar { position: static; max-width: 880px; margin: 0 auto; width: 100%; }
  :root:root[data-layout="centred"] main { max-width: 880px; }
  :root:root[data-layout="centred"] .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root:root[data-layout="centred"] .dash-grid { grid-template-columns: minmax(0, 1fr); }
  :root:root[data-layout="centred"] .page-head { flex-direction: column; text-align: center; }
  :root:root[data-layout="centred"] .page-head > .actions { margin-inline-start: 0; }

  /* Bento: an icon bar, and the home page as a mosaic of big and small boxes. */
  :root:root[data-layout="bento"] body.with-side { grid-template-columns: 5.5rem minmax(0, 1fr); background: var(--bg); }
  :root:root[data-layout="bento"] .side { width: auto; align-items: center; padding: var(--space-4) var(--space-2); gap: var(--space-3); }
  :root:root[data-layout="bento"] .brand .logo-row { display: none; }
  :root:root[data-layout="bento"] .brand .brand-mark { display: block; height: 2rem; width: 2rem; }
  :root:root[data-layout="bento"] .side-top { padding: 0; justify-content: center; }
  :root:root[data-layout="bento"] .side-nav { justify-items: center; gap: var(--space-1); }
  :root:root[data-layout="bento"] .side-link { width: 3rem; height: 3rem; min-height: 0; padding: 0; justify-content: center; border-radius: 50%; }
  :root:root[data-layout="bento"] :is(.side-label, .soon-tag, .side-foot) { display: none; }
  :root:root[data-layout="bento"] .side-head { width: 2rem; height: 1px; margin: var(--space-2) 0; overflow: hidden; color: transparent; background: var(--nav-muted); opacity: .4; }
  :root:root[data-layout="bento"] .side-link.on::before { display: none; }
  :root:root[data-layout="bento"] .side-link.on { background: var(--brand); color: var(--on-brand); }
  :root:root[data-layout="bento"] .side-link.on .ico { color: var(--on-brand); }
  :root:root[data-layout="bento"] main { max-width: 1400px; }
  :root:root[data-layout="bento"] .dash-panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); align-items: stretch; }
  :root:root[data-layout="bento"] .dash-panel > .page-head { grid-column: 1 / -1; margin: 0; }
  :root:root[data-layout="bento"] .dash-panel > .dash-stats, :root:root[data-layout="bento"] .dash-panel > .dash-grid { display: contents; }
  :root:root[data-layout="bento"] .dash-stats .stat:first-child { grid-column: span 2; grid-row: span 2; align-content: center; }
  :root:root[data-layout="bento"] .dash-stats .stat:first-child b { font-size: 4.5rem; }
  :root:root[data-layout="bento"] .dash-stats .stat:nth-child(4) { grid-column: span 2; }
  :root:root[data-layout="bento"] .dash-stats .stat:first-child .mini { height: 5rem; }
  :root:root[data-layout="bento"] .dash-grid .wide { grid-column: span 3; }
  :root:root[data-layout="bento"] .dash-grid .card:nth-child(2) { grid-column: span 1; grid-row: span 2; }
  :root:root[data-layout="bento"] .dash-grid .card:nth-child(3) { grid-column: span 3; }
  :root:root[data-layout="bento"] .dash-panel > .flash { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ Apple's design rules (owner, 2026-11-05)
   Everything that can be tapped is at least 44 points; iPhones get a tab bar at the bottom; nothing sits under the
   notch or the home line (viewport-fit=cover in head.ejs, then env(safe-area-inset-*)). */
.icon-btn { width: 2.75rem; height: 2.75rem; }
.avatar-btn { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; cursor: pointer; }
.lang-btn, .switch-btn { min-height: 2.75rem; }
.segmented button { min-height: 2.75rem; font-size: .9rem; }
.pop-item, .side-link, .btn { min-height: 2.75rem; }
.card-head > a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.ty-more > summary { padding-block: .7rem; cursor: pointer; }
.eyebrow { color: var(--brand-ink, var(--brand)); }
[data-style="outline"] .btn.primary { color: var(--brand-ink, var(--brand)); }
@media (min-width: 961px) { :root:root[data-layout="top"] .side-link { min-height: 2.75rem; } }

.topbar { padding-top: max(var(--space-2), env(safe-area-inset-top)); padding-inline: max(var(--space-5), env(safe-area-inset-left)) max(var(--space-5), env(safe-area-inset-right)); }
:root:root[data-layout="bottom"] .side, :root:root[data-layout="bottom"] .side:target,
:root:root[data-layout="dock"] .side, :root:root[data-layout="dock"] .side:target { bottom: calc(14px + env(safe-area-inset-bottom)); }

.phone-tabs { display: none; }
@media (max-width: 960px) {
  .with-side .phone-tabs { display: flex; position: fixed; inset: auto 0 0 0; z-index: 30; padding: 4px max(8px, env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    background: color-mix(in srgb, var(--card) 88%, transparent); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); }
  .phone-tabs .tab { flex: 1 1 0; min-width: 0; min-height: 3.1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    color: var(--muted); text-decoration: none; font-size: .72rem; font-weight: 600; border-radius: 12px; }
  .phone-tabs .tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .phone-tabs .tab.on { color: var(--brand-ink, var(--brand)); }
  .phone-tabs .tab:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
  /* The tab bar has Menu, so the top bar loses its menu button and the search box (Search is a tab). */
  .with-side .icon-btn.menu-btn { display: none; }
  .with-side .topbar .search { display: none; }
  .with-side main { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  .with-side .legal { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
  /* The bars at the bottom are tab bars already. */
  :root:root:is([data-layout="bottom"], [data-layout="dock"]) .phone-tabs { display: none; }
  :root:root[data-layout="launcher"] .icon-btn.menu-btn { display: none; }
}
@media (max-width: 680px) {
  /* A slimmer top bar: the company, the language and the account picture in one row. */
  .topbar { flex-wrap: nowrap; padding-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right)); }
  .with-side .lang-btn > span[lang] { display: none; }
  .with-side .lang-btn { padding-inline: .7rem; }
  .switch-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
  .switch-text { min-width: 0; }
  .side-link { min-height: 2.75rem; }
}

/* ------------------------------------------------------------------ Void (owner, 2026-11-05, from a design they liked) */
/* A black page whatever the palette, big headings in a regular weight with tight letters, no boxes, borders or
   shadows, buttons with 24px corners, and small triangles in the palette's colours drifting in the top corner.
   Text stays readable (Apple check, PR #65): light text on black, links lightened from the palette, fields keep a
   thin edge so they can be found, and every tap target keeps its 44px. */
[data-style="void"] { --radius: 24px; --radius-lg: 28px; --radius-btn: 24px; --radius-icon: 14px; }
/* Dark (the palette's own, or Dark chosen): the black void. */
[data-style="void"]:not([data-theme="light"]) { color-scheme: dark; }
[data-style="void"]:not([data-theme="light"]) body { --bg: color-mix(in srgb, var(--brand) 4%, #000000); --card: transparent; --surface-2: color-mix(in srgb, #FFFFFF 7%, #000000);
  --text: #E6E6EA; --heading: #FFFFFF; --muted: #A6A6AE; --link: color-mix(in srgb, var(--brand) 55%, #FFFFFF); --brand-ink: color-mix(in srgb, var(--brand) 55%, #FFFFFF);
  --line: color-mix(in srgb, #FFFFFF 12%, transparent); --line-strong: color-mix(in srgb, #FFFFFF 24%, transparent);
  --nav: transparent; --on-nav: #FFFFFF; --nav-muted: #B4B4BC; --nav-hover: color-mix(in srgb, #FFFFFF 8%, transparent); --nav-on: color-mix(in srgb, #FFFFFF 10%, transparent); --nav-on-bg: color-mix(in srgb, #FFFFFF 12%, transparent);
  background: var(--bg); color: var(--text); font-weight: 300; }
/* Light (owner, 2026-11-05: light and dark should work with Deep Void): the same look on a white page, with the
   palette's own light colours (already checked for contrast by colours.toVars). */
[data-style="void"][data-theme="light"] { color-scheme: light; }
[data-style="void"][data-theme="light"] body { --bg: color-mix(in srgb, var(--brand) 3%, #FFFFFF); --card: transparent; --surface-2: color-mix(in srgb, #000000 4%, #FFFFFF);
  --line: color-mix(in srgb, #000000 10%, transparent); --line-strong: color-mix(in srgb, #000000 22%, transparent);
  --nav: transparent; --on-nav: var(--heading); --nav-muted: var(--muted); --nav-hover: color-mix(in srgb, #000000 5%, transparent); --nav-on: color-mix(in srgb, #000000 7%, transparent); --nav-on-bg: color-mix(in srgb, #000000 7%, transparent);
  background: var(--bg); color: var(--text); font-weight: 300; }
/* Light text only where it is big enough to read: small print, tables, fields and labels keep the regular weight. */
[data-style="void"] :is(.small, .tiny, small, table, label, input, select, textarea, .chip, .side-link, .phone-tabs) { font-weight: 400; }
[data-style="void"] :is(h1, h2, h3) { font-weight: 400; letter-spacing: -.03em; color: var(--heading); }
[data-style="void"] h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.04; margin-bottom: .6rem; }
[data-style="void"] h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.15; }
[data-style="void"] .eyebrow { color: var(--link); font-weight: 500; }
[data-style="void"] body.with-side { background: var(--bg); }
[data-style="void"] .frame { background: none; }
[data-style="void"] .side { background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: var(--on-nav); }
@media (min-width: 961px) { :root:root[data-style="void"] .side { box-shadow: none; } }
[data-style="void"] .topbar { background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-style="void"] :is(.switch-btn, .chip-btn, .topbar .search input) { background: transparent; border-color: var(--line-strong); color: var(--text); border-radius: 24px; }
[data-style="void"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap) { background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding-inline: 0; }
[data-style="void"] .dash-stats .stat b { font-size: 3rem; font-weight: 300; letter-spacing: -.04em; color: var(--heading); }
[data-style="void"] .app-ico { background: transparent; color: var(--heading); border: 1px solid var(--line-strong); }
[data-style="void"] :is(th, td) { border-color: var(--line); }
[data-style="void"] input:not([type=checkbox]):not([type=radio]), [data-style="void"] :is(select, textarea) { background: transparent; border: 1px solid var(--line-strong); color: var(--text); border-radius: 14px; }
[data-style="void"] .btn { border-radius: 24px; box-shadow: none; min-height: 44px; }
[data-style="void"] .btn.primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 16%, transparent); }
[data-style="void"] .btn.primary:hover { background: color-mix(in srgb, var(--brand) 85%, #FFFFFF); }
[data-style="void"] .btn:not(.primary):not(.ghost):not(.danger) { background: transparent; color: var(--heading); border: 1px solid var(--line-strong); }
[data-style="void"] .chip { background: transparent; border: 1px solid currentColor; }
[data-style="void"] .phone-tabs { background: color-mix(in srgb, var(--bg) 88%, transparent); }
[data-style="void"] .mini.bars rect { fill: var(--brand); }
[data-style="void"] .mini.bars.alt rect { fill: var(--accent); }
[data-style="void"] .mini.bars.warm rect { fill: var(--info, var(--accent)); }
/* The triangles: three layers of small shapes in the palette's colours, fading out towards the text. */
[data-style="void"] .style-scene { display: block; position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
[data-style="void"] .style-scene span { position: absolute; inset: -10% -10% auto auto; width: 62vw; height: 80vh; border-radius: 0; filter: none; opacity: .75;
  -webkit-mask-image: var(--tri), radial-gradient(closest-side at 70% 30%, #000 0%, transparent 100%); mask-image: var(--tri), radial-gradient(closest-side at 70% 30%, #000 0%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; animation: void-drift 60s linear infinite; }
[data-style="void"] .style-scene span:nth-child(1) { --tri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cpolygon points='99.7,134.9 113.1,122.7 117.0,140.4'/%3E%3Cpolygon points='116.4,138.1 124.6,134.2 124.0,143.3'/%3E%3Cpolygon points='146.0,186.5 144.5,178.6 152.1,181.2'/%3E%3Cpolygon points='41.8,187.9 27.0,191.9 30.9,177.1'/%3E%3Cpolygon points='215.8,212.8 230.4,215.8 220.5,226.9'/%3E%3Cpolygon points='54.6,20.0 41.4,22.0 46.2,9.6'/%3E%3Cpolygon points='50.2,66.2 55.6,61.3 57.2,68.4'/%3E%3Cpolygon points='102.5,186.7 114.9,191.3 104.7,199.7'/%3E%3Cpolygon points='118.7,161.5 114.4,149.8 126.7,152.0'/%3E%3Cpolygon points='222.9,215.6 235.1,227.6 218.5,232.1'/%3E%3C/svg%3E"); background: var(--brand); }
[data-style="void"] .style-scene span:nth-child(2) { --tri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cpolygon points='112.7,84.2 100.1,85.2 105.5,73.8'/%3E%3Cpolygon points='228.9,138.6 235.5,119.4 248.9,134.8'/%3E%3Cpolygon points='295.0,266.3 288.9,260.1 297.3,257.9'/%3E%3Cpolygon points='269.5,159.0 278.2,138.5 291.6,156.3'/%3E%3Cpolygon points='33.9,208.9 26.4,191.0 45.7,193.4'/%3E%3Cpolygon points='40.1,98.4 50.1,118.0 28.1,116.9'/%3E%3Cpolygon points='53.9,88.1 43.9,89.6 47.6,80.2'/%3E%3C/svg%3E"); background: var(--accent); opacity: .6; animation-duration: 90s; animation-direction: reverse; }
[data-style="void"] .style-scene span:nth-child(3) { --tri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cpolygon points='300.1,83.7 312.6,69.3 318.8,87.3'/%3E%3Cpolygon points='80.5,280.6 92.0,285.2 82.3,292.9'/%3E%3Cpolygon points='56.4,178.4 51.0,165.7 64.6,167.4'/%3E%3Cpolygon points='381.7,307.1 376.9,321.4 366.9,310.1'/%3E%3Cpolygon points='83.8,150.0 105.9,158.5 87.5,173.4'/%3E%3C/svg%3E"); background: color-mix(in srgb, var(--info, var(--accent)) 60%, #FFFFFF); opacity: .45; animation-duration: 120s; }
[dir="rtl"][data-style="void"] .style-scene span { inset: -10% auto auto -10%; }
@keyframes void-drift { from { -webkit-mask-position: 0 0, 0 0; mask-position: 0 0, 0 0; } to { -webkit-mask-position: 260px 520px, 0 0; mask-position: 260px 520px, 0 0; } }
@media (prefers-reduced-motion: reduce) { [data-style="void"] .style-scene span { animation: none; } }
@media (max-width: 960px) {
  [data-style="void"] body.with-side { display: block; }
  [data-style="void"] .side { background: var(--bg); }
  [data-style="void"] .style-scene span { width: 100vw; height: 50vh; opacity: .4; }
}
/* The moving brain of triangles (public/void.js) replaces the corner triangles once it is drawn. */
[data-style="void"] .void-canvas { position: absolute; inset: 0; display: block; }
[data-style="void"].void-drawn .style-scene span { display: none; }
/* Its sample on the Styles tab */
.sd-void { background: #000000; border-color: color-mix(in srgb, #FFFFFF 14%, transparent); }
.sd-void .s { background: transparent; border-bottom: 1px solid color-mix(in srgb, #FFFFFF 16%, transparent); border-radius: 0; }
.sd-void .c { background: transparent; border: 0; }
.sd-void .c + .c { background: linear-gradient(var(--brand), var(--brand)) 70% 20% / 14px 14px no-repeat, linear-gradient(var(--accent), var(--accent)) 30% 70% / 10px 10px no-repeat;
  clip-path: polygon(64% 8%, 82% 40%, 46% 40%, 22% 55%, 38% 85%, 6% 85%); }
.sd-void .c:first-of-type { background: linear-gradient(#FFFFFF, #FFFFFF) no-repeat 0 30% / 75% 7px, linear-gradient(#8A8A92, #8A8A92) no-repeat 0 75% / 50% 3px; }
.sd-void .b { border-radius: 99px; }

/* ------------------------------------------------------------------ the sign-in page follows the style (owner, 2026-11-05) */
/* The page's scene shows behind the form side, and the form becomes one of the style's cards. Glow keeps the page as
   it always was. */
:root:not([data-style="glow"]) .split-form { padding: var(--space-6); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
:is([data-style="glass"], [data-style="glass-side"], [data-style="admin"], [data-style="lamp"], [data-style="checkout"], [data-style="void"]) .split-side { background: transparent; }
:is([data-style="soft"], [data-style="clay"], [data-style="pills"], [data-style="tabbar"]) .split-form { border-color: transparent; box-shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .08); }
[data-style="clay"] .split-side { background: color-mix(in srgb, var(--accent) 12%, var(--bg)); }
[data-style="clay"] .split-form { box-shadow: 8px 8px 20px color-mix(in srgb, var(--accent) 22%, transparent), -6px -6px 16px color-mix(in srgb, #FFFFFF 70%, transparent); }
:is([data-style="crisp"], [data-style="outline"]) .split-form { box-shadow: none; border-color: var(--line-strong); border-radius: 4px; }
[data-style="bold"] .split-form { border: 2px solid var(--text); box-shadow: 6px 6px 0 var(--text); }
[data-style="layered"] .split-side { background: var(--surface-2); }
[data-style="layered"] .split-form { border: 0; border-top: 3px solid var(--accent); box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 6px 16px rgba(0, 0, 0, .06), 0 18px 40px rgba(0, 0, 0, .06); }
[data-style="editorial"] .split-form { background: transparent; border: 0; border-top: 3px solid var(--text); border-radius: 0; padding-inline: 0; }
[data-style="editorial"] .split-side { background: var(--card); }
[data-style="blocks"] .split-form { border: 0; background: color-mix(in srgb, var(--accent) 14%, var(--card)); }
:is([data-style="glass"], [data-style="glass-side"], [data-style="admin"], [data-style="checkout"], [data-style="tabbar"]) .split-form { background: color-mix(in srgb, var(--card) 55%, transparent);
  border-color: color-mix(in srgb, #FFFFFF 45%, transparent); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }
:is([data-style="otp"], [data-style="lamp"]) .split-form { --card: color-mix(in srgb, var(--nav) 92%, #000000); --surface-2: color-mix(in srgb, var(--nav) 82%, #FFFFFF);
  --line: color-mix(in srgb, #FFFFFF 14%, transparent); --line-strong: color-mix(in srgb, #FFFFFF 26%, transparent);
  --text: #EEF1F6; --heading: #FFFFFF; --muted: color-mix(in srgb, #FFFFFF 78%, var(--nav)); --link: color-mix(in srgb, var(--accent) 40%, #FFFFFF); color: var(--text); background: var(--card); }
[data-style="lamp"] .split-form { box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 14%, transparent), 0 20px 40px rgba(0, 0, 0, .35); }
:is([data-style="soft"], [data-style="blocks"], [data-style="clay"], [data-style="pills"], [data-style="tabbar"], [data-style="checkout"]) .split-form .btn { border-radius: 999px; }
[data-style="editorial"] .split-form .btn { border-radius: 0; text-transform: uppercase; letter-spacing: .05em; }
/* Deep Void: no box at all; the welcome side is the void itself, with the moving brain behind its words. */
:root[data-style="void"] .split-form { background: transparent; border: 0; padding-inline: 0; }
[data-style="void"] .split-hello { background: transparent; color: var(--text); }
[data-style="void"] .split-eyebrow { color: var(--link); }
[data-style="void"] .split-big { font-family: inherit; font-weight: 400; letter-spacing: -.035em; color: var(--heading); }
[data-style="void"] .split-big em { color: var(--link); }
[data-style="void"] :is(.split-lead, .split-legal) { color: var(--muted); }
[data-style="void"] .split-apps li { background: transparent; border: 1px solid var(--line-strong); color: var(--text); }

/* ------------------------------------------------------------------ Laser Plum (owner, 2026-11-05, from a design they liked) */
/* A deep plum page lit by violet light rays from the top, white panels on the dark page (dark and light take turns),
   1px hairline edges instead of shadows, 14px cards, 8px buttons and fields, pill badges, wide-spaced typewriter
   labels (Space Mono, free and already on this server) and hand-drawn squiggles. Any palette: the page is the
   palette's main colour mixed into near-black, the rays and buttons take the palette's colours. Light: a warm
   off-white page under a dark plum top bar. Readable as PR #65 asks: 4.5:1 text, 44px taps. */
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/studio/space-mono-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/studio/space-mono-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
[data-style="plum"] { --radius: 14px; --radius-lg: 14px; --radius-btn: 8px; --radius-icon: 10px;
  --mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --plum-void: color-mix(in srgb, var(--brand) 9%, #07010B); --plum-deep: color-mix(in srgb, var(--brand) 6%, #050108);
  --plum-hair: color-mix(in srgb, var(--brand) 20%, #3A3440); --plum-ray: color-mix(in srgb, var(--brand) 55%, #2A0638); }
/* Dark: the plum void. */
[data-style="plum"]:not([data-theme="light"]) { color-scheme: dark; }
[data-style="plum"]:not([data-theme="light"]) body { --bg: var(--plum-void); --card: var(--plum-deep); --surface-2: color-mix(in srgb, #FFFFFF 6%, var(--plum-void));
  --text: #F4F2F6; --heading: #FFFFFF; --muted: #B4AEB9; --line: var(--plum-hair); --line-strong: color-mix(in srgb, #FFFFFF 22%, var(--plum-hair));
  --link: color-mix(in srgb, var(--brand) 70%, #FFFFFF); --brand-ink: color-mix(in srgb, var(--brand) 70%, #FFFFFF);
  --nav: transparent; --on-nav: #FFFFFF; --nav-muted: #B7B3B9; --nav-hover: color-mix(in srgb, #FFFFFF 7%, transparent); --nav-on: color-mix(in srgb, #FFFFFF 9%, transparent); --nav-on-bg: color-mix(in srgb, #FFFFFF 9%, transparent);
  background: var(--bg); color: var(--text); }
/* White panels on the dark page: the big content boxes are light, the small plates stay dark. */
[data-style="plum"]:not([data-theme="light"]) :is(.card, .table-wrap) { --card: #FFFFFF; --surface-2: #F4F2F6; --line: #E1E4E8; --line-strong: #C8C3CE;
  --text: #1C1422; --heading: color-mix(in srgb, var(--brand) 16%, #14001C); --muted: #5E5766; --link: color-mix(in srgb, var(--brand) 45%, #1A0026); --brand-ink: color-mix(in srgb, var(--brand) 45%, #1A0026);
  --ok: #1F6B45; --ok-soft: #E3F2E9; --warn: #7A5000; --warn-soft: #FBF0D9; --danger: #B3362B; --danger-soft: #FBEAE7; --info-text: #1E6E8C; --info-soft: #E3F4FA;
  color: var(--text); color-scheme: light; }
/* Light: a warm off-white page, white cards, and the top bar stays a dark plum band with the light rays in it. */
[data-style="plum"][data-theme="light"] { color-scheme: light; }
[data-style="plum"][data-theme="light"] body { --bg: color-mix(in srgb, var(--brand) 2%, #F7F6F5); --card: #FFFFFF; --surface-2: color-mix(in srgb, var(--brand) 3%, #F0F0F0);
  --line: #E1E4E8; --line-strong: #C8C3CE; --heading: color-mix(in srgb, var(--brand) 16%, #14001C);
  --nav: var(--plum-void); --on-nav: #FFFFFF; --nav-muted: #CFCAD3; --nav-hover: color-mix(in srgb, #FFFFFF 8%, transparent); --nav-on: color-mix(in srgb, #FFFFFF 12%, transparent); --nav-on-bg: color-mix(in srgb, #FFFFFF 12%, transparent);
  background: var(--bg); color: var(--text); }
[data-style="plum"][data-theme="light"] .side { background: radial-gradient(60% 160% at 20% 0%, color-mix(in srgb, var(--plum-ray) 70%, transparent), transparent 70%), var(--plum-void); color: var(--on-nav); }
[data-style="plum"][data-theme="light"] .side .brand .logo { filter: none; }

[data-style="plum"] body.with-side { background: var(--bg); }
[data-style="plum"] .frame { background: none; }
[data-style="plum"]:not([data-theme="light"]) .side { background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
@media (min-width: 961px) { :root:root[data-style="plum"] .side { box-shadow: 0 1px 0 var(--plum-hair); } }
[data-style="plum"] .topbar { background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-style="plum"] :is(.switch-btn, .chip-btn, .topbar .search input) { background: transparent; border: 1px solid var(--line); border-radius: 8px; color: var(--text); }
/* Type: medium headings pulled tight, wide-spaced typewriter labels. */
[data-style="plum"] :is(h1, h2, h3) { font-weight: 500; color: var(--heading); }
[data-style="plum"] h1 { letter-spacing: -.05em; font-size: clamp(2.2rem, 3.8vw, 3.1rem); line-height: 1.1; }
[data-style="plum"] h2 { letter-spacing: -.04em; }
[data-style="plum"] h3 { letter-spacing: -.025em; }
[data-style="plum"] :is(.eyebrow, .chip, th, .days) { font-family: var(--mono); letter-spacing: .08em; }
[data-style="plum"] .eyebrow { color: var(--link); font-weight: 400; font-size: .76rem; }
[data-style="plum"]:is(:lang(ar), :lang(ur)) :is(.eyebrow, .chip, th, .days), [dir="rtl"][data-style="plum"] :is(.eyebrow, .chip, th, .days) { font-family: inherit; letter-spacing: 0; }
/* Hairlines instead of shadows; 14px cards, 8px buttons and fields, pill badges. */
[data-style="plum"] :is(.card, .stat, .app-tile, .co-card, .market-card, .table-wrap) { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-style="plum"] :is(.card, .table-wrap):hover { box-shadow: none; }
[data-style="plum"] .app-ico { background: transparent; color: var(--heading); border: 1px solid var(--line); border-radius: 10px; }
[data-style="plum"] input:not([type=checkbox]):not([type=radio]), [data-style="plum"] :is(select, textarea) { border-radius: 8px; border: 1px solid var(--line-strong); background: var(--card); color: var(--text); }
[data-style="plum"] .btn { border-radius: 8px; box-shadow: none; min-height: 44px; font-weight: 500; }
[data-style="plum"] .btn.primary { background: var(--brand); color: var(--on-brand); }
[data-style="plum"] .btn.primary:hover { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
[data-style="plum"] .btn:not(.primary):not(.ghost):not(.danger) { background: transparent; color: var(--heading); border: 1px solid var(--line-strong); }
[data-style="plum"] .chip { border-radius: 999px; border: 1px solid var(--line); }
[data-style="plum"] .phone-tabs { background: color-mix(in srgb, var(--plum-void) 92%, transparent); border-top-color: var(--plum-hair); --muted: #B4AEB9; }
/* The scene: violet light rays falling from the top left, and hand-drawn squiggles in the corners. */
[data-style="plum"] .style-scene { display: block; position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
[data-style="plum"] .style-scene span { position: absolute; border-radius: 0; filter: none; opacity: 1; }
[data-style="plum"] .style-scene span:nth-child(1) { inset: -20vh -10vw auto -10vw; height: 95vh; transform-origin: 20% 0;
  background: radial-gradient(45% 55% at 18% 0%, color-mix(in srgb, var(--brand) 50%, transparent), transparent 70%),
    radial-gradient(40% 50% at 80% 5%, color-mix(in srgb, var(--plum-ray) 60%, transparent), transparent 70%),
    linear-gradient(118deg, transparent 22%, color-mix(in srgb, var(--brand) 34%, transparent) 30%, transparent 37%),
    linear-gradient(118deg, transparent 40%, color-mix(in srgb, var(--plum-ray) 45%, transparent) 47%, transparent 55%),
    linear-gradient(118deg, transparent 58%, color-mix(in srgb, var(--brand) 16%, transparent) 63%, transparent 69%);
  filter: blur(26px); -webkit-mask-image: linear-gradient(#000 35%, transparent); mask-image: linear-gradient(#000 35%, transparent); animation: plum-sway 9s ease-in-out infinite alternate; }
[data-style="plum"] .style-scene span:nth-child(2) { top: auto; left: auto; bottom: 4vh; right: 2vw; width: 140px; height: 60px; background: var(--brand); opacity: .8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='60' viewBox='0 0 140 60' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 42c10-26 22-30 28-12s-4 26 6 22 14-30 26-28 6 26 18 24 12-22 22-20'/%3E%3Cpath d='M120 16l8-8m-8 8l-3 9 9-3'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='60' viewBox='0 0 140 60' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 42c10-26 22-30 28-12s-4 26 6 22 14-30 26-28 6 26 18 24 12-22 22-20'/%3E%3Cpath d='M120 16l8-8m-8 8l-3 9 9-3'/%3E%3C/svg%3E") no-repeat center / contain; }
[data-style="plum"] .style-scene span:nth-child(3) { top: auto; right: auto; bottom: 6vh; left: 2.5vw; width: 84px; height: 76px; background: var(--accent); opacity: .7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='76' viewBox='0 0 84 76' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M40 8c18-6 34 6 36 22s-6 30-22 34-34-2-42-16S22 14 40 8z'/%3E%3Cpath d='M30 30c6-6 14-6 18 0'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='76' viewBox='0 0 84 76' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M40 8c18-6 34 6 36 22s-6 30-22 34-34-2-42-16S22 14 40 8z'/%3E%3Cpath d='M30 30c6-6 14-6 18 0'/%3E%3C/svg%3E") no-repeat center / contain; }
[dir="rtl"][data-style="plum"] .style-scene span:nth-child(2) { right: auto; left: 2vw; transform: scaleX(-1); }
[dir="rtl"][data-style="plum"] .style-scene span:nth-child(3) { left: auto; right: 2.5vw; }
[data-style="plum"][data-theme="light"] .style-scene span:nth-child(1) { opacity: .35; }
@keyframes plum-sway { from { transform: rotate(-7deg) translateX(-5vw); opacity: .7; } 50% { opacity: 1; } to { transform: rotate(7deg) translateX(5vw); opacity: .8; } }
/* Movement you can see (owner, 2026-11-05: "nothing is moving"): a bright beam of light keeps crossing the rays,
   the corner squiggles float, and the squiggle under each title draws itself when the page opens. */
[data-style="plum"] .style-scene::before, [data-style="plum"] .style-scene::after { content: ''; position: absolute; top: -20vh; bottom: -20vh; left: 0; width: 16vw;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand) 60%, transparent) 45%, color-mix(in srgb, #FFFFFF 35%, var(--brand)) 50%, color-mix(in srgb, var(--brand) 60%, transparent) 55%, transparent);
  filter: blur(18px); opacity: 0; animation: plum-beam 8s ease-in-out infinite; }
[data-style="plum"] .style-scene::after { width: 9vw; animation-duration: 11s; animation-delay: -4s; }
[data-style="plum"][data-theme="light"] .style-scene::before, [data-style="plum"][data-theme="light"] .style-scene::after { mix-blend-mode: multiply; }
@keyframes plum-beam { from { transform: translateX(-25vw) skewX(-28deg); opacity: 0; } 12% { opacity: .55; } 75% { opacity: .55; } to { transform: translateX(120vw) skewX(-28deg); opacity: 0; } }
[data-style="plum"] .style-scene span:nth-child(2) { animation: plum-float 4.5s ease-in-out infinite alternate; }
[data-style="plum"] .style-scene span:nth-child(3) { animation: plum-float 5.5s ease-in-out infinite alternate-reverse; }
@keyframes plum-float { from { translate: 0 0; rotate: -6deg; } to { translate: 0 -18px; rotate: 8deg; } }
[data-style="plum"] main h1::after { animation: plum-draw 1.4s cubic-bezier(.2, .8, .2, 1) .2s both; }
@keyframes plum-draw { from { width: 0; } to { width: 84px; } }
@media (prefers-reduced-motion: reduce) { [data-style="plum"] .style-scene span, [data-style="plum"] main h1::after { animation: none; } [data-style="plum"] .style-scene::before, [data-style="plum"] .style-scene::after { display: none; } }
/* A squiggle under each page's title. */
[data-style="plum"] main h1::after { content: ''; display: block; width: 84px; height: 22px; margin-top: .35rem; background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='40' viewBox='0 0 84 40' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 30c14 0 18-22 30-22s10 18 0 18-10-18 4-20 22 14 36 6'/%3E%3C/svg%3E") no-repeat left center / 84px 22px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='40' viewBox='0 0 84 40' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 30c14 0 18-22 30-22s10 18 0 18-10-18 4-20 22 14 36 6'/%3E%3C/svg%3E") no-repeat left center / 84px 22px; }
[dir="rtl"][data-style="plum"] main h1::after { transform: scaleX(-1); }
@media (max-width: 960px) {
  [data-style="plum"] body.with-side { display: block; }
  [data-style="plum"] .side { background: var(--plum-void); }
  [data-style="plum"] .style-scene span:is(:nth-child(2), :nth-child(3)) { display: none; }
}
/* The sign-in page: the welcome side is the plum void with the rays, the form a white panel with a hairline edge. */
:root[data-style="plum"] .split-form { border-radius: 14px; border: 1px solid var(--line); box-shadow: none; }
[data-style="plum"]:not([data-theme="light"]) .split-form { --card: #FFFFFF; --surface-2: #F4F2F6; --line: #E1E4E8; --line-strong: #C8C3CE;
  --text: #1C1422; --heading: color-mix(in srgb, var(--brand) 16%, #14001C); --muted: #5E5766; --link: color-mix(in srgb, var(--brand) 45%, #1A0026); color: var(--text); background: var(--card); }
[data-style="plum"] .split-side { background: transparent; }
[data-style="plum"] .split-hello { background: transparent; color: #F4F2F6; }
[data-style="plum"][data-theme="light"] .split-hello { background: radial-gradient(70% 60% at 20% 0%, color-mix(in srgb, var(--plum-ray) 70%, transparent), transparent 70%), var(--plum-void); }
[data-style="plum"] .split-eyebrow { font-family: var(--mono); letter-spacing: .08em; color: color-mix(in srgb, var(--brand) 70%, #FFFFFF); }
[data-style="plum"] .split-big { font-family: inherit; font-weight: 500; letter-spacing: -.05em; color: #FFFFFF; }
[data-style="plum"] .split-big em { color: color-mix(in srgb, var(--brand) 70%, #FFFFFF); }
[data-style="plum"] :is(.split-lead, .split-legal) { color: #B7B3B9; }
[data-style="plum"] .split-apps li { background: transparent; border: 1px solid var(--plum-hair); color: #F4F2F6; font-family: var(--mono); font-weight: 400; letter-spacing: .05em; }
[data-style="plum"] .split-form .btn { border-radius: 8px; }
/* Its sample on the Styles tab */
.sd-plum { background: radial-gradient(70% 90% at 20% 0%, color-mix(in srgb, var(--brand) 45%, transparent), transparent 70%), color-mix(in srgb, var(--brand) 9%, #07010B); border-color: color-mix(in srgb, var(--brand) 20%, #3A3440); }
.sd-plum .s { background: transparent; border-bottom: 1px solid color-mix(in srgb, var(--brand) 25%, #3A3440); border-radius: 0; }
.sd-plum .c { background: #FFFFFF; border: 1px solid #E1E4E8; border-radius: 8px; }
.sd-plum .c + .c { background: color-mix(in srgb, var(--brand) 6%, #050108); border-color: color-mix(in srgb, var(--brand) 20%, #3A3440); }
.sd-plum .b { border-radius: 5px; }

/* All companies, for website owners: a search box, and a People link under each company. */
.co-search { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin: var(--space-4) 0; }
.co-search input { flex: 1 1 16rem; min-height: 44px; }
.co-cards > li { display: grid; gap: var(--space-2); }
.co-people { justify-self: end; padding: var(--space-1) var(--space-2); min-height: 44px; display: inline-flex; align-items: center; }

/* One customer account: cards keep their content at the top. */
.acct > .card { align-content: start; align-self: start; }

/* Change log: the filters in a row on wide screens, stacked on phones. */
.log-filter { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: var(--space-3); align-items: end; }
.log-filter .check { align-self: center; }
.pager { display: flex; gap: var(--space-3); align-items: center; justify-content: center; margin: var(--space-4) 0; }
.nowrap { white-space: nowrap; }

/* Prices in €, $ or JOD: the customer chooses (marketplace). */
.currency-pick { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin: var(--space-3) 0; }
.currency-pick .chip-link { display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; padding: 0 var(--space-3); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); }
.currency-pick .chip-link.on { background: var(--brand); color: var(--on-brand, #fff); border-color: var(--brand); }

/* The ERPeace logo (owner, 2026-11-05) is drawn inline, so each palette colours it: the tree mark in the brand
   colour, the word in the heading colour, the tagline muted. The small tree alone stands in where space is short. */
.logo { display: block; overflow: visible; }
.logo .lg-m { color: var(--brand); }
.logo .lg-w { color: var(--heading); }
.logo .lg-t { color: var(--muted); }
.brand .brand-mark .logo { height: 100%; width: 100%; }
/* In the menu the word takes the menu's own text colour (light on a dark menu, dark on a light one). */
.brand { color: inherit; }
.brand .logo .lg-w { color: currentColor; }
.split-hello .logo .lg-m, .split-hello .logo .lg-t { color: var(--front-sky); }
.split-hello .logo .lg-w { color: var(--front-peach); }
.found-mark { display: inline-block; width: 24px; height: 24px; vertical-align: middle; }
.found-mark .logo { width: 100%; height: 100%; }
