/* =================================================================
   LOS SANTOS POLICE DEPARTMENT — official municipal site
   Aesthetic: U.S. government / municipal police (USWDS-inspired).
   Public Sans + Merriweather · navy / gold / white · service-first.
   In-world fiction (San Andreas · Roleplay Project). Original design.
   ================================================================= */

:root {
  /* ink + surface */
  --ink:        #1b1b1b;
  --ink-2:      #3d4551;
  --ink-3:      #565c65;
  --ink-soft:   #71767a;
  --line:       #dfe1e2;
  --line-2:     #c6cace;
  --bg:         #ffffff;
  --bg-gray:    #f0f2f5;
  --bg-cool:    #eef1f5;
  --bg-warm:    #faf8f2;

  /* navy ramp */
  --navy-900:   #0a1c33;
  --navy-800:   #102a4c;
  --navy-700:   #173a66;
  --navy-600:   #1f4e85;
  --navy-500:   #2a6099;

  /* link blue */
  --link:       #005ea2;
  --link-hover: #00436b;

  /* gold + red + green */
  --gold:       #c9a227;
  --gold-2:     #a9842a;
  --gold-soft:  #f3e6bf;
  --gold-bright:#f2c14e;
  --red:        #b50909;
  --red-2:      #8b0a03;
  --green:      #1a7f37;
  --amber-bg:   #fef0c8;
  --amber-line: #e6b94e;

  --maxw: 1240px;
  --r: 4px;
  --sh-1: 0 1px 2px rgba(10,28,51,0.10), 0 0 1px rgba(10,28,51,0.18);
  --sh-2: 0 6px 18px -6px rgba(10,28,51,0.22);
  --sh-3: 0 14px 40px -12px rgba(10,28,51,0.30);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
.serif { font-family: 'Merriweather', Georgia, serif; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.tnum { font-variant-numeric: tabular-nums; }

/* image placeholders ------------------------------------------------ */
.ph-img {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(16,42,76,0.06) 0 12px, rgba(16,42,76,0.02) 12px 24px),
    var(--bg-cool);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); overflow: hidden;
}
.ph-img .ph-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--ink-soft); text-align: center; padding: 10px 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.ph-img.navy { background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 12px, rgba(255,255,255,0.015) 12px 24px),
    var(--navy-800); }
.ph-img.navy .ph-label { color: rgba(255,255,255,0.55); }

