:root {
    --bg: #f1f4f8;
    --card: #ffffff;
    --border: #dde4ed;
    --text: #1a202c;
    --muted: #5c6b7e;
    --accent: #2563eb;
    --green: #16a34a;
    --red: #dc2626;
    --amber: #d97706;
    --toll-color: #7c3aed;
    --free-color: #2563eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

.container { max-width: 1400px; margin: 0 auto; padding: 20px; }

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.header-left { flex: 1; }
header h1 { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }

.vs-badge {
    display: inline-block;
    background: var(--border);
    color: var(--muted);
    font-size: 1rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 6px;
    vertical-align: middle;
    margin: 0 6px;
}

.subtitle {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 2px;
}

.header-right {
    text-align: right;
    flex-shrink: 0;
}

.status-badge {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.status-dot.estimated { background: var(--amber); }
.status-dot.error { background: var(--red); animation: none; }

.last-update {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 2px;
}

/* Grid layouts */
.grid-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.grid-main { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 16px; }
.grid-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }

/* Card */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.card h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 12px;
}

/* Route comparison cards */
.route-card { position: relative; overflow: hidden; }
.route-card.free { border-left: 3px solid var(--free-color); }
.route-card.toll { border-left: 3px solid var(--toll-color); }

.route-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.route-label.free { color: var(--free-color); }
.route-label.toll { color: var(--toll-color); }

.big-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.big-number .unit {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    margin-left: 4px;
}

.route-detail {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--muted);
}

.route-detail span { display: flex; align-items: center; gap: 4px; }

/* VOT verdict card */
.verdict-card { text-align: center; }

.verdict-card .big-number { font-size: 3rem; }
.verdict-card .big-number.good { color: var(--green); }
.verdict-card .big-number.moderate { color: var(--amber); }
.verdict-card .big-number.bad { color: var(--red); }

.verdict-subtitle {
    font-size: 0.8rem;
    color: var(--muted);
}

.verdict-text {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
    font-style: italic;
}

.verdict-bar {
    margin-top: 16px;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.verdict-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease, background 0.6s ease;
}

/* Stats row */
.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.stat-item { text-align: center; }
.stat-value { font-size: 1.3rem; font-weight: 700; }
.stat-label { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }

/* Map */
.map-card {
    margin-bottom: 16px;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.map-header h3 { margin-bottom: 0; }

.map-legend {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--muted);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-line {
    display: inline-block;
    width: 24px;
    height: 3px;
    border-radius: 2px;
}

.legend-line.free-line { background: var(--free-color); }
.legend-line.toll-line { background: var(--toll-color); }

#routeMap {
    height: 320px;
    border-radius: 8px;
    background: #e8e0d8;
    z-index: 1;
}

/* Charts */
.chart-container {
    position: relative;
    height: 300px;
}

/* Toll breakdown */
.toll-segments { margin-top: 12px; }

.toll-segment {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}

.toll-segment:last-child { border-bottom: none; }
.toll-segment .seg-name { color: var(--muted); }
.toll-segment .seg-cost { font-weight: 600; }

.toll-total {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 2px solid var(--border);
    font-weight: 700;
    font-size: 1.1rem;
}

.time-period-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.time-period-badge.peak { background: rgba(239,68,68,0.15); color: var(--red); }
.time-period-badge.mid { background: rgba(245,158,11,0.15); color: var(--amber); }
.time-period-badge.off_peak { background: rgba(34,197,94,0.15); color: var(--green); }

/* Methodology section */
.methodology-card {
    margin-bottom: 16px;
    padding: 0;
    overflow: hidden;
}

.methodology-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s;
}

.methodology-toggle:hover {
    background: rgba(255,255,255,0.03);
}

.methodology-toggle h3 { margin-bottom: 0; }

.toggle-icon {
    font-size: 1.2rem;
    color: var(--muted);
    transition: transform 0.3s;
    font-weight: 300;
}

.methodology-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(45deg);
}

.methodology-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
}

