/* Field manual: white surfaces, dark structure, colour for meaning. */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono/IBMPlexMono-Regular.560033d0c7f2.ttf") format("truetype");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-mono/IBMPlexMono-SemiBold.4c2f3714b6a4.ttf") format("truetype");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/ibm-plex-mono/IBMPlexMono-Bold.bb4d12d9aeeb.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --lc-bench: #fff;
  --lc-surface: #fff;
  --lc-ink: #202020;
  --lc-dim: #505050;
  --lc-blue: #2458a6;
  --lc-seam: #202020;
  --lc-inset: #fff;
  --lc-ok: #226648;
  --lc-warn: #855012;
  --lc-fail: #a32f3e;
  --lc-machine: #694491;
  --lc-section-gap: 16px;
  --lc-font: "IBM Plex Mono", ui-monospace, monospace;
  --lc-mono: var(--lc-font);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--lc-bench); color: var(--lc-ink); font: 15px/1.5 var(--lc-font); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .lc-service-name { overflow-wrap: anywhere; }
h1 { font-size: 30px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
h2 { font-size: 21px; font-weight: 600; line-height: 1.3; }
h3 { font-size: 16px; font-weight: 600; }
p { max-width: 75ch; }
a { color: var(--lc-blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, a, summary, input, select, textarea { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--lc-blue); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.lc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lc-skip { position: fixed; left: 16px; top: -100px; z-index: 10; background: var(--lc-surface); padding: 12px 20px; }
.lc-skip:focus { top: 12px; }
.lc-mono { font-family: var(--lc-mono); font-size: .9em; }
.lc-dim { color: var(--lc-dim); }
.lc-strong { font-weight: 600; }
.lc-spring { flex: 1; }
.lc-stack, .lc-fields { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lc-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; min-width: 0; }

/* The rail is navigation; the canvas, not the viewport, owns page layouts. */
.lc-page { display: grid; grid-template-columns: 208px minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 100dvh; }
.lc-banner { grid-column: 1 / -1; min-height: 60px; display: flex; align-items: center; gap: 24px; padding: 10px 28px; border-bottom: 1px solid var(--lc-seam); }
.lc-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--lc-ink); font-size: 21px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.lc-brand-mark { width: 32px; height: 32px; }
.lc-banner-domain { color: var(--lc-dim); padding-left: 24px; border-left: 1px solid var(--lc-seam); }
.lc-account { display: flex; align-items: center; gap: 24px; margin-left: auto; color: var(--lc-dim); min-width: 0; }
.lc-account a { color: inherit; overflow-wrap: anywhere; }
.lc-rail { --lc-rail-padding: 12px; border-right: 1px solid var(--lc-seam); padding: 16px var(--lc-rail-padding); }
.lc-rail > details { position: sticky; top: 16px; }
.lc-nav-group { margin-bottom: 16px; }
.lc-nav-group + .lc-nav-group { position: relative; padding-top: 13px; }
.lc-nav-group + .lc-nav-group::before { content: ""; position: absolute; top: 0; inset-inline: calc(-1 * var(--lc-rail-padding)); border-top: 1px solid var(--lc-seam); }
.lc-nav-label { display: block; color: var(--lc-ink); font-size: 17px; font-weight: 700; margin: 0 12px 6px; }
.lc-nav-item { display: block; padding: 9px 12px; margin: 2px 0; border: 2px solid transparent; color: var(--lc-ink); text-decoration: none; border-radius: 0; }
.lc-nav-item:hover { text-decoration: underline; }
.lc-nav-item[aria-current="page"] { border-color: var(--lc-ink); font-weight: 600; }
.lc-nav-item[aria-current="page"]:focus-visible { outline-offset: 2px; }
.lc-workspace { --lc-workspace-padding: clamp(20px, 3vw, 52px); min-width: 0; display: flex; flex-direction: column; padding: 16px var(--lc-workspace-padding) 0; }
.lc-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--lc-seam); }
.lc-heading, .lc-network-tabs, .lc-footer { margin-inline: calc(-1 * var(--lc-workspace-padding)); padding-inline: var(--lc-workspace-padding); }
.lc-heading-caption { color: var(--lc-dim); margin-top: 8px; }
.lc-heading > div:first-child { flex: 1 1 240px; min-width: 0; }
.lc-heading--overview h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 700; }
.lc-strip { display: flex; flex-wrap: wrap; gap: 24px; margin: 0; }
.lc-stat dt { color: var(--lc-dim); font-size: 13px; }
.lc-stat dd { margin: 0; font-weight: 600; font-size: 16px; }
.lc-body { display: flex; align-items: flex-start; gap: var(--lc-section-gap); flex: 1; min-width: 0; }
.lc-main { display: flex; flex-direction: column; gap: var(--lc-section-gap); flex: 1; min-width: 0; }
.lc-footer { margin-top: 24px; padding-block: 12px; border-top: 1px solid var(--lc-seam); display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--lc-dim); }
.lc-footer a { color: inherit; text-decoration: none; }

