/* Shared DEV visual system. Maps retain their viewport and operational overlays. */
:root .console-wide [data-group-capabilities] { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
:root .console-wide [data-group-capabilities] legend { padding: 0 6px; font-weight: 700; }
:root .console-wide [data-group-capabilities] .checkbox-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-height: none; overflow: visible; border: 0; padding: 10px 0; }
:root .console-wide [data-group-capabilities] .checkbox-list label { display: flex; align-items: flex-start; gap: 10px; min-width: 0; width: auto; padding: 12px; margin: 0; }
:root .console-wide [data-group-capabilities] .checkbox-list input { flex: 0 0 18px; width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; }
:root .console-wide [data-group-capabilities] .checkbox-list label > span { flex: 1; width: auto; min-width: 0; max-width: none; white-space: normal; overflow-wrap: anywhere; }
:root .console-wide [data-group-capabilities] .checkbox-list :is(b, small) { display: block; width: auto; max-width: none; font-size: 13px; line-height: 1.5; }
:root .console-wide [data-group-capabilities] .checkbox-list small { color: var(--muted); font-weight: 400; }
@media (max-width: 700px) {
  :root .console-wide [data-group-capabilities] .checkbox-list { grid-template-columns: minmax(0, 1fr); }
}
html:has(.console-wide) { scrollbar-gutter: stable; }
:root .console-wide, .console-auth-wide {
  --text: #142d4d;
  --muted: #58708b;
  --page: #edf3f8;
  --surface: #fff;
  --surface-soft: #f4f8fc;
  --line: #d5e2ee;
  --blue: #086ec8;
  --blue-soft: #e6f2ff;
  --shadow: 0 8px 26px rgb(15 45 75 / 7%);
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}
:root[data-theme="dark"] .console-wide, :root[data-theme="dark"] .console-auth-wide {
  --text: #edf4ff;
  --muted: #b0c3d9;
  --page: #091827;
  --surface: #10243a;
  --surface-soft: #172f49;
  --line: #304a64;
  --blue: #89c9ff;
  --blue-soft: #173d63;
  --shadow: 0 8px 26px rgb(0 8 20 / 18%);
}
body:has(.console-wide) { background: #edf3f8; }
:root[data-theme="dark"] body:has(.console-wide) { background: #091827; }
:root .simple-dashboard.console-wide:not(.map-dashboard) { width: calc(100% - 40px); max-width: none; padding-top: 16px; }
:root .console-wide .pilot-page,
:root .console-wide .pilot-node { max-width: none; width: 100%; }
:root .console-wide .simple-header { min-height: 78px; margin-bottom: 20px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
:root .console-wide .brand-banner { width: 228px; height: 52px; }
:root .console-wide .brand-title h1 { color: var(--text); font-size: clamp(21px, 1.7vw, 29px); font-weight: 750; letter-spacing: -.03em; }
:root .console-wide .brand-title .node-header-sr-title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
:root .console-wide .simple-actions { gap: 8px; }
:root .console-wide .simple-actions > span { color: var(--muted); }
:root .console-wide .simple-actions button,
:root .console-wide .menu-toggle,
:root .console-wide .header-back-button { background: var(--surface-soft); border-color: var(--line); color: var(--text); box-shadow: none; }
:root .console-wide .simple-header button[data-action="refresh"] { background: #086ec8; border-color: #086ec8; color: #fff; }
:root .console-wide .side-menu { background: var(--surface); border-right: 1px solid var(--line); color: var(--text); }
:root .console-wide .side-menu-section > span { color: var(--muted); font-size: 11px; letter-spacing: .09em; }
:root .console-wide .side-menu-nav button { min-height: 40px; color: var(--text); border-radius: 10px; font-weight: 600; }
:root .console-wide .side-menu-nav button.active { color: var(--blue); background: var(--blue-soft); border-color: var(--blue); }
:root .console-wide .side-menu-footer { background: var(--surface-soft); border-top: 1px solid var(--line); }
/* Navigation is an overlay, never a column that squeezes the workspace. */
body:has(.console-wide.navigation-open) { overflow: hidden; }
:root .console-wide .wide-navigation-backdrop { display: none; position: fixed; inset: 0; z-index: 1490; background: rgb(4 17 32 / 64%); backdrop-filter: blur(5px); }
:root .console-wide.navigation-open .wide-navigation-backdrop { display: block; }
:root .console-wide .side-menu { inset: 0 auto 0 0; width: min(340px, calc(100vw - 48px)); max-height: 100dvh; height: 100dvh; transform: translateX(-105%); grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 14px; padding: 18px; border: 0; border-right: 1px solid var(--line); border-radius: 0 18px 18px 0; box-shadow: 16px 0 60px rgb(0 8 24 / 28%); }
:root .console-wide .side-menu { display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; transition: transform .18s ease; }
:root .console-wide .side-menu > * { flex-shrink: 0; }
:root .console-wide .side-menu.open { transform: translateX(0); visibility: visible; pointer-events: auto; }
:root .console-wide .side-menu-head { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
:root .console-wide .wide-navigation-search { display: grid; gap: 8px; }
:root .console-wide .wide-navigation-search > span { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -.03em; }
:root .console-wide .wide-navigation-search input { min-height: 48px; background: var(--surface-soft); font-size: 16px; }
:root .console-wide .wide-navigation-search small { color: var(--muted); font-size: 12px; }
:root .console-wide .side-menu-nav { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; overflow: visible; align-content: start; min-height: 0; padding: 2px 0; }
:root .console-wide .side-menu-section { padding: 0; border: 0; background: none; gap: 4px; align-content: start; }
:root .console-wide .side-menu-section > span { padding: 0 10px 8px; }
:root .console-wide .side-menu-nav button { justify-content: flex-start; width: 100%; padding: 10px 12px; min-height: 40px; height: auto; background: transparent; border: 1px solid transparent; text-align: left; white-space: normal; }
:root .console-wide .side-menu-nav button:hover { background: var(--surface-soft); color: var(--blue); }
:root .console-wide .side-menu-nav button.active { border-color: var(--line); }
:root .console-wide .side-dashboard-list button { display: grid; gap: 4px; }
:root .console-wide .side-dashboard-list button b { font-weight: 650; }
:root .console-wide .side-dashboard-list button small { color: var(--muted); font-weight: 400; }
:root .console-wide .side-menu .side-session-section,
:root .console-wide .side-menu .side-theme-switch { display: none; }
:root .console-wide .side-menu-footer { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; background: transparent; padding-top: 14px; }
:root .console-wide .footer-app-version { background: none; border: 0; padding: 0; }
:root .console-wide .footer-app-version strong { color: var(--muted); font-size: 12px; font-weight: 600; }
:root .console-wide .footer-powered-by { width: auto; border: 0; background: none; padding: 0; font-size: 12px; color: var(--muted); }
:root .console-wide .side-logout { min-height: 38px; padding: 8px 12px; align-self: auto; }
:root .console-wide .wide-navigation-empty { color: var(--muted); padding: 14px; }
:root .console-wide .side-menu [hidden] { display: none; }
:root .console-wide :is(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
:root .console-wide button { font-family: inherit; }
:root .console-wide input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
:root .console-wide select,
:root .console-wide textarea { color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; font: inherit; min-height: 40px; padding: 9px 11px; }
:root .console-wide input::placeholder,
:root .console-wide textarea::placeholder { color: var(--muted); opacity: .85; }
:root .console-wide :is(input[type="checkbox"], input[type="radio"]) { accent-color: #086ec8; }
:root .console-wide .simple-panel { border-radius: 18px; border-color: var(--line); background: var(--surface); box-shadow: var(--shadow); }
:root .console-wide:not(.map-dashboard) > .simple-panel + .simple-panel,
:root .console-wide:not(.map-dashboard) > section + section { margin-top: 18px; }
:root .console-wide .simple-panel-head { padding: 20px 24px; background: var(--surface-soft); align-items: center; border-color: var(--line); }
:root .console-wide .simple-panel-head h2 { font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; color: var(--text); }
:root .console-wide .simple-panel-head p { max-width: 86ch; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.5; }
:root .console-wide .simple-panel-head > div > span { color: var(--muted); font-size: 10px; letter-spacing: .12em; font-weight: 700; }
/* First panel establishes the same identity on every management page. */
:root .console-wide:not(.map-dashboard) > .simple-panel:first-of-type > .simple-panel-head,
:root .console-wide .ops-dashboard-head { padding: 24px; background: linear-gradient(115deg, #0b2d48, #176fae); color: #fff; border-bottom: 0; }
:root .console-wide:not(.map-dashboard) > .simple-panel:first-of-type > .simple-panel-head h2,
:root .console-wide .ops-dashboard-head h2 { color: #fff; font-size: clamp(24px, 2.1vw, 34px); font-weight: 750; letter-spacing: -.035em; }
:root .console-wide:not(.map-dashboard) > .simple-panel:first-of-type > .simple-panel-head :is(p, small),
:root .console-wide:not(.map-dashboard) > .simple-panel:first-of-type > .simple-panel-head > div > span { color: #d3e7fa; }
:root .console-wide .empty,
:root .console-wide .permission-note { color: var(--muted); line-height: 1.55; padding: 20px 24px; font-weight: 400; }
:root .console-wide .technical-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; padding: 18px 24px; }
:root .console-wide .technical-overview .console-stat { min-width: 0; min-height: 100px; padding: 16px; border: 1px solid var(--line); background: var(--surface-soft); border-radius: 13px; box-shadow: none; }
:root .console-wide .technical-overview .console-stat b { color: var(--text); font-size: 29px; font-weight: 750; }
:root .console-wide .technical-overview .console-stat small { color: var(--muted); font-size: 12px; font-weight: 400; }
:root .console-wide .technical-overview .console-stat > span { color: var(--muted); font-size: 11px; font-weight: 700; }
/* Shared tabs, fields, lists and data surfaces. No data/permission changes. */
:root .console-wide :is(.settings-subnav, .user-tabs, .team-admin-subnav) { gap: 8px; padding: 14px 24px; background: var(--surface); flex-wrap: wrap; }
:root .console-wide :is(.settings-subnav, .user-tabs) button { background: var(--surface-soft); color: var(--text); min-height: 44px; border: 1px solid var(--line); font-weight: 600; }
:root .console-wide :is(.settings-subnav, .user-tabs) button.active { color: var(--blue); background: var(--blue-soft); border-color: var(--blue); }
:root .console-wide .settings-subnav button :is(b, span) { color: inherit; }
:root .console-wide .settings-subnav button span { font-weight: 400; }
:root .console-wide :is(.settings-card, .role-card, .layout-row, .emergency-event-card, .team-ops-card, .dashboard-live-card) { border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); box-shadow: none; }
:root .console-wide .roles-manager { background: var(--surface); border-color: var(--line); padding: 24px; }
:root .console-wide .roles-grid { gap: 14px; }
:root .console-wide .role-card { padding: 18px; }
:root .console-wide :is(.roles-manager-head, .role-card) b { color: var(--text); }
:root .console-wide :is(.roles-manager-head, .role-card) :is(small, span) { color: var(--muted); font-weight: 400; }
:root .console-wide :is(.settings-card h3, .role-card h3, .layout-row h3) { color: var(--text); font-size: 18px; font-weight: 700; }
:root .console-wide :is(.settings-card, .form-stack, .role-create-form) label { color: var(--muted); font-size: 13px; font-weight: 600; }
:root .console-wide :is(.user-search-strip, .user-group-filters, .role-create-form) { padding: 18px 24px; background: var(--surface-soft); border-color: var(--line); }
:root .console-wide :is(.user-table-head, .user-group-table-head, .ops-list-head) { padding-top: 13px; padding-bottom: 13px; background: var(--surface-soft); color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
:root .console-wide :is(.user-row, .user-group-row, .secretariat-row, .ip44-row) { border-color: var(--line); padding-top: 15px; padding-bottom: 15px; background: var(--surface); }
:root .console-wide :is(.user-row, .user-group-row, .secretariat-row, .ip44-row):hover { background: var(--surface-soft); }
:root .console-wide :is(.user-row, .user-group-row, .secretariat-row) b { color: var(--text); font-weight: 650; }
:root .console-wide :is(.user-row, .user-group-row, .secretariat-row) small { color: var(--muted); font-weight: 400; line-height: 1.5; }
:root .console-wide :is(.danger-button, button.danger) { color: #b12c3d; background: #fff0f2; border-color: #e5b8c0; }
:root[data-theme="dark"] .console-wide :is(.danger-button, button.danger) { color: #ffbcc6; background: #492435; border-color: #775064; }
:root .console-wide button[type="submit"] { background: #086ec8; color: #fff; border-color: #086ec8; font-weight: 650; }
:root .console-wide .node-table th { padding: 13px 12px; background: var(--surface-soft); color: var(--muted); font-size: 11px; letter-spacing: .03em; font-weight: 700; }
:root .console-wide .node-table td { padding: 14px 12px; color: var(--text); font-size: 13px; border-color: var(--line); }
:root .console-wide .node-table tbody tr:hover { background: var(--blue-soft); }
:root .console-wide .node-table tbody tr:nth-child(even) { background: var(--surface-soft); }
:root .console-wide .node-table td :is(b, strong) { font-weight: 650; }
:root .console-wide .node-table td small { font-weight: 400; color: var(--muted); }
:root .console-wide .ops-dashboard { border: 0; background: none; }
:root .console-wide .ops-dashboard-head { border-radius: 18px; margin-bottom: 18px; }
:root .console-wide .release-hero { padding: 24px; background: linear-gradient(115deg, #0b2d48, #176fae); color: #fff; }
:root .console-wide .release-hero h2 { font-size: clamp(24px, 2.1vw, 34px); letter-spacing: -.035em; color: #fff; }
:root .console-wide .release-hero :is(p, span, code) { color: #d3e7fa; }
:root .console-wide .ops-repeater-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 10px; }
:root .console-wide .ops-dashboard { grid-template-columns: minmax(0, 1fr); min-width: 0; }
:root .console-wide .ops-dashboard > * { min-width: 0; max-width: 100%; box-sizing: border-box; }
:root .console-wide .dashboard-mobile-summary { display: none; }
@media (max-width: 700px) {
  :root .console-wide .dashboard-desktop-detail { display: none; }
  :root .console-wide .dashboard-layout-switch { display: none; }
  :root .console-wide .dashboard-mobile-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  :root .console-wide .mobile-repeater-summary { display: grid; align-content: start; justify-items: start; gap: 6px; min-width: 0; min-height: 132px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); text-align: left; white-space: normal; }
  :root .console-wide .mobile-repeater-summary b { font-size: 16px; }
  :root .console-wide .mobile-repeater-summary > span { color: var(--muted); font-size: 11px; line-height: 1.3; overflow-wrap: anywhere; }
  :root .console-wide .mobile-repeater-summary strong { color: var(--blue); font-size: 18px; }
  :root .console-wide .mobile-repeater-summary small { color: var(--muted); font-size: 11px; }
}
@media (max-width: 700px) {
  :root .console-wide .ops-repeater-grid { grid-template-columns: minmax(0, 1fr); width: 100%; }
  :root .console-wide .ops-dashboard-head { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; margin-bottom: 8px; }
  :root .console-wide .ops-dashboard-head h2 { font-size: 20px; }
  :root .console-wide .ops-dashboard-head > * { min-width: 0; max-width: 100%; flex-wrap: wrap; }
  :root .console-wide .dashboard-bulk-tile { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; }
  :root .console-wide .dashboard-bulk-tile > * { min-width: 0; max-width: 100%; flex-wrap: wrap; }
  :root .console-wide .ops-repeater-card button { min-height: 44px; }
}
:root .console-wide .ops-repeater-card { padding: 10px; gap: 8px; }
:root .console-wide .ops-repeater-card header b { font-size: 16px; }
:root .console-wide .ops-repeater-card header small { font-size: 10px; }
:root .console-wide .ops-card-hero { padding: 7px; gap: 6px; }
:root .console-wide .ops-card-hero b { font-size: 20px; }
:root .console-wide .ops-status { min-height: 36px; padding: 4px; gap: 2px; }
:root .console-wide .ops-command-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
:root .console-wide .ops-command-grid button { min-height: 32px; padding: 5px; font-size: 11px; }
@media (pointer: coarse) {
  :root .console-wide .ops-repeater-card button { min-height: 44px; }
}
:root .console-wide .ops-repeater-card { border-radius: 16px; background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
:root .console-wide .dashboard-bulk-tile { border-radius: 14px; background: var(--blue-soft); border-color: var(--line); padding: 16px 20px; }
:root .console-wide .ops-repeater-card :is(.ops-card-head, .ops-card-status) { border-color: var(--line); }
:root .console-wide .node-modal { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 18px; }
:root .console-wide .node-modal-head { background: var(--surface-soft); border-color: var(--line); }
:root .console-wide .lora-gateway-map-filters { grid-template-columns: repeat(5, minmax(0, 1fr)) auto; padding: 0 24px; }
:root .console-wide .lora-gateway-map-viewbar { margin: 0 24px; background: var(--surface-soft); }
:root .console-wide .lora-gateway-map-layout { margin: 0 24px 24px; grid-template-columns: minmax(0, 1fr) minmax(250px, 320px); }
:root .console-wide .lora-gateway-map-panel .technical-overview { margin: 0; padding-top: 0; padding-bottom: 0; }
:root .console-wide .team-admin-scope-note { background: var(--blue-soft); border-color: var(--line); color: var(--text); }
:root .console-wide .secretariat-form { padding: 20px 24px; gap: 14px; }
:root .console-wide .emergency-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px; align-items: start; }
:root .console-wide .compact-list { padding: 16px; gap: 10px; }
:root .console-wide .compact-row { padding: 12px; border-radius: 10px; }
:root .console-wide .compact-row b { font-size: 13px; }
:root .console-wide .compact-row small { font-size: 12px; font-weight: 400; }
:root .console-wide .wide-field { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 600; min-width: 0; }
:root .console-wide .wide-field :is(input, textarea, select) { width: 100%; min-width: 0; }
:root .console-wide .wide-field:has(textarea) { grid-column: 1 / -1; }
/* HAM shares the civil map shell, never its operational feeds or filters. */
:root .console-wide .ham-map-heading { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 1000; display: grid; gap: 3px; padding: 10px 18px; background: #10243a; color: #edf6ff; border: 1px solid #3a5571; border-radius: 12px; box-shadow: 0 8px 24px rgb(0 10 24 / 24%); }
:root .console-wide .ham-map-heading b { font-size: 16px; }
:root .console-wide .ham-map-heading span { font-size: 11px; color: #b7cce2; }
:root .console-wide .ham-map-toolbar { color: #edf6ff; }
:root .console-wide .ham-map-toolbar label { display: flex; align-items: center; gap: 8px; }
:root .console-wide .ham-select-label { font-size: 11px; }
:root .console-wide .ham-map-toolbar select { max-width: 260px; min-height: 44px; background: #142f49; border: 1px solid #3a5571; border-radius: 8px; color: #edf6ff; padding: 8px; }
:root .console-wide .ham-map-toolbar button { min-height: 44px; }
:root .console-wide .ham-map-legend { position: fixed; bottom: 86px; left: 50%; transform: translateX(-50%); z-index: 1281; max-width: calc(100vw - 24px); }
:root .console-wide .ham-map-legend[hidden] { display: none; }
:root .console-wide .ham-map-legend .map-legend { display: flex; position: static; flex-wrap: wrap; background: #10243a; border: 1px solid #3a5571; padding: 12px; color: #edf6ff; }
:root .console-wide .ham-map-legend .map-legend b { color: #edf6ff; }
:root .console-wide .ham-map-legend .map-legend-item { background: #18354f; border-color: #3a5571; }
:root .ham-map-dashboard .central-ops-info-panel { max-height: calc(100dvh - 170px); }
@media (max-width: 700px) {
  :root .console-wide .ham-map-heading { top: 12px; left: auto; right: 12px; transform: none; max-width: calc(100vw - 190px); padding: 8px 10px; }
  :root .console-wide .ham-map-heading b { font-size: 13px; }
  :root .console-wide .ham-map-heading span { display: none; }
  :root .ham-map-dashboard .central-ops-top-actions { top: 62px; }
  :root .console-wide .ham-select-label { display: none; }
  :root .console-wide .ham-map-toolbar select { max-width: 180px; }
}
/* Inventory: remove legacy boxed glyphs without changing data or controls. */
:root .console-wide[data-console-view="nodes"] > .simple-panel > .simple-panel-head { padding: 18px 22px; }
:root .console-wide[data-console-view="nodes"] > .simple-panel > .simple-panel-head h2 { font-size: 25px; }
:root .console-wide .node-table { min-width: 1320px; }
:root .console-wide .node-table :is(th, td) { padding: 10px 12px; }
:root .console-wide .node-table th { font-size: 10px; font-weight: 650; height: 42px; }
:root .console-wide .node-table .table-head-icon > svg { display: none; }
:root .console-wide .node-table .node-cell { justify-content: stretch; justify-items: stretch; }
:root .console-wide .node-table .node-open { border: 0; background: transparent; box-shadow: none; border-radius: 6px; padding: 4px 0; width: 100%; min-height: 44px; grid-template-columns: 28px minmax(0, 1fr); gap: 3px 8px; align-content: center; }
:root .console-wide .node-table .node-open:hover { background: var(--blue-soft); }
:root .console-wide .node-table .node-open .node-cell-icon { border: 0; background: none; color: var(--blue); align-self: center; width: 26px; height: 26px; }
:root .console-wide .node-table .node-open b { font-size: 14px; letter-spacing: .01em; }
:root .console-wide .node-table .node-open > span { font-size: 12px; color: var(--muted); font-weight: 400; line-height: 1.35; }
:root .console-wide .node-table svg { stroke-width: 1.75; }
:root .console-wide .node-table .inventory-state { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); white-space: nowrap; }
:root .console-wide .node-table .inventory-state i { display: inline-flex; flex-shrink: 0; }
:root .console-wide .node-table .inventory-state svg { width: 15px; height: 15px; }
:root .console-wide .node-table .inventory-state > span { color: inherit; font-size: 11px; font-weight: 600; }
:root .console-wide .node-table .inventory-state.online { color: #178260; }
:root .console-wide .node-table .inventory-state.warn { color: #95610b; }
:root .console-wide .node-table .inventory-state.offline { color: #c43d51; }
:root .console-wide .node-table .inventory-state.maintenance { color: var(--blue); }
:root[data-theme="dark"] .console-wide .node-table .inventory-state.online { color: #68d7ae; }
:root[data-theme="dark"] .console-wide .node-table .inventory-state.warn { color: #f0c36b; }
:root[data-theme="dark"] .console-wide .node-table .inventory-state.offline { color: #ff93a1; }
:root .console-wide .node-table .node-icon-value { display: block; }
:root .console-wide .node-table .node-icon-value > i,
:root .console-wide .node-table .node-last-live > i { display: none; }
:root .console-wide .node-table .node-last-live { grid-template-columns: 1fr; gap: 4px; }
:root .console-wide .node-table .node-last-live b { font-size: 11px; font-weight: 500; line-height: 1.4; }
:root .console-wide .node-table .node-last-live span { font-size: 11px; font-weight: 500; color: var(--muted); }
:root .console-wide .node-table .node-metric-cell { width: 100%; max-width: 58px; gap: 6px; }
:root .console-wide .node-table .node-metric-cell b { font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 600; }
:root .console-wide .node-table .node-metric-cell i { height: 3px; background: var(--line); }
:root .console-wide .node-table .node-tg-cell { display: grid; gap: 5px; }
:root .console-wide .node-table .node-tg-cell > b { font-size: 14px; }
:root .console-wide .node-table .tg-mode-badge { display: inline-flex; align-items: center; gap: 4px; width: fit-content; padding: 3px 6px; border-radius: 5px; border: 1px solid var(--line); background: var(--surface-soft); color: var(--muted); font-size: 9px; font-weight: 600; }
:root .console-wide .node-table .tg-mode-badge svg { width: 11px; height: 11px; color: inherit; }
:root .console-wide .node-table .tg-mode-badge.static { background: var(--blue-soft); color: var(--blue); }
:root .console-wide .node-table :is(.node-plain-value, .node-icon-value code) { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; line-height: 1.4; }
:root .console-wide .node-table button:not(.node-open) { background: var(--blue-soft); border-color: var(--line); color: var(--blue); box-shadow: none; min-height: 44px; padding: 8px 10px; border-radius: 9px; }
:root .console-wide .node-table tbody tr:hover { background: var(--blue-soft); }
/* Map chrome: the map remains full-height; semantic marker colors unchanged. */
/* Repeater workspace: keep identity and controls visible without a tall hero. */
:root .console-wide .pilot-node { gap: 12px; }
:root .console-wide .pilot-node .pilot-hero-head { padding: 16px 22px; gap: 12px; }
:root .console-wide .pilot-node .pilot-hero-head h2 { font-size: clamp(24px, 2vw, 30px); margin: 4px 0 0; }
:root .console-wide .pilot-node .pilot-hero-head p { margin-top: 4px; font-size: 12px; }
:root .console-wide .pilot-node .pilot-node-unified-head { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 3fr); align-items: center; gap: 24px; }
:root .console-wide .pilot-node-identity .pilot-live { display: inline-flex; margin-top: 12px; }
:root .console-wide .node-audio-listen-only { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; }
:root .console-wide .node-audio-listen-only h2 { margin: 0 0 4px; font-size: 18px; }
:root .console-wide .node-audio-listen-only small { display: block; }
:root .console-wide .node-audio-listen-only .audio-live-actions button { min-height: 48px; padding: 12px 24px; font-size: 16px; }
:root .console-wide .node-audio-listen-only .audio-live-actions button:first-child { background: #086ec8; color: #fff; border-color: #086ec8; }
@media (max-width: 600px) {
  :root .console-wide .node-audio-listen-only { flex-wrap: wrap; padding: 16px; }
}
:root .console-wide .pilot-node-operation-slot { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 2fr); gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--surface); }
:root .console-wide .pilot-node-operation-slot :is(.node-radio-strip, .node-quick-commands) { margin: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; min-width: 0; }
:root .console-wide .pilot-node-operation-slot .node-quick-commands { padding: 0; flex-wrap: wrap; }
:root .console-wide .pilot-node-operation-slot .node-quick-commands { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 24px auto; align-content: start; gap: 8px; }
:root .console-wide .pilot-node-operation-slot .node-quick-commands > div:first-child { display: flex; align-items: center; min-width: 0; padding: 0; }
:root .console-wide .pilot-node-operation-slot .node-quick-commands > div:first-child > span { display: none; }
:root .console-wide .pilot-node-operation-slot .node-quick-commands > div:first-child > b { font-size: 15px; line-height: 24px; margin: 0; }
:root .console-wide .pilot-node-operation-slot .node-radio-strip { display: grid; grid-template-rows: 24px auto; align-content: start; gap: 8px; }
:root .console-wide .pilot-node-operation-slot .node-radio-strip .node-telemetry-compact-head { padding: 0; height: 24px; min-height: 0; display: flex; align-items: center; }
:root .console-wide .pilot-node-operation-slot .node-radio-strip .node-telemetry-compact-head h2 { margin: 0; line-height: 24px; }
:root .console-wide .pilot-node-operation-slot .radio-visual-indicator,
:root .console-wide .pilot-node-operation-slot .radio-listen-tile { margin: 0; min-height: 106px; }
:root .console-wide .pilot-node-operation-slot .radio-listen-tile .audio-listen-button { height: 106px; }
:root .console-wide .pilot-node-operation-slot .command-stack { flex-wrap: wrap; gap: 10px; }
:root .console-wide .pilot-node-operation-slot .command-group { background: var(--surface-soft); border: 1px solid var(--line); border-radius: 12px; padding: 10px; gap: 8px; }
:root .console-wide .pilot-node-operation-slot .command-group > b { font-size: 12px; font-weight: 600; gap: 7px; }
:root .console-wide .pilot-node-operation-slot .command-group svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:root .console-wide .pilot-node-operation-slot .command-group > b span { color: var(--blue); }
:root .console-wide .pilot-node-operation-slot .command-icon-button { min-width: 48px; min-height: 48px; border-radius: 8px; color: var(--text); }
:root .console-wide .pilot-node-operation-slot .command-button-icon { color: var(--blue); background: transparent; border: 0; }
:root .console-wide .pilot-node-operation-slot .command-icon-button.danger-button .command-button-icon { color: inherit; }
:root .console-wide .command-group-listen .node-audio-listen-only { padding: 0; border: 0; box-shadow: none; display: grid; gap: 8px; background: transparent; }
:root .console-wide .command-group-listen .node-audio-listen-only h2 { font-size: 12px; }
:root .console-wide .command-group-listen .node-audio-listen-only [data-node-audio-message] { font-size: 11px; color: var(--muted); }
:root .console-wide .node-operational-hint { margin: 0; color: var(--muted); font-size: 12px; }
:root .console-wide .pilot-node-operation-slot { align-items: stretch; }
:root .console-wide .pilot-node-operation-slot .command-stack { align-items: stretch; }
:root .console-wide .pilot-node-operation-slot .command-group { min-height: 106px; box-sizing: border-box; }
:root .console-wide .pilot-node-operation-slot .command-group-listen { flex: 0 0 144px; width: 144px; display: flex; align-items: center; justify-content: center; }
:root .console-wide .command-group-listen .node-audio-listen-only .audio-live-actions { margin: 0; display: flex; flex-wrap: nowrap; }
:root .console-wide .command-group-listen .audio-listen-button { box-sizing: border-box; width: 122px; min-width: 122px; max-width: 122px; height: 48px; padding: 10px; white-space: nowrap; justify-content: center; gap: 8px; }
:root .console-wide .command-group-listen .audio-listen-button svg { flex: 0 0 20px; }
:root .console-wide .pilot-node-operation-slot .node-telemetry-compact-head { padding: 0 0 8px; border: 0; }
:root .console-wide .pilot-node-operation-slot .node-telemetry-compact-head h2 { font-size: 15px; }
:root .console-wide .pilot-node .pilot-node-operation-slot .telemetry-mini-item { padding: 8px 6px; }
@media (max-width: 1100px) {
  :root .console-wide .pilot-node-operation-slot { grid-template-columns: 1fr; padding: 14px; }
}
:root .console-wide .pilot-node-header-details { display: grid; gap: 10px; min-width: 0; }
:root .console-wide .pilot-node-unified-head .site-field { background: rgb(255 255 255 / 8%); border-color: rgb(255 255 255 / 20%); }
:root .console-wide .pilot-node-unified-head .site-field :is(b, strong) { color: #fff; }
:root .console-wide .pilot-node-unified-head .site-field :is(span, small) { color: #d3e7fa; }
:root .console-wide .pilot-node .node-radio-strip .node-telemetry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
:root .console-wide .pilot-node .node-radio-strip .telemetry-mini-icon { background: transparent; border: 0; box-shadow: none; width: 40px; height: 40px; border-radius: 0; color: var(--blue); flex-shrink: 0; }
:root .console-wide .pilot-node .node-radio-strip .telemetry-mini-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:root .console-wide .pilot-node .node-radio-strip .telemetry-mini-item.online.tx .telemetry-mini-icon { color: #e18b38; }
:root .console-wide .pilot-node .node-radio-strip .telemetry-mini-item.online.rx .telemetry-mini-icon { color: #25b987; }
:root .console-wide .pilot-node .node-radio-strip .telemetry-mini-item b { font-size: 13px; }
:root .console-wide .radio-visual-indicator { position: relative; display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 92px; margin: 3px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, var(--surface-soft), var(--surface)); color: var(--muted); }
:root .console-wide .radio-visual-symbol { display: flex; }
:root .console-wide .radio-visual-symbol svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:root .console-wide .radio-visual-name { font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
:root .console-wide .radio-visual-indicator i { position: absolute; top: 10px; right: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); opacity: .4; }
:root .console-wide .radio-visual-indicator.online { color: #168766; border-color: #25b987; background: linear-gradient(145deg, #d8fff0, #effff9); }
:root[data-theme="dark"] .console-wide .radio-visual-indicator.online { color: #64edbe; background: linear-gradient(145deg, #153d3d, #102b35); }
:root .console-wide .radio-visual-indicator.online.tx { color: #a64b08; border-color: #e18b38; background: linear-gradient(145deg, #fff0d8, #fffaf2); }
:root[data-theme="dark"] .console-wide .radio-visual-indicator.online.tx { color: #ffc078; background: linear-gradient(145deg, #493422, #2d2930); }
:root .console-wide .radio-visual-indicator.online i { background: currentColor; opacity: 1; box-shadow: 0 0 8px currentColor; }
:root .console-wide .pilot-node .node-radio-strip .node-telemetry-grid { gap: 6px; }
:root .console-wide .pilot-node .node-radio-strip .node-telemetry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
:root .console-wide .radio-listen-tile { min-width: 0; margin: 3px; display: flex; }
:root .console-wide .radio-listen-tile .audio-listen-button { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 100%; min-width: 0; height: 92px; padding: 8px 2px; box-sizing: border-box; border-radius: 16px; border: 1px solid var(--blue); background: linear-gradient(145deg, var(--blue-soft), var(--surface)); color: var(--blue); white-space: nowrap; }
:root .console-wide .radio-listen-tile .audio-listen-button svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.7; }
:root .console-wide .radio-listen-tile .audio-listen-button span { font-size: 11px; font-weight: 750; letter-spacing: 0; }
:root .console-wide .radio-listen-tile .audio-listen-button.active { opacity: 1; background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
:root .console-wide .radio-listen-tile .audio-listen-button:hover:not(:disabled) { background: var(--blue-soft); }
/* One shared frame for radio indicators and command groups. */
:root .console-wide .pilot-node-operation-slot .node-radio-strip .node-telemetry-grid { padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); box-sizing: border-box; gap: 8px; min-height: 110px; align-items: center; }
:root .console-wide .pilot-node-operation-slot .radio-visual-indicator,
:root .console-wide .pilot-node-operation-slot .radio-listen-tile { min-height: 88px; height: 88px; }
:root .console-wide .pilot-node-operation-slot .radio-visual-indicator { border-radius: 8px; border-color: var(--line); background: var(--surface); cursor: default; box-shadow: none; }
:root .console-wide .pilot-node-operation-slot .radio-visual-indicator.online { background: color-mix(in srgb, currentColor 9%, var(--surface)); border-color: currentColor; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent); }
:root .console-wide .radio-listen-tile .audio-listen-button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
:root .console-wide .pilot-node-operation-slot .radio-visual-symbol svg { width: 27px; height: 27px; }
:root .console-wide .pilot-node-operation-slot .radio-listen-tile .audio-listen-button { height: 88px; border-radius: 8px; }
:root .console-wide .pilot-node-operation-slot .radio-listen-tile .audio-listen-button svg { width: 30px; height: 30px; }
:root .console-wide .pilot-node .node-radio-strip .telemetry-mini-item { padding: 10px 12px; min-height: 56px; }
@media (max-width: 1000px) {
  :root .console-wide .pilot-node .pilot-node-unified-head { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 500px) {
  :root .console-wide .pilot-node .node-radio-strip .node-telemetry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
:root .console-wide .pilot-node .pilot-hero-body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 12px; padding: 16px 22px; }
:root .console-wide .pilot-node .pilot-meta { grid-column: 1 / -1; gap: 10px; }
:root .console-wide .pilot-node .pilot-meta .site-field { padding: 9px 12px; border-radius: 10px; }
:root .console-wide .pilot-node .pilot-services { margin: 0; gap: 8px; align-items: stretch; }
:root .console-wide .pilot-node .pilot-services .status-chip { flex: 1 1 130px; padding: 7px 10px; border-radius: 10px; }
:root .console-wide .pilot-node .pilot-radio-summary { gap: 10px; padding: 8px 12px; border-radius: 10px; }
:root .console-wide .pilot-node .pilot-radio-summary > div { gap: 8px; }
:root .console-wide .pilot-node .pilot-radio-summary strong { font-size: 22px; }
:root .console-wide .pilot-node .pilot-node-actions { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; gap: 8px; }
:root .console-wide .pilot-node .pilot-node-actions button { padding: 8px 11px; }
:root .console-wide .pilot-node .pilot-hero-body > .pilot-notice { grid-column: 1 / -1; }
:root .console-wide .pilot-node .node-detail-tabs button { flex: 0 1 260px; }
:root .console-wide .pilot-node .node-data-layout { align-items: start; }
:root .console-wide .pilot-node .node-detail-main,
:root .console-wide .pilot-node .node-detail-tech-column { align-content: start; }
:root .console-wide .pilot-node .radial-gauge { min-height: 112px; padding: 10px; }
@media (max-width: 700px) {
  :root .console-wide .pilot-node .gauge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  :root .console-wide[data-console-view="node"] .brand-lockup { display: flex; align-items: center; gap: 12px; }
  :root .console-wide[data-console-view="node"] .mobile-header-back { display: none; }
  :root .console-wide[data-console-view="node"] .desktop-header-back { display: inline-flex; }
  :root .console-wide[data-console-view="node"] .simple-header { margin-bottom: 12px; }
}
@media (max-width: 900px) {
  :root .console-wide .pilot-node .pilot-hero-body { grid-template-columns: 1fr; padding: 14px; }
  :root .console-wide .pilot-node .pilot-hero-head { padding: 16px; }
  :root .console-wide .pilot-node .pilot-services .status-chip { flex-basis: 120px; }
  :root .console-wide .pilot-node .pilot-node-actions button { min-height: 44px; }
}
:root .console-wide.map-dashboard .simple-header { padding: 8px 14px; margin-bottom: 10px; min-height: 64px; flex-shrink: 0; }
:root .console-wide .map-dashboard-rail { background: var(--surface); border-color: var(--line); }
:root .console-wide .map-dashboard-rail button.active { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); }
:root .console-wide :is(.map-controls, .map-legend, .map-overlay-filters) { border-color: var(--line); border-radius: 13px; box-shadow: var(--shadow); }
:root .console-wide.central-ops-dashboard :is(.central-ops-bottom-bar, .central-ops-top-actions, .central-ops-floating-panel) { border-color: #3a5571; box-shadow: 0 8px 24px rgb(0 10 24 / 24%); }
:root .console-wide.central-ops-dashboard .central-ops-bottom-bar button.active { background: #12476d; border-color: #53a3df; }
/* Home: secondary summary, operational shortcuts and administration share the fold. */
:root .console-wide .pilot-home { gap: 14px; align-items: start; }
:root .console-wide .pilot-home .pilot-hero-head { padding: 12px 18px; gap: 12px; }
:root .console-wide .pilot-home .pilot-hero-head > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
:root .console-wide .pilot-home .pilot-hero-head h2 { font-size: 22px; margin: 0; }
:root .console-wide .pilot-home .pilot-live { font-size: 10px; padding: 5px 9px; }
:root .console-wide .pilot-home .pilot-hero-body { padding: 10px 18px 12px; }
:root .console-wide .pilot-home .pilot-welcome { gap: 4px 12px; margin-bottom: 8px; }
:root .console-wide .pilot-home .pilot-welcome > div { display: flex; align-items: baseline; gap: 5px; }
:root .console-wide .pilot-home .pilot-welcome b { font-size: 13px; }
:root .console-wide .pilot-home .pilot-welcome :is(span, p, small) { font-size: 11px; }
:root .console-wide .pilot-home .pilot-panel { padding: 16px 18px; border-radius: 16px; }
:root .console-wide .pilot-home .pilot-section-head { gap: 8px; margin-bottom: 10px; }
:root .console-wide .pilot-home .pilot-section-head h2 { font-size: 17px; }
:root .console-wide .pilot-home .pilot-metrics { gap: 8px; }
:root .console-wide .pilot-home .pilot-metric { padding: 9px 12px; border-radius: 10px; }
:root .console-wide .pilot-home .pilot-metric > strong { font-size: 22px; margin: 4px 0 2px; }
:root .console-wide .pilot-home .pilot-metric > span { font-size: 9px; letter-spacing: .06em; }
:root .console-wide .pilot-home .pilot-metric > small { font-size: 11px; }
:root .console-wide .pilot-home .pilot-hero .pilot-metric > strong { font-size: 20px; }
:root .console-wide .pilot-home .console-quick-panel { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
:root .console-wide .pilot-home .console-quick-group > div { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
:root .console-wide .pilot-home .console-quick-group > span { margin-bottom: 8px; font-size: 10px; }
:root .console-wide .pilot-home .console-quick-group button { width: 100%; min-height: 44px; padding: 8px 10px; border-radius: 10px; }
:root .console-wide .pilot-home .quick-action-icon { justify-content: flex-start; gap: 8px; }
:root .console-wide .pilot-home .quick-action-icon strong { font-size: 12px; overflow-wrap: anywhere; }
:root .console-wide .pilot-home .pilot-workspace .console-quick-group:last-child > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:root .console-wide .pilot-home .pilot-administration .console-quick-panel { grid-template-columns: 1fr; }
:root .console-wide .pilot-home .pilot-administration .console-quick-group > span { display: none; }
:root .console-wide .pilot-home .pilot-administration .console-quick-group > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:root .console-wide .pilot-home .pilot-notice { flex-wrap: wrap; gap: 8px; padding: 10px 12px; font-size: 12px; }
:root .console-wide .pilot-home .pilot-empty { font-size: 12px; margin-bottom: 0; }
:root .console-wide .pilot-home .pilot-bottom-grid { gap: 14px; }
:root .console-wide .pilot-home .pilot-muted { margin-bottom: 0; font-size: 12px; }
@media (min-width: 1100px) {
  :root .console-wide .pilot-home { grid-template-columns: minmax(0, 2fr) minmax(330px, 1fr); }
  :root .console-wide .pilot-home > * { grid-column: 1 / -1; }
  :root .console-wide .pilot-home > .pilot-hero { grid-row: 1; }
  :root .console-wide .pilot-home-with-admin > .pilot-hero { grid-column: 1; }
  :root .console-wide .pilot-home > .pilot-administration { grid-column: 2; grid-row: 1; }
  :root .console-wide .pilot-home > .pilot-workspace { grid-column: 1; grid-row: 2; }
  :root .console-wide .pilot-home > .pilot-attention { grid-column: 2; grid-row: 2; }
  :root .console-wide .pilot-home .pilot-network-health .pilot-metrics { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (min-width: 1500px) {
  :root .console-wide .pilot-home .pilot-administration .console-quick-group > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  :root .console-wide .pilot-node > .pilot-panel > .pilot-metrics { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  :root .console-wide .pilot-home .pilot-hero-head { align-items: flex-start; padding: 12px; }
  :root .console-wide .pilot-home .pilot-hero-head h2 { font-size: 19px; }
  :root .console-wide .pilot-home .pilot-hero-body { padding: 10px 12px; }
  :root .console-wide .pilot-home .pilot-welcome > small { margin-left: 0; }
  :root .console-wide .pilot-home .pilot-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root .console-wide .pilot-home .console-quick-panel { grid-template-columns: 1fr; gap: 12px; }
  :root .console-wide .pilot-home .console-quick-group > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root .console-wide .pilot-home .pilot-panel { padding: 14px; }
}
@media (max-width: 1100px) {
  :root .console-wide .simple-header { flex-wrap: wrap; gap: 12px; }
  :root .console-wide .simple-actions { margin-left: auto; }
  :root .console-wide .lora-gateway-map-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  :root .console-wide .lora-gateway-map-layout { grid-template-columns: minmax(0, 1fr) 250px; }
}
@media (max-width: 700px) {
  :root .console-wide .side-menu { inset: 0 auto 0 0; width: min(340px, calc(100vw - 40px)); max-height: 100dvh; padding: max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom)); gap: 12px; border-radius: 0 16px 16px 0; }
  :root .console-wide .side-menu-nav { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  :root .console-wide .side-menu .side-session-section,
  :root .console-wide .side-menu .side-theme-switch { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 8px; position: static; width: 100%; }
  :root .console-wide .side-menu .side-session-section .session-widget { position: static; display: flex; flex-wrap: wrap; width: 100%; min-width: 0; box-sizing: border-box; gap: 8px; }
  :root .console-wide .side-menu .side-session-section .session-widget > span { display: none; }
  :root .console-wide .side-menu .side-session-section .session-widget button { width: auto; margin-left: auto; flex: 0 0 auto; }
  :root .console-wide .side-menu .side-theme-switch .theme-switch { position: static; display: grid; grid-template-columns: 1fr 1fr; width: 100%; min-width: 0; }
  :root .console-wide .side-menu .side-theme-switch .theme-switch button { min-width: 0; width: 100%; justify-content: center; }
  :root .console-wide .side-menu :is(.side-session-section, .side-theme-switch) > span { padding: 0; }
  :root .console-wide .side-menu-nav button { min-height: 44px; }
  :root .console-wide .side-menu-footer { flex-wrap: wrap; }
  :root .console-wide .footer-powered-by { display: none; }
  :root .simple-dashboard.console-wide:not(.map-dashboard) { width: calc(100% - 24px); padding-top: 10px; }
  :root .console-wide .simple-header { padding: 12px; border-radius: 14px; }
  :root .console-wide .brand-banner { width: 164px; height: 40px; }
  :root .console-wide .brand-title h1 { font-size: 21px; }
  :root .console-wide .simple-panel-head { padding: 18px; flex-wrap: wrap; align-items: flex-start; }
  :root .console-wide:not(.map-dashboard) > .simple-panel:first-of-type > .simple-panel-head { padding: 22px 18px; }
  :root .console-wide .technical-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; gap: 10px; }
  :root .console-wide .technical-overview .console-stat { padding: 12px; }
  :root .console-wide .technical-overview .console-stat b { font-size: 24px; }
  :root .console-wide :is(.settings-subnav, .user-tabs, .team-admin-subnav) { padding: 12px; }
  :root .console-wide :is(.settings-subnav, .user-tabs) button { flex: 1 1 130px; }
  :root .console-wide .lora-gateway-map-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 16px; }
  :root .console-wide .lora-gateway-map-layout { margin: 0 16px 16px; grid-template-columns: 1fr; }
  :root .console-wide .lora-gateway-map-viewbar { margin: 0 16px; flex-wrap: wrap; }
  :root .console-wide .lora-gateway-history-map { height: 480px; }
  :root .console-wide .lora-gateway-legend { max-height: 260px; }
  :root .console-wide .secretariat-form { padding: 16px; }
  :root .console-wide .node-table { min-width: 1320px; }
  :root .console-wide .node-table-wrap { overscroll-behavior-x: contain; }
}
@media (prefers-reduced-motion: reduce) {
  :root .console-wide, .console-wide *, .console-wide *::before, .console-wide *::after { transition: none; animation: none; }
}
:root .console-auth-wide.login-page { background: var(--page); color: var(--text); padding: 24px; }
:root .console-auth-wide .login-stage { width: min(1500px, 100%); max-width: none; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
:root .console-auth-wide .login-copy { background: linear-gradient(120deg, #0b2d48, #176fae); color: #fff; padding: clamp(24px, 4vw, 64px); }
:root .console-auth-wide .login-copy h1 { color: #fff; font-size: clamp(32px, 3.4vw, 58px); letter-spacing: -.04em; }
:root .console-auth-wide .login-copy p { color: #d6e8f8; font-weight: 400; line-height: 1.6; }
:root .console-auth-wide .login-panel { background: var(--surface); color: var(--text); padding: clamp(24px, 3vw, 48px); }
:root .console-auth-wide .login-panel h2 { font-weight: 700; color: var(--text); }
:root .console-auth-wide .login-form input { min-height: 48px; background: var(--surface-soft); border-color: var(--line); border-radius: 10px; color: var(--text); }
:root .console-auth-wide .login-form button { min-height: 48px; background: #086ec8; border-color: #086ec8; border-radius: 10px; color: #fff; }
:root .console-auth-wide .login-form label { color: var(--muted); font-weight: 600; }
:root .console-auth-wide :is(input, button, a):focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (max-width: 700px) { .console-auth-wide.login-page { padding: 12px; } }
