/*
 * Riso: the shared look of the career-path field guide, used by the web page
 * (public/career-path/index.html) AND the PDF (scripts/career-guide-pdf).
 * Warm paper, three spot inks that overprint (multiply), grain, a little
 * misregistration. The logo anchors it: its flame orange is the lead ink and
 * its graphite ground (#0D0D10) is the key ink.
 *
 * Text contrast on paper: the inks themselves are display colours. Plain
 * orange is 2.3:1 on paper, so any SMALL coloured text uses the --*-t
 * ("text") variants (all >= 4.5:1). Big shapes, numerals and tabs with key
 * text keep the pure inks.
 */
:root{
  --paper:#F4EFE6;
  --paper-hi:#FBF8F2;
  --key:#0D0D10;
  --key-2:#2F2B26;
  --key-3:#5F584E;
  --orange:#FB7B20;
  --pink:#FF48B0;
  --blue:#3255FF;
  --orange-t:#B8430E;
  --pink-t:#C8207F;
  --blue-t:#2346E8;
  --rule:rgba(13,13,16,.28);
  --f-head:"Bricolage Grotesque",system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-body:"Instrument Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-hand:"Caveat","Bradley Hand",cursive;
}
.mul{mix-blend-mode:multiply}
/* paper's grain (multiply) and the ink's voids (lighten): two small JPEG tiles */
.riso-tooth{background:url(assets/tooth.jpg) 0 0/40mm 40mm;mix-blend-mode:multiply;opacity:.4;pointer-events:none}
.riso-voids{background:url(assets/voids.jpg) 0 0/44mm 44mm;mix-blend-mode:lighten;opacity:.9;pointer-events:none}

/* ---- Diagrams on paper (.dg) ----
   Same markup as the original dark guide; the tokens are remapped to inks.
   Default: accent and "you" = orange, IC = blue, management = pink.
   Inside an AI diagram (.ai-dg) the accent is blue: AI is the cold ink. */
.dg{--ink:#0D0D10;--ink-2:#2F2B26;--ink-3:#5F584E;--void:#F4EFE6;--line:rgba(13,13,16,.16);--line-hi:rgba(13,13,16,.34);
  --ion:#FB7B20;--ember:#FB7B20;--mint:#3255FF;--orchid:#FF48B0;--rose:#FF48B0;--f-display:var(--f-body);--f-mono:var(--f-body);
  --ion-t:#B8430E;--ember-t:#B8430E;--mint-t:#2346E8;--orchid-t:#C8207F;--rose-t:#C8207F;
  width:100%;height:auto;display:block;overflow:visible}
