:root {
  /* ==========================================================================
     Tailwind CSS Color Palette (oklch)
     Source: tailwindcolor.com
     ========================================================================== */

  /* Slate */
  --slate-50: oklch(98.4% 0.003 247.9deg);
  --slate-100: oklch(96.8% 0.007 247.9deg);
  --slate-150: oklch(94.9% 0.01 251.7deg);
  --slate-200: oklch(92.9% 0.013 255.5deg);
  --slate-300: oklch(86.9% 0.02 252.9deg);
  --slate-400: oklch(71.1% 0.035 256.8deg);
  --slate-500: oklch(55.4% 0.041 257.4deg);
  --slate-600: oklch(44.6% 0.037 257.3deg);
  --slate-700: oklch(37.2% 0.039 257.3deg);
  --slate-800: oklch(27.9% 0.037 260.0deg);
  --slate-900: oklch(20.8% 0.04 265.8deg);
  --slate-950: oklch(12.9% 0.041 264.7deg);

  /* Gray */
  --gray-50: oklch(98.5% 0.002 247.8deg);
  --gray-100: oklch(96.7% 0.003 264.5deg);
  --gray-200: oklch(92.8% 0.006 264.5deg);
  --gray-300: oklch(87.2% 0.009 258.3deg);
  --gray-400: oklch(71.4% 0.019 261.3deg);
  --gray-500: oklch(55.1% 0.023 264.4deg);
  --gray-600: oklch(44.6% 0.026 256.8deg);
  --gray-700: oklch(37.3% 0.031 259.7deg);
  --gray-800: oklch(27.8% 0.03 256.8deg);
  --gray-900: oklch(21% 0.032 264.7deg);
  --gray-950: oklch(13% 0.027 261.7deg);

  /* Zinc */
  --zinc-50: oklch(98.5% 0.0 none);
  --zinc-100: oklch(96.7% 0.001 286.4deg);
  --zinc-200: oklch(92% 0.004 286.3deg);
  --zinc-300: oklch(87.1% 0.005 286.3deg);
  --zinc-400: oklch(71.2% 0.013 286.1deg);
  --zinc-500: oklch(55.2% 0.014 285.9deg);
  --zinc-600: oklch(44.2% 0.015 285.8deg);
  --zinc-700: oklch(37% 0.012 285.8deg);
  --zinc-800: oklch(27.4% 0.005 286.0deg);
  --zinc-900: oklch(21% 0.006 285.9deg);
  --zinc-950: oklch(14.1% 0.004 285.8deg);

  /* Neutral */
  --neutral-50: oklch(98.5% 0.0 none);
  --neutral-100: oklch(97% 0.0 none);
  --neutral-200: oklch(92.2% 0.0 none);
  --neutral-300: oklch(87% 0.0 none);
  --neutral-350: oklch(84.2% 0.0 none);
  --neutral-400: oklch(71.5% 0.0 none);
  --neutral-500: oklch(55.6% 0.0 none);
  --neutral-600: oklch(43.9% 0.0 none);
  --neutral-700: oklch(37.1% 0.0 none);
  --neutral-800: oklch(26.9% 0.0 none);
  --neutral-900: oklch(20.5% 0.0 none);
  --neutral-950: oklch(14.5% 0.0 none);

  /* Stone (warm gray) */
  --stone-25: oklch(99.6% 0 none);
  --stone-50: oklch(98.5% 0 none);
  --stone-75: oklch(97.5% 0 none);
  --stone-100: oklch(97% 0 none);
  --stone-125: oklch(95.4% 0 none);
  --stone-150: oklch(94.7% 0 none);
  --stone-175: oklch(93.9% 0 none);
  --stone-200: oklch(92.4% 0 none);
  --stone-215: oklch(91.6% 0 none);
  --stone-225: oklch(90.0% 0 none);
  --stone-250: oklch(88.5% 0 none);
  --stone-300: oklch(86.9% 0 none);
  --stone-350: oklch(83.5% 0 none);
  --stone-375: oklch(79.6% 0 none);
  --stone-400: oklch(71.6% 0 none);
  --stone-500: oklch(55.3% 0 none);
  --stone-600: oklch(44.4% 0 none);
  --stone-700: oklch(37.4% 0 none);
  --stone-800: oklch(26.8% 0 none);
  --stone-900: oklch(0% 0 none);

  /* Red */
  --red-50: oklch(97.1% 0.013 17.4deg);
  --red-100: oklch(93.6% 0.031 17.7deg);
  --red-150: oklch(91.1% 0.045 18.0deg);
  --red-200: oklch(88.5% 0.059 18.3deg);
  --red-300: oklch(80.8% 0.103 19.6deg);
  --red-400: oklch(71.1% 0.166 22.2deg);
  --red-500: oklch(63.7% 0.208 25.3deg);
  --red-600: oklch(57.7% 0.215 27.3deg);
  --red-700: oklch(50.5% 0.19 27.5deg);
  --red-800: oklch(44.4% 0.161 26.9deg);
  --red-900: oklch(39.6% 0.133 25.7deg);
  --red-950: oklch(25.8% 0.089 26.0deg);

  /* Orange */
  --orange-50: oklch(98% 0.016 73.7deg);
  --orange-100: oklch(95.4% 0.037 75.2deg);
  --orange-150: oklch(92.8% 0.055 73.0deg);
  --orange-200: oklch(90.1% 0.073 70.7deg);
  --orange-300: oklch(83.7% 0.117 66.3deg);
  --orange-400: oklch(75.8% 0.159 55.9deg);
  --orange-500: oklch(70.5% 0.187 47.6deg);
  --orange-600: oklch(64.6% 0.194 41.1deg);
  --orange-700: oklch(55.3% 0.174 38.4deg);
  --orange-800: oklch(47% 0.143 37.3deg);
  --orange-900: oklch(40.8% 0.116 38.2deg);
  --orange-950: oklch(26.6% 0.076 36.3deg);

  /* Amber */
  --amber-50: oklch(98.7% 0.021 95.3deg);
  --amber-100: oklch(96.2% 0.058 95.6deg);
  --amber-200: oklch(92.4% 0.115 95.7deg);
  --amber-300: oklch(87.9% 0.153 91.6deg);
  --amber-400: oklch(83.7% 0.164 84.4deg);
  --amber-500: oklch(76.9% 0.165 70.1deg);
  --amber-600: oklch(66.6% 0.157 58.3deg);
  --amber-700: oklch(55.5% 0.146 49.0deg);
  --amber-800: oklch(47.3% 0.125 46.2deg);
  --amber-900: oklch(41.4% 0.105 45.9deg);
  --amber-950: oklch(27.9% 0.074 45.6deg);

  /* Yellow */
  --yellow-50: oklch(98.7% 0.026 102.2deg);
  --yellow-100: oklch(97.3% 0.069 103.2deg);
  --yellow-150: oklch(95.9% 0.097 102.4deg);
  --yellow-200: oklch(94.5% 0.124 101.5deg);
  --yellow-300: oklch(90.5% 0.166 98.1deg);
  --yellow-400: oklch(86.1% 0.173 91.9deg);
  --yellow-500: oklch(79.5% 0.162 86.0deg);
  --yellow-600: oklch(68.1% 0.142 75.8deg);
  --yellow-700: oklch(55.4% 0.121 66.4deg);
  --yellow-800: oklch(47.6% 0.103 61.9deg);
  --yellow-900: oklch(42.1% 0.09 57.7deg);
  --yellow-950: oklch(28.6% 0.064 53.8deg);

  /* Lime */
  --lime-50: oklch(98.6% 0.031 120.8deg);
  --lime-100: oklch(96.7% 0.066 122.3deg);
  --lime-200: oklch(93.8% 0.122 124.3deg);
  --lime-300: oklch(89.7% 0.179 126.7deg);
  --lime-400: oklch(84.9% 0.207 128.8deg);
  --lime-500: oklch(76.8% 0.204 130.8deg);
  --lime-600: oklch(64.8% 0.175 131.7deg);
  --lime-700: oklch(53.2% 0.141 131.6deg);
  --lime-750: oklch(49.3% 0.127 131.3deg);
  --lime-800: oklch(45.3% 0.113 130.9deg);
  --lime-900: oklch(40.5% 0.096 131.1deg);
  --lime-950: oklch(27.4% 0.069 132.1deg);

  /* Green */
  --green-50: oklch(98.2% 0.018 155.8deg);
  --green-100: oklch(96.2% 0.043 156.7deg);
  --green-150: oklch(94.4% 0.062 156.4deg);
  --green-200: oklch(92.5% 0.081 156.0deg);
  --green-300: oklch(87.1% 0.136 154.4deg);
  --green-400: oklch(80% 0.182 151.7deg);
  --green-500: oklch(72.3% 0.192 149.6deg);
  --green-600: oklch(62.7% 0.17 149.2deg);
  --green-700: oklch(52.7% 0.137 150.1deg);
  --green-800: oklch(44.8% 0.108 151.3deg);
  --green-900: oklch(39.3% 0.09 152.5deg);
  --green-950: oklch(26.6% 0.063 152.9deg);

  /* Emerald */
  --emerald-50: oklch(97.9% 0.021 166.1deg);
  --emerald-100: oklch(95% 0.051 163.1deg);
  --emerald-200: oklch(90.5% 0.089 164.2deg);
  --emerald-300: oklch(84.5% 0.13 165.0deg);
  --emerald-400: oklch(77.3% 0.153 163.2deg);
  --emerald-500: oklch(69.6% 0.149 162.5deg);
  --emerald-600: oklch(59.6% 0.127 163.2deg);
  --emerald-700: oklch(50.8% 0.105 165.6deg);
  --emerald-800: oklch(43.2% 0.086 166.9deg);
  --emerald-900: oklch(37.8% 0.073 168.9deg);
  --emerald-950: oklch(26.2% 0.049 172.6deg);

  /* Teal */
  --teal-50: oklch(98.4% 0.014 180.7deg);
  --teal-100: oklch(95.3% 0.05 180.8deg);
  --teal-200: oklch(91% 0.093 180.4deg);
  --teal-300: oklch(85.5% 0.125 181.1deg);
  --teal-400: oklch(78.5% 0.133 181.9deg);
  --teal-500: oklch(70.4% 0.123 182.5deg);
  --teal-600: oklch(60% 0.104 184.7deg);
  --teal-700: oklch(51.1% 0.086 186.4deg);
  --teal-800: oklch(43.7% 0.071 188.2deg);
  --teal-900: oklch(38.6% 0.059 188.4deg);
  --teal-950: oklch(27.7% 0.045 192.5deg);

  /* Cyan */
  --cyan-50: oklch(98.4% 0.019 200.9deg);
  --cyan-100: oklch(95.6% 0.044 203.4deg);
  --cyan-200: oklch(91.7% 0.077 205.0deg);
  --cyan-300: oklch(86.5% 0.115 207.1deg);
  --cyan-400: oklch(79.7% 0.134 211.5deg);
  --cyan-500: oklch(71.5% 0.126 215.2deg);
  --cyan-600: oklch(60.9% 0.111 221.7deg);
  --cyan-700: oklch(52% 0.094 223.1deg);
  --cyan-800: oklch(45% 0.077 224.3deg);
  --cyan-900: oklch(39.8% 0.066 227.4deg);
  --cyan-950: oklch(30.2% 0.054 229.7deg);

  /* Sky */
  --sky-50: oklch(97.7% 0.012 236.6deg);
  --sky-100: oklch(95.1% 0.025 236.8deg);
  --sky-200: oklch(90.1% 0.055 230.9deg);
  --sky-300: oklch(82.8% 0.101 230.3deg);
  --sky-400: oklch(75.4% 0.139 232.7deg);
  --sky-500: oklch(68.5% 0.148 237.3deg);
  --sky-600: oklch(58.8% 0.139 242.0deg);
  --sky-700: oklch(50% 0.119 242.7deg);
  --sky-800: oklch(44.3% 0.1 240.8deg);
  --sky-900: oklch(39.1% 0.085 240.9deg);
  --sky-950: oklch(29.3% 0.063 243.2deg);

  /* Blue */
  --blue-50: oklch(97% 0.014 254.6deg);
  --blue-100: oklch(93.2% 0.032 255.6deg);
  --blue-150: oklch(90.7% 0.045 254.9deg);
  --blue-200: oklch(88.2% 0.057 254.1deg);
  --blue-300: oklch(80.9% 0.096 251.8deg);
  --blue-400: oklch(71.4% 0.143 254.6deg);
  --blue-500: oklch(62.3% 0.188 259.8deg);
  --blue-600: oklch(54.6% 0.215 262.9deg);
  --blue-700: oklch(48.8% 0.217 264.4deg);
  --blue-800: oklch(42.4% 0.181 265.6deg);
  --blue-900: oklch(37.9% 0.138 265.5deg);
  --blue-950: oklch(28.2% 0.087 267.9deg);

  /* Indigo */
  --indigo-50: oklch(96.2% 0.018 272.3deg);
  --indigo-100: oklch(93% 0.033 272.8deg);
  --indigo-200: oklch(87% 0.062 274.0deg);
  --indigo-300: oklch(78.5% 0.104 274.7deg);
  --indigo-400: oklch(68% 0.158 276.9deg);
  --indigo-500: oklch(58.5% 0.204 277.1deg);
  --indigo-600: oklch(51.1% 0.23 277.0deg);
  --indigo-700: oklch(45.7% 0.215 277.0deg);
  --indigo-800: oklch(39.8% 0.177 277.4deg);
  --indigo-900: oklch(35.9% 0.135 278.7deg);
  --indigo-950: oklch(25.7% 0.086 281.3deg);

  /* Violet */
  --violet-50: oklch(96.9% 0.016 293.8deg);
  --violet-75: oklch(95.6% 0.022 294.2deg);
  --violet-100: oklch(94.3% 0.028 294.6deg);
  --violet-150: oklch(91.9% 0.041 294.0deg);
  --violet-200: oklch(89.4% 0.055 293.3deg);
  --violet-300: oklch(81.1% 0.101 293.6deg);
  --violet-400: oklch(70.9% 0.159 293.5deg);
  --violet-500: oklch(60.6% 0.219 292.7deg);
  --violet-600: oklch(54.1% 0.247 293.0deg);
  --violet-700: oklch(49.1% 0.241 292.6deg);
  --violet-800: oklch(43.2% 0.211 292.8deg);
  --violet-900: oklch(38% 0.178 293.7deg);
  --violet-950: oklch(28.3% 0.135 291.1deg);

  /* Purple */
  --purple-50: oklch(97.7% 0.014 308.3deg);
  --purple-75: oklch(96.15% 0.0235 307.75deg);
  --purple-100: oklch(94.6% 0.033 307.2deg);
  --purple-200: oklch(90.2% 0.06 306.7deg);
  --purple-300: oklch(82.7% 0.108 306.4deg);
  --purple-400: oklch(72.2% 0.177 305.5deg);
  --purple-500: oklch(62.7% 0.233 303.9deg);
  --purple-600: oklch(55.8% 0.252 302.3deg);
  --purple-700: oklch(49.6% 0.237 301.9deg);
  --purple-800: oklch(43.8% 0.198 303.7deg);
  --purple-900: oklch(38.1% 0.166 305.0deg);
  --purple-950: oklch(29.1% 0.143 302.7deg);

  /* Fuchsia */
  --fuchsia-50: oklch(97.7% 0.017 320.1deg);
  --fuchsia-100: oklch(95.2% 0.036 318.9deg);
  --fuchsia-200: oklch(90.3% 0.073 319.6deg);
  --fuchsia-300: oklch(83.3% 0.132 321.4deg);
  --fuchsia-400: oklch(74.8% 0.207 322.2deg);
  --fuchsia-500: oklch(66.7% 0.259 322.1deg);
  --fuchsia-600: oklch(59.1% 0.257 322.9deg);
  --fuchsia-700: oklch(51.8% 0.226 323.9deg);
  --fuchsia-800: oklch(45.2% 0.192 324.6deg);
  --fuchsia-900: oklch(40.1% 0.16 325.6deg);
  --fuchsia-950: oklch(29.3% 0.131 325.7deg);

  /* Pink */
  --pink-50: oklch(97.1% 0.014 343.2deg);
  --pink-100: oklch(94.8% 0.028 342.3deg);
  --pink-200: oklch(89.9% 0.059 343.2deg);
  --pink-300: oklch(82.3% 0.11 346.0deg);
  --pink-400: oklch(72.5% 0.175 349.8deg);
  --pink-500: oklch(65.6% 0.212 354.3deg);
  --pink-600: oklch(59.2% 0.218 0.6deg);
  --pink-700: oklch(52.5% 0.199 4.0deg);
  --pink-800: oklch(45.9% 0.17 3.8deg);
  --pink-900: oklch(40.8% 0.144 2.4deg);
  --pink-950: oklch(28.4% 0.105 3.9deg);

  /* Rose */
  --rose-50: oklch(96.9% 0.015 12.4deg);
  --rose-100: oklch(94.1% 0.03 12.6deg);
  --rose-200: oklch(89.2% 0.056 10.0deg);
  --rose-300: oklch(81% 0.106 11.6deg);
  --rose-400: oklch(71.9% 0.169 13.4deg);
  --rose-500: oklch(64.5% 0.215 16.4deg);
  --rose-600: oklch(58.6% 0.222 17.6deg);
  --rose-700: oklch(51.4% 0.198 16.9deg);
  --rose-800: oklch(45.5% 0.171 13.7deg);
  --rose-900: oklch(41% 0.15 10.3deg);
  --rose-950: oklch(27.1% 0.101 12.1deg);

  /* Nord (https://www.nordtheme.com) — drives the "cosmic" dark theme.
     Canonical Nord hex; the *-soft / *-dim / *-bright shades are interpolated
     steps Nord doesn't ship, needed to fill the dark ramp's six levels. */
  --nord0: oklch(0.324 0.023 264);          /* Polar Night — deepest base */
  --nord0-soft: oklch(0.351 0.027 262);     /* between nord0/nord1 — soft surface step */
  --nord1: oklch(0.379 0.029 266);
  --nord2: oklch(0.416 0.032 264);
  --nord3: oklch(0.452 0.035 264);
  --nord3-bright: oklch(0.537 0.044 264);   /* Nord's lighter polar gray (comments) */
  --nord4: oklch(0.899 0.016 263);          /* Snow Storm — text */
  --nord4-dim: oklch(0.765 0.028 264);      /* dimmed snow for primary body text */
  --nord5: oklch(0.933 0.01 262);
  --nord6: oklch(0.951 0.007 261);          /* brightest text */
  --nord-gray: oklch(0.625 0.041 263);      /* muted text */
  --nord7: oklch(0.763 0.048 194);          /* Frost — teal */
  --nord8: oklch(0.775 0.062 217);          /* Frost — signature cyan accent */
  --nord9: oklch(0.697 0.059 249);          /* Frost — blue */
  --nord10: oklch(0.594 0.077 254);         /* Frost — deep blue */
  --nord11: oklch(0.606 0.121 15);         /* Aurora — red */
  --nord12: oklch(0.693 0.096 38);         /* Aurora — orange */
  --nord13: oklch(0.855 0.089 84);         /* Aurora — yellow */
  --nord14: oklch(0.768 0.075 131);         /* Aurora — green */
  --nord15: oklch(0.692 0.062 333);         /* Aurora — purple */
  --nord15-bright: oklch(0.75 0.11 342);    /* purple pushed to a pink that
                                               glows on Polar Night: the
                                               night sky's highlights */

  /* Nord light extensions — Snow Storm only ships three steps (nord4-6), so
     the light theme's surface ladder needs interpolated steps around them,
     plus the frost cyan diluted to a selection wash. */
  --nord-snow-bright: oklch(0.975 0.005 258); /* above nord6 — inputs, lightest surfaces */
  --nord-snow-mid: oklch(0.964 0.007 269);    /* between bright and nord6 — raised surfaces */
  --nord-snow-dark: oklch(0.868 0.021 262);   /* below nord4 — active states, strong borders */
  --nord-frost-tint: oklch(0.894 0.026 225);  /* nord8 as a light selection wash */
  --nord10-deep: oklch(0.527 0.072 254);      /* below nord10 — link ink on snow */
  --nord4-mid: oklch(0.83 0.023 263);         /* between snow-dark and nord4-dim —
                                                 toolbar-button edges: nord4-dim reads
                                                 heavy on control chrome */
  --nord7-dim: oklch(0.8 0.044 194);         /* frost teal lifted toward snow —
                                                 selected-item borders */
  --nord8-ink: oklch(0.556 0.0846 222.5);        /* nord8 cyan at ink weight — accent icons */

  /* Aurora at ink weight — the warm semantic accents on snow (status text,
     Add, yellow icons). Canonical aurora is mid-tone, sized for dark
     grounds; these are the same hues pulled down to text contrast. */
  --nord11-ink: oklch(0.522 0.113 15);       /* red — urgent / errors */
  --nord12-ink: oklch(0.579 0.117 42);       /* orange — warnings */
  --nord13-ink: oklch(0.625 0.109 86);       /* yellow — accent icons */
  --nord14-ink: oklch(0.55 0.12 133);       /* green — Add / success; aurora hue with
                                  lime-level chroma restored (canonical
                                  nord14 desaturates to gray-green as ink) */
  --nord15-ink: oklch(0.523 0.204 337.7);       /* purple — sort/filter accent icons; aurora
                                  hue pushed to full magenta vividness
                                  (canonical nord15 fades into the
                                  gray-blues as ink) */

  /* Aurora (and frost) as light tints on snow — row highlights, label and
     button fills. The wash step is the palest, for past-due surfaces. */
  --nord9-tint: oklch(0.903 0.018 253);       /* frost blue */
  --nord11-tint: oklch(0.89 0.03 13);      /* red */
  --nord12-tint: oklch(0.912 0.027 47);      /* orange */
  --nord13-tint: oklch(0.929 0.049 91);      /* yellow */
  --nord13-wash: oklch(0.956 0.03 90);      /* pale yellow — past-due / due-soon */
  --nord14-tint: oklch(0.919 0.028 127);      /* green */
  --nord15-tint: oklch(0.904 0.018 334);      /* purple */

  /* Paper (after the Mint-Y-Paper desktop theme, a light Gruvbox) — the
     warm ladder Genmaicha stands on. The desktop's own colours are the
     anchors: its paper is the lightest surface, its base the content
     ground, its bg_color the chrome and its borders the rules, and the
     steps between are interpolated. The warmth grows as the ladder
     darkens (chroma 0.008 to 0.03, the hue turning from 91.5 to 88).
     Genmaicha's block in colors.css repoints --stone-* onto these. (The
     Paper theme itself was retired 2026-12-01.) */
  --paper-25: oklch(0.962 0.008 91.5);
  --paper-50: oklch(0.955 0.008 91.5);    /* paper            #f2f0ea */
  --paper-75: oklch(0.95 0.008 91.5);
  --paper-100: oklch(0.946 0.008 91);
  --paper-125: oklch(0.94 0.008 91);      /* base             #edebe5 */
  --paper-150: oklch(0.928 0.011 90);     /* insensitive_bg   #eae7df */
  --paper-175: oklch(0.922 0.0125 89.5);
  --paper-200: oklch(0.916 0.014 89);     /* bg_color         #e7e3d9 */
  --paper-215: oklch(0.907 0.016 88.5);
  --paper-225: oklch(0.898 0.018 88);
  --paper-250: oklch(0.88 0.021 88);
  --paper-300: oklch(0.856 0.025 88);
  --paper-350: oklch(0.822 0.03 88);      /* borders          #cdc4af */
  --paper-375: oklch(0.785 0.027 84);
  --paper-400: oklch(0.709 0.02 75);      /* placeholder      #aca397 */
  --paper-nav: oklch(0.846 0.027 88);     /* the top bar, between 300 and 350 */

  /* The tints — Matcha's 50 and 100 steps are brighter than this paper,
     and a tint lighter than its ground reads as a hole. Each comes down
     to just under the content ground: -wash for the 50 step, -tint for
     the 100. Each is set as a colour on the paper, not in the abstract:
     the ground's own warmth (0.008 at 91) is added to a chosen hue and
     strength, so what the eye sees once it has adjusted to the paper is
     that hue, at that strength. Set flat, the reds read pink, the cool
     tints went grey, the yellow went lemon and the amber was the yellow.
     The eye sees: blue and slate at 250, lime at 134 (the link green),
     orange at 62, red at 22, yellow at 97, amber at 78 (warmer than the
     yellow, for today's cell), violet at 298. */
  --paper-blue-wash: oklch(0.93 0.019 241);
  --paper-blue-tint: oklch(0.915 0.033 245);
  --paper-slate-wash: oklch(0.93 0.007 226);
  --paper-slate-tint: oklch(0.915 0.013 237);
  --paper-lime-wash: oklch(0.93 0.038 126);
  --paper-lime-tint: oklch(0.915 0.054 128);
  --paper-orange-wash: oklch(0.93 0.037 68);
  --paper-orange-tint: oklch(0.915 0.053 66);
  --paper-red-wash: oklch(0.93 0.03 37);
  --paper-red-tint: oklch(0.915 0.044 32);
  --paper-yellow-wash: oklch(0.955 0.036 96);
  --paper-yellow-tint: oklch(0.945 0.052 96);
  --paper-amber-wash: oklch(0.935 0.042 80);
  --paper-amber-tint: oklch(0.925 0.06 80);
  --paper-violet-wash: oklch(0.93 0.017 310);
  --paper-violet-tint: oklch(0.915 0.033 304);
  --paper-violet-deep: oklch(0.9 0.045 303);      /* the 150 step */

  /* Genmaicha — the Booklist app's colours (~/booklist), which are the
     blog's Gruvbox paper. It stands on Paper's ladder, whose base and
     paper are Booklist's page and card, and adds what Booklist has of
     its own: a warm ink, one warm line, a muted green that does all the
     accent's work, a gold and a red. The theme block in colors.css
     repoints the stone, lime and violet steps onto these. */
  --genmaicha-card: oklch(0.967 0.008 91.5);         /* a step lighter than Booklist's card */
  --genmaicha-ink: oklch(0.427 0.006 48.6);          /* gb dark1, 88% on the card */
  --genmaicha-ink-strong: oklch(0.344 0.007 48.4);   /* gb dark1 */
  --genmaicha-muted: oklch(0.5 0.023 62.5);
  --genmaicha-muted-light: oklch(0.62 0.022 65);
  --genmaicha-line: oklch(0.756 0.041 82.3);         /* gb light3 */
  --genmaicha-green: oklch(0.534 0.082 155.4);       /* gb faded aqua */
  --genmaicha-green-ink: oklch(0.47 0.076 155.4);
  --genmaicha-green-mid: oklch(0.58 0.086 155.4);
  --genmaicha-green-light: oklch(0.66 0.09 155.4);
  --genmaicha-gold: oklch(0.618 0.128 70.7);         /* gb faded yellow */
  --genmaicha-red: oklch(0.437 0.179 28.3);          /* gb faded red */

  /* Prism — after Jira today (the Atlassian Design System's 2025
     palette, converted from its sRGB values; the hex each came from is
     beside it). A near-neutral ladder under one interactive blue, and
     the working hues each from a pale tint (100) through a bold mid
     (400-600) to two inks (700, 800). The theme block in colors.css
     repoints Kosmos's ramps onto these and assigns the roles. */
  --prism-neutral-0: oklch(100.0% 0 none);        /* #FFFFFF */
  --prism-neutral-100: oklch(97.9% 0 none);       /* #F8F8F8 */
  --prism-neutral-200: oklch(95.8% 0.002 248deg); /* #F0F1F2 */
  --prism-neutral-300: oklch(90.1% 0.004 271deg); /* #DDDEE1 */
  --prism-neutral-400: oklch(78.6% 0.007 269deg); /* #B7B9BE */
  --prism-neutral-500: oklch(65.0% 0.012 269deg); /* #8C8F97 */
  --prism-neutral-600: oklch(60.3% 0.014 267deg); /* #7D818A */
  --prism-neutral-700: oklch(53.8% 0.013 269deg); /* #6B6E76 */
  --prism-neutral-800: oklch(43.9% 0.010 271deg); /* #505258 */
  --prism-neutral-900: oklch(36.0% 0.009 268deg); /* #3B3D42 */
  --prism-neutral-1000: oklch(28.6% 0.007 275deg); /* #292A2E */

  --prism-blue-100: oklch(95.8% 0.019 256deg);    /* #E9F2FE */
  --prism-blue-200: oklch(90.5% 0.043 259deg);    /* #CFE1FD */
  --prism-blue-300: oklch(77.7% 0.100 258deg);    /* #8FB8F6 */
  --prism-blue-400: oklch(69.5% 0.137 259deg);    /* #669DF1 */
  --prism-blue-500: oklch(63.3% 0.165 259deg);    /* #4688EC */
  --prism-blue-600: oklch(60.1% 0.177 259deg);    /* #357DE8 */
  --prism-blue-700: oklch(54.1% 0.191 259deg);    /* #1868DB */
  --prism-blue-800: oklch(48.2% 0.171 259deg);    /* #1558BC */
  --prism-blue-900: oklch(32.4% 0.095 259deg);    /* #123263 */
  --prism-blue-1000: oklch(28.8% 0.047 259deg);   /* #1C2B42 */

  --prism-green-100: oklch(97.1% 0.041 169deg);   /* #DCFFF1 */
  --prism-green-200: oklch(91.9% 0.067 167deg);   /* #BAF3DB */
  --prism-green-300: oklch(84.0% 0.113 165deg);   /* #7EE2B8 */
  --prism-green-400: oklch(76.5% 0.140 162deg);   /* #4BCE97 */
  --prism-green-500: oklch(70.4% 0.148 160deg);   /* #2ABB7F */
  --prism-green-600: oklch(62.7% 0.133 160deg);   /* #22A06B */
  --prism-green-700: oklch(54.6% 0.112 160deg);   /* #1F845A */
  --prism-green-800: oklch(48.3% 0.091 162deg);   /* #216E4E */
  --prism-green-900: oklch(37.1% 0.068 162deg);   /* #164B35 */
  --prism-green-1000: oklch(29.8% 0.035 165deg);  /* #1C3329 */

  --prism-red-100: oklch(95.8% 0.021 21deg);      /* #FFECEB */
  --prism-red-200: oklch(90.8% 0.047 23deg);      /* #FFD5D2 */
  --prism-red-300: oklch(78.3% 0.122 24deg);      /* #FD9891 */
  --prism-red-400: oklch(70.9% 0.167 26deg);      /* #F87168 */
  --prism-red-500: oklch(66.6% 0.187 27deg);      /* #F15B50 */
  --prism-red-600: oklch(61.8% 0.192 28deg);      /* #E2483D */
  --prism-red-700: oklch(55.7% 0.185 29deg);      /* #C9372C */
  --prism-red-800: oklch(50.0% 0.166 29deg);      /* #AE2E24 */
  --prism-red-900: oklch(33.4% 0.092 28deg);      /* #5D1F1A */
  --prism-red-1000: oklch(29.4% 0.050 26deg);     /* #42221F */

  --prism-yellow-100: oklch(97.4% 0.044 96deg);   /* #FFF7D6 */
  --prism-yellow-200: oklch(92.4% 0.091 95deg);   /* #F8E6A0 */
  --prism-yellow-300: oklch(86.0% 0.152 92deg);   /* #F5CD47 */
  --prism-yellow-400: oklch(78.5% 0.160 89deg);   /* #E2B203 */
  --prism-yellow-500: oklch(72.7% 0.148 87deg);   /* #CF9F02 */
  --prism-yellow-600: oklch(64.6% 0.132 85deg);   /* #B38600 */
  --prism-yellow-700: oklch(56.3% 0.115 85deg);   /* #946F00 */
  --prism-yellow-800: oklch(50.5% 0.103 85deg);   /* #7F5F01 */
  --prism-yellow-900: oklch(37.9% 0.075 87deg);   /* #533F04 */
  --prism-yellow-1000: oklch(32.0% 0.064 91deg);  /* #3F3102 */

  --prism-orange-100: oklch(97.1% 0.017 56deg);   /* #FFF3EB */
  --prism-orange-200: oklch(92.1% 0.046 57deg);   /* #FEDEC8 */
  --prism-orange-300: oklch(85.6% 0.091 57deg);   /* #FEC195 */
  --prism-orange-400: oklch(79.4% 0.135 55deg);   /* #FEA362 */
  --prism-orange-500: oklch(73.5% 0.155 53deg);   /* #F38A3F */
  --prism-orange-600: oklch(66.1% 0.176 48deg);   /* #E56910 */
  --prism-orange-700: oklch(57.4% 0.162 46deg);   /* #C25100 */
  --prism-orange-800: oklch(51.5% 0.140 48deg);   /* #A54800 */
  --prism-orange-900: oklch(38.8% 0.106 48deg);   /* #702E00 */
  --prism-orange-1000: oklch(29.5% 0.029 58deg);  /* #38291E */

  --prism-purple-100: oklch(96.2% 0.024 313deg);  /* #F8EEFE */
  --prism-purple-200: oklch(90.9% 0.055 313deg);  /* #EED7FC */
  --prism-purple-300: oklch(78.9% 0.133 313deg);  /* #D8A0F7 */
  --prism-purple-400: oklch(71.4% 0.183 312deg);  /* #C97CF4 */
  --prism-purple-500: oklch(66.8% 0.216 311deg);  /* #BF63F3 */
  --prism-purple-600: oklch(62.6% 0.206 311deg);  /* #AF59E1 */
  --prism-purple-700: oklch(55.6% 0.185 312deg);  /* #964AC0 */
  --prism-purple-800: oklch(49.7% 0.164 311deg);  /* #803FA5 */
  --prism-purple-900: oklch(33.7% 0.102 311deg);  /* #48245D */
  --prism-purple-1000: oklch(29.3% 0.053 312deg); /* #35243F */

  --prism-teal-100: oklch(97.1% 0.021 220deg);    /* #E7F9FF */
  --prism-teal-200: oklch(92.3% 0.045 222deg);    /* #C6EDFB */
  --prism-teal-300: oklch(85.2% 0.068 222deg);    /* #9DD9EE */
  --prism-teal-400: oklch(77.3% 0.093 222deg);    /* #6CC3E0 */
  --prism-teal-500: oklch(71.6% 0.112 224deg);    /* #42B2D7 */
  --prism-teal-600: oklch(63.5% 0.110 225deg);    /* #2898BD */
  --prism-teal-700: oklch(55.2% 0.094 225deg);    /* #227D9B */
  --prism-teal-800: oklch(49.1% 0.081 225deg);    /* #206A83 */
  --prism-teal-900: oklch(36.6% 0.057 224deg);    /* #164555 */
  --prism-teal-1000: oklch(30.0% 0.027 220deg);   /* #1E3137 */

  --prism-magenta-100: oklch(96.2% 0.026 339deg); /* #FFECF8 */
  --prism-magenta-200: oklch(90.4% 0.062 341deg); /* #FDD0EC */
  --prism-magenta-300: oklch(79.2% 0.135 343deg); /* #F797D2 */
  --prism-magenta-400: oklch(71.3% 0.164 344deg); /* #E774BB */
  --prism-magenta-500: oklch(66.6% 0.171 345deg); /* #DA62AC */
  --prism-magenta-600: oklch(62.0% 0.177 346deg); /* #CD519D */
  --prism-magenta-700: oklch(55.4% 0.153 345deg); /* #AE4787 */
  --prism-magenta-800: oklch(49.5% 0.133 345deg); /* #943D73 */
  --prism-magenta-900: oklch(33.3% 0.074 345deg); /* #50253F */
  --prism-magenta-1000: oklch(29.3% 0.048 344deg); /* #3D2232 */

  /* Prism's dark side: Jira's dark mode, by role (Atlassian's dark
     tokens, the hex each came from). Near-black greys lifting a step for
     each raised surface, a soft light ink, one hairline, and each hue as a
     light ink over a deep wash of itself. */
  --prism-dark-surface-sunken: oklch(21.3% 0.003 248deg);  /* #18191A */
  --prism-dark-surface: oklch(24.0% 0.004 286deg);         /* #1F1F21 */
  --prism-dark-surface-raised: oklch(26.5% 0.006 271deg);  /* #242528 */
  --prism-dark-surface-overlay: oklch(29.3% 0.006 271deg); /* #2B2C2F */
  --prism-dark-neutral-hover: oklch(31.3% 0.006 271deg);   /* #303134 */
  --prism-dark-line: oklch(36.7% 0.007 264deg);            /* #3D3F43 */
  --prism-dark-line-bold: oklch(43.9% 0.010 271deg);       /* #505258 */
  --prism-dark-input-line: oklch(60.3% 0.011 267deg);      /* #7E8188 */
  --prism-dark-text-subtlest: oklch(68.2% 0.008 261deg);   /* #96999E */
  --prism-dark-text-subtle: oklch(74.1% 0.006 265deg);     /* #A9ABAF */
  --prism-dark-text: oklch(85.5% 0.004 271deg);            /* #CECFD2 */
  --prism-dark-text-bright: oklch(91.5% 0.002 248deg);     /* #E2E3E4 */
  --prism-dark-blue: oklch(69.5% 0.137 259deg);            /* #669DF1 */
  --prism-dark-blue-hover: oklch(77.7% 0.100 258deg);      /* #8FB8F6 */
  --prism-dark-blue-wash: oklch(28.8% 0.047 259deg);       /* #1C2B42 */
  --prism-dark-blue-wash-strong: oklch(35.6% 0.091 259deg); /* #1C3B6B */
  --prism-dark-green: oklch(84.0% 0.113 165deg);           /* #7EE2B8 */
  --prism-dark-green-wash: oklch(29.8% 0.035 165deg);      /* #1C3329 */
  --prism-dark-red: oklch(78.3% 0.122 24deg);              /* #FD9891 */
  --prism-dark-red-wash: oklch(29.4% 0.050 26deg);         /* #42221F */
  --prism-dark-orange: oklch(85.6% 0.091 57deg);           /* #FEC195 */
  --prism-dark-orange-wash: oklch(29.5% 0.029 58deg);      /* #38291E */
  --prism-dark-yellow: oklch(86.0% 0.169 98deg);           /* #EED12B */
  --prism-dark-yellow-wash: oklch(30.1% 0.032 95deg);      /* #332E1B */
  --prism-dark-purple: oklch(78.9% 0.133 313deg);          /* #D8A0F7 */
  --prism-dark-purple-wash: oklch(29.3% 0.053 312deg);     /* #35243F */
  --prism-dark-teal: oklch(85.2% 0.068 222deg);            /* #9DD9EE */
  --prism-dark-teal-wash: oklch(30.0% 0.027 220deg);       /* #1E3137 */
  --prism-dark-magenta: oklch(79.2% 0.135 343deg);         /* #F797D2 */
  --prism-dark-magenta-wash: oklch(29.3% 0.048 344deg);    /* #3D2232 */

  /* Mizan — professional legal minimal palette anchored on the logo's deep
     burgundy (#8A181A). Architectural alabaster/warm-stone neutrals by day,
     deep obsidian charcoal by night, with burgundy as the sole dominant
     identity and interactive accent on both sides. */
  --mizan-brand: oklch(41.23% 0.1488 26.07);               /* #8A181A */
  --mizan-brand-hover: oklch(35.80% 0.1320 25.80);
  --mizan-brand-ink: oklch(33.50% 0.1220 25.60);
  --mizan-brand-mid: oklch(47.20% 0.1620 26.00);
  --mizan-brand-soft: oklch(58.00% 0.1400 24.50);
  --mizan-brand-wash: oklch(96.00% 0.0110 22.00);
  --mizan-brand-tint: oklch(93.00% 0.0240 22.00);

  /* Mizan Light — crisp alabaster canvas, near-white cards, hairline rules,
     deep charcoal ink */
  --mizan-light-surface: oklch(99.6% 0.0015 60);
  --mizan-light-page: oklch(96.8% 0.0035 55);
  --mizan-light-subtle: oklch(94.4% 0.0045 50);
  --mizan-light-line: oklch(85.5% 0.0060 45);
  --mizan-light-line-strong: oklch(72.0% 0.0080 40);
  --mizan-light-muted-light: oklch(61.0% 0.0090 38);
  --mizan-light-muted: oklch(49.0% 0.0095 36);
  --mizan-light-ink: oklch(29.0% 0.0090 30);
  --mizan-light-ink-strong: oklch(20.0% 0.0080 28);
  --mizan-light-amber: oklch(56.0% 0.115 72);
  --mizan-light-danger: oklch(46.0% 0.165 27);
  --mizan-light-green: oklch(47.0% 0.088 152);
  --mizan-light-green-wash: oklch(94.8% 0.018 152);

  /* Mizan Dark — obsidian charcoal surfaces, warm alabaster ink, deep
     burgundy fills and luminous burgundy-rose interactive ink */
  --mizan-dark-sunken: oklch(15.2% 0.0050 24);
  --mizan-dark-page: oklch(17.8% 0.0055 24);
  --mizan-dark-card: oklch(21.8% 0.0065 24);
  --mizan-dark-elevated: oklch(26.0% 0.0075 24);
  --mizan-dark-line: oklch(31.5% 0.0085 24);
  --mizan-dark-line-strong: oklch(41.5% 0.0100 24);
  --mizan-dark-muted-light: oklch(58.0% 0.0090 26);
  --mizan-dark-muted: oklch(69.5% 0.0085 28);
  --mizan-dark-ink: oklch(87.5% 0.0065 36);
  --mizan-dark-ink-strong: oklch(94.5% 0.0045 42);
  --mizan-dark-brand-fill: oklch(43.5% 0.150 26.0);
  --mizan-dark-brand-fill-hover: oklch(49.5% 0.160 25.5);
  --mizan-dark-brand-ink: oklch(70.5% 0.132 21.5);
  --mizan-dark-brand-ink-hover: oklch(78.0% 0.108 20.5);
  --mizan-dark-brand-wash: oklch(26.5% 0.042 24.0);
  --mizan-dark-brand-border: oklch(46.0% 0.115 24.0);
  --mizan-dark-amber: oklch(76.5% 0.118 76);
  --mizan-dark-green: oklch(72.5% 0.100 154);
  --mizan-dark-green-wash: oklch(26.0% 0.032 154);
  --mizan-dark-danger: oklch(72.0% 0.145 25);
}
