:root{
  --bg:#f5f5f2; --card:#ffffff; --line:#e5e4de; --line2:#d8d7cf;
  --navy:#22405c; --ink:#33424f; --muted:#75818c; --faint:#9aa4ad;
  --teal:#177b70; --teal-dk:#0f5f56; --teal-soft:#e5f2f0; --teal-line:#bcded9;
  --gold:#e19b2d; --gold-dk:#a86e14; --gold-soft:#fdf3e1; --gold-line:#f0d9a8;
  --green:#2e7d54; --green-soft:#e8f3ec;
  --amber:#b06a12; --amber-soft:#fbf0dc;
  --red:#b3503f; --red-soft:#faeae6;
  --navy-panel:#232e63;
  /* One hover tooltip palette, used by all three tooltip surfaces: the in-markup
     one on map dots and off-map chips, the floating copy that follows the cursor,
     and .floattip on the filter options. Defined once so they cannot drift apart. */
  --tip-bg:#FFE578; --tip-title:#22405c; --tip-body:#4a4633; --tip-small:#6b6449;
  --tip-live:#0f5f56; --tip-gap:#9c3b28; --tip-sh:0 6px 20px rgba(90,70,10,.26);
  --r:14px; --r-s:10px;
  --sh:0 1px 2px rgba(34,64,92,.05),0 4px 14px rgba(34,64,92,.06);
  --sh-lg:0 2px 6px rgba(34,64,92,.07),0 14px 34px rgba(34,64,92,.10);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;background:var(--bg);color:var(--ink);font-size:15.5px;line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:'Inter Tight','Inter',sans-serif;color:var(--navy);line-height:1.2;letter-spacing:-.015em}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit;font-size:inherit}
a{color:var(--teal);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:1180px;margin:0 auto;padding:0 22px}
.hero .eyebrow{font-size:12.5px}
.eyebrow{font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--teal)}
.sub{color:var(--muted);max-width:640px}

/* ---------- header ---------- */
.top{position:sticky;top:0;z-index:60;background:rgba(245,245,242,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.topin{display:flex;align-items:center;gap:22px;height:58px}
.brand{display:flex;align-items:baseline;gap:9px;white-space:nowrap}
.brand b{font-family:'Inter Tight';font-size:17.5px;font-weight:800;color:var(--navy);letter-spacing:-.02em}
.brand span{font-size:11px;font-weight:600;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}
.nav{display:flex;gap:4px;margin-left:auto;overflow-x:auto}
.nav a{font-size:13px;font-weight:600;color:var(--ink);padding:7px 11px;border-radius:8px;white-space:nowrap}
.nav a:hover{background:#ecece7;text-decoration:none}

/* ---------- hero ---------- */
/* The landing block. Sized to be the first thing read and to feel like an
   invitation rather than a page title: display-scale headline, and a standfirst
   that is clearly bigger than body copy but still plainly subordinate to it. */
.hero{padding:64px 0 42px}
.hero h1{font-size:clamp(34px,5.4vw,56px);font-weight:800;line-height:1.08;letter-spacing:-.015em;max-width:980px}
.hero h1 em{font-style:normal;color:var(--teal)}
.hero p{margin:20px 0 22px;max-width:720px;color:var(--muted);font-size:clamp(16.5px,1.45vw,19.5px);line-height:1.55}
.stats{display:flex;flex-wrap:wrap;gap:8px}
.stat{display:flex;align-items:baseline;gap:6px;background:var(--card);border:1px solid var(--line);border-radius:999px;padding:6px 14px;font-size:13px;color:var(--muted);box-shadow:var(--sh)}
.stat b{font-family:'Inter Tight';font-size:15px;color:var(--navy)}
.stat.live b{color:var(--teal)}
.pulse-dot{width:7px;height:7px;border-radius:50%;background:var(--teal);align-self:center;animation:blink 2.4s infinite}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.35}}

/* ---------- section shells ---------- */
section{scroll-margin-top:74px}
.block{padding:34px 0 8px}
.s1band{position:relative;padding-left:26px}
.s1band::before{content:"";position:absolute;left:0;top:26px;bottom:14px;width:4px;border-radius:2px;background:var(--teal);opacity:.85}
.rolehead{margin:30px 0 4px}
.rolehead .sub{max-width:760px;font-size:14.5px}
@media (max-width:760px){.s1band{padding-left:14px}.s1band::before{width:3px}.maptop{justify-content:flex-start}}
.block h2{font-size:24px;font-weight:800;margin:6px 0 6px}
.bhead{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:16px}

/* ---------- step 1 picker ---------- */
.stepnum{display:inline-flex;align-items:center;gap:8px;font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--teal)}
.stepnum i{font-style:normal;display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--teal);color:#fff;font-size:11px}
.optnote{text-transform:none;letter-spacing:0;font-weight:500;color:var(--faint)}
/* One row of five once there is room for it. Below 1500px the columns would be
   under ~190px, which the longest names will not take, so it falls back to the
   reflowing layout rather than squeezing. */
.pgroups{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px;align-items:start}
@media (min-width:1500px){.pgroups{grid-template-columns:repeat(5,1fr);gap:18px}
  .pgroup{padding:12px 11px 8px}
  .pgroup h4{font-size:10.5px;letter-spacing:.07em;margin-bottom:8px}}