/* Home: service rows on the left, one equipment readout on the right. */
.lc-home { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lc-section-gap); }
.lc-home:not(:has(.lc-operations)) { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.lc-launcher, .lc-operations { min-width: 0; }
.lc-section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.lc-section-heading a { font-size: 14px; }
.lc-search { display: flex; align-items: center; gap: 12px; background: var(--lc-surface); border: 2px solid var(--lc-ink); border-radius: 0; padding: 0 14px; margin-bottom: 16px; color: var(--lc-dim); }
.lc-search:focus-within { outline: 3px solid var(--lc-blue); outline-offset: 2px; }
.lc-search input { border: 0; outline: none; background: none; color: var(--lc-ink); padding: 12px 0; font-size: 16px; width: 100%; min-width: 0; }
.lc-search svg { flex: none; }
.lc-service-group { margin-bottom: var(--lc-section-gap); border: 1px solid var(--lc-seam); }
.lc-service-group h3 { display: flex; align-items: baseline; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--lc-seam); }
.lc-service-group h3 span { font-size: 13px; font-weight: 400; color: var(--lc-dim); }
.lc-services { list-style: none; padding: 0; margin: 0; }
.lc-services li + li { border-top: 1px solid var(--lc-seam); }
.lc-service { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 8px 12px; color: var(--lc-ink); text-decoration: none; border-left: 3px solid transparent; }
.lc-service:hover, .lc-service:focus-visible { background: var(--lc-surface); border-left-color: var(--lc-blue); text-decoration: none; }
.lc-service-name { font-size: 17px; font-weight: 600; }
.lc-service-description { font-size: 14px; }
.lc-service-host { color: var(--lc-dim); font-size: 13px; overflow-wrap: anywhere; }
.lc-operations > .lc-section-heading:not(:first-child) { margin-top: 32px; }
.lc-empty { padding: 28px 0; color: var(--lc-dim); }
.lc-empty p { margin: 8px 0 20px; }