/* ============== GOV BANNER (official website strip) ============== */
.gov-banner { background: var(--bg-gray); font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.gov-banner-inner { display: flex; align-items: center; gap: 8px; padding: 7px 24px; max-width: var(--maxw); margin: 0 auto; flex-wrap: wrap; }
.gov-banner .flag {
  width: 20px; height: 13px; border-radius: 1px; flex-shrink: 0;
  background:
    linear-gradient(180deg, #b22 0 20%, #fff 20% 40%, #b22 40% 60%, #fff 60% 80%, #b22 80% 100%);
  position: relative; box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}
.gov-banner .flag::before { content:""; position:absolute; left:0; top:0; width:9px; height:7px; background: var(--navy-700); }
.gov-banner-toggle {
  background: none; border: 0; color: var(--link); text-decoration: underline;
  font-size: 13px; padding: 0; display: inline-flex; align-items: center; gap: 5px;
}
.gov-banner-toggle .fa { font-size: 9px; transition: transform 160ms; }
.gov-banner.open .gov-banner-toggle .fa { transform: rotate(180deg); }
.gov-banner-detail { display: none; max-width: var(--maxw); margin: 0 auto; padding: 4px 24px 16px; }
.gov-banner.open .gov-banner-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 720px) { .gov-banner.open .gov-banner-detail { grid-template-columns: 1fr; gap: 12px; } }
.gb-col { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 13.5px; color: var(--ink-2); }
.gb-col .gb-ico { color: var(--green); font-size: 18px; padding-top: 2px; }
.gb-col .gb-ico.lock { color: var(--navy-700); }
.gb-col b { color: var(--ink); }

/* ============== MASTHEAD ============== */
.masthead { background: var(--bg); border-bottom: 3px solid var(--gold); }
.mh-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; gap: 20px;
}
.mh-brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.mh-text .pre {
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold-2);
}
.mh-text .name {
  font-family: 'Merriweather', serif; font-weight: 900;
  font-size: 23px; line-height: 1.1; color: var(--navy-800); letter-spacing: -0.01em;
  margin-top: 2px;
}
.mh-text .sub { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; }
.mh-tools { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.mh-links { display: flex; gap: 18px; font-size: 13px; }
.mh-links a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.mh-links a:hover { color: var(--link); }
.mh-links a .fa { font-size: 11px; color: var(--navy-600); }
.mh-search { display: flex; }
.mh-search input {
  border: 1px solid var(--line-2); border-right: 0; border-radius: var(--r) 0 0 var(--r);
  padding: 9px 12px; font-size: 14px; width: 230px; color: var(--ink); outline: none;
}
.mh-search input:focus { border-color: var(--navy-600); box-shadow: inset 0 0 0 1px var(--navy-600); }
.mh-search button {
  border: 0; background: var(--navy-700); color: #fff; padding: 0 16px;
  border-radius: 0 var(--r) var(--r) 0; font-size: 14px;
}
.mh-search button:hover { background: var(--navy-800); }
@media (max-width: 900px) { .mh-tools { display: none; } }

/* ============== DEPARTMENT SEAL ============== */
.seal {
  position: relative; flex-shrink: 0;
  width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, var(--navy-600), var(--navy-900));
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.06), 0 2px 6px rgba(10,28,51,0.3);
  display: flex; align-items: center; justify-content: center;
}
.seal::before {
  content: ""; position: absolute; inset: 5px; border-radius: 50%;
  border: 1px dashed rgba(232,196,107,0.5);
}
.seal i.shield {
  font-size: 30px;
  background: linear-gradient(160deg, #cfe0ff, #6e92d8);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.seal i.star { position: absolute; font-size: 11px; color: var(--gold-bright); top: 50%; left: 50%; transform: translate(-50%,-60%); }
.seal.lg { width: 132px; height: 132px; border-width: 3px; }
.seal.lg i.shield { font-size: 64px; }
.seal.lg i.star { font-size: 22px; }

/* ============== PRIMARY NAV ============== */
.navbar { background: var(--navy-800); position: sticky; top: 0; z-index: 60; box-shadow: 0 2px 0 rgba(0,0,0,0.18); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 12px; display: flex; align-items: stretch; }
.nav-links { display: flex; flex-wrap: wrap; }
.nav-links a {
  color: #e9eef5; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 15px 17px; display: inline-flex; align-items: center; gap: 7px;
  border-bottom: 3px solid transparent; transition: background 120ms, border-color 120ms;
}
.nav-links a .fa { font-size: 12px; color: var(--gold-bright); }
.nav-links a:hover { background: var(--navy-700); }
.nav-links a.active { background: var(--navy-700); border-bottom-color: var(--gold); color: #fff; }
.nav-report {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; text-decoration: none; font-weight: 700; font-size: 14.5px;
  padding: 0 20px; align-self: stretch;
}
.nav-report:hover { background: var(--red-2); color: #fff; }
.nav-report .fa { font-size: 13px; }
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-inner { flex-wrap: wrap; }
  .nav-links { display: none; width: 100%; flex-direction: column; }
  .nav-links.open { display: flex; }
  .nav-links a { border-bottom: 1px solid var(--navy-700); }
  .nav-report { margin: 0; padding: 12px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
    background: none; border: 0; color: #fff; font-weight: 700; font-size: 15px; padding: 14px 10px;
  }
}

/* ============== ALERT BAR ============== */
.alertbar { background: var(--amber-bg); border-bottom: 1px solid var(--amber-line); }
.alert-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 11px 24px;
  display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: #5b4500;
}
.alert-inner .fa-triangle-exclamation { color: var(--gold-2); font-size: 16px; margin-top: 2px; }
.alert-inner b { color: #3d2e00; }
.alert-inner a { color: var(--red-2); font-weight: 700; }
.alert-close { margin-left: auto; background: none; border: 0; color: #5b4500; font-size: 15px; }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent;
  padding: 12px 22px; border-radius: var(--r); transition: background 130ms, border-color 130ms, color 130ms;
  line-height: 1;
}
.btn .fa { font-size: 14px; }
.btn-navy { background: var(--navy-700); color: #fff; }
.btn-navy:hover { background: var(--navy-800); color: #fff; }
.btn-gold { background: var(--gold); color: #2a2104; }
.btn-gold:hover { background: var(--gold-2); color: #2a2104; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); color: #fff; }
.btn-white { background: #fff; color: var(--navy-800); }
.btn-white:hover { background: var(--bg-gray); color: var(--navy-900); }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--navy-700); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-outline-w { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline-w:hover { background: #fff; color: var(--navy-800); }
.btn.sm { font-size: 14px; padding: 9px 16px; }

/* ============== HERO ============== */
.hero { position: relative; }
.hero-media { position: absolute; inset: 0; }
.hero-media .ph-img { width: 100%; height: 100%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,28,51,0.82), rgba(10,28,51,0.72) 55%, rgba(10,28,51,0.88));
}
.hero-inner {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto;
  padding: 64px 24px 56px; text-align: center; color: #fff;
}
.hero-inner .seal { margin: 0 auto 22px; }
.hero-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-bright); margin-bottom: 14px;
}
.hero h1 {
  font-family: 'Merriweather', serif; font-weight: 900;
  font-size: clamp(32px, 5vw, 54px); line-height: 1.08; letter-spacing: -0.01em;
  margin: 0; color: #fff; text-wrap: balance;
}
.hero .motto {
  font-family: 'Merriweather', serif; font-style: italic; font-weight: 400;
  font-size: clamp(16px, 2.2vw, 21px); color: var(--gold-soft); margin: 14px 0 0;
}
.hero .hero-sub { font-size: 17px; color: rgba(255,255,255,0.86); max-width: 60ch; margin: 18px auto 0; line-height: 1.6; }
.hero-search {
  margin: 30px auto 0; max-width: 620px; display: flex; background: #fff;
  border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-3);
}
.hero-search .lbl {
  display: flex; align-items: center; gap: 10px; padding: 0 16px; color: var(--ink-soft); font-size: 15px;
  border-right: 1px solid var(--line); flex-shrink: 0;
}
.hero-search input { flex: 1; border: 0; outline: 0; padding: 16px 14px; font-size: 16px; color: var(--ink); min-width: 0; }
.hero-search button { border: 0; background: var(--navy-700); color: #fff; padding: 0 24px; font-weight: 700; font-size: 16px; }
.hero-search button:hover { background: var(--navy-800); }
@media (max-width: 560px) { .hero-search .lbl span { display: none; } }

/* ============== SERVICES (the "I want to…" grid) ============== */
.section { padding: 60px 0; }
.section.gray { background: var(--bg-gray); }
.section.warm { background: var(--bg-warm); }
.section.tight { padding: 44px 0; }
.sec-head { margin-bottom: 30px; }
.sec-head.center { text-align: center; }
.sec-eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold-2); display: flex; align-items: center; gap: 9px;
}
.sec-head.center .sec-eyebrow { justify-content: center; }
.sec-eyebrow::before, .sec-head.center .sec-eyebrow::after {
  content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block;
}
.sec-head:not(.center) .sec-eyebrow::after { display: none; }
.sec-head h2 {
  font-family: 'Merriweather', serif; font-weight: 900;
  font-size: clamp(26px, 3.2vw, 36px); line-height: 1.12; color: var(--navy-800);
  margin: 12px 0 0; letter-spacing: -0.01em; text-wrap: balance;
}
.sec-head .lead { font-size: 17px; color: var(--ink-3); max-width: 64ch; margin: 12px 0 0; line-height: 1.6; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
.sec-head .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy-700);
  border-radius: var(--r); padding: 22px 20px 18px; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 10px; transition: box-shadow 150ms, transform 150ms, border-color 150ms;
  box-shadow: var(--sh-1);
}
.svc-card:hover { box-shadow: var(--sh-2); transform: translateY(-3px); color: var(--ink); border-top-color: var(--gold); }
.svc-card .svc-ico {
  width: 50px; height: 50px; border-radius: 50%; background: var(--bg-cool);
  display: flex; align-items: center; justify-content: center; color: var(--navy-700); font-size: 21px;
}
.svc-card.red .svc-ico { background: #fbe9e8; color: var(--red); }
.svc-card.red { border-top-color: var(--red); }
.svc-card h3 { font-size: 18px; font-weight: 700; color: var(--navy-800); margin: 0; letter-spacing: -0.01em; }
.svc-card p { font-size: 14px; color: var(--ink-3); margin: 0; line-height: 1.5; flex: 1; }
.svc-card .go { font-size: 13.5px; font-weight: 700; color: var(--link); display: inline-flex; align-items: center; gap: 7px; }
.svc-card:hover .go { gap: 11px; }

/* ============== 911 CALLOUT ============== */
.callout911 { background: var(--navy-900); color: #fff; }
.c911-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.c911-inner .ico {
  width: 50px; height: 50px; border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.c911-inner .txt h3 { margin: 0; font-size: 19px; font-weight: 800; }
.c911-inner .txt p { margin: 3px 0 0; font-size: 14.5px; color: rgba(255,255,255,0.78); }
.c911-inner .nums { margin-left: auto; display: flex; gap: 30px; flex-wrap: wrap; }
.c911-inner .num { text-align: right; }
.c911-inner .num .k { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.6); font-weight: 700; }
.c911-inner .num .v { font-family: 'Merriweather', serif; font-weight: 900; font-size: 26px; color: #fff; }
.c911-inner .num .v.red { color: var(--gold-bright); }

/* ============== NEWS ============== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--sh-1); transition: box-shadow 150ms, transform 150ms;
  text-decoration: none; color: var(--ink);
}
.news-card:hover { box-shadow: var(--sh-2); transform: translateY(-3px); color: var(--ink); }
.news-card .nc-media { height: 168px; }
.news-card .nc-media .ph-img { width: 100%; height: 100%; }
.news-card .nc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card .nc-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.news-card .nc-cat {
  font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--navy-700);
  background: var(--bg-cool); padding: 3px 8px; border-radius: 3px; font-size: 11px;
}
.news-card .nc-date { color: var(--ink-soft); font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.news-card h3 { font-size: 19px; font-weight: 700; color: var(--navy-800); margin: 2px 0 0; line-height: 1.3; letter-spacing: -0.01em; }
.news-card p { font-size: 14.5px; color: var(--ink-3); margin: 0; line-height: 1.5; flex: 1; }
.news-card .nc-foot { font-size: 13.5px; font-weight: 700; color: var(--link); display: inline-flex; align-items: center; gap: 7px; }

/* ============== CHIEF ============== */
.chief-grid { display: grid; grid-template-columns: 320px 1fr; gap: 44px; align-items: center; }
@media (max-width: 860px) { .chief-grid { grid-template-columns: 1fr; gap: 26px; } }
.chief-portrait { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--sh-2); }
.chief-portrait .ph-img { width: 100%; height: 100%; }
.chief-portrait .plate {
  position: absolute; left: 0; right: 0; bottom: 0; background: var(--navy-800);
  padding: 14px 18px; color: #fff;
}
.chief-portrait .plate .n { font-weight: 800; font-size: 17px; }
.chief-portrait .plate .r { font-size: 12px; color: var(--gold-bright); letter-spacing: 0.5px; text-transform: uppercase; font-weight: 700; margin-top: 2px; }
.chief-msg blockquote {
  margin: 16px 0 0; font-family: 'Merriweather', serif; font-size: clamp(19px, 2.4vw, 25px);
  line-height: 1.5; color: var(--navy-900); font-weight: 400; font-style: italic;
}
.chief-msg blockquote .hl { color: var(--gold-2); font-style: normal; font-weight: 700; }
.chief-msg .sig { margin-top: 22px; display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-3); }
.chief-msg .sig b { color: var(--navy-800); font-weight: 800; font-size: 15px; }
.chief-sign { font-family: 'Merriweather', serif; font-style: italic; font-size: 26px; color: var(--navy-700); }

/* ============== STATS BAND ============== */
.stats-band {
  background:
    linear-gradient(rgba(10,28,51,0.92), rgba(10,28,51,0.95)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 14px, transparent 14px 28px), var(--navy-900);
  color: #fff;
}
.stats-inner { max-width: var(--maxw); margin: 0 auto; padding: 50px 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; }
.stat .num { font-family: 'Merriweather', serif; font-weight: 900; font-size: clamp(34px, 4.4vw, 46px); color: #fff; line-height: 1; }
.stat .num.gold { color: var(--gold-bright); }
.stat .lab { font-size: 13.5px; color: rgba(255,255,255,0.74); margin-top: 8px; letter-spacing: 0.3px; }
.stats-foot { text-align: center; margin-top: 34px; font-size: 13px; color: rgba(255,255,255,0.55); font-family: 'JetBrains Mono', monospace; }

/* ============== DIVISIONS / BUREAUS ============== */
.div-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 920px) { .div-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .div-grid { grid-template-columns: 1fr; } }
.dcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--sh-1);
  transition: box-shadow 150ms, border-color 150ms;
}
.dcard:hover { box-shadow: var(--sh-2); border-color: var(--line-2); }
.dcard .dtop { display: flex; align-items: center; gap: 14px; }
.dcard .dico {
  width: 46px; height: 46px; border-radius: 10px; background: var(--navy-800); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0;
}
.dcard .dico.gold { background: var(--gold); color: var(--navy-900); }
.dcard .dico.red { background: var(--red); }
.dcard h3 { font-size: 18px; font-weight: 800; color: var(--navy-800); margin: 0; letter-spacing: -0.01em; }
.dcard .dabbr { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-soft); letter-spacing: 0.5px; text-transform: uppercase; margin-top: 2px; }
.dcard p { font-size: 14px; color: var(--ink-3); margin: 0; line-height: 1.55; flex: 1; }
.dcard .dfoot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.dcard .dfoot .strength { font-family: 'JetBrains Mono', monospace; color: var(--navy-700); font-weight: 700; }
.dcard .dfoot .status { color: var(--green); font-weight: 700; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; }
.dcard .dfoot .status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.dcard .dfoot .status.closed { color: var(--ink-soft); } .dcard .dfoot .status.closed .dot { background: var(--ink-soft); }

