/* Ahensya Drafting · Drafting Paper — v3.3 tokens (graphite-led) */
:root {
  --ground: #E6E7E8; /* Drafting Paper — Page ground, full bleed */
  --panel: #F2F3F3; /* Sheet — Raised surface, cards */
  --hi: #F9F9FA; /* Highlight — Cards on panel; text on dark grounds */
  --grid: #C9CBCE; /* Grid Line — Grid and rules only, never text */
  --ink-graphite: #272A2E; /* Graphite Ink — PRIMARY: headlines, body, wordmark, line work, chart ink */
  --graphite-mid: #51555B; /* Graphite Mid — Secondary text, labels */
  --graphite-line: #74787D; /* Graphite Line — Secondary linework only, never text */
  --accent-blue: #33465B; /* Accent Blue — ACCENT: buttons, links, selected state, chart highlight, reverse ground */
  --support-blue: #6D7E8F; /* Support Blue — SUPPORT: one accent stroke per drawing, small rules; never text */
  --blue-wash: #D6DDE5; /* Blue Wash — Selected fill, highlighted chart series */
  --verdigris: #356659; /* Verdigris — Plants and growth only */
  --verdigris-wash: #CADBD5; /* Verdigris Wash — Plant-related fill */
  --danger: #9A3D37; /* Danger Red — STATUS: destructive actions and error states only, always with a text label; never decoration */
  /* legacy short names, kept so older markup keeps working */
  --ink: var(--ink-graphite);
  --text: var(--ink-graphite);
  --text-2: var(--graphite-mid);
  --ink-2: var(--graphite-line);
  --accent: var(--verdigris);
  --accent-soft: var(--verdigris-wash);
  --error: var(--danger);
  --lw-hair: 0.5px;
  --lw-fine: 0.75px;
  --lw-base: 1.0px;
  --lw-key: 1.5px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Inter", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;
  --type-display-xl: 500 96px/0.98 var(--font-display); --track-display-xl: -0.015em;
  --type-display: 500 64px/1.0 var(--font-display); --track-display: -0.012em;
  --type-heading-1: 500 40px/1.05 var(--font-display); --track-heading-1: -0.01em;
  --type-heading-2: 600 20px/1.25 var(--font-ui); --track-heading-2: -0.005em;
  --type-heading-3: 600 15px/1.35 var(--font-ui); --track-heading-3: 0;
  --type-body: 400 15px/1.6 var(--font-ui); --track-body: 0;
  --type-body-small: 400 12.5px/1.6 var(--font-ui); --track-body-small: 0;
  --type-caption: 400 11px/1.45 var(--font-ui); --track-caption: 0.01em;
  --type-mono-label: 400 10px/1.4 var(--font-mono); --track-mono-label: 0.14em;
  --type-annotation: 400 8.5px/1.3 var(--font-mono); --track-annotation: 0.1em;
  /* v3.1 illustration roles. DECORATIVE is the default (hero art, backgrounds, covers, social, web, card);
     INFORMATIVE only when a drawing carries meaning (chart, diagram, explanatory analogy). */
  --ill-deco-core: #97999C; /* shape lines: object, edge, outline (fine/base/key) */
  --ill-deco-detail: #B4B6B9; /* hairlines, hatch, secondary edges */
  --ill-deco-rough: #C5C7CA; /* working-drawing pass: overshoot, second stroke, set-out, erasure, scribble */
  --ill-deco-wall: #C9CBCE; /* thin hatch inside double-line cut walls (v3.2; walls are outlines, never a fill) */
  --ill-deco-poche: #CED0D3; /* column crosses and solid-area marks (v3.2: lines only, no fill) */
  --ill-deco-plant: #4E7D70; /* moss, leaves, sprouts - the living accent, a touch stronger than core */
  --ill-deco-accent: #8496A9; /* the one blue stroke per drawing: a dimension line or callout (v3.3) */
  --ill-info-core: #272A2E; /* shape lines: object, edge, outline (fine/base/key) */
  --ill-info-detail: #74787D; /* hairlines, hatch, secondary edges */
  --ill-info-rough: #74787D; /* working-drawing pass: overshoot, second stroke, set-out, erasure, scribble */
  --ill-info-wall: #272A2E; /* thin hatch inside double-line cut walls (v3.2; walls are outlines, never a fill) */
  --ill-info-poche: #272A2E; /* column crosses and solid-area marks (v3.2: lines only, no fill) */
  --ill-info-plant: #356659; /* moss, leaves, sprouts - the living accent, a touch stronger than core */
  --ill-info-accent: #33465B; /* the one blue stroke per drawing: a dimension line or callout (v3.3) */
  --ill-deco-rev-core: #8D9EB0; /* shape lines: object, edge, outline (fine/base/key) */
  --ill-deco-rev-detail: #687C91; /* hairlines, hatch, secondary edges */
  --ill-deco-rev-rough: #607489; /* working-drawing pass: overshoot, second stroke, set-out, erasure, scribble */
  --ill-deco-rev-wall: #52677D; /* thin hatch inside double-line cut walls (v3.2; walls are outlines, never a fill) */
  --ill-deco-rev-poche: #4A5F75; /* column crosses and solid-area marks (v3.2: lines only, no fill) */
  --ill-deco-rev-plant: #7DAA9B; /* moss, leaves, sprouts - the living accent, a touch stronger than core */
  --ill-deco-rev-accent: #B4C3D2; /* the one blue stroke per drawing: a dimension line or callout (v3.3) */
  --k: 1; /* line-weight multiplier for reduced renders */
}
/* Active role: motif SVGs read --ill-core/-detail/-rough/-wall/-poche/-plant and fall back to DECORATIVE. */
.ill-deco{--ill-core:var(--ill-deco-core);--ill-detail:var(--ill-deco-detail);--ill-rough:var(--ill-deco-rough);--ill-wall:var(--ill-deco-wall);--ill-poche:var(--ill-deco-poche);--ill-plant:var(--ill-deco-plant);--ill-accent:var(--ill-deco-accent)}
.ill-info{--ill-core:var(--ill-info-core);--ill-detail:var(--ill-info-detail);--ill-rough:var(--ill-info-rough);--ill-wall:var(--ill-info-wall);--ill-poche:var(--ill-info-poche);--ill-plant:var(--ill-info-plant);--ill-accent:var(--ill-info-accent)}
.ill-deco-rev{--ill-core:var(--ill-deco-rev-core);--ill-detail:var(--ill-deco-rev-detail);--ill-rough:var(--ill-deco-rev-rough);--ill-wall:var(--ill-deco-rev-wall);--ill-poche:var(--ill-deco-rev-poche);--ill-plant:var(--ill-deco-rev-plant);--ill-accent:var(--ill-deco-rev-accent)}
/* --- Ahensya Design System v1.0 additions --- */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 56px;
  --space-11: 64px;
  --space-12: 72px;
  --space-13: 96px;
  --space-14: 128px;
  --margin-keynote-1920x1080: 128px;
  --margin-web-1440x900: 64px;
  --margin-social-1080: 90px;
  --margin-report-a4-794x1123: 58px;
  --margin-brand-book-a4l-1123x794: 56px;
  --margin-overview-1920x1080: 72px;
  --margin-business-card-321x208: 22px;
  --margin-dashboard-tile-520x290: 20px;
}
.rev-blue{--ill-core:#8D9EB0;--ill-detail:#687C91;--ill-rough:#607489;--ill-wall:#52677D;--ill-poche:#4A5F75;--ill-plant:#7DAA9B;--ill-accent:#B4C3D2;--ground:#33465B;--panel:#3A4E64;--hi:#3E536A;--ink:#E6E7E8;--ink-2:#93A4B5;--grid:#556A80;--text:#F8F9FA;--text-2:#C9D2DB;--accent:#9CC7B8;--accent-soft:#4A6B66;background:var(--ground)}
.rev-graphite{--ill-core:#8F9398;--ill-detail:#63676C;--ill-rough:#585C61;--ill-wall:#4D5156;--ill-poche:#464A4F;--ill-plant:#7DAA9B;--ill-accent:#8FA3B8;--ground:#272A2E;--panel:#303338;--hi:#35383D;--ink:#E6E7E8;--ink-2:#9A9EA4;--grid:#4A4E54;--text:#F9F9FA;--text-2:#C9CBCE;--accent:#9CC7B8;--accent-soft:#4A6B66;background:var(--ground)}
.ghost,.ghost2{--ill-core:#C7C9CC;--ill-detail:#D0D2D5;--ill-rough:#D7D9DC;--ill-wall:#D1D3D6;--ill-poche:#D4D6D9;--ill-plant:#A9C4BA;--ill-accent:#C3CCD5;--ink:#BABCBF;--ink-2:#C7C9CC;--grid:#D5D7DA;--accent:#A9C4BA;--text:#9FA1A4;--text-2:#A9ABAE;--hi:var(--ground)}.ghost2{--ink:#C2C4C7;--ill-core:#CBCDD0}.ghost2>svg.m{opacity:.5}
