/* Generato da scripts/tokens-css.mjs a partire da replica/design/tokens.json: non modificare a mano. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f6f5f2;
  --bg-hover: #f1efe9;
  --code-bg: #f1efe9;
  --border: #e3e0d8;
  --border-input: #808582;
  --text: #1d2321;
  --text-muted: #676d6a;
  --muted-on-soft: #5f6562;
  --placeholder: #676d6a;
  --side-bg: #26294a;
  --side-text: #cfd3ea;
  --side-strong: #ffffff;
  --side-hover: #323862;
  --side-active: #b9c0f2;
  --side-active-text: #1b1f3a;
  --side-icon: #b4b9d6;
  --top-bg: #1d213d;
  --on-top: #ffffff;
  --search-bg: #33375a;
  --search-bg-focus: #3f4468;
  --search-placeholder: #c3c6dc;
  --search-placeholder-focus: #c9cce0;
  --search-icon: #d3d6e8;
  --accent: #4a52a3;
  --accent-strong: #3f4690;
  --accent-soft: #e9ebf8;
  --on-accent: #ffffff;
  --mention-bg: #e4e6f8;
  --mention-text: #343b85;
  --danger: #ae4f3d;
  --on-danger: #ffffff;
  --error-bg: #fbebe7;
  --success: #35844c;
  --success-text: #2f7a45;
  --on-success: #ffffff;
  --warning-bg: #f0dca6;
  --warning-text: #6e5208;
  --hl-bg: #f7dc9b;
  --hl-text: #1d2321;
  --skel: #ebe8e1;
  --toast-bg: #1d2321;
  --toast-text: #ffffff;
  --toast-action: #b9c0f2;
  --drop-bg: #f3f4fb;
  --sel-bg: #eef0fa;
  --label-grafite-bg: #dcd8ce;
  --label-grafite-text: #3a3f3d;
  --label-sabbia-bg: #e2d3b6;
  --label-sabbia-text: #56432a;
  --label-rame-bg: #f2c09d;
  --label-rame-text: #76340f;
  --label-ocra-bg: #f3dc92;
  --label-ocra-text: #5f4600;
  --label-oliva-bg: #dde3b2;
  --label-oliva-text: #46510c;
  --label-salvia-bg: #b7dcbf;
  --label-salvia-text: #1d5530;
  --label-laguna-bg: #bfe5e3;
  --label-laguna-text: #0f5659;
  --label-cielo-bg: #bcd4f1;
  --label-cielo-text: #1a3d78;
  --label-indaco-bg: #d3d6f5;
  --label-indaco-text: #363e95;
  --label-glicine-bg: #e1cdf0;
  --label-glicine-text: #57317e;
  --label-ciclamino-bg: #f3c9dc;
  --label-ciclamino-text: #7d2150;
  --label-granata-bg: #f5c8c4;
  --label-granata-text: #8e2220;
  --font-sans: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r-xs: 3px;
  --r-sm: 4px;
  --r-ctl: 5px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 10px;
  --r-modal: 12px;
  --r-chip: 999px;
  --r-round: 50%;
  --r-card: 10px;
  --r-column: 12px;
  --fs-_note: undefinedpx;
  --lh-_note: undefinedpx;
  --fw-_note: undefined;
  --fs-2xs: 10px;
  --lh-2xs: 14px;
  --fw-2xs: 700;
  --fs-xs: 11px;
  --lh-xs: 16px;
  --fw-xs: 400;
  --fs-sm: 12px;
  --lh-sm: 17px;
  --fw-sm: 600;
  --fs-md: 13px;
  --lh-md: 19px;
  --fw-md: 600;
  --fs-base-ui: 14px;
  --lh-base-ui: 20px;
  --fw-base-ui: 600;
  --fs-base: 15px;
  --lh-base: 22px;
  --fw-base: 400;
  --fs-card-title: 14px;
  --lh-card-title: 20px;
  --fw-card-title: 600;
  --fs-title: 17px;
  --lh-title: 24px;
  --fw-title: 800;
  --fs-h4: 15px;
  --lh-h4: 22px;
  --fw-h4: 700;
  --fs-h3: 16px;
  --lh-h3: 22px;
  --fw-h3: 800;
  --fs-h2: 19px;
  --lh-h2: 26px;
  --fw-h2: 800;
  --fs-h1: 24px;
  --lh-h1: 31px;
  --fw-h1: 800;
  --fs-modal: 21px;
  --lh-modal: 28px;
  --fw-modal: 700;
  --fs-page-title: 30px;
  --lh-page-title: 36px;
  --fw-page-title: 800;
  --sh-pop: 0 8px 28px rgba(20,30,28,.16);
  --sh-sm: 0 2px 8px rgba(20,30,28,.08);
  --sh-panel: -8px 0 24px rgba(20,30,28,.12);
  --sh-frozen: inset -1px 0 0 var(--border), 4px 0 6px -4px rgba(20,30,28,.18);
  --scrim: rgba(10,16,15,.5);
  --scrim-soft: rgba(10,16,15,.25);
  --t-fast: 120ms ease-out;
  --t-med: 160ms cubic-bezier(.2,.7,.3,1);
  --t-slow: 180ms cubic-bezier(.2,.7,.3,1);
  --topbar: 44px;
  --sidebar: 260px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1a1d1c;
  --bg-soft: #212524;
  --bg-hover: #262b29;
  --code-bg: #262b29;
  --border: #333836;
  --border-input: #737b78;
  --text: #e4e6e4;
  --text-muted: #9aa29f;
  --muted-on-soft: #9aa29f;
  --placeholder: #9aa29f;
  --side-bg: #181b30;
  --side-text: #cfd3ea;
  --side-strong: #ffffff;
  --side-hover: #242947;
  --side-active: #b9c0f2;
  --side-active-text: #1b1f3a;
  --side-icon: #aab0d0;
  --top-bg: #111326;
  --on-top: #ffffff;
  --search-bg: #262a45;
  --search-bg-focus: #33385a;
  --search-placeholder: #c3c6dc;
  --search-placeholder-focus: #c9cce0;
  --search-icon: #d3d6e8;
  --accent: #8f9ae6;
  --accent-strong: #a9b2ee;
  --accent-soft: #262a40;
  --on-accent: #161a33;
  --mention-bg: #2a2e4f;
  --mention-text: #c6cbf6;
  --danger: #e07a66;
  --on-danger: #1d2321;
  --error-bg: #3a2420;
  --success: #3f9d5a;
  --success-text: #4fae6a;
  --on-success: #1d2321;
  --warning-bg: #3d3120;
  --warning-text: #e6c36a;
  --hl-bg: #6b5223;
  --hl-text: #fff3d6;
  --skel: #2c3230;
  --toast-bg: #e4e6e4;
  --toast-text: #1a1d1c;
  --toast-action: #363e95;
  --drop-bg: #1f2230;
  --sel-bg: #262a40;
  --label-grafite-bg: #3a3f41;
  --label-grafite-text: #e4e6e4;
  --label-sabbia-bg: #4a3e2b;
  --label-sabbia-text: #e6d4b2;
  --label-rame-bg: #5c3019;
  --label-rame-text: #f7c4a0;
  --label-ocra-bg: #4c3d12;
  --label-ocra-text: #f1d98a;
  --label-oliva-bg: #3b4320;
  --label-oliva-text: #d9e2a0;
  --label-salvia-bg: #1e4229;
  --label-salvia-text: #b3e2bf;
  --label-laguna-bg: #14403f;
  --label-laguna-text: #a6e0dd;
  --label-cielo-bg: #1b3552;
  --label-cielo-text: #b4d2f2;
  --label-indaco-bg: #2e3360;
  --label-indaco-text: #c6cbf6;
  --label-glicine-bg: #3b2b4a;
  --label-glicine-text: #dcc5f2;
  --label-ciclamino-bg: #4a1d36;
  --label-ciclamino-text: #f6bdd6;
  --label-granata-bg: #5a2524;
  --label-granata-text: #f6bbb7;
  --sh-pop: 0 8px 28px rgba(0,0,0,.5);
  --sh-sm: 0 2px 8px rgba(0,0,0,.35);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #1a1d1c;
    --bg-soft: #212524;
    --bg-hover: #262b29;
    --code-bg: #262b29;
    --border: #333836;
    --border-input: #737b78;
    --text: #e4e6e4;
    --text-muted: #9aa29f;
    --muted-on-soft: #9aa29f;
    --placeholder: #9aa29f;
    --side-bg: #181b30;
    --side-text: #cfd3ea;
    --side-strong: #ffffff;
    --side-hover: #242947;
    --side-active: #b9c0f2;
    --side-active-text: #1b1f3a;
    --side-icon: #aab0d0;
    --top-bg: #111326;
    --on-top: #ffffff;
    --search-bg: #262a45;
    --search-bg-focus: #33385a;
    --search-placeholder: #c3c6dc;
    --search-placeholder-focus: #c9cce0;
    --search-icon: #d3d6e8;
    --accent: #8f9ae6;
    --accent-strong: #a9b2ee;
    --accent-soft: #262a40;
    --on-accent: #161a33;
    --mention-bg: #2a2e4f;
    --mention-text: #c6cbf6;
    --danger: #e07a66;
    --on-danger: #1d2321;
    --error-bg: #3a2420;
    --success: #3f9d5a;
    --success-text: #4fae6a;
    --on-success: #1d2321;
    --warning-bg: #3d3120;
    --warning-text: #e6c36a;
    --hl-bg: #6b5223;
    --hl-text: #fff3d6;
    --skel: #2c3230;
    --toast-bg: #e4e6e4;
    --toast-text: #1a1d1c;
    --toast-action: #363e95;
    --drop-bg: #1f2230;
    --sel-bg: #262a40;
    --label-grafite-bg: #3a3f41;
    --label-grafite-text: #e4e6e4;
    --label-sabbia-bg: #4a3e2b;
    --label-sabbia-text: #e6d4b2;
    --label-rame-bg: #5c3019;
    --label-rame-text: #f7c4a0;
    --label-ocra-bg: #4c3d12;
    --label-ocra-text: #f1d98a;
    --label-oliva-bg: #3b4320;
    --label-oliva-text: #d9e2a0;
    --label-salvia-bg: #1e4229;
    --label-salvia-text: #b3e2bf;
    --label-laguna-bg: #14403f;
    --label-laguna-text: #a6e0dd;
    --label-cielo-bg: #1b3552;
    --label-cielo-text: #b4d2f2;
    --label-indaco-bg: #2e3360;
    --label-indaco-text: #c6cbf6;
    --label-glicine-bg: #3b2b4a;
    --label-glicine-text: #dcc5f2;
    --label-ciclamino-bg: #4a1d36;
    --label-ciclamino-text: #f6bdd6;
    --label-granata-bg: #5a2524;
    --label-granata-text: #f6bbb7;
    --sh-pop: 0 8px 28px rgba(0,0,0,.5);
  }
}
:root[data-contrast="alto"] {
  --text-muted: #4d5350;
  --muted-on-soft: #4d5350;
  --border: #7a7f7c;
  --border-input: #5c6260;
}
:root[data-theme="dark"][data-contrast="alto"] {
  --text-muted: #bcc3c0;
  --muted-on-soft: #bcc3c0;
  --border: #7d8582;
  --border-input: #8d9592;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"])[data-contrast="alto"] {
    --text-muted: #bcc3c0;
    --muted-on-soft: #bcc3c0;
    --border: #7d8582;
    --border-input: #8d9592;
  }
}
