@font-face {
  font-family: "Console Display";
  src: url("/assets/console-display.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Portal Report";
  src: url("/assets/portal-heading.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@media screen {
  :root { zoom: 80%; }
}
:root {
  color-scheme: light;
  --navy: #00337a;
  --blue: #0079c2;
  --gold: #a28458;
  --page: #f3f6fa;
  --surface: #fff;
  --control: #f4f7fb;
  --line: #cfdae6;
  --ink: #142e50;
  --muted: #4e6279;
  --dim: #5c7085;
  --accent: #075c9d;
  --active-fill: #deedf9;
  --active-ink: #003c79;
  --series-a: #70c9ff;
  --series-b: #edc084;
  --up: #137056;
  --auth: #285f99;
  --down: #965313;
  --grid-line: #365572;
  --axis: #b8cde0;
  --radius: .72rem;
  --gutter: clamp(1rem, 4.3vw, 4.4rem);
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --display: "Console Display", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --report: "Portal Report", "Noto Serif CJK SC", "Songti SC", STSong, serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
}
.hero, .monitor-band, .kpi-grid, .analytics-grid {
  color-scheme: dark;
  --ink: #f2f7fd;
  --surface: #102e4e;
  --control: #0e2a47;
  --line: #395875;
  --muted: #bfd0df;
  --dim: #a9bfd2;
  --accent: #8bd5ff;
  --active-fill: #285379;
  --active-ink: #e8f6ff;
  --up: #95e7bf;
  --auth: #87cfff;
  --down: #ffcb8d;
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: linear-gradient(180deg,#edf3f9,#f8fafd 75%), var(--page); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
a, button, select, summary { -webkit-tap-highlight-color: transparent; }
:where(a, button, input, select, summary, canvas, [tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { color: #fff; background: #0963a2; }
[hidden], html:not(.enhanced) .js-only, html:not(.enhanced) .status-chip { display: none !important; }
.icon { flex: none; width: 1.13rem; height: 1.13rem; vertical-align: middle; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: .5rem; left: .5rem; z-index: 20; padding: .7rem 1rem; background: #fff; }
.site-width { width: min(100%, 96rem); margin-inline: auto; padding-inline: var(--gutter); }
.masthead { position: sticky; top: 0; z-index: 6; border-bottom: 1px solid #cfdae6; background: #fffffff5; backdrop-filter: blur(14px); box-shadow: 0 2px 12px #1333550c; }
.masthead-inner { display: flex; align-items: center; gap: clamp(.8rem, 1.6vw, 1.7rem); min-height: 4.55rem; }
.site-identity { flex: none; display: inline-flex; align-items: center; gap: .75rem; margin-right: clamp(.2rem, 1.4vw, 1.5rem); }
.brand-mark { position: relative; width: 2rem; height: 1.85rem; flex: none; background: linear-gradient(#0a85c2,#096eae) left bottom .27rem / .46rem 46% no-repeat, linear-gradient(#096eae,#064787) center bottom .27rem / .46rem 69% no-repeat, linear-gradient(#064787,#00337a) right bottom .27rem / .46rem 85% no-repeat; }
.brand-mark::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: #b9966d; }
.wordmark { display: grid; gap: .22rem; }
.wordmark strong { font: 700 1.18rem/1.25 var(--display); letter-spacing: .04em; color: var(--navy); }
.wordmark > span { color: #536c88; font: .75rem/1.15 var(--mono); letter-spacing: .065em; }
.primary-nav { display: flex; align-self: stretch; gap: clamp(.55rem, 1.25vw, 1.5rem); }
.nav-link { display: inline-flex; position: relative; align-items: center; justify-content: center; gap: .45rem; padding: .28rem .33rem; color: #435977; font-weight: 540; font-size: .9375rem; white-space: nowrap; }
.nav-link .icon { width: 1rem; height: 1rem; }
.nav-link:hover, .nav-link[aria-current=page] { color: var(--navy); }
.nav-link[aria-current=page]::after { content: ""; position: absolute; bottom: -1px; inset-inline: .25rem; height: 3px; border-radius: 3px; background: linear-gradient(90deg,var(--navy) 72%,#b9966d 72%); }
.nav-count, .result-count { display: inline-grid; place-items: center; min-width: 1.5rem; padding: .14rem .33rem; border: 1px solid #cedeec; border-radius: .36rem; background: #edf3fa; color: #365c83; font: .8rem/1.1 var(--mono); }
.workspace-search { display: flex; align-items: center; gap: .58rem; width: clamp(12.5rem, 19.5vw, 19.5rem); min-width: 0; margin-left: auto; padding: 0 .76rem; background: #f3f6fa; color: #506a86; border: 1px solid #d2deea; border-radius: .56rem; }
.workspace-search:focus-within { border-color: #4c91c3; box-shadow: 0 0 0 3px #2474b41b; }
.workspace-search .icon { width: 1rem; height: 1rem; }
.workspace-search input { width: 100%; flex: 1; min-width: 0; min-height: 2.45rem; border: 0; outline: 0; padding: .4rem 0; background: transparent; color: var(--ink); font-size: .875rem; }
.workspace-search input::placeholder { color: #596f85; text-overflow: ellipsis; }
.workspace-search kbd { border: 1px solid #c9d6e4; padding: .08rem .32rem; border-radius: .25rem; color: #566d83; font: .75rem/1.25 var(--mono); }
.add-button, .primary-button, .secondary-button, .dashboard-link { display: inline-flex; justify-content: center; align-items: center; gap: .45rem; min-height: 2.5rem; border-radius: .52rem; padding: .48rem .9rem; border: 1px solid transparent; font-size: .875rem; font-weight: 630; line-height: 1.4; white-space: nowrap; }
.add-button, .primary-button { color: #fff; background: linear-gradient(115deg,#00337a,#0065a7); }
.add-button:hover, .primary-button:hover { background: #074e91; box-shadow: 0 3px 12px #16477526; }
.add-button .icon, .dashboard-link .icon, .secondary-button .icon { width: 1rem; height: 1rem; }
.secondary-button, .dashboard-link { color: var(--active-ink); border-color: var(--line); background: var(--control); }
.secondary-button:hover, .dashboard-link:hover { border-color: #82aaca; background: var(--active-fill); }

.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid #54799b; background: radial-gradient(ellipse at 38% 105%,#13548eaa,transparent 62%), linear-gradient(112deg,#042454,#073877 68%,#113c69); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background-image: linear-gradient(#97c8f212 1px,transparent 1px),linear-gradient(90deg,#97c8f212 1px,transparent 1px); background-size: 76px 45px; mask-image: linear-gradient(110deg,#0009,black 36%,transparent 72%); }
.hero::after { position: absolute; content: ""; bottom: 0; left: 0; width: 63%; height: 1px; background: linear-gradient(90deg,transparent,#e6bd7de6 50%,#9fcbed75 86%,transparent); pointer-events: none; }
.hero-art { position: absolute; z-index: -1; inset-block: 0; right: max(0px, calc((100% - 108rem) / 2)); width: min(78%,83rem); overflow: hidden; pointer-events: none; mask-image: linear-gradient(90deg,transparent,black 28%,black); }
.hero-art picture, .hero-art img { display: block; width: 100%; height: 100%; }
.hero-art picture { transform: translate(var(--scene-x,0px), var(--scene-y,0px)) scale(1.025); transition: transform .42s ease-out; }
.hero-art img { object-fit: cover; object-position: 62% 50%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#07294fa8,transparent 25%,transparent 84%,#082a501a); }
.hero-inner { position: relative; min-height: clamp(19rem,24.5vw,23.1rem); display: flex; align-items: center; padding-block: 2.1rem; }
.hero-copy { position: relative; width: min(53%, 42rem); }
.hero-host, .sample-state, .sample-caption { display: inline-flex; align-items: center; gap: .43rem; margin: 0; font-variant-numeric: tabular-nums; }
.hero-host { color: #c8dfef; font: .82rem/1.55 var(--mono), sans-serif; }
.hero-host .icon { width: 1rem; height: 1rem; color: #e4c18a; }
.hero h1, .dashboard-intro h1 { margin: .63rem 0 0; color: #f5f9ff; font: 700 clamp(2.8rem,4.8vw,4.7rem)/1.22 var(--report); letter-spacing: .005em; }
.hero h1 span, .dashboard-intro h1 span { color: #f5d5a0; background: linear-gradient(105deg,#fff0c9,#e9c387 76%,#e1b372); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.personal-note { margin: .7rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.personal-note a { display: inline; color: var(--ink); text-decoration: underline; text-decoration-color: #8098ad; text-underline-offset: .24em; overflow-wrap: anywhere; }
.contact-address { display: inline-block; max-width: 100%; }
.personal-note a:hover { color: var(--accent); text-decoration-color: currentColor; }
.hero-stats { display: flex; align-items: stretch; margin: clamp(1.4rem, 2.1vw, 2rem) 0 0; }
.hero-stats > div { position: relative; display: flex; flex-direction: column-reverse; align-items: start; gap: .36rem; border-left: 1px solid #a5c4e455; padding-inline: clamp(1.1rem, 2.2vw, 2.15rem); }
.hero-stats > div:first-child { border: 0; padding-left: 0; }
.hero-stats dt { color: #d4e3f1; font-size: .875rem; line-height: 1.4; }
.hero-stats dd { margin: 0; color: #fff; font: 600 clamp(1.85rem, 2.8vw, 2.8rem)/1 var(--mono); letter-spacing: -.08em; }
#online-count { color: #c0e7ff; }
.hero-stats a[href] { text-decoration: underline dotted #caa578; text-underline-offset: .25em; }
.hero-stats a[href]::after { content: ""; position: absolute; inset: 0; }
.hero-stats a[href]:hover { color: var(--down); }
.hero-stats > div:has(a[href]) dd { color: var(--down); }
.signal-dock { position: absolute; right: var(--gutter); bottom: 1.05rem; width: min(20.8rem, 33%); padding: .75rem .9rem .68rem; border: 1px solid #97b9d577; border-radius: .65rem; background: linear-gradient(120deg,#05254cf5,#0c3459ea); box-shadow: 0 6px 20px #06203f55; backdrop-filter: blur(12px); }
.signal-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.signal-head h2 { margin: 0; font-size: .875rem; font-weight: 620; }
#last-check { color: #c6d9e9; font: .76rem/1.3 var(--mono), sans-serif; }
.probe-strip { display: flex; margin-block: .14rem .03rem; }
.probe-link { display: block; position: relative; min-width: 0; flex: 1; height: 1.5rem; border-radius: .2rem; }
[data-state=up] { --status: var(--up); }
[data-state=auth] { --status: var(--auth); }
[data-state=down] { --status: var(--down); }
[data-state=unknown], [data-state=personal] { --status: var(--dim); }
.probe-link::before { content: ""; position: absolute; inset: .37rem 1.5px; border-radius: 2px; background: var(--status); box-shadow: inset 0 -3px 0 #030c1a45, 0 0 6px color-mix(in srgb,var(--status) 30%,transparent); }
.probe-link:hover::before, .probe-link:focus-visible::before { inset-block: .22rem; }
.probe-caption { min-height: 1.13rem; color: #dce9f3; font-size: .75rem; line-height: 1.5; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.probe-key { display: flex; flex-wrap: wrap; gap: .32rem .85rem; }
.probe-key span { display: inline-flex; align-items: center; gap: .28rem; }
.probe-key span::before { content: ""; width: .37rem; height: .37rem; border-radius: 1px; background: var(--status); }
#probe-launch { color: #ffe2b0; flex: none; font-size: .875rem; padding-block: .15rem; text-decoration: underline; text-underline-offset: .2em; }
#probe-readout { color: #fff; }

.workspace { padding-top: 1.05rem; padding-bottom: 3.75rem; }
.surface { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.monitor-band { display: grid; grid-template-columns: minmax(9.5rem,.9fr) minmax(12rem,1.13fr) minmax(12rem,1.13fr) auto; align-items: center; gap: clamp(.8rem,2vw,2.2rem); padding: 1.02rem 1.3rem; background: linear-gradient(108deg,#052755,#07376b 54%,#124772); }
.monitor-ident { display: flex; align-items: center; gap: .73rem; }
.monitor-symbol { display: grid; place-items: center; flex: none; width: 2.65rem; height: 2.65rem; border: 1px solid #527497; border-radius: .65rem; color: #f0c88a; background: #174372; }
.monitor-ident h2 { margin: 0; font-size: 1.03rem; letter-spacing: .025em; }
.sample-caption, .sample-state { color: var(--muted); font-size: .8125rem; }
.sample-caption { margin-top: .22rem; }
.sample-caption::before, .sample-state::before { content: ""; flex: none; width: .4rem; height: .4rem; border-radius: 50%; background: #8b9daf; }
.sample-caption[data-state=fresh]::before, .sample-state[data-fresh=yes]::before { background: var(--up); box-shadow: 0 0 8px #63dc9d60; }
.sample-caption[data-state=stale]::before, .sample-state[data-fresh=no]::before { background: var(--down); }
.host-metric { display: grid; grid-template-columns: auto minmax(1.6rem,1fr); align-items: center; gap: .9rem; min-width: 0; border-left: 1px solid #6e95b866; padding-left: clamp(.85rem,1.7vw,1.7rem); }
.metric-value { display: grid; gap: .18rem; }
.metric-value span { color: #d2e3f0; font-size: .8125rem; white-space: nowrap; }
.metric-value strong { color: var(--ink); font: 600 1.43rem/1.1 var(--mono); letter-spacing: -.055em; }
progress { appearance: none; display: block; width: 100%; height: .31rem; padding: 0; border: 0; border-radius: 3px; overflow: hidden; background: #345675; color: var(--meter,var(--series-a)); }
progress::-webkit-progress-bar { background: #345675; }
progress::-webkit-progress-value { background: var(--meter,var(--series-a)); border-radius: 3px; }
progress::-moz-progress-bar { background: var(--meter,var(--series-a)); border-radius: 3px; }
.metric-value progress { height: 2px; margin-top: .2rem; }
#preview-memory-bar { --meter: var(--series-b); }
[data-spark] { --trace: var(--series-a); }
[data-spark=memory], [data-spark=tx] { --trace: var(--series-b); }
.mini-plot { display: block; width: 100%; height: 2.45rem; }
.dashboard-link { min-height: 2.3rem; }

#directory { margin-top: clamp(1.5rem,2.2vw,2.2rem); min-width: 0; container: catalog / inline-size; scroll-margin-top: 5.6rem; }
.directory-heading, .section-name, .view-tools, .panel-head, .filter-bar { display: flex; align-items: center; }
.directory-heading, .panel-head { justify-content: space-between; gap: .65rem; }
.section-name { gap: .62rem; min-width: 0; }
.section-name::before { content: ""; width: .26rem; height: 1.38rem; background: linear-gradient(var(--navy) 0 70%,#b9966d 70%); }
.section-name h2 { margin: 0; font-size: clamp(1.45rem,1.85vw,1.85rem); letter-spacing: -.035em; }
.result-count { color: #365d87; border-color: #d0dfec; background: #e8f0f8; }
.view-tools { gap: .58rem; }
.layout-switch, .range-options { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: .5rem; background: var(--control); }
.layout-switch button, .range-options button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: .32rem; background: transparent; color: var(--muted); }
.layout-switch button { width: 2.1rem; height: 1.9rem; }
.layout-switch .icon { width: 1rem; height: 1rem; }
.layout-switch button[aria-pressed=true], .range-options button[aria-pressed=true] { color: var(--active-ink); background: var(--active-fill); }
.filter-bar { margin: .8rem 0 1.05rem; }
.group-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .42rem; }
.group-link { display: inline-flex; align-items: baseline; gap: .44rem; min-height: 2.18rem; padding: .35rem .78rem; border: 1px solid #ccd9e6; border-radius: .4rem; background: #fff; color: #425c77; font-size: .875rem; }
.group-link:hover { background: #e9f2fa; color: var(--navy); }
.group-link[aria-current=true] { background: var(--navy); color: #fff; border-color: var(--navy); }
.group-count { font: .77rem var(--mono); }
.select-wrap { position: relative; flex: none; }
.select-wrap select, #service-form select { appearance: none; }
.select-wrap select { width: 100%; min-height: 2.28rem; padding: .36rem 1.8rem .36rem .72rem; border: 1px solid #cbd8e5; border-radius: .45rem; color: #38536e; background: #fff; font-size: .875rem; cursor: pointer; }
.select-wrap::after { content: ""; position: absolute; top: calc(50% - 4px); right: .68rem; width: .37rem; height: .37rem; border: solid #60778e; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.mobile-group { display: none; }
.attention { position: relative; }
.attention summary { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; list-style: none; min-height: 2.2rem; color: #83501f; font-size: .875rem; cursor: pointer; padding: .3rem .5rem; border-radius: .4rem; }
.attention summary::-webkit-details-marker { display: none; }
.attention summary .icon { width: 1rem; height: 1rem; }
.attention summary:hover, .attention[open] summary { background: #f3e8d6; }
#issue-count { display: inline-grid; place-items: center; min-width: 1.25rem; height: 1.25rem; padding-inline: .16rem; border-radius: .28rem; background: #f4e6d2; font: .77rem var(--mono); }
.attention-panel { position: absolute; z-index: 4; top: calc(100% + .35rem); right: 0; width: min(16.5rem,80vw); padding: .8rem 1rem; border: 1px solid #d3b994; border-radius: .65rem; background: #fffdf9; box-shadow: 0 10px 30px #173c632b; }
.attention ul { list-style: none; margin: 0; padding: 0; }
.attention li { display: flex; align-items: baseline; justify-content: space-between; gap: .65rem; padding: .4rem 0; }
.attention small { color: #80511e; font: .78rem var(--mono); }
.attention-link { display: inline-block; margin-top: .42rem; padding-block: .25rem; color: var(--accent); font-size: .875rem; }
.attention-link:hover { text-decoration: underline; }

.services { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .87rem; }
.service-card { --group: #416180; position: relative; min-width: 0; display: grid; grid-template-columns: 2.6rem minmax(0,1fr) auto; grid-template-rows: auto auto 1fr auto; grid-template-areas: "icon title actions" "icon group actions" "description description description" "footer footer footer"; align-items: center; column-gap: .66rem; padding: 1.12rem 1.12rem .83rem; border: 1px solid #d0dce7; border-radius: var(--radius); background: linear-gradient(124deg,color-mix(in srgb,var(--group) 4%,white),white 64%); transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease; box-shadow: 0 3px 12px -9px #193c6740; }
.service-card[data-group=strategy] { --group: #043f82; }
.service-card[data-group=market] { --group: #0074ad; }
.service-card[data-group=data] { --group: #385c91; }
.service-card[data-group=ops] { --group: #8b632d; }
.service-card::before { content: ""; position: absolute; left: 1.1rem; right: 45%; top: -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg,color-mix(in srgb,var(--group) 68%,transparent),transparent); }
.service-card:hover, .service-card:focus-within { border-color: color-mix(in srgb,var(--group) 55%,#dce7ef); box-shadow: 0 10px 25px -14px #23476a65; }
@media (hover: hover) and (pointer: fine) { .service-card:hover { transform: translateY(-3px); } }
.service-icon { grid-area: icon; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 1px solid color-mix(in srgb,var(--group) 22%,white); border-radius: .62rem; background: linear-gradient(135deg,color-mix(in srgb,var(--group) 13%,white),color-mix(in srgb,var(--group) 5%,white)); color: var(--group); }
.service-icon .icon { width: 1.34rem; height: 1.34rem; }
.service-card h3 { align-self: end; grid-area: title; margin: 0; color: #17365d; font-size: 1.13rem; font-weight: 680; line-height: 1.36; letter-spacing: -.025em; overflow-wrap: anywhere; }
.service-group { grid-area: group; align-self: start; margin-top: .16rem; color: #586c81; font-size: .79rem; line-height: 1.35; }
.card-actions { grid-area: actions; display: inline-flex; justify-self: end; align-self: start; margin: -.27rem -.37rem 0 0; }
.icon-button { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 2.05rem; height: 2.05rem; padding: 0; border: 0; border-radius: .38rem; background: transparent; color: #667e95; }
.icon-button .icon { width: 1rem; height: 1rem; }
.icon-button:hover { background: #e9f1f8; color: var(--navy); }
.favorite-button[aria-pressed=true] { background: #e3eef9; color: var(--navy); }
.favorite-button[aria-pressed=true] .icon { fill: #b4d9f4; }
.service-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.service-link:focus-visible { outline: none; }
.service-link:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 2px; }
.service-description { grid-area: description; align-self: start; margin: .81rem 0 .88rem; color: var(--muted); font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; }
.card-footer { grid-area: footer; display: flex; align-items: center; justify-content: space-between; min-width: 0; gap: .55rem; border-top: 1px solid #e0e8f0; padding-top: .67rem; }
.address { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: .78rem/1.4 var(--mono); color: #5b6f84; }
.status-chip { display: inline-flex; flex: none; align-items: center; gap: .3rem; color: var(--status); font-size: .78rem; line-height: 1.4; white-space: nowrap; }
.status-chip i { width: .37rem; height: .37rem; border-radius: 50%; background: currentColor; }
[data-state=auth] .status-chip i { background: transparent; border: 1.5px solid currentColor; }
[data-state=down] .status-chip i { border-radius: 1px; transform: rotate(45deg); }
.services[data-layout=list] { grid-template-columns: minmax(0,1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.services[data-layout=list] .service-card { grid-template-columns: 2.5rem minmax(0,1fr) minmax(9rem,1.45fr) minmax(9rem,.95fr) auto; grid-template-rows: auto auto; grid-template-areas: "icon title description footer actions" "icon group description footer actions"; column-gap: .82rem; padding: .82rem 1rem; border: 0; border-radius: .4rem; background: transparent; box-shadow: none; transform: none; }
.services[data-layout=list] .service-card::before { display: none; }
.services[data-layout=list] .service-card + .service-card { border-top: 1px solid #dce5ed; }
.services[data-layout=list] .service-card:hover { background: #f1f6fb; }
.services[data-layout=list] h3 { font-size: 1.05rem; }
.services[data-layout=list] .service-description { align-self: center; margin: 0; font-size: .9375rem; }
.services[data-layout=list] .card-footer { display: grid; justify-content: stretch; gap: .24rem; padding: 0; border: 0; }
.services[data-layout=list] .card-actions { align-self: center; margin: 0; }
.empty-state { display: grid; justify-items: center; padding: 2.6rem 1.15rem; text-align: center; border: 1px dashed #aec2d7; border-radius: var(--radius); background: #fff; }
.empty-state > .icon { width: 1.8rem; height: 1.8rem; color: var(--accent); }
.empty-state h3 { margin: .8rem 0 .25rem; }
.empty-state p { margin: 0 0 1.1rem; color: var(--muted); line-height: 1.6; }
.focused-directory .hero-inner { min-height: 8.6rem; padding-block: 1.3rem; }
.focused-directory .hero h1 { font-size: clamp(2.05rem,3.4vw,3rem); margin: 0; }
.focused-directory .hero-host, .focused-directory .hero-stats, .focused-directory .signal-dock, .focused-directory .monitor-band { display: none; }
.focused-directory .hero-art { opacity: .72; }
.focused-directory .hero-art img { object-position: 50% 42%; }
.focused-directory #directory { margin-top: .55rem; }

dialog { width: min(28.5rem,calc(100% - 1.6rem)); max-height: calc(100dvh - 1.6rem); padding: 1.55rem; border: 1px solid #bccddf; border-radius: 1rem; background: linear-gradient(140deg,#fff,#f3f7fb); box-shadow: 0 20px 70px #0d315756; color: var(--ink); }
dialog::backdrop { background: #071f3e99; backdrop-filter: blur(4px); }
.dialog-head, .dialog-actions { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.dialog-head h2 { margin: 0; font-size: 1.4rem; }
.dialog-note { margin: .45rem 0 .8rem; color: var(--muted); font-size: .9375rem; line-height: 1.65; }
#service-form { display: grid; }
#service-form label { margin: .64rem 0 .32rem; font-weight: 600; font-size: .9rem; }
#service-form label span { color: var(--muted); font-weight: 400; }
#service-form input, #service-form select { width: 100%; min-width: 0; min-height: 2.65rem; padding: .45rem .65rem; border: 1px solid #aebfd2; border-radius: .45rem; background-color: #fff; color: var(--ink); font-size: 1rem; }
#service-form select { padding-right: 2rem; background-image: linear-gradient(45deg,transparent 50%,#59708a 50%),linear-gradient(135deg,#59708a 50%,transparent 50%); background-position: calc(100% - 16px) 52%,calc(100% - 12px) 52%; background-size: 4px 4px; background-repeat: no-repeat; }
.dialog-actions { flex-wrap: wrap; justify-content: end; margin-top: 1.25rem; }
.delete-button { margin-right: auto; padding: .35rem; min-height: 2.45rem; border: 0; background: none; color: #954128; font-size: .875rem; }
.toast { position: fixed; bottom: 1.1rem; left: 50%; z-index: 9; transform: translateX(-50%); width: max-content; max-width: calc(100% - 2rem); padding: .65rem 1rem; border: 1px solid #486e95; border-radius: .55rem; background: #133b67; color: #fff; text-align: center; font-size: .9rem; }
.toast:empty { display: none; }

@container catalog (max-width: 70rem) {
  .services { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@container catalog (max-width: 51rem) {
  .services { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .services[data-layout=list] .service-card { grid-template-columns: 2.5rem minmax(0,1fr) minmax(7rem,.78fr) auto; grid-template-areas: "icon title footer actions" "icon group footer actions"; }
  .services[data-layout=list] .service-description { display: none; }
}
@container catalog (max-width: 38rem) {
  .directory-heading { display: grid; grid-template-columns: auto minmax(0,1fr) auto; grid-template-areas: "title title layout" "group state alert"; gap: .65rem .45rem; margin-bottom: .8rem; }
  .section-name { grid-area: title; }
  .view-tools { display: contents; }
  .layout-switch { grid-area: layout; justify-self: end; }
  .mobile-group { display: block; grid-area: group; }
  .status-select { grid-area: state; justify-self: start; }
  .attention { grid-area: alert; justify-self: end; }
  .filter-bar { display: none; }
}
@container catalog (max-width: 22rem) {
  .attention-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@container catalog (max-width: 32rem) {
  .services { grid-template-columns: minmax(0,1fr); }
  .services[data-layout=list] .service-card { grid-template-columns: 2.5rem minmax(0,1fr) auto; grid-template-areas: "icon title actions" "icon group actions" "footer footer footer"; row-gap: .12rem; }
  .services[data-layout=list] .card-footer { display: flex; justify-content: space-between; padding-top: .35rem; }
}
@media (max-width: 65rem) {
  .masthead-inner { gap: .75rem; }
  .primary-nav { gap: .5rem; }
  .site-identity { margin-right: .25rem; gap: .55rem; }
  .monitor-band { grid-template-columns: auto minmax(9rem,1fr) minmax(9rem,1fr) auto; gap: .75rem; padding: .9rem 1rem; }
  .host-metric { padding-left: .8rem; gap: .5rem; }
}
@media (max-width: 58rem) {
  .masthead { position: static; }
  .masthead-inner { display: grid; grid-template-columns: auto minmax(0,1fr) auto; grid-template-areas: "brand search add" "nav nav nav"; gap: .3rem .8rem; padding-top: .7rem; }
  .site-identity { grid-area: brand; margin: 0; }
  .workspace-search { grid-area: search; margin: 0; width: min(100%,20rem); justify-self: end; }
  .add-button { grid-area: add; }
  .primary-nav { grid-area: nav; gap: 1.3rem; }
  .nav-link { min-height: 2.6rem; }
  .hero-inner { min-height: 18rem; }
  .hero-copy { width: 60%; }
  .signal-dock { width: min(18.6rem,38%); right: var(--gutter); bottom: .8rem; }
  #directory { scroll-margin-top: 1rem; }
}
@media (max-width: 49rem) {
  .monitor-band { grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-areas: "host link" "cpu memory"; gap: .72rem 1rem; }
  .monitor-ident { grid-area: host; }
  .monitor-symbol { width: 2.15rem; height: 2.15rem; }
  .dashboard-link { grid-area: link; justify-self: end; }
  .host-metric { padding-top: .6rem; border-top: 1px solid #7396b457; padding-left: 0; border-left: 0; }
  .monitor-band .host-metric:nth-child(2) { grid-area: cpu; }
  .monitor-band .host-metric:nth-child(3) { grid-area: memory; }
}
@media (max-width: 40rem) {
  :root { --gutter: clamp(.85rem,4vw,1.28rem); }
  .masthead-inner { gap: .28rem .55rem; }
  .wordmark strong { font-size: 1rem; }
  .wordmark > span { font-size: .75rem; }
  .brand-mark { display: none; }
  .workspace-search { gap: .35rem; padding-inline: .5rem; }
  .workspace-search input { min-height: 2.4rem; font-size: 1rem; text-overflow: ellipsis; }
  .workspace-search kbd { display: none; }
  .add-button { padding-inline: .6rem; }
  .primary-nav { justify-content: space-between; gap: .35rem; }
  .nav-link { min-height: 2.55rem; padding-inline: .12rem; font-size: .875rem; }
  .hero-inner { min-height: 0; display: grid; align-content: end; gap: 1rem; padding-top: 1.65rem; padding-bottom: .8rem; }
  .hero-art { width: 100%; height: 100%; max-height: none; inset-inline: 0; mask-image: linear-gradient(90deg,#0002 0%,#0005 35%,#000c 70%,black); }
  .hero-art img { object-fit: cover; object-position: 64% center; }
  .hero-art::after { background: linear-gradient(0deg,#062754d9,transparent 65%),linear-gradient(90deg,#052855bb,transparent 87%); }
  .hero-copy { width: 100%; }
  .hero-host { font-size: .77rem; text-shadow: 0 1px 5px #082345; }
  .hero h1 { font-size: clamp(2.16rem,9.4vw,3.4rem); margin-top: .45rem; }
  .hero .personal-note { font-size: .875rem; margin-top: .5rem; text-shadow: 0 1px 5px #082345; }
  .hero-stats { margin-top: 1.1rem; }
  .hero-stats dd { font-size: 1.7rem; }
  .hero-stats dt { font-size: .8125rem; }
  .hero-stats > div { padding-inline: 1rem; gap: .2rem; }
  .hero-stats > div:first-child { padding-left: 0; }
  .signal-dock { position: relative; inset: auto; justify-self: stretch; width: auto; max-width: 24rem; padding: .56rem .75rem .46rem; }
  .probe-strip { margin-block: 0; }
  .probe-link { height: 1.32rem; }
  .probe-link::before { inset-block: .35rem; }
  .workspace { padding-top: .82rem; }
  .monitor-band { gap: .5rem .8rem; padding: .75rem .85rem; }
  .monitor-ident { gap: .5rem; }
  .monitor-ident h2 { font-size: .9375rem; }
  .sample-caption { font-size: .75rem; }
  .metric-value strong { font-size: 1.22rem; }
  .mini-plot { height: 2rem; }
  .dashboard-link { padding: .35rem .56rem; font-size: .8125rem; }
  #directory { margin-top: 1.3rem; }
  .service-card { padding: .95rem 1rem .76rem; }
  .select-wrap select { min-height: 2.3rem; }
  .focused-directory .hero-inner { min-height: 7.2rem; padding-block: 1rem; align-content: center; }
}
@media (max-width: 23rem) {
  .add-button { width: 2.4rem; padding: 0; }
  .add-button span, .primary-nav .icon { display: none; }
  .nav-link { gap: .23rem; }
  .attention summary { padding-inline: .22rem; gap: .22rem; }
  .select-wrap select { font-size: .8125rem; padding-left: .45rem; padding-right: 1.32rem; }
  .select-wrap::after { right: .48rem; }
  .monitor-symbol { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: console-reveal .55s ease-out both; }
  .hero::after { animation: trace-in 1.15s ease-out both; transform-origin: left; }
  @keyframes console-reveal { from { opacity: .65; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes trace-in { from { transform: scaleX(.1); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-art picture, .service-card:hover { transform: none; }
}
@media (forced-colors: active) {
  .hero h1 span, .dashboard-intro h1 span { -webkit-text-fill-color: CanvasText; }
  .probe-link::before { border: 1px solid LinkText; }
}