.pgroup{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:14px 14px 10px;box-shadow:var(--sh)}
.pgroup h4{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:700;margin:0 2px 10px}
.icard{display:flex;gap:10px;width:100%;text-align:left;align-items:flex-start;padding:9px 10px;border-radius:var(--r-s);border:1.5px solid transparent;margin-bottom:4px;transition:background .15s,border-color .15s}
.icard:hover{background:#f6f9f8}
.icard.on{background:var(--gold-soft);border-color:var(--gold-line)}
/* One intervention, one marker: the list badge and the map dot are the same rounded
   square, blue until chosen and gold once it is, so a reader recognises C in the list
   as the C on the map. */
.icard .cl{flex:0 0 auto;display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#3452a4;color:#fff;font-weight:700;font-size:12.5px;font-family:'Inter Tight';margin-top:1px}
.icard.on .cl{background:var(--gold);color:#241d0c}
.icard .nm{font-weight:600;font-size:13.8px;color:var(--navy);line-height:1.3}
.icard .mn{font-size:12px;color:var(--muted);line-height:1.45;margin-top:2px}
.icard .ct{font-size:11px;color:var(--teal);font-weight:600;margin-top:3px}
.icard .ct.gap{color:var(--faint);font-weight:500}
.pickeractions{display:flex;gap:14px;align-items:center;margin-top:14px;flex-wrap:wrap}
.linkbtn{font-size:13px;font-weight:600;color:var(--teal)}
.linkbtn:hover{text-decoration:underline}
.pickhint{font-size:13px;color:var(--faint)}

/* ---------- persona ---------- */
.persona{margin-top:26px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh);overflow:hidden}
.phead{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:14px 18px}
.phead .tt{font-weight:700;color:var(--navy);font-size:14.5px;font-family:'Inter Tight'}
.phead .st{font-size:12.5px;color:var(--muted)}
.phead .chev{margin-left:auto;color:var(--faint);transition:transform .2s}
.persona.open .chev{transform:rotate(180deg)}
.pbody{display:none;padding:2px 18px 18px;border-top:1px dashed var(--line)}
.persona.open .pbody{display:block}
.plabel{font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:14px 0 8px}
.chips{display:flex;flex-wrap:wrap;gap:7px}
.chip{border:1.5px solid var(--line2);border-radius:999px;padding:5px 13px;font-size:12.5px;font-weight:600;color:var(--ink);background:#fff;transition:all .15s}
.chip:hover{border-color:var(--teal)}
.chip.on{background:var(--navy);border-color:var(--navy);color:#fff}
.stgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:8px}
.stcard{text-align:left;border:1.5px solid var(--line2);background:#fff;border-radius:var(--r-s);padding:10px 12px;transition:all .15s}
.stcard:hover{border-color:var(--teal)}
.stcard.on{border-color:var(--teal);background:var(--teal-soft)}
.stcard .q{font-size:12px;color:var(--teal-dk);font-style:italic;line-height:1.4}
.stcard .n{font-weight:700;font-size:13px;color:var(--navy);margin-top:4px}
.ponly{display:flex;align-items:center;gap:8px;margin-top:16px;font-size:13px;color:var(--ink);font-weight:600}
.switch{position:relative;width:36px;height:20px;border-radius:999px;background:#d5d5cd;transition:background .15s;flex:0 0 auto}
.switch.on{background:var(--teal)}
.switch i{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:left .15s;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.switch.on i{left:18px}

/* ---------- layer 2 rail ---------- */
.l2band{margin-top:8px}
.l2meta{font-size:13px;color:var(--muted)}
.l2note{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;color:var(--gold-dk);background:var(--gold-soft);border:1px solid var(--gold-line);border-radius:999px;padding:4px 12px;font-weight:600}
.rail{display:flex;gap:12px;overflow-x:auto;padding:6px 2px 16px;scroll-snap-type:x proximity}
.rail::-webkit-scrollbar{height:8px}
.rail::-webkit-scrollbar-thumb{background:var(--line2);border-radius:99px}
.rcard{scroll-snap-align:start;flex:0 0 250px;text-align:left;background:var(--card);border:1.5px solid var(--line);border-radius:var(--r);padding:13px 14px;box-shadow:var(--sh);transition:border-color .15s,transform .15s;display:flex;flex-direction:column;gap:7px;position:relative}
.rcard:hover{border-color:var(--teal);transform:translateY(-2px)}
.rcard.sel{border-color:var(--gold);background:var(--gold-soft);box-shadow:0 0 0 3px rgba(225,155,45,.18),var(--sh-lg)}
.rcard .org{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding-right:22px}
.rcard .nm{font-family:'Inter Tight';font-weight:700;font-size:15px;color:var(--navy);line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.4em}
.rcard .desc{font-size:12px;color:var(--muted);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rowbits{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin-top:auto}
.codebit{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:6px;background:#eef0ee;color:var(--navy);font-weight:700;font-size:11px;font-family:'Inter Tight'}
.codebit.hit{background:var(--teal);color:#fff}
.mbadge{font-size:10.5px;font-weight:700;border-radius:6px;padding:2px 7px}
.mbadge.role{background:var(--green-soft);color:var(--green)}
.mbadge.stage{background:var(--teal-soft);color:var(--teal-dk)}
.vdot{width:7px;height:7px;border-radius:50%;display:inline-block;flex:0 0 auto}
.v-verified{background:var(--teal)}
.v-confirm{background:var(--gold)}
.starb{position:absolute;top:9px;right:9px;font-size:15px;color:#c9cdc9;line-height:1;padding:3px}
.starb:hover{color:var(--gold)}
.starb.on{color:var(--gold)}
.railempty{padding:26px;border:1.5px dashed var(--line2);border-radius:var(--r);color:var(--muted);font-size:14px;flex:1;text-align:center}

/* ---------- focus / detail ---------- */
.focus{background:var(--card);border:1.5px solid var(--gold-line);border-radius:var(--r);box-shadow:var(--sh-lg);padding:22px 24px;margin-bottom:22px;position:relative}
.focus .eyebrow{color:var(--gold-dk)}
.forg{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px;font-size:12.5px;color:var(--muted)}
.forg b{color:var(--navy);font-size:13px}
.vbadge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;border-radius:999px;padding:3px 10px}
.vbadge.verified{background:var(--teal-soft);color:var(--teal-dk)}
.vbadge.confirm{background:var(--gold-soft);color:var(--gold-dk)}
.focus h3{font-size:22px;font-weight:800;margin:2px 0 8px;padding-right:40px}
.focus .chg{color:var(--ink);max-width:760px}
.fgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:18px 0 4px}
.fcell .plabel{margin:0 0 7px}
.tagline{display:flex;flex-wrap:wrap;gap:5px}
.tag{font-size:11.5px;font-weight:600;background:#f1f2ef;border-radius:7px;padding:3px 9px;color:var(--ink)}
.tag.hl{background:var(--green-soft);color:var(--green);outline:1.5px solid #bfdccb}
.tag.stagehl{background:var(--teal-soft);color:var(--teal-dk);outline:1.5px solid var(--teal-line)}
.tag.code{background:#eef0ee;color:var(--navy);font-family:'Inter Tight';font-weight:700}
.tag.out-i{background:var(--teal-soft);color:var(--teal-dk)}
.tag.out-lt{background:#e9eafb;color:#3d47a0}
.needbox{margin-top:14px;background:var(--amber-soft);border:1px solid #ecd9b6;border-radius:var(--r-s);padding:11px 14px;font-size:13.5px}
.needbox b{color:var(--amber)}
.factions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;align-items:center}
.abtn{display:inline-flex;align-items:center;gap:7px;border-radius:9px;padding:9px 16px;font-size:13.5px;font-weight:700;transition:all .15s;text-decoration:none}
.abtn.pri{background:var(--teal);color:#fff}
.abtn.pri:hover{background:var(--teal-dk);text-decoration:none}
.abtn.sec{background:#fff;border:1.5px solid var(--line2);color:var(--navy)}
.abtn.sec:hover{border-color:var(--teal);text-decoration:none}
.collab{font-size:12px;color:var(--faint);margin-top:10px}
.focusempty{border:1.5px dashed var(--line2);border-radius:var(--r);padding:30px;text-align:center;color:var(--muted);margin-bottom:22px;font-size:14.5px}

/* v3: story = wide prose column + sticky rail holding the action, the cost and the provenance.
   The rail is 300px of a 1180px wrap, which leaves the prose column at ~760px — the measure
   .chg and .wayins were already set to. */
.fsplit{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start;margin-top:16px}
.fmain{min-width:0}
.frail{position:sticky;top:74px;display:flex;flex-direction:column;gap:12px}
.frail .factions{margin-top:0;flex-direction:column;align-items:stretch;gap:8px}
.frail .abtn{justify-content:center;text-align:center}
.frail .needbox{margin-top:0}
/* provenance, demoted: a quiet key-value list rather than six competing chip groups */
.fmeta{border:1px solid var(--line);border-radius:var(--r-s);padding:12px 14px}
.fmeta .plabel{margin:0}
/* one collapsible idiom, used by the rail's provenance list and by the system context below */
.metatog{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:0;text-align:left}
.metatog:hover{color:var(--ink)}
.metatog .chev{font-size:10px;transition:transform .15s ease}
.metatog.open .chev{transform:rotate(180deg)}
.togbox{display:none}
.togbox.open{display:block}
.fmeta .metatog{margin:0}
.fmeta dl{margin:0}
.fmeta dl.togbox.open{margin-top:8px}
.mrow{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;padding:8px 0}
.mrow+.mrow{border-top:1px dashed var(--line)}
.mrow:first-child{padding-top:0}
.mrow dt{font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:var(--faint);padding-top:4px;line-height:1.35}
.mrow dd{margin:0;display:flex;flex-wrap:wrap;gap:5px}
.mrow .tag{font-size:11px;padding:2px 8px}

/* tension */
.tension{display:flex;gap:10px;background:var(--red-soft);border:1px solid #ecc6bd;border-radius:var(--r-s);padding:11px 14px;margin-top:14px;font-size:13px;color:#7c3a2d}
.tension b{color:var(--red)}

/* ---------- layers ---------- */
.layers{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.lcol{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh);padding:18px 18px 12px;min-height:200px}
.lcol .lh{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:2px}
.lcol h3{font-size:18.5px;font-weight:800}
.lcol .lsub{font-size:12.5px;color:var(--muted);margin-bottom:14px}
.lgroup{border-top:1px dashed var(--line);padding:13px 0 8px}
.lgroup:first-of-type{border-top:none}
.ghead{display:flex;align-items:flex-start;gap:9px}
.ghead .cl{flex:0 0 auto;display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:var(--navy);color:#fff;font-weight:700;font-size:12px;font-family:'Inter Tight';margin-top:1px}
.ghead .gt{font-weight:700;color:var(--navy);font-size:14.5px;line-height:1.3}
.edgeline{margin:7px 0 4px 33px}
.edgebtn{display:flex;flex-wrap:wrap;align-items:center;gap:7px;text-align:left;font-size:12px;color:var(--ink);padding:5px 8px;border-radius:8px;background:#f7f8f5;border:1px solid var(--line);width:100%}
.edgebtn:hover{border-color:var(--teal-line);background:var(--teal-soft)}
.arrow{font-weight:700;color:var(--teal)}
.ebadge{font-size:10px;font-weight:700;border-radius:5px;padding:1.5px 6px;letter-spacing:.02em}
.ebadge.val{background:var(--green-soft);color:var(--green)}
.ebadge.hyp{background:var(--gold-soft);color:var(--gold-dk)}
.ebadge.str{background:#eef0ee;color:var(--muted)}
.edetail{display:none;margin:6px 0 4px 33px;font-size:12.5px;color:var(--ink);background:#fbfbf8;border:1px dashed var(--line2);border-radius:8px;padding:10px 12px;line-height:1.55}
.edetail.open{display:block}
.edetail .dl{font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-top:8px}
.edetail .dl:first-child{margin-top:0}
.minis{margin:8px 0 4px 33px;display:flex;flex-direction:column;gap:7px}
.mini{display:flex;gap:9px;align-items:flex-start;text-align:left;border:1.5px solid var(--line);background:#fff;border-radius:var(--r-s);padding:9px 11px;transition:all .15s;position:relative}
.mini:hover{border-color:var(--teal);transform:translateX(2px)}
.mini .mtxt{min-width:0}
.mini .morg{font-size:10.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.mini .mnm{font-weight:600;font-size:13.5px;color:var(--navy);line-height:1.3}
.mini .mbits{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px;align-items:center}
.mini .go{margin-left:auto;flex:0 0 auto;color:var(--faint);font-size:12px;align-self:center;font-weight:700}
.mini:hover .go{color:var(--teal)}
.gapnote{margin:8px 0 6px 33px;font-size:12.5px;color:var(--faint);background:#f7f7f4;border:1px dashed var(--line2);border-radius:8px;padding:9px 12px}
.gapnote b{color:var(--muted)}
.lempty{font-size:13px;color:var(--faint);padding:14px 4px 10px}
.showmore{margin:2px 0 6px 33px;font-size:12px;font-weight:700;color:var(--teal);padding:4px 0}

/* ---------- how ---------- */
.how3{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-bottom:20px}
.hstep{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px 18px;box-shadow:var(--sh)}
.hstep .bignum{font-family:'Inter Tight';font-size:26px;font-weight:800;color:var(--teal);opacity:.35}
.hstep h4{font-size:15.5px;margin:4px 0 5px}
.hstep p{font-size:13px;color:var(--muted)}
.legend{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px 18px;box-shadow:var(--sh)}
.legend h4{font-size:14px;margin-bottom:10px}
.lrow{display:grid;grid-template-columns:170px 1fr;gap:12px;font-size:13px;padding:7px 0;border-top:1px dashed var(--line)}
.lrow b{color:var(--navy);font-size:13px}
.lrow span{color:var(--muted)}

/* ---------- orgs panel ---------- */
.orgpanel{background:var(--navy-panel);border-radius:18px;color:#e8eaf6;padding:34px 34px;display:grid;grid-template-columns:1.3fr 1fr;gap:30px;align-items:center;box-shadow:var(--sh-lg)}
.orgpanel h2{color:#fff;font-size:23px;margin:6px 0 10px}
.orgpanel .eyebrow{color:#aeb6e8}
.orgpanel p{color:#c3c9ec;font-size:14.5px;max-width:520px}
.orgpanel ul{margin:12px 0 0 2px;list-style:none;display:flex;flex-direction:column;gap:7px}
.orgpanel li{font-size:13.5px;color:#dde1f5;display:flex;gap:9px;align-items:baseline}
.orgpanel li::before{content:"→";color:#8f9be0;font-weight:700}
.orgcta{display:flex;flex-direction:column;gap:10px}
.abtn.gold{background:var(--gold);color:#241d0c}
.abtn.gold:hover{background:#f0ac45;text-decoration:none}
.abtn.ghost{border:1.5px solid rgba(255,255,255,.35);color:#fff}
.abtn.ghost:hover{border-color:#fff;text-decoration:none}
.orgcta details{font-size:12.5px;color:#b9c0e8}
.orgcta summary{cursor:pointer;font-weight:600;color:#dde1f5}
.orgcta details ol{margin:8px 0 0 18px;display:flex;flex-direction:column;gap:3px}

/* ---------- data section ---------- */
.srcgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}
.src{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px 18px;box-shadow:var(--sh)}
.src h4{font-size:14.5px;margin-bottom:6px}
.src p{font-size:12.8px;color:var(--muted)}
.src .nums{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.src .nums span{font-size:11.5px;font-weight:600;background:#f1f2ef;border-radius:6px;padding:3px 8px;color:var(--ink)}
.disclaim{margin-top:16px;font-size:13px;color:var(--muted);background:var(--card);border:1px dashed var(--line2);border-radius:var(--r-s);padding:13px 16px;max-width:880px}

/* ---------- footer ---------- */
footer{margin-top:46px;border-top:1px solid var(--line);padding:22px 0 34px;font-size:12.5px;color:var(--faint)}
/* Credit left, marks right, on one line — the credit wraps within its own column
   rather than pushing the logos onto a line of their own, which is what a long
   sentence did before. They stack only when there is genuinely no room. */
footer .wrap{display:flex;flex-wrap:wrap;gap:14px 28px;justify-content:space-between;align-items:center}
.footcredit{flex:1 1 440px;min-width:0}
.foot-logos{flex:0 0 auto}
/* partner marks. Heights differ so the two wordmarks match optically rather
   than numerically — IFI stacks three lines into the same visual weight. */
.foot-logos{display:flex;align-items:center;gap:22px}
.foot-logos a{display:inline-flex;text-decoration:none}
.foot-logos img{display:block;width:auto}
.foot-logos .fl-c4i{height:34px}
.foot-logos .fl-ifi{height:40px}
/* Both were supplied with transparent margins baked in — Omplexity's was 19px
   top and bottom of 80, so a shared height would have rendered its mark at half
   the size of the others. Trimmed to the ink, so height here means what it says,
   and set to match the partners optically: these two are single-line lockups
   next to C4i's two lines and IFI's three, so equal cap-height, not equal box. */
.foot-logos .fl-omp{height:20px}
.foot-logos .fl-myc{height:22px}

/* ---------- shortlist ---------- */
/* v3: the shortlist lives in the nav, not in a floating pill that covered card text
   and the story's own save button. It appears only once something is saved. */
.navsl{display:inline-flex;align-items:center;gap:7px;background:var(--navy);color:#fff;border-radius:999px;padding:6px 13px;font-weight:700;font-size:12.5px;white-space:nowrap;margin-left:6px;transition:background .15s}
.navsl:hover{background:#1a3349}
.navsl.hide{display:none}
@media(max-width:980px){.navsl .lbl{display:none}}
.navsl .cnt{background:var(--gold);color:#241d0c;border-radius:999px;min-width:19px;height:19px;display:grid;place-items:center;font-size:11px;padding:0 5px}
.drawer{position:fixed;right:20px;top:64px;z-index:70;width:min(360px,calc(100vw - 40px));max-height:min(480px,70vh);background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:var(--sh-lg);display:none;flex-direction:column;overflow:hidden}
.drawer.open{display:flex}
.dhead{display:flex;align-items:center;gap:10px;padding:13px 16px;border-bottom:1px solid var(--line)}
.dhead b{font-family:'Inter Tight';color:var(--navy)}
.dhead .x{margin-left:auto;color:var(--faint);font-size:16px;padding:2px 6px}
.dlist{overflow-y:auto;padding:8px 12px;display:flex;flex-direction:column;gap:8px}
.ditem{border:1px solid var(--line);border-radius:10px;padding:9px 11px;display:flex;gap:9px;align-items:flex-start}
.ditem .din{min-width:0;flex:1}
.ditem .dorg{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.ditem .dnm{font-size:13px;font-weight:600;color:var(--navy);line-height:1.3}
.ditem .dlinks{display:flex;gap:9px;margin-top:3px;font-size:11.5px;font-weight:600}
.ditem .rm{color:var(--faint);font-size:13px;padding:2px 4px}
.ditem .rm:hover{color:var(--red)}
.dfoot{padding:11px 14px;border-top:1px solid var(--line);display:flex;gap:8px}
.dfoot .abtn{flex:1;justify-content:center;font-size:12.5px;padding:8px 10px}
.dempty{padding:22px;text-align:center;color:var(--faint);font-size:13px}

/* ---------- misc ---------- */
.fadein{animation:fade .3s ease}
@keyframes fade{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.pillrow{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.srclink{font-size:11.5px;color:var(--faint)}
::selection{background:#cde8e4}

/* ---------- system map entry ---------- */
.maptop{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-end;gap:6px 18px;padding:13px 18px 2px}
.maptoplabel{font-size:12px;color:var(--faint);font-weight:600;margin-right:2px}
/* These are a way in for someone new to the map, not a call to act on it —
   so they read as links, in the same voice as the next-step links inside a
   brief, rather than as three buttons competing with the map itself. */
.portal{background:none;border:0;border-radius:0;padding:0;box-shadow:none;font-size:13px;font-weight:600;color:var(--teal-dk);white-space:nowrap;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;text-decoration-color:rgba(15,95,86,.35);transition:color .15s,text-decoration-color .15s}
/* The global .warr carries a margin and reduced opacity, and an ancestor's
   underline does not paint across it — which left the arrow reading as a
   separate mark. Inside a portal the arrow carries its own matching
   underline instead, so label and arrow are one link. */
.portal .warr{font-size:11px;margin-left:2px;opacity:1;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;text-decoration-color:rgba(15,95,86,.35);transition:text-decoration-color .15s}
.portal:hover .warr,.portal:focus-visible .warr{text-decoration-color:currentColor}
.portal:hover,.portal:focus-visible{color:var(--teal);text-decoration-color:currentColor}
.inlink{color:var(--teal);font-weight:600}
.mapcard{margin-top:18px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh);overflow:hidden}
.mapscroll{overflow-x:auto;background:#fdfdfc}
.mapwrap{position:relative;min-width:680px;max-width:1140px;margin:0 auto}
.mapwrap img{display:block;width:100%;height:auto;user-select:none;-webkit-user-drag:none}
.mdot{position:absolute;transform:translate(-50%,-50%);width:27px;height:27px;border-radius:8px;background:#3452a4;color:#fff;border:2.5px solid #fff;box-shadow:0 1px 5px rgba(20,35,80,.45);display:grid;place-items:center;font-family:'Inter Tight';font-weight:800;font-size:12px;cursor:pointer;transition:transform .15s,background .15s;z-index:3;padding:0}
.mdot:hover{transform:translate(-50%,-50%) scale(1.28);z-index:4}
.mdot.on{background:var(--gold);color:#241d0c;box-shadow:0 0 0 4px rgba(225,155,45,.30),0 1px 5px rgba(20,35,80,.45)}
.mdot.dim{opacity:.88}
.mdot .mtip,.xchip .mtip{position:absolute;bottom:calc(100% + 9px);left:50%;transform:translateX(-50%);width:max-content;max-width:320px;background:var(--tip-bg);color:var(--tip-body);font-family:'Inter';font-weight:500;font-size:11.5px;line-height:1.45;text-align:center;padding:9px 13px;border-radius:9px;white-space:normal;box-shadow:var(--tip-sh);opacity:0;pointer-events:none;transition:opacity .14s;z-index:6}
.mdot .mtip b,.xchip .mtip b{display:block;font-family:'Inter Tight';font-weight:700;font-size:13px;letter-spacing:.005em;margin-bottom:3px;color:var(--tip-title)}
.mdot .mtip .d,.xchip .mtip .d{display:block;color:var(--tip-body);font-weight:400}
/* Colours come from the --tip-* tokens, picked against the yellow box rather than
   the navy it used to sit on. The live count and the gap state stay different:
   "26 live" and "none yet" are opposite answers and should not read alike. */
.mdot .mtip em,.xchip .mtip em{font-style:normal;font-weight:600;color:var(--tip-live);white-space:nowrap}
.mdot .mtip em.none,.xchip .mtip em.none{color:var(--tip-gap)}
.mdot:hover .mtip,.mdot:focus-visible .mtip,.xchip:hover .mtip,.xchip:focus-visible .mtip{opacity:1}
.mapfoot{padding:13px 16px 14px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:9px}
.bhead .ponly{margin-top:0;align-self:flex-end}
.selrow{display:flex;flex-wrap:wrap;gap:7px;align-items:center;min-height:30px;padding:12px 16px;border-top:1px solid var(--line)}
.selrow .sl{font-size:12.5px;font-weight:700;color:var(--muted)}
.selchip{display:inline-flex;align-items:center;gap:7px;background:var(--gold-soft);border:1.5px solid var(--gold-line);color:var(--gold-dk);border-radius:999px;padding:4px 7px 4px 12px;font-size:12.5px;font-weight:700;cursor:pointer}
.selchip i{font-style:normal;font-size:12px;opacity:.75}
.selchip:hover i{opacity:1}
.gorail{margin-left:auto;background:var(--teal);color:#fff;border-radius:999px;padding:6px 15px;font-size:12.5px;font-weight:700}
.gorail:hover{background:var(--teal-dk)}
.xrow{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.xlabel{font-size:11.5px;color:var(--faint);font-weight:600}
.xchip{position:relative;border:1.5px dashed var(--line2);border-radius:999px;padding:3.5px 11px;font-size:12px;font-weight:600;color:var(--ink);background:#fff}
.xchip:hover{border-color:var(--teal)}
.xchip.on{background:var(--gold-soft);border:1.5px solid var(--gold-line);color:var(--gold-dk)}
.maplinks{font-size:12px;color:var(--faint)}
.swipehint{display:none;text-align:center;font-size:11.5px;color:var(--faint);padding:6px 0 2px;background:#fdfdfc}
@media(max-width:760px){.swipehint{display:block}}

/* ---------- modals (join form + org profile) ---------- */
.modal{position:fixed;inset:0;z-index:90;background:rgba(28,38,52,.45);display:none;align-items:flex-start;justify-content:center;padding:4vh 14px;overflow-y:auto}
.modal.open{display:flex}
.mpanel{background:var(--card);border-radius:16px;box-shadow:var(--sh-lg);width:min(640px,100%);max-height:92vh;display:flex;flex-direction:column;overflow:hidden}
.mhead{display:flex;align-items:center;gap:12px;padding:15px 20px;border-bottom:1px solid var(--line)}
.mhead b{font-family:'Inter Tight';font-size:16.5px;color:var(--navy)}
.mhead .x{margin-left:auto;color:var(--faint);font-size:17px;padding:2px 6px}
.msteps{font-size:12px;color:var(--faint);font-weight:600}
.mbody{padding:16px 20px;overflow-y:auto}
.mfoot{display:flex;gap:9px;align-items:center;padding:13px 20px;border-top:1px solid var(--line);flex-wrap:wrap}
.mfoot .spacer{flex:1}
.flabel{font-size:11.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin:14px 0 6px}
.flabel:first-child{margin-top:2px}
.flabel small{text-transform:none;letter-spacing:0;font-weight:500;color:var(--faint)}
.fin{width:100%;border:1.5px solid var(--line2);border-radius:9px;padding:9px 12px;font-family:inherit;font-size:14px;color:var(--ink);background:#fff}
.fin:focus{outline:none;border-color:var(--teal)}
textarea.fin{min-height:64px;resize:vertical}
.finrow{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.fchips{display:flex;flex-wrap:wrap;gap:6px}
.fchip{border:1.5px solid var(--line2);border-radius:999px;padding:4.5px 12px;font-size:12.5px;font-weight:600;color:var(--ink);background:#fff}
.fchip:hover{border-color:var(--teal)}
.fchip.on{background:var(--teal);border-color:var(--teal);color:#fff}
.fchip.code.on{background:var(--navy);border-color:var(--navy)}
.factsum{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.factpill{display:inline-flex;align-items:center;gap:7px;background:var(--teal-soft);border:1px solid var(--teal-line);color:var(--teal-dk);border-radius:999px;padding:4px 8px 4px 12px;font-size:12.5px;font-weight:700}
.factpill i{font-style:normal;cursor:pointer;opacity:.7}
.factpill i:hover{opacity:1}
.subpre{background:#f7f8f5;border:1px solid var(--line);border-radius:10px;padding:13px 15px;font-size:12.5px;line-height:1.55;white-space:pre-wrap;max-height:300px;overflow-y:auto;font-family:ui-monospace,'SF Mono',Menlo,monospace;color:var(--ink)}
.pendnote{display:flex;gap:9px;background:var(--gold-soft);border:1px solid var(--gold-line);border-radius:9px;padding:10px 13px;font-size:12.5px;color:var(--gold-dk);margin-top:12px}
.orgprof .fgrid{margin:12px 0 2px}
.oinits{margin-top:14px;display:flex;flex-direction:column;gap:7px}
.reqstar{color:var(--red)}
.fin.err{border-color:var(--red);background:#fdf6f4}
.orglink{font-weight:700;font-size:13px;color:var(--navy);border-bottom:1px dashed var(--line2);padding:0}
.orglink:hover{color:var(--teal);border-color:var(--teal)}

/* ---------- corpus round: needs filter, steps, badges ---------- */
.needrow{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:2px 0 14px}
/* v3: one row of dropdowns (need + role + stage) replaces the flat chip row
   and the "More filters" expander — controls on one line, values shown in place. */
.frow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0 14px}
.fdrop{position:relative}
.fdrop>summary{cursor:pointer;list-style:none;display:flex;align-items:baseline;gap:6px;background:#fff;border:1.5px solid var(--line2);border-radius:999px;padding:6px 14px;font-size:12.5px;transition:all .15s;user-select:none}
.fdrop>summary::-webkit-details-marker{display:none}
.fdrop>summary::after{content:"▾";font-size:10px;color:var(--muted);margin-left:1px}
.fdrop>summary:hover{border-color:var(--teal)}
.fdrop[open]>summary{border-color:var(--teal)}
.fdrop.set>summary{background:var(--teal);border-color:var(--teal)}
.fdl{color:var(--muted);font-weight:600}
.fdv{color:var(--navy);font-weight:700}
.fdrop.set .fdl{color:#cfe6e2}
.fdrop.set .fdv{color:#fff}
.fdrop.set>summary::after{color:#cfe6e2}
.fdpanel{position:absolute;z-index:30;top:calc(100% + 6px);left:0;min-width:270px;background:var(--card);border:1px solid var(--line2);border-radius:var(--r);box-shadow:var(--sh-lg);padding:12px;display:flex;flex-wrap:wrap;gap:6px}
.fdrop.wide .fdpanel{min-width:460px}
.fdnote{flex-basis:100%;font-size:11.5px;color:var(--faint);margin-bottom:2px}
.frow .ponly{margin-top:0;font-size:12.5px;font-weight:600}
/* the widening offer, shown where an over-narrow result set appears */
.widen{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px;align-items:center;font-size:12.5px;color:var(--muted);margin-bottom:2px}
.wbtn{border:1.5px dashed var(--line2);border-radius:999px;padding:4px 12px;font-size:12px;font-weight:600;color:var(--ink);background:#fff;transition:all .15s}
.wbtn:hover{border-style:solid;border-color:var(--teal);color:var(--teal-dk)}
.wbtn.all{border-style:solid;color:var(--muted)}
.needrow .sl{font-size:12px;font-weight:700;color:var(--muted);margin-right:2px}
.nchip{border:1.5px solid var(--line2);border-radius:999px;padding:4px 12px;font-size:12px;font-weight:600;color:var(--ink);background:#fff;transition:all .15s}
.nchip:hover{border-color:var(--teal)}
.nchip.on{background:var(--teal);border-color:var(--teal);color:#fff}
.nchip.clear{border-style:dashed;color:var(--muted)}
.chip.clear,.stcard.clear{border-style:dashed;color:var(--muted);font-weight:600}
.stcard.clear{text-align:center;padding:8px 12px;font-size:12.5px}
.mbadge.free{background:var(--green-soft);color:var(--green)}
/* this may lead to: the workbook's downstream claims, each carrying its own evidence confidence
   so a well-supported consequence and an unrated one are never read as the same promise */
.leads{list-style:none;margin:6px 0 2px;padding:0;display:flex;flex-direction:column;gap:5px;max-width:760px}
.lead{display:flex;align-items:center;gap:9px;min-width:0}
.lbadge{flex:none;display:inline-flex;align-items:center;gap:6px;min-width:104px;font-size:10.5px;font-weight:700;border-radius:999px;padding:3.5px 10px}
.lbadge::before{content:"";flex:none;width:5px;height:5px;border-radius:50%;background:currentColor}
.lbadge.ev{background:var(--green-soft);color:var(--green)}
.lbadge.ind{background:var(--gold-soft);color:var(--gold-dk)}
.lbadge.exp{background:#eceef4;color:#5a6478}
.lbadge.unr{background:#f1f2ef;color:var(--faint)}
.lead .tag{font-size:12.5px;min-width:0;background:#f1f2ef;color:var(--ink)}
.lead .tag.out-lt{color:#3d47a0}   /* long-term outcome: kept, but as ink not another fill */

/* ways in: a flat set of alternatives, so no numerals and no ranking — the wording is the link.
   This is the one part of the story the reader can act on, so it gets a surface of its own and
   the page's teal; everything above it states what is known and stays quieter than this. */
.wayscard{margin-top:16px;background:var(--teal-soft);border:1.5px solid var(--teal-line);border-radius:var(--r-s);padding:11px 14px;max-width:760px}
.wayscard .plabel{color:var(--teal-dk);margin:0 0 4px}
.wayins{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1px}
.wayin{font-size:13.5px;line-height:1.5}
.wlink{color:var(--teal-dk);font-weight:600;text-decoration:none}
.wayin>.wlink{display:flex;align-items:center;gap:8px;padding:5px 8px;margin:0 -8px;border-radius:7px;transition:background .15s}
.wayin>.wlink:hover{background:#fff;text-decoration:none}
.wayin>.wlink .warr{margin-left:auto}
.wlink.inl:hover{text-decoration:underline}
.wtxt{color:var(--ink);display:block;padding:5px 0}
.warr{font-size:11px;margin-left:5px;opacity:.7}
.outline{margin-top:10px;font-size:13px;font-style:italic;color:var(--gold-dk)}
.thinnote{margin:6px 0 4px 33px;font-size:11.5px;color:var(--faint);font-style:italic}

/* ---------- starting trio ---------- */
.trio{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:14px;align-items:stretch}
.tcard{position:relative;text-align:left;background:var(--card);border:1.5px solid var(--line);border-radius:var(--r);padding:14px 15px 12px;box-shadow:var(--sh);display:flex;flex-direction:column;gap:7px;transition:border-color .15s,transform .15s;cursor:pointer}
.tcard:hover{border-color:var(--teal);transform:translateY(-2px)}
.tcard.core{border-color:var(--gold-line);background:var(--gold-soft)}
.tcard.sel{border-color:var(--gold);box-shadow:0 0 0 3px rgba(225,155,45,.18),var(--sh-lg)}
.tkick{display:flex;align-items:center;gap:8px;font-size:10.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--teal-dk)}
.tcard.core .tkick{color:var(--gold-dk)}
.tkick .tnum{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--teal);color:#fff;font-size:10px}
.tcard.core .tkick .tnum{background:var(--gold);color:#241d0c}
.torg{font-size:10.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.tnm{font-family:'Inter Tight';font-weight:700;font-size:15.5px;color:var(--navy);line-height:1.25}
.twhy{font-size:12px;color:var(--muted);line-height:1.45;font-style:italic}
.twhy b{color:var(--teal-dk);font-style:normal}
.tbits{display:flex;flex-wrap:wrap;gap:5px;margin-top:auto;align-items:center}
.tswap{position:absolute;top:10px;right:10px;font-size:11.5px;font-weight:700;color:var(--muted);border:1px solid var(--line2);border-radius:999px;padding:3px 10px;background:#fff}
.tswap:hover{color:var(--teal);border-color:var(--teal)}
.tcard.empty{cursor:default;border-style:dashed;background:#fbfbf8;color:var(--faint);justify-content:center;text-align:center;font-size:12.5px}
.tcard.empty:hover{transform:none;border-color:var(--line2)}
.browsebox{margin-top:14px}
.browsebox summary{cursor:pointer;font-size:13.5px;font-weight:700;color:var(--teal);padding:4px 2px;user-select:none}

/* ---------- story-card context rows ---------- */
.ctxrow{margin-top:16px;border-top:1px dashed var(--line);padding-top:12px}
.sysctx{margin-top:16px;border-top:1px dashed var(--line);padding-top:12px}
.sysctx>.metatog{color:var(--muted)}
.ctxhead{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.ctxhead .plabel{margin:0}
.ctxhead .hint{font-size:11.5px;color:var(--faint)}
.ctxchips{display:flex;flex-wrap:wrap;gap:8px}
.ctxchip{text-align:left;border:1.5px solid var(--line);background:#fff;border-radius:11px;padding:8px 11px;max-width:270px;transition:all .15s;display:flex;flex-direction:column;gap:2px}
.ctxchip:hover{border-color:var(--teal);transform:translateY(-1px)}
.ctxchip .corg{font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.ctxchip .cnm{font-weight:600;font-size:13px;color:var(--navy);line-height:1.3}
.ctxchip .cwhy{font-size:11px;color:var(--muted);font-style:italic;line-height:1.4}
.ctxmore{align-self:center;font-size:12px;font-weight:700;color:var(--teal);border:1.5px dashed var(--line2);border-radius:11px;padding:8px 13px}
.ctxmore:hover{border-color:var(--teal)}
.ctxall{display:none;margin-top:10px}
.ctxall.open{display:block}
.ctxempty{font-size:12.5px;color:var(--faint);font-style:italic}
.abtn.savebtn{border:1.5px solid var(--gold-line);background:var(--gold-soft);color:var(--gold-dk)}
.abtn.savebtn:hover{border-color:var(--gold);text-decoration:none}
.abtn.savebtn.on{background:var(--gold);border-color:var(--gold);color:#241d0c}

/* ---------- password gate ---------- */
.gate{position:fixed;inset:0;z-index:300;background:var(--bg);display:flex;align-items:center;justify-content:center;padding:20px}
.gate[hidden]{display:none}
.gate::before{content:"";position:absolute;inset:0;background:var(--mapimg) center 42%/min(1000px,120%) no-repeat;opacity:.06;pointer-events:none}
.gatecard{position:relative;background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:var(--sh-lg);padding:34px 34px 26px;width:min(430px,100%);text-align:center}
.gatecard h2{font-size:22px;font-weight:800;margin:16px 0 8px}
.gatecard p{font-size:13.5px;color:var(--muted);margin-bottom:18px}
#gateform{display:flex;gap:8px}
#gatepw{flex:1;border:1.5px solid var(--line2);border-radius:10px;padding:10px 14px;font-family:inherit;font-size:15px;letter-spacing:.08em}
#gatepw:focus{outline:none;border-color:var(--gold)}
.gate .abtn.pri{background:var(--gold);color:#241d0c;font-weight:800}
.gate .abtn.pri:hover{background:#f0ac45}
.gateerr{min-height:20px;font-size:12.5px;color:var(--red);font-weight:600;margin-top:9px}
.gatenote{font-size:11.5px;color:var(--faint);border-top:1px dashed var(--line);padding-top:12px;margin-top:8px}
.gatecard.shake{animation:gshake .4s}
@keyframes gshake{0%,100%{transform:translateX(0)}25%{transform:translateX(-7px)}50%{transform:translateX(6px)}75%{transform:translateX(-4px)}}
body.gated{overflow:hidden}
.listpick{margin-top:14px}
/* The list leads now and opens by default; the map is the alternative behind a
   toggle. Both carry the same chevron as the other disclosures on the page. */
.listpick>summary{list-style:none}
.listpick>summary::-webkit-details-marker{display:none}
.listpick>summary .chev,.mapbox>summary .chev{display:inline-block;font-size:12px;transition:transform .15s}
.listpick[open]>summary .chev,.mapbox[open]>summary .chev{transform:rotate(180deg)}
/* The map toggle sits inside the card, under the orientation links and above the
   selected row — both of those stay visible whether the map is open or shut. */
/* The toggle shares the orientation row: toggle left, "New to the map?" and the
   three links right. The summary is that whole strip, so the links sit inside it
   and a click on one is stopped from toggling the map in app.js. */
.mapbox>summary{cursor:pointer;list-style:none;user-select:none}
.mapbox>summary::-webkit-details-marker{display:none}
.mapbox>summary .mapsum{font-size:13.5px;font-weight:700;color:var(--teal);display:inline-flex;
  align-items:center;gap:7px;white-space:nowrap}
.mapbox>summary:hover .mapsum{color:var(--teal-dk)}
.mapbox>summary .mapspacer{flex:1 1 auto}
.mapbox>summary:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}
/* an empty selected row is a gap in the card, so it loses its border and padding */
.selrow.quiet{border-top:0;padding-top:4px;padding-bottom:12px;min-height:0}
.listpick summary,.legendbox summary{cursor:pointer;font-size:13.5px;font-weight:700;color:var(--teal);padding:4px 2px;user-select:none}
.legendbox summary{color:var(--navy)}

/* ---------- v2: staged reveal ---------- */
#layer2,#focus-sec{display:none}
body.st2 #layer2{display:block;animation:fade .35s ease}
body.st3 #focus-sec{display:block;animation:fade .35s ease}
.nav .navreveal{display:none}
body.st2 .nav .navreveal{display:inline-block}
body:not(.st2) .mdot{animation:dotpulse 3.2s ease-in-out infinite}
body:not(.st2) .mdot:hover{animation:none}
@keyframes dotpulse{0%,100%{box-shadow:0 1px 5px rgba(20,35,80,.45)}50%{box-shadow:0 0 0 7px rgba(52,82,164,.16),0 1px 5px rgba(20,35,80,.45)}}
.stepline{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:stretch;font-size:15px}
.stepline .stp{flex:0 1 210px;display:inline-flex;align-items:center;gap:12px;min-height:78px;padding:14px 18px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh);font-weight:700;line-height:1.25;color:var(--muted);transition:color .3s,border-color .3s}
.stepline .stp i{flex:none;font-style:normal;display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#c6ccd1;color:#fff;font-size:13px;font-weight:700;font-family:'Inter Tight';transition:background .3s}
.stepline .stp[data-s="1"]{color:var(--ink)}
.stepline .stp[data-s="1"] i{background:var(--teal)}
body.st2 .stepline .stp[data-s="2"]{color:var(--ink)}
body.st2 .stepline .stp[data-s="2"] i{background:var(--teal)}
body.st3 .stepline .stp[data-s="3"]{color:var(--ink)}
body.st3 .stepline .stp[data-s="3"] i{background:var(--teal)}
.stepline .sarr{align-self:center;color:var(--faint);font-weight:700}

/* ---------- pinned progress rail ---------- */
/* Sits in the gutter beside the 1180px column: left is measured from the column's
   own edge, so it never lands on the text. It stays three circles wide and never
   expands — a widening panel covered the cards it is meant to help you get back to,
   and the longest label did not fit anyway. The names come from the page's own
   hover tooltip instead, through data-tip-title, like every other hover here.
   Below 1280px there is no gutter to sit in, so it is hidden and the strip at the
   top of the page remains the only one — desktop-first, as decisions/002 has it. */
.steprail{position:fixed;top:50%;transform:translateY(-50%);left:max(10px, calc(50% - 652px));
  z-index:55;display:none;flex-direction:column;gap:8px;padding:9px;border-radius:14px;
  background:rgba(255,255,255,.92);border:1px solid var(--line);box-shadow:var(--sh);
  backdrop-filter:saturate(1.2) blur(6px);opacity:0;pointer-events:none;transition:opacity .18s}
.steprail.on{opacity:1;pointer-events:auto}
.srstep{display:grid;place-items:center;width:34px;height:34px;border:0;background:none;padding:0;
  border-radius:50%;cursor:pointer;transition:background .16s}
.srstep i{font-style:normal;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;
  background:#c6ccd1;color:#fff;font-family:'Inter Tight';font-size:13px;font-weight:800;
  transition:background .16s,box-shadow .16s}
/* reachable: step 1 always, 2 and 3 once the page says so */
.srstep[data-s="1"] i,body.st2 .srstep[data-s="2"] i,body.st3 .srstep[data-s="3"] i{background:var(--teal)}
.srstep:disabled{cursor:default}
.srstep:not(:disabled):hover{background:var(--teal-soft)}
.srstep:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
/* the section you are actually in */
.srstep.cur i{box-shadow:0 0 0 3px rgba(23,123,112,.28)}
@media (max-width:1280px){.steprail{display:none !important}}
@media (min-width:1281px){.steprail{display:flex}}
@media print{.steprail{display:none !important}}
.morefilters{margin:0 0 12px}
.morefilters summary{cursor:pointer;font-size:13px;font-weight:700;color:var(--muted);padding:4px 2px;user-select:none}
.morefilters summary:hover{color:var(--teal)}
.morefilters .fbody{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh);padding:4px 18px 16px;margin-top:8px}
.morefilters .chips,.morefilters .stgrid{margin-top:2px}
.trionote{font-size:12.5px;color:var(--muted);margin:8px 2px 0;max-width:700px}
.cardgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:12px;padding:8px 0 14px}
.cardgrid .rcard{flex:none;width:auto}
.cardgrid .railempty{grid-column:1/-1}
.browsebox{margin:0 0 14px}
.dfoot{flex-wrap:wrap}
.dfoot .abtn.pri{flex-basis:100%}

/* ---------- v2: shortlist → PDF via the browser's print-to-PDF ---------- */
#printdoc{display:none;font-size:12px;color:#33424f;line-height:1.5;-webkit-print-color-adjust:exact;print-color-adjust:exact}
@page{margin:14mm}
@media print{
  body>*{display:none!important}
  body>#printdoc{display:block!important}
  body{background:#fff}
  body.gated{overflow:visible}
}
.pd-head{border-bottom:2.5px solid #22405c;padding-bottom:10px;margin-bottom:14px}
.pd-eyebrow{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#177b70}
.pd-head h1{font-size:26px;color:#22405c;margin:2px 0 4px;font-family:'Inter Tight','Inter',sans-serif;letter-spacing:-.015em}
.pd-meta{font-size:11px;color:#75818c}
.pd-recap{margin:8px 0 0;font-size:11.5px;color:#0f5f56;background:#f2f8f7;border-left:2.5px solid #177b70;padding:5px 10px}
.pd-areas{margin:10px 0 0;display:flex;flex-wrap:wrap;gap:5px}
.pd-chip{border:1px solid #d8d7cf;border-radius:999px;padding:2px 9px;font-size:10px;font-weight:600;color:#33424f}
.pd-item{border:1px solid #d8d7cf;border-radius:10px;padding:12px 14px;margin-top:10px;page-break-inside:avoid;break-inside:avoid}
.pd-org{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#75818c}
.pd-nm{font-size:15.5px;font-weight:700;color:#22405c;margin:1px 0 3px;font-family:'Inter Tight','Inter',sans-serif}
.pd-ov{margin:0 0 7px}
.pd-start{margin:0 0 7px;padding:5px 10px;border-left:3px solid #177b70;background:#f2f8f7}
.pd-start b{color:#0f5f56;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.pd-facts{font-size:11px;color:#75818c}
.pd-facts b{color:#33424f;font-weight:600}
.pd-out{font-style:italic;color:#a86e14;font-size:11px;margin-top:4px}
.pd-links{font-size:11px;color:#177b70;word-break:break-all;margin-top:4px}
.pd-foot{margin-top:14px;border-top:1px solid #d8d7cf;padding-top:8px;font-size:10px;color:#9aa4ad}
@media(max-width:1000px){
  .fsplit{grid-template-columns:1fr;gap:18px}
  .frail{position:static;flex-direction:row;flex-wrap:wrap}
  .frail>*{flex:1 1 260px}
}
@media(max-width:900px){
  .trio{grid-template-columns:1fr}
  .orgpanel{grid-template-columns:1fr;padding:26px 22px}
  .fgrid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  body{font-size:14.5px}
  /* .hero padding is set once, above; this duplicate used to silently win */
  .rcard{flex-basis:225px}
  .fgrid{grid-template-columns:1fr}
  .nav a{padding:7px 8px}
  .lrow{grid-template-columns:1fr;gap:2px}
  .lbadge{min-width:0}   /* narrow column: give the width back to the claim itself */
}

/* ============================================================
   Steps 2 and 3, integrated: a strip of options with the brief
   for whichever one is open sitting directly underneath it.
   ============================================================ */
.l2guide{margin-top:6px;color:var(--muted);font-size:14px;line-height:1.6}
.l2guide b{color:var(--ink)}

.sugtitle{font-family:'Inter Tight';font-size:20px;font-weight:800;color:var(--teal);margin:22px 0 10px}
.sugtitle.indirect{margin-top:30px}
/* Watch-out. The pair in tension and the reader's own link to it are the point; the
   mechanism behind it is long and stays closed until asked for. The button's label
   comes from CSS so the existing data-metatog handler, which only toggles a class,
   can change it without a re-render. */
.worel{margin-top:4px}
.wofoot{display:inline-block;margin-top:4px}
.womech{display:none;margin-top:6px;padding-top:6px;border-top:1px dashed rgba(150,90,80,.35)}
.womech.open{display:block}
.womore{border:0;background:none;padding:0;font:inherit;font-size:12px;font-weight:700;
  color:var(--teal-dk,#2a6b5f);cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.womore::after{content:'see explanation'}
.womore.open::after{content:'hide explanation'}
.womore:focus-visible{outline:2px solid var(--teal);outline-offset:2px}

/* the mint bed that holds a strip and its brief */
.sugpanel{background:var(--teal-bed,#dcebe4);border-radius:16px;padding:14px 14px 16px}

/* the strip itself */
.scroller{display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;padding:4px 2px 12px;scroll-snap-type:x proximity;scrollbar-width:auto}
.scroller::-webkit-scrollbar{height:10px}
.scroller::-webkit-scrollbar-track{background:transparent}
.scroller::-webkit-scrollbar-thumb{background:#b6c6bd;border-radius:99px}
.scroller.empty{display:block;padding-bottom:4px}

.scard{flex:0 0 264px;scroll-snap-align:start;display:flex;flex-direction:column;gap:6px;
  background:#fff;border:1.5px solid transparent;border-radius:12px;padding:14px 16px 16px;
  text-align:left;cursor:pointer;box-shadow:var(--sh);transition:border-color .15s,background .15s,transform .12s}
.scard:hover{transform:translateY(-1px);border-color:var(--line2)}
.scard.on{background:#fdf6dc;border-color:var(--gold)}
.scardtop{display:flex;align-items:center;gap:7px}
.scard .org{flex:1;font-size:12.5px;color:var(--faint);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scard .nm{font-family:'Inter Tight';font-size:17px;font-weight:700;color:var(--navy);line-height:1.25}
.scard .desc{font-size:12.5px;color:var(--faint);line-height:1.45}
.scard .starb{color:#c9ccc7;font-size:15px;line-height:1}
.scard .starb.on{color:var(--gold)}
.cdot{width:9px;height:9px;border-radius:50%;flex:0 0 auto;background:var(--muted)}
.cdot.ev{background:var(--green,#2f8f6b)}
.cdot.ind{background:var(--gold,#e19b2d)}
.cdot.exp{background:#d1524a}
.cdot.unr{background:#b9bdb8}

/* the step-3 tab and the brief under the strip */
.focuswrap{margin-top:2px}
.tabrow{display:flex;align-items:center;gap:14px;padding-left:18px}
.steptab{display:inline-flex;align-items:center;gap:8px;background:var(--teal);color:#fff;
  border-radius:10px 10px 0 0;padding:7px 16px 6px;font-size:11.5px;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase}
.steptab i{font-style:normal;display:inline-grid;place-items:center;width:18px;height:18px;
  border-radius:50%;background:#fff;color:var(--teal);font-size:11px;font-family:'Inter Tight'}
.tabnote{font-size:14px;color:var(--muted)}

.brief{background:#fff;border:2px solid var(--teal);border-radius:14px;padding:22px 24px 24px;margin:0 4px}
.bhead2{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.borg{font-size:13px;color:var(--faint);font-weight:600}
.borg .orglink{font:inherit;color:var(--faint);background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.borg .orglink:hover{color:var(--teal)}
.brief h3{font-family:'Inter Tight';font-size:30px;font-weight:800;color:var(--navy);margin:6px 0 16px;line-height:1.15}
.bsplit{display:grid;grid-template-columns:minmax(0,1fr) 232px;gap:26px;align-items:start}
.bmain .chg{font-size:16px;line-height:1.55;color:var(--ink);margin-bottom:16px}
.bmain .plabel{margin-top:16px}
.ways{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.wrow{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:start}
.wverb{display:grid;place-items:center;border:1.5px solid var(--line2);border-radius:8px;
  padding:9px 6px;font-size:12.5px;font-weight:700;letter-spacing:.06em;color:var(--teal);background:#fff}
.wtxt{font-size:14px;line-height:1.5;color:var(--ink);padding-top:6px}
.refblock{margin-top:18px;border-top:1px solid var(--line);padding-top:12px}
.refs{font-size:13.5px;line-height:1.5}
.refs .wlink{font-weight:600}
.refplain{color:var(--muted);font-size:13.5px}
.reftrace{margin-top:5px;font-size:11.5px;color:var(--faint)}

.brail{display:flex;flex-direction:column;gap:8px}
.brail .abtn{width:100%;justify-content:center;text-align:center}
.brail .tog{background:#fff;border:1.5px solid var(--line2);color:var(--muted);
  font-size:11.5px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.brail .tog:hover{border-color:var(--teal);color:var(--teal)}
.brail .tog.open .chev{transform:rotate(180deg)}
.brail .chev{display:inline-block;transition:transform .15s}
.brail .togbox{display:none;padding:2px 0 6px}
.brail .togbox.open{display:block}
.brail .mrow{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px;align-items:start;margin-bottom:7px}
.brail .mrow dt{font-size:10.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--faint);padding-top:4px}
.brail .mrow dd{margin:0;display:flex;flex-wrap:wrap;gap:4px;justify-content:flex-end}
/* Intervening area has no dt column, so its tags get the full rail width and
   would sit left while every tag above them sits right. Align and gap them
   like the .mrow rows so the two boxes read as one column, not two. */
.brail .tagline{gap:4px;justify-content:flex-end}

.focusempty.small{padding:16px 18px;font-size:13.5px}

/* the two indirect beds, side by side */
.indirectgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
.icolhead{font-family:'Inter Tight';font-size:19px;font-weight:800;color:var(--teal);
  text-transform:uppercase;letter-spacing:.02em;margin-bottom:4px}
.icolsub{color:var(--muted);font-size:14px;margin-bottom:10px}
.indirectgrid .scard{flex-basis:224px}
.indirectgrid .brief h3{font-size:25px}
.indirectgrid .bsplit{grid-template-columns:minmax(0,1fr);gap:16px}
.indirectgrid .brail{border-top:1px solid var(--line);padding-top:14px}

@media (max-width:1000px){
  .indirectgrid{grid-template-columns:minmax(0,1fr)}
  .bsplit{grid-template-columns:minmax(0,1fr)}
  .brail{border-top:1px solid var(--line);padding-top:14px}
}
.capnote{flex:0 0 auto;align-self:center;max-width:170px;font-size:11.5px;line-height:1.4;color:var(--muted);padding:0 6px}

/* ── step 2 gathered by the same rule as step 1 ───────────────────── */
.s2band{position:relative;padding-left:26px}
.s2band::before{content:"";position:absolute;left:0;top:26px;bottom:14px;width:4px;
  border-radius:2px;background:var(--teal);opacity:.85}
@media (max-width:760px){.s2band{padding-left:14px}.s2band::before{width:3px}}

/* what is doing the narrowing, as chips you can take off */
.pickchips{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:-2px 0 12px}
.pcl{font-size:12.5px;color:var(--faint);font-weight:600;margin-right:2px}
.pchip{display:inline-flex;align-items:center;gap:7px;background:var(--gold-soft);
  color:var(--gold-dk);border:1px solid var(--gold-line);border-radius:999px;
  padding:4px 10px 4px 12px;font-size:12.5px;font-weight:600;cursor:pointer}
.pchip:hover{border-color:var(--gold)}
.pchip i{font-style:normal;opacity:.75;font-size:12px}
.pchip.clearall{background:#fff;border-color:var(--line2);color:var(--muted)}
.pchip.clearall:hover{border-color:var(--teal);color:var(--teal)}
.pickchips .thinnote{margin:0 0 0 4px}

/* the confidence light takes its colour from the badge it stands for,
   and no longer sits under the star */
.scard .starb{position:static;flex:0 0 auto}
.cdot.ev{background:var(--green)}
.cdot.ind{background:var(--gold-dk)}
.cdot.exp{background:#5a6478}
.cdot.unr{background:var(--faint)}

/* a dot high on the map has no room above it for its tooltip */
.mdot.tipdown .mtip{bottom:auto;top:calc(100% + 9px)}

/* the standfirst keeps its two lines: the link is one word too many for 640px */
.s1band .sub{max-width:900px}
.inlink{white-space:nowrap}

/* the organizations block, simplified */
.orgpanel.simple{grid-template-columns:1.25fr .9fr;align-items:center;gap:34px}
.orgpanel.simple h2{margin:0 0 10px}
.orgnote{font-size:12px;line-height:1.55;color:#b9c0e8;font-style:italic}
.orgcta .abtn.gold[disabled]{opacity:1;cursor:not-allowed}
@media (max-width:760px){.orgpanel.simple{grid-template-columns:1fr}}

/* About the data, closed until asked for */
.databox>summary{cursor:pointer;list-style:none;display:block;user-select:none}
.databox>summary::-webkit-details-marker{display:none}
.databox>summary h2{display:flex;align-items:center;gap:10px}
.databox>summary .chev{font-size:15px;color:var(--teal);transition:transform .15s}
.databox[open]>summary .chev{transform:rotate(180deg)}
.databody{padding-top:14px}

/* The two background notes under "I'm interested in…". Same <details> idiom and
   teal chevron as .databox, at the smaller size the standfirst around them uses.
   Closed by default: a reader who already knows the map should not have to scroll
   past it to reach the map itself. */
.aboutrow{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:10px}
.aboutbox{flex:1 1 300px;min-width:0}
.aboutbox>summary{cursor:pointer;list-style:none;user-select:none;display:inline-flex;
  align-items:center;gap:6px;font-weight:700;font-size:13px;color:var(--teal);
  text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.aboutbox>summary::-webkit-details-marker{display:none}
.aboutbox>summary:hover{color:var(--teal-dk)}
.aboutbox>summary:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:4px}
.aboutbox>summary .chev{font-size:12px;transition:transform .15s}
.aboutbox[open]>summary .chev{transform:rotate(180deg)}
.aboutbox>p{margin:8px 0 0;font-size:13.5px;line-height:1.55;color:var(--muted);max-width:62ch}


/* The floating copy that follows the cursor. Same box as the map tooltip;
   the in-markup .mtip on a filter option is only a content carrier now. */
.cursortip{position:fixed;left:0;top:0;z-index:9999;width:max-content;max-width:320px;
  background:var(--tip-bg);color:var(--tip-body);font-family:'Inter';font-weight:500;font-size:11.5px;
  line-height:1.45;text-align:center;padding:9px 13px;border-radius:9px;white-space:normal;
  box-shadow:var(--tip-sh);opacity:0;pointer-events:none;transition:opacity .12s}
.cursortip.on{opacity:1}
.cursortip b{display:block;font-family:'Inter Tight';font-weight:700;font-size:13px;
  letter-spacing:.005em;margin-bottom:3px;color:var(--tip-title)}
.cursortip .d{display:block;color:var(--tip-body);font-weight:400}
.cursortip .sm{display:block;margin-top:5px;color:var(--tip-small);font-size:10.5px;line-height:1.4}
/* the floating copy carries the same accent as the in-markup tooltip above */
.cursortip em{font-style:normal;font-weight:600;color:var(--tip-live);white-space:nowrap}
.cursortip em.none{color:var(--tip-gap)}

/* One tooltip box for the filter options, following the cursor. Same box as the
   map's — yellow, same type sizes, from the --tip-* tokens — so a reader meets
   one tooltip on this page, not three. It carries no live count: a count belongs
   to an intervention, not to a role, an approach or a need. */
.floattip{position:fixed;z-index:200;max-width:320px;background:var(--tip-bg);color:var(--tip-body);
  font-family:'Inter';font-weight:500;font-size:11.5px;line-height:1.45;text-align:left;
  padding:9px 13px;border-radius:9px;box-shadow:var(--tip-sh);pointer-events:none}
.floattip[hidden]{display:none}
.floattip b{display:block;font-family:'Inter Tight';font-weight:700;font-size:13px;
  letter-spacing:.005em;margin-bottom:3px;color:var(--tip-title)}
.floattip .d{display:block;color:var(--tip-body);font-weight:400}
.floattip .sm{display:block;margin-top:5px;color:var(--tip-small);font-size:10.5px;line-height:1.4}
.nchip.untagged{opacity:.6;border-style:dashed}

/* Search sits on the Direct Suggestions line: the strip below it is what it
   narrows, so it belongs to that heading rather than to the filters in step 1. */
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);
  clip-path:inset(50%);white-space:nowrap}
.sugrow{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  margin:22px 0 10px}
.sugrow .sugtitle{margin:0}
.railsearch{position:relative;flex:1 1 320px;max-width:460px}
.railsearch input{width:100%;background:#fff;border:1.5px solid var(--line2);border-radius:999px;
  padding:8px 34px 8px 16px;font-size:13px;color:var(--ink);transition:border-color .15s}
.railsearch input::placeholder{color:var(--faint)}
.railsearch input:hover{border-color:var(--line2)}
.railsearch input:focus{outline:none;border-color:var(--teal)}
.railqx{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:none;
  cursor:pointer;color:var(--faint);font-size:13px;padding:4px 7px;border-radius:50%;line-height:1}
.railqx:hover{color:var(--teal)}
@media (max-width:760px){.railsearch{max-width:none;flex-basis:100%}}
.abtn.gold.off{opacity:.55;cursor:not-allowed;pointer-events:none}

/* An action is something a reader does alone — no organization behind it. It is
   still an option among options, so the difference is a tint and a rule at the
   edge rather than a badge: enough to sort the two apart at a glance, not
   enough to rank one above the other. The mark survives selection, because the
   selected state is already carrying the gold. */
.scard.action{background:#f7f8fa;box-shadow:inset 3px 0 0 var(--slate-mark,#9aa7b8),var(--sh)}
.scard.action.on{background:#fdf6dc;box-shadow:inset 3px 0 0 var(--slate-mark,#9aa7b8),var(--sh)}
.scard.action .org{font-style:italic}
.brief.action{box-shadow:inset 4px 0 0 var(--slate-mark,#9aa7b8)}
.selflabel{font-style:italic;color:var(--muted);font-weight:600}

/* A tag on a brief is also the way into filtering by it. Selected takes the
   same teal the filter panels use, so "this is in my filter" reads the same
   wherever a reader meets it. */
.tag.pick{border:1px solid transparent;cursor:pointer;font:inherit;font-size:inherit;
  font-weight:600;line-height:inherit;transition:background .12s,border-color .12s,color .12s}
/* .tag.pick takes font:inherit because a button does not inherit one, which
   also drops .tag's own font-size. Both places that hold pick tags on a brief
   put it back: the Fitting roles rows (.mrow) and Intervening area (.tagline).
   Listing them together so a third container cannot quietly miss out again. */
.mrow .tag.pick,
.tagline .tag.pick{font-size:11px;padding:2px 8px}
.tag.pick:hover{border-color:var(--teal-line);background:#eef0ee}
.tag.pick:hover::after{content:" +";color:var(--teal);font-weight:700}
.tag.pick.on{background:var(--teal-soft);color:var(--teal-dk);border-color:var(--teal-line)}
.tag.pick.on::after{content:" ✓";opacity:.75}
.tag.pick.on:hover::after{content:" ✓";color:inherit;font-weight:600}
.tag.pick:focus-visible{outline:2px solid var(--teal);outline-offset:1px}


/* ---------- browse the index ---------- */
/* Taller and a little wider than the organization profile, because this one is a
   list you scan rather than a card you read: the list scrolls inside a fixed
   panel so the search box and tabs stay put while you page through 317 rows. */
.bpanel{width:min(760px,100%);height:min(86vh,860px);max-height:86vh}
.bctrl{padding:14px 20px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:12px}
.bsearch{width:100%;padding:10px 13px;border:1px solid var(--line2);border-radius:10px;
  font:inherit;font-size:14px;color:var(--ink);background:#fff}
.bsearch:focus{outline:2px solid var(--teal);outline-offset:1px;border-color:var(--teal)}
.btabs{display:flex;gap:4px}
.btab{border:0;background:none;padding:8px 2px 10px;margin-right:18px;font:inherit;font-size:13.5px;
  font-weight:700;color:var(--faint);cursor:pointer;border-bottom:2.5px solid transparent;
  display:inline-flex;align-items:center;gap:7px}
.btab i{font-style:normal;font-size:11.5px;font-weight:700;color:var(--faint);
  background:#eef0ee;border-radius:999px;padding:1px 7px}
.btab.on{color:var(--teal-dk);border-bottom-color:var(--teal)}
.btab.on i{background:var(--teal-soft);color:var(--teal-dk)}
.btab:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.blist{flex:1 1 auto;overflow-y:auto;padding:10px 14px 18px}
.brow{display:flex;align-items:baseline;gap:14px;width:100%;text-align:left;border:0;background:none;
  padding:10px 8px;border-radius:9px;cursor:pointer;font:inherit;border-bottom:1px solid var(--line)}
/* a row inside one organization carries two actions, so the row is the container
   and the name itself is the button; the website mark sits outside it */
.brow2{display:flex;align-items:center;gap:6px;padding:0;cursor:default}
.bopen{flex:1 1 auto;min-width:0;display:flex;align-items:baseline;gap:14px;border:0;background:none;
  text-align:left;padding:10px 8px;border-radius:9px;cursor:pointer;font:inherit}
.bopen:hover{background:var(--teal-soft)}
.bopen:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}
.brow2:hover{background:transparent}
.bweb{flex:0 0 auto;display:inline-flex;align-items:center;gap:2px;padding:7px 9px;border-radius:9px;
  color:var(--teal);text-decoration:none;line-height:1}
.bweb:hover{background:var(--teal-soft);color:var(--teal-dk)}
.bweb:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}
.bweb .warr{font-size:11px}
.bweb.off{color:var(--line2);cursor:default}
.bweb.off:hover{background:none;color:var(--line2)}
.gicon{display:block}
.blink .gicon{display:inline-block;vertical-align:-2px;margin-right:3px}
.brow:last-child{border-bottom:0}
.brow:hover:not(:disabled){background:var(--teal-soft)}
.brow:disabled{cursor:default}
.brow:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}
.brow .bn{flex:1 1 auto;min-width:0;font-size:14px;font-weight:600;color:var(--navy);line-height:1.35}
.brow .bmeta{flex:0 0 auto;font-size:12.5px;color:var(--muted);white-space:nowrap}
.brow:hover:not(:disabled) .bmeta{color:var(--teal-dk)}
.bback{border:0;background:none;padding:4px 2px 10px;font:inherit;font-size:13px;font-weight:700;
  color:var(--teal);cursor:pointer}
.bback:hover{color:var(--teal-dk)}
.borghead{font-family:'Inter Tight';font-size:16px;font-weight:800;color:var(--navy);
  display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.blink{font-family:'Inter';font-size:12.5px;font-weight:600;color:var(--teal)}
.bcount{font-size:12.5px;color:var(--muted);margin:3px 0 8px}
.bempty{padding:26px 8px;font-size:13.5px;color:var(--muted)}
@media (max-width:640px){.bpanel{height:88vh}.brow{flex-wrap:wrap;gap:2px}.brow .bmeta{flex:1 1 100%}}