:root {
    color-scheme: light;
    --primary: #d5a900;
    --primary-strong: #a67f00;
    --primary-soft: #fff6d2;
    --primary-contrast: #17212b;
    --page-bg: #f5f6f8;
    --card-bg: #fff;
    --ink: #17212b;
    --muted: #697582;
    --line: #e5e9ed;
    --danger: #b42318;
    --success: #147d59;
    --shadow: 0 16px 45px rgba(23, 33, 43, .07);
    --radius: 20px;
    --radius-sm: 12px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

:root[data-mode="global"] {
    --primary: #1766b1;
    --primary-strong: #104c88;
    --primary-soft: #e6f1fc;
    --primary-contrast: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: radial-gradient(ellipse at 80% 0%, var(--primary-soft) 0, transparent 32rem), var(--page-bg); line-height: 1.5; transition: background-color .25s ease; }
button, input, select { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45%, white); outline-offset: 2px; }
.hidden { display: none !important; }

.top-menu { position: sticky; z-index: 10; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 74px; padding: 12px max(24px, calc((100vw - 1120px) / 2)); background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(23,33,43,.08); backdrop-filter: blur(16px); }
.brand-mark { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--ink); text-decoration: none; font: 800 18px/1 system-ui, sans-serif; letter-spacing: -.6px; }
.brand-mark img { width: 34px; height: 34px; object-fit: contain; }
.brand-accent { color: var(--primary-strong); }
.mode-switch { display: flex; gap: 4px; padding: 4px; background: #f1f3f5; border: 1px solid #eaedf0; border-radius: 999px; }
.mode-switch-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 15px; border: 0; border-radius: 999px; background: transparent; color: #697582; cursor: pointer; font-size: 12px; font-weight: 700; transition: color .2s, background .2s, box-shadow .2s; }
.mode-switch-btn[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 7px rgba(23,33,43,.12); }
.top-summary { display: flex; align-items: center; justify-content: flex-end; gap: 9px; color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.top-summary strong { color: var(--ink); font-size: 14px; }
.live-indicator { display: inline-block; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #24a675; box-shadow: 0 0 0 3px rgba(36,166,117,.13); }
.summary-divider { width: 1px; height: 16px; margin: 0 3px; background: var(--line); }

.container { width: min(100% - 40px, 900px); min-height: calc(100vh - 145px); margin: 0 auto; padding: 52px 0 70px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.eyebrow { display: block; margin-bottom: 8px; color: var(--primary-strong); font-size: 10px; font-weight: 800; letter-spacing: 1.35px; }
.heading-copy h1 { margin: 0; font: 800 clamp(32px, 5vw, 46px)/1.08 system-ui, sans-serif; letter-spacing: -1.8px; }
.heading-copy p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.service-chip { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--primary) 18%, white); border-radius: 999px; background: color-mix(in srgb, var(--primary-soft) 75%, white); color: var(--primary-strong); font-size: 12px; font-weight: 700; }

.segmented-control { display: flex; gap: 5px; margin-bottom: 18px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.65); }
.segment-btn { display: flex; flex: 1; align-items: center; justify-content: center; gap: 9px; min-height: 45px; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 700; transition: background .2s, color .2s, box-shadow .2s; }
.segment-btn > span { font-size: 18px; line-height: 1; }
.segment-btn.active { background: #fff; color: var(--primary-strong); box-shadow: 0 2px 7px rgba(23,33,43,.09); }
.view-section { animation: reveal .25s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.card, .dashboard-card { border: 1px solid rgba(23,33,43,.06); border-radius: var(--radius); background: var(--card-bg); box-shadow: var(--shadow); }
.report-card { padding: clamp(22px, 5vw, 38px); }
.card-heading { display: flex; align-items: center; gap: 14px; }
.section-icon { display: grid; width: 46px; height: 46px; place-items: center; flex: 0 0 auto; border-radius: 14px; background: var(--primary-soft); color: var(--primary-strong); font-size: 22px; font-weight: 700; }
.card-heading .eyebrow { margin: 0 0 3px; }
.card-heading h2, .dashboard-heading h2 { margin: 0; font: 700 22px/1.25 system-ui, sans-serif; letter-spacing: -.5px; }
.card-intro { margin: 14px 0 26px 60px; color: var(--muted); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form-group { min-width: 0; margin: 0; }
.form-group-wide { grid-column: 1 / -1; }
.form-group > label, .incident-fieldset legend { display: block; margin-bottom: 8px; padding: 0; color: #34404d; font-size: 12px; font-weight: 700; }
.input-wrapper { position: relative; display: flex; align-items: center; }
.input-wrapper.suggestions-open { z-index: 30; }
.input-wrapper input, .input-wrapper select { width: 100%; min-height: 48px; padding: 0 43px 0 14px; appearance: none; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font-size: 13px; transition: border-color .2s, box-shadow .2s; }
.input-wrapper select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #78828c 50%), linear-gradient(135deg, #78828c 50%, transparent 50%); background-position: calc(100% - 17px) 21px, calc(100% - 12px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.input-wrapper input::placeholder { color: #9aa4af; }
.input-wrapper input:focus, .input-wrapper select:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent); }
.input-icon { position: absolute; left: 13px; z-index: 1; color: #8a96a1; font-size: 20px; pointer-events: none; }
#parada-input { padding-left: 40px; }
.stop-suggestions { position: absolute; top: calc(100% + 7px); right: 0; left: 0; z-index: 20; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 14px 32px rgba(23,33,43,.16); }
.stop-suggestion-options { max-height: min(320px, 48vh); overflow-y: auto; overscroll-behavior: contain; }
.stop-suggestion-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 42px; padding: 9px 13px; border: 0; border-bottom: 1px solid rgba(23,33,43,.06); background: #fff; color: var(--ink); cursor: pointer; text-align: left; }
.stop-suggestion-option:last-child { border-bottom: 0; }
.stop-suggestion-option:hover, .stop-suggestion-option.is-active { background: var(--primary-soft); color: var(--primary-strong); }
.stop-suggestion-name { min-width: 0; overflow: hidden; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.stop-suggestion-code { flex: 0 0 auto; color: var(--muted); font-size: 10px; font-weight: 650; }
.stop-suggestion-status { display: block; padding: 8px 13px; border-top: 1px solid rgba(23,33,43,.07); color: var(--muted); font-size: 10px; }
.clear-icon { position: absolute; right: 10px; display: grid; width: 28px; height: 28px; place-items: center; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #84909b; cursor: pointer; font-size: 20px; line-height: 1; }
.clear-icon:hover { background: var(--primary-soft); color: var(--primary-strong); }
.field-hint { display: block; margin: 6px 0 0 2px; color: var(--muted); font-size: 10px; }
.time-row { display: flex; align-items: center; gap: 12px; }
.time-input-wrapper { flex: 1; }
.now-option { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; min-height: 44px; color: #4f5b67; cursor: pointer; font-size: 12px; font-weight: 600; }
.now-option input, .incident-option input { accent-color: var(--primary-strong); }
.now-option input { width: 17px; height: 17px; margin: 0; }
.incident-fieldset { min-width: 0; padding: 0; border: 0; }
.incident-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.incident-option { position: relative; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: #46515d; cursor: pointer; font-size: 12px; font-weight: 600; transition: border .2s, background .2s; }
.incident-option:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-strong); }
.incident-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.radio-mark { display: grid; width: 17px; height: 17px; flex: 0 0 auto; place-items: center; border: 1.5px solid #b9c2ca; border-radius: 50%; }
.incident-option input:checked + .radio-mark { border-color: var(--primary); }
.incident-option input:checked + .radio-mark::after { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); content: ''; }
.incident-option input:focus-visible + .radio-mark { outline: 3px solid color-mix(in srgb, var(--primary) 45%, white); outline-offset: 2px; }
.incident-option small { color: var(--muted); font-size: 11px; font-weight: 500; }
.error-message { margin-top: 18px; padding: 11px 13px; border: 1px solid #f3c7c3; border-radius: 10px; background: #fff5f4; color: var(--danger); font-size: 12px; }
.btn-primary { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; margin-top: 22px; padding: 0 19px; border: 0; border-radius: 12px; background: var(--primary); color: var(--primary-contrast); cursor: pointer; font-size: 14px; font-weight: 800; transition: background .2s, transform .2s, opacity .2s; }
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); background: var(--primary-strong); }
.btn-primary > span:last-child { font-size: 20px; }
.btn-primary:disabled { cursor: wait; opacity: .7; }
.privacy-note { margin: 12px 0 0; color: #89939d; text-align: center; font-size: 10px; }
.result-card { margin-top: 16px; padding: 20px; border-color: rgba(20,125,89,.18); }
.result-card p { margin: 0; color: var(--success); font-size: 14px; }
.result-card .result-detail { margin-top: 5px; color: var(--muted); font-size: 12px; }

.dashboard-card { overflow: hidden; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 30px 23px; }
.dashboard-heading .eyebrow { margin-bottom: 5px; }
.dashboard-heading h2 { font-size: 20px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #dcefe7; border-radius: 999px; background: #f1faf6; color: #318566; font-size: 9px; font-weight: 800; letter-spacing: .6px; white-space: nowrap; }
.live-pill .live-indicator { width: 6px; height: 6px; }
.dashboard-actions { display: flex; align-items: center; gap: 9px; }
.refresh-button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--muted); cursor: pointer; font-size: 10px; font-weight: 700; transition: border-color .2s, color .2s; }
.refresh-button:hover { border-color: var(--primary); color: var(--primary-strong); }
.stats-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 30px 26px; }
.stat-card { display: flex; min-height: 112px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfd; }
.stat-label { color: var(--muted); font-size: 11px; font-weight: 600; }
.stat-card strong { margin: 2px 0 0; color: var(--primary-strong); font: 800 28px/1.15 system-ui, sans-serif; }
.stat-detail { color: #9aa4ad; font-size: 10px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 26px 30px 30px; border-top: 1px solid var(--line); }
.column-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 17px; }
.column-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: var(--primary-soft); color: var(--primary-strong); font-size: 16px; }
.column-heading h3 { margin: 0; font: 700 14px system-ui, sans-serif; }
.loading-copy, .empty-copy { color: var(--muted); font-size: 12px; }
.timeline { position: relative; display: grid; gap: 12px; }
.timeline-item { position: relative; padding-left: 17px; }
.timeline-item::before { position: absolute; top: 8px; bottom: -18px; left: 3px; width: 1px; background: var(--line); content: ''; }
.timeline-item:last-child::before { display: none; }
.timeline-dot { position: absolute; top: 5px; left: 0; width: 7px; height: 7px; border: 2px solid var(--primary); border-radius: 50%; background: white; }
.timeline-card { padding: 0 0 2px; }
.timeline-card-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; color: var(--muted); font-size: 10px; }
.timeline-card-body { color: var(--ink); font-size: 12px; font-weight: 700; }
.timeline-card-footer { margin-top: 5px; color: var(--muted); font-size: 10px; }
.badge-tipo { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-strong); font-size: 9px; font-weight: 700; }
.top-list { display: grid; gap: 16px; }
.top-list-item { min-width: 0; }
.top-list-header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; color: #46515d; font-size: 11px; font-weight: 600; }
.top-list-header strong { color: var(--ink); }
.progress-bg { overflow: hidden; width: 100%; height: 7px; border-radius: 99px; background: #edf0f2; }
.progress-fill { height: 100%; border-radius: inherit; background: var(--primary); transition: width .35s ease; }
.progress-fill-5 { width: 5%; }
.progress-fill-10 { width: 10%; }
.progress-fill-15 { width: 15%; }
.progress-fill-20 { width: 20%; }
.progress-fill-25 { width: 25%; }
.progress-fill-30 { width: 30%; }
.progress-fill-35 { width: 35%; }
.progress-fill-40 { width: 40%; }
.progress-fill-45 { width: 45%; }
.progress-fill-50 { width: 50%; }
.progress-fill-55 { width: 55%; }
.progress-fill-60 { width: 60%; }
.progress-fill-65 { width: 65%; }
.progress-fill-70 { width: 70%; }
.progress-fill-75 { width: 75%; }
.progress-fill-80 { width: 80%; }
.progress-fill-85 { width: 85%; }
.progress-fill-90 { width: 90%; }
.progress-fill-95 { width: 95%; }
.progress-fill-100 { width: 100%; }

.footer-banner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; min-height: 72px; padding: 18px 24px; border-top: 1px solid rgba(23,33,43,.07); background: rgba(255,255,255,.55); color: #8a949e; font-size: 11px; text-align: center; }
.footer-brand { color: var(--ink); font: 800 12px system-ui, sans-serif; }
.footer-brand::after { display: inline-block; width: 1px; height: 12px; margin-left: 12px; background: var(--line); vertical-align: -2px; content: ''; }
.footer-links { display: inline-flex; flex-wrap: wrap; gap: 14px; }
.footer-links a, .info-home-link, .info-bottom-links a, .info-footer a { color: var(--primary-strong); font-weight: 700; text-decoration: none; }
.footer-links a:hover, .info-home-link:hover, .info-bottom-links a:hover, .info-footer a:hover { text-decoration: underline; }
.info-nav { display: flex; align-items: center; justify-content: space-between; min-height: 74px; padding: 12px max(24px, calc((100vw - 1120px) / 2)); border-bottom: 1px solid rgba(23,33,43,.08); background: rgba(255,255,255,.92); }
.info-home-link { font-size: 12px; }
.info-main { width: min(100% - 40px, 900px); margin: 0 auto; padding: 48px 0 64px; }
.info-hero { padding: clamp(26px, 5vw, 48px); border: 1px solid rgba(23,33,43,.06); border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, var(--primary-soft) 75%, white), #fff 72%); box-shadow: var(--shadow); }
.info-hero h1 { max-width: 18ch; margin: 0; font: 800 clamp(30px, 5vw, 46px)/1.1 system-ui, sans-serif; letter-spacing: -1.5px; }
.info-lead { max-width: 72ch; margin: 18px 0 0; color: #56616c; font-size: clamp(14px, 2vw, 17px); line-height: 1.75; }
.info-section { margin-top: 42px; }
.info-section-heading { max-width: 680px; margin-bottom: 20px; }
.info-section-heading h2 { margin: 0; font: 750 clamp(22px, 3vw, 30px)/1.2 system-ui, sans-serif; letter-spacing: -.6px; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.info-card { padding: 22px; border: 1px solid rgba(23,33,43,.07); border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(23,33,43,.045); }
.info-card-wide { grid-column: 1 / -1; }
.info-card-icon { display: grid; width: 38px; height: 38px; margin-bottom: 17px; place-items: center; border-radius: 12px; font-size: 19px; font-weight: 800; }
.info-icon-yellow { background: #fff6d2; color: #a67f00; }
.info-icon-blue { background: #e6f1fc; color: #104c88; }
.info-card h3 { margin: 0 0 8px; font: 750 16px/1.3 system-ui, sans-serif; }
.info-card p, .info-document p, .info-note p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.info-note { margin-top: 18px; padding: 19px 22px; border: 1px solid color-mix(in srgb, var(--primary) 20%, white); border-radius: 14px; background: color-mix(in srgb, var(--primary-soft) 50%, white); }
.info-note strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 13px; }
.info-document { margin-top: 24px; padding: clamp(22px, 5vw, 38px); border: 1px solid rgba(23,33,43,.06); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.info-document section + section { margin-top: 27px; padding-top: 25px; border-top: 1px solid var(--line); }
.info-document h2 { margin: 0 0 9px; font: 750 17px/1.3 system-ui, sans-serif; }
.info-document p + p { margin-top: 9px; }
.info-legal-note { margin-top: 18px; }
.info-bottom-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 25px; font-size: 12px; }
.info-footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; min-height: 72px; padding: 18px 24px; border-top: 1px solid rgba(23,33,43,.07); background: rgba(255,255,255,.55); color: #8a949e; font-size: 11px; }

.modal-overlay { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(17,27,37,.56); backdrop-filter: blur(7px); animation: fade-in .2s ease both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal-card { width: min(100%, 460px); padding: 34px; border: 1px solid rgba(255,255,255,.7); border-radius: 23px; background: #fff; box-shadow: 0 25px 80px rgba(0,0,0,.22); }
.modal-card .eyebrow { margin-bottom: 8px; }
.modal-card h2 { margin: 0; font: 800 24px/1.2 system-ui, sans-serif; letter-spacing: -.6px; }
.modal-intro { margin: 10px 0 22px; color: var(--muted); font-size: 13px; }
.mode-choice { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 84px; margin-top: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: #fff; cursor: pointer; text-align: left; transition: border .2s, background .2s, transform .2s; }
.mode-choice:hover { transform: translateY(-1px); }
.mode-choice-yellow:hover { border-color: #e5bd28; background: #fffbee; }
.mode-choice-blue:hover { border-color: #8bbce9; background: #f4f9ff; }
.mode-choice-icon { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border-radius: 13px; background: #f2f4f6; font-size: 22px; }
.mode-choice-copy { display: grid; gap: 3px; flex: 1; }
.mode-choice-copy strong { color: var(--ink); font-size: 14px; }
.mode-choice-copy > span { color: var(--muted); font-size: 11px; }
.mode-choice-arrow { color: #98a2ab; font-size: 20px; }

@media (max-width: 700px) {
  /* iOS Safari zooms the page when a form control uses text below 16px. */
  .input-wrapper input,
  .input-wrapper select {
    font-size: 16px;
  }

    .top-menu { grid-template-columns: auto 1fr; gap: 10px 12px; min-height: 0; padding: 10px 16px; }
    .brand-mark { font-size: 16px; }
    .brand-mark img { width: 30px; height: 30px; }
    .mode-switch { justify-self: end; }
    .mode-switch-btn { min-height: 34px; padding: 0 11px; font-size: 11px; }
    .top-summary { grid-column: 1 / -1; justify-content: center; padding-top: 8px; border-top: 1px solid #f0f1f2; font-size: 10px; }
    .container { width: min(100% - 28px, 560px); min-height: calc(100vh - 140px); padding: 34px 0 46px; }
    .page-heading { align-items: flex-start; margin-bottom: 22px; }
    .service-chip { max-width: 44%; padding: 8px 10px; font-size: 10px; }
    .heading-copy p { max-width: 34ch; font-size: 13px; }
    .dashboard-heading { align-items: flex-start; flex-direction: column; padding: 22px 20px 18px; }
    .dashboard-actions { flex-wrap: wrap; }
    .stats-strip { gap: 8px; padding: 0 20px 20px; }
    .stat-card { min-height: 100px; padding: 12px; }
    .stat-card strong { font-size: 24px; }
    .stat-label { font-size: 9px; }
    .stat-detail { font-size: 9px; }
    .stats-grid { grid-template-columns: 1fr; gap: 27px; padding: 22px 20px; }
    .info-nav { min-height: 64px; padding: 10px 16px; }
    .info-main { width: min(100% - 28px, 560px); padding: 30px 0 42px; }
    .info-grid { grid-template-columns: 1fr; }
    .info-card-wide { grid-column: auto; }
}
@media (min-width: 701px) and (max-width: 800px) {
    .top-menu { grid-template-columns: auto 1fr; gap: 10px 12px; min-height: 0; padding: 10px 20px; }
    .mode-switch { justify-self: end; }
    .top-summary { grid-column: 1 / -1; justify-content: center; padding-top: 8px; border-top: 1px solid #f0f1f2; }
}
@media (max-width: 480px) {
    .container { width: min(100% - 24px, 420px); padding-top: 28px; }
    .page-heading { flex-direction: column; gap: 13px; }
    .service-chip { max-width: none; }
    .segment-btn { gap: 6px; min-height: 43px; font-size: 11px; }
    .form-grid { grid-template-columns: 1fr; gap: 16px; }
    .form-group-wide { grid-column: auto; }
    .incident-options { grid-template-columns: 1fr; gap: 8px; }
    .card-intro { margin-left: 0; }
    .report-card { padding: 21px 17px; }
    .card-heading h2 { font-size: 19px; }
    .section-icon { width: 42px; height: 42px; }
    .stats-strip { grid-template-columns: 1fr 1fr; }
    .stat-card:last-child { grid-column: 1 / -1; min-height: 86px; }
    .footer-banner { flex-direction: column; gap: 5px; font-size: 10px; }
    .footer-brand::after { display: none; }
    .modal-card { padding: 26px 20px; }
    .modal-card h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
