
:root{--font-ui:"Atkinson Hyperlegible Next","Helvetica Neue",Arial,sans-serif;--ink:#092c46;--muted:#53636a;--paper:#f8f8f2}body{background:#f8f8f2!important;font-family:var(--font-ui)!important}.reference-header{border-bottom:1px solid #cbd0cb}.reference-hero h1{font-weight:650;letter-spacing:-.065em;font-size:clamp(40px,5.5vw,78px)}.page-tabs [aria-current]{box-shadow:0 2px 0 #c70043}.eyebrow{color:#a92b46}.reference-brand span{letter-spacing:0}.reference-header,.reference-page main,.reference-page footer{max-width:1600px}.reference-hero{margin:45px 0 55px}.directory h2{font-size:22px;letter-spacing:-.035em}.directory{gap:55px 60px}.reference-search input{background:transparent}.scan-row dt,.scan-row .agency-name{font-size:18px}.source-row h3{font-size:17px}.map-page header{background:#f8f8f2;border-bottom:1px solid #cbd0cb}.map-page .workspace,.map-page #canvas{background:#f8f8f2}.map-page .detail,.map-page #connection-caption{background:#f8f8f2}.map-page .brand-name{font-size:20px}.map-page .header-actions button{border-radius:0;box-shadow:none}.map-page #graph text{font-family:var(--font-ui)}
/* Reveal relationships intentionally; hidden edges cannot intercept pointer input. */
#graph .edge.quiet{opacity:0;pointer-events:none}#graph .edge.selected{opacity:.85;pointer-events:stroke}#graph .edge.preview-edge{opacity:.7;pointer-events:stroke;stroke-width:2}#graph .node.preview-node .node-label{opacity:1}#graph .edge:focus-visible{opacity:1;pointer-events:stroke}.mapping-focus #graph .edge.quiet{opacity:0}.map-page .graph-search-cue{font-size:13px}.map-page .entry-search{box-shadow:none;border-radius:0;border:0;border-bottom:1px solid #718894;background:transparent}.map-page .entry-search button{border-radius:0;background:#092c46;color:white}
@media(max-width:650px){.reference-hero h1{font-size:42px}.directory{gap:35px}.reference-brand span{font-size:10px}}

.mapping-focus #graph .node:not(.context-muted) .node-label{opacity:1}

/* Resident's guide: Authority, Access, Accountability (v2) */
#graph .edge.chain{opacity:.95;stroke:#c70043;stroke-width:2.4;pointer-events:stroke}
#graph .node.chain-node .node-shape{stroke:#c70043;stroke-width:2.5}
.mapping-focus #graph .node.chain-node .node-label{opacity:1}
#graph .people.chain-end circle{stroke:#c70043!important;stroke-width:3}
.resident-guide{margin:18px 0 8px;border-top:2px solid #003563;padding-top:4px}
.resident-guide>h3{margin:12px 0 10px}
.guide-row{border:1.5px solid rgba(0,53,99,.18);border-radius:12px;padding:12px 14px;margin:0 0 10px;background:#fff}
.guide-row h4{margin:0 0 6px;display:flex;flex-direction:column;gap:2px;font-size:16px;line-height:1.25;color:#003563}
.guide-row h4 small{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#53636a;font-weight:500}
.guide-row p{margin:0 0 8px;font-size:15px;line-height:1.45}
.guide-row.is-gap{background:transparent;border-style:dashed}
.guide-gap{color:#53636a;font-size:14px!important}
.guide-link{display:inline-block;margin:0 12px 6px 0;font-weight:600;color:#003563;text-decoration:underline;text-decoration-color:#c70043;text-underline-offset:3px}
.guide-sources,.guide-note{font-size:12px!important;color:#53636a;margin:4px 0 0!important}
.guide-sources a{color:#53636a}
.chain-steps{list-style:none;margin:0 0 6px;padding:0}
.chain-steps li{position:relative;margin:0 0 6px;padding-left:calc(var(--depth)*14px + 14px);font-size:15px;line-height:1.4}
.chain-steps li::before{content:"";position:absolute;left:calc(var(--depth)*14px);top:.55em;width:7px;height:7px;border-radius:50%;background:#c70043}
.chain-jump{font:inherit;font-weight:600;color:#003563;background:none;border:0;padding:0;text-decoration:underline;text-decoration-color:#c70043;text-underline-offset:3px;cursor:pointer}

/* Council ring: one label, only the relevant seat lit, your district marked (v2) */
#graph .council-ring-label{font:600 11px "Atkinson Hyperlegible Next","Helvetica Neue",Arial,sans-serif;letter-spacing:.2em;fill:#b74760;pointer-events:none}
#graph .council-seat.home-seat circle:not(.touch-target){stroke:#003563;stroke-width:3}
#graph .council-seat .home-label{font:700 9px "Atkinson Hyperlegible Next","Helvetica Neue",Arial,sans-serif;letter-spacing:.12em;fill:#003563}
.home-district[aria-pressed="true"]{background:#003563;color:#fff}
/* Ring labels for elected offices, boards and departments, matching the Council ring (v2) */
#graph .ring-label{font:600 11px "Atkinson Hyperlegible Next","Helvetica Neue",Arial,sans-serif;letter-spacing:.2em;pointer-events:none}
#graph .ring-label.ring-elected{fill:#b74760}
#graph .ring-label.ring-boards{fill:#6b819b}
#graph .ring-label.ring-departments{fill:#3978a4}
#graph .ring-label,#graph .council-ring-label{transform-box:view-box;transform-origin:490px 430px;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
#graph .ring-label.ring-council{fill:#b74760}
@media(prefers-reduced-motion:reduce){#graph .ring-label,#graph .council-ring-label{transition:none}}

/* ── Color system (v2) ──────────────────────────────────────────────────────────
   Navy strength = closeness to voters: solid elected offices, outlined council seats, firm board outlines,
   light department outlines. Red means one thing only: the path you're tracing (selection, accountability
   chain, your district). Lines are navy for the selected office, red for its accountability chain.
   This block is last on purpose; it is the source of truth for graph color. */
#graph .orbit{stroke:#b9c2cc!important;opacity:.7}
#graph .node .node-shape{transition:fill .25s,stroke .25s,stroke-width .25s}
#graph .node.elected-node .node-shape{fill:#0e2a47!important;stroke:#0e2a47!important}
.workspace[data-government="city"] #graph .node.elected-node .node-label{fill:#fff!important;stroke:none!important}
#graph .node.elected-node:hover .node-shape,#graph .node.elected-node:focus-visible .node-shape{fill:#1d4167!important}
#graph .node:not(.elected-node):hover .node-shape,#graph .node:not(.elected-node):focus-visible .node-shape{fill:#eef2f6!important;stroke:#0e2a47!important}
#graph .node .node-label{fill:#0e2a47}
#graph .node.selected .node-shape{stroke:#c70043!important;stroke-width:3.5!important}
#graph .node.selected:not(.elected-node) .node-shape{fill:#fff1f5!important}
#graph .node.chain-node .node-shape{stroke:#c70043!important;stroke-width:2.8!important}
#graph .node.selected .halo{fill:transparent!important;stroke:#c70043!important;stroke-width:1!important;opacity:.35}
#graph .people circle{fill:#fbf6ec!important;stroke:#0e2a47!important;stroke-width:1.6!important}
#graph .people text{fill:#0e2a47!important}
#graph .people.chain-end circle{stroke:#c70043!important;stroke-width:3!important}
#graph .council-seat circle:not(.touch-target){fill:#fffdf8!important;stroke:#0e2a47!important;stroke-width:1.5!important}
#graph .council-seat text{fill:#0e2a47!important;font-weight:700}
#graph .council-seat:hover circle:not(.touch-target),#graph .council-seat:focus-visible circle:not(.touch-target){fill:#eef2f6!important;stroke-width:2.4!important}
#graph .council-seat.selected circle:not(.touch-target){fill:#c70043!important;stroke:#c70043!important}
#graph .council-seat.selected text{fill:#fff!important}
#graph .council-seat.home-seat circle:not(.touch-target){stroke:#c70043!important;stroke-width:2.6!important}
#graph .council-seat .home-label{fill:#c70043!important}
#graph .edge.selected,#graph .edge.preview-edge,#graph .membership{stroke:#0e2a47!important}
#graph .membership{stroke-width:1.3!important;opacity:.45!important}
#graph .edge.chain{stroke:#c70043!important}
#graph .edge.interpretive{stroke:#8a97a6!important;stroke-dasharray:2 4}
#graph .ring-label.ring-elected,#graph .ring-label.ring-council{fill:#0e2a47}
#graph .ring-label.ring-boards{fill:#5b6f86}
#graph .ring-label.ring-departments{fill:#7d8fa3}
.graph-key{position:absolute;left:16px;bottom:14px;z-index:3;display:flex;flex-wrap:wrap;gap:6px 14px;max-width:min(520px,calc(100% - 340px));font:500 12px/1.3 "Atkinson Hyperlegible Next","Helvetica Neue",Arial,sans-serif;color:#2c3e4c;pointer-events:none}
.graph-key span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.graph-key svg{width:15px;height:15px;flex:none}
.graph-key span:nth-child(n+5) svg{width:22px}
@media(max-width:760px){.graph-key{position:static;max-width:none;margin:10px 16px 0;pointer-events:auto}}
#graph .node.elected-node .initials{fill:#fff!important}
/* The key sits in the page flow, centered under the graph, so it never collides with the zoom controls. */
.graph-key{position:static!important;justify-content:center;max-width:none!important;margin:6px 16px 0;pointer-events:auto}
.graph-key{margin-bottom:76px!important}
.workspace[data-government="county"] .graph-key .key-council{display:none}

/* Declutter the bottom of the graph (v2): the prompt moves to the top as one quiet line; the duplicate office
   search is hidden (Explore at the top already searches); the bottom holds only the key, centered. */
body.map-page .graph-controls .graph-orientation{position:static!important;transform:none!important;margin:0 auto 0 0!important;width:auto!important;max-width:none;display:flex;align-items:center;gap:14px;text-align:left}
body.map-page .graph-orientation p{margin:0!important;font-size:13px;color:#44566b}
body.map-page .graph-orientation .graph-tools{gap:0!important}
body.map-page .graph-orientation #office-lookup{display:none}
body.map-page .graph-orientation #graph-demo{font-size:13px;padding:4px 0;white-space:nowrap}
.graph-key{margin:4px auto 76px!important;max-width:none!important;gap:6px 16px!important;padding:0 12px}
@media(max-width:900px){body.map-page .graph-controls{flex-wrap:wrap;height:auto!important;min-height:58px!important;row-gap:6px}body.map-page .graph-controls .graph-orientation{order:5;flex-basis:100%;justify-content:center;margin:0!important}}
#graph .edge.selected.hub{stroke-width:1!important;opacity:.3!important}
.graph-key{font-size:11.5px!important;gap:6px 12px!important}.graph-key svg{width:13px!important;height:13px!important}.graph-key span:nth-child(n+5) svg{width:18px!important}
.home-district-note{display:flex;align-items:center;gap:10px;margin:8px 0;font-weight:600;color:#0e2a47}
.link-button{font:inherit;font-weight:500;font-size:14px;color:#0e2a47;background:none;border:0;padding:6px 4px;text-decoration:underline;cursor:pointer;min-height:36px}
/* Center names the government; the elected ring lights red when a chain reaches voters (v2) */
#graph .people.jurisdiction circle{fill:#fbf6ec!important;stroke:#0e2a47!important;stroke-width:1.6!important}
#graph .people.jurisdiction .center-name{font:700 16px "Atkinson Hyperlegible Next","Helvetica Neue",Arial,sans-serif;fill:#0e2a47!important}
#graph .people.jurisdiction .center-sub{font:500 10.5px "Atkinson Hyperlegible Next","Helvetica Neue",Arial,sans-serif;fill:#5a6b7d!important}
#graph .people.jurisdiction{cursor:pointer}
#graph .people.jurisdiction:hover circle,#graph .people.jurisdiction:focus-visible circle{stroke-width:2.6!important}
#graph .ring-label.chain-end{fill:#c70043!important}
/* Two governments, one address */
#government-explainer{max-width:min(560px,calc(100vw - 32px))!important}
#government-explainer .two-gov-title{display:block;font-size:17px;margin-bottom:6px;color:#0e2a47}
#government-explainer .two-gov-lede,#government-explainer .two-gov-note{font-size:14px;line-height:1.45;margin:0 0 10px}
#government-explainer .two-gov{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 10px}
@media(max-width:520px){#government-explainer .two-gov{grid-template-columns:1fr}}
#government-explainer h4{margin:0 0 6px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#0e2a47}
#government-explainer ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
#government-explainer li{display:grid;font-size:13.5px;line-height:1.3}
#government-explainer li span{color:#5a6b7d;font-size:12px}
#government-explainer li a{color:#0e2a47;font-weight:600}
#graph .people.jurisdiction .center-name{font:600 13px "Atkinson Hyperlegible Next","Helvetica Neue",Arial,sans-serif!important;letter-spacing:.2em;fill:#0e2a47!important}

/* One circle, two governments (v2): a quiet divider and the two half names */
#graph .halves-divider{stroke:#9aa7b5;stroke-width:1.2;stroke-dasharray:1 6;stroke-linecap:round;fill:none;pointer-events:none}
#graph .half-label{font:700 12px "Atkinson Hyperlegible Next","Helvetica Neue",Arial,sans-serif;letter-spacing:.26em;fill:#0e2a47;opacity:.55;pointer-events:none}
#graph .node.elected-node .node-label{font-size:12px!important;font-weight:700}
#graph .sup-seat text{font-size:10.5px!important;letter-spacing:.02em}
#graph .ring-label{paint-order:stroke;stroke:#f8f8f2;stroke-width:6px;stroke-linejoin:round}
/* Both governments share one graph, so the old City/County picker is retired. */
.graph-controls #government,.graph-controls label[for="government"]{display:none!important}
#graph .council-seat.yours circle:not(.touch-target){stroke-width:2.8!important}#graph .yours-label{font:700 9px "Atkinson Hyperlegible Next","Helvetica Neue",Arial,sans-serif;letter-spacing:.14em;fill:#0e2a47}

/* Atlas address bar: one slim line above the graph, no outlines (v2) */
.atlas-address{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 12px;padding:10px 16px;margin:0 auto 4px;font:500 14px "Atkinson Hyperlegible Next","Helvetica Neue",Arial,sans-serif;color:#092c46;position:relative;z-index:5}
.atlas-address .aa-label{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#53636a;font-weight:700}
.atlas-address button{font:inherit;font-weight:600;color:#092c46;background:rgba(9,44,70,.07);border:0;border-radius:999px;padding:7px 13px;cursor:pointer;min-height:36px}
.atlas-address button:hover{background:rgba(9,44,70,.14)}
.atlas-address .aa-change{background:none;text-decoration:underline;text-underline-offset:3px;padding:7px 4px}
.atlas-address .aa-dot{color:#9aa7b5}
.atlas-address .aa-form{display:flex;align-items:center;gap:10px}
.atlas-address .aa-form input{font:inherit;font-size:15px;width:min(320px,60vw);background:rgba(9,44,70,.06);border:0;border-radius:999px;padding:10px 16px;color:#092c46;outline:none}
.atlas-address .aa-form input:focus{background:#fff;box-shadow:0 0 0 3px rgba(9,44,70,.14)}
.atlas-address .aa-form button[type=submit]{background:#092c46;color:#fff;width:40px;height:40px;padding:0;font-size:18px}
.atlas-address .aa-form button[type=submit]:hover{background:#c70043}
.atlas-address .aa-status{font-size:13px;color:#53636a}
.atlas-address .aa-status:empty{display:none}
/* Saved location basis (W1, Oct 21, 2026): where "your district" came from, quiet beside it */
.atlas-address .aa-basis{font-size:13px;font-weight:400;color:#53636a}
.home-basis{display:block;margin-top:2px;font-size:13px;font-weight:400;color:#53636a}
@media(max-width:520px){.atlas-address{gap:6px 6px;padding:8px 12px;font-size:13px}.atlas-address .aa-label{flex-basis:100%;text-align:center;font-size:11px}.atlas-address button{padding:6px 10px;min-height:34px}.atlas-address .aa-form{flex-wrap:wrap;justify-content:center}.atlas-address .aa-form input{width:min(260px,70vw)}}

/* Official portraits: small, beside the name, never the focus */
.detail-portrait{display:flex;align-items:center;gap:10px;margin:10px 0 6px}
.detail-portrait img{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:none;background:#e9ecee}
.detail-portrait figcaption{font-size:11px;line-height:1.35;color:#53636a}
.detail-portrait figcaption a{color:inherit}

/* Graph page: a quiet way to the District map and its neighborhood picker (Oct 22, 2026). Phones already open on that map, so it is hidden there. */
.graph-map-link{margin:0 0 18px;font-size:15px}
.graph-map-link a{color:#092c46;text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:#cbd0cb;text-underline-offset:4px;transition:text-decoration-color .15s ease}
.graph-map-link a:hover{text-decoration-color:#092c46}
.graph-map-link a:focus-visible{outline:2px solid #0759b5;outline-offset:3px;border-radius:3px}
@media (max-width: 850px), (pointer: coarse) and (max-height: 500px){.graph-map-link{margin:0 0 12px}.graph-map-link a{display:inline-flex;align-items:center;min-height:44px}}

/* Graph first screen on desktop (owner approved a preview, Oct 22, 2026; outside review: at 1280 x 720 the intro pushed
   much of the Graph below the screen). The title and intro sit left, the City/County switch and the profiles link right,
   in one band; the Graph and the office panel then take the rest of the screen so the selected office, its connections
   and its explanation show together. CSS only: the page keeps its structure, which the phone layout relies on.
   Phones (and short touch screens) are unchanged. */
@media (min-width:851px) and (min-height:501px), (min-width:851px) and (pointer:fine){
  main:has(> .layout > section > #graph){display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:32px;align-items:end;padding-top:16px;padding-bottom:8px}
  main:has(> .layout > section > #graph) > h1{grid-column:1;grid-row:1;margin:0;font-size:28px;line-height:1.2}
  main:has(> .layout > section > #graph) > h1 + p{grid-column:1;grid-row:2;margin:6px 0 0}
  main:has(> .layout > section > #graph) > .graph-chips{grid-column:1;grid-row:3;margin:12px 0 0}
  main:has(> .layout > section > #graph) > nav[aria-label="Government"]{grid-column:2;grid-row:1;justify-self:end;margin:0;gap:8px}
  main:has(> .layout > section > #graph) > nav[aria-label="Government"] button{min-height:40px;padding:8px 14px}
  main:has(> .layout > section > #graph) > p:has(> a[href*="graph-classic"]){grid-column:2;grid-row:2;justify-self:end;margin:6px 0 0;font-size:15px}
  main:has(> .layout > section > #graph) > .layout{grid-column:1 / -1;grid-row:4;margin-top:16px}
  main:has(> .layout > section > #graph) > .layout > aside{height:max(440px,calc(100vh - 276px));min-height:0}
  main:has(> .layout > section > #graph) > .layout > section > #graph{height:max(420px,calc(100vh - 306px));min-height:0}
  main:has(> .layout > section > #graph) > .layout > section > .hint{margin:4px 0 0}
}

/* Graph first sentence (owner, Oct 29, 2026; design review item 3): the line under the title names what the ring shows,
   and three example problems light a path into the office search. A chip fills the search with its word and shows the
   matching offices; the chip stays pressed while its word is in the field. Desktop only: phones open on the district map
   and keep their own neighborhood chips. */
.graph-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;color:#53636a}
.graph-chips span{margin-right:2px}
.graph-chips button{appearance:none;font:inherit;font-size:14px;line-height:1;min-height:36px;padding:0 14px;border:1px solid #cbd0cb;border-radius:999px;background:#fff;color:#092c46;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,color .15s ease}
.graph-chips button:hover{border-color:#092c46}
.graph-chips button[aria-pressed="true"]{border-color:#092c46;background:#092c46;color:#fff}
.graph-chips button:focus-visible{outline:2px solid #0759b5;outline-offset:3px}
@media (prefers-reduced-motion:reduce){.graph-chips button{transition:none}}
@media (max-width: 850px), (pointer: coarse) and (max-height: 500px){.graph-chips{display:none}}
