:root {
      --navy-950: #07111f;
      --navy-900: #0b1727;
      --navy-850: #102038;
      --navy-800: #152944;
      --ink: #182231;
      --muted: #607086;
      --soft: #eef2f6;
      --line: #d8e0e9;
      --white: #ffffff;
      --orange: #f28c28;
      --orange-dark: #bf5d00;
      --gold: #ffbd59;
      --blue: #2e71d1;
      --teal: #138c8c;
      --red: #c8483c;
      --green: #2b8a58;
      --shadow: 0 18px 45px rgba(4, 19, 38, 0.10);
      --radius-lg: 22px;
      --radius-md: 14px;
      --radius-sm: 9px;
      --content: 1420px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: #f4f6f9;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
      line-height: 1.55;
    }

    a { color: inherit; }
    button, select { font: inherit; }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(7, 17, 31, 0.96);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255,255,255,0.10);
    }

    .topbar-inner {
      max-width: var(--content);
      margin: 0 auto;
      padding: 0 26px;
      min-height: 70px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 22px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--white);
      text-decoration: none;
      font-weight: 800;
      letter-spacing: 0.01em;
      white-space: nowrap;
    }

    .brand-mark {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      background: linear-gradient(145deg, var(--orange), var(--gold));
      color: var(--navy-950);
      font-weight: 950;
      box-shadow: 0 8px 22px rgba(242, 140, 40, 0.30);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 6px;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .nav-links::-webkit-scrollbar { display: none; }

    .nav-links a {
      color: #cad4e0;
      text-decoration: none;
      font-size: 0.88rem;
      font-weight: 700;
      padding: 10px 11px;
      border-radius: 8px;
      white-space: nowrap;
    }
    .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }

    .hero {
      position: relative;
      overflow: hidden;
      color: var(--white);
      background:
        radial-gradient(circle at 86% 12%, rgba(242, 140, 40, 0.29), transparent 28%),
        radial-gradient(circle at 12% 88%, rgba(46, 113, 209, 0.20), transparent 30%),
        linear-gradient(125deg, var(--navy-950), #0d2039 58%, #183859);
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      opacity: 0.13;
      pointer-events: none;
      background-image:
        linear-gradient(30deg, transparent 24%, rgba(255,255,255,.18) 25%, rgba(255,255,255,.18) 26%, transparent 27%, transparent 74%, rgba(255,255,255,.12) 75%, rgba(255,255,255,.12) 76%, transparent 77%),
        linear-gradient(90deg, transparent 24%, rgba(255,255,255,.10) 25%, rgba(255,255,255,.10) 26%, transparent 27%, transparent 74%, rgba(255,255,255,.08) 75%, rgba(255,255,255,.08) 76%, transparent 77%);
      background-size: 64px 64px;
    }

    .hero-inner {
      position: relative;
      z-index: 1;
      max-width: var(--content);
      margin: 0 auto;
      padding: 74px 26px 64px;
      display: grid;
      grid-template-columns: minmax(0, 1.5fr) minmax(330px, 0.7fr);
      gap: 50px;
      align-items: end;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 18px;
      color: #ffd9ad;
      font-weight: 850;
      font-size: 0.80rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }
    .eyebrow::before {
      content: "";
      width: 28px;
      height: 3px;
      border-radius: 4px;
      background: var(--orange);
    }

    h1, h2, h3, p { margin-top: 0; }
    h1 {
      max-width: 930px;
      margin-bottom: 20px;
      font-size: clamp(2.55rem, 5.1vw, 5.2rem);
      line-height: 0.98;
      letter-spacing: -0.055em;
      font-weight: 900;
    }

    .hero-lead {
      max-width: 860px;
      margin-bottom: 0;
      color: #d8e2ee;
      font-size: clamp(1.05rem, 1.55vw, 1.28rem);
    }

    .hero-meta {
      display: grid;
      gap: 12px;
      align-content: end;
    }

    .meta-card {
      padding: 15px 17px;
      border: 1px solid rgba(255,255,255,0.14);
      border-radius: 12px;
      background: rgba(255,255,255,0.07);
      box-shadow: 0 18px 40px rgba(0,0,0,0.10);
    }
    .meta-label {
      display: block;
      margin-bottom: 3px;
      color: #aab8c8;
      font-size: 0.71rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .meta-value { color: #fff; font-size: 0.98rem; font-weight: 750; }

    .warning-band {
      background: #fff6e8;
      border-top: 1px solid #f1cf9c;
      border-bottom: 1px solid #f1cf9c;
    }
    .warning-inner {
      max-width: var(--content);
      margin: 0 auto;
      padding: 16px 26px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
      color: #69400d;
      font-size: 0.92rem;
    }
    .warning-icon {
      flex: 0 0 auto;
      width: 24px;
      height: 24px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: var(--orange);
      color: white;
      font-weight: 950;
    }

    main {
      max-width: var(--content);
      margin: 0 auto;
      padding: 42px 26px 80px;
    }

    section { scroll-margin-top: 92px; }
    .section { margin-top: 54px; }
    .section:first-child { margin-top: 0; }

    .section-heading {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 22px;
    }
    .section-heading h2 {
      margin-bottom: 5px;
      font-size: clamp(1.75rem, 3vw, 2.65rem);
      line-height: 1.06;
      letter-spacing: -0.035em;
    }
    .section-heading p {
      max-width: 760px;
      margin-bottom: 0;
      color: var(--muted);
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 7px 10px;
      border: 1px solid #d9e1ea;
      border-radius: 999px;
      background: #fff;
      color: #556477;
      font-size: 0.76rem;
      font-weight: 800;
      white-space: nowrap;
    }

    .panel {
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: var(--white);
      box-shadow: var(--shadow);
    }

    .summary-panel {
      display: grid;
      grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
      gap: 0;
      overflow: hidden;
    }
    .summary-copy { padding: 34px 36px; }
    .summary-copy p:last-child { margin-bottom: 0; }
    .summary-side {
      padding: 30px;
      color: white;
      background: linear-gradient(145deg, #152944, #0b1727);
    }
    .summary-side h3 { margin-bottom: 18px; font-size: 1rem; }
    .summary-side ul { margin: 0; padding-left: 18px; color: #d5deea; }
    .summary-side li + li { margin-top: 10px; }

    .kpi-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
    }
    .kpi-card {
      min-height: 176px;
      padding: 22px;
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      background: #fff;
      box-shadow: 0 9px 25px rgba(12, 34, 59, 0.07);
      position: relative;
      overflow: hidden;
    }
    .kpi-card::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 5px;
      background: var(--accent, var(--orange));
    }
    .kpi-label {
      min-height: 40px;
      color: #5b697b;
      font-size: 0.81rem;
      font-weight: 850;
      letter-spacing: 0.055em;
      text-transform: uppercase;
    }
    .kpi-value {
      margin: 14px 0 4px;
      font-size: clamp(1.65rem, 3vw, 2.65rem);
      line-height: 1;
      letter-spacing: -0.05em;
      font-weight: 920;
    }
    .kpi-context { color: var(--muted); font-size: 0.86rem; }

    .pillar-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }
    .pillar-card {
      padding: 26px;
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      background: #fff;
    }
    .pillar-number {
      display: grid;
      place-items: center;
      width: 38px;
      height: 38px;
      margin-bottom: 18px;
      border-radius: 11px;
      background: #fff0de;
      color: var(--orange-dark);
      font-weight: 950;
    }
    .pillar-card h3 { margin-bottom: 9px; font-size: 1.12rem; }
    .pillar-card p { margin-bottom: 0; color: var(--muted); font-size: 0.93rem; }

    .two-col {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 20px;
    }
    .chart-card { padding: 22px; }
    .chart-head {
      display: flex;
      align-items: start;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 16px;
    }
    .chart-head h3 { margin-bottom: 4px; font-size: 1.05rem; }
    .chart-head p { margin-bottom: 0; color: var(--muted); font-size: 0.82rem; }
    .chart-box { position: relative; min-height: 350px; }
    .chart-box.tall { min-height: 440px; }
    canvas { max-width: 100%; }

    .finding-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }
    .finding-card {
      padding: 23px;
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      background: #fff;
    }
    .finding-tag {
      display: inline-block;
      margin-bottom: 13px;
      padding: 5px 8px;
      border-radius: 6px;
      background: #edf3fb;
      color: #315c93;
      font-size: 0.69rem;
      font-weight: 900;
      letter-spacing: 0.07em;
      text-transform: uppercase;
    }
    .finding-card h3 { margin-bottom: 8px; font-size: 1.02rem; }
    .finding-card p { margin-bottom: 0; color: var(--muted); font-size: 0.90rem; }

    .table-panel { overflow: hidden; }
    .table-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 18px 20px;
      border-bottom: 1px solid var(--line);
      background: #fbfcfd;
    }
    .table-toolbar h3 { margin: 0; font-size: 1.03rem; }
    .table-wrap { overflow-x: auto; }
    table {
      width: 100%;
      border-collapse: collapse;
      min-width: 900px;
      font-variant-numeric: tabular-nums;
    }
    th, td {
      padding: 13px 15px;
      border-bottom: 1px solid #e7ebf0;
      text-align: left;
      vertical-align: middle;
    }
    th {
      color: #536173;
      background: #f7f9fb;
      font-size: 0.71rem;
      font-weight: 900;
      letter-spacing: 0.055em;
      text-transform: uppercase;
      white-space: nowrap;
    }
    td { font-size: 0.88rem; }
    tbody tr:hover { background: #fffaf4; }
    .rank-cell { color: var(--orange-dark); font-weight: 950; }
    .primary-cell { font-weight: 780; }
    .muted-cell { color: var(--muted); }
    .empty-row td { padding: 35px; color: var(--muted); text-align: center; }

    .map-panel {
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: #fff;
      box-shadow: var(--shadow);
    }

    .map-toolbar {
      display: flex;
      flex-wrap: wrap;
      align-items: end;
      gap: 14px;
      padding: 17px 18px;
      border-bottom: 1px solid var(--line);
      background: #fbfcfd;
    }

    .map-control {
      display: grid;
      gap: 5px;
      min-width: 190px;
    }

    .map-control label {
      color: #59687a;
      font-size: 0.70rem;
      font-weight: 900;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .map-control select,
    .map-reset {
      height: 42px;
      border: 1px solid #cfd8e3;
      border-radius: 9px;
      background: #fff;
      color: var(--ink);
      padding: 0 12px;
      font-weight: 700;
    }

    .map-reset {
      cursor: pointer;
      color: #fff;
      border-color: var(--navy-800);
      background: var(--navy-800);
    }
    .map-reset:hover { background: var(--navy-950); }

    .map-shell {
      position: relative;
      min-height: 620px;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: #e8eef4;
      text-align: left;
    }

    #freightMap {
      width: 100%;
      height: 620px;
      min-height: 620px;
    }

    .map-status {
      position: absolute;
      z-index: 5;
      top: 14px;
      left: 50%;
      max-width: calc(100% - 30px);
      transform: translateX(-50%);
      padding: 9px 13px;
      border: 1px solid rgba(10, 28, 48, 0.18);
      border-radius: 9px;
      background: rgba(255,255,255,0.94);
      box-shadow: 0 8px 24px rgba(5,20,38,0.15);
      color: #34465a;
      font-size: 0.82rem;
      font-weight: 800;
      text-align: center;
      pointer-events: none;
    }

    .map-status.error {
      color: #8a251f;
      border-color: #e4b2ae;
      background: rgba(255,241,240,0.97);
    }

    .map-legend {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 14px 19px;
      padding: 14px 18px;
      border-top: 1px solid var(--line);
      background: #fff;
      color: var(--muted);
      font-size: 0.80rem;
    }

    .map-legend strong { color: var(--ink); }
    .legend-item { display: inline-flex; align-items: center; gap: 7px; }
    .legend-dot {
      width: 11px;
      height: 11px;
      border: 2px solid rgba(0,0,0,0.18);
      border-radius: 50%;
    }

    .map-note {
      margin-left: auto;
      max-width: 620px;
      color: #66768a;
    }

    .method-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .method-card { padding: 27px; }
    .method-card h3 { margin-bottom: 14px; }
    .method-card ul { margin: 0; padding-left: 20px; }
    .method-card li + li { margin-top: 9px; }
    .method-card li { color: var(--muted); }

    .status-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      background: var(--line);
    }
    .status-item { padding: 18px; background: #fff; }
    .status-label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 0.70rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
    .status-value { font-size: 0.93rem; font-weight: 800; }

    footer {
      color: #c7d1dc;
      background: var(--navy-950);
    }
    .footer-inner {
      max-width: var(--content);
      margin: 0 auto;
      padding: 38px 26px;
      display: grid;
      grid-template-columns: 1.3fr 0.7fr;
      gap: 28px;
    }
    .footer-inner p { margin-bottom: 7px; }
    .footer-title { color: #fff; font-weight: 850; }
    .footer-small { color: #94a5b8; font-size: 0.82rem; }

    .loading-note {
      padding: 11px 14px;
      border: 1px solid #d6e2ef;
      border-radius: 9px;
      background: #edf5fd;
      color: #335b83;
      font-size: 0.83rem;
    }

    .print-button {
      cursor: pointer;
      border: 1px solid rgba(255,255,255,.25);
      border-radius: 8px;
      background: rgba(255,255,255,.10);
      color: #fff;
      padding: 8px 11px;
      font-weight: 800;
    }
    .print-button:hover { background: rgba(255,255,255,.18); }



    /* WESTERN_FREIGHT_PUBLICATION_V4 */
    .report-name {
      margin-bottom: 12px;
      color: #ffd9ad;
      font-size: 0.84rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 25px;
    }

    .hero-action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 9px 14px;
      border: 1px solid rgba(255,255,255,0.25);
      border-radius: 9px;
      color: #fff;
      background: rgba(255,255,255,0.09);
      text-decoration: none;
      font-size: 0.84rem;
      font-weight: 850;
    }
    .hero-action.primary {
      border-color: var(--orange);
      color: var(--navy-950);
      background: linear-gradient(145deg, var(--orange), var(--gold));
    }
    .hero-action:hover { background: rgba(255,255,255,0.17); }
    .hero-action.primary:hover { filter: brightness(1.05); }

    .brief-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
    }
    .brief-card {
      min-height: 170px;
      padding: 22px;
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      background: #fff;
      box-shadow: 0 9px 25px rgba(12, 34, 59, 0.06);
    }
    .brief-card .finding-tag { margin-bottom: 11px; }
    .brief-card h3 { margin-bottom: 8px; font-size: 1.02rem; }
    .brief-card p { margin-bottom: 0; color: var(--muted); font-size: 0.90rem; }

    .publication-caution,
    .score-method,
    .boundary-note {
      margin: 0 0 20px;
      padding: 16px 18px;
      border: 1px solid #e6c584;
      border-left: 5px solid var(--orange);
      border-radius: 11px;
      background: #fff8eb;
      color: #60400e;
      font-size: 0.90rem;
    }
    .publication-caution strong,
    .score-method strong,
    .boundary-note strong { color: #402700; }

    .score-method {
      margin-top: 18px;
      border-color: #bfd1e8;
      border-left-color: var(--blue);
      background: #f2f7fd;
      color: #354e6b;
    }
    .score-method ul { margin: 9px 0 0; padding-left: 20px; }
    .score-method li + li { margin-top: 5px; }

    .source-note,
    .chart-summary {
      margin: 13px 0 0;
      color: #66768a;
      font-size: 0.76rem;
      line-height: 1.45;
    }
    .chart-summary {
      padding-top: 10px;
      border-top: 1px solid #e8edf2;
      color: #405269;
      font-weight: 720;
    }

    .download-strip {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 18px;
    }
    .download-link {
      display: inline-flex;
      align-items: center;
      min-height: 40px;
      padding: 8px 12px;
      border: 1px solid #cfd8e3;
      border-radius: 9px;
      background: #fff;
      color: #31465e;
      text-decoration: none;
      font-size: 0.82rem;
      font-weight: 820;
    }
    .download-link:hover { border-color: #93abc5; background: #f7fafc; }

    .evidence-action-table td:first-child { font-weight: 780; }

    .publication-error {
      max-width: 900px;
      margin: 34px auto;
      padding: 30px;
      border: 2px solid #dba49f;
      border-radius: 16px;
      background: #fff3f2;
      color: #7a2722;
      box-shadow: var(--shadow);
    }
    .publication-error h2 { margin-bottom: 10px; }
    .publication-error p:last-child { margin-bottom: 0; }

    .map-size-legend {
      color: #405269;
      font-weight: 760;
    }

    .print-map-summary {
      display: none;
      padding: 20px;
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      background: #fff;
    }

    .author-credibility {
      max-width: 760px;
      color: #aebccc;
      font-size: 0.82rem;
    }


    /* WESTERN_FREIGHT_MAP_DETAILS_V5 */
    .map-content-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 360px;
      min-height: 620px;
      background: #e8eef4;
    }

    .map-content-grid .map-shell {
      min-width: 0;
    }

    .map-selection-panel {
      min-width: 0;
      padding: 20px;
      border-left: 1px solid var(--line);
      background: #f8fafc;
      overflow-y: auto;
    }

    .map-selection-heading {
      margin-bottom: 13px;
      color: #536173;
      font-size: 0.70rem;
      font-weight: 900;
      letter-spacing: 0.07em;
      text-transform: uppercase;
    }

    .map-selection-empty {
      display: grid;
      place-items: center;
      min-height: 330px;
      padding: 28px;
      border: 1px dashed #bdc9d6;
      border-radius: 14px;
      color: #65768a;
      background: #fff;
      text-align: center;
    }

    .freight-detail-card {
      width: 100%;
      min-width: 0;
      color: #182231;
      font-family: Inter, Arial, sans-serif;
      line-height: 1.4;
      overflow-wrap: anywhere;
    }

    .freight-detail-card.compact {
      width: 326px;
      max-width: 326px;
      padding: 17px 18px 15px;
    }

    .freight-detail-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin: 0 0 10px;
    }

    .freight-detail-badge {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 4px 8px;
      border: 1px solid #d5dee8;
      border-radius: 999px;
      color: #4e6075;
      background: #f7f9fb;
      font-size: 10px;
      font-weight: 850;
      line-height: 1.1;
    }

    .freight-detail-badge.priority {
      color: #7b3d00;
      border-color: #efc78f;
      background: #fff2dd;
    }

    .freight-detail-title {
      margin: 0 0 4px;
      color: #182231;
      font-size: 17px;
      font-weight: 900;
      line-height: 1.18;
      letter-spacing: -0.015em;
    }

    .freight-detail-card:not(.compact) .freight-detail-title {
      font-size: 20px;
    }

    .freight-detail-subtitle {
      margin: 0 0 13px;
      color: #607086;
      font-size: 12px;
      font-weight: 650;
    }

    .freight-metric-hero {
      margin: 0 0 11px;
      padding: 12px 13px;
      border: 1px solid #f0c78e;
      border-radius: 11px;
      background: linear-gradient(145deg, #fff8eb, #fff1dd);
    }

    .freight-metric-value {
      display: block;
      color: #9c4d00;
      font-size: 25px;
      font-weight: 950;
      line-height: 1;
      letter-spacing: -0.035em;
    }

    .freight-detail-card:not(.compact) .freight-metric-value {
      font-size: 32px;
    }

    .freight-metric-label {
      display: block;
      margin-top: 4px;
      color: #6d4a1e;
      font-size: 11px;
      font-weight: 820;
    }

    .freight-plain-english {
      margin: 0 0 13px;
      padding: 9px 10px;
      border-left: 4px solid var(--blue);
      border-radius: 7px;
      color: #334c68;
      background: #f1f6fc;
      font-size: 11px;
      font-weight: 720;
    }

    .freight-stat-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 7px;
      margin: 0 0 12px;
    }

    .freight-stat {
      min-width: 0;
      padding: 8px 9px;
      border: 1px solid #e0e6ed;
      border-radius: 8px;
      background: #fff;
    }

    .freight-stat-label {
      display: block;
      margin-bottom: 2px;
      color: #738195;
      font-size: 9px;
      font-weight: 850;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .freight-stat-value {
      display: block;
      color: #1e2e42;
      font-size: 12px;
      font-weight: 850;
      line-height: 1.22;
    }

    .freight-detail-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding-top: 10px;
      border-top: 1px solid #e2e8ef;
    }

    .freight-location-link {
      color: #245d9d;
      font-size: 11px;
      font-weight: 850;
      text-decoration: none;
    }
    .freight-location-link:hover { text-decoration: underline; }

    .freight-passing-note {
      color: #788699;
      font-size: 9px;
      text-align: right;
    }

    @media (max-width: 1080px) {
      .map-content-grid { grid-template-columns: 1fr; }
      .map-selection-panel {
        border-top: 1px solid var(--line);
        border-left: 0;
      }
      .map-selection-empty { min-height: 150px; }
    }

    @media (max-width: 520px) {
      .freight-detail-card.compact {
        width: 280px;
        max-width: 280px;
        padding: 15px;
      }
      .freight-stat-grid { grid-template-columns: 1fr; }
      .gm-style .gm-style-iw-c,
      .gm-style .gm-style-iw-d { max-width: 310px !important; }
    }

    @media (max-width: 1120px) {
      .brief-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 620px) {
      .brief-grid { grid-template-columns: 1fr; }
      .hero-actions { align-items: stretch; flex-direction: column; }
      .hero-action { width: 100%; }
    }

    @media print {
      .map-panel { display: none !important; }
      .print-map-summary { display: block !important; }
      .download-strip, .hero-actions { display: none !important; }
      #exposure, #night, #regions, #methodology { break-before: page; }
      .source-note, .chart-summary { color: #333; }
    }

    @media (max-width: 1120px) {
      .hero-inner { grid-template-columns: 1fr; gap: 28px; }
      .hero-meta { grid-template-columns: repeat(3, 1fr); }
      .kpi-grid { grid-template-columns: repeat(2, 1fr); }
      .finding-grid { grid-template-columns: 1fr 1fr; }
      .status-strip { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 820px) {
      .topbar-inner { min-height: 62px; padding: 0 16px; }
      .brand span:last-child { display: none; }
      .hero-inner { padding: 54px 18px 48px; }
      .hero-meta { grid-template-columns: 1fr; }
      main { padding: 30px 16px 60px; }
      .summary-panel, .two-col, .method-grid { grid-template-columns: 1fr; }
      .pillar-grid, .finding-grid { grid-template-columns: 1fr; }
      .section-heading { align-items: start; flex-direction: column; }
      .footer-inner { grid-template-columns: 1fr; padding: 30px 18px; }
    }

    @media (max-width: 560px) {
      .nav-links { display: none; }
      h1 { font-size: 2.65rem; }
      .kpi-grid, .status-strip { grid-template-columns: 1fr; }
      .summary-copy, .summary-side { padding: 24px; }
      .chart-box { min-height: 300px; }
    }

    @media print {
      .topbar, .print-button { display: none !important; }
      body { background: #fff; }
      .hero { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
      main { max-width: none; padding: 24px 18px; }
      .panel, .kpi-card { box-shadow: none; break-inside: avoid; }
      .section { break-inside: avoid; }
      .chart-box { min-height: 300px; }
      footer { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    }
  

    /* WESTERN_FREIGHT_MAP_INTERFACE_V6 */
    .map-toolbar-status {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 18px;
      border-bottom: 1px solid var(--line);
      color: #405269;
      background: #f4f7fa;
      font-size: 0.80rem;
      font-weight: 780;
    }

    .map-toolbar-status.error {
      color: #8a251f;
      background: #fff1f0;
    }

    .map-toolbar-shortcut {
      cursor: pointer;
      min-height: 42px;
      padding: 8px 13px;
      border: 1px solid #e4a64b;
      border-radius: 9px;
      color: #6f3900;
      background: #fff2dc;
      font-weight: 850;
    }
    .map-toolbar-shortcut:hover { background: #ffe8c1; }

    .map-content-grid {
      grid-template-columns: minmax(0, 1fr) 380px;
      transition: grid-template-columns 180ms ease;
    }

    .map-content-grid.panel-collapsed {
      grid-template-columns: minmax(0, 1fr) 0;
    }

    .map-content-grid.panel-collapsed .map-selection-panel {
      padding-left: 0;
      padding-right: 0;
      border-left: 0;
      overflow: hidden;
      opacity: 0;
      pointer-events: none;
    }

    .map-selection-panel {
      transition: opacity 150ms ease, padding 150ms ease;
    }

    .map-selection-topline {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 13px;
    }

    .map-selection-topline .map-selection-heading { margin: 0; }

    .map-panel-toggle {
      cursor: pointer;
      padding: 5px 8px;
      border: 1px solid #d3dce6;
      border-radius: 8px;
      color: #536173;
      background: #fff;
      font-size: 11px;
      font-weight: 820;
    }
    .map-panel-toggle:hover { background: #eef3f7; }

    .map-panel-reopen {
      display: none;
      position: absolute;
      z-index: 5;
      top: 14px;
      right: 14px;
      cursor: pointer;
      padding: 8px 11px;
      border: 1px solid rgba(10,28,48,0.22);
      border-radius: 9px;
      color: #243950;
      background: rgba(255,255,255,0.95);
      box-shadow: 0 7px 20px rgba(5,20,38,0.14);
      font-size: 11px;
      font-weight: 850;
    }
    .map-content-grid.panel-collapsed .map-panel-reopen { display: inline-flex; }

    .freight-why-matters,
    .freight-evidence-next,
    .freight-comparison {
      margin: 0 0 12px;
      padding: 10px 11px;
      border-radius: 9px;
      color: #334c68;
      background: #eef5fc;
      font-size: 11px;
      line-height: 1.45;
    }

    .freight-why-matters strong,
    .freight-evidence-next strong,
    .freight-comparison strong { color: #1f344b; }

    .freight-comparison {
      border-left: 4px solid var(--teal);
      background: #eef9f8;
    }

    .freight-evidence-next {
      border-left: 4px solid var(--orange);
      color: #61410f;
      background: #fff7e9;
    }

    .freight-score-row {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 10px;
      align-items: center;
      margin: 0 0 12px;
      padding: 10px 11px;
      border: 1px solid #d9e2eb;
      border-radius: 9px;
      background: #fff;
    }

    .freight-score-label {
      color: #546579;
      font-size: 10px;
      font-weight: 850;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .freight-score-value {
      color: #9c4d00;
      font-size: 18px;
      font-weight: 950;
    }

    .freight-priority-nav {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 7px;
      align-items: center;
      margin: 0 0 12px;
    }

    .freight-priority-nav button {
      cursor: pointer;
      min-height: 34px;
      padding: 6px 8px;
      border: 1px solid #d4dde7;
      border-radius: 8px;
      color: #344b65;
      background: #fff;
      font-size: 10px;
      font-weight: 820;
    }
    .freight-priority-nav button:hover { background: #eef4fa; }
    .freight-priority-position {
      color: #65758a;
      font-size: 10px;
      font-weight: 800;
      text-align: center;
      white-space: nowrap;
    }

    .metric-size-scale {
      display: inline-flex;
      align-items: end;
      gap: 10px;
      margin-left: 5px;
    }
    .metric-size-item {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      color: #5e6f83;
      font-size: 10px;
      white-space: nowrap;
    }
    .metric-size-circle {
      display: inline-block;
      border: 2px solid #f28c28;
      border-radius: 50%;
      background: rgba(242,140,40,0.35);
    }

    .map-selection-panel .freight-detail-title { font-size: 21px; }
    .map-selection-panel .freight-metric-value { font-size: 34px; }

    @media (max-width: 1080px) {
      .map-content-grid,
      .map-content-grid.panel-collapsed { grid-template-columns: 1fr; }
      .map-content-grid.panel-collapsed .map-selection-panel {
        display: none;
      }
      .map-panel-reopen {
        top: 12px;
        right: 12px;
      }
    }

  

    /* WESTERN_FREIGHT_POLITICAL_MAP_V7 */
    .map-mode-bar {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 16px 18px;
      border-bottom: 1px solid var(--line);
      background: linear-gradient(90deg, #f7f9fc, #fffaf4);
    }
    .map-mode-switch {
      display: inline-flex;
      padding: 4px;
      border: 1px solid #cfd8e3;
      border-radius: 11px;
      background: #fff;
    }
    .map-mode-button {
      min-height: 38px;
      padding: 7px 13px;
      border: 0;
      border-radius: 8px;
      background: transparent;
      color: #4a5d73;
      cursor: pointer;
      font-size: 0.82rem;
      font-weight: 850;
    }
    .map-mode-button.active {
      color: #fff;
      background: var(--navy-800);
      box-shadow: 0 5px 15px rgba(12,34,59,.18);
    }
    .map-mode-copy {
      max-width: 720px;
      color: #51647a;
      font-size: 0.82rem;
      font-weight: 720;
    }
    .map-political-toolbar {
      display: grid;
      grid-template-columns: minmax(230px, 1.1fr) minmax(260px, 1.3fr) auto;
      gap: 12px;
      align-items: end;
      padding: 15px 18px;
      border-bottom: 1px solid var(--line);
      background: #fff;
    }
    .map-preset-select,
    .map-search-input {
      width: 100%;
      height: 42px;
      border: 1px solid #cfd8e3;
      border-radius: 9px;
      background: #fff;
      color: var(--ink);
      padding: 0 12px;
      font-weight: 760;
    }
    .map-search-wrap { position: relative; }
    .map-search-results {
      display: none;
      position: absolute;
      z-index: 25;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      max-height: 290px;
      overflow-y: auto;
      border: 1px solid #cfd8e3;
      border-radius: 10px;
      background: #fff;
      box-shadow: 0 18px 40px rgba(5,20,38,.18);
    }
    .map-search-results.open { display: block; }
    .map-search-result {
      display: block;
      width: 100%;
      padding: 11px 12px;
      border: 0;
      border-bottom: 1px solid #edf1f5;
      background: #fff;
      text-align: left;
      cursor: pointer;
    }
    .map-search-result:hover { background: #fff8ec; }
    .map-search-result strong { display: block; color: #182231; }
    .map-search-result span { color: #68798d; font-size: .76rem; }
    .map-political-actions { display: flex; flex-wrap: wrap; gap: 7px; }
    .map-small-button {
      min-height: 42px;
      padding: 8px 11px;
      border: 1px solid #cfd8e3;
      border-radius: 9px;
      background: #fff;
      color: #31465e;
      cursor: pointer;
      font-size: .78rem;
      font-weight: 820;
    }
    .map-small-button:hover { background: #f4f8fc; border-color: #9fb3c9; }
    .map-small-button.primary { color: #fff; border-color: var(--navy-800); background: var(--navy-800); }
    .map-advanced-controls { transition: opacity .2s ease; }
    .map-panel.briefing-mode .map-advanced-controls { display: none; }
    .map-brief-status {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 11px 18px;
      border-bottom: 1px solid var(--line);
      background: #f7fafc;
      color: #405269;
      font-size: .80rem;
      font-weight: 790;
    }
    .map-brief-status strong { color: #182231; }
    .boundary-controls {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px 16px;
      padding: 10px 18px;
      border-bottom: 1px solid var(--line);
      background: #fff;
      color: #56687d;
      font-size: .76rem;
    }
    .boundary-controls strong { color: #23364d; }
    .boundary-toggle { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
    .boundary-toggle input { accent-color: var(--orange); }
    .boundary-status { margin-left: auto; color: #75869a; }
    .map-priority-list {
      padding: 14px 14px 8px;
      border-bottom: 1px solid #e2e8ef;
      background: #f8fafc;
    }
    .map-priority-list-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 9px;
    }
    .map-priority-list-head strong { font-size: .82rem; color: #22364e; }
    .map-priority-list-head span { color: #718196; font-size: .69rem; }
    .priority-road-button {
      display: grid;
      grid-template-columns: 30px minmax(0,1fr) auto 24px;
      align-items: center;
      gap: 8px;
      width: 100%;
      padding: 8px 9px;
      border: 1px solid transparent;
      border-radius: 9px;
      background: transparent;
      color: #293c53;
      text-align: left;
      cursor: pointer;
    }
    .priority-road-button:hover { background: #fff; border-color: #dce4ed; }
    .priority-road-button.selected { background: #fff4e5; border-color: #f1bf78; }
    .priority-rank {
      display: grid;
      place-items: center;
      width: 26px;
      height: 26px;
      border-radius: 8px;
      background: #fff0de;
      color: #a34d00;
      font-weight: 950;
      font-size: .75rem;
    }
    .priority-road-name { min-width: 0; font-weight: 820; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .priority-road-score { color: #a34d00; font-weight: 920; font-variant-numeric: tabular-nums; }
    .priority-compare-checkbox { width: 16px; height: 16px; accent-color: var(--blue); }
    .map-panel .map-selection-panel { overflow-y: auto; }
    .political-brief-block {
      margin-top: 11px;
      padding: 12px 13px;
      border-radius: 10px;
      border: 1px solid #dce4ed;
      background: #fff;
    }
    .political-brief-block.measured { border-left: 4px solid var(--blue); }
    .political-brief-block.meaning { border-left: 4px solid var(--orange); background: #fffaf3; }
    .political-brief-block.action { border-left: 4px solid var(--green); background: #f2faf6; }
    .political-brief-label {
      display: block;
      margin-bottom: 5px;
      color: #66778a;
      font-size: .66rem;
      font-weight: 920;
      letter-spacing: .06em;
      text-transform: uppercase;
    }
    .political-brief-block p { margin: 0; color: #31465e; font-size: .82rem; line-height: 1.48; }
    .coverage-quality {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 8px;
      border-radius: 999px;
      font-size: .68rem;
      font-weight: 900;
    }
    .coverage-quality.high { color: #17633e; background: #eaf7ef; }
    .coverage-quality.moderate { color: #73500a; background: #fff5d9; }
    .coverage-quality.limited { color: #8a2e29; background: #fff0ef; }
    .time-profile {
      margin-top: 12px;
      padding: 12px;
      border: 1px solid #dce4ed;
      border-radius: 10px;
      background: #fff;
    }
    .time-profile-head { display:flex; justify-content:space-between; gap:8px; margin-bottom:9px; font-size:.70rem; font-weight:880; color:#405269; }
    .time-profile-bar { display:flex; height:12px; overflow:hidden; border-radius:999px; background:#e7edf3; }
    .time-profile-day { background:#2e71d1; }
    .time-profile-evening { background:#f28c28; }
    .time-profile-night { background:#152944; }
    .time-profile-labels { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-top:8px; color:#607086; font-size:.68rem; }
    .time-profile-labels strong { display:block; color:#263b52; font-size:.76rem; }
    .evidence-gap-grid {
      display: grid;
      gap: 5px;
      margin-top: 12px;
      padding: 11px;
      border: 1px solid #dce4ed;
      border-radius: 10px;
      background: #f8fafc;
    }
    .evidence-gap-row { display:flex; justify-content:space-between; gap:12px; font-size:.72rem; }
    .evidence-gap-row span:first-child { color:#52657a; }
    .evidence-status { font-weight:900; }
    .evidence-status.available { color:#21704a; }
    .evidence-status.pending { color:#a75a00; }
    .brief-action-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin-top:12px; }
    .brief-action-button {
      min-height: 38px;
      padding: 7px 8px;
      border: 1px solid #cfd8e3;
      border-radius: 8px;
      background:#fff;
      color:#315274;
      cursor:pointer;
      font-size:.71rem;
      font-weight:850;
    }
    .brief-action-button:hover { background:#eef5fc; }
    .share-feedback { min-height:18px; margin-top:6px; color:#27714b; font-size:.69rem; font-weight:820; }
    .map-compare-panel {
      display:none;
      padding: 16px 18px;
      border-top: 1px solid var(--line);
      background:#fff;
    }
    .map-compare-panel.visible { display:block; }
    .map-compare-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
    .map-compare-head h3 { margin:0; font-size:1rem; }
    .map-compare-table { min-width: 700px; }
    .map-independence-note {
      padding: 10px 18px 14px;
      color:#65758a;
      background:#fff;
      font-size:.72rem;
      border-top:1px solid #edf1f5;
    }
    .map-independence-note strong { color:#273b53; }
    .boundary-key {
      display:inline-flex;
      align-items:center;
      gap:5px;
    }
    .boundary-line { width:23px; height:0; border-top:3px solid #c2187a; }
    .briefing-card-export { background:#fff; }
    .map-corridor-note { margin-top:8px; color:#728296; font-size:.67rem; }
    @media (max-width: 1100px) {
      .map-political-toolbar { grid-template-columns:1fr 1fr; }
      .map-political-actions { grid-column:1 / -1; }
    }
    @media (max-width: 760px) {
      .map-mode-bar, .map-political-toolbar { grid-template-columns:1fr; align-items:stretch; }
      .map-mode-switch { width:100%; }
      .map-mode-button { flex:1; }
      .map-political-actions { grid-column:auto; }
      .brief-action-grid { grid-template-columns:1fr; }
      .boundary-status { width:100%; margin-left:0; }
    }


    /* WESTERN_FREIGHT_GOVERNMENT_AREAS_V8 */
    .boundary-controls {
      display: grid;
      grid-template-columns: minmax(260px, 1.25fr) minmax(270px, .9fr);
      gap: 12px 20px;
      align-items: end;
      padding: 14px 18px;
      background: #f8fafc;
    }
    .government-boundary-title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 8px;
    }
    .government-boundary-title strong {
      color: #182231;
      font-size: .84rem;
    }
    .government-boundary-help {
      color: #66778a;
      font-size: .72rem;
      font-weight: 700;
    }
    .government-boundary-toggles {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
    }
    .boundary-toggle {
      min-height: 34px;
      padding: 6px 9px;
      border: 1px solid #d5dee8;
      border-radius: 9px;
      background: #fff;
      color: #405269;
      font-size: .72rem;
      font-weight: 790;
    }
    .boundary-toggle:hover { border-color: #9eb2c8; background: #fdfefe; }
    .boundary-toggle input { width: 15px; height: 15px; }
    .boundary-toggle.western input { accent-color: #c2187a; }
    .boundary-toggle.districts input { accent-color: #4d6fb3; }
    .boundary-toggle.lgas input { accent-color: #26735b; }
    .boundary-toggle.industrial input { accent-color: #8b5a2b; }
    .government-area-picker {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 7px;
      align-items: end;
    }
    .government-area-picker label {
      grid-column: 1 / -1;
      color: #59687a;
      font-size: .68rem;
      font-weight: 900;
      letter-spacing: .055em;
      text-transform: uppercase;
    }
    .government-area-picker select,
    .government-area-picker button {
      min-height: 40px;
      border: 1px solid #cfd8e3;
      border-radius: 9px;
      background: #fff;
      color: #263b52;
      padding: 7px 10px;
      font-size: .76rem;
      font-weight: 790;
    }
    .government-area-picker button { cursor: pointer; white-space: nowrap; }
    .government-area-picker button:hover { background: #eef5fc; }
    .boundary-status {
      grid-column: 1 / -1;
      width: 100%;
      margin: 0;
      padding-top: 2px;
      color: #68798d;
      font-size: .70rem;
    }
    .government-layer-key {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      margin-right: 10px;
      white-space: nowrap;
    }
    .government-layer-swatch {
      width: 18px;
      height: 9px;
      border: 2px solid currentColor;
      border-radius: 3px;
      background: color-mix(in srgb, currentColor 18%, transparent);
    }
    .boundary-map-label {
      display: none;
      position: absolute;
      z-index: 8;
      top: 14px;
      left: 14px;
      max-width: min(430px, calc(100% - 28px));
      padding: 10px 13px;
      border: 1px solid rgba(13, 31, 52, .20);
      border-left: 5px solid var(--boundary-colour, #4d6fb3);
      border-radius: 10px;
      background: rgba(255,255,255,.96);
      box-shadow: 0 9px 28px rgba(7, 24, 43, .18);
      color: #23364d;
      pointer-events: none;
    }
    .boundary-map-label.visible { display: block; }
    .boundary-map-label span {
      display: block;
      color: #68798d;
      font-size: .65rem;
      font-weight: 900;
      letter-spacing: .06em;
      text-transform: uppercase;
    }
    .boundary-map-label strong {
      display: block;
      margin-top: 2px;
      font-size: .96rem;
      line-height: 1.2;
    }
    .government-area-card {
      margin: 12px 12px 0;
      padding: 14px;
      border: 1px solid #ccd8e5;
      border-left: 5px solid var(--government-colour, #4d6fb3);
      border-radius: 12px;
      background: linear-gradient(145deg, #fff, #f7fafc);
      box-shadow: 0 8px 22px rgba(12,34,59,.07);
    }
    .government-area-card[hidden] { display: none !important; }
    .government-area-topline {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
    }
    .government-area-type {
      display: inline-flex;
      align-items: center;
      min-height: 25px;
      padding: 4px 7px;
      border-radius: 999px;
      color: #fff;
      background: var(--government-colour, #4d6fb3);
      font-size: .64rem;
      font-weight: 920;
      letter-spacing: .045em;
      text-transform: uppercase;
    }
    .government-area-name {
      margin: 9px 0 3px;
      color: #182231;
      font-size: 1.16rem;
      line-height: 1.15;
      letter-spacing: -.025em;
      font-weight: 920;
    }
    .government-area-caption {
      margin: 0;
      color: #66778a;
      font-size: .74rem;
    }
    .government-area-metrics {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 7px;
      margin-top: 12px;
    }
    .government-area-metric {
      padding: 9px 8px;
      border: 1px solid #dce4ed;
      border-radius: 9px;
      background: #fff;
    }
    .government-area-metric span {
      display: block;
      color: #6a7a8e;
      font-size: .58rem;
      font-weight: 900;
      letter-spacing: .045em;
      text-transform: uppercase;
    }
    .government-area-metric strong {
      display: block;
      margin-top: 3px;
      color: #23364d;
      font-size: .94rem;
      font-variant-numeric: tabular-nums;
    }
    .government-area-roads {
      margin-top: 11px;
      padding: 11px;
      border: 1px solid #dce4ed;
      border-radius: 10px;
      background: #fff;
    }
    .government-area-roads h4 {
      margin: 0 0 7px;
      color: #405269;
      font-size: .70rem;
      letter-spacing: .045em;
      text-transform: uppercase;
    }
    .government-area-road {
      display: grid;
      grid-template-columns: minmax(0,1fr) auto;
      gap: 8px;
      padding: 5px 0;
      border-top: 1px solid #edf1f5;
      color: #344a62;
      font-size: .72rem;
    }
    .government-area-road:first-of-type { border-top: 0; }
    .government-area-road strong { color: #a34d00; font-variant-numeric: tabular-nums; }
    .government-area-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0,1fr));
      gap: 7px;
      margin-top: 11px;
    }
    .government-area-action {
      min-height: 37px;
      padding: 7px 8px;
      border: 1px solid #cbd6e2;
      border-radius: 8px;
      background: #fff;
      color: #315274;
      cursor: pointer;
      font-size: .69rem;
      font-weight: 850;
    }
    .government-area-action.primary {
      color: #fff;
      border-color: #17314f;
      background: #17314f;
    }
    .government-area-action:hover { filter: brightness(.98); }
    .government-area-note {
      margin: 9px 0 0;
      color: #728196;
      font-size: .64rem;
      line-height: 1.4;
    }
    .map-selected-area-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 27px;
      padding: 4px 8px;
      border: 1px solid #d2dce7;
      border-radius: 999px;
      background: #fff;
      color: #3c526a;
      font-size: .68rem;
      font-weight: 850;
    }
    .map-selected-area-pill::before {
      content: "";
      width: 9px;
      height: 9px;
      border-radius: 3px;
      background: var(--selected-area-colour, #4d6fb3);
    }
    @media (max-width: 900px) {
      .boundary-controls { grid-template-columns: 1fr; }
      .government-area-picker { grid-template-columns: 1fr auto; }
    }
    @media (max-width: 560px) {
      .government-area-picker { grid-template-columns: 1fr; }
      .government-area-picker label { grid-column: auto; }
      .government-area-metrics { grid-template-columns: 1fr; }
      .government-area-actions { grid-template-columns: 1fr; }
    }


    /* WESTERN_FREIGHT_MONITORING_COVERAGE_V9 */
    .monitoring-scope-banner {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 11px;
      align-items: start;
      margin: 0 0 14px;
      padding: 16px 18px;
      border: 1px solid #d7c087;
      border-left: 6px solid #d48211;
      border-radius: 12px;
      background: linear-gradient(145deg, #fffaf0, #fff5dd);
      color: #5e420f;
      box-shadow: 0 8px 24px rgba(92, 61, 6, .06);
    }
    .monitoring-scope-icon {
      display: grid;
      place-items: center;
      width: 29px;
      height: 29px;
      border-radius: 50%;
      color: #fff;
      background: #d48211;
      font-weight: 950;
    }
    .monitoring-scope-banner strong { color: #3e2903; }
    .monitoring-scope-banner p { margin: 2px 0 0; font-size: .86rem; }
    .monitoring-scope-banner .scope-emphasis {
      display: block;
      margin-top: 5px;
      color: #7c2d22;
      font-weight: 870;
    }
    .map-scope-explainer {
      margin: 0 0 16px;
      border: 1px solid #d4dee8;
      border-radius: 11px;
      background: #fff;
      overflow: hidden;
    }
    .map-scope-explainer summary {
      cursor: pointer;
      padding: 12px 15px;
      color: #274461;
      background: #f6f9fc;
      font-size: .80rem;
      font-weight: 880;
    }
    .map-scope-explainer-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      padding: 15px;
      border-top: 1px solid #dce4ed;
    }
    .map-scope-explainer h4 {
      margin: 0 0 7px;
      color: #263d55;
      font-size: .76rem;
      text-transform: uppercase;
      letter-spacing: .045em;
    }
    .map-scope-explainer ul { margin: 0; padding-left: 18px; }
    .map-scope-explainer li { color: #647589; font-size: .75rem; }
    .map-scope-explainer li + li { margin-top: 5px; }
    .map-footprint-control {
      min-width: 230px;
    }
    .map-footprint-check {
      display: flex;
      align-items: center;
      gap: 8px;
      min-height: 42px;
      padding: 8px 10px;
      border: 1px solid #cfd8e3;
      border-radius: 9px;
      background: #fff;
      color: #344b63;
      cursor: pointer;
      font-size: .73rem;
      font-weight: 800;
    }
    .map-footprint-check input { width: 16px; height: 16px; accent-color: #56687d; }
    .monitoring-footprint-status {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: #4b6076;
      font-size: .72rem;
      font-weight: 800;
    }
    .monitoring-footprint-status::before {
      content: "";
      width: 10px;
      height: 10px;
      border: 2px solid #6c7b8c;
      border-radius: 50%;
      background: transparent;
    }
    .footprint-legend-item {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      white-space: nowrap;
    }
    .footprint-legend-circle {
      display: inline-block;
      width: 13px;
      height: 13px;
      border-radius: 50%;
    }
    .footprint-legend-circle.active {
      border: 2px solid #f28c28;
      background: rgba(242, 140, 40, .45);
    }
    .footprint-legend-circle.hidden {
      border: 2px solid #69798b;
      background: rgba(255,255,255,.40);
    }
    .government-coverage-class {
      display: inline-flex;
      align-items: center;
      min-height: 27px;
      margin-top: 9px;
      padding: 4px 8px;
      border-radius: 999px;
      font-size: .65rem;
      font-weight: 920;
      letter-spacing: .025em;
    }
    .government-coverage-class.none,
    .government-coverage-class.very-limited { color: #8a2924; background: #fff0ef; }
    .government-coverage-class.limited { color: #79520b; background: #fff4d7; }
    .government-coverage-class.moderate { color: #28587e; background: #edf6fd; }
    .government-coverage-class.broader { color: #17633e; background: #eaf7ef; }
    .government-area-gap {
      margin-top: 12px;
      padding: 14px;
      border: 1px solid #e0aaa5;
      border-left: 5px solid #c8483c;
      border-radius: 10px;
      background: #fff3f2;
      color: #742b26;
      font-size: .76rem;
      line-height: 1.5;
    }
    .government-area-gap strong { display: block; margin-bottom: 4px; color: #5d1f1b; }
    .government-area-scope-note {
      margin-top: 10px;
      padding: 10px 11px;
      border: 1px solid #d7e0e9;
      border-radius: 9px;
      background: #f8fafc;
      color: #5f7084;
      font-size: .68rem;
      line-height: 1.45;
    }
    .government-area-scope-note strong { color: #314960; }
    .freight-filter-note {
      margin: 9px 0;
      padding: 9px 10px;
      border: 1px solid #cbd7e3;
      border-left: 4px solid #6b7a8c;
      border-radius: 8px;
      background: #f4f7fa;
      color: #4b5f74;
      font-size: .69rem;
      font-weight: 760;
    }
    .coverage-table-panel {
      margin-top: 16px;
      border: 1px solid #d4dee8;
      border-radius: 14px;
      background: #fff;
      overflow: hidden;
    }
    .coverage-table-head {
      display: flex;
      flex-wrap: wrap;
      align-items: end;
      justify-content: space-between;
      gap: 12px;
      padding: 15px 17px;
      border-bottom: 1px solid #dce4ed;
      background: #f8fafc;
    }
    .coverage-table-head h3 { margin: 0 0 3px; font-size: .98rem; }
    .coverage-table-head p { margin: 0; color: #68798c; font-size: .73rem; }
    .coverage-table-controls { display: flex; flex-wrap: wrap; gap: 8px; }
    .coverage-table-controls select {
      min-height: 38px;
      padding: 6px 9px;
      border: 1px solid #cbd6e2;
      border-radius: 8px;
      background: #fff;
      color: #30475f;
      font-size: .72rem;
      font-weight: 780;
    }
    .coverage-table-panel table { min-width: 930px; }
    .coverage-table-panel tbody tr { cursor: pointer; }
    .coverage-table-panel tbody tr:hover { background: #fff8ec; }
    .coverage-table-panel tbody tr.selected-area-row { background: #eef5fc; outline: 2px solid #8aa7c4; outline-offset: -2px; }
    .coverage-cell-warning { color: #9a332d; font-weight: 850; }
    .coverage-cell-ok { color: #1f6542; font-weight: 850; }
    .coverage-table-note {
      margin: 0;
      padding: 11px 16px 14px;
      color: #69798c;
      font-size: .69rem;
    }
    @media (max-width: 760px) {
      .map-scope-explainer-grid { grid-template-columns: 1fr; }
      .monitoring-scope-banner { grid-template-columns: 1fr; }
      .monitoring-scope-icon { display: none; }
    }


    /* WESTERN_FREIGHT_VISUAL_STORY_V10 */
    .insight-map-card {
      margin-top: 20px;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: #fff;
      box-shadow: var(--shadow);
    }
    .insight-map-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 18px;
      padding: 18px 20px;
      border-bottom: 1px solid var(--line);
      background: #fbfcfd;
    }
    .insight-map-head h3 { margin: 0 0 4px; font-size: 1.08rem; }
    .insight-map-head p { margin: 0; max-width: 790px; color: var(--muted); font-size: .82rem; }
    .insight-map-open {
      flex: 0 0 auto;
      min-height: 39px;
      padding: 7px 11px;
      border: 1px solid #cbd6e2;
      border-radius: 8px;
      background: #fff;
      color: #315274;
      cursor: pointer;
      font-size: .74rem;
      font-weight: 850;
    }
    .insight-map-open:hover { background: #eef5fc; }
    .insight-map-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 330px;
      min-height: 460px;
    }
    .insight-map-canvas { width: 100%; min-height: 460px; background: #e8eef4; }
    .insight-map-side {
      min-width: 0;
      padding: 15px;
      border-left: 1px solid var(--line);
      background: #f8fafc;
      overflow-y: auto;
    }
    .insight-map-status {
      margin-bottom: 10px;
      color: #53677d;
      font-size: .72rem;
      font-weight: 790;
    }
    .insight-location-list { display: grid; gap: 6px; }
    .insight-location-button {
      display: grid;
      grid-template-columns: 26px minmax(0, 1fr) auto;
      gap: 8px;
      align-items: center;
      width: 100%;
      padding: 8px;
      border: 1px solid transparent;
      border-radius: 9px;
      background: transparent;
      color: #2c4057;
      text-align: left;
      cursor: pointer;
    }
    .insight-location-button:hover,
    .insight-location-button.selected { border-color: #d5dee8; background: #fff; }
    .insight-location-button.selected { box-shadow: inset 4px 0 0 var(--insight-colour, #f28c28); }
    .insight-location-rank {
      display: grid;
      place-items: center;
      width: 25px;
      height: 25px;
      border-radius: 7px;
      color: #fff;
      background: var(--insight-colour, #f28c28);
      font-size: .68rem;
      font-weight: 950;
    }
    .insight-location-name {
      min-width: 0;
      overflow: hidden;
      color: #283c53;
      font-size: .72rem;
      font-weight: 820;
      line-height: 1.25;
    }
    .insight-location-name small {
      display: block;
      overflow: hidden;
      color: #738296;
      font-size: .63rem;
      font-weight: 680;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .insight-location-value {
      color: #20354d;
      font-size: .72rem;
      font-weight: 920;
      white-space: nowrap;
    }
    .insight-map-detail {
      margin-top: 11px;
      padding: 12px;
      border: 1px solid #d9e2eb;
      border-radius: 10px;
      background: #fff;
      color: #405269;
      font-size: .72rem;
      line-height: 1.45;
    }
    .insight-map-detail strong { color: #1d3249; }
    .insight-map-detail button {
      width: 100%;
      min-height: 36px;
      margin-top: 9px;
      border: 1px solid #17314f;
      border-radius: 8px;
      background: #17314f;
      color: #fff;
      cursor: pointer;
      font-size: .70rem;
      font-weight: 850;
    }
    .insight-map-note {
      margin: 0;
      padding: 11px 18px 14px;
      border-top: 1px solid #edf1f5;
      color: #6a7a8d;
      font-size: .69rem;
    }
    .map-pathways {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin: 0 0 16px;
    }
    .map-pathway {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 11px;
      align-items: start;
      padding: 15px;
      border: 1px solid #d3dde7;
      border-radius: 12px;
      background: #fff;
      color: #263b52;
      text-align: left;
      cursor: pointer;
      box-shadow: 0 7px 20px rgba(12,34,59,.05);
    }
    .map-pathway:hover { border-color: #9fb3c8; transform: translateY(-1px); }
    .map-pathway.active { border-color: #e8a64a; background: #fff9ef; box-shadow: inset 0 0 0 1px #f4c887; }
    .map-pathway-number {
      display: grid;
      place-items: center;
      width: 32px;
      height: 32px;
      border-radius: 9px;
      background: #17314f;
      color: #fff;
      font-weight: 950;
    }
    .map-pathway strong { display: block; margin-bottom: 3px; font-size: .83rem; }
    .map-pathway span:last-child { display: block; color: #65768a; font-size: .70rem; line-height: 1.4; }
    .melbourne-footprint-summary {
      display: none;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1px;
      border-bottom: 1px solid var(--line);
      background: var(--line);
    }
    .melbourne-footprint-summary.visible { display: grid; }
    .melbourne-footprint-stat { padding: 12px 14px; background: #fff; }
    .melbourne-footprint-stat span { display: block; color: #6b7a8d; font-size: .61rem; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; }
    .melbourne-footprint-stat strong { display: block; margin-top: 3px; color: #20364e; font-size: 1.03rem; }
    .physical-site-card { color: #263b52; }
    .physical-site-card h3 { margin: 0 0 4px; font-size: 1.18rem; }
    .physical-site-card .physical-site-subtitle { margin: 0 0 12px; color: #65768a; font-size: .75rem; }
    .physical-site-warning {
      margin: 10px 0;
      padding: 10px;
      border-left: 4px solid #d48211;
      border-radius: 8px;
      background: #fff8e9;
      color: #694613;
      font-size: .70rem;
      line-height: 1.45;
    }
    .physical-site-directions {
      display: grid;
      gap: 6px;
      margin-top: 11px;
    }
    .physical-site-direction {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
      padding: 8px;
      border: 1px solid #dce4ed;
      border-radius: 8px;
      background: #fff;
      color: #405269;
      font-size: .69rem;
    }
    .physical-site-direction strong { color: #20364e; }
    @media (max-width: 1050px) {
      .insight-map-grid { grid-template-columns: 1fr; }
      .insight-map-side { border-top: 1px solid var(--line); border-left: 0; }
      .map-pathways { grid-template-columns: 1fr; }
    }
    @media (max-width: 700px) {
      .insight-map-head { flex-direction: column; }
      .insight-map-open { width: 100%; }
      .melbourne-footprint-summary { grid-template-columns: repeat(2, 1fr); }
    }


    /* WESTERN_FREIGHT_NIGHT_DETAIL_V11 */
    .night-detail-explorer {
      margin-top: 22px;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: #fff;
      box-shadow: var(--shadow);
    }
    .night-detail-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
      gap: 20px;
      align-items: end;
      padding: 24px 26px 20px;
      color: #fff;
      background: linear-gradient(135deg, #102038, #182f4d 68%, #294b70);
    }
    .night-detail-head h3 { margin: 0 0 7px; font-size: 1.35rem; }
    .night-detail-head p { margin: 0; color: #ced9e6; font-size: .87rem; }
    .night-detail-selector { display: grid; gap: 6px; }
    .night-detail-selector label {
      color: #b8c8d9;
      font-size: .68rem;
      font-weight: 900;
      letter-spacing: .065em;
      text-transform: uppercase;
    }
    .night-detail-selector select {
      width: 100%;
      min-height: 44px;
      padding: 8px 11px;
      border: 1px solid rgba(255,255,255,.25);
      border-radius: 9px;
      color: #17273a;
      background: #fff;
      font-weight: 830;
    }
    .night-detail-status {
      padding: 11px 18px;
      border-bottom: 1px solid var(--line);
      color: #40556d;
      background: #f5f8fb;
      font-size: .76rem;
      font-weight: 780;
    }
    .night-detail-status.error { color: #842b25; background: #fff1f0; }
    .night-detail-tabs {
      display: flex;
      gap: 5px;
      padding: 10px 14px 0;
      overflow-x: auto;
      border-bottom: 1px solid var(--line);
      background: #fbfcfd;
      scrollbar-width: thin;
    }
    .night-detail-tab {
      flex: 0 0 auto;
      min-height: 40px;
      padding: 8px 12px;
      border: 1px solid transparent;
      border-bottom: 0;
      border-radius: 9px 9px 0 0;
      color: #52667c;
      background: transparent;
      cursor: pointer;
      font-size: .77rem;
      font-weight: 850;
    }
    .night-detail-tab:hover { background: #eef4fa; }
    .night-detail-tab.active {
      color: #fff;
      border-color: #142b47;
      background: #142b47;
    }
    .night-detail-body { padding: 20px; }
    .night-tab-panel[hidden] { display: none !important; }
    .night-summary-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
    }
    .night-summary-card {
      min-width: 0;
      padding: 14px;
      border: 1px solid #dce4ed;
      border-radius: 11px;
      background: linear-gradient(145deg, #fff, #f8fafc);
    }
    .night-summary-card span {
      display: block;
      color: #6b7c90;
      font-size: .61rem;
      font-weight: 900;
      letter-spacing: .05em;
      text-transform: uppercase;
    }
    .night-summary-card strong {
      display: block;
      margin-top: 5px;
      color: #172a40;
      font-size: 1.28rem;
      line-height: 1.1;
      letter-spacing: -.025em;
      font-variant-numeric: tabular-nums;
    }
    .night-summary-card small { display: block; margin-top: 4px; color: #718197; font-size: .66rem; }
    .night-interpretation-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 11px;
      margin-top: 13px;
    }
    .night-interpretation {
      padding: 13px 14px;
      border: 1px solid #dce4ed;
      border-left: 5px solid var(--night-accent, #2e71d1);
      border-radius: 10px;
      background: #fff;
    }
    .night-interpretation span {
      display: block;
      margin-bottom: 5px;
      color: #65778b;
      font-size: .62rem;
      font-weight: 920;
      letter-spacing: .055em;
      text-transform: uppercase;
    }
    .night-interpretation p { margin: 0; color: #31485f; font-size: .78rem; line-height: 1.48; }
    .night-percentile-strip {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 7px;
      margin-top: 13px;
      padding: 12px;
      border: 1px solid #dce4ed;
      border-radius: 10px;
      background: #f8fafc;
    }
    .night-percentile-strip div { padding: 7px 8px; border-radius: 8px; background: #fff; }
    .night-percentile-strip span { display: block; color: #6b7b8d; font-size: .60rem; font-weight: 900; text-transform: uppercase; }
    .night-percentile-strip strong { color: #1e344c; font-size: .94rem; }
    .night-chart-card {
      padding: 15px;
      border: 1px solid #dce4ed;
      border-radius: 12px;
      background: #fff;
    }
    .night-chart-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
    .night-chart-head h4 { margin: 0 0 3px; color: #20364e; font-size: .98rem; }
    .night-chart-head p { margin: 0; color: #6c7d91; font-size: .72rem; }
    .night-chart-canvas { position: relative; min-height: 390px; }
    .night-chart-canvas.compact { min-height: 330px; }
    .night-chart-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 13px; }
    .night-metric-table { margin-top: 13px; overflow-x: auto; }
    .night-metric-table table { min-width: 760px; }
    .night-metric-table tr.clickable { cursor: pointer; }
    .night-metric-table tr.clickable:hover { background: #fff8ec; }
    #nightTableBody tr { cursor: pointer; }
    #nightTableBody tr:hover { background: #fff5e8; }
    #nightTableBody tr.night-selected-row { background: #edf5fd; outline: 2px solid #8faac4; outline-offset: -2px; }
    .night-heatmap-wrap { margin-top: 14px; overflow-x: auto; }
    .night-heatmap {
      display: grid;
      grid-template-columns: 72px repeat(32, 22px);
      gap: 2px;
      min-width: 820px;
      align-items: center;
    }
    .night-heatmap-label { color: #586b81; font-size: .62rem; font-weight: 830; }
    .night-heatmap-time { color: #6d7d90; font-size: .54rem; text-align: center; transform: rotate(-55deg); transform-origin: center; height: 35px; }
    .night-heatmap-cell {
      width: 22px;
      height: 22px;
      border: 1px solid rgba(20,43,71,.08);
      border-radius: 3px;
      background: rgba(21,41,68,var(--cell-alpha, .05));
    }
    .night-heatmap-legend { display: flex; align-items: center; gap: 7px; margin-top: 9px; color: #697b8f; font-size: .66rem; }
    .night-heatmap-ramp { width: 150px; height: 10px; border-radius: 999px; background: linear-gradient(90deg, rgba(21,41,68,.04), rgba(21,41,68,.95)); }
    .night-detail-downloads {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin-top: 16px;
    }
    .night-detail-downloads a {
      display: inline-flex;
      align-items: center;
      min-height: 36px;
      padding: 7px 9px;
      border: 1px solid #cdd8e3;
      border-radius: 8px;
      color: #315476;
      background: #fff;
      text-decoration: none;
      font-size: .69rem;
      font-weight: 830;
    }
    .night-method-note {
      margin-top: 14px;
      padding: 13px 14px;
      border: 1px solid #e4c187;
      border-left: 5px solid #f28c28;
      border-radius: 10px;
      color: #5e4317;
      background: #fff8ea;
      font-size: .72rem;
      line-height: 1.5;
    }
    .night-empty {
      padding: 35px;
      border: 1px dashed #bdcbd8;
      border-radius: 11px;
      color: #67798d;
      background: #f9fbfc;
      text-align: center;
    }
    @media (max-width: 1050px) {
      .night-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .night-interpretation-grid, .night-chart-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 700px) {
      .night-detail-head { grid-template-columns: 1fr; }
      .night-summary-grid, .night-percentile-strip { grid-template-columns: 1fr 1fr; }
      .night-detail-body { padding: 13px; }
      .night-chart-canvas { min-height: 320px; }
    }

  

    /* WESTERN_FREIGHT_GRAPH_GALLERY_V13 */
    .graph-evidence-shell {
      overflow: hidden;
      border: 1px solid #20344f;
      border-radius: 24px;
      color: #edf4ff;
      background:
        radial-gradient(circle at 92% 4%, rgba(242,140,40,.19), transparent 27%),
        radial-gradient(circle at 7% 92%, rgba(46,113,209,.17), transparent 30%),
        linear-gradient(145deg, #07111f, #0c1b30 58%, #112846);
      box-shadow: 0 22px 54px rgba(6,20,38,.20);
    }
    .graph-evidence-intro {
      display: grid;
      grid-template-columns: minmax(0,1.4fr) minmax(260px,.6fr);
      gap: 24px;
      padding: 30px;
      border-bottom: 1px solid rgba(255,255,255,.11);
    }
    .graph-evidence-intro h3 {
      margin: 0 0 9px;
      color: #fff;
      font-size: clamp(1.45rem,2.6vw,2.15rem);
      letter-spacing: -.03em;
    }
    .graph-evidence-intro p { margin: 0; color: #c3d0df; }
    .graph-evidence-intro .graph-evidence-note {
      padding: 15px 16px;
      border: 1px solid rgba(255,255,255,.13);
      border-left: 4px solid #f28c28;
      border-radius: 12px;
      color: #d9e4f0;
      background: rgba(255,255,255,.065);
      font-size: .79rem;
    }
    .graph-evidence-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
      margin-top: 17px;
    }
    .graph-evidence-link,
    .graph-open-button,
    .graph-download-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 39px;
      padding: 7px 11px;
      border: 1px solid rgba(255,255,255,.20);
      border-radius: 9px;
      color: #f1f6fc;
      background: rgba(255,255,255,.08);
      text-decoration: none;
      cursor: pointer;
      font-size: .74rem;
      font-weight: 850;
    }
    .graph-evidence-link.primary,
    .graph-open-button.primary {
      color: #07111f;
      border-color: #f28c28;
      background: linear-gradient(145deg,#f28c28,#ffbd59);
    }
    .graph-evidence-link:hover,
    .graph-open-button:hover,
    .graph-download-link:hover { filter: brightness(1.08); }
    .graph-gallery-section { padding: 28px 28px 8px; }
    .graph-gallery-heading {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 16px;
    }
    .graph-gallery-heading h4 { margin: 0 0 4px; color: #fff; font-size: 1.18rem; }
    .graph-gallery-heading p { margin: 0; color: #9fb0c5; font-size: .80rem; }
    .publication-graph-grid {
      display: grid;
      grid-template-columns: repeat(2,minmax(0,1fr));
      gap: 17px;
    }
    .publication-graph-card {
      min-width: 0;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.13);
      border-radius: 15px;
      background: rgba(255,255,255,.055);
    }
    .publication-graph-card.featured { grid-column: 1 / -1; }
    .publication-graph-media {
      position: relative;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      background: #07111f;
    }
    .publication-graph-card.featured .publication-graph-media { aspect-ratio: 2.05 / 1; }
    .publication-graph-media img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
      cursor: zoom-in;
    }
    .publication-graph-media .graph-open-button {
      position: absolute;
      right: 11px;
      bottom: 11px;
      box-shadow: 0 7px 20px rgba(0,0,0,.25);
    }
    .publication-graph-copy { padding: 17px 18px 18px; }
    .publication-graph-kicker {
      display: inline-flex;
      margin-bottom: 7px;
      padding: 4px 7px;
      border-radius: 999px;
      color: #ffd59f;
      background: rgba(242,140,40,.13);
      font-size: .64rem;
      font-weight: 900;
      letter-spacing: .05em;
      text-transform: uppercase;
    }
    .publication-graph-copy h5 { margin: 0 0 8px; color: #fff; font-size: 1rem; }
    .publication-graph-copy p { margin: 0; color: #bac8d8; font-size: .79rem; }
    .publication-graph-copy p + p { margin-top: 9px; }
    .publication-graph-meaning {
      padding: 10px 11px;
      border-left: 4px solid #66b3ff;
      border-radius: 8px;
      color: #e5eef9 !important;
      background: rgba(46,113,209,.12);
    }
    .publication-graph-caution {
      color: #9fb0c5 !important;
      font-size: .70rem !important;
    }
    .publication-graph-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin-top: 13px;
    }
    .corridor-graph-explorer {
      margin: 22px 28px 28px;
      padding: 20px;
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 16px;
      background: rgba(255,255,255,.06);
    }
    .corridor-graph-controls {
      display: grid;
      grid-template-columns: minmax(230px,.75fr) minmax(0,1.25fr);
      gap: 14px;
      align-items: end;
      margin-bottom: 16px;
    }
    .corridor-graph-control { display: grid; gap: 5px; }
    .corridor-graph-control label {
      color: #aebed0;
      font-size: .67rem;
      font-weight: 900;
      letter-spacing: .055em;
      text-transform: uppercase;
    }
    .corridor-graph-control select {
      width: 100%;
      min-height: 42px;
      padding: 7px 10px;
      border: 1px solid #51647a;
      border-radius: 9px;
      color: #f2f7fc;
      background: #102038;
      font-weight: 780;
    }
    .corridor-graph-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
    }
    .corridor-graph-tab {
      min-height: 38px;
      padding: 7px 10px;
      border: 1px solid #42566e;
      border-radius: 9px;
      color: #c8d5e3;
      background: #102038;
      cursor: pointer;
      font-size: .72rem;
      font-weight: 820;
    }
    .corridor-graph-tab.active {
      color: #07111f;
      border-color: #f28c28;
      background: #f28c28;
    }
    .corridor-graph-layout {
      display: grid;
      grid-template-columns: minmax(0,1.25fr) minmax(250px,.75fr);
      gap: 18px;
      align-items: start;
    }
    .corridor-graph-image-wrap {
      position: relative;
      overflow: hidden;
      aspect-ratio: 16 / 9;
      border: 1px solid rgba(255,255,255,.13);
      border-radius: 13px;
      background: #07111f;
    }
    .corridor-graph-image-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; cursor: zoom-in; }
    .corridor-graph-image-wrap .graph-open-button { position: absolute; right: 10px; bottom: 10px; }
    .corridor-graph-explanation {
      padding: 15px;
      border-radius: 12px;
      color: #c0cfdf;
      background: rgba(7,17,31,.48);
    }
    .corridor-graph-explanation h5 { margin: 0 0 8px; color: #fff; font-size: 1rem; }
    .corridor-graph-explanation p { margin: 0; font-size: .78rem; }
    .corridor-graph-explanation p + p { margin-top: 10px; }
    .corridor-graph-explanation strong { color: #ffd59f; }
    .graph-methodology-strip {
      margin: 0 28px 28px;
      padding: 13px 15px;
      border: 1px solid rgba(255,255,255,.13);
      border-radius: 11px;
      color: #aebed0;
      background: rgba(7,17,31,.42);
      font-size: .72rem;
    }
    .graph-methodology-strip strong { color: #fff; }
    .graph-fallback {
      display: none;
      place-items: center;
      position: absolute;
      inset: 0;
      padding: 18px;
      color: #d5dfeb;
      background: #102038;
      text-align: center;
      font-size: .78rem;
    }
    .graph-fallback.visible { display: grid; }
    dialog.graph-lightbox {
      width: min(1500px,96vw);
      max-width: none;
      max-height: 96vh;
      margin: auto;
      padding: 0;
      border: 1px solid #42566e;
      border-radius: 16px;
      color: #edf4ff;
      background: #07111f;
      box-shadow: 0 28px 100px rgba(0,0,0,.62);
    }
    dialog.graph-lightbox::backdrop { background: rgba(1,7,14,.86); backdrop-filter: blur(5px); }
    .graph-lightbox-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      padding: 14px 16px;
      border-bottom: 1px solid rgba(255,255,255,.12);
      background: #102038;
    }
    .graph-lightbox-head h3 { margin: 0 0 3px; color: #fff; font-size: 1.02rem; }
    .graph-lightbox-head p { margin: 0; color: #aebed0; font-size: .74rem; }
    .graph-lightbox-close {
      min-width: 38px;
      height: 38px;
      border: 1px solid #53677e;
      border-radius: 9px;
      color: #fff;
      background: #172b46;
      cursor: pointer;
      font-size: 1.1rem;
      font-weight: 900;
    }
    .graph-lightbox-body { display: grid; grid-template-rows: minmax(0,1fr) auto; max-height: calc(96vh - 68px); }
    .graph-lightbox-image-stage { min-height: 0; overflow: auto; padding: 13px; text-align: center; }
    .graph-lightbox-image-stage img { max-width: 100%; height: auto; max-height: 74vh; object-fit: contain; }
    .graph-lightbox-footer {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 11px 15px;
      border-top: 1px solid rgba(255,255,255,.10);
      color: #9fb0c5;
      background: #102038;
      font-size: .70rem;
    }
    @media (max-width: 900px) {
      .graph-evidence-intro,
      .corridor-graph-layout { grid-template-columns: 1fr; }
      .publication-graph-grid { grid-template-columns: 1fr; }
      .publication-graph-card.featured { grid-column: auto; }
      .publication-graph-card.featured .publication-graph-media { aspect-ratio: 16 / 9; }
      .corridor-graph-controls { grid-template-columns: 1fr; }
    }
    @media (max-width: 560px) {
      .graph-evidence-intro,
      .graph-gallery-section { padding: 21px 16px; }
      .corridor-graph-explorer,
      .graph-methodology-strip { margin-left: 16px; margin-right: 16px; }
      .corridor-graph-explorer { padding: 15px; }
      .publication-graph-copy { padding: 15px; }
      .graph-lightbox-head { padding: 11px; }
    }
    @media print {
      #graph-evidence .graph-evidence-actions,
      #graph-evidence .graph-open-button,
      #graph-evidence .graph-download-link,
      #graph-evidence .corridor-graph-tabs,
      #graph-evidence .corridor-graph-controls,
      dialog.graph-lightbox { display: none !important; }
      .graph-evidence-shell { color: #111; background: #fff; box-shadow: none; }
      .publication-graph-grid { grid-template-columns: 1fr; }
      .publication-graph-card { break-inside: avoid; background: #fff; border-color: #ccc; }
      .publication-graph-copy h5,
      .graph-evidence-intro h3 { color: #111; }
      .publication-graph-copy p,
      .graph-evidence-intro p { color: #333; }
    }

    /* WESTERN_FREIGHT_FINAL_V14 */
    .skip-link-v14 {
      position: fixed;
      z-index: 10000;
      top: 10px;
      left: 10px;
      transform: translateY(-160%);
      padding: 10px 14px;
      border: 2px solid #fff;
      border-radius: 9px;
      color: #fff;
      background: #07111f;
      box-shadow: 0 8px 24px rgba(0,0,0,.30);
      font-weight: 900;
      text-decoration: none;
      transition: transform .16s ease;
    }
    .skip-link-v14:focus { transform: translateY(0); }

    :where(a, button, select, input, summary, [tabindex]):focus-visible {
      outline: 3px solid #ffbd59;
      outline-offset: 3px;
    }

    [role="tab"][aria-selected="true"] { position: relative; }
    [role="tabpanel"]:focus { outline: none; }

    tr[role="button"]:focus-visible,
    .priority-road-button[role="button"]:focus-visible {
      outline: 3px solid #2e71d1;
      outline-offset: -3px;
      background: #eef5fc;
    }

    .deferred-map-v14 {
      background:
        linear-gradient(135deg, rgba(255,255,255,.76), rgba(232,238,244,.90)),
        repeating-linear-gradient(45deg, #e8eef4 0, #e8eef4 12px, #dfe7ef 12px, #dfe7ef 24px);
    }

    .deferred-map-v14::after {
      content: "Interactive map loads when this section approaches the screen";
      display: grid;
      place-items: center;
      min-height: inherit;
      padding: 24px;
      color: #4c6076;
      font-size: .82rem;
      font-weight: 850;
      text-align: center;
    }

    .deferred-map-v14.map-loading-v14::after { content: "Loading interactive map..."; }

    #graph-evidence,
    #methodology {
      content-visibility: auto;
      contain-intrinsic-size: auto 1100px;
    }

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

    @media print {
      .skip-link-v14 { display: none !important; }
      #graph-evidence,
      #methodology { content-visibility: visible; contain-intrinsic-size: none; }
    }

/* WESTERN_FREIGHT_TIRTL_BRAND_V15 */
:root {
  --tirtl-ink-v15: #102033;
  --tirtl-muted-v15: #5b6b7f;
  --tirtl-blue-v15: #16395f;
  --tirtl-blue-dark-v15: #0f2f50;
  --tirtl-sky-v15: #eef7ff;
  --tirtl-line-v15: #dbe3ef;
  --tirtl-gold-v15: #f4b000;
  --tirtl-orange-v15: #e67e22;
  --tirtl-green-v15: #1f8a4c;
  --tirtl-red-v15: #c6362c;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--tirtl-ink-v15);
  background: #eaf0f6;
}

.skip-link-v14:focus {
  z-index: 10000;
  top: 8px;
  left: 8px;
}

/* Shared Spotswood Trailers global site menu extracted from the public TIRTL page. */
.spotswood-global-shell-v15 {
  position: relative;
  z-index: 80;
  color: #fff;
  background: #2c3e50;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.spotswood-global-brand-row-v15 {
  max-width: 1420px;
  min-height: 92px;
  margin: 0 auto;
  padding: 10px 22px;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 15px;
}
.spotswood-global-brand-v15 { display: inline-flex; align-items: center; }
.spotswood-global-brand-v15 img {
  display: block;
  width: min(230px, 31vw);
  height: auto;
  max-height: 74px;
  object-fit: contain;
}
.spotswood-global-family-v15 { display: grid; gap: 2px; line-height: 1.2; }
.spotswood-global-family-v15 strong { color: #fff; font-size: 1rem; }
.spotswood-global-family-v15 span { color: #c9d7e5; font-size: .76rem; }
.spotswood-global-tirtl-link-v15,
.spotswood-global-menu-toggle-v15 {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  color: #fff;
  background: rgba(255,255,255,.08);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 800;
}
.spotswood-global-tirtl-link-v15:hover,
.spotswood-global-menu-toggle-v15:hover { color: #102033; background: #f4b000; text-decoration: none; }
.spotswood-global-menu-toggle-v15 { display: none; cursor: pointer; }
.spotswood-global-menu-panel-v15 { border-top: 1px solid rgba(255,255,255,.10); }
.spotswood-global-menu-v15 {
  background: #2c3e50 !important;
  padding: 13px 20px !important;
}
.spotswood-global-menu-v15 > ul { gap: 17px !important; }
.spotswood-global-menu-v15 a { font-size: .77rem; line-height: 1.35; }
.spotswood-global-menu-v15 li:hover > ul,
.spotswood-global-menu-v15 li:focus-within > ul { display: block !important; }
.spotswood-global-menu-v15 ul li a:hover,
.spotswood-global-menu-v15 ul li a:focus { color: #f1c40f !important; text-decoration: none; }
.spotswood-global-menu-v15 li > ul { max-height: min(72vh, 700px); overflow-y: auto; }

/* The report topbar now acts as a report-specific sub-navigation. */
.topbar {
  background: rgba(15,47,80,.97);
  border-bottom-color: rgba(255,255,255,.14);
}
.topbar-inner { max-width: 1420px; }
.brand-v15 { gap: 10px; }
.brand-logo-v15 { width: 112px; height: auto; max-height: 44px; object-fit: contain; }
.brand-copy-v15 { display: grid; line-height: 1.08; }
.brand-copy-v15 strong { color: #fff; font-size: .78rem; }
.brand-copy-v15 span { color: #cbd8e6; font-size: .68rem; }
.brand-mark { display: none !important; }
.platform-nav-link-v15 { color: #ffe0a1 !important; }
.platform-nav-divider-v15 { width: 1px; height: 23px; margin: 0 3px; background: rgba(255,255,255,.18); }
.nav-links a[aria-current="true"] { color: #102033; background: #f4b000; }

.hero {
  background:
    linear-gradient(rgba(3,10,24,.62), rgba(3,10,24,.88)),
    url('/WestGateTunnel.png') center center / cover no-repeat;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.hero::after { background-image: none; }
.hero-inner { max-width: 1420px; padding-top: 54px; }
.spotswood-hero-lockup-v15 { margin-bottom: 20px; }
.spotswood-hero-lockup-v15 img {
  display: block;
  width: min(310px, 72vw);
  height: auto;
  max-height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,.40));
}
.tirtl-family-pill-v15 {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.28);
  border-left: 5px solid #f4b000;
  border-radius: 9px;
  color: #fff;
  background: rgba(7,17,31,.62);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 850;
}
.tirtl-family-pill-v15:hover { color: #102033; background: #f4b000; text-decoration: none; }
.eyebrow { color: #ffe09c; }
.eyebrow::before { background: #f4b000; }
.hero-action.primary { border-color: #f4b000; background: linear-gradient(145deg,#f4b000,#ffd66b); }
.hero-action.primary:hover { filter: brightness(1.05); }

.platform-family-strip-v15 {
  max-width: 1420px;
  margin: 14px auto 0;
  padding: 0 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 13px;
  color: #5b6b7f;
  font-size: .78rem;
}
.platform-family-strip-v15 a,
.platform-family-strip-v15 span[aria-current="page"] {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid #cfdbea;
  border-radius: 999px;
  color: #16395f;
  background: #fff;
  text-decoration: none;
  font-weight: 800;
}
.platform-family-strip-v15 span[aria-current="page"] { color: #fff; border-color: #16395f; background: #16395f; }

main { max-width: 1420px; }
.section-heading h2,
.pillar-card h3,
.method-card h3 { color: #16395f; }
.panel,
.kpi-card,
.brief-card,
.pillar-card,
.finding-card,
.insight-map-card,
.map-panel,
.night-detail-explorer { border-color: #dbe3ef; border-radius: 18px; }
.badge,
.finding-tag { color: #16395f; background: #eef7ff; border-color: #cfe0f4; }
.kpi-card::before { background: var(--accent, #f4b000); }
.pillar-number { color: #16395f; background: #fff2d6; }
.warning-band { background: #fff2d6; border-color: #e3a900; }
.warning-icon { background: #e67e22; }
.download-link,
.insight-map-open { border-radius: 999px; }
.download-link:hover,
.insight-map-open:hover { border-color: #16395f; background: #eef7ff; }

.footer-brand-v15 { display: inline-flex; margin-bottom: 8px; }
.footer-brand-v15 img { width: min(220px, 55vw); height: auto; max-height: 76px; object-fit: contain; }
.footer-platform-links-v15 { color: #aebed0; font-size: .77rem; }
.footer-platform-links-v15 a { color: #dce9f6; }

@media (max-width: 1050px) {
  .spotswood-global-brand-row-v15 { grid-template-columns: auto minmax(0,1fr) auto; }
  .spotswood-global-tirtl-link-v15 { display: none; }
  .spotswood-global-menu-toggle-v15 { display: inline-flex; }
  .spotswood-global-menu-panel-v15 { display: none; }
  .spotswood-global-shell-v15.menu-open .spotswood-global-menu-panel-v15 { display: block; }
  .spotswood-global-menu-v15 > ul { flex-direction: column; align-items: stretch; gap: 0 !important; }
  .spotswood-global-menu-v15 > ul > li { width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .spotswood-global-menu-v15 > ul > li > a { display: block; padding: 10px 7px !important; }
  .spotswood-global-menu-v15 li > ul { position: static !important; width: 100%; max-height: 48vh; margin: 0 0 10px !important; }
}
@media (max-width: 700px) {
  .spotswood-global-brand-row-v15 { grid-template-columns: minmax(0,1fr) auto; min-height: 76px; padding: 8px 14px; }
  .spotswood-global-family-v15 { display: none; }
  .spotswood-global-brand-v15 img { width: min(190px, 57vw); max-height: 60px; }
  .brand-logo-v15 { display: none; }
  .platform-nav-link-v15,
  .platform-nav-divider-v15 { display: none !important; }
  .platform-family-strip-v15 { padding: 0 16px; }
  .spotswood-hero-lockup-v15 img { margin: 0 auto; }
  .tirtl-family-pill-v15 { text-align: center; }
}
@media print {
  .spotswood-global-shell-v15,
  .platform-family-strip-v15,
  .tirtl-family-pill-v15 { display: none !important; }
  .hero { background: #16395f !important; }
}

/* WESTERN_FREIGHT_LOGO_FIX_V15_1 */
/*
  Use the same full Spotswood Trailers logo as the public TIRTL page.
  The former TransparentSmall image is square and became tiny when constrained
  by the Version 15 max-height rules.
*/
.spotswood-global-brand-row-v15 {
  grid-template-columns: 170px minmax(220px, 1fr) auto auto;
}

.spotswood-global-brand-v15 {
  width: 160px;
  height: 76px;
  padding: 5px 9px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(0,0,0,.18);
}

.spotswood-global-brand-v15 img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Do not repeat a tiny third logo in the sticky report navigation. */
.brand-logo-v15 {
  display: none !important;
}

.brand-v15 {
  min-width: 255px;
  gap: 0 !important;
}

.brand-copy-v15 strong {
  font-size: .84rem !important;
}

.brand-copy-v15 span {
  font-size: .69rem !important;
}

/* Give the hero logo enough contrast and make it the primary visual lock-up. */
.spotswood-hero-lockup-v15 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 22px;
}

.spotswood-hero-lockup-v15 > a:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.40);
  border-radius: 15px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 30px rgba(0,0,0,.30);
}

.spotswood-hero-lockup-v15 img {
  display: block !important;
  width: min(320px, 72vw) !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Keep the footer mark readable on the dark footer. */
.footer-brand-v15 {
  padding: 8px 12px;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
}

.footer-brand-v15 img {
  display: block !important;
  width: min(245px, 62vw) !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  opacity: 1 !important;
  filter: none !important;
}

@media (max-width: 1050px) {
  .spotswood-global-brand-row-v15 {
    grid-template-columns: 155px minmax(0,1fr) auto;
  }

  .spotswood-global-brand-v15 {
    width: 145px;
    height: 69px;
  }
}

@media (max-width: 700px) {
  .spotswood-global-brand-row-v15 {
    grid-template-columns: minmax(0,1fr) auto;
  }

  .spotswood-global-brand-v15 {
    width: 132px;
    height: 63px;
  }

  .spotswood-hero-lockup-v15 {
    align-items: center;
  }

  .brand-v15 {
    min-width: 0;
  }
}
/* /WESTERN_FREIGHT_LOGO_FIX_V15_1 */
