/* ahneta.com – a dispatch ledger: white sheet, deep teal bar, amber marks, monospace numbers,
   zebra tables and a dotted timeline. Dense on purpose. System fonts only. Light and dark. */
:root {
  --bg: #ffffff; --panel: #f5f9f9; --zebra: #f1f6f6; --ink: #132629; --muted: #566e71; --line: #d8e3e4;
  --teal: #0f5c63; --teal-deep: #0a4248; --wash: #e4eff0; --bar: #0f5c63; --mark: #0f5c63; --rail: #a9c4c7;
  --amber: #e8a33d; --amber-ink: #8a560c; --link: #0b6770; --ok: #1f6b3a; --bad: #b2381b;
  --sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "DejaVu Sans Mono", monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1517; --panel: #11201f; --zebra: #101c1e; --ink: #e1ecec; --muted: #94abad; --line: #22373a;
    --teal: #0c4b51; --teal-deep: #07313a; --wash: #11292c; --bar: #3a9aa2; --mark: #5fbfc7; --rail: #2f5458;
    --amber: #f0b456; --amber-ink: #f0b456; --link: #79cbd3; --ok: #6fcf8f; --bad: #f08a6e;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); }
a { color: var(--link); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--amber); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
b, strong { font-weight: 700; }
small { font-size: 12.5px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.mono { font-family: var(--mono); }
.nil { color: var(--muted); font-style: italic; }
.skip { position: absolute; left: -10000px; top: 0; }
.skip:focus { left: 8px; top: 8px; z-index: 70; background: var(--amber); color: #241500; padding: 6px 10px; }

/* Top bar */
.topbar { background: var(--teal); color: #fff; border-bottom: 3px solid var(--amber); }
.topbar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 22px; min-height: 54px; padding-top: 6px; padding-bottom: 6px; }
.logo { display: inline-flex; align-items: baseline; color: #fff; text-decoration: none; font: 900 27px/1 var(--sans); letter-spacing: -.045em; text-transform: lowercase; }
.logo__dot { display: inline-block; width: 8px; height: 8px; margin-left: 3px; border-radius: 50%; background: var(--amber); }
.topnav { display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: 14px; font-weight: 600; }
.topnav a { color: #d6ecee; text-decoration: none; }
.topnav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--amber); }

/* The number check */
.checkbar { background: var(--wash); border-bottom: 1px solid var(--line); }
.checkbar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-top: 9px; padding-bottom: 9px; }
.checkbar label { font-weight: 800; font-size: 14px; color: var(--mark); }
.checkbar__field { display: flex; flex: 1 1 250px; max-width: 420px; }
.checkbar input { flex: 1; min-width: 0; font: 600 16px var(--mono); padding: 7px 10px; border: 1px solid var(--teal); border-right: 0; border-radius: 3px 0 0 3px; background: var(--bg); color: var(--ink); }
.checkbar button { font: 800 14px var(--sans); padding: 7px 16px; border: 1px solid var(--amber); border-radius: 0 3px 3px 0; background: var(--amber); color: #241500; cursor: pointer; }
.checkbar button:hover { filter: brightness(1.06); }

/* Frame: banner and ad-site list on the left, the page on the right; one column on phones */
.frame { flex: 1 0 auto; width: 100%; display: grid; align-content: start; grid-template-columns: 280px minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "promo sheet" "hosts sheet"; gap: 18px 30px; padding-top: 20px; padding-bottom: 36px; }
.promo { grid-area: promo; margin: 0; }
.promo a { display: block; line-height: 0; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.promo img { display: block; width: 100%; height: auto; aspect-ratio: 400 / 260; }
.promo__tag { display: block; margin-top: 5px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sheet { grid-area: sheet; min-width: 0; }
.hostlist { grid-area: hosts; align-self: start; background: var(--panel); border-top: 3px solid var(--teal); padding: 10px 12px 12px; font-size: 14px; }
.hostlist__h { margin: 0 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hostlist ol { list-style: none; margin: 0; padding: 0; }
.hostlist li a { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dotted var(--line); color: var(--ink); text-decoration: none; }
.hostlist li a:hover span { color: var(--link); text-decoration: underline; }
.hostlist li span { overflow-wrap: anywhere; }
.hostlist li b { font: 600 13px var(--mono); color: var(--muted); }
.hostlist__all { display: inline-block; margin-top: 8px; font-weight: 700; font-size: 13.5px; }

/* Breadcrumb */
.path ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 10px; padding: 0; font-size: 12.5px; color: var(--muted); }
.path li + li::before { content: '›'; margin: 0 7px; color: var(--amber-ink); font-weight: 700; }

/* Type */
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; }
h1 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; margin: 2px 0 8px; }
h2 { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 800; margin: 28px 0 10px; }
h2::before { content: ''; flex: none; width: 9px; height: 9px; background: var(--amber); }
h2.minor { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 16px 0 6px; }
h2.minor::before { width: 6px; height: 6px; }
h3 { font-size: 19px; font-weight: 800; margin: 0; }
.eyebrow { margin: 0; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--mark); }
.intro { font-size: 16.5px; color: var(--muted); max-width: 72ch; margin: 0 0 14px; }
.intro b { color: var(--ink); }
.hint { margin: 10px 0 0; padding: 4px 0 4px 10px; border-left: 3px solid var(--amber); color: var(--muted); font-size: 13.5px; max-width: 78ch; }
.back, .links { margin: 14px 0 0; font-size: 14px; }
.links { color: var(--muted); }

/* Home */
.opener { padding-bottom: 4px; }
.opener h1 { font-size: clamp(30px, 4.6vw, 46px); letter-spacing: -.03em; }
.tally { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 14px 0 0; border: 1px solid var(--line); border-left: 4px solid var(--teal); }
.tally > div { padding: 8px 12px; border-right: 1px solid var(--line); }
.tally > div:last-child { border-right: 0; }
.tally dt { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tally dd { margin: 2px 0 0; font: 700 20px/1.2 var(--mono); }
.block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 28px 0 10px; }
.block__head h2 { margin: 0; }
.block__head a { font-size: 13.5px; font-weight: 700; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.bars a { display: grid; grid-template-columns: minmax(110px, 190px) minmax(40px, 1fr) 6ch; align-items: center; gap: 10px; padding: 3px 0; color: var(--ink); text-decoration: none; }
.bars__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars__track { height: 10px; background: var(--zebra); border: 1px solid var(--line); }
.bars__fill { display: block; height: 100%; min-width: 2px; background: var(--bar); }
.bars a:hover .bars__fill { background: var(--amber); }
.bars a:hover .bars__name { color: var(--link); }
.bars__n { font: 600 13px var(--mono); color: var(--muted); text-align: right; }
.statelist { list-style: none; margin: 0; padding: 0; columns: 3 190px; column-gap: 26px; }
.statelist li { break-inside: avoid; }
.statelist a { display: flex; gap: 8px; padding: 3px 0; border-bottom: 1px dotted var(--line); color: var(--ink); text-decoration: none; }
.statelist a span { flex: 1; }
.statelist a:hover span { color: var(--link); text-decoration: underline; }
.statelist b { font: 600 13px var(--mono); color: var(--muted); }
.statelist--wide { columns: 4 170px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.steps li { counter-increment: step; background: var(--panel); border-top: 3px solid var(--teal); padding: 10px 12px; font-size: 14px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 4px; font: 700 13px var(--mono); color: var(--amber-ink); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { background: var(--panel); border: 1px solid var(--line); padding: 2px 8px; font-size: 13px; }
.tags b { font: 600 12px var(--mono); color: var(--muted); margin-left: 3px; }

/* Boards (tables) */
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); }
.grid { width: 100%; border-collapse: collapse; font-size: 14px; }
.grid th { text-align: left; padding: 7px 10px; border-bottom: 2px solid var(--teal); background: var(--bg); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mark); white-space: nowrap; }
.grid td { padding: 6px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.grid tbody tr:nth-child(even) { background: var(--zebra); }
.grid tbody tr:hover { background: var(--wash); }
.grid tbody tr:last-child td { border-bottom: 0; }
.grid .r { text-align: right; white-space: nowrap; }
.grid .num { font-family: var(--mono); font-weight: 600; white-space: nowrap; }
.grid .tab, .grid .rank { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.grid .rank { color: var(--muted); }
.grid .who { min-width: 9.5em; }
.grid .sub { display: block; color: var(--muted); }
.grid small { color: var(--muted); }

/* A number's page */
.check__num { font: 700 clamp(34px, 6vw, 54px)/1.05 var(--mono); letter-spacing: -.02em; margin: 4px 0 8px; }
.check__sum { font-size: 17px; margin: 0 0 14px; max-width: 72ch; }
.strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-left: 4px solid var(--amber); }
.strip li { flex: 1 1 150px; padding: 7px 12px; border-right: 1px solid var(--line); }
.strip li:last-child { border-right: 0; }
.strip span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.strip b { font-size: 14.5px; }
.tl { list-style: none; margin: 0; padding: 2px 0 0 18px; position: relative; }
.tl::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 10px; width: 2px; background: var(--rail); }
.tl__item { position: relative; padding: 0 0 14px 12px; }
.tl__item::before { content: ''; position: absolute; left: -18px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 3px solid var(--mark); }
.tl__item.is-latest::before { background: var(--amber); border-color: var(--amber); }
.tl__what { margin: 0; font-size: 15.5px; }
.tl__what b { font-weight: 800; }
.tl__city { color: var(--muted); }
.tl__when { margin: 2px 0 0; font: 13px/1.4 var(--mono); color: var(--muted); }
.listing { margin: 0 0 12px; padding: 12px 14px 14px; border: 1px solid var(--line); border-top: 4px solid var(--teal); }
.listing__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-bottom: 8px; }
.listing__city { color: var(--muted); }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin: 0 0 12px; border-top: 1px solid var(--line); }
.kv > div { padding: 6px 10px 6px 0; border-bottom: 1px solid var(--line); }
.kv dt { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kv dd { margin: 1px 0 0; font-weight: 600; }
.listing__go { display: inline-block; padding: 8px 14px; border-radius: 3px; background: var(--teal); color: #fff; font-weight: 800; text-decoration: none; }
.listing__go:hover { background: var(--teal-deep); color: #fff; }
.mails { margin: 0; padding-left: 20px; list-style: square; }
.mails li { padding: 2px 0; overflow-wrap: anywhere; }
.mails li::marker { color: var(--amber-ink); }
.mails small { color: var(--muted); }
.aka { margin: 22px 0 0; font-size: 13px; color: var(--muted); }

/* Policies and forms */
.doc { max-width: 76ch; }
.doc__date { margin: -6px 0 10px; font-size: 13px; color: var(--muted); }
.doc__part h2 { font-size: 17px; }
.doc__part li { margin-bottom: 4px; }
.sendform { position: relative; display: grid; gap: 10px; max-width: 540px; margin: 6px 0 24px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--teal); }
.sendform label { display: grid; gap: 3px; font-size: 13.5px; font-weight: 700; }
.sendform input, .sendform select, .sendform textarea { width: 100%; font: 16px var(--sans); padding: 8px 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg); color: var(--ink); }
.sendform__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; }
.sendform button { padding: 9px 18px; border: 0; border-radius: 3px; background: var(--amber); color: #241500; font: 800 15px var(--sans); cursor: pointer; }
.sendform button:disabled { opacity: .6; cursor: default; }
.sendnote { font-size: 14px; }
.sendnote.is-ok { color: var(--ok); }
.sendnote.is-err { color: var(--bad); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.foot { background: var(--teal-deep); color: #c9e0e2; font-size: 13.5px; }
.foot__in { padding-top: 20px; padding-bottom: 28px; }
.foot a { color: #fff; }
.foot__brand { margin: 0; font: 900 20px/1 var(--sans); letter-spacing: -.04em; color: #fff; }
.foot__brand span { margin-left: 8px; font: 600 12.5px var(--sans); letter-spacing: .02em; color: #9fc3c6; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 12px 0 10px; font-weight: 600; }
.foot p { margin: 6px 0; max-width: 92ch; }

/* Adults-only gate */
.an-gate body { overflow: hidden; }
.gate { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(5, 28, 31, .88); }
.gate[hidden] { display: none; }
.gate__card { width: 100%; max-width: 420px; padding: 22px 22px 18px; background: var(--bg); color: var(--ink); border-top: 6px solid var(--amber); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.gate__badge { display: inline-block; margin: 0 0 8px; padding: 3px 9px; background: var(--teal); color: #fff; font: 800 14px var(--mono); }
.gate h2 { margin: 0 0 8px; font-size: 22px; }
.gate h2::before { display: none; }
.gate p { margin: 0 0 8px; }
.gate__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 14px; }
.gate__actions button { padding: 10px 18px; border: 0; border-radius: 3px; background: var(--teal); color: #fff; font: 800 15px var(--sans); cursor: pointer; }

@media (max-width: 880px) {
  .frame { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "promo" "sheet" "hosts"; gap: 16px; padding-top: 14px; }
  .promo { justify-self: center; width: 100%; max-width: 320px; }
}
@media (max-width: 520px) {
  body { font-size: 14.5px; }
  .topnav { gap: 2px 13px; font-size: 13.5px; }
  .checkbar label { font-size: 13px; }
  .bars a { grid-template-columns: minmax(80px, 38%) minmax(30px, 1fr) 6ch; gap: 8px; }
  .tally dd { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { .checkbar, .hostlist, .gate, .foot nav { display: none !important; } .frame { display: block; } .promo { max-width: 320px; } }
