/* Generated by tools/theme/build.mjs from tools/theme/tokens.mjs. No theme cookie: follow the device. */
@media(prefers-color-scheme:dark){html:not(.theme-light){color-scheme:dark;--m-bg:#1b2430;--m-fg:#f6f4ef;--m-card:#26313f;--m-muted:#b9c0c8;--m-border:rgba(246,244,239,.18);--m-teal:#45e0d8;--m-on-teal:#0b0f14;--m-soft:rgba(69,224,216,.22);--m-deep:#070a0e;--m-deep-card:#10161d;--m-bad:#ff8a80;--m-bad-bg:#3b1f24;--m-bad-fg:#ffc2bc;--m-good:#6ee7a8;--m-to-dark:none;--m-to-light:inline-flex}
html:root:not(.theme-light) .tone-light,html:root:not(.theme-light) .tone-rise{color-scheme:dark;--background:var(--bg);--foreground:var(--ink);--card:var(--panel-solid);--card-foreground:var(--ink);--primary:var(--teal);--primary-foreground:#04121a;--muted:var(--bg2);--muted-foreground:var(--mut);--border:rgba(69,224,216,.16);--cta-face:linear-gradient(90deg,#0b0f14,#0b0f14,#171c24);--cta-ink:#fff;--cta-inset:0 1px 0 0 #05090f inset,0 1px 0 0 #2a313b}
html:root:not(.theme-light) .tone-light{--popover:var(--panel-solid);--popover-foreground:var(--ink);--secondary:var(--bg2);--secondary-foreground:var(--ink);--accent:var(--purple);--input:rgba(255,255,255,.14);--ring:var(--teal);--bad:#ff6b6b;--grad:linear-gradient(100deg,#45e0d8 0%,#7fb6e0 45%,#9b7bd4 100%)}
html:root:not(.theme-light) .tone-light,html:root:not(.theme-light) .tone-light.tone-arrive,html:root:not(.theme-light) .tone-light.tone-page{background-color:var(--bg);background-image:radial-gradient(900px 380px at 85% 0,rgba(69,224,216,.1),transparent 65%),linear-gradient(rgba(69,224,216,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(69,224,216,.04) 1px,transparent 1px);background-size:100% 100%,64px 64px,64px 64px}
html:root:not(.theme-light) .tone-rise{background:var(--bg)}
html:root:not(.theme-light) .section-break{background:#05080d}
}
html.theme-dark{color-scheme:dark;--m-bg:#1b2430;--m-fg:#f6f4ef;--m-card:#26313f;--m-muted:#b9c0c8;--m-border:rgba(246,244,239,.18);--m-teal:#45e0d8;--m-on-teal:#0b0f14;--m-soft:rgba(69,224,216,.22);--m-deep:#070a0e;--m-deep-card:#10161d;--m-bad:#ff8a80;--m-bad-bg:#3b1f24;--m-bad-fg:#ffc2bc;--m-good:#6ee7a8;--m-to-dark:none;--m-to-light:inline-flex}
html.theme-light{color-scheme:light;--m-bg:#f6f4ef;--m-fg:#0b0f14;--m-card:#ffffff;--m-muted:#4a4d52;--m-border:rgba(11,15,20,.16);--m-teal:#0a7c76;--m-on-teal:#ffffff;--m-soft:rgba(10,124,118,.22);--m-deep:#0b0f14;--m-deep-card:#151b23;--m-bad:#b42318;--m-bad-bg:#fdecea;--m-bad-fg:#7a1a12;--m-good:#2f6b3a;--m-to-dark:inline-flex;--m-to-light:none}
html:root.theme-dark .tone-light,html:root.theme-dark .tone-rise{color-scheme:dark;--background:var(--bg);--foreground:var(--ink);--card:var(--panel-solid);--card-foreground:var(--ink);--primary:var(--teal);--primary-foreground:#04121a;--muted:var(--bg2);--muted-foreground:var(--mut);--border:rgba(69,224,216,.16);--cta-face:linear-gradient(90deg,#0b0f14,#0b0f14,#171c24);--cta-ink:#fff;--cta-inset:0 1px 0 0 #05090f inset,0 1px 0 0 #2a313b}
html:root.theme-dark .tone-light{--popover:var(--panel-solid);--popover-foreground:var(--ink);--secondary:var(--bg2);--secondary-foreground:var(--ink);--accent:var(--purple);--input:rgba(255,255,255,.14);--ring:var(--teal);--bad:#ff6b6b;--grad:linear-gradient(100deg,#45e0d8 0%,#7fb6e0 45%,#9b7bd4 100%)}
html:root.theme-dark .tone-light,html:root.theme-dark .tone-light.tone-arrive,html:root.theme-dark .tone-light.tone-page{background-color:var(--bg);background-image:radial-gradient(900px 380px at 85% 0,rgba(69,224,216,.1),transparent 65%),linear-gradient(rgba(69,224,216,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(69,224,216,.04) 1px,transparent 1px);background-size:100% 100%,64px 64px,64px 64px}
html:root.theme-dark .tone-rise{background:var(--bg)}
html:root.theme-dark .section-break{background:#05080d}
