:root {
  color-scheme: light;
  --navy: #102640; --navy-dark: #0c1f36; --blue: #0f3f7a; --action: #17477f;
  --ink: #13243a; --muted: #526277; --line: #dce4ed; --paper: #fff; --ground: #f3f6fb;
  --risk: #a32025; --risk-bg: #fff0ef; --warn: #854a0f; --warn-bg: #fff2d9; --green: #20694f; --green-bg: #e5f5ec;
  --gold: #ffd171; --radius: 12px;
  --heading: 'Archivo', Arial, sans-serif; --body: 'Lato', Arial, sans-serif; --mono: 'Source Code Pro', Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--ground); font: 15px/1.5 var(--body); }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.13; }
h2 { font-size: 19px; letter-spacing: -.45px; }
h3 { font-size: 16px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, summary, select { cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
:focus-visible { outline: 3px solid #317ac9; outline-offset: 3px; }
::selection { background: #d2e6ff; color: #102640; }
.icon { font-family: 'Material Symbols Outlined'; font-size: 20px; font-weight: 400; line-height: 1; font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; white-space: nowrap; width: 1em; height: 1em; flex: 0 0 auto; overflow: hidden; display: inline-block; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.sr-only, .skip:not(:focus) { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 99; background: var(--paper); padding: 10px; }
.loading { padding: 28px; text-align: center; }
.button, .icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 7px; border: 1px solid transparent; font-weight: 900; white-space: nowrap; font-size: 13px; line-height: 1.25; transition: background .14s, border-color .14s, color .14s; }
.button { padding: 8px 15px; }
.button.small { min-height: 37px; padding: 6px 11px; }
.button .icon { font-size: 18px; }
.primary { background: var(--action); color: #fff; border-color: var(--action); }
.primary:hover:not(:disabled) { background: #0c3261; }
.secondary, .icon-button { background: var(--paper); color: var(--blue); border-color: var(--line); }
.secondary:hover, .icon-button:hover:not(:disabled) { background: #edf4fd; border-color: #a7bdd9; }
.icon-button { width: 42px; flex-shrink: 0; padding: 0; }
label { display: grid; gap: 6px; color: var(--ink); font-size: 13px; font-weight: 700; min-width: 0; }
input:not([type=checkbox]), select, textarea { min-width: 0; width: 100%; min-height: 40px; padding: 8px 10px; color: var(--ink); background: var(--paper); border: 1px solid #ccd8e5; border-radius: 7px; font-size: 14px; font-weight: 400; }
textarea { resize: vertical; }
input::placeholder { color: #637388; }
input[type=checkbox] { accent-color: var(--blue); width: 18px; height: 18px; margin: 3px 0 0; }
input:disabled, select:disabled { background: #eef2f7; color: var(--muted); cursor: default; }
.workspace { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; align-self: start; height: 100dvh; display: flex; flex-direction: column; background: var(--navy-dark); color: #d8e4f2; padding: 25px 16px 14px; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 10px; color: #fff; }
.sidebar .brand { margin: 0 8px 47px; }
.brand-mark { display: inline-flex; justify-content: center; align-items: center; gap: 3px; width: 36px; height: 36px; border-radius: 8px; background: var(--gold); color: var(--navy-dark); flex: none; }
.brand-mark i { background: currentColor; width: 4px; height: 18px; transform: skew(-14deg); border-radius: 1px; }
.brand-mark i:nth-child(2) { height: 13px; } .brand-mark i:nth-child(3) { height: 8px; }
.brand strong { font: 800 16px/1.1 var(--heading); letter-spacing: -.35px; display: block; white-space: nowrap; }
.brand strong span { color: #a9cbef; }
.brand small { display: block; margin-top: 3px; color: #b5c7dd; font: 600 10px/1.2 var(--mono); letter-spacing: .1em; }
.navigation { display: grid; gap: 4px; }
.nav-short { display: none; }
.nav-caption { margin: 0 12px 7px; color: #9db2ca; font: 600 10px/1.45 var(--mono); letter-spacing: .12em; }
.navigation a, .monitor-link { color: #c5d5e8; min-height: 44px; display: flex; gap: 10px; align-items: center; padding: 9px 11px; font-weight: 700; font-size: 14px; border-radius: 7px; }
.navigation a .icon, .monitor-link .icon { font-size: 19px; }
.navigation a:hover, .monitor-link:hover { background: #1b3551; color: white; }
.navigation a[aria-current=page] { background: #23466c; color: white; box-shadow: inset 3px 0 var(--gold); }
.navigation a[aria-current=page] .icon { color: var(--gold); }
.nav-count { margin-left: auto; border-radius: 4px; padding: 0 6px; background: #233b57; color: #deebf9; font: 600 11px/1.6 var(--mono); }
.sidebar-foot { margin-top: auto; }
.external { margin-left: auto; opacity: .7; }
.profile { min-width: 0; border-top: 1px solid #30435b; margin-top: 12px; padding: 14px 2px 0; display: flex; gap: 9px; align-items: center; }
.avatar { color: #d9eaff; background: #2c5179; width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; font: 700 11px/1 var(--mono); flex: none; }
.profile-text { min-width: 0; flex: 1; }
.profile strong, .profile small { display: block; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.profile strong { color: #fff; font-size: 12px; }
.profile small { color: #afc2d9; font-size: 11px; }
.logout { width: 34px; min-height: 34px; background: transparent; color: #c5d5e8; border-color: transparent; }
.logout:hover:not(:disabled) { color: #102640; }
.main-area { min-width: 0; }
.topbar { padding: 0 clamp(18px, 2.45vw, 38px); min-height: 69px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--paper); border-bottom: 1px solid var(--line); }
.breadcrumb, .top-actions, .connection { display: flex; align-items: center; gap: 8px; }
.breadcrumb { color: var(--muted); font-size: 13px; white-space: nowrap; }
.breadcrumb strong { color: var(--ink); }
.breadcrumb .icon { font-size: 16px; }
.top-actions { gap: 12px; }
.connection { white-space: nowrap; color: var(--muted); font: 600 11px var(--mono); }
.connection i, .eyebrow i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #26845d; flex: none; }
.connection.offline i { background: #b45314; }
.environment { color: #664416; background: #fff3d8; padding: 3px 7px; border-radius: 4px; font-size: 11px; font-weight: 900; }
.notify-button { position: relative; }
.notify-button i { position: absolute; top: 6px; right: 7px; width: 8px; height: 8px; border: 1px solid white; background: #be2a31; border-radius: 50%; }
.content { width: min(1520px, 100%); margin: 0 auto; padding: 26px clamp(18px, 2.45vw, 38px) 0; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .64fr); min-height: 185px; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff; border: 1px solid #163958; }
.hero-copy { padding: 26px clamp(20px, 2.45vw, 39px); align-self: center; }
.eyebrow { font: 600 11px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #b6cde8; }
.eyebrow i { background: var(--gold); margin-right: 5px; }
.hero h1, .page-intro h1, .monitor-heading h1 { font-size: clamp(36px, 4vw, 59px); letter-spacing: -.068em; font-weight: 800; margin: 8px 0 7px; }
.hero h1 span, .monitor-heading h1 span, .access-title strong span { color: var(--gold); }
.hero-copy > p:last-child { color: #c5d7ec; font-size: 14px; }
.hero-signal { isolation: isolate; display: grid; align-items: center; position: relative; padding: 18px 22px; min-width: 0; overflow: hidden; background: #12304e; border-left: 1px solid #31516f; }
.signal-art, .access-drawing { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; background: linear-gradient(90deg, #12304e 5%, transparent 96%), repeating-linear-gradient(90deg, #36567488 0 1px, transparent 1px 23px), repeating-linear-gradient(0deg, #36567488 0 1px, transparent 1px 23px); }
.signal-art i, .access-drawing i { position: absolute; top: 50%; right: 22px; transform: translate(0, -50%); width: 134px; aspect-ratio: 1; border: 1px solid #6c9bc765; border-radius: 50%; }
.signal-art i:nth-child(2), .access-drawing i:nth-child(2) { width: 174px; right: 2px; }
.signal-art i:nth-child(3), .access-drawing i:nth-child(3) { width: 214px; right: -18px; }
.signal-art i:nth-child(4), .access-drawing i:nth-child(4) { width: 82px; right: 48px; border-style: dashed; }
.signal-art i:nth-child(5), .access-drawing i:nth-child(5) { width: 9px; right: 85px; background: var(--gold); border: 0; box-shadow: 0 0 0 7px #ffd17128, 0 0 24px #ffd17180; }
.signal-art b, .access-drawing b { position: absolute; right: 89px; top: 0; bottom: 0; border-left: 1px dashed #93b3d259; }
.signal-info { width: fit-content; max-width: 74%; padding: 10px 12px; background: #102941ed; border: 1px solid #35516a; border-radius: 8px; }
.signal-label { font: 600 10px/1.15 var(--mono); letter-spacing: .06em; color: #fbd878; display: flex; align-items: center; gap: 6px; }
.signal-label .icon { font-size: 16px; }
.signal-info strong { display: block; color: #fff; line-height: 1.2; margin: 6px 0 4px; font: 700 16px/1.2 var(--heading); overflow-wrap: anywhere; }
.signal-info button { background: none; border: 0; color: #d0e5ff; padding: 3px 0; display: inline-flex; align-items: center; gap: 4px; text-align: left; font-size: 12px; font-weight: 700; }
.signal-info button:hover { text-decoration: underline; }
.signal-info button .icon { font-size: 15px; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0 23px; }
.metric { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 12px 14px; min-width: 0; display: grid; gap: 2px; }
.metric-head { display: flex; align-items: center; justify-content: space-between; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 900; }
.metric-head .icon, .panel-icon { color: var(--blue); font-size: 18px; }
.metric strong { font: 800 clamp(24px, 2.65vw, 36px)/1.17 var(--heading); letter-spacing: -.055em; }
.metric strong small { font: 700 13px var(--body); color: var(--muted); letter-spacing: 0; }
.metric p { color: var(--muted); font-size: 12px; }
.metric.risk { background: #fff7f6; border-color: #f1d3d0; }
.metric.risk .metric-head, .metric.risk .icon, .metric.risk strong { color: var(--risk); }
.queue-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(218px, 25%); gap: 16px; align-items: start; }
.queue-layout.solo { grid-template-columns: minmax(0, 1fr); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 17px 17px 13px; }
.panel-heading p, .page-intro p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.queue-tabs { display: flex; gap: 12px; padding: 0 17px; border-bottom: 1px solid var(--line); }
.queue-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 8px 1px 9px; font-weight: 900; font-size: 13px; }
.queue-tabs button[aria-pressed=true] { color: var(--blue); border-bottom-color: #1c5593; }
.queue-tabs button span { display: inline-block; margin-left: 2px; padding: 1px 5px; border-radius: 4px; background: #edf2f8; font: 600 11px var(--mono); }
.filter-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(108px, 145px) auto; gap: 9px; align-items: center; padding: 12px 17px; }
.filter-bar select, .filter-bar input { font-size: 13px; min-height: 37px; }
.search { position: relative; display: block; }
.search .icon { position: absolute; left: 9px; top: 9px; color: var(--muted); font-size: 18px; }
.search input { padding-left: 33px; }
.filter-details { position: relative; }
.filter-details summary { list-style: none; }
.filter-details summary::-webkit-details-marker { display: none; }
.filter-details[open] summary { background: #edf4fd; }
.filter-pop { position: absolute; right: 0; top: calc(100% + 7px); z-index: 2; display: grid; width: 250px; max-width: calc(100vw - 42px); gap: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 8px 25px #14294625; }
.table-wrap { overflow-x: auto; }
.ticket-table { border-collapse: collapse; width: 100%; text-align: left; }
.ticket-table th { font: 700 10px/1.35 var(--mono); text-transform: uppercase; letter-spacing: .035em; color: #485b72; background: #edf2f8; }
.ticket-table td, .ticket-table th { padding: 9px 8px; }
.ticket-table td:first-child, .ticket-table th:first-child { padding-left: 17px; }
.ticket-table td:last-child, .ticket-table th:last-child { padding-right: 15px; text-align: right; }
.ticket-table td { border-bottom: 1px solid #e7edf4; font-size: 12px; }
.ticket-table tr:last-child td { border-bottom: 0; }
.ticket-table tr.critical { background: #fff7f6; }
.ticket-table .critical td:first-child { box-shadow: inset 3px 0 #c6363d; }
.ticket-table tbody tr:hover { background-color: #f0f5fc; }
.ticket-table tbody tr.critical:hover { background-color: #ffefed; }
.ticket-table .occurrence { width: 43%; }
.row-title { font-size: 13px; font-weight: 900; overflow-wrap: anywhere; display: block; }
.row-meta { display: block; margin-top: 2px; color: var(--muted); overflow-wrap: anywhere; }
.row-meta b { font: 600 10px var(--mono); color: var(--blue); }
.row-open { width: 34px; min-height: 34px; }
.badge { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 3px 7px; border-radius: 5px; line-height: 1.3; font-size: 11px; font-weight: 900; background: #edf2f8; color: #455669; }
.badge .icon { font-size: 13px; }
.badge.info { background: #e6f0fc; color: #15528d; }
.badge.high { background: var(--warn-bg); color: var(--warn); }
.badge.critical { background: #fbe3e2; color: var(--risk); }
.badge.good { background: var(--green-bg); color: var(--green); }
.queue-footer { padding: 8px 15px; min-height: 47px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.pagination { display: flex; align-items: center; gap: 7px; white-space: nowrap; font: 600 11px var(--mono); }
.pagination button { width: 31px; min-height: 31px; }
.overview-aside { display: grid; gap: 14px; }
.sector-bars { display: grid; gap: 10px; padding: 0 17px 12px; }
.sector-bar { width: 100%; min-width: 0; display: grid; text-align: left; gap: 5px; background: none; border: 0; padding: 1px 0; color: var(--ink); }
.sector-bar:hover .sector-label { color: var(--blue); text-decoration: underline; }
.sector-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; }
.sector-label b { font: 600 12px var(--mono); }
.bar { height: 6px; background: #eaf0f7; border-radius: 5px; }
.bar span { display: block; height: 100%; background: #2860a0; border-radius: inherit; }
.sector-bar:nth-child(2) .bar span { background: #388478; }
.sector-bar:nth-child(3) .bar span { background: #657db1; }
.sector-bar:nth-child(4) .bar span { background: #a47730; }
.panel-link { display: flex; gap: 7px; align-items: center; padding: 11px 17px; border-top: 1px solid var(--line); color: var(--blue); font-size: 13px; font-weight: 900; }
.panel-link:hover { background: #f2f7fd; border-radius: 0 0 var(--radius) var(--radius); }
.panel-link .icon { font-size: 16px; }
.safety-card { display: flex; gap: 9px; padding: 13px 12px; border: 1px solid #e9d6ae; background: #fff7e5; color: #624615; border-radius: var(--radius); }
.safety-card h2 { font-size: 13px; letter-spacing: 0; margin-bottom: 4px; }
.safety-card p { font-size: 12px; line-height: 1.4; }
.safety-card > .icon { color: #80530c; }
.empty { padding: 26px 16px; color: var(--muted); text-align: center; }
.ticket-table .empty { padding: 24px 16px; text-align: center; }
.page-intro { margin: 0 0 22px; }
.page-intro h1 { font-size: clamp(31px, 4vw, 49px); }
.sector-view, .admin-view { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sector-card .panel-heading { border-bottom: 1px solid var(--line); }
.sector-action { margin: 0 17px 15px; }
.sector-metrics { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 6px; padding: 15px 17px; }
.sector-metrics div { min-width: 0; }
.sector-metrics dt { font-size: 12px; color: var(--muted); }
.sector-metrics dd { font: 700 26px var(--heading); }
.main-footer { display: flex; justify-content: space-between; gap: 8px; padding: 20px 0 17px; color: var(--muted); font-size: 11px; }
.main-footer > span:first-child { font-family: var(--mono); font-weight: 700; letter-spacing: .07em; }
.main-footer > span > span { color: #8b5700; }
.audit-view { padding: 16px 19px; }
.settings-panel .panel-heading { border-bottom: 1px solid var(--line); }
.settings-item { padding: 9px 16px; display: flex; align-items: center; justify-content: space-between; gap: 7px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.settings-item:last-child { border-bottom: 0; }
.settings-item small { display: block; color: var(--muted); }
dialog { color: var(--ink); border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 0; width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); box-shadow: 0 18px 70px #070e2044; overflow: auto; }
dialog::backdrop { background: #09192ba6; }
dialog.drawer { width: min(535px, 100%); height: 100dvh; max-height: none; margin: 0 0 0 auto; border-radius: 0; border-width: 0 0 0 1px; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 19px 19px 15px; border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 1; }
.dialog-head h2 { font-size: 23px; overflow-wrap: anywhere; }
.dialog-head p { color: var(--muted); margin-top: 5px; }
.dialog-head .mono { color: var(--blue); font-size: 12px; margin: 0 0 6px; }
.dialog-body { padding: 16px 19px 19px; }
.form-stack { display: grid; gap: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.optional { display: inline; color: var(--muted); font-size: 11px; }
.route-hint { color: var(--blue); font-size: 13px; }
.check-row { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 9px; background: #edf3fa; padding: 9px 10px; border-radius: 7px; cursor: pointer; }
.check-row small { display: block; font-weight: 400; color: var(--muted); margin-top: 2px; }
.duplicate-warning { background: var(--warn-bg); }
.form-error, .error-banner { color: var(--risk); background: var(--risk-bg); }
.form-error, .banner { padding: 9px 11px; border-radius: 7px; font-size: 13px; }
#workspace-error { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.dialog-actions { border-top: 1px solid var(--line); padding-top: 11px; display: flex; justify-content: flex-end; gap: 8px; }
.ticket-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #f6f9fd; margin: 0 0 17px; }
.ticket-details dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.ticket-details dd { overflow-wrap: anywhere; }
.detail-note { padding-bottom: 15px; overflow-wrap: anywhere; white-space: pre-wrap; }
#assume-button { justify-self: start; }
.ticket-history { border-top: 1px solid var(--line); margin-top: 15px; padding-top: 14px; }
.timeline { list-style: none; padding: 0; margin-top: 10px; display: grid; }
.timeline li { border-left: 1px solid #ccd9ea; position: relative; margin-left: 4px; padding: 0 0 14px 13px; overflow-wrap: anywhere; }
.timeline li::before { content: ''; position: absolute; left: -4px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: #32659d; }
.timeline li:last-child { padding-bottom: 3px; }
.timeline li p { color: var(--muted); font-size: 13px; white-space: pre-wrap; }
.timeline li small { color: var(--muted); font-size: 11px; }
.timeline .timeline-control { background: none; border: 0; color: var(--blue); font-weight: 900; padding: 0; text-align: left; }
.timeline-control:hover { text-decoration: underline; }
.toast { z-index: 5; background: var(--navy); color: #fff; position: fixed; bottom: 18px; right: 18px; max-width: min(390px, calc(100vw - 36px)); padding: 12px 16px; border-radius: 8px; box-shadow: 0 8px 28px #1127403b; }
.access { min-height: 100dvh; display: grid; grid-template-columns: 1fr .8fr; }
.access-art { isolation: isolate; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 25px; padding: clamp(25px, 6vw, 86px); color: #fff; background: var(--navy); overflow: hidden; }
.access-title { margin: auto 0; }
.access-title > strong { display: block; letter-spacing: -.065em; font: 800 clamp(44px, 7vw, 108px)/.98 var(--heading); letter-spacing: -.075em; margin: 14px 0 16px; }
.access-title p { max-width: 300px; color: #c3d7ed; }
.access-drawing { background-color: #12304e; transform: scale(1.4); opacity: .72; }
.access-body { display: grid; place-items: center; padding: 28px 20px; }
.access-form { width: min(410px, 100%); }
.access-form h1 { font: 800 clamp(25px, 4vw, 40px)/1.07 var(--heading); letter-spacing: -.053em; }
.access-form form { margin-top: 18px; }
.access-form > p { margin-top: 7px; }
.demo-form { border-top: 1px solid var(--line); padding-top: 14px; }
.access-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 13px; color: var(--blue); font-weight: 900; }
.access-link:hover { text-decoration: underline; }
.public-monitor { color: #ecf4fd; background: var(--navy-dark); min-height: 100dvh; padding: clamp(18px, 5vw, 65px); }
.monitor-header, .monitor-heading, .monitor-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.monitor-heading { padding-block: clamp(26px, 5vw, 56px) 22px; }
.monitor-heading label, .monitor-heading p:last-child { color: #bccfe6; }
.monitor-heading label { min-width: 145px; }
.monitor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.monitor-card { border: 1px solid #476482; background: #163250; padding: clamp(13px, 2.4vw, 26px); border-radius: var(--radius); }
.monitor-card h2 { display: flex; justify-content: space-between; gap: 6px; align-items: center; font-size: clamp(19px, 2.4vw, 30px); }
.monitor-card .sector-metrics { padding: 14px 0 0; grid-template-columns: repeat(4, 1fr); row-gap: 9px; }
.monitor-card dt, .monitor-footer { color: #c6d8ee; }
.monitor-card.risk { border-color: #f19492; }
.monitor-footer { font-size: 13px; margin-top: 18px; flex-wrap: wrap; }
.monitor-footer a { display: inline-flex; align-items: center; gap: 6px; }
.monitor-footer a:hover { text-decoration: underline; }
@media (max-width: 1210px) { .queue-layout { grid-template-columns: minmax(0, 1fr) 222px; } .ticket-table .occurrence { width: 40%; } }
@media (max-width: 1080px) { .queue-layout { grid-template-columns: minmax(0, 1fr); } .overview-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } .workspace { grid-template-columns: 184px minmax(0, 1fr); } .sidebar { padding-inline: 10px; } }
@media (max-width: 780px) {
  .workspace { display: block; }
  .sidebar { position: static; height: auto; padding: 10px 13px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .sidebar .brand { margin: 0; }
  .nav-caption, .profile-text, .avatar, .monitor-link .external, .monitor-link > span:nth-child(2), .nav-count { display: none; }
  .navigation { grid-row: 2; grid-column: 1/-1; display: flex; overflow: auto; margin-top: 8px; padding: 0 3px 4px; }
  .navigation a { white-space: nowrap; gap: 5px; min-height: 39px; font-size: 12px; padding: 7px; }
  .navigation a .icon { font-size: 16px; }
  .sidebar-foot { display: flex; align-items: center; gap: 5px; margin: 0; }
  .monitor-link { min-height: 38px; padding: 7px; }
  .profile { margin: 0; padding: 0; border: 0; }
  .topbar { min-height: 56px; padding-inline: 13px; }
  .breadcrumb > span, .connection { display: none; }
  .top-actions { gap: 6px; }
  .content { padding: 14px 12px 0; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(200px, .65fr); }
  .hero-copy { padding: 19px 15px; }
  .hero-signal { padding: 12px; }
  .metrics { gap: 8px; margin-bottom: 15px; }
  .metric { padding: 10px; }
  .access { grid-template-columns: minmax(0, 1fr); }
  .access-title > strong { font-size: clamp(37px, 8vw, 66px); }
  .access-title > strong br { display: none; }
  .access-art { gap: 18px; }
}
@media (max-width: 550px) {
  .navigation { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); overflow: visible; padding-bottom: 6px; gap: 2px; }
  .navigation a { flex-direction: column; justify-content: center; gap: 4px; min-height: 47px; padding: 5px 1px; font-size: 10px; }
  .navigation a[aria-current=page] { box-shadow: inset 0 -2px var(--gold); }
  .nav-long { display: none; }
  .nav-short { display: inline; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-signal { border-left: 0; border-top: 1px solid #31516f; padding: 9px 13px; }
  .signal-info { padding: 8px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector-view, .monitor-grid, .admin-view, .overview-aside { grid-template-columns: minmax(0, 1fr); }
  .panel-heading { padding: 13px 10px 10px; align-items: center; }
  .queue-tabs { padding-inline: 10px; gap: 9px; }
  .filter-bar { padding-inline: 10px; grid-template-columns: minmax(0, 1fr) auto; }
  .search { grid-column: 1/-1; }
  .ticket-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .ticket-table, .ticket-table tbody { display: block; }
  .ticket-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, auto) 34px; gap: 5px; padding: 9px 9px 9px 11px; border-bottom: 1px solid var(--line); align-items: center; }
  .ticket-table tbody tr:last-child { border-bottom: 0; }
  .ticket-table td, .ticket-table td:first-child, .ticket-table td:last-child { border: 0; padding: 0; text-align: left; }
  .ticket-table .occurrence { width: 100%; grid-column: 1/4; }
  .ticket-table .critical td:first-child { box-shadow: none; }
  .ticket-table .critical { box-shadow: inset 3px 0 #c6363d; }
  .ticket-table .action-cell { grid-row: 1/3; grid-column: 4; }
  .ticket-table .empty { grid-column: 1/-1; }
  .monitor-heading { align-items: start; flex-direction: column; }
  .monitor-card .sector-metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .topbar { justify-content: flex-end; }
  .breadcrumb { display: none; }
  .top-actions { width: 100%; }
  .top-actions .environment { margin-right: auto; }
  .top-actions .notify-button { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