/* Readouts stay white: outlines separate instruments, colour explains values. */
.lc-readout { background: var(--lc-surface); color: var(--lc-ink); border: 1px solid var(--lc-seam); padding: 12px; border-radius: 0; }
.lc-readout-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; }
.lc-readout-head > div { min-width: 0; flex: 1; }
.lc-readout-head h2 { font-size: 24px; }
.lc-readout-head p { color: var(--lc-dim); font-size: 13px; margin-top: 4px; }
.lc-connection { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; border: 1px solid var(--lc-seam); padding: 6px 8px; }
.lc-connection::before { content: ""; width: 7px; height: 7px; background: var(--lc-dim); border-radius: 50%; }
.lc-connection--ok::before { background: var(--lc-ok); }
.lc-connection--fail::before { background: var(--lc-fail); }
.lc-traffic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 16px 0; }
.lc-traffic > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lc-traffic > div + div { padding-left: 20px; border-left: 1px solid var(--lc-seam); }
.lc-traffic span { color: var(--lc-dim); }
.lc-traffic strong { font-size: clamp(24px, 2.5vw, 36px); font-weight: 600; letter-spacing: -.03em; line-height: 1.3; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.lc-traffic small { color: var(--lc-dim); font-size: 12px; }
.lc-resources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lc-gauge label { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.lc-gauge meter { display: block; width: 100%; height: 12px; margin-top: 10px; border: 1px solid var(--lc-seam); background: var(--lc-surface); border-radius: 0; }
.lc-gauge meter::-webkit-meter-bar { background: var(--lc-surface); border: 0; height: 10px; border-radius: 0; }
.lc-gauge meter::-webkit-meter-optimum-value { background: var(--lc-blue); }
.lc-gauge meter::-webkit-meter-suboptimum-value { background: var(--lc-warn); }
.lc-gauge meter::-webkit-meter-even-less-good-value { background: var(--lc-fail); }
.lc-gauge meter::-moz-meter-bar { background: var(--lc-blue); }
.lc-gauge meter:-moz-meter-sub-optimum::-moz-meter-bar { background: var(--lc-warn); }
.lc-gauge meter:-moz-meter-sub-sub-optimum::-moz-meter-bar { background: var(--lc-fail); }
.lc-readout-facts { display: flex; flex-wrap: wrap; gap: 12px 16px; border-top: 1px solid var(--lc-seam); padding-top: 12px; margin: 16px 0 0; font-size: 13px; }
.lc-readout-facts dt { color: var(--lc-dim); }
.lc-readout-facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.lc-sample { font-size: 12px; color: var(--lc-dim); margin-top: 16px; }
.lc-readout--empty { min-height: 200px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.lc-readout--empty p { color: var(--lc-dim); }
.lc-live { min-width: 0; }
.lc-live-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; }
.lc-live-controls p { color: var(--lc-dim); font-size: 13px; flex: 1 1 180px; }
.lc-live[data-stale] .lc-live-controls p { color: var(--lc-fail); }
.lc-router-tables { margin-top: var(--lc-section-gap); }
@media (min-width: 901px) {
  .lc-main > .lc-live .lc-readout:not(.lc-readout--empty) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .lc-main > .lc-live .lc-readout-head, .lc-main > .lc-live .lc-readout-facts, .lc-main > .lc-live .lc-sample { grid-column: 1 / -1; }
  .lc-main > .lc-live .lc-traffic { margin: 8px 0; }
  .lc-main > .lc-live .lc-resources { align-content: center; }
  .lc-main > .lc-live .lc-readout-facts, .lc-main > .lc-live .lc-sample { margin-top: 0; }
}

/* Registers keep URL-based selection. Forms have a comfortable line length. */
.lc-tree-col { width: 188px; flex: 0 0 188px; position: sticky; top: 24px; }
.lc-tree { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.lc-tree ul { list-style: none; padding: 0 0 0 12px; margin: 0 0 16px; }
.lc-tree-row { display: flex; align-items: baseline; gap: 8px; padding: 9px 8px; border-left: 2px solid transparent; min-width: 0; }
.lc-tree-row--group { width: 100%; border: 0; background: none; text-align: left; color: var(--lc-dim); font-size: 13px; font-weight: 600; cursor: pointer; }
.lc-tree-label { flex: 1; min-width: 0; overflow-wrap: anywhere; color: inherit; text-decoration: none; }
a.lc-tree-label:hover { text-decoration: underline; }
.lc-tree-count { color: var(--lc-dim); }
.lc-tree-row.lc-selected { outline: 2px solid var(--lc-ink); outline-offset: -2px; font-weight: 600; }
.lc-caret { flex: none; width: 10px; }
.lc-caret::before { content: "+"; }
[data-open="true"] > .lc-tree-row > .lc-caret::before { content: "\2212"; }
[data-open="false"] > ul { display: none; }
.lc-disclosure > summary { display: none; }
.lc-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; gap: var(--lc-section-gap); min-width: 0; }
.lc-panel { min-width: 0; background: var(--lc-surface); border: 1px solid var(--lc-seam); }
.lc-panel--wide { grid-column: 1 / -1; }
.lc-panel--form { width: 100%; max-width: 42rem; }
.lc-panel-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; padding: 10px 12px; border-bottom: 1px solid var(--lc-seam); }
.lc-panel-name { font-size: 18px; font-weight: 600; min-width: 0; }
.lc-panel-sub { color: var(--lc-dim); font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
.lc-record-heading { font-size: 24px; }
.lc-panel-body { padding: 12px; }
.lc-panel-body--flush { padding: 0; }
.lc-panel--danger { grid-column: 1 / -1; background: none; border-top: 1px solid var(--lc-seam); }
.lc-panel--danger .lc-panel-head { border: 0; padding-left: 0; }
.lc-panel--danger .lc-panel-body { padding-left: 0; padding-right: 0; }
.lc-facts { display: grid; grid-template-columns: minmax(80px, auto) minmax(0, 1fr); gap: 8px 16px; margin: 0; }
.lc-facts dt { color: var(--lc-dim); }
.lc-facts dd { margin: 0; overflow-wrap: anywhere; }
.lc-facts + p { margin-top: 16px; }

/* Narrow tables become labelled records without losing their header semantics. */
.lc-table-wrap { min-width: 0; container-type: inline-size; }
.lc-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.lc-table th { text-align: left; color: var(--lc-dim); background: var(--lc-inset); font-weight: 600; }
.lc-table th, .lc-table td { padding: 6px 12px; overflow-wrap: anywhere; vertical-align: top; }
.lc-table td { border-bottom: 1px solid var(--lc-seam); }
.lc-table tr:last-child td { border-bottom: 0; }
.lc-table tbody tr:hover { background: var(--lc-inset); }
.lc-table .lc-num { text-align: right; font-variant-numeric: tabular-nums; }
.lc-table .lc-col-icon { width: 32px; padding-right: 0; }
.lc-table tr.lc-selected { outline: 2px solid var(--lc-ink); outline-offset: -2px; font-weight: 600; }
@container (max-width: 600px) {
  .lc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .lc-table, .lc-table tbody, .lc-table tr { display: block; }
  .lc-table tr { padding: 8px 12px; border-bottom: 1px solid var(--lc-seam); }
  .lc-table tr:last-child { border-bottom: 0; }
  .lc-table td { display: block; width: auto; border: 0; padding: 1px 0; }
  .lc-table td[data-label] { display: grid; grid-template-columns: 100px minmax(0, 1fr); column-gap: 12px; text-align: left; }
  .lc-table td[data-label]::before { content: attr(data-label); color: var(--lc-dim); font: 13px/1.5 var(--lc-font); grid-column: 1; }
  .lc-table td[data-label] > * { grid-column: 2; }
  .lc-table td.lc-col-icon { display: none; }
}

.lc-dot { display: inline-block; width: 7px; height: 7px; border: 1px solid var(--lc-dim); border-radius: 50%; vertical-align: middle; }
.lc-dot--ok { background: var(--lc-ok); border-color: var(--lc-ok); }
.lc-dot--warn { background: var(--lc-warn); border-color: var(--lc-warn); }
.lc-dot--fail { background: var(--lc-fail); border-color: var(--lc-fail); }
.lc-tick { width: 8px; flex: none; color: var(--lc-dim); }
.lc-tick::before { content: "\00b7"; }
.lc-tick--ok { color: var(--lc-ok); }
.lc-tick--ok::before { content: "\2713"; }
.lc-pill, .lc-panel-badge { display: inline-block; padding: 2px 7px; background: var(--lc-inset); color: var(--lc-dim); border-radius: 0; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; border: 1px solid currentColor; }
.lc-panel-badge { margin-left: auto; }
.lc-pill--ok, .lc-panel-badge--ok { color: var(--lc-ok); background: var(--lc-surface); }
.lc-pill--warn, .lc-panel-badge--warn { color: var(--lc-warn); background: var(--lc-surface); }
.lc-pill--fail, .lc-panel-badge--fail { color: var(--lc-fail); background: var(--lc-surface); }
.lc-pill--machine, .lc-panel-badge--machine { color: var(--lc-machine); background: var(--lc-surface); }
.lc-note { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 12px; border: 1px solid var(--lc-seam); border-left: 3px solid var(--lc-blue); background: var(--lc-inset); overflow-wrap: anywhere; }
.lc-note-label { font-weight: 600; }
.lc-note--ok { border-color: var(--lc-ok); }
.lc-note--warn { border-color: var(--lc-warn); }
.lc-note--fail { border-color: var(--lc-fail); }

.lc-fields { max-width: 42rem; }
.lc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lc-field > span { font-size: 14px; font-weight: 600; }
.lc-input { width: 100%; min-width: 0; padding: 9px 12px; border: 2px solid var(--lc-ink); border-radius: 0; background: var(--lc-surface); color: var(--lc-ink); font-size: 16px; line-height: 1.4; }
textarea.lc-input { resize: vertical; min-height: 100px; }
.lc-check-label { display: flex; align-items: flex-start; gap: 10px; }
.lc-check { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--lc-blue); flex: none; }
.lc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 14px; min-height: 40px; border: 2px solid var(--lc-ink); border-radius: 0; color: var(--lc-ink); background: var(--lc-surface); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.lc-btn:hover { text-decoration: underline; }
.lc-btn--primary { border-color: var(--lc-blue); background: var(--lc-surface); color: var(--lc-blue); }
.lc-btn--primary:hover { text-decoration: underline; }
.lc-btn--danger { color: var(--lc-fail); border-color: var(--lc-fail); }
.lc-btn--danger:hover { background: var(--lc-surface); }
.lc-btn:disabled, .lc-btn[aria-disabled="true"] { opacity: .65; cursor: wait; }
.lc-secret { display: block; padding: 16px; background: var(--lc-inset); font-family: var(--lc-mono); font-size: 14px; overflow-wrap: anywhere; }
.lc-target { padding: 12px 16px; background: var(--lc-inset); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.lc-target-host { overflow-wrap: anywhere; }
.lc-qr { display: block; max-width: 100%; height: auto; margin: 0 auto; padding: 12px; background: #fff; }
.lc-page--identity { grid-template-columns: minmax(0, 1fr); }
.lc-centered { display: flex; flex: 1; flex-direction: column; justify-content: center; align-items: center; gap: var(--lc-section-gap); padding: 12px 0; min-width: 0; }
.lc-centered > * { width: 100%; max-width: 480px; }
.lc-centered .lc-panel { border: 1px solid var(--lc-seam); }
.lc-identity-title { font-size: 26px; font-weight: 600; }

@media (max-width: 1150px) {
  .lc-body { flex-direction: column; }
  .lc-tree-col { width: 100%; flex: none; position: static; }
  .lc-tree-col > .lc-disclosure > summary { display: list-item; cursor: pointer; padding: 10px 0; }
  .lc-tree-col .lc-tree { max-width: 100%; }
  .lc-main { width: 100%; }
}
@media (max-width: 900px) {
  :root { --lc-section-gap: 12px; }
  .lc-page { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; }
  .lc-page--identity { grid-template-rows: auto 1fr; }
  .lc-banner { padding: 10px 20px; flex-wrap: wrap; gap: 12px; }
  .lc-banner-domain { display: none; }
  .lc-account { gap: 16px; font-size: 14px; }
  .lc-account a { padding: 6px 0; }
  .lc-rail { --lc-rail-padding: 20px; padding: 0 var(--lc-rail-padding); border-right: 0; border-bottom: 1px solid var(--lc-seam); }
  .lc-rail > details { position: static; }
  .lc-disclosure > summary { display: list-item; cursor: pointer; padding: 12px 0; min-height: 46px; font-weight: 600; }
  .lc-rail nav { display: flex; flex-direction: column; gap: 12px; padding-bottom: 16px; }
  .lc-nav-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; margin: 0; }
  .lc-nav-label { grid-column: 1 / -1; margin: 0 6px 2px; }
  .lc-nav-item { margin: 0; padding: 8px 6px; min-height: 44px; overflow-wrap: anywhere; }
  .lc-workspace { --lc-workspace-padding: 20px; }
  .lc-home { grid-template-columns: minmax(0, 1fr); }
  .lc-operations { border-top: 1px solid var(--lc-seam); padding-top: 12px; }
  .lc-tree-col { width: 100%; }
  .lc-tree-row { min-height: 44px; }
  .lc-tree-col .lc-tree { padding-bottom: 12px; }
  .lc-btn { min-height: 44px; }
  .lc-traffic strong { font-size: 30px; }
}
@media (max-width: 480px) {
  .lc-brand { font-size: 19px; }
  .lc-banner { padding: 10px 16px; }
  .lc-account { width: 100%; margin: 0; justify-content: space-between; }
  .lc-workspace { --lc-workspace-padding: 16px; }
  .lc-heading > div:first-child { flex: 1 1 240px; min-width: 0; }
  .lc-strip { gap: 16px; }
  .lc-traffic strong { font-size: 28px; }
  .lc-traffic > div + div { padding-left: 12px; }
  .lc-facts { grid-template-columns: 1fr; gap: 4px; }
  .lc-facts dd + dt { margin-top: 12px; }
}

/* Minecraft: one live readout, a bounded console, and direct operator controls. */
.lc-minecraft { display: flex; flex-direction: column; gap: var(--lc-section-gap); min-width: 0; }
.lc-minecraft-live-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.lc-minecraft-live-controls p { color: var(--lc-dim); flex: 1 1 260px; }
.lc-minecraft[data-stale] .lc-minecraft-live-controls p { color: var(--lc-fail); }
.lc-minecraft-readout { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.2fr); gap: var(--lc-section-gap); }
.lc-minecraft-readout .lc-readout-facts { grid-column: 1 / -1; margin-top: 0; }
.lc-minecraft-readout .lc-gauge small { display: block; color: var(--lc-dim); font-size: 12px; margin-top: 8px; }
.lc-minecraft-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr); gap: var(--lc-section-gap); align-items: start; min-width: 0; }
.lc-minecraft-actions { display: flex; flex-direction: column; gap: var(--lc-section-gap); min-width: 0; }
.lc-minecraft-help { margin-top: 16px; color: var(--lc-dim); font-size: 14px; }
.lc-minecraft-console-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 12px; }
.lc-minecraft-search { flex: 1 1 260px; }
.lc-minecraft-console-controls .lc-check-label { padding-bottom: 9px; }
.lc-minecraft-log, .lc-minecraft-output { margin: 0; background: var(--lc-surface); color: var(--lc-ink); font: 13px/1.55 var(--lc-mono); white-space: pre-wrap; overflow-wrap: anywhere; overflow: auto; }
.lc-minecraft-log { height: clamp(320px, 50vh, 620px); padding: 12px; border-top: 1px solid var(--lc-seam); }
.lc-minecraft-command-result { margin-top: 20px; }
.lc-minecraft-command-result h3 { margin-bottom: 8px; }
.lc-minecraft-output { max-height: 220px; padding: 12px; }

