/* Briefsketch design system: tokens. Copied from the Briefsketch (Design System) artifact and the design canvas (Spec G);
   names stay as designed. Light theme only for now: the dark tokens are kept but nothing sets data-theme="dark". */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-vietnamese-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-vietnamese-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-vietnamese-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-vietnamese-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

:root, [data-theme="light"] {
  --page: #f6efe3; --surface: #fffaf2; --sunk: #efe5d4; --ground: #e9e2d5; --scrim: rgba(47,42,38,0.40);
  --line: #e8dccb; --line-strong: #8f8273; --ink: #2f2a26; --muted: #6b625a;
  --brick: #b24f2f; --brick-strong: #9a4026; --brick-text: #9a4026; --on-brick: #ffffff; --brick-soft: #f6dccf; --brick-soft-text: #8a3a22;
  --mustard: #d9a738; --on-mustard: #2f2a26; --mustard-soft: #f7e6b8; --mustard-text: #7a4f00;
  --sage: #b9c4ad; --sage-soft: #dfe6d6; --sage-text: #3d4a33;
  --danger: #b3261e; --danger-soft: #f9dedc; --danger-text: #8c1d18; --focus: var(--brick);
  --shadow-edge: 0 2px 0 rgba(120,60,30,0.12);
  --shadow-press: 0 2px 0 rgba(90,35,15,0.40);
  --shadow-raised: 0 1px 0 rgba(120,60,30,0.08), 0 2px 8px rgba(120,60,30,0.08);
  --shadow-float: 0 2px 0 rgba(120,60,30,0.10), 0 8px 24px rgba(120,60,30,0.14);
}
[data-theme="dark"] {
  --page: #1c1815; --surface: #28221e; --sunk: #15120f; --ground: #e9e2d5; --scrim: rgba(0,0,0,0.55);
  --line: #3a322c; --line-strong: #7d6f62; --ink: #f6efe3; --muted: #b8ab9c;
  --brick: #e48f75; --brick-strong: #f0a68f; --brick-text: #f0a68f; --on-brick: #1c1815; --brick-soft: #4a2a1f; --brick-soft-text: #f0a68f;
  --mustard: #e8c05e; --on-mustard: #1c1815; --mustard-soft: #3d3012; --mustard-text: #f0d48a;
  --sage: #b9c4ad; --sage-soft: #333d2c; --sage-text: #cbd6bf;
  --danger: #ff8a80; --danger-soft: #4a1f1c; --danger-text: #ffb4ab; --focus: var(--brick);
  --shadow-edge: 0 2px 0 rgba(0,0,0,0.45);
  --shadow-press: 0 2px 0 rgba(0,0,0,0.55);
  --shadow-raised: 0 1px 0 rgba(0,0,0,0.40), 0 2px 8px rgba(0,0,0,0.30);
  --shadow-float: 0 2px 0 rgba(0,0,0,0.45), 0 8px 24px rgba(0,0,0,0.45);
}
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px;
  --radius-xs: 6px; --radius-sm: 10px; --radius-md: 14px; --radius-lg: 20px; --radius-xl: 28px; --radius-pill: 999px;
  --control: 48px; --control-sm: 40px; --touch-target: 44px; --column: 560px; --panel-width: 360px;
  --font-sans: "Bricolage Grotesque", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