.dg.ai-dg{--ion:#3255FF;--ion-t:#2346E8}
.dg text{font-family:var(--f-display);fill:var(--ink-2)}
.dg .t{fill:var(--ink);font-size:13.5px;font-weight:600}
.dg .t.sm{font-size:13px}
.dg .t.big{font-size:16px}
.dg .s{fill:var(--ink-2);font-size:10.5px;font-family:var(--f-mono)}
.dg .code{white-space:pre}
.dg .m{fill:var(--ink-3);font-size:10.5px;font-family:var(--f-mono);letter-spacing:.06em}
.dg .lbl{fill:var(--ink-2);font-size:12px}
.dg .halo{paint-order:stroke;stroke:var(--void);stroke-width:5px;stroke-linejoin:round}
.dg .f-ink{fill:var(--ink)}
.dg .f-ion{fill:var(--ion)}
.dg .f-mint{fill:var(--mint)}
.dg .f-ember{fill:var(--ember)}
.dg .f-orchid{fill:var(--orchid)}
.dg .f-rose{fill:var(--rose)}
.dg .box{fill:#FBF8F2;stroke:var(--line-hi);stroke-width:1}
.dg .st-mute{stroke:var(--ink-3)}
.dg .st-ion{stroke:var(--ion)}
.dg .st-mint{stroke:var(--mint)}
.dg .st-rose{stroke:var(--rose)}
.dg .st-ember{stroke:var(--ember)}
.dg .cc-core{stroke-width:1.4}
.dg .edge{fill:none;stroke:var(--ink-3);stroke-width:1.4}
.dg .ah{fill:var(--ink-2)}
.dg .pulse{fill:none;stroke-width:2.6;stroke-linecap:round;opacity:0}
.dg .p-ion{stroke:var(--ion)}
.dg .p-ember{stroke:var(--ember)}
.dg .lead{stroke:var(--ink-3);stroke-width:1;stroke-dasharray:3 4}
.dg .fill-ion{fill:var(--ion)}
.dg .fill-mint{fill:var(--mint)}
.dg .ico{fill:none;stroke:var(--ink-3);stroke-width:1.2}
.dg .bar{fill:var(--line-hi)}
.dg .bar-hi{fill:var(--ink-2)}
.dg .caretl{stroke:var(--ion);stroke-width:1.4}
.dg .btn-t{fill:var(--void);font-size:10.5px;font-weight:600}
.dg .pill-ion{fill:rgba(251,123,32,.08);stroke:rgba(251,123,32,.45)}
.dg .pill-ember{fill:rgba(251,123,32,.08);stroke:rgba(251,123,32,.45)}
.dg .band{opacity:1;fill-opacity:var(--o)}
.dg .b-ion{fill:var(--ion)}
.dg .b-mint{fill:var(--mint)}
.dg .b-orchid{fill:var(--orchid)}
.dg .ring{fill:none;stroke-width:1.4}
.dg .r-ion{stroke:rgba(251,123,32,.6)}
.dg .r-mint{stroke:var(--mint)}
.dg .r-orchid{stroke:var(--orchid)}
.dg .base{stroke:var(--line-hi);stroke-width:1}
.dg .sweep{opacity:0}
.dg .sweep-l{stroke:var(--ion);stroke-width:1.2;opacity:.6}
.dg .widen{fill:rgba(251,123,32,.035);stroke:var(--ion);stroke-width:1.2;stroke-dasharray:5 7;opacity:.75}
.dg .dia-edge{fill:none;stroke:var(--line-hi);stroke-width:1.4}
.dg .dot{fill:var(--ion)}
.dg .opt{fill:var(--deep);stroke:var(--ink-3);stroke-width:1.3}
.dg .opt-on{fill:var(--ember);stroke:var(--ember)}
.dg .reject{fill:none;stroke:var(--ink-3);stroke-width:1.2;stroke-dasharray:3 4}
.dg .xmark{fill:none;stroke:var(--ink-3);stroke-width:1.4;stroke-linecap:round}
.dg .chosen{fill:none;stroke:var(--ember);stroke-width:2.2;stroke-linecap:round}
.dg .node-pt{fill:var(--ember);stroke:var(--void);stroke-width:2}
.dg .node-pt.start{fill:var(--ink-2)}
.dg .cc-step{fill:#FBF8F2;stroke:var(--line-hi);stroke-width:1}
.dg .cell{fill:rgba(251,123,32,.05);stroke:var(--line-hi);stroke-width:1}
.dg .cell.c-ion{fill:rgba(251,123,32,.16);stroke:var(--ion)}
.dg .cell.c-ember{fill:rgba(251,123,32,.16);stroke:var(--ember)}
.dg .leg{stroke:none}
.dg .tick{stroke:var(--ink-3);stroke-width:1}
.dg .doc{fill:rgba(13,13,16,.035);stroke:var(--line)}
.dg .blk{fill:#FBF8F2;stroke:var(--line-hi)}
.dg .blk.hot{stroke:rgba(251,123,32,.55)}
.dg .goal{stroke:var(--mint);stroke-width:1.2;stroke-dasharray:3 3}
.dg .flat{fill:none;stroke:var(--ink-3);stroke-width:1.5}
.dg .trend{fill:none;stroke:var(--mint);stroke-width:1.8;stroke-linejoin:round}
.dg .sticky{fill:rgba(251,123,32,.22);stroke:rgba(251,123,32,.55)}
.dg .opt-thumb{fill:none;stroke:var(--ink-3);stroke-width:1.2}
.dg .opt-thumb.on{fill:rgba(251,123,32,.12);stroke:var(--ember)}
.dg .rbar{stroke-width:3;stroke-linecap:round}
.dg .rb-ember{stroke:var(--ember);fill:var(--ember)}
.dg .rb-ion{stroke:var(--ion);fill:var(--ion)}
.dg .rb-mint{stroke:var(--mint);fill:var(--mint)}
.dg .end-dot{stroke:var(--void);stroke-width:2}
.dg .ring-dash{fill:none;stroke:var(--line-hi);stroke-width:1.4;stroke-dasharray:4 6}
.dg .ring-ah{fill:var(--ink-2)}
.dg .orbit-dot{fill:var(--ion)}
.dg .orbit-dot.mint{fill:var(--mint)}
.dg .core-ring{fill:rgba(251,123,32,.05);stroke:rgba(251,123,32,.4);stroke-width:1.2}
.dg .p-mint{stroke:var(--mint)}
.dg .lad{fill:var(--ion);opacity:.55}
/* text-safe ink for coloured labels; shapes keep the pure ink */
.dg text.f-ion,.dg tspan.f-ion{fill:var(--ion-t)}
.dg text.f-ember,.dg tspan.f-ember{fill:var(--ember-t)}
.dg text.f-mint,.dg tspan.f-mint{fill:var(--mint-t)}
.dg text.f-orchid,.dg tspan.f-orchid{fill:var(--orchid-t)}
.dg text.f-rose,.dg tspan.f-rose{fill:var(--rose-t)}
.dg .box,.dg .cc-step,.dg .blk{stroke:var(--key);stroke-width:1.1}
.dg .edge{stroke:var(--key-2)}
.dg .ah{fill:var(--key)}
.dg.ai-dg .pill-ion{fill:rgba(50,85,255,.08);stroke:rgba(50,85,255,.5)}
.dg.ai-dg .r-ion{stroke:rgba(50,85,255,.6)}
.dg.ai-dg .widen{fill:rgba(50,85,255,.05)}
.dg.ai-dg .cell.c-ion{fill:rgba(50,85,255,.14)}
.dg .halo{stroke:var(--void)}