@media (max-width: 1050px) {
  .lc-minecraft-layout { grid-template-columns: minmax(0, 1fr); }
  .lc-minecraft-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-minecraft-actions > .lc-note { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .lc-minecraft-readout { grid-template-columns: minmax(0, 1fr); }
  .lc-minecraft-readout .lc-readout-facts { grid-column: auto; }
  .lc-minecraft-actions { display: flex; }
}

.lc-nas-free { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 16px 0; }
.lc-nas-free strong { font-family: var(--lc-mono); font-size: 28px; }
.lc-nas-free span { color: var(--lc-dim); }
.lc-sensor-help { display: inline-block; vertical-align: top; font-size: 13px; font-weight: normal; }
.lc-sensor-help summary { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--lc-seam); border-radius: 50%; cursor: pointer; list-style: none; color: var(--lc-ink); }
.lc-sensor-help summary::-webkit-details-marker { display: none; }
.lc-sensor-help summary:focus-visible { outline: 2px solid var(--lc-blue); outline-offset: 2px; }
.lc-sensor-help[open] { display: block; max-width: 38ch; }
.lc-sensor-help-body { border-left: 2px solid var(--lc-seam); padding-left: 10px; margin-top: 8px; white-space: normal; color: var(--lc-ink); }
.lc-sensor-help-body p { margin: 0 0 8px; }
.lc-sensor-help-body strong { display: block; font-size: 12px; }
.lc-thermal-sensor-name:has(.lc-sensor-help) { flex-wrap: wrap; }
.lc-thermal-sensor-name .lc-sensor-help[open] { flex-basis: 100%; order: 2; }