/* ============== PROGRAMS ============== */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .prog-grid { grid-template-columns: 1fr; } }
.prog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.prog-card .pc-media { height: 150px; }
.prog-card .pc-media .ph-img { width: 100%; height: 100%; }
.prog-card .pc-body { padding: 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.prog-card h3 { font-size: 19px; font-weight: 800; color: var(--navy-800); margin: 0; letter-spacing: -0.01em; }
.prog-card p { font-size: 14.5px; color: var(--ink-3); margin: 0; line-height: 1.55; flex: 1; }

/* ============== ACADEMY STEPS ============== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps-grid { grid-template-columns: 1fr; } }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px;
  position: relative; box-shadow: var(--sh-1);
}
.step .snum {
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy-800); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: 'Merriweather', serif;
  font-weight: 900; font-size: 18px; margin-bottom: 14px;
}
.step h4 { font-size: 17px; font-weight: 800; color: var(--navy-800); margin: 0 0 7px; letter-spacing: -0.01em; }
.step p { font-size: 14px; color: var(--ink-3); margin: 0 0 10px; line-height: 1.5; }
.step .smeta { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--navy-600); font-weight: 600; letter-spacing: 0.3px; }

.join-split { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; margin-top: 8px; }
@media (max-width: 900px) { .join-split { grid-template-columns: 1fr; } }
.req-box { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--r); padding: 24px; box-shadow: var(--sh-1); }
.req-box h3 { font-size: 19px; font-weight: 800; color: var(--navy-800); margin: 0 0 4px; }
.req-box .rs { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.req-box ul { list-style: none; padding: 0; margin: 0; }
.req-box li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.req-box li:last-child { border-bottom: 0; }
.req-box li .fa { color: var(--green); margin-top: 3px; font-size: 13px; }
.req-box .req-cta { margin-top: 16px; display: grid; gap: 10px; }

/* ============== CTA BAND ============== */
.cta-band {
  background:
    linear-gradient(rgba(10,28,51,0.90), rgba(10,28,51,0.94)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 14px, transparent 14px 28px), var(--navy-800);
  color: #fff; text-align: center;
}
.cta-inner { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
.cta-inner .seal { margin: 0 auto 20px; }
.cta-inner h2 { font-family: 'Merriweather', serif; font-weight: 900; font-size: clamp(28px, 4vw, 42px); margin: 0 0 14px; line-height: 1.1; text-wrap: balance; }
.cta-inner h2 .gold { color: var(--gold-bright); }
.cta-inner p { font-size: 17px; color: rgba(255,255,255,0.82); margin: 0 auto 26px; max-width: 56ch; line-height: 1.6; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============== FOOTER ============== */
.footer { background: var(--navy-900); color: rgba(255,255,255,0.82); }
.foot-top { max-width: var(--maxw); margin: 0 auto; padding: 52px 24px 40px; display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; gap: 28px; } }
.foot-brand .fb-row { display: flex; align-items: center; gap: 14px; }
.foot-brand .fb-row .name { font-family: 'Merriweather', serif; font-weight: 900; font-size: 18px; color: #fff; line-height: 1.2; }
.foot-brand .fb-row .name span { display: block; font-family: 'Public Sans', sans-serif; font-weight: 600; font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-bright); }
.foot-brand p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.66); margin: 16px 0 0; max-width: 34ch; }
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; text-decoration: none; }
.foot-social a:hover { background: var(--gold); color: var(--navy-900); }
.foot-col h4 { font-size: 12.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-col a { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 14px; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-id { border-top: 1px solid rgba(255,255,255,0.12); }
.foot-id-inner { max-width: var(--maxw); margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-id-inner .seal { width: 44px; height: 44px; border-width: 2px; }
.foot-id-inner .seal i.shield { font-size: 21px; } .foot-id-inner .seal i.star { font-size: 8px; }
.foot-id-inner .idtxt { font-size: 13px; color: rgba(255,255,255,0.6); }
.foot-id-inner .idtxt b { color: rgba(255,255,255,0.85); }
.foot-id-inner .req-links { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; font-size: 12.5px; }
.foot-id-inner .req-links a { color: rgba(255,255,255,0.7); text-decoration: none; }
.foot-id-inner .req-links a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,0.1); }
.foot-bottom-inner { max-width: var(--maxw); margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,0.5); }
/* =========================================================================
   LSPD additions — auth, characters, citations, crime-report wizard.
   All selectors are flat (no SCSS-style nesting, no `&`) so this is
   portable plain CSS that parses in every browser.
   ========================================================================= */

/* ── Plain-text seal override — drop the icon stack, render "LSPD" ─────── */
.seal i, .seal::before { display: none !important; }
.seal { font-family: 'Merriweather', serif; font-weight: 900; color: var(--gold-bright);
    font-size: 14px; letter-spacing: .04em; line-height: 1; }
.seal::after { content: 'LSPD'; }
.seal.lg { font-size: 26px; letter-spacing: .03em; }
.foot-brand .seal { width: 60px; height: 60px; flex: none; }

/* ─────────────────────────────────────────────────────────────────────────
   AUTH (sign-in card on /auth)
   ───────────────────────────────────────────────────────────────────────── */
.auth-section { padding: 80px 0 100px; background: var(--bg-gray); min-height: 70vh; }
.auth-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .auth-inner { grid-template-columns: 1fr; gap: 32px; } }

.auth-side .seal { margin-bottom: 18px; }
.auth-side h1 { font-family: 'Merriweather', serif; font-weight: 900; font-size: clamp(28px, 3.4vw, 38px);
    color: var(--navy-800); line-height: 1.12; margin: 6px 0 14px; letter-spacing: -.01em; }
.auth-side p { color: var(--ink-3); font-size: 16px; line-height: 1.6; max-width: 52ch; }
.auth-bullets { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 9px; }
.auth-bullets li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.auth-bullets li i { color: var(--green); font-size: 12px; width: 14px; }

.auth-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy-800);
    border-radius: var(--r); padding: 32px 32px 28px; box-shadow: var(--sh-2); max-width: 440px; width: 100%; justify-self: end; }
.auth-card h2 { font-family: 'Merriweather', serif; font-weight: 900; font-size: 24px; color: var(--navy-800); margin: 0 0 18px; }
@media (max-width: 900px) { .auth-card { justify-self: stretch; max-width: none; } }

.auth-error { background: #fdecea; border: 1px solid #f3c4be; color: #8b1e16;
    padding: 11px 14px; border-radius: var(--r); margin-bottom: 16px; font-size: 14px;
    display: flex; align-items: center; gap: 9px; }
.auth-error i { color: var(--red); }

.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.field span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.field input { padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--r);
    font: 500 15px 'Public Sans', system-ui, sans-serif; color: var(--ink);
    transition: border-color .15s, box-shadow .15s; }
.field input:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(16,42,76,.12); }

.auth-submit { width: 100%; margin-top: 6px; justify-content: center; }
.auth-foot { margin-top: 18px; font-size: 13px; color: var(--ink-3); text-align: center; }
.auth-foot a { color: var(--link); }
.auth-foot a:hover { color: var(--link-hover); text-decoration: underline; }
.auth-foot .sep { color: var(--line-2); margin: 0 6px; }

/* ─────────────────────────────────────────────────────────────────────────
   CHARACTERS picker (/characters)
   ───────────────────────────────────────────────────────────────────────── */
.char-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.char-head h1 { font-family: 'Merriweather', serif; font-weight: 900; font-size: clamp(28px, 3.4vw, 36px);
    color: var(--navy-800); margin: 6px 0 10px; }
.char-head .lead { font-size: 16px; color: var(--ink-3); }

.char-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 880px; margin: 0 auto;
    background: transparent; border: 0; padding: 0; }
@media (max-width: 720px) { .char-grid { grid-template-columns: 1fr; } }

.char-card { display: grid; grid-template-columns: 64px 1fr 26px; align-items: center; gap: 18px;
    padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    border-left: 4px solid var(--line-2); text-align: left;
    cursor: pointer; transition: border-color .15s, transform .12s, box-shadow .15s;
    font-family: inherit; color: inherit; }
