/* Trường Giang Observatory — an integrated presentation layer. */
:root body.observatory-interface {
    --ob-ink: #193c3d;
    --ob-muted: #6d7b79;
    --ob-paper: #f5f6f2;
    --ob-line: #e3e8e2;
    --ob-accent: #117b70;
    background: var(--ob-paper);
    color: var(--ob-ink);
    font-family: 'Be Vietnam Pro', 'Segoe UI', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
:root body.observatory-interface .workspace { background: var(--ob-paper); margin-left: 236px; min-height: 100vh; }
:root body.observatory-interface .sidebar { display: flex; width: 236px; background: #102f32; border: 0; color: #abc0bd; padding: 0 14px; box-shadow: none; }
:root body.observatory-interface .brand { color: #f2faf7; padding: 30px 8px 24px; align-items: center; gap: 11px; border-bottom: 1px solid #ffffff12; margin-bottom: 24px; }
:root body.observatory-interface .brand strong { color: #f2faf7; font-size: 14px; font-weight: 650; letter-spacing: .2px; }
:root body.observatory-interface .brand small { font-size: 10px; line-height: 1.6; color: #a5bcb7; margin-top: 5px; }
:root body.observatory-interface #brand-logo { display: grid; place-items: center; background: #1c4546; border: 1px solid #b6e5d41a; border-radius: 13px; width: 42px; height: 48px; flex-shrink: 0; color: #bcf0d8; }
:root body.observatory-interface #brand-logo svg { width: 26px; height: 32px; }
:root body.observatory-interface .sidebar nav { display: flex; flex-direction: column; padding: 0; gap: 3px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #537d6e transparent; }
.ob-nav-label { color: #86a6a0; font-size: 9px; font-weight: 500; letter-spacing: 1.7px; padding: 0 12px 10px; }
.ob-nav-label:not(:first-child) { margin-top: 22px; }
:root body.observatory-interface .nav-item { margin: 0; min-height: 44px; padding: 10px 12px; font-size: 12px; font-weight: 450; color: #b6cac5; gap: 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; box-shadow: none; }
:root body.observatory-interface .nav-item svg { width: 18px; height: 18px; opacity: .8; }
:root body.observatory-interface .nav-item:hover { color: #ecf9f4; background: #ffffff08; }
:root body.observatory-interface .nav-item.active { background: #d6f5e6; color: #153f37; border: 1px solid #d6f5e6; font-weight: 650; box-shadow: 0 3px 10px #0000000a; }
:root body.observatory-interface .nav-item.active svg { opacity: 1; }
.ob-nav-count { margin-left: auto; font-size: 10px; line-height: 20px; min-width: 20px; text-align: center; border-radius: 5px; color: #f6d68c; background: #eac36a1b; }
:root body.observatory-interface .sidebar-bottom { border-top: 1px solid #ffffff12; margin: auto 8px 20px; padding-top: 18px; font-size: 9px; color: #a1b9b2; }
:root body.observatory-interface .sidebar-bottom strong { color: #d5e9e1; font-size: 10px; line-height: 1.6; }
:root body.observatory-interface .institute { color: #a5cdc0; background: #ffffff08; border: 1px solid #ffffff12; border-radius: 8px; }
.ob-sidebar-note { margin: 28px 8px 24px; padding: 18px 14px; border: 1px solid #c0e6d51c; border-radius: 10px; background: linear-gradient(135deg, #1e4443, #173938); }
.ob-sidebar-note svg { color: #a6dfc7; margin-bottom: 12px; }
.ob-sidebar-note strong { display: block; font-size: 12px; color: #e6f6ee; font-weight: 500; }
.ob-sidebar-note p { font-size: 10px; color: #a4c3b6; line-height: 1.8; margin: 6px 0 0; }
:root body.observatory-interface .hydro-public-nav { display: none; }
:root body.observatory-interface .topbar { min-height: 70px; height: 70px; padding: 0 32px; background: #fafbf8; border-bottom: 1px solid var(--ob-line); box-shadow: none; flex-wrap: nowrap; position: relative; }
:root body.observatory-interface #breadcrumb { display: block; font-size: 11px; color: var(--ob-muted); letter-spacing: .1px; }
:root body.observatory-interface .topbar-right { position: static; gap: 16px; }
:root body.observatory-interface .account { color: var(--ob-ink); font-size: 11px; gap: 9px; }
:root body.observatory-interface .avatar { background: #e7f0e8; color: var(--ob-accent); border: 1px solid #d8e5db; border-radius: 50%; }
:root body.observatory-interface .notification-button { background: transparent; border: 0; color: #5c7770; }
:root body.observatory-interface #content { width: 100%; max-width: 1680px; padding: 30px 32px 36px; margin: auto; }
:root body.observatory-interface footer { color: #74877e; border-top: 1px solid var(--ob-line); background: transparent; font-size: 10px; padding: 16px 32px; }
:root body.observatory-interface .card, :root body.observatory-interface .analysis-trend, :root body.observatory-interface .fleet-comparison { background: #fff; border: 1px solid var(--ob-line); border-radius: 14px; box-shadow: 0 3px 12px #15362c03; backdrop-filter: none; color: var(--ob-ink); }
:root body.observatory-interface .page-head h1 { color: var(--ob-ink); font-size: 27px; letter-spacing: -.8px; }
:root body.observatory-interface .page-head p { color: var(--ob-muted); font-size: 12px; }
:root body.observatory-interface .btn { min-height: 40px; border-radius: 8px; font-size: 11px; font-weight: 550; box-shadow: none; }
:root body.observatory-interface .btn.secondary { background: white; border: 1px solid #dfe6de; color: #34544b; }
:root body.observatory-interface .form-control { min-height: 40px; border: 1px solid var(--ob-line); background: #fbfcfa; color: var(--ob-ink); font-size: 11px; border-radius: 7px; }
:root body.observatory-interface :focus-visible { outline: 3px solid #338f7e; outline-offset: 4px; }
:root body.observatory-interface .badge { font-size: 10px; font-weight: 550; line-height: 1.5; border-radius: 5px; gap: 5px; }
:root body.observatory-interface .badge .hydro-icon { width: 14px; height: 14px; }
:root body.observatory-interface #menu-button, :root body.observatory-interface #sidebar-close { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ob-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.ob-eyebrow { color: #658377; font-size: 9px; font-weight: 550; letter-spacing: 1.6px; }
.ob-page-heading h1 { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.4; letter-spacing: -1.2px; font-weight: 600; margin: 8px 0 8px; color: var(--ob-ink); }
.ob-page-heading h1 span { font-weight: 400; color: #738c7e; }
.ob-page-heading p { margin: 0; color: var(--ob-muted); font-size: 11px; }
.ob-report { flex-shrink: 0; padding: 0 15px; }
.ob-welcome { position: relative; isolation: isolate; overflow: hidden; border-radius: 16px; background: #123e3e; color: #f0f9f0; min-height: 238px; padding: 24px 30px; margin-bottom: 20px; }
.ob-welcome:after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #123e3e 6%, #123e3ef0 35%, transparent 73%); }
.ob-welcome-copy { position: relative; z-index: 1; }
.ob-location { display: inline-flex; gap: 7px; align-items: center; font-size: 8px; letter-spacing: 1.9px; color: #a7d5c5; }
.ob-welcome h2 { font-size: 32px; line-height: 1.3; letter-spacing: -.9px; margin: 11px 0 8px; font-weight: 500; color: #f1f8ed; }
.ob-welcome p { font-size: 11px; line-height: 1.7; color: #b5cec2; margin: 0 0 15px; }
.ob-welcome-actions { display: flex; align-items: center; gap: 21px; }
.ob-primary { display: inline-flex; gap: 17px; align-items: center; min-height: 39px; padding: 0 15px; background: #d7f3df; border: 1px solid #e3f8e9; color: #204e3c; border-radius: 7px; font-size: 10px; font-weight: 600; transition: background .2s, transform .2s; }
.ob-primary:hover { background: #edfcef; transform: translateY(-1px); }
.ob-mode { color: #c1d6c9; display: inline-flex; gap: 7px; align-items: center; font-size: 9px; }
.ob-mode i { width: 5px; height: 5px; border-radius: 50%; background: #e1be79; }
.ob-river-art { position: absolute; top: 0; bottom: 0; right: 0; width: 68%; z-index: -2; }
.ob-river-art svg { width: 100%; height: 100%; object-fit: cover; }
.ob-river-art > span { position: absolute; right: 23px; bottom: 15px; color: #8bb6a3; font-size: 8px; letter-spacing: .6px; }
.ob-summary { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 30px; }
.ob-stat { background: #fff; border: 1px solid var(--ob-line); border-radius: 12px; padding: 17px 18px 14px; }
.ob-stat-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; color: #65776b; font-size: 10px; }
.ob-stat-icon { display: grid; place-items: center; width: 30px; height: 30px; background: #eff3ec; border-radius: 8px; color: #647c69; }
.ob-stat-value { display: flex; gap: 12px; align-items: baseline; font-family: Manrope, sans-serif; font-size: 34px; font-weight: 550; letter-spacing: -1.4px; margin: 7px 0 9px; line-height: 1.3; }
.ob-stat-value > span { font-family: 'Be Vietnam Pro', sans-serif; font-size: 9px; letter-spacing: 0; font-weight: 400; color: #728278; }
.ob-stat-bottom { border-top: 1px solid #edf0e9; padding-top: 11px; font-size: 9px; color: #7d897f; }
.ob-stat-bottom a { display: flex; gap: 5px; align-items: center; color: #977a31; }
.ob-stat.teal .ob-stat-icon { background: #e5f2eb; color: #2d8a74; }
.ob-stat.teal .ob-stat-value { color: #227c67; }
.ob-stat.amber .ob-stat-icon { background: #fcf0da; color: #b18b33; }
.ob-stat.amber .ob-stat-value { color: #a18235; }
.ob-stat.slate .ob-stat-icon { background: #eff1f3; color: #7a858b; }
.ob-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 17px; }
.ob-section-heading h2 { font-size: 17px; letter-spacing: -.4px; font-weight: 600; margin: 0 0 4px; }
.ob-section-heading p { font-size: 10px; color: var(--ob-muted); margin: 0; }
.ob-section-index { font-size: 8px; letter-spacing: 1.2px; font-family: 'JetBrains Mono', monospace; color: #8b9b8f; white-space: nowrap; }
.ob-station-tabs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 9px; margin-bottom: 18px; }
:root body.observatory-interface .river-node.ob-station-tab { min-width: 0; display: flex; flex-direction: row; text-align: left; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--ob-line); border-radius: 10px; background: #fbfcf9; color: var(--ob-ink); transition: background .2s,border-color .2s; }
:root body.observatory-interface .river-node.ob-station-tab.selected { background: #e7f1e8; border-color: #8cb4a0; box-shadow: inset 0 0 0 1px #8cb4a019; }
:root body.observatory-interface .river-node.ob-station-tab:hover { background: #eaf1e8; border-color: #9ab9a6; }
.ob-station-symbol { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 8px; background: #edf1e8; color: #6a8977; }
.selected .ob-station-symbol { background: #cfe2d5; color: #2b6956; }
:root body.observatory-interface .ob-station-tab strong { display: block; font-size: 11px; line-height: 1.4; margin: 0; }
:root body.observatory-interface .ob-station-tab small { display: block; font-size: 8px; line-height: 1.5; color: #7b8b80; margin-top: 3px; }
.ob-tab-status { margin-left: auto; }
:root body.observatory-interface .ob-tab-status .badge { padding: 0; width: 14px; height: 14px; overflow: hidden; display: flex; white-space: nowrap; gap: 15px; background: transparent; border: 0; }
:root body.observatory-interface .river-observatory.ob-live-grid { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,1fr); gap: 18px; background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; margin: 0 0 28px; align-items: start; }
:root body.observatory-interface .river-observatory-map { background: white; border: 1px solid var(--ob-line); border-radius: 14px; overflow: hidden; box-shadow: none; }
:root body.observatory-interface .river-workspace { padding: 18px; }
:root body.observatory-interface .river-header { margin-bottom: 15px; gap: 12px; align-items: center; }
:root body.observatory-interface .river-header h3 { font-size: 16px; color: var(--ob-ink); letter-spacing: -.4px; margin: 2px 0 3px; }
:root body.observatory-interface .river-header p { font-size: 9px; margin: 0; color: var(--ob-muted); }
:root body.observatory-interface .river-instruction { font-size: 8px; font-weight: 500; color: #728879; letter-spacing: .3px; }
:root body.observatory-interface .map-actions { gap: 6px; }
:root body.observatory-interface .map-segment button { font-size: 8px; min-height: 30px; padding: 5px 8px; }
:root body.observatory-interface #map-fullscreen { min-height: 30px; padding: 5px 8px; font-size: 8px; }
:root body.observatory-interface .river-canvas { border-radius: 10px; overflow: hidden; border: 1px solid #d9e4dc; }
:root body.observatory-interface #geographic-map { height: 373px !important; min-height: 0; border: 0; border-radius: 0; }
:root body.observatory-interface .expanded #geographic-map { height: calc(100vh - 235px) !important; min-height: 300px; }
:root body.observatory-interface .river-footer { gap: 8px; margin-top: 10px; font-size: 8px; flex-wrap: wrap; }
:root body.observatory-interface .geographic-legend { font-size: 8px; gap: 10px; }
:root body.observatory-interface .map-angle { font-size: 8px; gap: 4px; }
:root body.observatory-interface .signal-help { font-size: 8px; line-height: 1.7; margin: 8px 0; color: #7b897e; }
:root body.observatory-interface .river-stations { display: flex; gap: 5px; }
:root body.observatory-interface .river-station { padding: 6px; flex: 1; font-size: 9px; border-radius: 6px; border-color: var(--ob-line); min-width: 0; }
:root body.observatory-interface .river-station strong { font-size: 9px; }
:root body.observatory-interface .river-station small { font-size: 7px; line-height: 1.5; }
:root body.observatory-interface .map-disclaimer { margin: 10px 0 0; font-size: 8px; color: #7c887c; line-height: 1.8; background: #f6f8f1; border: 1px solid #edf0e5; border-radius: 6px; padding: 8px; }
:root body.observatory-interface .map-compass { top: 12px; right: 12px; transform: none; width: 35px; height: 49px; border-radius: 7px; }
:root body.observatory-interface .map-compass b { font-size: 7px; }
:root body.observatory-interface .map-floating-tools { right: 10px; bottom: 25px; gap: 5px; }
:root body.observatory-interface .map-floating-tools button { font-size: 8px; padding: 7px 8px; }
:root body.observatory-interface .station-instrument { grid-row: auto; padding: 19px; background: #fff; color: var(--ob-ink); border: 1px solid var(--ob-line); border-radius: 14px; box-shadow: none; }
.ob-instrument-heading { display: flex; justify-content: space-between; align-items: center; }
:root body.observatory-interface .station-instrument h2 { font-size: 17px; letter-spacing: -.45px; line-height: 1.5; margin: 7px 0 10px; color: var(--ob-ink); font-weight: 600; }
:root body.observatory-interface .instrument-selector { margin: 0 0 12px; }
:root body.observatory-interface .instrument-selector .form-control { width: 100%; min-height: 33px; font-size: 10px; background: #fafbf8; }
:root body.observatory-interface .hydro-hero { border: 1px solid #e9e6d8; border-radius: 8px; padding: 12px 15px; margin-bottom: 12px; background: #fcfbf6; }
:root body.observatory-interface .hydro-hero:before { width: 3px; }
:root body.observatory-interface .hydro-hero .hydro-eyebrow { display: none; }
:root body.observatory-interface .hydro-hero > .badge { font-size: 12px; padding: 0; background: transparent; line-height: 1.7; }
:root body.observatory-interface .hydro-hero > p { margin: 5px 0 7px; font-size: 9px; line-height: 1.6; color: #83765c; }
:root body.observatory-interface .hydro-hero-meta { gap: 7px; margin: 0; font-size: 8px; }
:root body.observatory-interface .hydro-hero-meta .freshness { font-size: 8px; gap: 4px; }
:root body.observatory-interface .hydro-hero-meta .hydro-icon { width: 11px; height: 11px; }
:root body.observatory-interface .hydro-hero .mode-chip { font-size: 7px; }
:root body.observatory-interface .hydro-hero > a { display: none; }
:root body.observatory-interface .instrument-readings { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
:root body.observatory-interface .instrument-readings .metric { display: block; background: #fafbf8; border: 1px solid #e7ece3; border-radius: 9px; padding: 10px 11px; min-height: 123px; box-shadow: none; }
:root body.observatory-interface .instrument-readings .metric.estimated { border-style: dashed; }
:root body.observatory-interface .instrument-readings .metric-icon { width: 24px; height: 24px; border-radius: 6px; margin-bottom: 6px; display: grid; font-size: 11px; }
:root body.observatory-interface .instrument-readings .metric-icon svg { width: 15px; height: 15px; }
:root body.observatory-interface .instrument-readings .metric-label { font-size: 9px; line-height: 1.5; color: #758477; }
:root body.observatory-interface .instrument-readings .metric-value { font-family: Manrope,sans-serif; font-size: 25px; font-weight: 650; letter-spacing: -.7px; line-height: 1.5; color: #254e40; }
:root body.observatory-interface .instrument-readings .metric-unit { font-family: 'Be Vietnam Pro',sans-serif; font-size: 8px; margin-left: 3px; letter-spacing: 0; color: #899286; font-weight: 400; }
:root body.observatory-interface .instrument-readings .metric-source { font-size: 7px; color: #7d8b7c; margin-top: 2px; }
:root body.observatory-interface .instrument-readings .metric-spark { height: 19px; margin-top: 5px; color: #649c80; }
:root body.observatory-interface .instrument-readings .metric-quality, :root body.observatory-interface .instrument-readings .metric-note, :root body.observatory-interface .instrument-readings .spark-empty { font-size: 8px; line-height: 1.6; margin-top: 4px; color: #879182; }
:root body.observatory-interface .instrument-provenance { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--ob-line); padding-top: 11px; margin-top: 12px; font-size: 8px; color: #8a9789; }
:root body.observatory-interface .instrument-provenance strong { display: block; font-size: 9px; color: #506850; font-weight: 500; margin-top: 3px; }
:root body.observatory-interface .instrument-detail { display: flex; justify-content: space-between; width: 100%; margin-top: 13px; min-height: 35px; background: #edf4ea; color: #477157; border: 1px solid #e0eadb; font-size: 9px; }
.ob-trend-heading { margin-bottom: 17px; }
:root body.observatory-interface .river-analysis { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: 18px; margin-bottom: 25px; }
:root body.observatory-interface .analysis-trend { padding: 22px; }
:root body.observatory-interface .analysis-heading { align-items: center; gap: 12px; margin-bottom: 17px; }
:root body.observatory-interface .analysis-heading h2 { font-size: 15px; color: var(--ob-ink); letter-spacing: -.3px; font-weight: 600; margin: 0 0 4px; }
:root body.observatory-interface .analysis-heading p { color: var(--ob-muted); font-size: 10px; margin: 0; }
:root body.observatory-interface #overview-chart-parameter { width: 162px; min-height: 34px; font-size: 9px; }
:root body.observatory-interface .chart text { fill: #91a18e; font-family: 'Be Vietnam Pro',sans-serif; }
:root body.observatory-interface .chart .axis { stroke: #eaf0e7; }
:root body.observatory-interface .chart-legend { font-size: 8px; gap: 10px; color: #7b8976; }
:root body.observatory-interface .data-context { padding: 22px; background: #eaf0e3; border: 1px solid #dde6d5; border-radius: 14px; box-shadow: none; }
.ob-context-heading { display: flex; align-items: center; gap: 8px; font-size: 9px; color: #68815b; margin-bottom: 17px; }
:root body.observatory-interface .data-context h2 { color: #3f5d36; font-size: 19px; letter-spacing: -.5px; font-weight: 500; margin: 0 0 9px; }
:root body.observatory-interface .data-context > p { font-size: 10px; line-height: 1.9; color: #78846a; margin: 0 0 18px; }
:root body.observatory-interface .context-row { padding: 10px 0; border-bottom: 1px solid #d6e0cc; font-size: 9px; gap: 10px; color: #7b896d; }
:root body.observatory-interface .context-row strong { font-size: 9px; font-weight: 500; color: #4c6941; }
.ob-context-link { display: flex; align-items: center; justify-content: space-between; color: #4e7141; font-size: 10px; margin-top: 20px; font-weight: 500; }
:root body.observatory-interface .fleet-comparison { padding: 22px 0 0; }
:root body.observatory-interface .fleet-comparison .analysis-heading { padding: 0 22px; }
:root body.observatory-interface .fleet-comparison .ob-eyebrow { display: block; margin-bottom: 7px; font-size: 8px; }
.ob-count-pill { font-size: 9px; white-space: nowrap; color: #749064; border: 1px solid #dce7d4; background: #f2f7ec; border-radius: 6px; padding: 7px 10px; }
:root body.observatory-interface table { font-size: 10px; }
:root body.observatory-interface th { font-size: 9px; color: #819078; background: #f7f9f3; font-weight: 450; border-bottom: 1px solid #e7ede0; padding: 12px 16px; }
:root body.observatory-interface td { padding: 14px 16px; border-bottom: 1px solid #eef1e8; color: #50644b; }
:root body.observatory-interface .click-row:hover { background: #f3f8ee; }
:root body.observatory-interface .table-footer { background: #fcfdf9; border-top: 1px solid var(--ob-line); padding: 12px 22px; border-radius: 0 0 14px 14px; }
:root body.observatory-interface .legend { justify-content: flex-start; gap: 15px; font-size: 9px; }
:root body.observatory-interface .gate-banner { padding: 13px 16px; background: #faf6ed; border: 1px solid #eae2cf; border-radius: 10px; margin-top: 22px; margin-bottom: 22px; font-size: 10px; color: #847454; }
:root body.observatory-interface .gate-banner strong { font-size: 10px; font-weight: 600; }
:root body.observatory-interface .gate-banner p { font-size: 9px; line-height: 1.7; margin: 4px 0; }
:root body.observatory-interface .gate-banner a { font-size: 9px; color: #947532; }
:root body.observatory-interface .gate-banner > .hydro-icon { width: 16px; height: 16px; }
/* Keep secondary information readable at normal desktop scale. */
:root body.observatory-interface .nav-item { font-size: 13px; }
:root body.observatory-interface #breadcrumb { font-size: 12px; }
:root body.observatory-interface .account { font-size: 12px; }
.ob-page-heading p, .ob-welcome p { font-size: 12px; }
.ob-welcome h2 { font-size: 32px; }
.ob-location { font-size: 9px; }
.ob-primary { font-size: 11px; }
.ob-mode { font-size: 10px; }
.ob-stat-top { font-size: 12px; }
.ob-stat-value > span, .ob-stat-bottom { font-size: 10px; }
.ob-section-heading p { font-size: 11px; }
:root body.observatory-interface .ob-station-tab strong { font-size: 12px; }
:root body.observatory-interface .ob-station-tab small { font-size: 9px; }
:root body.observatory-interface .river-header p, :root body.observatory-interface .river-instruction { font-size: 10px; }
:root body.observatory-interface .map-segment button, :root body.observatory-interface #map-fullscreen { font-size: 9px; }
:root body.observatory-interface .geographic-legend, :root body.observatory-interface .map-angle, :root body.observatory-interface .signal-help, :root body.observatory-interface .map-disclaimer { font-size: 10px; }
:root body.observatory-interface .river-station strong { font-size: 10px; }
:root body.observatory-interface .river-station small { font-size: 8px; }
:root body.observatory-interface .instrument-readings .metric-label { font-size: 11px; }
:root body.observatory-interface .instrument-readings .metric-source { font-size: 9px; }
:root body.observatory-interface .instrument-readings .metric-quality, :root body.observatory-interface .instrument-readings .metric-note, :root body.observatory-interface .instrument-readings .spark-empty { font-size: 9px; }
:root body.observatory-interface .instrument-readings .metric-unit { font-size: 9px; }
:root body.observatory-interface .instrument-provenance { font-size: 10px; }
:root body.observatory-interface .instrument-provenance strong { font-size: 11px; }
:root body.observatory-interface .instrument-detail { font-size: 11px; }
:root body.observatory-interface .hydro-hero > p { font-size: 11px; }
:root body.observatory-interface .hydro-hero-meta .freshness { font-size: 10px; }
:root body.observatory-interface .hydro-hero .mode-chip { font-size: 9px; }
:root body.observatory-interface .analysis-heading p { font-size: 11px; }
:root body.observatory-interface #overview-chart-parameter { font-size: 11px; }
.ob-context-heading, :root body.observatory-interface .data-context > p, :root body.observatory-interface .context-row, :root body.observatory-interface .context-row strong, .ob-context-link { font-size: 11px; }
:root body.observatory-interface .gate-banner strong, :root body.observatory-interface .gate-banner p, :root body.observatory-interface .gate-banner a { font-size: 11px; }
:root body.observatory-interface table { font-size: 11px; }
:root body.observatory-interface th { font-size: 10px; }
:root body.observatory-interface .chart-legend { font-size: 10px; }
@media (min-width: 1600px) {
    :root body.observatory-interface #content { padding: 35px 44px 40px; }
    .ob-welcome { padding: 35px 40px; min-height: 285px; }
    .ob-welcome h2 { font-size: 37px; }
    :root body.observatory-interface #geographic-map { height: 415px !important; }
}
@media (max-width: 1180px) {
    :root body.observatory-interface .sidebar { width: 210px; }
    :root body.observatory-interface .workspace { margin-left: 210px; }
    :root body.observatory-interface #content { padding: 25px 22px; }
    :root body.observatory-interface .topbar { padding: 0 22px; }
    .ob-stat { padding: 13px; }
    .ob-stat-value { gap: 6px; }
    .ob-stat-value > span { font-size: 8px; }
    :root body.observatory-interface .ob-station-tab { gap: 7px; padding: 10px; }
    .ob-station-symbol { width: 25px; height: 28px; }
    .ob-station-symbol svg { width: 16px; }
    .ob-tab-status { display: none; }
    :root body.observatory-interface .river-observatory.ob-live-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
    :root body.observatory-interface .river-header { flex-wrap: wrap; }
    :root body.observatory-interface #geographic-map { height: 400px !important; }
    :root body.observatory-interface .river-station small { display: none; }
    :root body.observatory-interface .instrument-readings .metric { padding: 9px; }
    :root body.observatory-interface .instrument-readings .metric-value { font-size: 23px; }
}
@media (max-width: 980px) {
    :root body.observatory-interface .sidebar { width: 236px; transform: translateX(-100%); transition: transform .25s ease; }
    :root body.observatory-interface .sidebar.open { transform: translateX(0); box-shadow: 16px 0 70px #133c3830; }
    :root body.observatory-interface .workspace { margin-left: 0; }
    :root body.observatory-interface #menu-button { display: inline-grid; place-items: center; width: 36px; height: 36px; min-height: 36px; background: #edf3e9; border: 1px solid #dce7d6; border-radius: 7px; color: #466641; margin-right: 10px; }
    :root body.observatory-interface .sidebar.open #sidebar-close { display: grid; place-items: center; position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 6px; border: 1px solid #c8e4d624; background: #ffffff09; color: #d8f4e6; font-size: 18px; }
    :root body.observatory-interface .topbar { height: 62px; min-height: 62px; padding: 0 22px; }
    :root body.observatory-interface .topbar-right { margin-left: auto; }
    .ob-page-heading h1 { font-size: 28px; }
}
@media (max-width: 700px) {
    :root body.observatory-interface #content { padding: 23px 16px; }
    :root body.observatory-interface .topbar { padding: 0 16px; }
    :root body.observatory-interface .topbar-right { gap: 8px; }
    :root body.observatory-interface .account-name { display: none; }
    .ob-page-heading { align-items: flex-start; margin-bottom: 20px; }
    .ob-page-heading h1 { font-size: 25px; line-height: 1.5; }
    .ob-page-heading h1 span { display: block; }
    .ob-page-heading p { font-size: 10px; max-width: 270px; }
    .ob-report { font-size: 9px !important; padding: 8px 10px; margin-top: 20px; }
    .ob-report svg { display: none; }
    .ob-welcome { padding: 25px; min-height: 270px; }
    .ob-welcome h2 { font-size: 29px; }
    .ob-welcome p { font-size: 10px; }
    .ob-river-art { width: 100%; opacity: .35; }
    .ob-welcome:after { background: linear-gradient(90deg,#123e3ed9, #123e3e88); }
    .ob-river-art > span { display: none; }
    .ob-welcome-actions { gap: 12px; flex-wrap: wrap; }
    .ob-mode { font-size: 8px; }
    .ob-summary { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 26px; }
    .ob-stat { padding: 14px; }
    .ob-stat-top { font-size: 9px; }
    .ob-stat-value { font-size: 32px; }
    .ob-stat-bottom { font-size: 8px; line-height: 1.8; min-height: 36px; }
    .ob-stat-value > span { font-size: 8px; }
    .ob-section-index { display: none; }
    .ob-section-heading h2 { font-size: 16px; }
    .ob-station-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 5px; scrollbar-width: thin; }
    :root body.observatory-interface .river-node.ob-station-tab { flex: 0 0 146px; padding: 11px; }
    :root body.observatory-interface .river-observatory.ob-live-grid, :root body.observatory-interface .river-analysis { grid-template-columns: 1fr; gap: 16px; }
    :root body.observatory-interface .station-instrument { grid-row: 1; padding: 19px; }
    :root body.observatory-interface .instrument-readings .metric { min-height: 130px; padding: 11px; }
    :root body.observatory-interface .instrument-readings .metric-value { font-size: 26px; }
    :root body.observatory-interface .instrument-readings .metric-label { font-size: 10px; }
    :root body.observatory-interface .instrument-readings .metric-source { font-size: 8px; }
    :root body.observatory-interface .instrument-provenance { font-size: 9px; }
    :root body.observatory-interface .instrument-provenance strong { font-size: 10px; }
    :root body.observatory-interface .hydro-hero > p { font-size: 10px; }
    :root body.observatory-interface .hydro-hero-meta .freshness { font-size: 9px; }
    :root body.observatory-interface .river-header { flex-wrap: nowrap; }
    :root body.observatory-interface #geographic-map { height: 310px !important; }
    :root body.observatory-interface .river-workspace { padding: 16px; }
    :root body.observatory-interface .river-header h3 { font-size: 15px; }
    :root body.observatory-interface .map-segment button { font-size: 8px; }
    :root body.observatory-interface #map-fullscreen { font-size: 8px; }
    :root body.observatory-interface .river-station small { display: block; }
    :root body.observatory-interface .analysis-heading { flex-wrap: wrap; }
    :root body.observatory-interface .analysis-trend, :root body.observatory-interface .data-context { padding: 19px; }
    :root body.observatory-interface #overview-chart-parameter { width: 100%; }
    :root body.observatory-interface .chart-legend { flex-wrap: wrap; }
    :root body.observatory-interface .fleet-comparison .analysis-heading { padding: 0 18px; }
    :root body.observatory-interface footer { padding: 15px 16px; flex-wrap: wrap; gap: 5px; }
    :root body.observatory-interface .gate-banner p { font-size: 10px; }
}
@media (max-width: 400px) {
    .ob-welcome { padding: 23px; }
    .ob-stat { padding: 12px; }
    .ob-stat-top { font-size: 8px; }
    .ob-stat-value > span { font-size: 7px; }
    :root body.observatory-interface .instrument-readings { grid-template-columns: repeat(2,minmax(0,1fr)); }
    :root body.observatory-interface .river-header { flex-wrap: wrap; }
    :root body.observatory-interface .river-station small { display: none; }
}
@media (max-width: 360px) {
    .ob-page-heading { display: block; }
    .ob-page-heading h1 { font-size: 24px; }
    .ob-report { margin: 12px 0 0; min-height: 33px !important; }
    .ob-welcome h2 { font-size: 26px; }
    .ob-welcome p br { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    :root body.observatory-interface *, :root body.observatory-interface *:before, :root body.observatory-interface *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
