/* AOS field dashboard: neutral work surfaces, navy navigation and selective status color. */
:root{
 --ink:#18283d;--muted:#58677a;--primary:#204f91;--line:#d4dce6;--bg:#f5f7fa;
 --surface:#fff;--surface-soft:#f0f3f7;--nav:#102643;--nav-hover:#1b3658;
 --accent:#166b91;--focus:#2b65b8;--white:#fff;--orange:#94651e;
}
body{background:var(--bg);color:var(--ink);font-size:16px;line-height:1.6}
.shell,.home-view{background:var(--bg)}
main{max-width:1440px;padding:32px 32px 30px}
h1,h2,h3{color:var(--ink);font-family:'DM Sans',system-ui,sans-serif}
h1,.page-top h1{font-size:32px;font-weight:700;letter-spacing:-.8px;line-height:1.2}
h2,.section-head h2,.mode-group h2,.grid-side h2{font-size:20px;font-weight:650;letter-spacing:-.3px;color:var(--ink)}
h3{font-weight:650;letter-spacing:-.2px}
.sub,.caption,.note,.status-note,.sat-alias,.sat-details,.pass-info,.passfoot,.map-bottom,.field small,.elevation small,.pass-time small,.grid-stats span,.heat-map-caption,.grid-legend,.grid-detail-counts,.check{color:var(--muted)}
.sub{font-size:15px;line-height:1.7}
.caption,.note,.field small{font-size:13px;line-height:1.65}
.text-link{font-size:14px;color:var(--primary);font-weight:600}
.page-top{border:0;padding-bottom:0;margin-bottom:28px;align-items:flex-start;gap:20px}
.page-top .eyebrow{display:none}
.page-top .sub{color:var(--muted);max-width:74ch}
.section{margin-bottom:34px}
.section-head{margin-bottom:18px;align-items:center}