.char-card:hover { border-color: var(--navy-700); border-left-color: var(--navy-700);
    transform: translateY(-2px); box-shadow: var(--sh-2); }
.char-card.sworn { border-left-color: var(--gold); }
.char-card.sworn:hover { border-color: var(--gold-2); border-left-color: var(--gold-2); }

.char-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    background: var(--bg-cool); color: var(--navy-700); font-size: 20px; }
.char-card.sworn .char-ico { background: rgba(201,162,39,.15); color: var(--gold-2); }

.char-meta h3 { font-family: 'Public Sans', system-ui, sans-serif; font-weight: 700; font-size: 17px;
    color: var(--navy-800); margin: 0 0 4px; letter-spacing: -.01em; }
.char-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.char-sub .chip { background: var(--bg-cool); color: var(--navy-700); padding: 2px 9px; border-radius: 999px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.char-sub .chip.chip-gold { background: rgba(201,162,39,.18); color: var(--gold-2); }
.char-sub .mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; color: var(--ink-soft); }
.char-last { color: var(--ink-soft); font-size: 12px; }
.char-go { color: var(--ink-soft); font-size: 16px; transition: transform .15s; }
.char-card:hover .char-go { transform: translateX(4px); color: var(--navy-700); }

.char-foot { text-align: center; color: var(--ink-soft); font-size: 13px; max-width: 620px;
    margin: 28px auto 0; line-height: 1.6; }

.char-empty { text-align: center; max-width: 460px; margin: 40px auto;
    padding: 40px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.char-empty h2 { font-family: 'Merriweather', serif; font-weight: 900; color: var(--navy-800); margin: 14px 0 8px; }
.char-empty p { color: var(--ink-3); margin-bottom: 22px; }

/* ─────────────────────────────────────────────────────────────────────────
   CITATIONS (/citations)
   ───────────────────────────────────────────────────────────────────────── */
.cite-empty, .cite-clean { text-align: center; max-width: 560px; margin: 28px auto;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: 40px 32px; box-shadow: var(--sh-1); }
.cite-empty h3, .cite-clean h3 { font-family: 'Merriweather', serif; font-weight: 900; font-size: 22px;
    color: var(--navy-800); margin: 14px 0 8px; }
.cite-empty p, .cite-clean p { color: var(--ink-3); max-width: 44ch; margin: 0 auto 18px; line-height: 1.6; }
.cite-clean { padding: 36px 28px; }
.cite-clean > i { font-size: 36px; color: var(--green); }

.cite-stat-row { display: flex; justify-content: center; gap: 36px; margin-top: 28px;
    border-top: 1px solid var(--line); padding-top: 24px; flex-wrap: wrap; }
.cite-stat b { display: block; font-family: 'Merriweather', serif; font-weight: 900;
    font-size: 22px; color: var(--navy-800); }
.cite-stat small { color: var(--ink-soft); font-size: 12px; }

.cite-summary { display: flex; align-items: center; justify-content: space-between; gap: 28px;
    flex-wrap: wrap;
    background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold);
    border-radius: var(--r); padding: 22px 26px; margin: 22px 0 18px; box-shadow: var(--sh-1); }
.cite-summary h3 { font-family: 'Merriweather', serif; font-weight: 900; color: var(--navy-800);
    font-size: 22px; margin: 4px 0 4px; letter-spacing: -.01em; }
.cite-summary p { color: var(--ink-3); font-size: 13.5px; margin: 0; }
.cite-summary p b { color: var(--navy-800); }
.cite-eyebrow { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px;
    color: var(--gold-2); }

.cite-summary-stats { display: flex; gap: 28px; }
.cs-stat b { display: block; font-family: 'Merriweather', serif; font-weight: 900;
    font-size: 28px; color: var(--navy-800); line-height: 1; margin-bottom: 2px; }
.cs-stat small { color: var(--ink-soft); font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; }
.cs-stat.owed b { color: var(--red); }

.cite-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.cite-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--line-2);
    border-radius: var(--r); padding: 16px 18px; box-shadow: var(--sh-1); }
.cite-card.cite-unpaid { border-left-color: var(--red); }
.cite-card.cite-paid { border-left-color: var(--green); background: #fafdfb; }
.cite-card.cite-waived { border-left-color: var(--ink-soft); background: var(--bg-gray); }
.cite-card.cite-disputed { border-left-color: var(--gold-2); }

.cite-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.cite-id { color: var(--ink-soft); font-size: 11.5px; margin-bottom: 2px; }
.cite-card h4 { font-family: 'Public Sans', system-ui, sans-serif; font-weight: 700;
    color: var(--navy-800); font-size: 16px; margin: 0 0 6px; letter-spacing: -.005em; }
.cite-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--ink-3); font-size: 13px; }
.cite-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cite-meta span i { color: var(--ink-soft); font-size: 11px; }
.cite-meta .overdue { color: var(--red); font-weight: 600; }
.cite-meta .overdue i { color: var(--red); }
.cite-right { text-align: right; flex: none; min-width: 130px; }
.cite-amount { font-family: 'Merriweather', serif; font-weight: 900; font-size: 24px;
    color: var(--navy-800); line-height: 1; margin-bottom: 8px; }
.cite-pill { display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
    letter-spacing: .03em; }
.cite-pill i { font-size: 10px; }
.cite-pill.cite-pill-unpaid { background: rgba(181,9,9,.1); color: var(--red); }
.cite-pill.cite-pill-paid { background: rgba(26,127,55,.12); color: var(--green); }
.cite-pill.cite-pill-waived { background: var(--bg-cool); color: var(--ink-soft); }
.cite-pill.cite-pill-disputed { background: rgba(201,162,39,.15); color: var(--gold-2); }

.cite-actions { display: flex; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.cite-dispute { margin-top: 12px; padding: 14px; background: var(--bg-gray);
    border: 1px solid var(--line); border-radius: var(--r); }
.cite-dispute label { display: block; }
.cite-dispute span { display: block; font-size: 11.5px; font-weight: 700; color: var(--ink-2);
    text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.cite-dispute textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-2);
    border-radius: var(--r); font: 400 14px 'Public Sans', system-ui, sans-serif;
    color: var(--ink); resize: vertical; }
.cite-dispute small { display: block; color: var(--ink-soft); font-size: 12px; margin: 8px 0 10px; }
.cite-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
    color: var(--gold-2); font-size: 13px; }
.cite-note i { margin-right: 6px; }
.cite-note.muted { color: var(--ink-soft); }

.alertbar.good .alert-inner { background: rgba(26,127,55,.08); border-color: rgba(26,127,55,.3); color: var(--green); }
.alertbar.good .alert-inner i { color: var(--green); }
.alertbar.bad .alert-inner { background: rgba(181,9,9,.08); border-color: rgba(181,9,9,.3); color: var(--red); }
.alertbar.bad .alert-inner i { color: var(--red); }

.cite-disclaimer { color: var(--ink-soft); font-size: 12.5px; text-align: center;
    max-width: 640px; margin: 28px auto 0; line-height: 1.6; }
.cite-disclaimer a { color: var(--link); }

@media (max-width: 720px) {
    .cite-summary, .cite-summary-stats { flex-direction: column; align-items: flex-start; gap: 14px; }
    .cite-row { flex-direction: column; }
    .cite-right { text-align: left; }
}

/* ─────────────────────────────────────────────────────────────────────────
   CRIME-REPORT WIZARD (/report-crime)
   ───────────────────────────────────────────────────────────────────────── */
.wizard { max-width: 820px; margin: 22px 0 24px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--sh-1); padding: 28px 32px 26px; }

/* progress bar */
.wiz-steps { list-style: none; padding: 0; margin: 0 0 28px;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
    border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.wiz-steps li { display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--ink-soft); font-size: 11.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
.wiz-steps li .dot { width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--bg-cool); color: var(--ink-soft);
    font-family: 'Merriweather', serif; font-size: 13px; font-weight: 900;
    border: 2px solid transparent; }
