:root {
  --ink: #152332;
  --muted: #5d6b78;
  --paper: #f4f6f4;
  --card: #ffffff;
  --line: #d9e0e2;
  --navy: #0b314c;
  --navy-deep: #072336;
  --blue: #176b8f;
  --blue-pale: #e3f1f5;
  --red: #a9363c;
  --red-pale: #f7e8e8;
  --gold: #c89532;
  --gold-pale: #faf0d6;
  --green: #247256;
  --green-pale: #e3f2eb;
  --orange: #a65426;
  --shadow: 0 18px 55px rgba(18, 43, 58, 0.1);
  --radius: 18px;
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 0, rgba(23, 107, 143, 0.1), transparent 30rem),
    var(--paper);
  font-family: var(--serif);
  line-height: 1.65;
}

button,
input,
select {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: #0c5f83;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy);
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy-deep);
  border-radius: 6px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid #d09c39;
  outline-offset: 3px;
}

.site-header {
  min-height: 70px;
  padding: 15px clamp(18px, 4vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.site-name {
  color: var(--navy);
  font-size: 20px;
  letter-spacing: 0.045em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 22px;
  font: 12px/1.4 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a {
  color: #495a66;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy);
}

.live-ribbon {
  min-height: 43px;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  color: rgba(255, 255, 255, 0.88);
  background: var(--navy-deep);
  font: 12px/1.4 var(--sans);
}

.live-ribbon-label {
  color: rgba(255, 255, 255, 0.63);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.live-ribbon strong {
  color: #fff;
}

.ribbon-time {
  color: rgba(255, 255, 255, 0.62);
}

.live-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  background: #a5b0b6;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.live-dot.is-loading {
  animation: pulse 1.3s ease-in-out infinite;
}

.live-dot.is-live {
  background: #64d1a0;
}

.live-dot.is-degraded {
  background: #f0c15b;
}

.page-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 76px;
}

.breadcrumb {
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: #7a8790;
  font: 12px/1.5 var(--sans);
}

.breadcrumb a {
  color: #64747e;
  text-decoration: none;
}

.hero {
  margin-bottom: 25px;
}

.hero-copy {
  padding: clamp(8px, 2vw, 24px) 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font: 700 11px/1.4 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 820px;
  color: var(--navy-deep);
  font-size: clamp(39px, 6vw, 68px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.detail-page h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.lede {
  max-width: 800px;
  margin: 18px 0 0;
  color: #485b68;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
}

.camera-caption a,
.detail-camera figcaption a {
  color: #9ed8ea;
}

.camera-caption a:hover,
.detail-camera figcaption a:hover {
  color: #fff;
}

.trust-strip {
  margin: 0 0 25px;
  padding: 13px 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  color: #344955;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.trust-item {
  min-height: 72px;
  padding: 12px 15px;
  background: #fff;
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  margin-bottom: 3px;
  color: var(--navy);
  font: 700 12px/1.35 var(--sans);
}

.trust-item span {
  color: var(--muted);
  font: 12px/1.5 var(--sans);
}

.decision-card,
.content-card,
.detail-live-card {
  margin-bottom: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.decision-card {
  overflow: hidden;
}

.decision-header {
  padding: clamp(22px, 4vw, 38px);
  color: #fff;
  background:
    linear-gradient(125deg, rgba(7, 35, 54, 0.98), rgba(13, 76, 103, 0.95)),
    var(--navy);
}

.decision-header .eyebrow {
  color: #9ed8ea;
}

.decision-header h2 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(29px, 4vw, 45px);
  font-weight: 400;
  line-height: 1.12;
}

.decision-header p:last-child {
  max-width: 830px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.control-panel {
  padding: 23px clamp(18px, 4vw, 38px);
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 20px;
  background: #f8faf9;
  border-bottom: 1px solid var(--line);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
.field-label {
  margin: 0 0 8px;
  display: block;
  color: #344b58;
  font: 700 11px/1.35 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.segment,
.camera-tab {
  min-height: 48px;
  padding: 8px 11px;
  cursor: pointer;
  color: #354d59;
  background: #fff;
  border: 1px solid #bcc9cf;
  border-radius: 9px;
  font: 700 13px/1.25 var(--sans);
}

.segment small {
  margin-top: 2px;
  display: block;
  color: #53636c;
  font-size: 10px;
  font-weight: 400;
}

.segment:hover,
.camera-tab:hover {
  border-color: var(--blue);
}

.segment.is-selected,
.segment[aria-pressed="true"],
.camera-tab.is-selected,
.camera-tab[aria-pressed="true"] {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.segment.is-selected small,
.segment[aria-pressed="true"] small {
  color: rgba(255, 255, 255, 0.72);
}

.select-control {
  width: 100%;
  min-height: 48px;
  padding: 8px 38px 8px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bcc9cf;
  border-radius: 9px;
  font: 700 13px/1.3 var(--sans);
}

.control-help {
  margin: 7px 0 0;
  color: #53636c;
  font: 11px/1.45 var(--sans);
}

.answer-panel {
  padding: clamp(24px, 4vw, 39px);
}

.answer-topline {
  margin-bottom: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.answer-topline h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 400;
  line-height: 1.18;
}

.answer-note {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
}

.freshness {
  min-width: 120px;
  padding: 9px 12px;
  text-align: center;
  background: var(--blue-pale);
  border-radius: 9px;
  font: 11px/1.4 var(--sans);
}

.freshness strong {
  display: block;
  color: var(--navy);
  font-size: 12px;
}

.crossing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.crossing-result {
  position: relative;
  min-width: 0;
  padding: 19px;
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.crossing-result.is-fastest {
  background: var(--green-pale);
  border-color: #7db39d;
  box-shadow: inset 0 4px 0 var(--green);
}

.crossing-result.is-unavailable {
  background: #f4f5f5;
}

.result-kicker {
  min-height: 17px;
  margin: 0 0 7px;
  color: var(--green);
  font: 700 10px/1.35 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.crossing-result h4 {
  margin: 0;
  color: var(--navy);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.25;
}

.wait-value {
  margin: 10px 0 2px;
  display: block;
  color: var(--navy-deep);
  font: 700 clamp(25px, 4vw, 38px)/1 var(--sans);
}

.wait-value.is-long {
  color: var(--red);
}

.wait-value.is-unknown {
  color: #667681;
  font-size: 22px;
}

.wait-detail,
.source-line {
  margin: 6px 0 0;
  color: var(--muted);
  font: 12px/1.5 var(--sans);
}

.source-line {
  font-size: 10.5px;
}

.result-actions {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  font: 11px/1.35 var(--sans);
}

.link-button {
  padding: 0;
  cursor: pointer;
  color: #0c5f83;
  background: transparent;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-button:hover {
  color: var(--navy);
}

.definition-note {
  margin: 20px 0 0;
  padding: 13px 15px;
  color: #465b67;
  background: #f4f7f7;
  border-left: 4px solid var(--blue);
  font: 12px/1.55 var(--sans);
}

.action-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.button {
  min-height: 44px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 8px;
  font: 700 12px/1.3 var(--sans);
  text-decoration: none;
}

.button:hover {
  color: #fff;
  background: var(--navy-deep);
}

.button-secondary {
  color: var(--navy);
  background: #fff;
  border-color: #9fb2bc;
}

.button-secondary:hover {
  color: var(--navy);
  background: var(--blue-pale);
}

.corridor-section,
.section-grid {
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.corridor-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 10px 35px rgba(18, 43, 58, 0.06);
}

.corridor-card.is-up {
  border-top: 5px solid var(--red);
}

.corridor-card.is-blue-water {
  border-top: 5px solid var(--blue);
}

.corridor-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
}

.corridor-card h2,
.corridor-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.region-pill,
.status-pill {
  padding: 5px 8px;
  color: var(--navy);
  background: var(--blue-pale);
  border-radius: 999px;
  font: 700 9px/1.3 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.corridor-wait {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.mini-wait {
  padding: 12px;
  background: #f7f9f9;
  border-radius: 9px;
}

.mini-wait span,
.mini-wait strong,
.mini-wait small {
  display: block;
}

.mini-wait span {
  color: var(--muted);
  font: 10px/1.35 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mini-wait strong {
  margin: 4px 0 2px;
  color: var(--navy);
  font: 700 22px/1.1 var(--sans);
}

.mini-wait small {
  color: #53636c;
  font: 10px/1.4 var(--sans);
}

.section-heading {
  margin: 0 0 17px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(27px, 3.5vw, 39px);
  font-weight: 400;
  line-height: 1.15;
}

.section-heading p:last-child {
  max-width: 650px;
  margin: 7px 0 0;
  color: var(--muted);
}

.content-card {
  padding: clamp(21px, 4vw, 36px);
}

.camera-tabs {
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.camera-tab {
  min-height: 42px;
  padding: 7px 11px;
  font-size: 11px;
}

.camera-stage {
  overflow: hidden;
  background: var(--navy-deep);
  border-radius: 12px;
}

.camera-stage img {
  width: 100%;
  min-height: 260px;
  max-height: 630px;
  display: block;
  object-fit: contain;
  background: #0b1d27;
}

.camera-caption {
  padding: 13px 15px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-deep);
  font: 12px/1.5 var(--sans);
}

.camera-caption strong {
  color: #fff;
}

.camera-unavailable {
  min-height: 260px;
  padding: 35px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: var(--navy-deep);
}

.live-video-links {
  margin-top: 13px;
  padding: 13px 15px;
  color: #3f525e;
  background: var(--gold-pale);
  border-radius: 9px;
  font: 12px/1.55 var(--sans);
}

.warning-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.warning-panel {
  padding: 18px;
  background: #f9fafa;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.warning-panel h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 21px;
  font-weight: 400;
}

.warning-panel > p {
  margin: 0 0 12px;
  color: var(--muted);
  font: 12px/1.55 var(--sans);
}

.alert-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.alert-item {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.alert-item:first-child {
  border-top: 0;
}

.alert-item strong,
.alert-item span {
  display: block;
}

.alert-item strong {
  color: #263e4b;
  font: 700 13px/1.4 var(--sans);
}

.alert-item span {
  margin-top: 3px;
  color: var(--muted);
  font: 11px/1.5 var(--sans);
}

.all-clear {
  padding: 14px;
  color: #2e5f4d;
  background: var(--green-pale);
  border-radius: 8px;
  font: 700 12px/1.5 var(--sans);
}

.trend-controls {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.trend-note {
  padding: 12px 14px;
  color: #4c5e68;
  background: var(--gold-pale);
  border-radius: 9px;
  font: 12px/1.55 var(--sans);
}

.trend-chart {
  margin-top: 17px;
  overflow-x: auto;
}

.trend-bars {
  min-width: 680px;
  min-height: 260px;
  padding: 16px 14px 33px;
  display: grid;
  grid-template-columns: repeat(24, minmax(19px, 1fr));
  align-items: end;
  gap: 5px;
  background:
    linear-gradient(to top, rgba(217, 224, 226, 0.55) 1px, transparent 1px) 0 0 / 100% 25%,
    #fafbfb;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.trend-hour {
  height: 220px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 2px;
}

.bar {
  width: 42%;
  min-height: 1px;
  border-radius: 3px 3px 0 0;
}

.bar.today {
  background: var(--blue);
}

.bar.typical {
  background: #9aa9b1;
}

.hour-label {
  position: absolute;
  bottom: -24px;
  left: 50%;
  color: #6f7c84;
  font: 9px/1 var(--sans);
  transform: translateX(-50%);
}

.trend-legend {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #5d6b74;
  font: 11px/1.4 var(--sans);
}

.legend-swatch {
  width: 10px;
  height: 10px;
  margin-right: 4px;
  display: inline-block;
  border-radius: 2px;
}

.toll-table-wrap {
  overflow-x: auto;
}

.toll-table {
  width: 100%;
  border-collapse: collapse;
  font: 13px/1.45 var(--sans);
}

.toll-table th,
.toll-table td {
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.toll-table th {
  color: #435862;
  background: #f3f6f6;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toll-table td strong {
  color: var(--navy);
}

.table-note {
  margin: 13px 0 0;
  color: var(--muted);
  font: 11px/1.55 var(--sans);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.faq-list details {
  padding: 0 16px;
  background: #fafbfb;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.faq-list summary {
  padding: 14px 25px 14px 0;
  cursor: pointer;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.4;
}

.faq-list details p,
.faq-list details ul {
  margin: 0 0 15px;
  color: #4e606b;
  font-size: 14px;
}

.faq-list details ul {
  padding-left: 20px;
}

.crossing-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.crossing-link {
  padding: 14px;
  color: var(--navy);
  background: var(--blue-pale);
  border: 1px solid #b8d2dc;
  border-radius: 9px;
  font: 700 12px/1.4 var(--sans);
  text-decoration: none;
}

.crossing-link:hover {
  background: #d5e9ef;
}

.method-box {
  color: #435762;
  font: 13px/1.65 var(--sans);
}

.method-box h2,
.method-box h3 {
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 400;
}

.method-box h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.method-box h3 {
  margin: 23px 0 7px;
  font-size: 21px;
}

.method-box p {
  margin: 0 0 12px;
}

.method-box ul {
  margin: 0;
  padding-left: 20px;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.source-grid a {
  padding: 11px 13px;
  background: #f5f7f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: 12px/1.45 var(--sans);
  text-decoration: none;
}

.site-footer {
  padding: 28px 20px;
  color: #53636c;
  background: #fff;
  border-top: 1px solid var(--line);
  text-align: center;
  font: 12px/1.7 var(--sans);
}

.site-footer nav {
  margin-bottom: 7px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 16px;
}

.site-footer a {
  color: #4c6370;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.detail-live-card {
  padding: clamp(22px, 4vw, 37px);
}

.detail-status-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(250px, 0.6fr);
  gap: 25px;
  align-items: center;
}

.detail-live-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(27px, 4vw, 41px);
  font-weight: 400;
  line-height: 1.15;
}

.detail-wait {
  margin: 10px 0 0;
  display: block;
  color: var(--navy-deep);
  font: 700 clamp(35px, 6vw, 61px)/1 var(--sans);
}

.detail-wait-note {
  margin: 8px 0 0;
  color: var(--muted);
  font: 12px/1.55 var(--sans);
}

.detail-controls {
  padding: 16px;
  background: #f4f7f7;
  border-radius: 12px;
}

.detail-controls fieldset + fieldset,
.detail-controls .field-label {
  margin-top: 13px;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 20px;
}

.prose {
  color: #384f5b;
}

.prose h2 {
  margin: 32px 0 10px;
  color: var(--navy);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 23px 0 7px;
  color: var(--navy);
  font-size: 21px;
  font-weight: 400;
}

.prose p {
  margin: 0 0 14px;
}

.prose ul {
  margin: 0 0 16px;
  padding-left: 21px;
}

.prose li {
  margin: 5px 0;
}

.sidebar-stack {
  display: grid;
  align-content: start;
  gap: 14px;
}

.sidebar-card {
  padding: 18px;
  background: #f6f8f8;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.sidebar-card h2,
.sidebar-card h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 400;
}

.sidebar-card p,
.sidebar-card li {
  color: #536570;
  font: 12px/1.55 var(--sans);
}

.sidebar-card p {
  margin: 0 0 9px;
}

.sidebar-card ul {
  margin: 0;
  padding-left: 18px;
}

.detail-camera {
  margin-top: 20px;
}

.detail-camera img {
  width: 100%;
  min-height: 220px;
  max-height: 540px;
  display: block;
  object-fit: contain;
  background: var(--navy-deep);
  border-radius: 10px 10px 0 0;
}

.detail-camera figcaption {
  padding: 11px 13px;
  color: rgba(255, 255, 255, 0.77);
  background: var(--navy-deep);
  border-radius: 0 0 10px 10px;
  font: 11px/1.5 var(--sans);
}

.error-box {
  padding: 16px;
  color: #6b3034;
  background: var(--red-pale);
  border: 1px solid #dfb3b6;
  border-radius: 9px;
  font: 12px/1.55 var(--sans);
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

@media (max-width: 920px) {
  .detail-content {
    grid-template-columns: 1fr;
  }

  .control-panel {
    grid-template-columns: 1fr 1fr;
  }

  .control-panel > :last-child {
    grid-column: 1 / -1;
  }

  .crossing-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    display: block;
  }

  .site-name {
    display: inline-block;
    margin-bottom: 10px;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 8px 15px;
  }

  .page-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 16px;
  }

  .trust-strip,
  .crossing-grid,
  .corridor-section,
  .section-grid,
  .warning-layout,
  .faq-list,
  .detail-status-row {
    grid-template-columns: 1fr;
  }

  .control-panel {
    grid-template-columns: 1fr;
  }

  .control-panel > :last-child {
    grid-column: auto;
  }

  .answer-topline,
  .section-heading {
    display: block;
  }

  .freshness {
    width: fit-content;
    margin-top: 12px;
  }

  .camera-stage img {
    min-height: 190px;
  }

  .crossing-links {
    grid-template-columns: 1fr 1fr;
  }

  .source-grid,
  .trend-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 38px;
  }

  .decision-header,
  .answer-panel,
  .content-card,
  .detail-live-card {
    padding: 20px 16px;
  }

  .control-panel {
    padding: 18px 16px;
  }

  .segmented,
  .corridor-wait,
  .crossing-links {
    grid-template-columns: 1fr;
  }

  .camera-tab,
  .button {
    width: 100%;
  }

  .toll-table {
    min-width: 640px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
