@import url('/static/fonts.css');

:root {
  --bg: #f1f1ef;
  --surface: #fff;
  --surface-2: #f8f8f6;
  --ink: #1a1d1f;
  --muted: #6b7176;
  --line: #ddddd8;
  --brand: #2e3338;
  --brand-strong: #14181b;
  --brand-tint: #e8e9e7;
  --marking: #fff;
  --kerb: #e8a33d;
  --e1: #6b7176;
  --e2: #e8a33d;
  --e3: #d2601a;
  --e4: #c8102e;
  --s: #8c1024;
  --shadow: 0 14px 38px rgba(20, 24, 27, .07);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Commissioner, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
button, input, select { font: inherit; }
button { color: inherit; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand-strong);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(232, 163, 61, .75); outline-offset: 3px; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; }
.brand-wordmark { width: 208px; height: auto; }
.language {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 36px;
  padding: 0 11px;
  color: var(--brand-strong);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
}
.language:hover { border-color: #bfc0bb; background: var(--brand-tint); }
.topnav-shell { border-top: 1px solid #ededeb; }
.topnav-wrap { position: relative; display: flex; align-items: center; min-width: 0; }
.topnav {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.topnav::-webkit-scrollbar { display: none; }
.topnav a {
  position: relative;
  flex: none;
  padding: 13px 13px 12px;
  color: #4c5257;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.topnav a::after {
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 3px;
  content: "";
  background: var(--e4);
  border-radius: 4px 4px 0 0;
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity .16s ease, transform .16s ease;
}
.topnav a:hover { color: var(--brand-strong); }
.topnav a.active { color: var(--brand-strong); background: #fff0f2; border-radius: 8px 8px 0 0; font-weight: 800; }
.topnav a.active::after { opacity: 1; transform: scaleX(1); }
.nav-scroll {
  position: relative;
  z-index: 3;
  display: none;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}
.nav-scroll svg { width: 17px; height: 17px; margin: auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.nav-scroll:hover { background: var(--brand-tint); }
.topnav-wrap.has-overflow .nav-scroll { display: block; }
.topnav-wrap:not(.can-scroll-left) .nav-scroll-prev,
.topnav-wrap:not(.can-scroll-right) .nav-scroll-next { visibility: hidden; pointer-events: none; }
.topnav-wrap.has-overflow::before,
.topnav-wrap.has-overflow::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 42px;
  content: "";
  pointer-events: none;
  opacity: 0;
}
.topnav-wrap::before { left: 34px; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.topnav-wrap::after { right: 34px; background: linear-gradient(-90deg, #fff, rgba(255,255,255,0)); }
.topnav-wrap.can-scroll-left::before, .topnav-wrap.can-scroll-right::after { opacity: 1; }

main { min-height: 58vh; }
.lookup-page { padding-block: 22px 56px; }
.ad-slot {
  display: grid;
  place-items: center;
  color: #9a9d9f;
  background:
    linear-gradient(135deg, rgba(46,51,56,.018) 25%, transparent 25%) 0 0 / 14px 14px,
    linear-gradient(315deg, rgba(46,51,56,.018) 25%, transparent 25%) 0 0 / 14px 14px,
    #fafaf8;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.ad-slot span { font-size: .62rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.ad-slot.has-ad { display: block; background: transparent; border-color: transparent; }
.ad-slot.has-ad .adsbygoogle { width: 100%; min-height: inherit; }
.ad-leaderboard { width: min(100%, 970px); min-height: 92px; margin: 0 auto 22px; }
.ad-bottom { margin-top: 22px; margin-bottom: 0; }
.global-ad { padding-top: 18px; }
.global-ad-bottom { padding-top: 0; padding-bottom: 24px; }
.global-ad .ad-slot { margin-bottom: 0; }
.lookup-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 13px;
}
.lookup-head > div:first-child { display: flex; align-items: baseline; gap: 12px; }
.lookup-head h1 { margin: 0; font-size: clamp(1.45rem, 2.5vw, 2rem); letter-spacing: -.025em; line-height: 1.1; }
.result-count { color: var(--muted); font-size: .76rem; white-space: nowrap; }
.lookup-controls { display: flex; align-items: end; gap: 9px; min-width: 0; margin: 0; padding: 0; border: 0; }
.lookup-controls label > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: .65rem; font-weight: 700; }
.lookup-search { width: min(280px, 27vw); }
.lookup-search > div { position: relative; }
.lookup-search svg { position: absolute; top: 50%; left: 11px; width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-linecap: round; stroke-width: 1.7; transform: translateY(-50%); }
.lookup-search input,
.lookup-filter select {
  height: 40px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cacbc6;
  border-radius: 8px;
  outline: 0;
}
.lookup-search input { width: 100%; padding: 8px 12px 8px 36px; }
.lookup-filter select { min-width: 116px; padding: 7px 30px 7px 10px; }
.lookup-topic select { max-width: 190px; }
.lookup-sort-mobile { display: none; }
.mobile-sort-direction {
  align-self: end;
  width: 40px;
  height: 40px;
  color: var(--brand-strong);
  background: #fff;
  border: 1px solid #cacbc6;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}
.lookup-search input:focus, .lookup-filter select:focus { border-color: var(--kerb); box-shadow: 0 0 0 3px rgba(232,163,61,.15); }
.filter-clear {
  height: 40px;
  padding: 7px 11px;
  color: #555b60;
  background: #fff;
  border: 1px solid #cacbc6;
  border-radius: 8px;
  font-size: .73rem;
  font-weight: 700;
  cursor: pointer;
}
.filter-clear:hover:not(:disabled) { color: var(--e4); border-color: #dca4ad; background: #fff6f7; }
.filter-clear:disabled { opacity: .45; cursor: default; }
.lookup-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 14px; }
.lookup-layout.no-ads { grid-template-columns: minmax(0, 1fr); }
.violations-panel { min-width: 0; overflow: hidden; background: #fff; border: 1px solid #cfd0cb; border-radius: 11px; box-shadow: 0 8px 24px rgba(20,24,27,.045); }
.table-scroll-toolbar { display: none; }
.violations-scroll { max-width: 100%; overflow: auto; }
.violations-table { min-width: 1280px; font-size: .77rem; }
.violations-table th { position: sticky; z-index: 2; top: 0; padding: 11px 12px; color: #5c6266; background: #f4f4f1; border-bottom-color: #cfd0cb; font-size: .65rem; letter-spacing: .045em; }
.violations-table th > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 27px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font-size: inherit;
  font-weight: 800;
  letter-spacing: inherit;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}
.violations-table th > button:hover { color: var(--brand-strong); }
.violations-table th > button > span[aria-hidden] { margin-left: 6px; color: var(--e4); font-size: .85rem; }
.violations-table td { padding: 12px; line-height: 1.35; }
.violations-table tbody tr:hover { background: #fafaf7; }
.violations-table tr[hidden] { display: none; }
.violations-table th:nth-child(1) { width: 18%; }
.violations-table th:nth-child(2) { width: 7%; }
.violations-table th:nth-child(3) { width: 7%; }
.violations-table th:nth-child(4) { width: 20%; }
.violations-table th:nth-child(5) { width: 20%; }
.violations-table th:nth-child(6) { width: 5%; text-align: center; }
.violations-table th:nth-child(7) { width: 8%; }
.violations-table th:nth-child(8) { width: 8%; }
.violations-table th:nth-child(9) { width: 34px; }
.violations-table th:nth-child(2), .violations-table td:nth-child(2),
.violations-table th:nth-child(3), .violations-table td:nth-child(3),
.violations-table th:nth-child(6), .violations-table td:nth-child(6),
.violations-table th:nth-child(7), .violations-table td:nth-child(7),
.violations-table th:nth-child(8), .violations-table td:nth-child(8),
.violations-table th:nth-child(9), .violations-table td:nth-child(9) { text-align: center; }
.violations-table th:nth-child(2) button,
.violations-table th:nth-child(3) button,
.violations-table th:nth-child(6) button,
.violations-table th:nth-child(7) button,
.violations-table th:nth-child(8) button { justify-content: center; text-align: center; }
.mobile-label { display: none; }
.violation-name { color: var(--brand-strong); font-weight: 700 !important; }
.violation-link { color: inherit; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.violation-link:hover { color: var(--e4); text-decoration-color: currentColor; }
.row-detail { display: block; margin-top: 5px; color: var(--muted); font-size: .68rem; font-weight: 500; line-height: 1.35; }
.article-cell { color: var(--muted); font-size: .72rem; }
.fine-cell { color: var(--brand-strong); font-size: .93rem; font-weight: 800; white-space: nowrap; }
.measure-cell { color: #4f5559; }
.criminal-cell { color: #5f4c50; }
.points-cell { color: var(--muted); text-align: center; }
.source-cell { white-space: nowrap; }
.source-arrow { display: flex; align-items: baseline; justify-content: center; gap: 4px; width: 100%; color: var(--e4); font-size: .76rem; font-weight: 800; text-decoration: none; }
.source-arrow + .source-arrow { margin-top: 6px; }
.source-arrow span { color: #5f6569; font-size: .61rem; font-weight: 600; }
.source-arrow:hover span { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 2px; }
.report-cell { width: 34px; padding-inline: 4px !important; text-align: center; }
.warn-ico {
  display: inline-block;
  width: 15px;
  height: 15px;
  vertical-align: -2.5px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cmask id='m'%3E%3Crect width='24' height='24' fill='%23fff'/%3E%3Cline x1='12' y1='8' x2='12' y2='13.5' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17.2' r='1.4' fill='%23000'/%3E%3C/mask%3E%3Cpath d='M12 2.5a2 2 0 0 0-1.74 1l-8.5 15A2 2 0 0 0 3.5 21.5h17a2 2 0 0 0 1.74-3l-8.5-15A2 2 0 0 0 12 2.5z' fill='%23000' mask='url(%23m)'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cmask id='m'%3E%3Crect width='24' height='24' fill='%23fff'/%3E%3Cline x1='12' y1='8' x2='12' y2='13.5' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17.2' r='1.4' fill='%23000'/%3E%3C/mask%3E%3Cpath d='M12 2.5a2 2 0 0 0-1.74 1l-8.5 15A2 2 0 0 0 3.5 21.5h17a2 2 0 0 0 1.74-3l-8.5-15A2 2 0 0 0 12 2.5z' fill='%23000' mask='url(%23m)'/%3E%3C/svg%3E") no-repeat center / contain;
}
.warn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  opacity: .55;
  text-decoration: none;
  transition: all .14s ease;
}
.warn-btn:hover, .warn-btn:focus-visible {
  color: #b45309;
  background: #fef3c7;
  border-color: #fde68a;
  opacity: 1;
  transform: scale(1.08);
}
.table-empty { margin: 0; padding: 36px 18px; color: var(--muted); text-align: center; }
.ad-rail { display: grid; gap: 14px; }
.ad-rectangle { min-height: 250px; }
.ad-tall { min-height: 500px; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; padding-top: 14px; color: var(--muted); font-size: .76rem; }
.breadcrumbs a { text-underline-offset: 3px; }
.breadcrumbs span:last-child { min-width: 0; }
.violation-detail-page { padding-bottom: 62px; }
.violation-detail-page.category-e1 { --detail-accent: var(--e1); }
.violation-detail-page.category-e2 { --detail-accent: var(--e2); }
.violation-detail-page.category-e3 { --detail-accent: var(--e3); }
.violation-detail-page.category-e4 { --detail-accent: var(--e4); }
.violation-detail-page > .detail-ad-top { margin-top: 20px; }
.violation-detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: clamp(32px, 6vw, 78px); padding: 48px 0 58px; border-bottom: 1px solid var(--line); }
.violation-hero-copy { min-width: 0; }
.violation-hero-copy .kicker { margin-bottom: 9px; }
.violation-topic-chip { display: inline-flex; flex-wrap: wrap; gap: 5px; margin-bottom: 18px; padding: 5px 8px; color: #555b60; background: var(--surface-2); border: 1px solid var(--line); border-radius: 7px; font-size: .68rem; font-weight: 700; }
.violation-topic-chip > span { color: var(--e4); font-weight: 800; }
.violation-topic-chip > strong { color: inherit; font-weight: 700; }
.violation-hero-copy h1 { max-width: 17ch; margin-bottom: 20px; font-size: clamp(2.45rem, 5.2vw, 4.65rem); line-height: 1.01; }
.violation-detail-copy { max-width: 75ch; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.62; }
.violation-hero-copy > .report-button { margin-top: 24px; }
.penalty-summary { position: relative; overflow: hidden; color: #fff; background: var(--brand-strong); border-radius: 17px; box-shadow: 0 18px 45px rgba(20,24,27,.16); }
.penalty-summary::before { display: block; height: 6px; content: ""; background: var(--detail-accent); }
.penalty-summary-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; }
.penalty-summary-head > span { color: #d2d5d7; font-size: .68rem; font-weight: 800; letter-spacing: .055em; line-height: 1.35; text-transform: uppercase; }
.penalty-summary .table-badge { white-space: nowrap; }
.penalty-amount { display: grid; gap: 3px; padding: 12px 20px 22px; }
.penalty-amount span { color: #aab0b3; font-size: .7rem; font-weight: 700; }
.penalty-amount strong { color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -.055em; line-height: 1; }
.penalty-summary-meta { margin: 0; border-top: 1px solid #30363a; }
.penalty-summary-meta > div { display: grid; gap: 4px; padding: 14px 20px; border-top: 1px solid #30363a; }
.penalty-summary-meta > div:first-child { border-top: 0; }
.penalty-summary-meta dt { color: #8f969a; font-size: .62rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.penalty-summary-meta dd { margin: 0; color: #fff; font-size: .8rem; font-weight: 700; line-height: 1.38; }
.report-button, .aside-report {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 8px;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
}
.report-button:hover, .aside-report:hover { color: #78350f; background: #fde68a; border-color: #f59e0b; }
.legal-section-heading { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--brand-strong); }
.content-section .legal-section-heading h2 { margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.15; }
.sanction-list { overflow: hidden; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.sanction-list > div { display: grid; grid-template-columns: minmax(145px, 28%) minmax(0, 1fr); gap: 22px; align-items: start; padding: 17px 19px; border-top: 1px solid var(--line); }
.sanction-list > div:first-child { border-top: 0; }
.sanction-list dt { color: #656b6f; font-size: .66rem; font-weight: 800; letter-spacing: .055em; line-height: 1.35; text-transform: uppercase; }
.sanction-list dd { min-width: 0; margin: 0; color: var(--brand-strong); font-size: .88rem; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.detail-ad-inline { min-height: 250px; margin: 28px 0; }
.source-list-inline { display: grid; gap: 8px; }
.source-list-inline a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 15px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; text-decoration: none; }
.source-list-inline a span { color: var(--e4); font-size: .72rem; font-weight: 800; }
.related-violations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.related-violations a { display: grid; gap: 6px; padding: 14px 15px; background: #fff; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.related-violations a:hover { border-color: #d99da7; }
.related-violations small { color: var(--muted); }
.aside-report { width: 100%; justify-content: center; margin-top: 12px; padding-block: 10px; }
.contact-page { padding-bottom: 70px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 720px) minmax(240px, 1fr); align-items: start; gap: 34px; }
.contact-layout .contact-form-card { padding: clamp(22px, 4vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-form-card form { display: grid; gap: 18px; }
.form-field { display: grid; gap: 7px; color: var(--brand-strong); font-size: .8rem; font-weight: 700; }
.form-field textarea, .form-field input { display: block; width: 100%; padding: 12px 13px; color: var(--ink); background: #fff; border: 1px solid #c8c9c4; border-radius: 10px; font: inherit; font-size: 1rem; font-weight: 400; }
.form-field textarea { min-height: 190px; line-height: 1.5; resize: vertical; }
.form-field textarea:focus, .form-field input:focus { border-color: var(--kerb); outline: 3px solid rgba(232,163,61,.14); }
.form-privacy { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.honeypot { position: absolute; left: -9999px; }
.notice.success { padding: 12px 14px; color: #205d3e; background: #eef8f2; border: 1px solid #bcdcc9; border-radius: 9px; }
.contact-aside { padding: 22px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 13px; }
.contact-aside h2 { margin-top: 0; font-size: 1.05rem; }
.contact-aside p { color: var(--muted); font-size: .83rem; }
.operator-card { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.operator-card > * { display: block; }
.operator-card > * + * { margin-top: 5px; }
.operator-card p { margin-bottom: 0; }
.operator-card.warn { color: #78350f; background: #fff9e9; border-color: #f3d891; }
.consent-control { margin: 14px 0 18px; padding: 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; }
.footer-consent { padding: 0; color: #aeb4b7; background: transparent; border: 0; font-size: .82rem; text-align: left; cursor: pointer; }
.footer-consent:hover { color: #fff; }
.cs-now { margin: 0 0 8px !important; color: var(--muted); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.cs-saved { margin-left: 8px; color: var(--e4); letter-spacing: 0; text-transform: none; }
.cs-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-opt { padding: 9px 15px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; font: inherit; font-size: .86rem; cursor: pointer; transition: all .14s ease; }
.cs-opt:hover { color: var(--brand-strong); border-color: var(--e4); }
.cs-opt.on { color: var(--brand-strong); background: #fff0f2; border-color: var(--e4); cursor: default; }
.cs-tick { margin-right: 7px; color: var(--e4); font-weight: 900; }
.consent-wrap { position: fixed; z-index: 2000; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(20,24,27,.62); animation: consent-in .18s ease-out; }
@keyframes consent-in { from { opacity: 0; } to { opacity: 1; } }
.consent { width: 100%; max-width: 460px; padding: 22px 24px 20px; background: var(--surface); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(20,24,27,.3); }
.consent-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.consent h2 { margin: 0; font-size: 1.125rem; font-weight: 800; }
.consent-lang { flex-shrink: 0; padding: 2px 8px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; font-size: .78rem; font-weight: 700; text-decoration: none; }
.consent-lang:hover { color: var(--brand-strong); border-color: var(--e4); text-decoration: none; }
.consent p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.consent p a { color: var(--brand-strong); }
.consent-intro { margin-bottom: 14px !important; color: var(--ink) !important; }
.consent-cats { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.consent-cat { padding: 11px 13px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; }
.consent-cat-h { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; color: var(--ink); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.consent-cat-tag { color: var(--muted); font-size: .66rem; letter-spacing: .02em; text-transform: none; }
.consent-cat p { font-size: .81rem; }
.consent-foot { margin: 0 0 16px !important; font-size: .75rem !important; opacity: .85; }
.consent-btns { display: flex; flex-direction: column; gap: 8px; }
.consent-btns button { width: 100%; padding: 11px 16px; border: 1px solid transparent; border-radius: 10px; font: inherit; font-size: .94rem; font-weight: 700; cursor: pointer; transition: all .14s ease; }
.consent-btns .primary { color: #fff; background: var(--e4); }
.consent-btns .primary:hover { background: var(--s); }
.consent-btns .ghost { color: var(--muted); background: var(--surface); border-color: var(--line); }
.consent-btns .ghost:hover { color: var(--ink); background: var(--surface-2); }
@media (min-width: 480px) {
  .consent-btns { flex-direction: row-reverse; }
  .consent-btns button { flex: 1; width: auto; }
}
.municipality-coverage { padding: 8px 0 52px; }
.compact-heading { align-items: start; }
.compact-heading h2 { max-width: 14ch; }
.municipality-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.municipality-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 13px 18px; min-width: 0; padding: 19px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.municipality-card h3 { margin: 0 0 5px; font-size: 1.02rem; }
.municipality-card h3 a { text-decoration: none; text-underline-offset: 3px; }
.municipality-card h3 a:hover { text-decoration: underline; }
.municipality-card div > span { color: var(--muted); font-size: .7rem; }
.coverage-status { justify-self: end; padding: 5px 8px; border-radius: 999px; font-size: .66rem; font-weight: 800; white-space: nowrap; }
.coverage-status.ready { color: #205d3e; background: #e8f5ed; }
.coverage-status.pending { color: #73510d; background: #fff4d6; }
.municipality-official { grid-column: 1 / -1; width: max-content; color: var(--e4); font-size: .74rem; font-weight: 800; text-underline-offset: 3px; }
.municipality-explainer { padding-top: 45px; border-top: 1px solid var(--line); }
.source-pending-card { margin-top: 22px; padding: 22px; background: #fff9e9; border: 1px solid #f3d891; border-radius: 12px; }
.source-pending-card h2 { color: #64470d; }
.violation-directory { padding-top: 0; }
.article-index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 10px; }
.article-index-card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.article-index-card[open] { border-color: #c7c7c1; }
.article-index-card summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 15px; cursor: pointer; }
.article-index-card summary span { color: var(--muted); font-size: .7rem; white-space: nowrap; }
.article-index-card ul { display: grid; gap: 0; margin: 0; padding: 0 15px 12px; list-style: none; }
.article-index-card li { display: grid; gap: 4px; padding: 11px 0; border-top: 1px solid var(--line); }
.article-index-card li a { font-size: .82rem; font-weight: 700; line-height: 1.35; text-decoration: none; text-underline-offset: 3px; }
.article-index-card li a:hover { text-decoration: underline; }
.article-index-card li small { color: var(--muted); font-size: .68rem; }
.logo-review { padding-block: 72px 90px; }
.logo-review > header { max-width: 720px; margin-bottom: 38px; }
.logo-review h1 { margin-bottom: 14px; font-size: clamp(2.4rem, 5vw, 4.3rem); line-height: 1; }
.logo-review header p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.logo-card { position: relative; min-width: 0; padding: 28px 23px 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.logo-card.is-current { border-color: #d99da7; box-shadow: inset 0 3px 0 var(--e4); }
.logo-card > span { display: block; color: var(--e4); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.logo-card img { width: min(160px, 80%); height: auto; margin: 26px auto; }
.logo-card h2 { margin-bottom: 9px; font-size: 1.16rem; }
.logo-card p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.48; }
.home-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--brand-strong);
}
.home-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(112deg, transparent 0 54%, rgba(255,255,255,.025) 54% 54.4%, transparent 54.4%),
    radial-gradient(circle at 78% 50%, rgba(200,16,46,.17), transparent 31%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
  min-height: 570px;
  padding-block: 76px 82px;
}
.hero-copy { position: relative; z-index: 2; }
.kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--e4);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .105em;
  line-height: 1.3;
  text-transform: uppercase;
}
.home-hero .kicker { color: #ff9a8d; }
h1, h2, h3 { margin-top: 0; color: var(--brand-strong); font-weight: 800; letter-spacing: -.035em; }
.home-hero h1 {
  max-width: 13ch;
  margin-bottom: 25px;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: .98;
}
.hero-lede { max-width: 670px; margin: 0 0 36px; color: #c8ccce; font-size: clamp(1.08rem, 1.7vw, 1.28rem); }
.finder { max-width: 650px; }
.finder label { display: block; margin-bottom: 8px; color: #fff; font-size: .86rem; font-weight: 700; }
.finder-control { position: relative; }
.finder-control svg { position: absolute; z-index: 1; top: 50%; left: 17px; width: 21px; height: 21px; fill: none; stroke: #777d81; stroke-linecap: round; stroke-width: 1.8; transform: translateY(-50%); }
.finder input {
  width: 100%;
  min-height: 58px;
  padding: 12px 18px 12px 50px;
  color: var(--ink);
  background: #fff;
  border: 2px solid transparent;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
  outline: 0;
}
.finder input:focus { border-color: var(--kerb); }
.finder small { display: block; margin-top: 9px; color: #959b9e; font-size: .77rem; }
.finder-inline { max-width: 590px; margin-top: 30px; }
.finder-inline label { color: var(--ink); }
.finder-inline input { border-color: var(--line); box-shadow: none; }
.hero-sign { position: relative; align-self: stretch; min-height: 410px; }
.sign-disc {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 50%;
  display: grid;
  place-items: center;
  width: min(290px, 27vw);
  aspect-ratio: 1;
  background: var(--brand);
  border: clamp(17px, 2.1vw, 26px) solid var(--e4);
  border-radius: 50%;
  box-shadow: 0 34px 70px rgba(0,0,0,.34), inset 0 0 0 3px rgba(255,255,255,.08);
  transform: translateX(-50%);
}
.road-dash { width: 11%; height: 42%; background: #fff; border-radius: 5px; }
.sign-post { position: absolute; bottom: 20px; left: 50%; width: 19px; height: 205px; background: linear-gradient(90deg, #8f9699, #d8dbdc 48%, #737a7e); border-radius: 4px 4px 0 0; transform: translateX(-50%); }
.kerb-line { position: absolute; right: -25%; bottom: 14px; left: -25%; height: 9px; background: var(--kerb); transform: rotate(-5deg); box-shadow: 0 23px 0 rgba(255,255,255,.14); }

.section { padding-block: 78px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); align-items: end; gap: 48px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; }
.section-heading p { max-width: 54ch; margin: 0 0 4px; color: var(--muted); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(20,24,27,.02);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.guide-card:hover { border-color: #c7c7c1; box-shadow: var(--shadow); transform: translateY(-3px); }
.guide-card h3 { margin: 14px 0 10px; font-size: 1.28rem; line-height: 1.12; }
.guide-card h3 a { text-decoration: none; }
.guide-card h3 a::after { position: absolute; inset: 0; content: ""; }
.guide-card p { margin: 0 0 22px; color: var(--muted); font-size: .91rem; }
.guide-article { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.card-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 17px; color: var(--brand-strong); border-top: 1px solid var(--line); font-size: .82rem; font-weight: 800; text-decoration: none; }
.card-link span { color: var(--e4); font-size: 1.15rem; }
.guide-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 17px; color: var(--brand); background: var(--brand-tint); border-radius: 12px; }
.guide-icon span { position: relative; display: block; width: 21px; height: 21px; border: 2px solid currentColor; border-radius: 50%; }
.guide-icon span::after { position: absolute; top: 3px; bottom: 3px; left: 50%; width: 2px; content: ""; background: currentColor; border-radius: 2px; transform: translateX(-50%); }
.guide-icon-clock span::after { top: 4px; bottom: auto; height: 7px; transform: translateX(-50%) rotate(-30deg); transform-origin: bottom; }
.guide-icon-parking span::after { top: 50%; right: -5px; bottom: auto; left: -5px; width: auto; height: 2px; transform: rotate(-18deg); }
.guide-icon-alcohol span { border-radius: 3px 3px 9px 9px; transform: scale(.7, 1); }
.guide-icon-camera span { width: 24px; height: 17px; border-radius: 4px; }
.guide-icon-camera span::after { top: 50%; bottom: auto; width: 6px; height: 6px; background: none; border: 2px solid currentColor; border-radius: 50%; transform: translate(-50%, -50%); }
.guide-icon-book span { border-width: 0 2px 2px; border-radius: 2px 2px 6px 6px; }
.guide-icon-source span { width: 19px; height: 23px; border-radius: 3px; }
.guide-icon-source span::after { top: 6px; right: 4px; bottom: auto; left: 4px; width: auto; height: 2px; box-shadow: 0 5px 0 currentColor; transform: none; }
.no-results { padding: 28px; color: var(--muted); text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

.page-hero { padding-top: 68px; padding-bottom: 46px; }
.page-hero.compact { max-width: 1180px; }
.page-hero h1 { max-width: 16ch; margin-bottom: 20px; font-size: clamp(2.6rem, 6vw, 5rem); line-height: .98; }
.page-hero > p { max-width: 760px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.2rem); }
.article { padding-bottom: 90px; }
.article-hero { max-width: 900px; }
.category-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-bottom: 34px;
  padding: 9px 13px;
  color: var(--brand-strong);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}
.category-back span { color: var(--e4); font-size: 1.15rem; line-height: 1; transition: transform .15s ease; }
.category-back:hover { border-color: var(--e4); }
.category-back:hover span { transform: translateX(-2px); }
.category-back:focus-visible { outline: 3px solid rgba(220, 15, 46, .18); outline-offset: 2px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 58px; }
.article-body { min-width: 0; }
.article-aside { position: sticky; top: 168px; display: grid; gap: 14px; }
.content-section { padding: 35px 0; border-top: 1px solid var(--line); }
.content-section:first-child { border-top: 0; }
.content-section h2 { margin-bottom: 18px; font-size: clamp(1.48rem, 3vw, 2.05rem); line-height: 1.15; }
.content-section p { max-width: 76ch; margin: 0 0 15px; }
.content-section p:last-child { margin-bottom: 0; }
.plain-list { display: grid; gap: 13px; max-width: 78ch; margin: 0; padding: 0; list-style: none; }
.plain-list li { position: relative; padding-left: 24px; }
.plain-list li::before { position: absolute; top: .72em; left: 2px; width: 8px; height: 3px; content: ""; background: var(--e4); border-radius: 2px; }
.scope-card, .source-card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.aside-label { display: block; margin-bottom: 10px; color: var(--muted); font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.scope-card > strong { display: block; font-size: 1.06rem; }
.scope-card p { margin: 10px 0 0; color: var(--muted); font-size: .82rem; }
.source-card { display: grid; gap: 0; }
.source-card > a { display: grid; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; }
.source-card > .aside-label + a { border-top: 0; padding-top: 2px; }
.source-card a strong { font-size: .83rem; line-height: 1.35; }
.source-card a span { color: var(--e4); font-size: .72rem; font-weight: 700; }
.source-card a:hover strong { text-decoration: underline; text-underline-offset: 3px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 52px; }
.stat-card { min-height: 155px; padding: 21px; background: var(--brand); border-radius: 14px; color: #fff; }
.stat-card > div { display: flex; align-items: baseline; gap: 7px; }
.stat-card strong { font-size: 2.5rem; line-height: 1; }
.stat-card span { color: #c4c8ca; font-size: .76rem; font-weight: 700; }
.stat-card p { margin: 18px 0 0; color: #e5e7e8; font-size: .81rem; line-height: 1.35; }
.table-wrap { max-width: 100%; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { padding: 15px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: #53595e; background: var(--surface-2); font-size: .72rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; }
.note { display: flex; gap: 13px; margin-top: 20px; padding: 16px 17px; background: #fff8ea; border: 1px solid #ead8b5; border-radius: 11px; }
.note > span { display: grid; flex: 0 0 23px; place-items: center; width: 23px; height: 23px; color: #fff; background: var(--kerb); border-radius: 50%; font-size: .75rem; font-weight: 800; }
.note p { margin: 0; color: #5f5136; font-size: .85rem; }
.article-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.article-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-size: .88rem; font-weight: 700; text-decoration: none; }
.article-links a span { color: var(--e4); }
.article-links a:hover { border-color: #bcbdb8; }

.bac-tool { margin-bottom: 34px; padding: 28px; scroll-margin-top: 150px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 26px rgba(20,24,27,.045); }
.bac-tool-heading { margin-bottom: 21px; }
.bac-tool-heading .kicker { color: var(--e4); }
.bac-tool-heading h2 { margin: 7px 0 10px; font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.06; }
.bac-tool-heading p { max-width: 70ch; margin: 0; color: var(--muted); }
.bac-warning { display: flex; gap: 13px; margin-top: 20px; padding: 16px 17px; color: #5b1621; background: #fff0f2; border: 1px solid #e9b5bd; border-radius: 12px; }
.bac-warning > span { display: grid; flex: 0 0 26px; place-items: center; width: 26px; height: 26px; color: #fff; background: var(--e4); border-radius: 50%; font-weight: 900; }
.bac-warning #bac-warning-title { display: block; line-height: 1.35; }
.bac-warning p { margin: 5px 0 0; font-size: .84rem; line-height: 1.5; }
.bac-warning .bac-liability { font-weight: 800; }
.bac-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.bac-form legend { width: 100%; margin-bottom: 12px; color: var(--brand-strong); font-size: .79rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.bac-person-fields { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(220px, 1.3fr); gap: 12px; margin-bottom: 25px !important; }
.bac-form label { display: grid; min-width: 0; gap: 6px; color: #555b60; font-size: .74rem; font-weight: 750; }
.bac-form input, .bac-form select { width: 100%; min-width: 0; min-height: 44px; padding: 9px 11px; color: var(--ink); background: #fff; border: 1px solid #cfcfca; border-radius: 9px; outline: 0; }
.bac-form input:focus, .bac-form select:focus { border-color: var(--e3); box-shadow: 0 0 0 3px rgba(210,96,26,.13); }
.bac-input-suffix { position: relative; display: block; }
.bac-input-suffix input { padding-right: 38px; }
.bac-input-suffix small { position: absolute; top: 50%; right: 11px; color: var(--muted); font-size: .69rem; transform: translateY(-50%); }
.bac-field-help { margin: -4px 0 13px; color: var(--muted); font-size: .77rem; }
.bac-drink-list { display: grid; gap: 8px; }
.bac-drink-row { display: grid; grid-template-columns: minmax(135px, 1.4fr) minmax(78px, .75fr) minmax(68px, .65fr) minmax(70px, .65fr) 36px; align-items: end; gap: 8px; padding: 11px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; }
.bac-remove { display: grid; place-items: center; width: 36px; min-height: 44px; padding: 0; color: #697075; background: #fff; border: 1px solid #cfcfca; border-radius: 9px; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.bac-remove:hover:not(:disabled) { color: #fff; background: var(--e4); border-color: var(--e4); }
.bac-remove:disabled { opacity: .35; cursor: not-allowed; }
.bac-add, .bac-reset { padding: 9px 0; color: var(--brand-strong); background: transparent; border: 0; font-size: .81rem; font-weight: 800; cursor: pointer; text-decoration: underline; text-decoration-color: #b9bbb7; text-underline-offset: 4px; }
.bac-add { margin-top: 8px; }
.bac-add span { color: var(--e4); font-size: 1rem; }
.bac-actions { display: flex; align-items: center; gap: 18px; margin-top: 21px; }
.bac-actions .primary-button { border: 0; cursor: pointer; }
.bac-result { margin-top: 22px; padding: 22px; color: #fff; background: var(--brand-strong); border-radius: 13px; }
.bac-result > span { display: block; color: #aeb4b7; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bac-result > strong { display: block; margin: 7px 0 6px; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; letter-spacing: -.04em; }
.bac-result p { margin: 0; color: #d8dbdc; font-size: .83rem; }
.bac-result .bac-result-caution { margin-top: 14px; padding-top: 13px; color: #ffb7c1; border-top: 1px solid #3b4145; font-weight: 750; }
.bac-method { margin-top: 28px; padding-top: 27px; border-top: 1px solid var(--line); }
.bac-method h3 { margin: 0 0 10px; font-size: 1.24rem; line-height: 1.2; }
.bac-method h3:not(:first-child) { margin-top: 28px; }
.bac-method p { margin: 0 0 13px; color: #4f555a; font-size: .88rem; }
.bac-method ol { display: grid; gap: 8px; margin: 16px 0; padding-left: 22px; font-size: .85rem; }
.bac-method li::marker { color: var(--e4); font-weight: 800; }
.bac-formula { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(0, 1.2fr); gap: 7px 18px; margin: 18px 0; padding: 17px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; }
.bac-formula span { color: var(--muted); font-size: .72rem; font-weight: 750; }
.bac-formula strong { font-size: .82rem; overflow-wrap: anywhere; }
.bac-research-links { display: flex; flex-wrap: wrap; gap: 7px 13px; margin-top: 20px; }
.bac-research-links a { color: #50565a; font-size: .72rem; font-weight: 700; text-underline-offset: 3px; }
.bac-research-links a span { color: var(--e4); }
.alcohol-jump-pill { position: fixed; right: 12px; bottom: 12px; left: 12px; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 18px; color: #fff; background: var(--e4); border: 1px solid var(--e4); border-radius: 14px; box-shadow: 0 6px 22px rgba(140,16,36,.28); font-size: .9rem; font-weight: 800; text-decoration: none; transition: opacity .15s ease, transform .15s ease, visibility .15s ease; }
.alcohol-jump-pill:hover { color: #fff; background: var(--s); border-color: var(--s); }
.alcohol-jump-pill.past { visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(8px); }

@media (min-width: 900px) {
  .alcohol-jump-pill { right: auto; bottom: 20px; left: 28px; width: max-content; min-width: 220px; }
}

.severity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 40px; }
.severity-card { display: flex; align-items: center; justify-content: space-between; min-height: 92px; padding: 18px; color: #fff; border-radius: 13px; text-decoration: none; transition: transform .18s ease; }
.severity-card:hover { transform: translateY(-3px); }
.severity-card > span:last-child { font-size: 1.25rem; opacity: .75; }
.severity-badge { font-size: 1.65rem; font-weight: 800; letter-spacing: -.04em; }
.severity-e1 { background-color: var(--e1); }
.severity-e2 { color: var(--brand-strong); background-color: var(--e2); }
.severity-e3 { background-color: var(--e3); }
.severity-e4 { background-color: var(--e4); }
.severity-s { background-color: var(--s); }
.severity-s.severity-card { position: relative; overflow: hidden; }
.severity-s.severity-card::after { position: absolute; top: 13px; right: 50%; width: 3px; height: 67px; content: ""; background: rgba(255,255,255,.45); transform: rotate(38deg); }
.category-table { overflow: hidden; }
.table-badge { display: inline-flex; min-width: 60px; justify-content: center; padding: 5px 10px; color: #fff; border-radius: 999px; font-size: .77rem; font-weight: 800; line-height: 1.1; text-decoration: none; }
.table-badge.severity-e2 { color: var(--brand-strong); }
.category-heading { display: flex; align-items: center; gap: 20px; }
.category-heading h1 { margin: 0; }
.category-hero-badge { display: grid; flex: 0 0 auto; place-items: center; width: 86px; height: 86px; color: #fff; border-radius: 20px; font-size: 2rem; font-weight: 800; }
.category-hero-badge.severity-e2 { color: var(--brand-strong); }
.category-page .article-hero > p { margin-top: 25px; }
.variant-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.variant-card { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; }
.variant-card dl { margin: 19px 0 0; }
.variant-card dl > div { padding: 12px 0; border-top: 1px solid var(--line); }
.variant-card dt { color: var(--muted); font-size: .73rem; font-weight: 700; }
.variant-card dd { margin: 4px 0 0; font-weight: 600; }
.primary-button { display: inline-flex; padding: 12px 17px; color: #fff; background: var(--brand); border-radius: 9px; font-weight: 700; text-decoration: none; }

.site-footer { color: #c7cbcd; background: var(--brand-strong); }
.footer-grid { display: grid; grid-template-columns: minmax(300px, 2fr) 1fr 1fr; gap: 70px; padding-block: 56px; }
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.footer-brand img { flex: 0 0 auto; }
.footer-brand div { display: grid; gap: 8px; }
.footer-brand strong { color: #fff; font-size: 1.05rem; }
.footer-brand span { max-width: 390px; color: #8f969a; font-size: .8rem; }
.footer-column { display: grid; align-content: start; gap: 9px; }
.footer-column a { color: #aeb4b7; font-size: .82rem; text-decoration: none; }
.footer-column a:hover { color: #fff; }
.footer-heading { margin-bottom: 4px; color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 18px 24px; color: #777f83; border-top: 1px solid #2b3033; font-size: .72rem; }

@media (min-width: 1200px) {
  .lookup-page.shell { width: min(1280px, calc(100% - 80px)); }
  .lookup-layout.no-ads .violations-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }
  .lookup-layout.no-ads .violations-table th,
  .lookup-layout.no-ads .violations-table td { padding-inline: clamp(8px, .75vw, 12px); }
}

@media (max-width: 980px) {
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lookup-head { align-items: stretch; flex-direction: column; gap: 13px; }
  .lookup-head > div:first-child { justify-content: space-between; }
  .lookup-controls { flex-wrap: wrap; width: 100%; }
  .lookup-search { flex: 1 1 280px; width: auto; }
  .lookup-layout { grid-template-columns: 1fr; }
  .ad-rail { grid-template-columns: 1fr 1fr; }
  .ad-tall { min-height: 250px; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 260px; min-height: 530px; }
  .sign-disc { width: 240px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 34px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1180px); }
  .topbar { min-height: 62px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-wordmark { width: 172px; }
  .topnav a { padding-inline: 11px; font-size: .82rem; }
  .lookup-page { padding-top: 14px; }
  .ad-leaderboard { min-height: 74px; margin-bottom: 17px; }
  .lookup-controls { width: 100%; }
  .lookup-search { flex: 1 1 100%; width: auto; }
  .lookup-filter { flex: 1 1 145px; }
  .lookup-filter select { width: 100%; min-width: 0; }
  .lookup-topic select { max-width: none; }
  .lookup-sort-mobile { display: grid; flex: 1 1 180px; grid-template-columns: minmax(0, 1fr) 40px; gap: 7px; }
  .filter-clear { align-self: end; }
  .table-scroll-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 43px; padding: 5px 6px 5px 11px; color: #5e6468; background: #f5f5f2; border-bottom: 1px solid var(--line); }
  .table-scroll-hint { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: .61rem; font-weight: 700; line-height: 1.3; }
  .table-scroll-hint > span { flex: 0 0 auto; color: var(--e4); font-size: .9rem; }
  .table-scroll-actions { display: flex; flex: 0 0 auto; gap: 4px; }
  .table-scroll-actions button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; color: var(--brand-strong); background: #fff; border: 1px solid #c9cbc7; border-radius: 7px; font-size: .85rem; font-weight: 800; cursor: pointer; }
  .table-scroll-actions button:disabled { color: #a9adaf; background: #f1f1ee; cursor: default; }
  .violations-scroll { overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; scrollbar-color: #aaadb0 #eeefec; scrollbar-width: thin; }
  .violations-scroll:focus-visible { outline: 3px solid rgba(232,163,61,.28); outline-offset: -3px; }
  .violations-table { width: 1020px; min-width: 1020px; table-layout: fixed; font-size: .69rem; }
  .violations-table th, .violations-table td { display: table-cell; padding: 9px 10px; overflow-wrap: anywhere; }
  .violations-table th { font-size: .59rem; line-height: 1.25; }
  .violations-table .desktop-label { display: none; }
  .violations-table .mobile-label { display: inline; }
  .violations-table th > button > span[aria-hidden] { margin-left: 3px; font-size: .72rem; }
  .violations-table th:nth-child(1) { width: 140px; }
  .violations-table th:nth-child(2) { width: 82px; }
  .violations-table th:nth-child(3) { width: 82px; }
  .violations-table th:nth-child(4) { width: 205px; }
  .violations-table th:nth-child(5) { width: 205px; }
  .violations-table th:nth-child(6) { width: 78px; }
  .violations-table th:nth-child(7) { width: 105px; }
  .violations-table th:nth-child(8) { width: 85px; }
  .violations-table th:nth-child(9) { width: 38px; }
  .violations-table th:first-child, .violations-table td:first-child { position: sticky; left: 0; }
  .violations-table th:first-child { z-index: 5; background: #f4f4f1; box-shadow: 5px 0 10px rgba(20,24,27,.08); }
  .violations-table td:first-child { z-index: 3; background: #fff; box-shadow: 5px 0 10px rgba(20,24,27,.06); }
  .violations-table tbody tr:hover td:first-child { background: #fafaf7; }
  .violations-table .table-badge { min-width: 60px; padding: 4px 6px; font-size: .62rem; letter-spacing: -.015em; white-space: nowrap; }
  .violation-link { display: block; overflow: visible; font-size: .73rem; line-height: 1.35; }
  .row-detail { display: block; margin-top: 5px; font-size: .61rem; line-height: 1.38; }
  .article-cell { font-size: .65rem; }
  .measure-cell, .criminal-cell { font-size: .66rem; line-height: 1.42; }
  .fine-cell { font-size: .78rem; }
  .warn-btn { width: 25px; height: 25px; }
  .ad-rail { gap: 10px; }
  .hero-grid { display: block; min-height: 0; padding-block: 58px 64px; }
  .hero-sign { display: none; }
  .home-hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .section { padding-block: 54px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 18px; }
  .article-layout { display: block; }
  .article-aside { position: static; margin-top: 28px; }
  .violation-detail-hero { display: block; padding: 38px 0 44px; }
  .penalty-summary { margin-top: 30px; }
  .page-hero { padding-top: 50px; padding-bottom: 35px; }
  .page-hero h1 { font-size: clamp(2.4rem, 11vw, 3.7rem); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-layout { display: block; }
  .contact-page .page-hero { padding-top: 38px; padding-bottom: 28px; }
  .contact-page .page-hero h1 { font-size: clamp(2.25rem, 11vw, 3.2rem); }
  .contact-layout .contact-form-card { padding: 18px; border-radius: 14px; }
  .contact-form-card form { gap: 16px; }
  .contact-form-card .primary-button { justify-content: center; width: 100%; min-height: 50px; border: 0; }
  .contact-aside { margin-top: 18px; padding: 18px; }
  .municipality-grid { grid-template-columns: 1fr; }
  .municipality-coverage { padding-bottom: 38px; }
  .article-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bac-tool { padding: 22px; }
}

@media (max-width: 560px) {
  .logo-review { padding-block: 48px 64px; }
  .logo-grid { grid-template-columns: 1fr; }
  .ad-rail { grid-template-columns: 1fr; }
  .ad-rectangle, .ad-tall { min-height: 220px; }
  .lookup-head h1 { font-size: 1.3rem; }
  .lookup-controls { align-items: stretch; flex-direction: column; }
  .lookup-search, .lookup-filter { flex: auto; width: 100%; }
  .lookup-sort-mobile { flex: auto; width: 100%; }
  .filter-clear { align-self: stretch; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 285px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { min-height: 140px; padding: 17px; }
  .stat-card strong { font-size: 2.1rem; }
  .article-links, .variant-grid { grid-template-columns: 1fr; }
  .related-violations { grid-template-columns: 1fr; }
  .violation-hero-copy h1 { max-width: none; font-size: clamp(2rem, 10vw, 3.2rem); }
  .sanction-list > div { grid-template-columns: 1fr; gap: 6px; padding: 13px 14px; }
  .sanction-list dd { font-size: .82rem; line-height: 1.45; }
  .detail-ad-inline { min-height: 220px; }
  .category-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .category-hero-badge { width: 68px; height: 68px; border-radius: 15px; font-size: 1.6rem; }
  .municipality-card { grid-template-columns: 1fr; gap: 8px; padding: 17px; }
  .coverage-status { justify-self: start; }
  .article-index-grid { grid-template-columns: 1fr; }
  .bac-person-fields { grid-template-columns: 1fr; }
  .bac-drink-row { position: relative; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr); gap: 6px; padding: 9px; }
  .bac-drink-type { grid-column: 1 / -1; padding-right: 39px; }
  .bac-drink-row input, .bac-drink-row select { min-height: 39px; padding: 7px 8px; }
  .bac-drink-row input[type="number"] { appearance: textfield; }
  .bac-drink-row input[type="number"]::-webkit-inner-spin-button,
  .bac-drink-row input[type="number"]::-webkit-outer-spin-button { margin: 0; appearance: none; }
  .bac-drink-row .bac-input-suffix input { padding-right: 25px; }
  .bac-drink-row .bac-input-suffix small { right: 6px; }
  .bac-remove { position: absolute; top: 32px; right: 9px; width: 33px; min-height: 39px; }
  .bac-formula { grid-template-columns: 1fr; gap: 3px; }
  .bac-formula strong + span { margin-top: 8px; }
  th, td { padding: 13px 12px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 390px) {
  .brand-wordmark { width: 150px; }
  .language { min-width: 40px; padding-inline: 8px; }
  .stat-grid { grid-template-columns: 1fr; }
  .bac-tool { padding: 17px; }
  .bac-actions { align-items: stretch; flex-direction: column; gap: 5px; }
  .bac-actions .primary-button { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