.methodology-content.open {
    max-height: 600px;
    padding: 0 20px 20px;
}

.methodology-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.method-block h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 6px;
}

.method-block p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.6;
}

.citation {
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.citation p {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Loading skeletons */
.skeleton {
    display: inline-block;
    background: linear-gradient(90deg, var(--border) 25%, #f8fafc 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    color: transparent;
    user-select: none;
}

.skeleton-inline {
    color: var(--muted);
}

.skeleton-block {
    display: block;
    height: 14px;
    width: 70%;
    background: linear-gradient(90deg, var(--border) 25%, #f8fafc 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Footer */
footer.meta-info {
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

/* Leaflet — voyager tiles, no filter needed */
.leaflet-container {
    background: #f4f4f0 !important;
}

.leaflet-tile-pane {
    filter: none;
}

.leaflet-control-attribution {
    background: rgba(255,255,255,0.85) !important;
    color: var(--muted) !important;
    font-size: 10px !important;
}

.leaflet-control-attribution a {
    color: var(--accent) !important;
}

.leaflet-control-zoom a {
    background: var(--card) !important;
    color: var(--text) !important;
    border-color: var(--border) !important;
}

.leaflet-popup-content-wrapper {
    background: var(--card) !important;
    color: var(--text) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
}

.leaflet-popup-tip {
    background: var(--card) !important;
}

.leaflet-popup-content {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
}

/* ── Mega chart ── */
.mega-chart-card { margin-bottom: 16px; }

.mega-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mega-chart-header h3 { margin-bottom: 0; }

.range-selector { display: flex; gap: 4px; }

.range-btn {
    padding: 5px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s;
}

.range-btn:hover { border-color: var(--accent); color: var(--text); }
.range-btn.active { background: var(--accent); color: white; border-color: var(--accent); }

.mega-chart-container {
    position: relative;
    height: 350px;
}

.mega-chart-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--muted);
}

.mega-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.mega-legend-item.hidden { opacity: 0.3; text-decoration: line-through; }

.mega-legend-item .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* ── Driver Survey ── */
.survey-card { margin-bottom: 16px; }

.survey-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.survey-header h3 { margin-bottom: 2px; }

.survey-subtitle {
    font-size: 0.82rem;
    color: var(--muted);
}

.insight-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(59,130,246,0.15);
    color: var(--accent);
}

.survey-location {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.locate-btn {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(59,130,246,0.1);
    color: var(--accent);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.locate-btn:hover { background: rgba(59,130,246,0.2); border-color: var(--accent); }
.locate-btn.located { background: rgba(34,197,94,0.1); color: var(--green); border-color: var(--green); }

.location-status {
    font-size: 0.78rem;
    color: var(--muted);
}

/* Survey comparison cards */
.survey-comparison {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.survey-route-card {
    flex: 1;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
}

.free-bg { background: #eff6ff; border: 1px solid #bfdbfe; }
.toll-bg { background: #f5f3ff; border: 1px solid #ddd6fe; }

.survey-route-name { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.survey-route-stat { font-size: 2rem; font-weight: 800; line-height: 1.2; }
.survey-route-sub { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.survey-route-detail { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }

.survey-vs {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--muted);
    flex-shrink: 0;
}

/* Questions */
.survey-questions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.survey-q label {
    display: block;
    font-size: 0.82rem;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.highlight-q {
    grid-column: 1 / -1;
    padding: 16px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
}

.survey-options { display: flex; gap: 6px; flex-wrap: wrap; }

.survey-opt {
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s;
}

.survey-opt:hover { border-color: var(--accent); color: var(--text); }
.survey-opt.selected { background: var(--accent); color: white; border-color: var(--accent); }
.survey-opt.yes-opt.selected { background: var(--green); border-color: var(--green); }
.survey-opt.no-opt.selected { background: var(--red); border-color: var(--red); }
.survey-opt.maybe-opt.selected { background: var(--amber); border-color: var(--amber); }

.submit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--accent);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-btn:hover:not(:disabled) { background: #2563eb; }
.submit-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Thank you / Insights */
.survey-thanks { text-align: center; padding: 20px 0; }
.thanks-icon { font-size: 2.5rem; margin-bottom: 12px; }
.survey-thanks h4 { color: var(--text); margin-bottom: 16px; font-size: 1rem; }

.insights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 8px;
}

.insight-card {
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
}

.insight-value { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.insight-label { font-size: 0.72rem; color: var(--muted); margin-top: 4px; }

/* Responsive */
@media (max-width: 1024px) {
    .grid-top { grid-template-columns: 1fr 1fr; }
    .grid-top .verdict-card { grid-column: 1 / -1; }
    .grid-main { grid-template-columns: 1fr; }
    .grid-bottom { grid-template-columns: 1fr; }
    .methodology-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .grid-top { grid-template-columns: 1fr; }
    .big-number { font-size: 2rem; }
    .verdict-card .big-number { font-size: 2.5rem; }
    .container { padding: 12px; }
    header { flex-direction: column; gap: 8px; }
    header h1 { font-size: 1.6rem; }
    .header-right { text-align: left; }
    .status-badge { justify-content: flex-start; }
    #routeMap { height: 220px; }
    footer.meta-info { flex-direction: column; }
    .map-header { flex-direction: column; align-items: flex-start; gap: 4px; }
    .survey-comparison { flex-direction: column; }
    .survey-vs { display: none; }
    .survey-questions { grid-template-columns: 1fr; }
    .insights-grid { grid-template-columns: 1fr 1fr; }
    .mega-chart-header { flex-direction: column; gap: 8px; }
    .survey-location { flex-direction: column; align-items: flex-start; }
    .route-hero { flex-direction: column; }
    .route-divider { flex-direction: row; padding: 0; }
    .time-saved-badge { margin: 0 12px; }
    .verdict-grid { flex-direction: column; }
    .hero-time { font-size: 4rem; }
}

/* ── Direction selector ── */
.direction-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 16px;
}

.dir-prefix {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}

.direction-toggle {
    display: flex;
    gap: 8px;
    flex: 1;
}

.dir-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 10px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.dir-arrow {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.dir-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
}

.dir-sub {
    font-size: 0.7rem;
    color: var(--muted);
}

.dir-btn:hover {
    border-color: var(--accent);
}

.dir-btn.active {
    background: linear-gradient(135deg, #eff6ff, #f0f4ff);
    border-color: var(--accent);
    color: var(--accent);
}

.dir-btn.active .dir-name { color: var(--accent); }
.dir-btn.active .dir-sub  { color: var(--accent); opacity: 0.75; }
.dir-btn.active .dir-arrow { color: var(--accent); }

@media (max-width: 640px) {
    .direction-bar { flex-direction: column; align-items: flex-start; }
    .direction-toggle { width: 100%; }
}

/* ── Route Hero (side-by-side) ── */
.route-hero {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.hero-card {
    flex: 1;
    padding: 28px 32px;
    position: relative;
}

.free-hero {
    background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
    border-right: 1px solid var(--border);
    border-left: 4px solid var(--accent);
}

.toll-hero {
    background: linear-gradient(135deg, #f5f3ff 0%, #faf9ff 100%);
    border-left: 4px solid var(--toll-color);
}

.hero-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.free-badge {
    background: rgba(59,130,246,0.2);
    color: #60a5fa;
}

.toll-badge {
    background: rgba(139,92,246,0.2);
    color: #a78bfa;
}

.hero-hwy {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
}

.free-hero .hero-hwy { color: #60a5fa; }
.toll-hero .hero-hwy { color: #a78bfa; }

.hero-desc {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.hero-time {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.free-hero .hero-time { color: var(--accent); }
.toll-hero .hero-time { color: var(--toll-color); }

.skeleton-hero {
    display: inline-block;
    background: linear-gradient(90deg, var(--border) 25%, #f8fafc 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
    color: transparent;
    width: 120px;
}

.hero-time-label {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 20px;
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 14px;
}

.hero-stat { }
.hero-stat-val {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
}
.free-val { color: #4ade80; }
.toll-val { color: #fbbf24; }

.hero-stat-lbl {
    font-size: 0.72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-freeflow {
    font-size: 0.78rem;
    color: var(--muted);
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* Route divider */
.route-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 8px;
    background: #f8fafc;
    min-width: 80px;
    gap: 6px;
    position: relative;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.divider-line {
    flex: 1;
    width: 1px;
    background: var(--border);
}

.divider-or {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--muted);
    padding: 4px 0;
}

.time-saved-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(245,158,11,0.15);
    color: var(--amber);
    border: 1px solid rgba(245,158,11,0.3);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    white-space: nowrap;
}

/* ── Verdict card redesign ── */
.verdict-card {
    margin-bottom: 16px;
    text-align: left;
}

.verdict-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.verdict-main { flex: 1; }

.verdict-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 4px;
}

.verdict-vot {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
}

.verdict-vot.good  { color: var(--green); }
.verdict-vot.moderate { color: var(--amber); }
.verdict-vot.bad   { color: var(--red); }

.verdict-unit {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
}

.verdict-bar-wrap { margin-bottom: 10px; }

.verdict-bar-track {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 4px;
}

.verdict-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease, background 0.6s ease;
}

.verdict-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--muted);
}

.thesis-marker { color: var(--amber); font-weight: 600; }

.verdict-text {
    font-size: 0.85rem;
    color: var(--muted);
    font-style: italic;
}

.verdict-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
    min-width: 180px;
}

.vstat { }
.vstat-val {
    font-size: 1.6rem;
    font-weight: 800;
}
.vstat-lbl {
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 2px;
}
.model-note {
    font-size: 0.65rem;
    opacity: 0.7;
    font-style: italic;
}

/* ── Intel section ── */
.intel-header {
    margin: 24px 0 12px;
}
.intel-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
}
.intel-sub {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 2px;
}

.intel-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.card h2 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 4px;
}

.map-od {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--muted);
    text-transform: none;
    letter-spacing: 0;
    margin-left: 8px;
}

.chart-note {
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 10px;
}

.toll-note {
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 8px;
    font-style: italic;
}

.period-chip {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 6px;
}

.period-chip.peak { background: rgba(239,68,68,0.15); color: var(--red); }
.period-chip.mid { background: rgba(245,158,11,0.15); color: var(--amber); }
.period-chip.off_peak { background: rgba(34,197,94,0.15); color: var(--green); }

.model-note-heading {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--muted);
    text-transform: none;
    letter-spacing: 0;
    margin-left: 4px;
}

.skeleton-row {
    height: 36px;
    background: linear-gradient(90deg, var(--border) 25%, #f8fafc 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
}

/* Survey chart placeholder */
.chart-container { position: relative; }
#surveyChartWrap { position: relative; }
.survey-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed var(--border);
    text-align: center;
    padding: 20px;
}
.survey-placeholder.hidden { display: none; }
.placeholder-icon { font-size: 2.5rem; }
.survey-placeholder p { font-size: 0.85rem; color: var(--muted); }

/* Survey CTA in verdict */
.survey-cta-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}
.survey-cta-link:hover { text-decoration: underline; }
.survey-cta-val { color: var(--accent); }

/* ── Responsive extras ── */
@media (max-width: 1024px) {
    .intel-grid { grid-template-columns: 1fr; }
    .verdict-grid { flex-direction: column; align-items: flex-start; gap: 16px; }
    .verdict-stats { flex-direction: row; min-width: unset; }
}

@media (max-width: 640px) {
    .route-hero { flex-direction: column; }
    .free-hero { border-right: none; border-bottom: 1px solid var(--border); }
    .route-divider { display: none; }
    .hero-time { font-size: 4rem; }
    .hero-hwy { font-size: 1.5rem; }
}