.wiz-steps li .lab { text-align: center; line-height: 1.2; }
.wiz-steps li.active { color: var(--navy-800); }
.wiz-steps li.active .dot { background: var(--navy-800); color: #fff; border-color: var(--gold); }
.wiz-steps li.done .dot { background: var(--green); color: #fff; }
@media (max-width: 600px) {
    .wiz-steps li .lab { display: none; }
}

.wiz-pane { display: none; padding: 0; border: 0; margin: 0; }
.wiz-pane.active { display: block; }
.wiz-pane legend { font-family: 'Merriweather', serif; font-weight: 900;
    color: var(--navy-800); font-size: 22px; margin: 0 0 6px;
    letter-spacing: -.01em; padding: 0; }
.wiz-help { color: var(--ink-3); font-size: 14.5px; margin: 0 0 18px; line-height: 1.55; }

.wiz-field { display: block; margin-bottom: 16px; }
.wiz-field > span { display: block; font-size: 12px; font-weight: 700; color: var(--ink-2);
    text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.wiz-field > span small { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-soft); font-size: 11px; }
.wiz-field input, .wiz-field textarea, .wiz-field select {
    width: 100%; padding: 11px 13px;
    border: 1px solid var(--line-2); border-radius: var(--r);
    font: 400 15px 'Public Sans', system-ui, sans-serif; color: var(--ink);
    transition: border-color .15s, box-shadow .15s; }
.wiz-field input:focus, .wiz-field textarea:focus, .wiz-field select:focus {
    outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(16,42,76,.12); }
.wiz-field input:disabled, .wiz-field textarea:disabled {
    background: var(--bg-gray); color: var(--ink-soft); }
.wiz-field textarea { resize: vertical; min-height: 80px; }
.wiz-field > small { display: block; color: var(--ink-soft); font-size: 12px; margin-top: 6px; line-height: 1.5; }
.wiz-field.muted { opacity: .5; }

.wiz-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .wiz-row-2 { grid-template-columns: 1fr; } }

.wiz-toggle { display: flex; gap: 12px; align-items: flex-start;
    padding: 12px 14px; background: var(--bg-cool); border: 1px solid var(--line);
    border-radius: var(--r); margin-bottom: 16px; cursor: pointer; }
.wiz-toggle input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy-700); flex: none; }
.wiz-toggle span { color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
.wiz-toggle b { color: var(--navy-800); }

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 720px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cat-grid { grid-template-columns: 1fr; } }

.cat-card { position: relative; display: flex; gap: 12px; padding: 14px;
    background: #fff; border: 2px solid var(--line); border-radius: var(--r);
    cursor: pointer; transition: border-color .12s, background .12s; }
.cat-card:hover { border-color: var(--navy-600); }
.cat-card input { position: absolute; opacity: 0; pointer-events: none; }
.cat-card:has(input:checked) { border-color: var(--navy-800); background: rgba(16,42,76,.04); }
.cat-card:has(input:checked) .cat-check { opacity: 1; }
.cat-ico { width: 38px; height: 38px; border-radius: 8px; flex: none;
    background: var(--bg-cool); color: var(--navy-700); display: grid; place-items: center; font-size: 16px; }
.cat-card:has(input:checked) .cat-ico { background: var(--navy-800); color: #fff; }
.cat-meta { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.cat-name { font-weight: 700; color: var(--navy-800); font-size: 14px; letter-spacing: -.005em; }
.cat-card small { color: var(--ink-soft); font-size: 12px; line-height: 1.4; }
.cat-check { position: absolute; top: 10px; right: 12px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--green); color: #fff; display: grid; place-items: center;
    font-size: 9px; opacity: 0; transition: opacity .12s; }

/* nav */
.wiz-nav { display: flex; justify-content: space-between; gap: 10px;
    margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.wiz-nav .btn:first-child { margin-right: auto; }

/* review */
.wiz-review { display: grid; grid-template-columns: 130px 1fr; gap: 6px 18px;
    margin: 8px 0 18px; padding: 16px 18px;
    background: var(--bg-gray); border: 1px solid var(--line); border-radius: var(--r); }
.wiz-review dt { color: var(--ink-2); font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em; margin: 4px 0 0; }
.wiz-review dd { margin: 4px 0; color: var(--ink); font-size: 14px; line-height: 1.5; word-wrap: break-word; }

/* ── Confirmation screen ─────────────────────────────────── */
.report-confirm { max-width: 720px; margin: 22px auto; padding: 40px 32px;
    background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold);
    border-radius: var(--r); text-align: center; box-shadow: var(--sh-1); }
.report-confirm h2 { font-family: 'Merriweather', serif; font-weight: 900;
    color: var(--navy-800); font-size: 28px; margin: 6px 0 10px; letter-spacing: -.01em; }
.report-confirm .lead { font-size: 16px; color: var(--ink-3); max-width: 52ch; margin: 0 auto 26px; }
.report-confirm-icon { display: inline-grid; place-items: center;
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--navy-800); color: var(--gold-bright);
    font-size: 26px; margin-bottom: 14px;
    border: 2px solid var(--gold); }

.report-ref { display: inline-flex; align-items: center; gap: 14px;
    background: var(--bg-gray); border: 1px solid var(--line); border-radius: var(--r);
    padding: 14px 22px; margin-bottom: 28px; }
.report-ref small { display: block; font-size: 11px; font-weight: 700; color: var(--ink-soft);
    text-transform: uppercase; letter-spacing: .8px; text-align: left; }
.report-ref code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 22px;
    color: var(--navy-800); font-weight: 700; letter-spacing: 1.5px;
    background: transparent; padding: 0; }

.report-next { text-align: left; max-width: 560px; margin: 0 auto 22px; }
.report-next h3 { font-family: 'Merriweather', serif; font-weight: 900; color: var(--navy-800);
    font-size: 18px; margin: 0 0 12px; }
.report-next ol { padding-left: 22px; color: var(--ink-2); font-size: 14.5px; line-height: 1.65; }
.report-next ol li { margin-bottom: 8px; }
.report-next ol b { color: var(--navy-800); }
.report-priority { font-size: 14px; color: var(--ink-2); margin: 14px 0 0; }
.report-priority b { color: var(--navy-800); margin-right: 6px; }
.report-priority .cite-pill { margin-left: 4px; }
.report-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 18px 0 20px; }
.report-emergency { display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 16px; background: rgba(181,9,9,.07); border: 1px solid rgba(181,9,9,.25);
    border-radius: var(--r); color: var(--ink-2); font-size: 13.5px; }
.report-emergency i { color: var(--red); }
.report-emergency a { color: var(--red); font-weight: 700; }

/* status lookup detail card */
.report-detail { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy-800);
    border-radius: var(--r); padding: 26px 28px; box-shadow: var(--sh-1); max-width: 800px; margin: 22px 0; }
.report-detail header { display: flex; align-items: flex-start; justify-content: space-between;
    gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px;
    flex-wrap: wrap; }
.report-detail header h3 { font-family: 'Merriweather', serif; font-weight: 900; color: var(--navy-800);
    font-size: 22px; margin: 4px 0 8px; letter-spacing: -.01em; }
.report-detail h4 { font-family: 'Merriweather', serif; font-weight: 900; color: var(--navy-800);
    font-size: 16px; margin: 20px 0 6px; }
.report-detail p { color: var(--ink-2); line-height: 1.65; font-size: 15px; }
.report-detail .report-note { padding: 14px 16px; background: var(--bg-gray); border-left: 3px solid var(--gold);
    border-radius: var(--r); color: var(--ink-2); }

.report-kv { display: grid; grid-template-columns: 120px 1fr; gap: 6px 18px; margin: 0 0 18px; }
.report-kv dt { color: var(--ink-soft); font-size: 11.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em; padding-top: 3px; }
.report-kv dd { margin: 0; color: var(--ink); font-size: 14px; }
.report-kv .mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 700; color: var(--navy-800); }

/* status pills (reuse cite-pill base) */
.cite-pill.report-st-new        { background: rgba(56,139,253,.15); color: var(--link); }
.cite-pill.report-st-triaged    { background: rgba(56,139,253,.15); color: var(--link); }
.cite-pill.report-st-assigned,
.cite-pill.report-st-in_progress { background: rgba(201,162,39,.18); color: var(--gold-2); }
.cite-pill.report-st-resolved   { background: rgba(26,127,55,.12); color: var(--green); }
.cite-pill.report-st-closed     { background: var(--bg-cool); color: var(--ink-soft); }
.cite-pill.report-st-rejected   { background: rgba(181,9,9,.12); color: var(--red); }
.cite-pill.report-st-urgent     { background: rgba(181,9,9,.12); color: var(--red); }
.cite-pill.report-st-high       { background: rgba(201,162,39,.18); color: var(--gold-2); }
.cite-pill.report-st-normal     { background: rgba(56,139,253,.15); color: var(--link); }
.cite-pill.report-st-low        { background: var(--bg-cool); color: var(--ink-soft); }

/* The default UA [hidden] rule has specificity (0,1,0), same as .btn — and the
   .btn rule comes later in the cascade, so it wins and re-shows the button.
   Bump [hidden] with !important so it beats any inline-flex/inline-block .btn
   variant. Applies globally; nothing else in this site relies on programmatic
   display: none overrides. */
[hidden] { display: none !important; }

/* SSO button — the main affordance on /auth */
.sso-btn { width: 100%; justify-content: space-between !important;
    padding: 14px 18px !important; font-size: 15px !important; }
.sso-mark { display: inline-grid; place-items: center;
    width: 34px; height: 34px; border-radius: 6px;
    background: var(--gold); color: var(--navy-900);
    font-family: 'Merriweather', serif; font-weight: 900; font-size: 12px;
    letter-spacing: .04em; flex: none; }
