/* Hallmark · shape: Index-First (home), kept docs layout (chapters) · genre: editorial · theme: Specimen (deal 3/3, seed open-study-pharmaceutics-biopharmaceutics-a554·13ee0c03·2026-11-30·r0) · job: start reading (visit) · draw: manual, MkDocs Material chrome kept
 * hero: Split, the title and lead beside a live concentration-time curve · nav: kept (Material header and unit tabs as a hairline masthead) · footer: kept (Material footer as the ink band) · imagery: the product (the PK simulator itself), no photographs · signature: the plasma concentration-time curve drawn as a hairline with ink-blue guides at Cmax, tmax and t½, live under the reader's own sliders
 * axes: light/high-contrast-serif/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R3 V4 · weakest: R, chapters keep the docs layout; rhythm comes from hairlines, the double rule and the Didone heads */
/* Hallmark · waive 58 · chapters are long-form teaching text; the 80-word screen budget applies to the home page only */
/* Hallmark · CJK: Bodoni Moda and Geist carry no Chinese glyphs, so display falls to Noto Serif TC and body to the system Chinese sans; the hairline contrast lives in the Latin, formulas and figures */

/* Specimen 主題的設計變數。extra.css 只透過這些變數取色與取字型。 */

/* ===== 淺色：燕麥色紙、暖黑墨、一個墨藍色 ===== */
:root,
[data-md-color-scheme="default"] {
  color-scheme: light;
  --color-paper: oklch(96.5% 0.016 82);
  --color-paper-2: oklch(93.5% 0.020 80);
  --color-paper-3: oklch(89% 0.024 78);
  --color-sheet: oklch(98% 0.010 82);
  --color-well: oklch(94.5% 0.018 80);
  --color-row: oklch(93% 0.020 80);
  --color-ink: oklch(17% 0.012 60);
  --color-ink-2: oklch(28% 0.014 60);
  --color-muted: oklch(47% 0.014 65);
  --color-faint: oklch(60% 0.014 65);
  --color-rule: oklch(80% 0.018 75);
  --color-rule-2: oklch(62% 0.020 72);
  --color-accent: oklch(45% 0.180 262);
  --color-accent-2: oklch(38% 0.160 262);
  --color-accent-ink: oklch(97% 0.012 82);
  --color-focus: oklch(50% 0.180 262);
  --color-guide: oklch(55% 0.160 262 / 0.5);
  --color-scrim: oklch(17% 0.012 60 / 0.55);
  --color-band: oklch(17% 0.012 60);
  --color-band-2: oklch(13% 0.012 60);
  --color-band-ink: oklch(94% 0.014 82);
  --color-band-muted: oklch(74% 0.014 75);

  /* 提示框分類色：公式 / 國考重點 / 陷阱 / 例題，同明度、低彩度 */
  --color-formula: oklch(45% 0.120 262);
  --color-pearl: oklch(50% 0.090 75);
  --color-warn: oklch(48% 0.150 28);
  --color-calc: oklch(45% 0.080 170);
  --color-right: oklch(47% 0.110 150);
}

/* ===== 深色：墨色紙、燕麥色字，墨藍提亮 ===== */
[data-md-color-scheme="slate"] {
  color-scheme: dark;
  --color-paper: oklch(18% 0.012 60);
  --color-paper-2: oklch(21% 0.012 60);
  --color-paper-3: oklch(25% 0.012 60);
  --color-sheet: oklch(21.5% 0.012 60);
  --color-well: oklch(25% 0.013 60);
  --color-row: oklch(24.5% 0.013 60);
  --color-ink: oklch(95% 0.014 82);
  --color-ink-2: oklch(88% 0.014 80);
  --color-muted: oklch(73% 0.014 75);
  --color-faint: oklch(60% 0.014 70);
  --color-rule: oklch(34% 0.014 65);
  --color-rule-2: oklch(56% 0.016 70);
  --color-accent: oklch(74% 0.120 262);
  --color-accent-2: oklch(82% 0.090 262);
  --color-accent-ink: oklch(18% 0.012 60);
  --color-focus: oklch(76% 0.130 262);
  --color-guide: oklch(72% 0.120 262 / 0.55);
  --color-scrim: oklch(8% 0.010 60 / 0.65);
  --color-band: oklch(12% 0.010 60);
  --color-band-2: oklch(9% 0.010 60);
  --color-band-ink: oklch(93% 0.014 82);
  --color-band-muted: oklch(70% 0.014 75);

  --color-formula: oklch(74% 0.100 262);
  --color-pearl: oklch(79% 0.090 80);
  --color-warn: oklch(72% 0.120 28);
  --color-calc: oklch(76% 0.070 170);
  --color-right: oklch(76% 0.100 150);
}

/* ===== 字型與線條 ===== */
:root {
  /* 標題：英數用 Bodoni Moda（高光學尺寸），中文接 Noto Serif TC */
  --font-display: "Bodoni Moda", "Noto Serif TC", "Songti TC", "PMingLiU", ui-serif, Georgia, serif;
  /* 內文：英數用 Geist，中文接系統黑體 */
  --font-body: "Geist", "Microsoft JhengHei", "微軟正黑體", "PingFang TC", "Noto Sans TC", ui-sans-serif, system-ui, sans-serif;
  /* 數字、公式中的數值與程式碼 */
  --font-outlier: "Geist Mono", Consolas, "Cascadia Mono", ui-monospace, monospace;

  --radius-card: 0;
  --radius-pill: 0;
  --rule-hair: 1px;
  --rule-bar: 1px;
  --tracking-display: -0.02em;
  --display-weight: 400;
  --display-optical: 96;
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
