:root {
    --bg: #08111f;
    --bg-elevated: #0d192a;
    --surface: #111f32;
    --surface-2: #15263c;
    --surface-3: #1b2e47;
    --border: rgba(148, 163, 184, 0.16);
    --border-strong: rgba(148, 163, 184, 0.27);
    --text: #f5f8fc;
    --muted: #90a2b8;
    --subtle: #64768d;
    --accent: #45a3ff;
    --accent-strong: #1888ee;
    --accent-soft: rgba(69, 163, 255, 0.12);
    --good: #39d98a;
    --good-soft: rgba(57, 217, 138, 0.12);
    --warn: #f8bf55;
    --warn-soft: rgba(248, 191, 85, 0.13);
    --danger: #ff6b72;
    --danger-soft: rgba(255, 107, 114, 0.13);
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
}

* { box-sizing: border-box; }

html {
    min-height: 100%;
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 0%, rgba(38, 113, 186, 0.15), transparent 28rem),
        radial-gradient(circle at 94% 8%, rgba(31, 98, 161, 0.09), transparent 30rem),
        var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.app-shell {
    width: min(1560px, calc(100% - 40px));
    margin: 0 auto;
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    background: rgba(8, 17, 31, 0.88);
    backdrop-filter: blur(18px);
}

.app-header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand:hover { color: inherit; }
.brand { flex-shrink: 0; }
.brand-logo { display: block; width: 78px; height: auto; aspect-ratio: 104 / 54; object-fit: contain; flex: 0 0 auto; }
.header-actions { flex-shrink: 0; }
.refresh-button > i { width: 1em; height: 1em; line-height: 1; flex: 0 0 1em; text-align: center; }

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(69, 163, 255, 0.3);
    border-radius: 12px;
    color: #8ccaff;
    background: linear-gradient(145deg, rgba(69, 163, 255, 0.2), rgba(69, 163, 255, 0.06));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-mark i { font-size: 1.08rem; }

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-company {
    white-space: nowrap;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #86a2c1;
}

.brand-product {
    margin-top: 6px;
    font-size: 1.06rem;
    font-weight: 750;
    color: #f7faff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-state,
.last-refresh,
.refresh-button {
    min-height: 38px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(17, 31, 50, 0.72);
}

.live-state {
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #b8c8da;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--good);
    box-shadow: 0 0 0 4px rgba(57, 217, 138, 0.1), 0 0 14px rgba(57, 217, 138, 0.45);
}

.last-refresh {
    padding: 0 12px;
    white-space: nowrap;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    color: var(--muted);
}

.live-state.has-errors .live-dot { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); }
.live-state.is-pending .live-dot { background: var(--muted); box-shadow: none; }

.last-refresh strong {
    color: #dce7f3;
    font-weight: 650;
}

