/* The Radio mode (radio-ui.js): its fields (the views, the presets, the towers box), the markers on the map, the answer's
   panel (legend, budget table, notes) and the line of sight's "Radio link" panel. Uses the console's tokens (app.css). */
.request-panel .radio-views{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin-bottom:8px}
.request-panel .radio-views .surface-tab{text-align:center;padding:4px 3px;min-width:0}
.radio-knobs{grid-template-columns:minmax(0,1fr);margin-top:8px}
.radio-knobs>.drive-row{justify-content:space-between}
.radio-knobs .terrain-slider{flex:0 1 auto;flex-basis:auto;margin-left:auto}
.radio-knobs .terrain-slider input[type=number]{width:96px}
.radio-knobs .terrain-slider:has(input[type=range]){flex:1 1 160px;flex-basis:100%}
.radio-knobs #radio-clr-frequency{width:170px}
.radio-watts{font:11px var(--mono);color:var(--muted);white-space:nowrap}
.radio-presets .distance-picks{display:flex;flex-wrap:wrap;gap:4px}
.radio-preset{padding:2px 7px;font-size:11px}
.radio-preset[aria-pressed=true],.radio-views .surface-tab[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}
.radio-tower-chip{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:var(--accent);background:var(--accent-soft);border-radius:10px;padding:1px 4px 1px 8px;max-width:100%;overflow:hidden}
.radio-tower-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.radio-chip-clear{font-size:13px;line-height:1;padding:0 4px;color:inherit}
.radio-towers{margin:12px 0 0;padding:8px 10px 6px;border:1px solid var(--line);border-radius:6px;min-width:0}
.radio-towers legend{font-size:12px;font-weight:560;padding:0 4px}
.radio-towers-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-bottom:6px}
.radio-towers .estimate-option{margin:0}
.radio-inline{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--muted)}
.radio-inline input:not([type=checkbox]){width:80px!important;height:28px!important;padding:3px 6px!important;font-size:12px!important}
.radio-tower-id input:not([type=checkbox]){width:140px!important}
.radio-towers-status{font-size:11px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere;min-height:16px}
.radio-towers-status[data-kind=error]{color:#a54631}
.radio-towers-status[data-kind=hint]{color:#8a5a00}
#radio-run{margin-top:12px}
.radio-marker{display:grid!important;place-items:center;color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 8px #15264a38;font:600 10px/1 var(--mono)}
.radio-marker.radio-site{background:#c92a2a}
.radio-marker.radio-end{background:#1f2a24}
.radio-tower-popup{font-size:12px;min-width:200px}
.radio-tower-popup strong{display:block;margin-bottom:4px}
.radio-tower-popup dl{margin:0;display:grid;gap:1px}
.radio-tower-popup dl>div{display:flex;gap:6px}
.radio-tower-popup dt{min-width:96px;color:var(--muted)}
.radio-tower-popup dd{margin:0;overflow-wrap:anywhere}
.radio-popup-actions{display:flex;gap:6px;margin-top:8px}
.radio-legend{flex-direction:column;gap:3px;margin:4px 0 8px;font-size:12px;color:var(--ink)}
.radio-legend i{display:inline-block;width:14px;height:10px;border-radius:2px;margin-right:6px;vertical-align:-1px}
.radio-budget{border-collapse:collapse;width:100%;max-width:420px;margin:4px 0 8px;font-size:12px}
.radio-budget th{text-align:left;font-weight:400;color:#6b7666;padding:2px 8px 2px 0}
.radio-budget td{text-align:right;font:12px var(--mono);color:var(--ink);padding:2px 0;white-space:nowrap}
.radio-budget tr.total th,.radio-budget tr.total td{font-weight:600;border-top:1px solid var(--line)}
.radio-notes{margin:4px 0;padding-left:18px;font-size:11.5px;line-height:1.5;color:var(--muted)}
.radio-profile{margin:4px 0 8px}
.radio-profile svg{width:100%;height:auto}
.radio-los{margin-top:10px;padding-top:8px;border-top:1px solid var(--line)}
.radio-los h4{margin:0 0 6px;font-size:12.5px;font-weight:600}
.radio-los-inputs{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px 10px}
.radio-los-inputs label{display:flex;flex-wrap:wrap;align-items:center;gap:4px;font-size:11.5px;color:var(--muted)}
.radio-los-inputs label>span:first-child{flex-basis:100%}
.radio-los-inputs input{width:84px!important;height:28px!important;padding:3px 6px!important;font-size:12px!important}
.radio-los-model{grid-column:1/-1}
.radio-los-model select{font-size:12px;padding:3px 4px;border:1px solid var(--line-dark);border-radius:4px;background:var(--surface);color:inherit}
.radio-los-out{margin-top:8px}
.radio-los-out .terrain-badge{margin-bottom:4px}
.radio-recipe{font-size:11px;color:var(--muted);margin-top:4px}

/* ==== dark theme: generated by apps/dev-console/dark-theme.mjs from the rules above: do not edit by hand ==== */
:root[data-theme="dark"]{color-scheme:dark}
:root[data-theme="dark"] .radio-towers-status[data-kind=error]{color:#c4644f}
:root[data-theme="dark"] .radio-towers-status[data-kind=hint]{color:#bf7f08}
:root[data-theme="dark"] .radio-marker{border:2px solid #1a1a1a}
:root[data-theme="dark"] .radio-budget th{color:#9b9e9a}
/* ==== end of the generated dark theme ==== */