/* iLO: a thermal verdict, real threshold margins, then the sensor register. */
.lc-thermal { display: grid; gap: var(--lc-section-gap); }
.lc-thermal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lc-thermal-toolbar p { font-size: 13px; color: var(--lc-dim); }
.lc-thermal-toolbar time { color: var(--lc-ink); font-variant-numeric: tabular-nums; }
.lc-thermal-toolbar p > span { display: block; }
.lc-thermal-overview { display: grid; grid-template-columns: minmax(0, 1fr) 250px; }
.lc-thermal-verdict { display: flex; align-items: flex-start; gap: 12px; padding: 12px; }
.lc-thermal-verdict h2 { font-size: 28px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.lc-thermal-verdict p { max-width: 54ch; margin-top: 10px; color: var(--lc-dim); }
.lc-thermal-signal { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 50%; font-size: 26px; line-height: 1; color: var(--lc-dim); }
.lc-thermal-signal--ok { color: var(--lc-ok); }
.lc-thermal-signal--warn { color: var(--lc-warn); }
.lc-thermal-signal--fail { color: var(--lc-fail); }
.lc-thermal-counts { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 20px; font-size: 13px; font-variant-numeric: tabular-nums; }
.lc-thermal-clearance { border-left: 1px solid var(--lc-seam); padding: 12px; }
.lc-thermal-clearance > span { font-size: 13px; color: var(--lc-dim); }
.lc-thermal-clearance > strong { display: block; font-size: 42px; font-weight: 600; line-height: 1.2; margin: 4px 0; font-variant-numeric: tabular-nums; }
.lc-thermal-clearance small, .lc-thermal-value small { font-size: 18px; font-weight: 400; margin-left: 4px; }
.lc-thermal-clearance p { font-size: 13px; color: var(--lc-dim); }
.lc-thermal-board { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: var(--lc-section-gap); }
.lc-thermal-main { display: grid; gap: var(--lc-section-gap); min-width: 0; }
.lc-thermal-sensors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lc-thermal-sensor { padding: 12px; border-bottom: 1px solid var(--lc-seam); }
.lc-thermal-sensor { border-right: 1px solid var(--lc-seam); }
.lc-thermal-sensor:nth-child(3n) { border-right: 0; }
.lc-thermal-sensor-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lc-thermal-sensor-name h3 { font-size: 15px; font-weight: 600; }
.lc-thermal-sensor-name .lc-dot { flex-shrink: 0; }
.lc-thermal-value { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 10px 0 14px; }
.lc-thermal-value > strong { font-size: 34px; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.lc-thermal-value > span { font-size: 12px; color: var(--lc-dim); }
.lc-thermal-sensor--warn .lc-thermal-value > span { color: var(--lc-warn); }
.lc-thermal-sensor--fail .lc-thermal-value > span { color: var(--lc-fail); }
.lc-thermal-meter { display: block; width: 100%; height: 8px; border: 1px solid var(--lc-seam); border-radius: 0; background: var(--lc-bench); }
.lc-thermal-meter::-webkit-meter-bar { height: 6px; border: 0; border-radius: 0; background: var(--lc-bench); }
.lc-thermal-meter::-webkit-meter-optimum-value { background: var(--lc-blue); }
.lc-thermal-meter::-moz-meter-bar { background: var(--lc-blue); }
.lc-thermal-sensor--warn .lc-thermal-meter::-webkit-meter-optimum-value { background: var(--lc-warn); }
.lc-thermal-sensor--warn .lc-thermal-meter::-moz-meter-bar { background: var(--lc-warn); }
.lc-thermal-sensor--fail .lc-thermal-meter::-webkit-meter-optimum-value { background: var(--lc-fail); }
.lc-thermal-sensor--fail .lc-thermal-meter::-moz-meter-bar { background: var(--lc-fail); }
.lc-thermal-limit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 12px; color: var(--lc-dim); margin-top: 10px; }
.lc-thermal-footnote { padding: 12px; font-size: 13px; color: var(--lc-dim); }
.lc-thermal-fans { display: grid; gap: 12px; padding: 12px; }
.lc-thermal-fan > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 7px; }
.lc-thermal-fan strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.lc-thermal-fan p { font-size: 12px; margin-top: 4px; }
.lc-thermal-control { padding: 12px; border-top: 1px solid var(--lc-seam); }
.lc-thermal-control dl { margin: 0 0 20px; display: grid; gap: 8px; font-size: 13px; }
.lc-thermal-control dl > div { display: flex; justify-content: space-between; gap: 12px; }
.lc-thermal-control dt { color: var(--lc-dim); }
.lc-thermal-control dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.lc-thermal-control > p { font-size: 12px; margin-top: 12px; color: var(--lc-dim); }
.lc-thermal-floor { display: flex; gap: 8px; }
.lc-thermal-floor input { min-width: 0; width: 80px; flex: 1; }
.lc-thermal-floor button { white-space: nowrap; }
.lc-thermal-details > summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 10px 12px; list-style: none; }
.lc-thermal-details > summary::-webkit-details-marker { display: none; }
.lc-thermal-details > summary strong { font-size: 18px; font-weight: 600; }
.lc-thermal-details > summary > span > span { display: block; font-size: 13px; color: var(--lc-dim); margin-top: 2px; }
.lc-thermal-expand { font-size: 26px; font-weight: 400; }
.lc-thermal-details[open] .lc-thermal-expand { transform: rotate(45deg); }
.lc-thermal-details[open] > summary { border-bottom: 1px solid var(--lc-seam); }
.lc-thermal-table-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; }
.lc-thermal-table-tools p { font-size: 13px; color: var(--lc-dim); }
.lc-thermal-table-tools label { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.lc-thermal-table-tools label[hidden] { display: none; }
.lc-thermal-table-tools select { width: auto; }
.lc-thermal-sort-button { padding: 0; border: 0; color: inherit; background: none; font: inherit; font-weight: inherit; cursor: pointer; }
.lc-thermal-sort-button:disabled { cursor: default; }
.lc-thermal-table td small { display: block; color: var(--lc-dim); }
.lc-thermal-table .lc-dot { margin-right: 4px; }
@media (max-width: 1150px) {
  .lc-thermal-board { grid-template-columns: minmax(0, 1fr); }
  .lc-thermal-sensors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-thermal-sensor:nth-child(3n) { border-right: 1px solid var(--lc-seam); }
  .lc-thermal-sensor:nth-child(2n) { border-right: 0; }
  .lc-thermal-board > section:last-child { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-thermal-board > section:last-child > header { grid-column: 1 / -1; }
  .lc-thermal-control { border-top: 0; border-left: 1px solid var(--lc-seam); }
}
@media (max-width: 900px) {
  .lc-thermal-overview { grid-template-columns: minmax(0, 1fr); }
  .lc-thermal-clearance { border-left: 0; border-top: 1px solid var(--lc-seam); }
  .lc-thermal-sensors, .lc-thermal-board > section:last-child { grid-template-columns: minmax(0, 1fr); }
  .lc-thermal-sensor:nth-child(n) { border-right: 0; }
  .lc-thermal-control { border-left: 0; border-top: 1px solid var(--lc-seam); }
}
@media (max-width: 480px) {
  .lc-thermal-verdict h2 { font-size: 24px; }
  .lc-thermal-signal { flex-basis: 32px; width: 32px; height: 32px; font-size: 20px; }
  .lc-thermal-table-tools label { flex-wrap: wrap; }
}

/* Network browsing stays compact; operator tools open only when requested. */
.lc-network-options { border-top: 1px solid var(--lc-seam); }
.lc-network-options > summary { cursor: pointer; padding: 12px 0; min-height: 44px; font-weight: 600; }
.lc-network-options[open] > summary { margin-bottom: 12px; }
.lc-network-subnet th { padding: 10px 12px; border-block: 1px solid var(--lc-seam); color: var(--lc-ink); font-size: 16px; font-weight: 700; }
@container (max-width: 600px) {
  .lc-table .lc-network-subnet { padding: 0; border: 0; }
  .lc-network-subnet th { display: block; width: 100%; }
  .lc-table tbody:first-of-type .lc-network-subnet th { border-top: 0; }
}

.lc-network-filter, .lc-network-toolbar { align-items: flex-end; }
.lc-network-toolbar > form > .lc-btn { min-height: 44px; }
.lc-network-filter .lc-input, .lc-network-filter .lc-btn { min-height: 44px; }


.lc-network-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--lc-seam); }
.lc-network-tabs a { padding: 10px 14px; color: var(--lc-ink); text-decoration: none; border: 2px solid transparent; border-bottom: 0; }
.lc-network-tabs a:hover { background: var(--lc-inset); }
.lc-network-tabs a[aria-current="page"] { border-color: var(--lc-ink); font-weight: 600; }