.refresh-button {
    width: auto;
    white-space: nowrap;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dbe8f5;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.refresh-button:hover:not(:disabled) {
    border-color: rgba(69, 163, 255, 0.4);
    background: var(--accent-soft);
}

.refresh-button:active:not(:disabled) { transform: translateY(1px); }
.refresh-button:disabled { cursor: wait; opacity: .72; }
.refresh-button.is-refreshing i { animation: rotate .8s linear infinite; }

.app-main { padding: 36px 0 56px; }

.page-heading {
    margin-bottom: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.eyebrow {
    margin-bottom: 7px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #65b5ff;
}

.page-heading h1 {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    font-weight: 760;
    letter-spacing: -0.035em;
}

.page-heading p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.location-page-heading .back-link {
    width: fit-content;
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9eb5ce;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 650;
}

.location-page-heading .back-link:hover { color: #ddecfb; }

.location-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.location-summary.single-summary { grid-template-columns: minmax(0, 420px); }

.summary-card {
    min-height: 78px;
    padding: 15px 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(21, 38, 60, 0.86), rgba(14, 27, 44, 0.9));
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.summary-card:hover {
    color: inherit;
    transform: translateY(-1px);
    border-color: rgba(69, 163, 255, 0.32);
    background: linear-gradient(145deg, rgba(24, 45, 70, 0.95), rgba(15, 30, 48, 0.94));
}

.summary-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #8bc9ff;
    background: var(--accent-soft);
}

.summary-copy { display: flex; flex-direction: column; gap: 3px; }
.summary-copy strong { font-size: 1rem; font-weight: 720; }
.summary-copy span { color: var(--muted); font-size: 0.82rem; }
.summary-chevron { color: #60758e; font-size: 0.75rem; }
.summary-error .summary-icon { color: #ff9b9f; background: var(--danger-soft); }
.summary-error .summary-copy span { color: #e79ca1; }

.location-sections {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.location-panel {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(16, 31, 50, 0.93), rgba(12, 25, 41, 0.96));
    box-shadow: var(--shadow);
}

.location-panel-header {
    min-height: 84px;
    padding: 19px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.012);
}

.location-title-row { display: flex; align-items: center; gap: 10px; }
.location-title-row h2 { margin: 0; font-size: 1.22rem; font-weight: 730; letter-spacing: -0.015em; }
.location-panel-header p { margin: 4px 0 0 34px; color: var(--muted); font-size: 0.8rem; }

.location-pin {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: #70bbff;
    font-size: 0.83rem;
}

.online-badge,
.offline-badge {
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.01em;
}

.online-badge { color: #95edbd; background: var(--good-soft); border: 1px solid rgba(57, 217, 138, .16); }
.online-badge span, .offline-badge span { width: 6px; height: 6px; border-radius: 50%; }
.online-badge span { background: var(--good); box-shadow: 0 0 8px rgba(57, 217, 138, .5); }
.offline-badge { color: #f3a2a7; background: var(--danger-soft); border: 1px solid rgba(255, 107, 114, .16); }
.offline-badge span { background: var(--danger); }

.tank-grid {
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 15px;
}

.tank-card {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(23, 42, 65, 0.94), rgba(15, 30, 48, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
    transition: border-color .18s ease, transform .18s ease;
}

.tank-card:hover { transform: translateY(-1px); border-color: var(--border-strong); }
.tank-state-near { border-color: rgba(248, 191, 85, 0.28); }
.tank-state-limit { border-color: rgba(255, 107, 114, 0.3); }

.tank-card-header {
    min-height: 76px;
    padding: 16px 17px 13px;
    border-bottom: 1px solid var(--border);
}

.tank-name-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.tank-name-row h3 { margin: 0; min-width: 0; overflow-wrap: anywhere; font-size: 1.05rem; font-weight: 750; }
.tank-subtitle { margin: 6px 0 0; color: var(--muted); font-size: 0.78rem; overflow-wrap: anywhere; }
.tank-subtitle span { margin: 0 3px; color: #516980; }

.tank-state-badge {
    flex: 0 0 auto;
    padding: 5px 8px;
    border: 1px solid rgba(57, 217, 138, 0.15);
    border-radius: 999px;
    color: #8deab7;
    background: var(--good-soft);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tank-state-near .tank-state-badge { color: #ffd981; background: var(--warn-soft); border-color: rgba(248, 191, 85, .17); }
.tank-state-limit .tank-state-badge { color: #ffabad; background: var(--danger-soft); border-color: rgba(255, 107, 114, .18); }

.tank-card-body {
    padding: 18px;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

.tank-visual-wrap { display: flex; justify-content: center; }

.tank-visual {
    position: relative;
    width: 92px;
    height: 158px;
    overflow: visible;
    border: 2px solid #607793;
    border-top-width: 5px;
    border-radius: 45% 45% 14px 14px / 10% 10% 12px 12px;
    background: rgba(5, 13, 24, 0.6);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, .32), 0 8px 26px rgba(0, 0, 0, .2);
}

.tank-visual::before {
    content: "";
    position: absolute;
    z-index: 4;
    inset: 7px 8px auto;
    height: 1px;
    background: rgba(255, 255, 255, .13);
}

.tank-interior { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.safe-fill-marker.safe-fill-marker-high span { top: 4px; }

.tank-liquid {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 0;
    background: linear-gradient(180deg, rgba(67, 175, 255, 0.82), rgba(27, 112, 218, 0.9));
    box-shadow: inset 0 10px 20px rgba(255, 255, 255, .08);
    transition: height .55s ease;
}

.tank-liquid::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -3px;
    height: 6px;
    border-radius: 50%;
    background: rgba(113, 202, 255, 0.95);
    box-shadow: 0 0 14px rgba(70, 167, 255, .45);
}

.tank-state-near .tank-liquid { background: linear-gradient(180deg, rgba(248, 191, 85, .9), rgba(205, 131, 37, .93)); }
.tank-state-near .tank-liquid::before { background: #ffdb83; box-shadow: 0 0 14px rgba(248, 191, 85, .45); }
.tank-state-limit .tank-liquid { background: linear-gradient(180deg, rgba(255, 107, 114, .9), rgba(204, 63, 73, .92)); }
.tank-state-limit .tank-liquid::before { background: #ff9da2; box-shadow: 0 0 14px rgba(255, 107, 114, .45); }

.safe-fill-marker {
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    height: 1px;
    border-top: 1px dashed rgba(255, 255, 255, 0.68);
}

.safe-fill-marker span {
    position: absolute;
    right: 4px;
    top: -16px;
    padding: 1px 3px;
    border-radius: 3px;
    color: rgba(255, 255, 255, .72);
    background: rgba(7, 16, 29, .68);
    font-size: 0.45rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.tank-percent {
    position: absolute;
    z-index: 6;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .65);
}

.tank-percent strong { font-size: 1.42rem; line-height: 1; font-weight: 820; }
.tank-percent span { margin-top: 4px; color: rgba(255, 255, 255, .72); font-size: .61rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }

.tank-metrics { min-width: 0; }

.primary-volume {
    margin-bottom: 14px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--border);
}

.metric-label { display: block; color: var(--muted); font-size: 0.66rem; font-weight: 650; letter-spacing: .025em; }
.primary-volume strong { display: inline-block; margin-top: 3px; font-size: clamp(1.55rem, 2.5vw, 2rem); line-height: 1; font-weight: 790; letter-spacing: -0.035em; }
.metric-unit { margin-left: 5px; color: #9cb0c5; font-size: .72rem; font-weight: 650; }

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

.metric-item { min-width: 0; display: flex; align-items: center; gap: 8px; }
.metric-icon { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; border-radius: 7px; color: #7fbdf5; background: rgba(69, 163, 255, .08); font-size: .68rem; }
.metric-copy { min-width: 0; display: block; }
.metric-copy strong { display: block; margin-top: 2px; overflow-wrap: anywhere; color: #e7eef7; font-size: .74rem; font-weight: 710; }

.dashboard-loading {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: var(--muted);
    font-size: .9rem;
}

.loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(148, 163, 184, .2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: rotate .7s linear infinite;
}

.error-state,
.empty-state {
    margin: 18px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border-strong);
    border-radius: 12px;
    color: var(--muted);
}

.error-state { justify-content: flex-start; gap: 14px; padding: 20px; color: #d8a7aa; background: rgba(255, 107, 114, .045); }
.error-state > i { font-size: 1.2rem; color: #ff8389; }
.error-state div { display: flex; flex-direction: column; gap: 4px; }
.error-state strong { color: #f2c5c7; }
.error-state span { color: #b68e92; font-size: .82rem; }

.app-footer {
    border-top: 1px solid var(--border);
    color: #5f738a;
    font-size: .72rem;
}

.footer-inner {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

@keyframes rotate { to { transform: rotate(360deg); } }

.location-panel { scroll-margin-top: 88px; }
.error-state div { min-width: 0; overflow-wrap: anywhere; }
.tank-liquid[style="height:0%"]::before { display: none; }

@media (max-width: 840px) {
    .app-shell { width: min(100% - 24px, 1560px); }
    .app-main { padding-top: 26px; }
    .location-summary { grid-template-columns: 1fr; }
    .location-summary.single-summary { grid-template-columns: 1fr; }
    .tank-grid { grid-template-columns: 1fr; }
    .page-heading { align-items: flex-start; }
}

@media (max-width: 560px) {
    .brand { gap: 8px; }
    .brand-logo { width: 52px; }
    .app-header-inner { min-height: 64px; gap: 8px; }
    .brand-mark { width: 38px; height: 38px; }
    .brand-company { font-size: .62rem; }
    .brand-product { font-size: .95rem; }
    .app-main { padding: 22px 0 42px; }
    .page-heading { margin-bottom: 18px; }
    .location-panel-header { padding: 16px; }
    .tank-grid { padding: 12px; gap: 12px; }
    .tank-card-body { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 15px; }
    .tank-visual { width: 78px; height: 142px; }
    .metric-grid { grid-template-columns: 1fr; gap: 9px; }
    .tank-name-row { align-items: flex-start; }
    .tank-state-badge { font-size: .58rem; }
    .footer-inner { min-height: 64px; flex-direction: column; justify-content: center; gap: 2px; text-align: center; }
}

.dispatch-panel .location-panel-header h2 { margin: 0; font-size: 1.2rem; }
.dispatch-panel .location-panel-header p { margin-left: 0; }
.dispatch-metrics { margin: 0; padding: 0 24px; }
.dispatch-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.dispatch-row:last-child { border-bottom: 0; }
.dispatch-row dt { color: var(--text); font-size: 1rem; font-weight: 650; }
.dispatch-row dt span { display: block; margin-top: 5px; color: var(--muted); font-size: .8rem; font-weight: 400; }
.dispatch-row dd { margin: 0; font-size: 1.7rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.dispatch-row dd small { color: var(--muted); font-size: .8rem; font-weight: 500; }
.dispatch-radar dd { color: #80c5ff; font-size: 2.4rem; }
.dispatch-row .dispatch-unavailable { color: var(--muted); font-size: 1rem; font-weight: 500; }
.dispatch-note { margin: 0; padding: 16px 24px; background: var(--accent-soft); color: #abc9e7; font-size: .83rem; }
.dispatch-review { padding: 16px 24px; background: var(--warn-soft); border-bottom: 1px solid rgba(248,191,85,.25); color: #ffda8d; }
.dispatch-review strong, .dispatch-review span { display: block; }
.dispatch-review span { margin-top: 4px; font-size: .85rem; }
.dispatch-row dd.dispatch-date { font-size: 1.05rem; }
@media (max-width: 560px) {
    .dispatch-panel .location-panel-header { align-items: flex-start; flex-wrap: wrap; }
    .dispatch-metrics { padding: 0 16px; }
    .dispatch-row { grid-template-columns: 1fr; gap: 10px; padding: 18px 0; }
    .dispatch-note { padding: 16px; }
}

@media (max-width: 360px) {
    .header-actions { gap: 6px; }
    .live-state { padding: 0 8px; }
    .tank-card-body { grid-template-columns: 70px minmax(0, 1fr); gap: 10px; padding: 12px; }
    .tank-visual { width: 66px; }
    .location-panel-header { gap: 8px; padding: 12px; }
}

/* Springfield List/Tiles layout. */
.sgf-view-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 20px; }
.sgf-view-toolbar > span { color:#99b3cd; font-size:.7rem; font-weight:600; letter-spacing:.12em; }
.sgf-view-switch { display:flex; gap:4px; padding:4px; background:#101f32; border:1px solid #354a61; border-radius:12px; }
.sgf-view-switch button { padding:9px 18px; border:0; border-radius:8px; background:transparent; color:#b7c7d8; font:inherit; cursor:pointer; }
.sgf-view-switch button[aria-pressed="true"] { color:#eff8ff; background:#285174; box-shadow:0 2px 8px #0003; }
.sgf-view-switch button:focus-visible { outline:2px solid #8fd4ff; outline-offset:3px; }
.sgf-tiles-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin:26px 0 22px; }
.sgf-tiles-heading h2 { margin:0 0 6px; font-size:1.3rem; }
.sgf-tiles-heading p { color:#aebfd2; margin:0; font-size:.9rem; }
.sgf-gauge-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.sgf-tile { min-width:0; padding:26px; background:linear-gradient(145deg,#16283e,#101e30); border:1px solid #2c435b; border-radius:18px; box-shadow:0 12px 25px #0002; }
.sgf-physical { border-top:3px solid #64c7fa; }
.sgf-book { border-top:3px solid #dfb771; }
.sgf-tile-label { color:#9db4cc; font-weight:650; font-size:.68rem; letter-spacing:.14em; margin-bottom:10px; }
.sgf-tile h3 { margin:0; font-size:1.06rem; font-weight:650; }
.sgf-gauge-content { display:flex; align-items:center; gap:18px; padding:22px 0; }
.sgf-gauge { width:180px; flex:0 0 180px; position:relative; }
.sgf-gauge svg { display:block; width:100%; }
.sgf-gauge circle { fill:none; stroke-width:11; }
.sgf-gauge-track { stroke:#2c4055; }
.sgf-gauge-fill { stroke:#6bd0ff; }
.sgf-book .sgf-gauge-fill { stroke:#e5c28a; }
.sgf-gauge-marker { stroke:#ffda8b; stroke-width:3; }
.sgf-gauge-center { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.sgf-gauge-center strong { font-size:1.9rem; font-weight:700; font-variant-numeric:tabular-nums; }
.sgf-gauge-center span { color:#adc0d3; font-size:.66rem; margin-top:4px; }
.sgf-gauge-value { min-width:0; }
.sgf-gauge-value > strong { display:block; color:#edf6ff; font-size:clamp(1.7rem,2.6vw,2.8rem); line-height:1.3; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.sgf-gauge-value small,.sgf-detail-value small { font-size:.8rem; color:#b4c7d8; font-weight:400; white-space:nowrap; }
.sgf-tile p { color:#b4c7d8; font-size:.82rem; line-height:1.7; margin:10px 0 0; }
.sgf-limit { color:#c1cfdd; font-size:.77rem; line-height:1.6; margin-top:16px; }
.sgf-limit small { font-size:inherit; }
.sgf-marker-key { display:inline-block; width:3px; height:12px; background:#ffda8b; margin-right:6px; vertical-align:middle; }
.sgf-tile p.sgf-tile-foot { padding-top:14px; margin:0; border-top:1px solid #2c4055; font-size:.73rem; }
.sgf-detail-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:20px; }
.sgf-detail-value { font-size:2rem; font-weight:700; margin-top:20px; font-variant-numeric:tabular-nums; }
.sgf-source-note { color:#aebfd2; font-size:.78rem; line-height:1.7; margin:20px 0 0; }
.sgf-tiles .dispatch-unavailable { font-size:1rem; color:#b4c7d8; }
@media(max-width:1150px) { .sgf-gauge-content { flex-direction:column; text-align:center; } .sgf-gauge-value { width:100%; } }
@media(max-width:700px) { .sgf-gauge-grid,.sgf-detail-grid { grid-template-columns:1fr; } .sgf-tile { padding:22px; } .sgf-tiles-heading { flex-wrap:wrap; } .sgf-gauge-value > strong { font-size:2.6rem; } .sgf-view-switch button { padding:9px 14px; } }