/* Navigation is the stable dark anchor; content gets the light treatment. */
.sidebar{width:240px;background:var(--nav);border:0;padding:25px 17px;box-shadow:none}
.shell{margin-left:240px}
.sidebar .brand{margin-bottom:30px}
.sidebar .nav-label{color:#9db0c9;font-size:10px;letter-spacing:1.4px;margin:22px 14px 11px}
.sidebar nav{gap:4px}
.sidebar nav a{color:#c5d2e3;font-size:14px;font-weight:500;padding:11px 13px;min-height:44px;border-radius:7px;gap:12px;line-height:1.4}
.sidebar nav a>span{color:#9db6d5;font-size:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.nav-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sidebar nav a:hover{background:var(--nav-hover);color:#fff}
.sidebar nav a.active{background:#24466e;color:#fff;box-shadow:none;font-weight:650}
.sidebar nav a.active>span{color:#c2e8ff}
.sidebar nav b{color:#183758;background:#dce9f7;border:0;font-size:11px}
.sidebar-bottom{padding:20px 12px 0;border-top:1px solid #344a65;margin-top:26px}
.sidebar .sidebar-bottom>a{color:#b6c7dd;font-size:12px;margin:10px 0;font-weight:400;line-height:1.6}
.sidebar .version{color:#9aaec7;font-size:10px;margin-top:18px;letter-spacing:.7px}
.shell>header{background:var(--surface);border-color:var(--line);box-shadow:none;min-height:76px}
.breadcrumbs{color:var(--muted);font-size:13px}
.breadcrumbs strong{color:var(--ink)}
.location{color:var(--ink)}
.utc{color:#193b66;background:#f2f5f9;border-color:#d4dde9;box-shadow:none;font-size:19px}
.avatar{background:#eaf0f7;color:#274b7d}
.mobile-topbar{background:var(--nav);border-color:#344a65;box-shadow:none}
.mobile-topbar button{background:#1a3557;border-color:#49617e}
footer{color:var(--muted);border-color:var(--line);font-size:12px}

/* One surface style replaces stacked blue outlines and colored panel headings. */
.panel,.sat-card,.rove-mobile-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:none}
.big-panel{border-top:1px solid var(--line);padding:25px}
.big-panel>h2,.big-panel>h3{color:var(--ink)}
.panel-heading{background:var(--surface);border-color:var(--line);padding:18px 20px;color:var(--ink)}
.panel-heading h2{color:var(--ink);font-size:18px;font-weight:650}
.panel-heading .text-link{color:var(--primary)}
.panel-heading .caption,.panel-heading .sub,.panel-heading .field,.panel-heading .field small{color:var(--muted)}
.panel-heading .pill{background:var(--surface-soft);color:#42546c;border-color:transparent}
.panel-heading .small-select{background:#fff;color:var(--ink);border-color:#c0ccda}
.accent-card,.location-choices,.terms-consent,.privacy-summary{background:#f0f4f9;border:1px solid var(--line);border-radius:8px;box-shadow:none}
.accent-card{border-left:1px solid var(--line);padding:21px}
.accent-card strong,.accent-card p{color:var(--ink)}
.accent-card p{font-size:14px;line-height:1.65;color:var(--muted)}
.accent-card a{font-size:14px;color:var(--primary)}
.grid-stats>div{border:0;border-radius:0;border-right:1px solid var(--line);background:transparent;box-shadow:none;padding:15px 22px}
.grid-stats>div:last-child{border-right:0}
.grid-stats{background:var(--surface);border:1px solid var(--line);border-radius:10px;gap:0;overflow:hidden}
.grid-stats strong,.alert-watch-stats strong,.mutual-observer{color:var(--ink);font-weight:650}
.profile-heading{border-color:var(--line)}
.profile-avatar{background:#edf2f8;border-color:#d4dde9;color:#234675}
.moderation-context{background:#f3f5f8;border-color:#a2b6cf}
.moderation-case,.privacy-record{border-color:var(--line)}

button,.outline,.tool-link{border-color:#c7d2df;border-radius:7px;color:#263e5c;background:#fff;box-shadow:none;font-size:14px;font-weight:550}
button:hover,.outline:hover,.tool-link.outline:hover{background:#f0f4fa;border-color:#9bafc9;color:#143b70}
button.primary,.primary,.tool-link.primary{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:none;font-weight:600}
button.primary:hover,.primary:hover{background:#183f77;border-color:#183f77;color:#fff}
button:disabled{opacity:.55;cursor:default}
.field{font-size:14px;color:#364a62;font-weight:550}
.field input,.field select,.field textarea,.search,.grid-find input,.small-select{background:#fff;color:var(--ink);border:1px solid #bdcad9;border-radius:7px;font-size:16px;box-shadow:none}
.field input:focus,.field select:focus,.field textarea:focus,.search:focus,.grid-find input:focus{outline:2px solid var(--focus);outline-offset:2px}
.segmented{background:#e9edf3;border:0;padding:4px;border-radius:8px;gap:3px}
.segmented button{background:transparent;color:#4c5d73;font-weight:500;border:0;border-radius:5px}
.segmented button.selected{background:#fff;color:#1b3d6b;box-shadow:0 1px 4px #152c471a;font-weight:650}
.grid-status-actions button.selected{background:#e7effa;border-color:#7098c6;color:#183d70}
.show-activity{background:#fff;border-color:var(--line);color:var(--primary);font-size:14px}
.source-chip,.pill{background:#edf1f6;border:0;border-radius:5px;color:#455970;font-size:12px;font-weight:500}
.count{background:#e8edf3;border:0;color:#42566e;border-radius:5px;font-size:12px;font-weight:600}
.badge{background:#e9f1fb;border-color:transparent;color:#214f85;font-weight:600;border-radius:5px}
.badge.linear{background:#f0edfa;border-color:transparent;color:#63508e}
.badge.other{background:#edf0f4;border-color:transparent;color:#506176}
.badge.amber{background:#fff1d4;border-color:transparent;color:#79530b}
.badge.live{background:#0e6571;color:#fff;border-color:#0e6571;letter-spacing:.3px}
.grid-tag{background:#edf2f8;border:0;color:#244774;font-weight:650}
.alert{background:#fff5df;border:1px solid #ead5a0;color:#795715;font-size:14px;line-height:1.7;border-radius:8px}

/* Open, quiet dashboard sections: color is reserved for actual operating state. */
.dashboard-banner{box-shadow:none;border:0;margin-bottom:26px}
.dashboard-actions{border:0;padding-bottom:0;margin-bottom:25px}
.dashboard-actions h1{font-size:28px;font-weight:700;color:var(--ink);letter-spacing:-.6px}
.shell.home-view>header{background:linear-gradient(#04162bb8,transparent);border:0}
.home-view>header .location,.home-view>header .utc{color:#f5f9ff;background:#102641dc;border-color:#b6cee44d;box-shadow:none}
main[data-page=home] .activity-section,main[data-page=home] .home-roves,main[data-page=home] .home-sky{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
main[data-page=home] .activity-section>.section-head{margin:0 0 18px;padding:0;background:transparent;border:0}
main[data-page=home] .activity-section>.section-head h2,main[data-page=home] .home-roves>.section-head h2{color:var(--ink);font-size:21px;font-weight:650}
main[data-page=home] .activity-section .source-chip{background:#eaf0f6;color:#455970;border:0;font-size:12px;max-width:none}
main[data-page=home] .activity-section .count,main[data-page=home] .home-roves .count{background:#e8edf3;color:#42566e;border:0;font-size:12px}
main[data-page=home] .home-roves>.section-head .text-link{color:var(--primary)}
main[data-page=home] .home-roves>.caption{color:var(--muted);font-size:13px}
main[data-page=home] .home-roves .panel,main[data-page=home] .home-sky .panel{border-color:var(--line);box-shadow:none}
main[data-page=home] .home-roves .segmented{background:#e9edf3;border:0}
main[data-page=home] .home-sky{gap:22px}
main[data-page=home] .home-tools .accent-card,main[data-page=home] .home-tools .accent-card:first-child,main[data-page=home] .home-tools .accent-card:last-child{background:#fff;border:1px solid var(--line);border-radius:10px;padding:23px;gap:12px}
main[data-page=home] .home-tools .accent-card strong,main[data-page=home] .home-tools .accent-card:first-child strong{color:var(--ink);font-size:17px;font-weight:600}
main[data-page=home] .home-tools .accent-card p,main[data-page=home] .home-tools .accent-card:first-child p{color:var(--muted);font-size:14px}
main[data-page=home] .home-tools .accent-card a,main[data-page=home] .home-tools .accent-card:first-child a{color:var(--primary)}
.sat-row,main[data-page=home] .sat-row,main[data-page=home] .sat-row:nth-child(even){background:#fff;border-color:var(--line);border-radius:0;box-shadow:none;padding-top:19px;padding-bottom:19px;border-width:0 0 1px}
.recent-grid{gap:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}
.recent-grid>.sat-row:last-child{border-bottom:0}
.sat-row:hover,main[data-page=home] .sat-row:hover{background:#f4f7fb;border-color:var(--line)}
.sat-row .sat-icon,.sat-icon{color:#40658e;background:#edf2f8;border-radius:7px}
.sat-row .sat-name strong{font-weight:650;letter-spacing:-.3px}
.sat-row .sat-alias,.sat-row .heard{color:var(--muted)}
.frequencies label,.report-reference,.report-reference>span{color:#5b6a7f}
.frequencies .mono{color:#233d5d;font-weight:550}
.pass{border-color:var(--line);background:#fff}
.pass:nth-child(odd){background:#f7f9fc}
.pass-name,.pass-time,.elevation{color:#254569}
.passfoot{background:#f3f6fa;border-color:var(--line)}
.map-bottom{background:#fff}

/* Status emphasis stays visible without turning the whole rove board navy. */
.live-board-strip{background:#eaf5f5;color:#174954;border:1px solid #b5d7da;border-left:4px solid #197989;box-shadow:none;padding:20px 22px;border-radius:9px;margin-bottom:30px}
.live-board-heading strong{color:#174954;font-family:'DM Sans',sans-serif;font-size:18px;font-weight:650}
.live-board-heading p{color:#3d6269;font-size:13px;line-height:1.6}
.live-board-action{background:#fff;border:1px solid #a3c6cc;color:#1b5663;padding:10px 14px;font-size:14px;min-height:44px;border-radius:6px}
.live-board-action:hover{background:#dceff0;color:#123f4b;border-color:#739fa8;text-decoration:none}
.live-beacon{animation:none;background:#197989;box-shadow:0 0 0 5px #19798916}
.spot-highlight,.spot-highlight.fresh{background:#edf6fb;border:0;border-left:3px solid #4085ae;border-radius:0;padding:10px 13px}
.spot-label{color:#235d7f;font-weight:650}
.spot-highlight small{color:#4f687f;font-size:12px}
.rove-mobile-card,.home-roves .rove-mobile-card{padding:20px}
.rove-mobile-card.on-air-row{background:#f0f9f8;border-color:#a9cfd0;border-left:4px solid #197989}
.rove-mobile-card.fresh-spot-row:not(.on-air-row){background:#f4f8fe;border-left:4px solid #6793be}
.rove-mobile-card p{color:var(--muted)}

/* Light table headers retain strong type, banding and row boundaries. */
.table-wrap{border:1px solid #c6d1df;border-radius:9px;box-shadow:none}
.table-wrap th,main[data-page=home] .home-roves .table-wrap th,.privacy-copy th{background:#edf1f6;color:#2f4765;border-bottom:2px solid #b7c7da;font-weight:700;font-size:12px;letter-spacing:.45px}
.table-wrap td{color:var(--ink);border-top-color:#cdd6e2}
.table-wrap tbody tr>td{background:#fff}
.table-wrap tbody tr:nth-child(even):not(.on-air-row):not(.fresh-spot-row):not(.wanted):not(.stage-row)>td{background:#f1f5fa}
.table-wrap tbody tr:not(.on-air-row):not(.fresh-spot-row):not(.wanted):not(.stage-row):hover>td{background:#e8eff8}
.table-wrap .note{color:#52637a}
.table-wrap .callbutton{color:#214e85;font-weight:650}
.rove-desktop tr.on-air-row>td{background:#eaf6f4;border-color:#b2d4d1}
.rove-desktop tr.on-air-row>td:first-child{box-shadow:inset 4px 0 #197989}
.rove-desktop tr.fresh-spot-row:not(.on-air-row)>td{background:#edf4ff;border-color:#c4d4ed}
.rove-desktop tr.fresh-spot-row:not(.on-air-row)>td:first-child{box-shadow:inset 3px 0 #6793be}
.table-wrap tr.wanted>td{background:#fff5e2;border-color:#e5cfa4}
.table-wrap .stage-row>td{background:#e2edf9;border-color:#b1c6e0}
.privacy-copy td:first-child{background:#f3f6fa}

/* Instrument screens keep contrast where the numbers need it. */
.tuning-display>div,.work-frequency{background:#f1f5fb;border-color:#d0dce9;box-shadow:none;border-radius:8px}
.tuning-display strong,.work-frequency>strong{color:#183f70}
.work-frequency{border-left:3px solid #507eaf}
.work-countdown{background:#173552;border-color:#173552;border-radius:10px;box-shadow:none}
.work-countdown strong,.work-countdown #work-countdown{color:#fff}
.work-countdown p,.work-countdown #work-countdown-label{color:#dce8f6}
.work-readouts{background:#f0f4f9;border-color:var(--line)}
.work-readouts strong{color:#254569}
.work-readouts span{color:#52637a}
.work-tone{background:#f2f6fa;border-color:var(--line)}
.rove-alert-card{border:1px solid var(--line);border-left:3px solid #aabdd2;border-radius:10px;box-shadow:none}
.rove-alert-card.alert-due{background:#edf8f6;border-color:#b2d4d1;border-left:4px solid #197989;box-shadow:none}
.privacy-copy a{color:#204f91}
dialog{border-color:#c7d2df;border-radius:12px;background:#fff;box-shadow:0 18px 70px #10264330}
dialog::backdrop{background:#10264370;backdrop-filter:blur(3px)}

@media(max-width:1150px) and (min-width:851px){.sidebar{width:218px;padding:25px 13px}.shell{margin-left:218px}.sidebar nav a{font-size:13px;padding:11px}.sidebar .brand-wordmark{max-width:170px}main{padding:28px 25px}.sidebar .brand-lockup small{max-width:170px}}
@media(max-width:850px){
 .shell{margin-left:0}.sidebar{width:76vw;max-width:360px;padding:24px 21px 25px;height:100dvh;overflow-y:auto;transform:translateX(-105%)}
 .menu-open .sidebar{transform:translateX(0)}.sidebar .brand{margin:3px 0 20px}.sidebar .nav-label{margin-top:20px}.sidebar nav a{font-size:15px;padding:12px 13px}
 .sidebar .sidebar-bottom{border-top:1px solid #344a65;padding-top:18px;margin-top:24px}.sidebar .sidebar-bottom>a{margin:11px 0}
 main{padding:27px 22px}.mobile-topbar{min-height:68px}.mobile-title{font-size:22px}.mobile-title small{font-size:12px;color:#c0cee0}
 .shell>header{min-height:66px}.shell.home-view>header{min-height:0}.section{margin-bottom:28px}
 main[data-page=home] .home-sky{gap:18px}.dashboard-actions{gap:16px}.live-board-strip{padding:18px}
}
@media(max-width:600px){
 main{padding:24px 16px}.page-top h1{font-size:28px;max-width:none}.page-top{margin-bottom:23px;gap:16px}.section-head h2{font-size:19px}
 .dashboard-actions h1{font-size:26px}.dashboard-banner{margin-bottom:22px}.dashboard-actions{margin-bottom:23px}
 main[data-page=home] .activity-section>.section-head{padding:0;margin:0 0 17px;gap:12px}
 main[data-page=home] .activity-section>.section-head h2,main[data-page=home] .home-roves>.section-head h2{font-size:19px}
 main[data-page=home] .activity-section .source-chip{font-size:12px;max-width:none}.sat-row,main[data-page=home] .sat-row{padding:17px 12px}
 .panel-heading{padding:17px}.big-panel{padding:20px}.panel-heading h2{font-size:18px}
 .grid-stats>div{padding:18px 16px}.grid-stats>div:nth-child(2){border-right:0}.grid-stats>div:nth-child(-n+2){border-bottom:1px solid var(--line)}
 .live-board-strip{align-items:stretch;flex-direction:column;gap:15px;padding:18px;margin-bottom:26px}
 .live-board-heading strong{font-size:17px}.live-board-heading p{font-size:13px}.live-board-action{align-self:flex-start;margin-left:25px;font-size:14px}
 .rove-mobile-card,.home-roves .rove-mobile-card{padding:18px}.table-wrap td{font-size:14px}.utc{font-size:18px}
 .home-view>header .utc{font-size:18px}.home-view>header .location{font-size:13px;max-width:calc(100% - 151px)}
 .home-view>header .header-right{gap:8px}.home-view>header .utc{padding:9px}.sidebar .sidebar-bottom>a{font-size:13px}
 main[data-page=home] .home-tools .accent-card{padding:21px}.accent-card{padding:18px}.privacy-copy{font-size:15px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* One time basis for the entire operating desk, with a visible device-zone label. */
.time-controls{display:flex;align-items:center;gap:12px;flex-shrink:0}
.time-mode-switch{display:flex;gap:2px;padding:3px;border:1px solid #bac8d9;border-radius:7px;background:#eef2f7}
.time-mode-switch>button{min-height:38px;min-width:52px;padding:7px 10px;border:0;border-radius:4px;background:transparent;color:#42566e;font-size:13px;line-height:1.4}
.time-mode-switch>button.selected{background:#204f91;color:#fff;font-weight:650}
.clock-stack{display:grid;justify-items:end;gap:3px}
.clock-stack>small{font-size:11px;color:#52637a;line-height:1.4;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.header-right{flex-wrap:wrap;justify-content:flex-end}
.home-view .clock-stack>small{color:#e2eefb;background:#102641dc;border-radius:3px;padding:2px 6px}
.home-view .time-mode-switch{background:#102641e8;border-color:#b6cee46b}
.home-view .time-mode-switch>button{color:#e2eefb}
.home-view .time-mode-switch>button.selected{background:#d9eafc;color:#183b67}
.table-wrap td.mono{white-space:normal;min-width:190px;max-width:320px;overflow-wrap:anywhere}
.time-occurrence{padding:15px;border:1px solid #d3b77a;border-radius:7px;background:#fff5df}
@media(max-width:1150px){.shell>header{flex-wrap:wrap;gap:12px;padding-top:12px;padding-bottom:12px}.time-controls{gap:9px}.header-right{gap:12px}.clock-stack>.utc{font-size:18px}}
@media(max-width:600px){.time-controls{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.clock-stack{order:0}.time-mode-switch{order:1}.time-mode-switch>button{min-width:57px;min-height:44px;padding:8px 11px}.clock-stack>.utc{font-size:17px}.clock-stack>small{max-width:155px;font-size:10px}.shell.home-view>header .header-right{align-items:flex-start}.home-view>header .location{max-width:calc(100% - 163px)}.shell:not(.home-view)>header .header-right{align-items:flex-start;justify-content:space-between}.shell:not(.home-view)>header .avatar{display:none}.home-view .time-controls{gap:5px}.home-view .clock-stack>.utc{font-size:17px}.table-wrap td.mono{max-width:285px}}