.sso-text { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; flex: 1; margin-left: 12px; text-align: left; }
.sso-line1 { font-weight: 700; font-size: 14.5px; letter-spacing: -.005em; }
.sso-line2 { font-weight: 500; font-size: 11.5px; color: rgba(255,255,255,.7); text-transform: none; letter-spacing: 0; }
.sso-btn i { color: rgba(255,255,255,.85); }

/* ============================================================
   Wanted / News / About / Contact / Portal extensions
   All flat selectors — no nesting.
   ============================================================ */

/* ── Wanted page ───────────────────────────────────────────── */
.wanted-stats, .about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
    margin: 0 0 28px; }
.ws-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: 14px 18px; text-align: center; border-top: 3px solid var(--navy-700); }
.ws-stat.danger { border-top-color: var(--red); }
.ws-stat.success { border-top-color: var(--green); }
.ws-stat b { display: block; font-family: 'Merriweather', serif; font-weight: 900;
    color: var(--navy-800); font-size: 28px; line-height: 1; }
.ws-stat.danger b { color: var(--red); }
.ws-stat.success b { color: var(--green); }
.ws-stat small { display: block; color: var(--ink-soft); font-size: 11.5px;
    text-transform: uppercase; letter-spacing: .04em; margin-top: 6px; }
@media (max-width: 720px) {
    .wanted-stats, .about-stats { grid-template-columns: repeat(2, 1fr); }
}

.wanted-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
@media (max-width: 760px) { .wanted-grid { grid-template-columns: 1fr; } }
.wanted-card { display: grid; grid-template-columns: 110px 1fr; gap: 18px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    border-left: 4px solid var(--line-2); padding: 18px; box-shadow: var(--sh-1); }
.wanted-card.wanted-felony { border-left-color: var(--red); }
.wanted-card.wanted-misdemeanor { border-left-color: var(--gold); }
.wanted-mug { background: var(--bg-cool); border-radius: var(--r); display: flex;
    flex-direction: column; align-items: center; justify-content: center; padding: 18px 10px;
    color: var(--navy-700); font-size: 38px; gap: 8px; }
.wanted-mug .mono { font-size: 11px; color: var(--ink-soft); font-weight: 700; }
.wanted-body h3 { font-family: 'Merriweather', serif; font-weight: 900;
    color: var(--navy-800); font-size: 20px; margin: 0 0 6px; }
.wanted-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--ink-3); font-size: 13px;
    margin-bottom: 8px; align-items: center; }
.wanted-meta .muted { color: var(--ink-soft); }
.wanted-meta i { font-size: 10px; }
.chip { background: var(--bg-cool); color: var(--navy-700); padding: 2px 9px; border-radius: 999px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.chip.chip-felony { background: rgba(181,9,9,.12); color: var(--red); }
.chip.chip-misdemeanor { background: rgba(201,162,39,.18); color: var(--gold-2); }
.wanted-charge { color: var(--navy-800); font-size: 15px; line-height: 1.5; margin: 8px 0 4px; }
.wanted-desc { color: var(--ink-2); font-size: 13.5px; line-height: 1.55; margin: 4px 0 8px; }
.wanted-foot { color: var(--ink-soft); font-size: 11.5px; padding-top: 10px;
    border-top: 1px solid var(--line); margin-top: 10px; }
.wanted-foot .mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

.tip-form { max-width: 720px; margin: 22px 0 0;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: 22px 24px; box-shadow: var(--sh-1); }

/* ── News list ─────────────────────────────────────────────── */
.news-filter { display: flex; gap: 6px; margin: 0 0 22px; flex-wrap: wrap; }
.news-filter a { padding: 8px 16px; border-radius: var(--r);
    background: #fff; border: 1px solid var(--line); color: var(--ink-2);
    font-size: 13.5px; font-weight: 600; text-decoration: none;
    transition: border-color .12s, color .12s; }
.news-filter a:hover { border-color: var(--navy-700); color: var(--navy-800); }
.news-filter a.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-row { display: grid; grid-template-columns: 220px 1fr; gap: 22px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    overflow: hidden; text-decoration: none; color: inherit;
    transition: transform .12s, box-shadow .15s; }
.news-row:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.news-row-img { background: var(--bg-cool); }
.news-row-img img, .news-row-img .ph-img { width: 100%; height: 100%; object-fit: cover; }
.news-row-body { padding: 18px 20px; }
.news-row-body h3 { font-family: 'Merriweather', serif; font-weight: 900;
    color: var(--navy-800); font-size: 19px; margin: 6px 0 8px; letter-spacing: -.01em; }
.news-row-body p { color: var(--ink-3); font-size: 14px; line-height: 1.55; margin: 0 0 8px; }
.nc-meta .muted { color: var(--ink-soft); font-size: 12px; }
.nc-meta .muted i { font-size: 10px; margin-right: 3px; }
@media (max-width: 720px) {
    .news-row { grid-template-columns: 1fr; }
    .news-row-img { aspect-ratio: 16/9; }
}

/* ── Article detail ────────────────────────────────────────── */
.article { max-width: 780px; }
.article-back { display: inline-flex; align-items: center; gap: 7px;
    color: var(--link); text-decoration: none; font-size: 13.5px; margin-bottom: 18px; }
.article-back:hover { text-decoration: underline; }
.article-meta { display: flex; gap: 14px; flex-wrap: wrap;
    color: var(--ink-soft); font-size: 12.5px; margin-bottom: 10px; align-items: center; }
.article-meta .muted { color: var(--ink-soft); }
.article h1 { font-family: 'Merriweather', serif; font-weight: 900;
    color: var(--navy-800); font-size: clamp(28px, 4vw, 38px); line-height: 1.15;
    margin: 8px 0 22px; letter-spacing: -.01em; }
.article-img { margin: 0 0 22px; border-radius: var(--r); overflow: hidden;
    border: 1px solid var(--line); }
.article-img img { width: 100%; display: block; }
.article-body { color: var(--ink); font-size: 16px; line-height: 1.75;
    white-space: pre-wrap; }

/* ── About page ─────────────────────────────────────────────── */
.about-values { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.about-values li { display: flex; gap: 14px; align-items: flex-start;
    padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.about-values li i { color: var(--gold-2); font-size: 18px; flex: none;
    width: 36px; height: 36px; border-radius: 8px; background: rgba(201,162,39,.12);
    display: grid; place-items: center; }
.about-values li > div { flex: 1; }
.about-values b { display: block; color: var(--navy-800); font-size: 15px; margin-bottom: 2px; }
.about-values span { display: block; color: var(--ink-3); font-size: 13.5px; line-height: 1.5; }

.rank-table { width: 100%; border-collapse: collapse;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    overflow: hidden; box-shadow: var(--sh-1); }
.rank-table th, .rank-table td { padding: 10px 14px; text-align: left;
    border-bottom: 1px solid var(--line); font-size: 14px; }
.rank-table th { background: var(--bg-gray); color: var(--ink-2); font-size: 12px;
    text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.rank-table td.num, .rank-table th.num { text-align: right; }
.rank-table tr.cmd td { color: var(--navy-800); font-weight: 700; background: rgba(201,162,39,.05); }
.rank-table tfoot th { background: var(--navy-800); color: #fff; font-weight: 700; }
.rank-table .mono { font-family: 'JetBrains Mono', ui-monospace, monospace; color: var(--ink-soft); font-size: 12.5px; }

/* ── Contact page ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Careers app banner ─────────────────────────────────────── */
.app-banner { display: flex; align-items: center; justify-content: space-between; gap: 22px;
    flex-wrap: wrap;
    background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold);
    border-radius: var(--r); padding: 18px 22px; margin: 0 0 24px; box-shadow: var(--sh-1); }
.app-banner h3 { font-family: 'Public Sans', system-ui, sans-serif; font-weight: 700;
    color: var(--navy-800); font-size: 16px; margin: 4px 0 4px; }
.app-banner p { color: var(--ink-3); font-size: 13.5px; margin: 0; }

/* ── Portal cards as interactive links ─────────────────────── */
.dcard.portal-link { cursor: pointer; text-decoration: none; color: inherit;
    transition: transform .12s, box-shadow .15s, border-color .15s; display: block; }
.dcard.portal-link:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: var(--navy-700); }

/* ============================================================
   Review queue (/review)
   ============================================================ */

.rv-summary { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
    margin-bottom: 22px; }
@media (max-width: 900px) { .rv-summary { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .rv-summary { grid-template-columns: repeat(2, 1fr); } }

.rv-tab { background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: 12px 14px; cursor: pointer; text-align: left;
    transition: border-color .12s, box-shadow .15s, transform .1s;
    border-top: 3px solid var(--line-2); }
.rv-tab:hover { border-color: var(--navy-700); transform: translateY(-1px); }
.rv-tab.is-active { border-color: var(--navy-800); border-top-color: var(--navy-800);
    box-shadow: var(--sh-1); }
.rv-tab b { display: block; font-family: 'Merriweather', serif; font-weight: 900;
    color: var(--navy-800); font-size: 24px; line-height: 1; }
.rv-tab small { display: block; color: var(--ink-soft); font-size: 11.5px;
    text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }
.rv-tab-pending { border-top-color: var(--gold); }
.rv-tab-pending b { color: var(--gold-2); }
.rv-tab-review { border-top-color: var(--link); }
.rv-tab-review b { color: var(--link); }
.rv-tab-interview { border-top-color: var(--navy-600); }
.rv-tab-approved { border-top-color: var(--green); }
.rv-tab-approved b { color: var(--green); }
.rv-tab-denied { border-top-color: var(--red); }
.rv-tab-denied b { color: var(--red); }

/* Application card */
.rv-list { display: flex; flex-direction: column; gap: 10px; }
.rv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--sh-1); overflow: hidden;
    border-left: 4px solid var(--line-2); }
.rv-card[data-status="pending"]      { border-left-color: var(--gold); }
.rv-card[data-status="under_review"] { border-left-color: var(--link); }
.rv-card[data-status="interview"]    { border-left-color: var(--navy-600); }
.rv-card[data-status="approved"]     { border-left-color: var(--green); }
.rv-card[data-status="denied"]       { border-left-color: var(--red); }

.rv-head { display: grid; grid-template-columns: minmax(0,2.4fr) 130px 110px 110px 24px;
    align-items: center; gap: 16px; padding: 14px 18px; cursor: pointer;
    transition: background .12s; }
.rv-head:hover { background: var(--bg-gray); }
.rv-applicant strong { display: block; color: var(--navy-800); font-size: 15px;
    font-weight: 700; letter-spacing: -.005em; }
.rv-applicant small { display: block; color: var(--ink-soft); font-size: 11.5px;
    margin-top: 2px; font-family: 'JetBrains Mono', ui-monospace, monospace; }

.rv-status { display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em; }
.rv-status-pending      { background: rgba(201,162,39,.18); color: var(--gold-2); }
.rv-status-under_review { background: rgba(56,139,253,.15); color: var(--link); }
.rv-status-interview    { background: rgba(16,42,76,.12); color: var(--navy-800); }
.rv-status-approved     { background: rgba(26,127,55,.12); color: var(--green); }
.rv-status-denied       { background: rgba(181,9,9,.12); color: var(--red); }

.rv-flags { display: flex; gap: 8px; }
.rv-flag { display: inline-flex; align-items: center; gap: 5px;
    background: var(--bg-cool); color: var(--ink-2); padding: 3px 9px;
    border-radius: 4px; font-size: 11.5px; font-weight: 700;
    font-family: 'JetBrains Mono', ui-monospace, monospace; }
.rv-flag i { font-size: 9px; }
.rv-flag.bad { background: rgba(181,9,9,.1); color: var(--red); }
.rv-flag.good { background: rgba(26,127,55,.1); color: var(--green); }

.rv-date { color: var(--ink-soft); font-size: 11.5px; text-align: right;
    font-family: 'JetBrains Mono', ui-monospace, monospace; }
.rv-expand { color: var(--ink-soft); text-align: center;
    transition: transform .15s; }
.rv-card.open .rv-expand { transform: rotate(180deg); }

@media (max-width: 760px) {
    .rv-head { grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
    .rv-flags, .rv-date { display: none; }
}

/* Detail panel */
.rv-detail { display: none; padding: 0 18px 22px;
    border-top: 1px solid var(--line); background: var(--bg-gray); }
.rv-card.open .rv-detail { display: block; }
.rv-detail h4 { font-family: 'Merriweather', serif; font-weight: 900;
    color: var(--navy-800); font-size: 14px; margin: 18px 0 10px;
    letter-spacing: -.005em; }

/* Background snapshot pills */
.rv-bg-row { padding-top: 6px; }
.rv-bg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 720px) { .rv-bg-grid { grid-template-columns: repeat(2, 1fr); } }
.rv-bg { display: flex; flex-direction: column; gap: 4px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: 10px 12px; }
.rv-bg small { color: var(--ink-soft); font-size: 10.5px; text-transform: uppercase;
    letter-spacing: .05em; font-weight: 700; }
.bg-pill { display: inline-block; padding: 3px 10px; border-radius: 4px;
    font-size: 13px; font-weight: 700; align-self: flex-start; }
.bg-pill.bg-good { background: rgba(26,127,55,.12); color: var(--green); }
.bg-pill.bg-bad  { background: rgba(181,9,9,.12); color: var(--red); }
.bg-pill.bg-warn { background: rgba(201,162,39,.18); color: var(--gold-2); }
.bg-pill.mono { font-family: 'JetBrains Mono', ui-monospace, monospace;
    background: var(--bg-cool); color: var(--ink-2); font-weight: 600; }

/* Info sections (contact + prior LE) */
.rv-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) { .rv-info-grid { grid-template-columns: 1fr; } }
.rv-info-grid section { background: #fff; border: 1px solid var(--line);
    border-radius: var(--r); padding: 14px 16px; }
.rv-info-grid dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 14px;
    margin: 0; }