/* Fixed artwork slots preserve layout while Canvas progressively enhances images. */
.lc-art { position: relative; display: block; flex: none; width: 220px; height: 100px; --art-fit: contain; --art-x: 50%; --art-y: 50%; }
.lc-art img, .lc-art canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.lc-art img { object-fit: var(--art-fit); object-position: var(--art-x) var(--art-y); }
.lc-art canvas { image-rendering: pixelated; visibility: hidden; }
.lc-art[data-art-ready] canvas { visibility: visible; }
.lc-art[data-art-ready] img { visibility: hidden; }
.lc-art--compact { width: 64px; height: 64px; --art-fit: cover; }
.lc-art--router { --art-fit: cover; }
.lc-art--users { --art-x: 75%; }
.lc-art--ilo-ml350 { --art-x: 55%; }
.lc-art--network { --art-y: 45%; }
.lc-art--readout { width: 100%; max-width: 520px; height: 150px; margin: 16px auto 0; justify-self: center; grid-column: 1 / -1; }
.lc-centered .lc-panel-head { align-items: center; }
.lc-centered .lc-panel-head .lc-art { margin-left: auto; }
@media (max-width: 1150px) {
  .lc-art:not(.lc-art--compact):not(.lc-art--readout) { width: 150px; height: 75px; }
}
@media (max-width: 480px) {
  .lc-art:not(.lc-art--compact):not(.lc-art--readout), .lc-art--compact { width: 64px; height: 64px; --art-fit: contain; --art-x: 50%; --art-y: 50%; }
  .lc-art--readout { height: 100px; }
  .lc-heading { display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: 16px 12px; }
  .lc-heading .lc-strip { grid-column: 1 / -1; }
  .lc-heading h1 { font-size: 26px; }
  .lc-traffic strong { font-size: clamp(20px, 6vw, 28px); }
}

