/* Volterra search room. Brand: Inter; square corners; no shadows; hairline rules.
   Teal and gold are fills and marks only; small text uses deep green or deep teal. */
@font-face { font-family: Inter; src: url("/fonts/inter.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
:root {
  --ink: #132D32; --deep-teal: #167C80; --teal: #25A69C; --gold: #C58A1B;
  --muted: #66757F; --line: #CCD3D6; --hair: #E5E9EB; --pale: #F4F8F8; --white: #FFFFFF;
  --live: #E1F2EA; --screen: #FFF6D8; --bar-text: #BFD5D3; --bar-rule: #3A5A60;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--pale); color: #000; font: 400 15px/1.5 Inter, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--deep-teal); } a:hover { color: var(--ink); }
button { font: inherit; border-radius: 0; }
:focus-visible { outline: 2px solid var(--deep-teal); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 8px; z-index: 2; background: var(--white); padding: 8px 12px; }
.loading { max-width: 1280px; margin: 64px auto; padding: 0 32px; color: var(--muted); }

.bar { background: var(--ink); color: var(--white); }
.bar-inner { max-width: 1280px; margin: 0 auto; padding: 12px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; min-width: 0; }
.brand img { height: 34px; width: auto; }
.brand-name { font-size: 15px; font-weight: 600; }
.rule { width: 1px; height: 20px; background: var(--bar-rule); }
.crumbs { font-size: 13px; color: var(--bar-text); } .crumbs a { color: var(--bar-text); } .crumbs .current { color: var(--white); }
.bar-right { display: flex; align-items: center; gap: 12px; }
.who { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: var(--teal); color: var(--ink); font-size: 12px; font-weight: 700; }
.link-button { background: none; border: 0; color: var(--bar-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; padding: 0 4px; }
.link-button:hover { color: var(--white); }

main { max-width: 1280px; margin: 0 auto; padding: 32px 32px 64px; display: flex; flex-direction: column; gap: 24px; }
main:focus { outline: none; }
.eyebrow { margin: 0; font-size: 11px; line-height: 15px; font-weight: 600; letter-spacing: 1.8px; color: var(--deep-teal); }
h1 { margin: 0; font-size: 32px; line-height: 40px; font-weight: 600; letter-spacing: -0.5px; color: var(--ink); }
.lede { margin: 0; font-size: 16px; line-height: 23px; font-weight: 300; }
.muted { color: var(--muted); font-size: 13px; } .small { font-size: 12px; margin: 0; }
.fine { margin: 0; font-size: 12px; line-height: 16px; color: var(--muted); }
.empty { color: var(--muted); font-size: 13px; margin: 0; }

.panel { background: var(--white); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.panel.narrow { max-width: 560px; }
.signin-panel { width: 100%; margin: 6vh auto 0; }
.signin-panel .muted { margin: 0; }
.help { margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--muted); }
.signin { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.signin label { font-size: 13px; font-weight: 600; color: var(--ink); }
.signin input { font: inherit; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 0; }
.signin input:focus { border-color: var(--deep-teal); }
.primary { min-height: 44px; padding: 0 18px; background: var(--deep-teal); color: var(--white); border: 1px solid var(--deep-teal); font-weight: 600; cursor: pointer; align-self: flex-start; }
.primary:hover { background: var(--ink); border-color: var(--ink); }
.primary[disabled], .intro-button[disabled] { opacity: .6; cursor: progress; }
.notice { margin: 0; padding: 12px 14px; background: var(--pale); border-left: 2px solid var(--teal); font-size: 13px; }
.ask-list { margin: 0; padding: 0; list-style: none; } .ask-list li { padding: 12px 0; border-top: 1px solid var(--hair); }

.summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.summary-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.summary-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; font-size: 12px; line-height: 18px; font-weight: 600; color: var(--ink); }
/* Status marks drawn in CSS: solid shortlisted, half screening, ring passed, diamond introductions. */
.dot { flex: none; display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); }
.dot.full { background: var(--ink); }
.dot.half { background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }
.dot.ring { background: transparent; }
.dot.diamond { border-radius: 0; width: 8px; height: 8px; background: var(--ink); transform: rotate(45deg); }
.check { display: inline-block; width: 5px; height: 10px; margin: 0 2px -1px 7px; border: solid var(--deep-teal); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.badge.live { background: var(--live); } .badge.closed { background: var(--hair); } .badge.draft { background: var(--screen); }

.track { height: 6px; background: var(--hair); } .track.tall { height: 14px; background: var(--pale); } .track.small { width: 56px; }
.fill { height: 100%; } .fill.teal { background: var(--teal); } .fill.deep-teal { background: var(--deep-teal); } .fill.ink { background: var(--ink); } .fill.gold { background: var(--gold); }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.tile { background: var(--white); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.tile.accent { border-bottom: 4px solid var(--gold); }
.tile-label { font-size: 11px; line-height: 15px; font-weight: 600; letter-spacing: 1.2px; color: var(--ink); }
.tile-value { font-size: 34px; line-height: 40px; font-weight: 300; color: var(--ink); font-variant-numeric: tabular-nums; }
.tile-note { font-size: 12px; line-height: 16px; color: var(--muted); }

.split { display: flex; flex-wrap: wrap; gap: 24px; }
.card { background: var(--white); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card.grow { flex: 999 1 560px; } .card.side { flex: 1 1 320px; }
.card-title { margin: 0; font-size: 16px; line-height: 21px; font-weight: 600; color: var(--ink); }
.card-sub { margin: -10px 0 0; font-size: 12px; line-height: 16px; color: var(--muted); }
.card-title-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.card-title-row .aside { font-size: 12px; font-weight: 600; color: var(--deep-teal); }
.bars { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bars li { display: flex; flex-direction: column; gap: 4px; }
.bar-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 18px; }
.bar-row b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hair); font-size: 13px; line-height: 18px; font-weight: 300; }
.timeline li:last-child { border-bottom: 1px solid var(--hair); }
.timeline .when { flex: 0 0 76px; font-size: 12px; font-weight: 600; color: var(--ink); }
.timeline .future, .timeline .future .when { color: var(--muted); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: start; }

.answers-card { gap: 20px; }
.answers-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.answers-head h2 { margin: 0; font-size: 18px; line-height: 24px; font-weight: 600; color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; padding: 0 16px; cursor: pointer; font-size: 13px; font-weight: 600; background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.answers-body { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.answers-table { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 10px; overflow-x: auto; }
table.answers { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 13px; line-height: 18px; }
.answers thead tr { border-top: 1.33px solid var(--ink); border-bottom: 1px solid var(--line); }
.answers th { text-align: left; padding: 10px 8px; font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--ink); }
.answers td { padding: 10px 8px; font-weight: 300; border-bottom: 1px solid var(--hair); }
.answers .num { text-align: right; font-variant-numeric: tabular-nums; }
.answers tr.selected { background: var(--pale); }
.code { min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--deep-teal); text-decoration: underline; text-underline-offset: 3px; }
.fit { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--ink); }
.tag.short { background: var(--live); } .tag.screen { background: var(--screen); } .tag.passed { background: var(--hair); } .tag.intro { background: var(--gold); }

.detail { flex: 1 1 320px; min-width: 0; background: var(--pale); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.back { display: none; }
.detail h3 { margin: 4px 0 0; font-size: 20px; line-height: 26px; font-weight: 600; color: var(--ink); }
.detail h3:focus { outline: none; }
.detail-sub { margin: 4px 0 0; font-size: 13px; font-weight: 300; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; text-align: right; }
.mini { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: 1.2px; color: var(--ink); }
.evidence ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.evidence li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.mark { width: 18px; text-align: center; font-weight: 700; } .mark.ok { color: var(--deep-teal); } .mark.no { color: var(--muted); }
.ev-label { flex: 1 1 auto; } .ev-state { font-size: 12px; color: var(--muted); }
.score { display: flex; flex-direction: column; gap: 8px; }
.score-head { display: flex; justify-content: space-between; align-items: baseline; }
.score-head .mini { margin: 0; }
.score-total { margin: 0; font-size: 13px; color: var(--muted); } .score-total b { font-size: 22px; font-weight: 300; color: var(--ink); }
.factors { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.factors li { display: grid; grid-template-columns: 1fr 64px 40px; align-items: center; gap: 10px; font-size: 13px; }
.factors .track.small { width: 64px; }
.factor-score { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.note { margin: 0; font-size: 13px; line-height: 19px; font-weight: 300; }
.callout { margin: 0; padding: 10px 12px; background: var(--white); font-size: 13px; line-height: 18px; }
.callout.wide { background: var(--white); border-left: 2px solid var(--gold); }
.callout b { font-weight: 600; color: var(--ink); }
.intro-button { min-height: 44px; padding: 0 18px; cursor: pointer; background: var(--gold); color: var(--ink); border: 0; font-size: 14px; font-weight: 600; align-self: flex-start; }
.intro-button:hover { background: #B07A14; }

.foot { max-width: 1280px; margin: 0 auto; padding: 16px 32px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); font-size: 12px; line-height: 17px; color: var(--muted); }
.foot span:first-child { max-width: 760px; }

/* staff strip, who answered, picks, the tile map */
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px 16px; background: var(--screen); font-size: 13px; color: var(--ink); }
.strip b { font-weight: 600; }
.strip-button, .download { min-height: 44px; padding: 0 16px; cursor: pointer; font-size: 13px; font-weight: 600; background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.filters .download { margin-left: auto; }
.site-name { display: block; font-size: 12px; line-height: 16px; color: var(--ink); max-width: 22ch; }
.tag.pick, .callout.pick { background: var(--screen); }
.tag.pick { display: block; width: max-content; margin-top: 2px; font-size: 11px; }
.if-claim { font-size: 12px; color: var(--deep-teal); white-space: nowrap; }
.claim { margin: -6px 0 0; font-size: 13px; font-weight: 600; color: var(--deep-teal); }
.who-answered { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.who-answered .facts div { align-items: flex-start; } .who-answered .facts dd { max-width: 62%; }
.people { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.people li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; background: var(--white); }
.people b { font-weight: 600; color: var(--ink); }
.people a, .record { color: var(--deep-teal); text-underline-offset: 3px; overflow-wrap: anywhere; }
.record { font-size: 13px; font-weight: 600; }
.note.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.pick-list, .questions { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.pick-list .why { display: block; font-size: 13px; color: var(--muted); }
.pick-list .code { min-height: 0; }
.questions li::marker, .pick-list li::marker { color: var(--deep-teal); font-weight: 600; }
.card.wide-side { flex: 1 1 380px; }
.where { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.us-grid { flex: 2 1 440px; max-width: 620px; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; }
.state { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 10px; line-height: 12px; color: var(--muted); background: var(--pale); border: 0; padding: 0; font-family: inherit; }
.state.on { cursor: pointer; color: var(--white); font-weight: 600; }
.state.on b { font-size: 13px; line-height: 15px; }
.state.n1 { background: var(--teal); } .state.n2 { background: var(--deep-teal); } .state.n3 { background: var(--ink); }
.state[aria-pressed="true"], .place[aria-pressed="true"] { outline: 3px solid var(--gold); outline-offset: 1px; }
.elsewhere { flex: 1 1 240px; min-width: 0; }
.elsewhere ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.place { width: 100%; min-height: 36px; display: flex; justify-content: space-between; gap: 12px; padding: 6px 10px; background: var(--pale); border: 0; cursor: pointer; font: inherit; font-size: 13px; color: var(--ink); text-align: left; }
.place b { font-weight: 600; }
@media (max-width: 640px) {
  .bar-inner, main, .foot { padding-left: 16px; padding-right: 16px; }
  /* One row of bar: the search title is already the page heading. */
  .bar-inner { flex-wrap: nowrap; padding-top: 8px; padding-bottom: 8px; }
  .brand { flex-wrap: nowrap; gap: 10px; }
  .brand img { height: 26px; }
  .rule, .crumbs { display: none; }
  h1 { font-size: 26px; line-height: 32px; }
  .panel, .card, .detail { padding: 18px; }
  .signin-panel { margin-top: 16px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tile-value { font-size: 28px; line-height: 34px; }
  .grid2 { grid-template-columns: 1fr; }
  /* The answers become one-line rows: code, place, MW, fit and status. The rest is one tap away. */
  table.answers { min-width: 0; }
  .answers thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .answers tr { display: grid; grid-template-columns: 52px minmax(0, 1fr) 40px 30px 22px; align-items: center; gap: 0 8px; border-bottom: 1px solid var(--hair); }
  .answers td { border: 0; padding: 0; min-width: 0; }
  .answers td.wide, .answers .site-name, .answers .tag.pick, .answers .fit .track, .answers .if-claim { display: none; }
  .answers td.region { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
  .answers .code { text-align: left; }
  .answers .tag { padding: 0; background: none; justify-content: center; }
  .answers .tag .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .back { display: inline-block; align-self: flex-start; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; color: var(--deep-teal); }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
