:root {
  --paper: #f0f3f7;
  --panel: #fff;
  --line: #dce3ec;
  --text: #142337;
  --muted: #526479;
  --nav: #101c2c;
  --nav-text: #c9d5e3;
  --focus: #2763ad;
  --accent: #f7bc56;
  --accent-ink: #2e210b;
  --error: #972f32;
  --sidebar-width: 14.25rem;
  --toolbar-height: 4rem;
  --space: clamp(1.25rem, 3.2vw, 3.25rem);
  color: var(--text);
  background: var(--paper);
  font: 100%/1.5 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: #23568f; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
:target { scroll-margin-top: calc(var(--toolbar-height) + 1rem); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 10; padding: .65rem 1rem; background: var(--panel); border-radius: .5rem; transform: translateY(-150%); }
.skip:focus { transform: none; }

.workspace {
  display: grid;
  grid-template: auto 1fr / var(--sidebar-width) minmax(0, 1fr);
  grid-template-areas: "sidebar toolbar" "sidebar main";
}
.toolbar {
  grid-area: toolbar;
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  min-height: var(--toolbar-height);
  padding: .45rem var(--space);
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.toolbar-label { color: var(--muted); font-size: .875rem; font-weight: 650; }
.account-link { margin-left: auto; min-width: 0; max-width: 100%; display: flex; gap: .55rem; align-items: center; padding: .25rem .375rem; border-radius: .5rem; color: var(--text); text-decoration: none; }
.account-link:hover, .account-link[aria-current] { background: #edf2f8; }
.avatar { display: grid; place-items: center; flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: .55rem; background: #e3edf9; color: #254f7d; font-size: .76rem; font-weight: 750; }
.account-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .875rem; font-weight: 700; }
.account-chevron { color: var(--muted); font-size: 1.25rem; line-height: 1; }
.mobile-brand, .menu-toggle { display: none; }

.sidebar {
  grid-area: sidebar;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 0 .875rem;
  background: var(--nav);
  color: var(--nav-text);
}
.sidebar-brand { min-height: var(--toolbar-height); display: flex; align-items: center; padding-inline: .5rem; border-bottom: 1px solid #2b3748; }
.brand { display: inline-flex; align-items: center; gap: .65rem; white-space: nowrap; color: #f6f8fc; font-size: 1.125rem; font-weight: 750; letter-spacing: -.015em; text-decoration: none; }
.brand b { color: var(--accent); }
.brand-mark { width: 2.05rem; height: 2.05rem; display: inline-flex; flex: 0 0 auto; justify-content: center; align-items: center; gap: 2px; border-radius: .5rem; background: var(--accent); color: var(--nav); }
.brand-mark i { display: block; width: 2px; height: 6px; border-radius: 2px; background: currentColor; }
.brand-mark i:nth-child(even) { height: 11px; }
.brand-mark i:nth-child(3) { height: 18px; }
.side-nav { --nav-section-space: 1rem; display: grid; align-content: start; gap: .15rem; padding: 1.25rem 0; }
.side-nav > .nav-group:not(.nav-tips) { margin-block-start: var(--nav-section-space); }
.nav-group { display: grid; align-content: start; gap: .15rem; }
.nav-group p { margin: 0 0 .25rem; padding-inline: .625rem; color: #a4b5c9; font-size: .68rem; font-weight: 750; letter-spacing: .095em; text-transform: uppercase; }
.nav-link { display: flex; align-items: center; gap: .7rem; min-height: 2.5rem; padding: .4rem .625rem; border-radius: .5rem; color: var(--nav-text); font-size: .875rem; font-weight: 600; text-decoration: none; }
.nav-icon { display: grid; place-items: center; width: 1.15rem; flex: 0 0 auto; color: #a4b5c9; font: 700 1.1rem/1 system-ui, sans-serif; }
.nav-link:hover { color: #fff; background: #21334b; }
.nav-link[aria-current] { color: #ffdb9b; background: #26364a; box-shadow: inset 3px 0 var(--accent); }
.nav-link[aria-current] .nav-icon { color: var(--accent); }
.nav-subgroup { display: grid; gap: .1rem; margin: .15rem 0 .3rem 1.15rem; padding: 0 0 0 .5rem; border-left: 1px solid #3a4a5e; list-style: none; }
.nav-subgroup .nav-link { min-height: 2.15rem; font-size: .8125rem; }
.sidebar :focus-visible, .station-banner :focus-visible, .auth-brand :focus-visible { outline-color: var(--accent); }
.nav-admin { border-top: 1px solid #2b3748; padding-top: .85rem; }
.sidebar-footer { display: flex; justify-content: space-between; gap: .5rem; margin-top: auto; padding: .8rem .625rem 1rem; border-top: 1px solid #2b3748; color: #a4b5c9; font-size: .75rem; }

.workspace-main { grid-area: main; width: 100%; max-width: 98rem; min-width: 0; margin-inline: auto; padding: clamp(1.4rem, 3.2vw, 2.65rem) var(--space) 3rem; }
.workspace-main:focus, .auth-main:focus { outline: none; }
h1, h2, h3 { margin: 0 0 .55rem; line-height: 1.16; letter-spacing: -.025em; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.85rem, 3.4vw, 2.45rem); }
h2 { font-size: 1.18rem; }
h3 { font-size: 1.025rem; }
p { margin: 0 0 .8rem; overflow-wrap: anywhere; }
p:last-child { margin-bottom: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: .65rem 1rem; margin-bottom: 1.2rem; }
.page-head h1, .page-head h2 { margin: 0; }
.page-head p { margin: .3rem 0 0; color: var(--muted); }
.back-link { display: inline-flex; margin-bottom: .55rem; font-size: .875rem; font-weight: 650; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 2.65rem;
  padding: .55rem .9rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.button:hover { background: #ffd082; }
.button.secondary { border-color: #c8d4e1; background: #fff; color: #244768; }
.button.secondary:hover, .button.quiet:hover { background: #eaf1f9; }
.button.quiet { background: transparent; color: #23568f; }
.button.danger { border-color: #efc7c7; background: #fff3f3; color: var(--error); }
.button.danger:hover { background: #ffe4e4; }
.button.compact { min-height: 2.125rem; padding: .3rem .6rem; font-size: .8125rem; }
.button span[aria-hidden] { font-size: 1.15rem; line-height: 1; }
.panel { min-width: 0; padding: 1.15rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--panel); box-shadow: 0 1px 2px #14233707; }
.grid, .fields { display: grid; gap: 1rem; }
.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1rem; }
.fields, .reference { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wide { grid-column: 1 / -1; }
.meta, small, dt, time { color: var(--muted); }
small, dt { font-size: .8125rem; }
.stack { display: grid; gap: .9rem; max-width: 52rem; }
.tips { margin-top: 1rem; }
.radio-notes, dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.story > h2 { margin-top: .35rem; }
.markdown { overflow-wrap: anywhere; }
.markdown > :last-child { margin-bottom: 0; }
.markdown :is(ul, ol) { margin: .45em 0 .75em; padding-inline-start: 1.5em; }
.markdown li > :is(ul, ol) { margin-block: .2em; }
.markdown :is(h1, h2, h3, h4, h5, h6) { margin: .85em 0 .35em; font-size: 1.05em; line-height: 1.3; }
.markdown blockquote { margin: .75em 0; padding-inline-start: .75em; border-inline-start: 3px solid #b7c6d8; color: var(--muted); }
.markdown pre { margin: .75em 0; padding: .65em; border-radius: .4rem; background: #edf2f8; white-space: pre-wrap; }
.markdown pre code { overflow-wrap: anywhere; }
.markdown table { min-width: 0; margin: .75em 0; }
.markdown hr { border: 0; border-top: 1px solid var(--line); }
.markdown-help { display: block; margin-top: .25rem; }

.station-banner { position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden; min-height: 12rem; padding: clamp(1.4rem, 4vw, 2.3rem); border: 1px solid #283f57; border-radius: .85rem; background: linear-gradient(115deg, #14243a 35%, #1b334b); color: #fff; }
.station-intro { position: relative; z-index: 1; }
.station-intro h1 { margin-bottom: .65rem; }
.station-intro p { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; color: #d1dce9; font-size: .875rem; }
.station-intro p a { color: #ffdb9b; }
.station-intro .station-call { padding: .2rem .5rem; border: 1px solid #5c6573; border-radius: .35rem; color: #ffdb9b; font: 700 .875rem/1.25 ui-monospace, monospace; text-decoration: none; }
.station-call:hover { background: #32465c; }
.station-intro .button.secondary { background: #20344b; border-color: #526880; color: #eef3f9; }
.station-intro .button.secondary:hover { background: #344c65; }
.station-spectrum { position: absolute; inset: 12% 0 10% 44%; display: flex; align-items: end; justify-content: center; gap: clamp(2px, .45vw, 8px); padding-inline: 7%; overflow: hidden; background-image: linear-gradient(#7e9fb826 1px, transparent 1px), linear-gradient(90deg, #7e9fb826 1px, transparent 1px); background-size: 1.75rem 1.75rem; mask-image: linear-gradient(90deg, transparent, #000 25%, #000 85%, transparent); }
.station-spectrum i { flex: 1; max-width: 8px; height: var(--bar-height); border-radius: 3px 3px 0 0; background: linear-gradient(#ffc864a8, #f4bb5540); }
.dashboard-section { margin-block: 1.6rem 1.35rem; }
.dashboard-section h2 { margin-bottom: .75rem; }
.summary-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; }
.summary-tile { position: relative; display: grid; justify-items: start; gap: .2rem; padding: .9rem 1rem; color: inherit; text-decoration: none; }
.summary-tile:hover { border-color: #acbed5; background: #fcfdff; }
.summary-icon, .empty-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .5rem; background: #eaf0f8; color: #345774; font-size: 1.125rem; font-weight: 700; }
.summary-count { margin-top: .25rem; font-size: 1.65rem; font-weight: 750; line-height: 1.2; font-variant-numeric: tabular-nums; }
.summary-label { color: var(--muted); font-size: .85rem; font-weight: 650; overflow-wrap: anywhere; }
.summary-arrow { position: absolute; right: .85rem; top: .7rem; color: #5f7287; font-size: 1.35rem; line-height: 1; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(15rem, 1fr); gap: 1rem; align-items: start; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .45rem .8rem; }
.section-head h2 { margin: 0; }
.section-head a { font-size: .85rem; font-weight: 650; text-decoration: none; }
.section-head a:hover { text-decoration: underline; }
.recent-panel, .shortcuts-panel { padding: 0; }
.recent-panel .section-head, .shortcuts-panel h2 { padding: 1rem 1.1rem; margin: 0; border-bottom: 1px solid var(--line); }
.recent-table { min-width: 24rem; }
.shortcuts-list { list-style: none; margin: 0; padding: .25rem .6rem; }
.shortcuts-list li + li { border-top: 1px solid var(--line); }
.shortcuts-list a { display: flex; justify-content: space-between; align-items: center; gap: .55rem; padding: .6rem .45rem; border-radius: .4rem; color: var(--text); font-size: .875rem; text-decoration: none; }
.shortcuts-list a:hover { background: #edf2f8; }
.shortcuts-list a small { display: block; font-size: .77rem; }

.listing-panel { padding: 0; }
.listing-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.filter-form { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
.filter-form input { width: min(17rem, 100%); flex: 1 1 10rem; }
.listing-count { color: var(--muted); font-size: .85rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.empty-state { display: grid; justify-items: center; gap: .55rem; padding: 2rem 1rem; text-align: center; }
.empty-state p { margin: 0; color: var(--muted); }
.table-scroll { max-width: 100%; overflow-x: auto; }
table { width: 100%; min-width: 32rem; border-collapse: collapse; text-align: left; font-size: .875rem; }
thead th { background: #f7f9fc; color: #445870; font-size: .78rem; font-weight: 750; }
td, th { padding: .62rem .85rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:nth-child(even) { background: #fafbfd; }
tbody tr:hover { background: #f1f5fa; }
.record-table { min-width: 0; }
.record-table > :is(thead, tbody) > tr > :is(td, th) { padding-block: .65rem; }
.record-table > tbody > tr > th { color: var(--text); font-weight: 750; }
.record-actions { text-align: right; }
.row-actions { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: .25rem; }
.row-actions .button { white-space: nowrap; }
.mobile-field { display: none; }
.q-code-controls .meta { flex-basis: 100%; margin: 0; font-size: .85rem; }
.q-code-filters { flex: 1 1 32rem; align-items: flex-end; }
.q-code-filters > :first-child { flex: 1 1 13rem; min-width: 0; max-width: 24rem; }
.q-code-filters input { width: 100%; }
.q-code-sources { flex-basis: 100%; color: var(--muted); font-size: .85rem; }
.q-code-sources summary { width: fit-content; cursor: pointer; }
.q-code-sources ul { margin: .4rem 0 0; padding-inline-start: 1.25rem; }
.q-code-table { table-layout: fixed; }
.q-code-table thead th:first-child { width: 4.6rem; white-space: nowrap; }
.q-code-table thead th:nth-child(2) { width: 21%; }
.q-code-table thead th:nth-child(3) { width: 23%; }
.q-code-table thead th:last-child { width: 19%; }
.q-code-table :is(th, td) { vertical-align: top; }
.q-code-table td small { display: block; margin-top: .15rem; }
.q-code-table code { white-space: nowrap; }
.status-pill { display: inline-block; padding: .15rem .45rem; border-radius: .35rem; background: #e6f3ef; color: #28664f; font-size: .78rem; font-weight: 700; }
.status-pill.pending { background: #fff0d5; color: #765012; }
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; font-size: .875rem; }
.listing-panel .pagination { margin: 0; padding: .7rem 1rem; border-top: 1px solid var(--line); }

.form-panel { max-width: 55rem; }
.narrow { max-width: 30rem; display: flex; flex-direction: column; gap: .5rem; }
label { display: block; margin-bottom: .25rem; font-size: .875rem; font-weight: 650; }
input, select, textarea { width: 100%; min-width: 0; min-height: 2.55rem; padding: .48rem .65rem; border: 1px solid #b7c6d8; border-radius: .5rem; background: #fff; color: var(--text); font: inherit; }
input::placeholder { color: #607184; }
input[type="checkbox"] { width: 1rem; min-height: 0; height: 1rem; accent-color: #2b5d98; }
select { appearance: auto; }
textarea { resize: vertical; }
form .form-footer { border-top: 1px solid var(--line); padding-top: .85rem; }
.notice { margin-block: 0 1rem; padding: .6rem .85rem; border: 1px solid #bad8cf; border-left: 4px solid #438473; border-radius: .45rem; background: #eef8f4; }
.notice.error { border-color: #efc7c7; border-left-color: #b34949; background: #fff1f1; }
.field-error { color: var(--error); }
[aria-invalid=true] { border-color: #b34949; }
.search { margin-block: .8rem; }
.search div { display: flex; align-items: end; gap: .5rem; max-width: 34rem; }
.search-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.results-panel { margin-top: 1rem; }
.reference-list { margin-bottom: 1rem; }
.reference-list div { display: flex; align-items: baseline; gap: .65rem; padding-block: .35rem; border-bottom: 1px solid var(--line); }
.reference-list dt { min-width: 2rem; color: #23568f; font: .875rem ui-monospace, monospace; }
.phonetic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .75rem; }
.phonetic dt { min-width: 1ch; }
.settings-grid { max-width: 58rem; }
.settings-grid .panel { max-width: initial; }
.settings-grid .wide select { max-width: 24rem; }
.equipment-options { min-width: 0; margin: 0; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: .5rem; }
.equipment-options legend { padding-inline: .35rem; font-weight: 650; }
.equipment-options label { display: flex; align-items: center; gap: .5rem; cursor: pointer; }
.channel-csv { font-family: ui-monospace, monospace; }
.mfa-qr { width: 205px; max-width: 100%; height: auto; }
.document-list { display: grid; gap: .65rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.document-list li { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding-block: .65rem; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.document-list small { display: block; }
.document-list .actions { margin: 0; }
.document-share-link { overflow-wrap: anywhere; }
.document-preview { flex-basis: 100%; min-width: 0; }
.document-preview summary { color: #23568f; cursor: pointer; font-weight: 650; }
.document-viewer { margin-top: .5rem; }
.document-viewer:empty { display: none; }
.document-viewer :is(iframe, img) { display: block; width: 100%; border: 1px solid var(--line); border-radius: .5rem; background: var(--paper); }
.document-viewer iframe { height: clamp(22rem, 70vh, 48rem); }
.document-viewer img { width: auto; max-width: 100%; max-height: 75vh; margin-inline: auto; object-fit: contain; }
.document-preview-link { display: inline-block; margin-top: .5rem; font-size: .875rem; }
.document-upload { max-width: none; }
.document-upload input[type="file"] { max-width: 30rem; }
.upload-preview { margin: .25rem 0; }
.upload-preview figcaption { font-size: .875rem; font-weight: 650; }
.inspection-print-card { max-width: 40rem; text-align: center; }
.inspection-print-card img { display: block; margin: .65rem auto; }
.inspection-print-card a { overflow-wrap: anywhere; }
.radio-channel-table { min-width: 29rem; }
dl { margin: .45rem 0 0; }
dd { margin: 0 0 .45rem; }
.record-dialog { width: min(47rem, calc(100% - 1.25rem)); max-height: calc(100dvh - 1.25rem); padding: 1.2rem; border: 1px solid var(--line); border-radius: .85rem; background: var(--panel); color: var(--text); text-align: left; }
.record-dialog::backdrop { background: #091426a6; }
.dialog-header { display: flex; justify-content: space-between; align-items: start; gap: .75rem; margin-bottom: 1rem; }
.dialog-header h2 { margin: .2rem 0 0; }
.dialog-actions { border-top: 1px solid var(--line); padding-top: .85rem; }
.tabs { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin-bottom: .9rem; }
.tips-tabs a[aria-current="page"] { background: #eaf1f9; border-color: #acc3dd; color: #1a466f; }
.tip-link { display: flex; align-items: center; justify-content: space-between; gap: .75rem; color: inherit; text-decoration: none; }
.tip-link span { color: #23568f; font-size: 1.45rem; }
.tip-link:hover, .tip-link:target { border-color: #acc3dd; background: #f7faff; }
.tip-channel { white-space: nowrap; }
.radio-tabs button { padding: .45rem .65rem; border: 1px solid var(--line); border-radius: .45rem; background: #fff; color: #244768; font: inherit; font-size: .85rem; cursor: pointer; }
.radio-tabs button[aria-selected=true] { border-color: #acc3dd; background: #eaf1f9; color: #1a466f; font-weight: 700; }
.radio-data, .detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; }

.auth-page { display: grid; place-items: center; padding: 1rem; background: radial-gradient(ellipse at 65% 20%, #24405a, var(--nav) 65%); }
.auth-main { width: min(100%, 30rem); min-width: 0; padding: 1rem 1.35rem 1.35rem; border: 1px solid #c8d4e1; border-radius: .9rem; background: var(--panel); box-shadow: 0 1rem 3rem #09142666; }
.auth-main:has(.inspection-files) { width: min(100%, 60rem); }
.auth-brand { margin: -1rem -1.35rem 1.25rem; padding: .9rem 1.35rem; border-radius: .85rem .85rem 0 0; background: var(--nav); }
.auth-main .page-head { margin-bottom: .9rem; }
.auth-main h1 { font-size: 1.65rem; }
.auth-main .form-panel { padding: 0; border: 0; box-shadow: none; }
.auth-main .actions { margin-top: .65rem; }

@media print {
  body:has(.inspection-print-card) { display: block; min-height: 0; background: #fff; }
  body:has(.inspection-print-card) :is(.toolbar, .sidebar, .skip, .notice, .inspection-print-actions) { display: none; }
  body:has(.inspection-print-card) .workspace-main { padding: 0; }
  .inspection-print-card { margin: 0 auto; border: 0; box-shadow: none; }
  .inspection-print-card a { color: #000; }
}

@media (max-width: 70rem) {
  .dashboard-grid { grid-template-columns: minmax(0, 1.4fr) minmax(14rem, 1fr); }
  .summary-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.5rem), 1fr)); }
  .record-table > :is(thead, tbody) > tr > :is(td, th) { padding-inline: .55rem; }
}
@media (max-width: 56rem) {
  .workspace { grid-template: auto auto 1fr / minmax(0, 1fr); grid-template-areas: "toolbar" "sidebar" "main"; }
  .toolbar { background: var(--nav); border-color: #304154; gap: .45rem; }
  .toolbar-label, .sidebar-brand, .account-chevron { display: none; }
  .mobile-brand { display: block; }
  .sidebar { position: static; height: auto; }
  .js .sidebar {
    position: fixed;
    z-index: 2;
    inset: var(--toolbar-height) 0 auto;
    max-height: calc(100dvh - var(--toolbar-height));
    border-bottom: 1px solid #304154;
    box-shadow: 0 .5rem 1.25rem #101c2c40;
  }
  .js .sidebar:not(.is-open) { display: none; }
  .js .menu-toggle { display: inline-flex; align-items: center; gap: .3rem; min-height: 2.5rem; padding: .35rem .5rem; color: #e6edf7; background: #23354b; border: 1px solid #456079; border-radius: .45rem; font: inherit; font-size: .8rem; cursor: pointer; }
  .toolbar :focus-visible { outline-color: var(--accent); }
  .account-link { color: #f5f7fa; padding-inline: .2rem; }
  .account-link:hover, .account-link[aria-current] { background: #26364a; }
  .side-nav { --nav-section-space: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .75rem; padding-block: .55rem; }
  .side-nav > .nav-link, .nav-tips, .nav-admin { grid-column: 1 / -1; }
  .sidebar-footer { display: none; }
}
@media (max-width: 43rem) {
  .grid, .fields, .dashboard-grid { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
  .summary-tile { grid-column: span 2; padding: .65rem .7rem; }
  .summary-tile:nth-child(-n+2) { grid-column: span 3; }
  .station-spectrum { left: 20%; opacity: .45; }
  .station-banner { background: linear-gradient(90deg, #14243a 28%, #1b334b); }
  .page-head .button { min-height: 2.6rem; }
  .filter-form { flex-basis: 100%; }
  :is(.record-table, .recent-table), :is(.record-table, .recent-table) > tbody { display: block; }
  :is(.record-table, .recent-table) > thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .record-table > tbody > tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; padding: .75rem .85rem; }
  .record-table > tbody > tr + tr { border-top: 1px solid var(--line); }
  .record-table > tbody > tr > :is(th, .record-actions) { grid-column: 1 / -1; }
  .record-table > tbody > tr > :is(td, th) { border: 0; padding: 0; }
  .record-table > tbody > tr > th { font-size: 1rem; }
  .mobile-field { display: block; color: var(--muted); font-size: .72rem; }
  .q-code-table > tbody > tr { grid-template-columns: minmax(0, 1fr); }
  .regional-table > tbody > tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .record-table > tbody > tr > .tip-description { grid-column: 1 / -1; }
  .record-table .tip-frequency .mobile-field { display: inline; margin-left: .25rem; }
  .row-actions { justify-content: flex-start; margin-top: .3rem; }
  .row-actions .button { min-height: 2.5rem; }
  .recent-table { min-width: 0; }
  .recent-table > tbody > tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(4rem, auto) auto; column-gap: .6rem; padding: .55rem .75rem; }
  .recent-table > tbody > tr + tr { border-top: 1px solid var(--line); }
  .recent-table > tbody > tr > * { padding: 0; border: 0; }
  .recent-time { grid-area: 2 / 1; color: var(--muted); font-size: .73rem; }
  .recent-time .mobile-field { display: inline; margin-left: .25rem; }
  .recent-frequency, .recent-mode { grid-row: 1 / 3; align-self: center; }
}
@media (max-width: 26rem) {
  .account-name { display: none; }
  .workspace { --space: .85rem; }
  .brand { gap: .35rem; font-size: 1rem; }
  .brand-mark { width: 1.75rem; height: 1.75rem; }
  .q-code-filters > div { flex-basis: 100%; max-width: 100%; }
}
