/* Shared SMC reading scale. Typography stays in CSS pixels at every zoom level. */
:root { font-size:15px; }
body { font-size:15px; line-height:1.6; }
button,input,select,textarea { font-size:14px; }
button { min-height:40px; }
label { font-size:13px; }
.section-heading h2 { font-size:21px; line-height:1.35; }
.section-heading .eyebrow,.eyebrow { font-size:11px; }
.subtle,.coverage-note { font-size:13px; line-height:1.7; }
.pill { font-size:11px; padding:6px 9px; }
.page-heading { padding:24px; }
.page-heading h1 { font-size:38px; }
.page-heading p { font-size:15px; }
.heading-actions { flex-wrap:wrap; justify-content:flex-end; }
.heading-actions button { font-size:14px; }
.test-banner { font-size:13px; line-height:1.6; }
.test-banner strong { font-size:11px; }
.metric { min-height:125px; }
.metric>div:first-child { font-size:11px; }
.metric strong { font-size:40px; }
.metric small { font-size:12px; line-height:1.6; }
.connection-strip strong,.connection-strip .quiet,.heartbeat-tools { font-size:13px; }
.portal-nav a { font-size:14px; min-height:42px; }
.topbar-status { font-size:10px; gap:18px; }
.topbar-status strong { font-size:11px; }
.security-ticker { font-size:11px; padding-block:10px; }
.ticker-end { font-size:10px; }
.platform-foundation { display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; padding:14px 20px; background:#0a2131; border-inline:1px solid #245268; border-bottom:1px solid #245268; }
.platform-foundation strong { color:#b3eaf5; font-size:15px; white-space:nowrap; }
.platform-foundation strong i { color:#5fdbe8; margin-right:7px; }
.platform-foundation strong:first-child i { color:#f79c63; }
.platform-foundation>span { font-size:11px; color:#91abc1; }
.platform-foundation .platform-description { flex:1; font-size:13px; }
.platform-foundation em { font-size:10px; color:#e4bc80; font-style:normal; border:1px solid #5f4c30; border-radius:4px; padding:4px 7px; }
.access-panel td,.class-panel td,table td { font-size:14px; line-height:1.7; }
.access-panel th,.class-panel th,table th { font-size:11px; }
.my-scope,.my-scope>span:first-of-type { font-size:12px; }
.class-sources>a { font-size:13px; }
.class-sources small { font-size:11px; }
.readiness-tag { font-size:11px; min-width:145px; }
.fleet-panel .vessel-meta,.fleet-panel .vessel-card .vessel-indicator small,.fleet-panel .vessel-card .vessel-indicator strong { font-size:11px; }
.view-controls button,.view-controls select,.file-link { font-size:13px; }
.detail-button,.severity { font-size:12px; }
.events-panel .event-tools select,.events-panel .event-tools button { font-size:13px; }
.session-item,.device-card { font-size:13px; }
.device-card code { font-size:11px; }
.gnss-panel label,.gnss-panel button,.gnss-panel select { font-size:13px; }
.gnss-panel p,.gnss-panel .subtle,.gnss-panel .coverage-note { font-size:13px; line-height:1.7; }
.gnss-panel small,.gnss-panel dt { font-size:11px; }
.steering-simulator>summary,.steering-sim-banner,.steering-sim-banner strong,.steering-sim-toolbar label,.steering-command-tools label,.steering-sim-toolbar button,.steering-command-tools button,.steering-limits label,.steering-limits summary { font-size:13px; }
.steering-readouts small,.steering-limits p,#steering-feedback { font-size:12px; }
.topology-toolbar label { font-size:12px; }
.topology-toolbar input,.topology-toolbar select,.topology-toolbar button { font-size:13px; }
.topology-overview-status { padding:8px 18px; color:#a6c6da; background:#0b1b2b; border-bottom:1px solid #294057; font-size:12px; }
.topology-panel:not(.overview-view) .topology-overview-status { display:none; }
.overview-view .topology-jump,.overview-view .topology-map-overlay { display:none; }
.overview-view .topo-group>rect { fill:#101e30; stroke:#35536c; }
.overview-view .topo-group>text { font-family:Inter,"Segoe UI",sans-serif; letter-spacing:.35px; font-size:12px; font-weight:650; fill:#9acde1; }
.overview-view .concept-group>rect { fill:#241e1a; stroke:#82613a; }
.overview-view .concept-group>text { fill:#e3c08c; letter-spacing:0; }
.overview-view .topo-node>rect { fill:#101f32; stroke:#608aa4; stroke-dasharray:4 3; }
.overview-view .topo-name { font-size:inherit; font-family:"Rajdhani","Segoe UI",sans-serif; font-weight:700; }
.overview-view .topo-kind { font-size:.65em; letter-spacing:.4px; }
.overview-view .edge-line { stroke-width:2; opacity:.8; stroke-dasharray:none; }
.overview-view .topo-edge.physical .edge-line { stroke-dasharray:5 4; }
.overview-view .topo-edge.vpn .edge-line { stroke-dasharray:2 6; }
.overview-view .topo-edge.steering .edge-line { stroke-dasharray:6 4; }
.topo-edge.related .edge-line,.topo-edge.selected .edge-line { stroke-width:3.5; opacity:1; }
.topo-edge.unrelated .edge-line { opacity:.13; }
.topo-node.related>rect { stroke:#64ddf5; stroke-width:2; }
.topology-stage.inspector-open { display:grid; grid-template-columns:minmax(0,1fr) 340px; }
.topology-stage.inspector-open #topology-map-area { min-width:0; }
.overview-view .topology-inspector { position:static; width:340px; max-width:none; height:100%; min-height:0; }
.overview-view .topology-detail { height:calc(100% - 50px); }
.topology-heading-tools .pill { font-size:10px; }
.map-expanded>.section-heading { padding:12px 18px; }
.map-expanded>.section-heading h2 { font-size:20px; }
.map-expanded .topology-toolbar { flex-wrap:nowrap; align-items:end; }
.map-expanded .topology-toolbar label { flex:0 0 160px; min-width:0; }
.map-expanded .topology-toolbar .topology-search { flex:1; min-width:160px!important; max-width:360px; }
.map-expanded .topology-toolbar label:nth-of-type(n+3),.map-expanded .topology-toolbar #topology-add-device,.map-expanded .topology-toolbar #topology-add-connection { display:none; }
.map-expanded.map-options-open .topology-toolbar { flex-wrap:wrap; }
.map-expanded.map-options-open .topology-toolbar label:nth-of-type(n+3) { display:flex; }
.map-expanded.map-options-open .topology-toolbar #topology-add-device,.map-expanded.map-options-open .topology-toolbar #topology-add-connection { display:inline-block; }
.map-expanded .topology-toolbar select { width:100%; min-width:0; }
.map-expanded #topology-options { margin-left:auto; white-space:nowrap; }
.map-expanded .topology-actions label { font-size:12px; }
.map-expanded .topology-actions { padding-block:9px; gap:8px; }
.map-expanded .topology-actions fieldset { gap:12px; }
.map-expanded .topology-view-tools button { font-size:12px; }
.map-expanded .topology-overview-status { flex:none; padding-block:6px; }
.topology-map-caption { font-size:12px; line-height:1.6; }
.topology-map-caption>span:first-child { color:#b4d6e6; }
@media(max-width:1450px) {
  .topbar-main { display:grid; grid-template-columns:1fr auto; gap:10px 20px; padding:12px 20px 8px; }
  .portal-brand { min-width:0; }
  .portal-brand strong { font-size:24px; }
  .portal-brand img { width:62px; height:62px; }
  .portal-user { justify-self:end; }
  .portal-nav { grid-column:1/-1; grid-row:2; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); width:100%; gap:5px; }
  .portal-nav a { justify-content:center; padding:8px 5px; font-size:13px; }
  .topbar-status { padding:10px 20px; }
  html { scroll-padding-top:195px; }
}
@media(max-width:800px) {
  .portal-nav { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .portal-brand strong { font-size:21px; }
  .portal-brand small { font-size:12px; }
  .portal-nav a { font-size:12px; }
  .topbar-main { padding-inline:14px; }
  .page-heading { flex-wrap:wrap; padding:20px; gap:15px; }
  .heading-actions { justify-content:start; }
  .page-heading h1 { font-size:33px; }
  .platform-foundation { padding:12px 16px; }
  .platform-foundation .platform-description { flex-basis:100%; }
  .map-expanded .topology-heading-tools .pill { display:none; }
  .map-expanded .topology-toolbar label { flex-basis:135px; }
  .topology-stage.inspector-open { grid-template-columns:minmax(0,1fr) 280px; }
  .overview-view .topology-inspector { width:280px; }
}
@media(max-width:520px) {
  html { scroll-padding-top:270px; }
  .portal-brand strong { font-size:19px; }
  .portal-user #identity { display:none; }
  .portal-nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 8px; }
  .portal-nav a { min-width:0; min-height:44px; padding:9px; justify-content:start; white-space:normal; text-align:left; font-size:12px; line-height:1.35; }
  .portal-nav i { flex:none; }
  .topology-stage.inspector-open { display:block; }
  .overview-view .topology-inspector { position:absolute; inset:auto 0 0; width:100%; height:48%; }
  .map-expanded .topology-toolbar .topology-search { max-width:none; }
  .map-expanded .topology-actions { flex-wrap:wrap; }
  .map-expanded .topology-view-tools { flex-wrap:wrap; }
}
.map-platform-badge { font-size:12px; color:#8cdeed; padding:5px 9px; border:1px solid #2c596d; border-radius:5px; }
.topo-link-button { width:100%; text-align:left; display:flex; flex-direction:column; gap:5px; margin-top:8px; padding:10px; white-space:normal; }
.topo-link-button strong { font-size:13px; line-height:1.6; color:#d0e8f5; }
.topo-link-button span { font-size:12px; line-height:1.6; color:#94b4ca; }
@media(max-width:750px) { .map-platform-badge { display:none; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
.topology-panel:not(.map-expanded) #topology-options { display:none; }
/* Read-only SMC live GPS, separate from the RF-free TEST bench. */
.smc-live-gps { margin:0 18px 20px; border:1px solid #2d6574; border-radius:10px; background:#0b1d2c; overflow:hidden; }
.smc-live-heading { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:17px; border-bottom:1px solid #2d5267; flex-wrap:wrap; }
.smc-live-heading h3 { font-size:21px; color:#a4e8f2; margin:0; }
.smc-live-heading p { margin:5px 0 0; color:#94b7cb; }
.smc-live-heading button { font-size:13px; }
#smc-live-status { display:block; font-size:13px; color:#8adbcf; }
#smc-live-update { font-size:12px; color:#9cb8cb; margin:12px 17px; }
#smc-live-error { margin:10px 17px; padding:10px; border:1px solid #72552e; background:#332619; color:#efc38c; font-size:13px; }
.smc-live-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; padding:0 16px 16px; }
.smc-gps-card { min-width:0; background:#101e31; border:1px solid #375c74; border-radius:8px; overflow:hidden; }
.smc-gps-card>header { display:flex; align-items:start; justify-content:space-between; gap:10px; flex-wrap:wrap; padding:16px; }
.smc-gps-card small { font-family:"JetBrains Mono",monospace; font-size:10px; color:#7ec5d6; }
.smc-gps-card h3 { font-size:21px; margin:6px 0 0; color:#d4f0f8; }
.smc-gps-state { font-size:11px; padding:4px 7px; color:#9fb6cc; background:#17293b; border:1px solid #496075; border-radius:4px; }
.smc-gps-state.fresh { color:#9de1d4; border-color:#3d7d72; }
.smc-gps-state.late,.smc-gps-state.stale,.smc-gps-state.no_fix,.smc-gps-state.clock_anomaly,.smc-gps-state.source_conflict { color:#efc38c; border-color:#816334; }
.smc-gps-position { padding:12px 16px; background:#0a2939; border-block:1px solid #2b536b; }
.smc-gps-position span { display:block; font-size:11px; color:#99bdd0; }
.smc-gps-position strong { font-family:"Rajdhani",sans-serif; font-size:24px; color:#b7edfa; display:block; margin-top:5px; overflow-wrap:anywhere; }
.smc-gps-card dl { display:grid; grid-template-columns:1fr 1fr; padding:13px 16px; gap:13px; margin:0; }
.smc-gps-card dt { font-size:11px; color:#90abc1; }
.smc-gps-card dd { font-size:15px; color:#d5e8f7; margin:4px 0 0; }
.smc-gps-card footer { margin:0 16px; padding:12px 0; display:flex; flex-direction:column; font-size:12px; color:#a1bcd0; gap:5px; }
.smc-gps-card footer strong { font-size:10px; color:#84b4c9; }
.smc-gps-card .smc-gps-capability { font-size:11px; padding:0 16px 12px; color:#a3b7ca; line-height:1.8; }
.smc-gps-conflict { color:#edbd8a; padding:0 16px 12px; }
.smc-live-limit { margin:0; padding:12px 17px; border-top:1px solid #365466; font-size:12px!important; color:#b6c9d8; }
@media(max-width:1050px) { .smc-live-cards { grid-template-columns:1fr; }.smc-gps-card dl { grid-template-columns:repeat(3,minmax(0,1fr)); }.smc-gps-card>header { align-items:center; } }
@media(max-width:520px) { .smc-live-gps { margin-inline:12px; }.smc-gps-card dl { grid-template-columns:1fr 1fr; }.smc-gps-position strong { font-size:23px; } }
.smc-live-cards>.smc-gps-card:only-child { grid-column:1/-1; }
@media(min-width:700px) { .smc-gps-card:only-child dl { grid-template-columns:repeat(3,minmax(0,1fr)); } }
/* Class preparation: evidence and gaps remain distinct from acceptance. */
.class-review-overview { padding:22px; border-block:1px solid #315069; background:#0b2131; }
.class-review-overview h3 { font-size:25px; color:#bce8f6; margin:8px 0 12px; line-height:1.35; }
.class-review-overview p { font-size:14px; line-height:1.75; margin:9px 0; }
.class-review-overview small { display:block; color:#91aec3; font-size:12px; margin-top:14px; }
.class-scope,.class-next { padding:20px 22px; border-bottom:1px solid #2b3f55; }
.class-scope>h3,.class-next>h3 { font-size:20px; color:#c4dfea; margin:0 0 10px; }
.class-vessel-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:15px; }
.class-vessel { min-width:0; padding:16px; border:1px solid #395268; border-radius:8px; background:#101f30; }
.class-vessel header small { font-size:10px; color:#e3bd85; }
.class-vessel h4 { font-size:22px; color:#d1edf6; margin:7px 0 15px; }
.class-vessel dl { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:0; }
.class-vessel dt { font-size:12px; color:#90abc0; line-height:1.5; }
.class-vessel dd { font-size:14px; color:#d4be9e; margin:5px 0 0; overflow-wrap:anywhere; }
.class-vessel p { font-size:12px; color:#9bb1c4; margin:17px 0 0; line-height:1.75; }
.class-vessel:only-child { grid-column:1/-1; }
.class-next ol { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px 30px; margin:17px 0 4px; padding-left:22px; }
.class-next li { padding-left:3px; color:#9fd8e8; font-size:15px; }
.class-next li strong { color:#c9e3ee; font-size:15px; }
.class-next li p { font-size:13px; color:#a9bed0; margin:9px 0; line-height:1.7; }
.class-next li small { color:#8fabc1; font-size:12px; line-height:1.7; }
.class-panel td p { margin:7px 0 10px; }
.class-evidence-type { color:#8ed1e3; font-size:12px; }
.class-panel td details { padding-top:8px; border-top:1px solid #273e53; }
.class-panel td summary { cursor:pointer; color:#e4c18a; font-size:13px; }
.class-panel td details p { font-size:13px; line-height:1.75; }
.class-panel td details small { color:#99b6cb; font-size:12px; }
.class-panel td .readiness-tag { white-space:normal; font-size:11px; min-width:120px; max-width:175px; line-height:1.65; }
@media(max-width:800px) { .class-vessel-grid,.class-next ol { grid-template-columns:1fr; }.class-review-overview h3 { font-size:22px; }.class-scope,.class-next,.class-review-overview { padding:18px; } }
/* Vessel document requests and reference-only local intake. */
.class-preparation { padding:22px; border-block:1px solid #34546a; background:#0b1b2b; }
.class-preparation>header { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px; }
.class-preparation h3 { font-size:22px; margin:8px 0; color:#b4e3ef; }
.class-preparation>header p,.class-prep-note { color:#a5bdd0; font-size:13px; line-height:1.75; }
.class-preparation>header label { min-width:190px; display:flex; flex-direction:column; gap:7px; color:#b7cbdd; }
.class-prep-tools { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:15px 0; }
.class-prep-tools a { display:inline-flex; align-items:center; min-height:40px; border:1px solid #3b647b; border-radius:5px; padding:7px 12px; color:#a9dded; font-size:13px; text-decoration:none; }
.class-prep-tools a:not([href]) { opacity:.45; pointer-events:none; }
#class-prep-counts { font-size:12px; color:#92c1d3; flex-basis:100%; }
#class-prep-feedback { color:#edc28c; font-size:13px; line-height:1.75; }
.class-prep-requests { max-height:650px; overflow:auto; border:1px solid #2c485d; border-radius:7px; }
.class-request { border-bottom:1px solid #2c485d; }
.class-request:last-child { border-bottom:0; }
.class-request>summary { display:flex; align-items:center; flex-wrap:wrap; gap:9px 16px; padding:15px; cursor:pointer; background:#112234; }
.class-request>summary::before { content:'▸'; color:#7dcce3; }
.class-request[open]>summary::before { content:'▾'; }
.class-request summary strong { font-size:14px; color:#c9e4ef; flex:1; min-width:180px; }
.class-request summary span { font-size:11px; color:#93b2c8; }
.class-request summary em { font-size:11px; font-style:normal; color:#dfbf93; }
.class-request-body { padding:16px; }
.class-request-body dl { margin:0 0 18px; }
.class-request-body dt { font-size:12px; color:#81bfd5; margin-top:12px; }
.class-request-body dd { font-size:14px; color:#bdcfdf; margin:5px 0; line-height:1.75; }
.class-request form { display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; border-top:1px solid #32495e; padding-top:16px; }
.class-request label { display:flex; flex-direction:column; gap:7px; color:#a7bdd1; font-size:12px; min-width:0; }
.class-request input,.class-request select,.class-request textarea { width:100%; min-width:0; font-size:13px; }
.class-request .wide { grid-column:1/-1; }
.class-request form>span { grid-column:span 2; font-size:12px; color:#90acc2; align-self:center; line-height:1.75; }
.class-prep-history { padding-top:17px; color:#9fbfd3; font-size:13px; }
.class-prep-history summary { cursor:pointer; color:#b6dce9; }
.class-prep-history article { padding:12px 0; border-bottom:1px solid #2c465b; }
.class-prep-history p,.class-prep-history small { font-size:12px; line-height:1.75; overflow-wrap:anywhere; }
@media(max-width:650px) { .class-preparation { padding:16px; }.class-request form { grid-template-columns:1fr; }.class-request form>span { grid-column:auto; }.class-request summary strong { min-width:150px; flex-basis:100%; }.class-preparation>header label { width:100%; } }
.class-heading-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.class-heading-actions>a { color:#a1dce9; text-decoration:none; font-size:13px; padding:9px 12px; border:1px solid #3a6075; border-radius:5px; }