.rv-info-grid dt { color: var(--ink-soft); font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; }
.rv-info-grid dd { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.5; }

.rv-narrative { color: var(--ink); font-size: 14.5px; line-height: 1.65;
    margin: 0; white-space: pre-wrap; word-wrap: break-word; }
.rv-narrative-block { background: #fff; border: 1px solid var(--line);
    border-radius: var(--r); padding: 12px 16px; }
.rv-narrative-block h4 { margin-top: 0; }

.rv-scenarios { background: #fff; border: 1px solid var(--line);
    border-radius: var(--r); padding: 12px 16px; }
.rv-scenarios details { padding: 8px 0; border-bottom: 1px solid var(--line); }
.rv-scenarios details:last-child { border-bottom: 0; }
.rv-scenarios summary { font-weight: 700; color: var(--navy-800); font-size: 14px;
    cursor: pointer; padding: 4px 0; }
.rv-scenarios details[open] summary { margin-bottom: 8px; }

.rv-history { background: rgba(201,162,39,.06); border: 1px solid rgba(201,162,39,.25);
    border-radius: var(--r); padding: 12px 16px; }
.rv-history h4 { margin-top: 0; color: var(--gold-2); }
.rv-history p { color: var(--ink-2); font-size: 13.5px; margin: 4px 0; }
.rv-history p.bad { color: var(--red); }

/* Actions */
.rv-actions { background: #fff; border: 1px solid var(--line);
    border-top: 3px solid var(--navy-800); border-radius: var(--r);
    padding: 14px 16px; margin-top: 18px; }