/* Keep the complete lock and key visible even in compact identity headings. */
.lc-art.lc-art--identity { --art-fit: contain; }

/* Overview instruments use a pale blue bench, requested for the router readout. */
.lc-operations .lc-readout { --lc-surface: #edf4fa; background: var(--lc-surface); }
.lc-operations .lc-readout .lc-art { mix-blend-mode: multiply; }
.lc-router-image { position: relative; display: block; width: 100%; max-width: 520px; height: auto; aspect-ratio: 1700 / 450; overflow: hidden; margin: 16px auto 0; grid-column: 1 / -1; }
/* Keep the full source at the same scale as the cropped LED coordinate system. */
.lc-router-image .lc-art { position: absolute; width: 112.941176%; height: 265.333333%; max-width: none; left: -6.470588%; top: -91.111111%; margin: 0; }
.lc-router-image > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lc-router-leds circle { fill: url(#lc-router-led-dither); shape-rendering: crispEdges; opacity: 0; }
.lc-router-leds circle[data-animated] { animation: lc-router-blink var(--led-duration) steps(1, end) var(--led-delay) infinite; }
@keyframes lc-router-blink {
  0%, 13%, 46%, 78%, 100% { opacity: 0; }
  7%, 34%, 69% { opacity: .9; }
}
@media (prefers-reduced-motion: reduce) {
  .lc-router-leds circle[data-animated] { animation: none; }
}
.lc-home-health { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; border: 1px solid var(--lc-seam); padding: 10px 12px; font-size: 14px; }
.lc-home-health a { margin-left: auto; }
.lc-home-health-state--ok { color: var(--lc-ok); }
.lc-home-health-state--warn { color: var(--lc-warn); }
.lc-home-health-state--fail { color: var(--lc-fail); }
.lc-home-health-state--unknown { color: var(--lc-dim); }