.rv-actions h4 { margin-top: 0; margin-bottom: 12px; }
.rv-actions-row { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.rv-actions-row .wiz-field { flex: 1; min-width: 200px; margin-bottom: 0; }
.rv-actions-foot { display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.rv-msg { padding: 6px 12px; border-radius: 4px; font-size: 13px; font-weight: 600; }
.rv-msg.good { background: rgba(26,127,55,.1); color: var(--green); }
.rv-msg.bad  { background: rgba(181,9,9,.1); color: var(--red); }

/* ── /apply character picker (radio cards) ─────────────────── */
.apply-chars { display: flex; flex-direction: column; gap: 10px; }
.apply-char { position: relative; display: grid; grid-template-columns: 44px 1fr 26px;
    align-items: center; gap: 14px; padding: 14px 16px;
    background: #fff; border: 2px solid var(--line); border-radius: var(--r);
    cursor: pointer; transition: border-color .12s, background .12s; }
.apply-char:hover { border-color: var(--navy-600); }
.apply-char input { position: absolute; opacity: 0; pointer-events: none; }
.apply-char:has(input:checked) { border-color: var(--navy-800); background: rgba(16,42,76,.04); }
.apply-char:has(input:checked) .cat-check { opacity: 1; }
.apply-char .cat-ico { width: 44px; height: 44px; }
.apply-char:has(input:checked) .cat-ico { background: var(--navy-800); color: #fff; }
.apply-char-name { display: block; font-weight: 700; color: var(--navy-800);
    font-size: 15px; letter-spacing: -.005em; }
.apply-char-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.apply-char-row .chip.chip-warn { background: rgba(201,162,39,.18); color: var(--gold-2); }
.apply-char-row .chip.chip-bad  { background: rgba(181,9,9,.12); color: var(--red); }

/* ============================================================
   Records request — order wizard + printable extract
   ============================================================ */

.rec-pay { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.rec-pay-opt { display: flex; align-items: center; gap: 14px;
    padding: 14px 16px; background: #fff; border: 2px solid var(--line);
    border-radius: var(--r); cursor: pointer; transition: border-color .12s; }
.rec-pay-opt:hover { border-color: var(--navy-600); }
.rec-pay-opt input { accent-color: var(--navy-800); width: 18px; height: 18px; }
.rec-pay-opt:has(input:checked) { border-color: var(--navy-800); background: rgba(16,42,76,.04); }
.rec-pay-opt b { display: block; color: var(--navy-800); font-size: 14.5px; }
.rec-pay-opt small { display: block; color: var(--ink-soft); font-size: 12.5px; margin-top: 2px; }

/* ── Issued records document ───────────────────────────────── */
.rec-toolbar { display: flex; align-items: center; justify-content: space-between;
    gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.rec-document { background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--sh-2); padding: 36px 44px; max-width: 880px; margin: 0 auto;
    color: var(--ink); }
@media (max-width: 720px) { .rec-document { padding: 24px 22px; } }

.rec-letterhead { display: grid; grid-template-columns: 72px 1fr auto; gap: 22px;
    align-items: center; padding-bottom: 22px; border-bottom: 3px solid var(--gold); }
.rec-letterhead .seal { width: 60px; height: 60px; font-size: 14px; }
.rec-pre { font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--gold-2); }
.rec-letterhead h1 { font-family: 'Merriweather', serif; font-weight: 900;
    color: var(--navy-800); font-size: 26px; margin: 4px 0 4px; letter-spacing: -.01em; }
.rec-sub { color: var(--ink-3); font-size: 13px; }
.rec-ref { text-align: right; }
.rec-ref small { display: block; font-size: 10px; font-weight: 700; color: var(--ink-soft);
    text-transform: uppercase; letter-spacing: 1px; }
.rec-ref code { font-family: 'JetBrains Mono', ui-monospace, monospace;
    color: var(--navy-800); font-size: 16px; font-weight: 700; letter-spacing: 1px;
    background: transparent; padding: 0; }

.rec-block { padding: 18px 0; border-bottom: 1px solid var(--line); }
.rec-block:last-of-type { border-bottom: 0; }
.rec-block h3 { font-family: 'Merriweather', serif; font-weight: 900;
    color: var(--navy-800); font-size: 16px; margin: 0 0 12px;
    text-transform: uppercase; letter-spacing: .05em; }

.rec-kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 16px; margin: 0; }
.rec-kv dt { color: var(--ink-soft); font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em; }
.rec-kv dd { margin: 0; color: var(--ink); font-size: 14px; }

.rec-summary { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 720px) { .rec-summary { grid-template-columns: repeat(2, 1fr); } }
.rec-stat { background: var(--bg-gray); border-radius: var(--r); padding: 14px 12px; text-align: center; }
.rec-stat b { display: block; font-family: 'Merriweather', serif; font-weight: 900;
    color: var(--navy-800); font-size: 26px; line-height: 1; }
.rec-stat small { display: block; color: var(--ink-soft); font-size: 11px;
    text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; }
.rec-stat.red b { color: var(--red); }

.rec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rec-table th, .rec-table td { padding: 8px 10px; text-align: left;
    border-bottom: 1px solid var(--line); vertical-align: top; }
.rec-table th { background: var(--bg-gray); color: var(--ink-2); font-size: 11.5px;
    text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.rec-table .mono { font-family: 'JetBrains Mono', ui-monospace, monospace;
    color: var(--navy-800); font-size: 12px; }
.rec-empty { color: var(--ink-soft); font-style: italic; font-size: 13.5px; }

.rec-cert { padding-top: 22px; margin-top: 14px; border-top: 1px solid var(--line); }
.rec-cert p { color: var(--ink-3); font-size: 12.5px; line-height: 1.6; font-style: italic; }
.rec-sig { margin-top: 36px; }
.rec-sig-line { border-bottom: 1px solid var(--ink-soft); width: 280px;
    margin-bottom: 6px; }
.rec-sig div { font-size: 12.5px; color: var(--ink-2); }
.rec-issued { color: var(--ink-soft); font-size: 11.5px; margin-top: 2px; }

/* Print stylesheet — strip the chrome, render only the document. */
@media print {
    body { background: #fff; }
    .gov-banner, .masthead, .navbar, .alertbar, .footer,
    .sec-head, .no-print, .rec-toolbar, .section { display: none !important; }
    .container { max-width: none; padding: 0; }
    .rec-document { border: 0; box-shadow: none; padding: 0; max-width: 100%; }
    .rec-block { break-inside: avoid; }
    .rec-table { font-size: 11.5px; }
    @page { margin: 18mm; size: A4; }
}

/* IAD complaints inbox borrows review styling — extra rule for clickable card rows. */
a.rv-card:hover .rv-head { background: var(--bg-gray); }

/* Section sub-header inside a wizard pane */
.apply-section { font-family: 'Merriweather', serif; font-weight: 900;
    color: var(--navy-800); font-size: 14px; margin: 26px 0 12px;
    padding-top: 14px; border-top: 1px solid var(--line);
    text-transform: uppercase; letter-spacing: .04em; }
.wiz-pane > .apply-section:first-of-type { padding-top: 0; border-top: 0; margin-top: 22px; }

.rv-disclosures { background: #fff; border: 1px solid var(--line);
    border-radius: var(--r); padding: 12px 16px; }
.rv-disclosures h4 { margin-top: 0; }
.rv-disc-row { display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.rv-disc-row:last-child { border-bottom: 0; }
.rv-disc-label { color: var(--ink-2); }
.rv-disc-val { color: var(--navy-800); font-weight: 700; font-size: 13px;
    background: var(--bg-cool); padding: 2px 9px; border-radius: 4px; }
.rv-disc-row.flagged .rv-disc-val { background: rgba(181,9,9,.12); color: var(--red); }
.rv-disc-row + p.rv-narrative { background: var(--bg-gray); padding: 10px 14px;
    margin: 0 0 6px; border-radius: var(--r); font-size: 13.5px; }

/* ============================================================
   /about — lore typography + the Castle band
   ============================================================ */

.lore { max-width: 820px; }
.lore .sec-head { margin-bottom: 22px; }
.lore-body p { color: var(--ink); font-size: 16px; line-height: 1.75; margin: 0 0 16px;
    font-family: 'Public Sans', system-ui, sans-serif; }
.lore-body p b { color: var(--navy-800); font-weight: 700; }
.lore-fig { margin: 24px 0; }
.lore-fig .ph-img { aspect-ratio: 16/9; border-radius: var(--r); }
.lore-fig img { width: 100%; display: block; border-radius: var(--r);
    border: 1px solid var(--line); }
.lore-fig figcaption { color: var(--ink-soft); font-size: 12.5px;
    font-style: italic; margin-top: 8px; text-align: center; }
.lore-fig.emblem { max-width: 260px; margin: 24px auto; }
.lore-fig.emblem .ph-img { aspect-ratio: 1/1; border-radius: 50%; }
.lore-fig.portrait { max-width: 360px; margin: 24px auto; }
.lore-fig.portrait .ph-img { aspect-ratio: 4/5; }
.lore-fig.portrait img { aspect-ratio: 4/5; object-fit: cover; }

.lore-note { color: var(--ink-3); font-size: 14px; line-height: 1.65;
    background: rgba(201,162,39,.06); border-left: 3px solid var(--gold);
    border-radius: var(--r); padding: 14px 18px; margin: 22px 0 0; max-width: 820px; }

/* Castle band — the 1992 siege section */
.castle-band { background: linear-gradient(180deg, var(--navy-900) 0%, #0a1928 100%);
    color: #e6edf3; position: relative; overflow: hidden; }
.castle-band::before { content: ; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(135deg, transparent, transparent 14px,
        rgba(201,162,39,.025) 14px, rgba(201,162,39,.025) 15px); pointer-events: none; }
.castle-band .lore-body p { color: rgba(230,237,243,.92); }
.castle-band .lore-body p b { color: var(--gold-bright); }
.castle-band .sec-head { position: relative; }
.castle-eyebrow { color: var(--gold-bright) !important; }
.castle-h2 { font-family: 'Merriweather', serif; font-weight: 900;
    color: #fff; font-size: clamp(28px, 4vw, 38px); margin-top: 6px; letter-spacing: -.01em; }
.castle-band .lore-fig .ph-img { background: rgba(255,255,255,.04); }
.castle-band .lore-fig figcaption { color: rgba(255,255,255,.6); }

.castle-quote { font-family: 'Merriweather', serif; font-weight: 900;
    font-size: clamp(28px, 5vw, 52px); color: var(--gold-bright);
    text-align: center; padding: 38px 28px; margin: 28px 0;
    background: rgba(255,255,255,.04); border: 2px solid var(--gold);
    border-radius: var(--r); letter-spacing: .04em;
    text-shadow: 0 1px 0 rgba(0,0,0,.4);
    transform: rotate(-1deg); }
.castle-quote.small { font-size: clamp(20px, 3vw, 28px); padding: 18px 22px;
    margin: 18px auto; max-width: 480px; transform: none; }

/* Division cards on /about — accent borders */
.dcard.div-1   { border-top: 4px solid var(--gold); }
.dcard.div-2   { border-top: 4px solid var(--navy-700); }
.dcard.div-114 { border-top: 4px solid var(--red); }
