@import "../../site/src/theme.css";
@font-face {
font-family: "Geist Variable";
font-style: normal;
font-display: swap;
font-weight: 100 900;
src: url("@fontsource-variable/geist/files/geist-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
font-family: "Geist Mono Variable";
font-style: normal;
font-display: swap;
font-weight: 100 900;
src: url("@fontsource-variable/geist-mono/files/geist-mono-latin-wght-normal.woff2") format("woff2-variations");
}
:root {
--ok: light-dark(#3f6b2a, #9fcf86);
--warn: light-dark(#8a5a00, #f0c060);
--bad: var(--md-sys-color-error);
--muted: var(--md-sys-color-on-surface-variant);
--line: var(--md-sys-color-outline-variant);
--panel: var(--md-sys-color-surface-container-low);
}
body { min-height: 100dvh; }
.shell { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 100dvh; }
.top {
grid-column: 1 / -1;
display: flex; align-items: center; gap: var(--space-200);
padding: var(--space-100) var(--space-300);
border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: var(--space-75); font-weight: 600; font-size: var(--text-base); line-height: var(--leading-base); }
.brand-mark { width: 24px; height: 24px; flex: none; display: block; }
.brand, .top lit-material-button { flex: none; white-space: nowrap; }
.top .spacer { flex: 1; }
.top .meta { color: var(--muted); font-size: var(--text-sm); line-height: var(--leading-sm); font-family: var(--font-mono); }
.nav { border-right: 1px solid var(--line); padding: var(--space-200) var(--space-75); }
main { padding: var(--space-400) var(--space-300) var(--space-700); max-width: 1120px; width: 100%; box-sizing: border-box; min-width: 0; }
main:focus { outline: none; }
@media (min-width: 840px) { .nav { width: 240px; box-sizing: border-box; } }
@media (max-width: 599.98px) {
.shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; }
.nav { grid-row: 3; position: sticky; bottom: 0; z-index: 5; padding: 0; border: 0; }
main { grid-row: 2; padding: var(--space-300) var(--space-200) var(--space-400); }
.top { padding: var(--space-100) var(--space-200); }
.top .meta { display: none; }
.brand-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
[slot="icon"] { width: 24px; height: 24px; }
.icon { display: inline-flex; width: 20px; height: 20px; flex: none; }
.icon lit-material-icon { width: 100%; height: 100%; }
h1 { font-size: var(--text-2xl); line-height: var(--leading-2xl); margin-bottom: var(--space-75); }
h2 { font-size: var(--text-lg); line-height: var(--leading-lg); }
.lede { color: var(--muted); margin: 0 0 var(--space-400); max-width: 680px; }
.section { margin-top: var(--space-500); }
.section > h2 { margin-bottom: var(--space-200); }
.grid { display: grid; gap: var(--space-200); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.row { display: flex; align-items: center; gap: var(--space-200); flex-wrap: wrap; }
.tile {
background: var(--panel);
border: 1px solid var(--line);
border-radius: var(--md-sys-shape-corner-large);
padding: var(--space-200);
}
.tile .label { color: var(--muted); font-size: var(--text-sm); line-height: var(--leading-sm); }
.tile .value { font-size: var(--text-2xl); line-height: var(--leading-2xl); font-weight: 600; font-variant-numeric: tabular-nums; margin-top: var(--space-50); overflow-wrap: anywhere; }
.tile .value.mono { font-family: var(--font-mono); font-size: var(--text-base); line-height: var(--leading-base); font-weight: 500; }
.error-text { color: var(--bad); font-size: var(--text-sm); line-height: var(--leading-sm); margin: var(--space-75) 0 0; }
.login { min-height: 100dvh; display: grid; place-items: center; padding: var(--space-300) var(--space-200); box-sizing: border-box; }
.login-card { width: 100%; max-width: 400px; }
.login-card h1 { display: flex; align-items: center; gap: var(--space-75); }
.login-card form { display: grid; gap: var(--space-200); margin-top: var(--space-300); }
.login-card p { color: var(--muted); margin: 0; }
lit-material-stat.mono::part(value) { font-family: var(--font-mono); font-size: var(--text-base); line-height: var(--leading-base); font-weight: 500; }
lit-material-stat { --lit-material-stat-positive-color: var(--ok); }
lit-material-status { --lit-material-status-ok-color: var(--ok); --lit-material-status-warning-color: var(--warn); }
lit-material-log-viewer { --lit-material-log-viewer-height: 60dvh; --lit-material-log-viewer-font: var(--font-mono); }
lit-material-table { --lit-material-table-mono-font: var(--font-mono); }
lit-material-line-chart, lit-material-sparkline {
--lit-material-chart-series-1: var(--md-sys-color-primary);
}
lit-material-text-field { min-width: 0; }
.filter { width: 100%; max-width: 420px; margin-bottom: var(--space-200); }
lit-material-alert { display: block; margin-bottom: var(--space-300); }
.grid > lit-material-stat { height: 100%; }
.t-head { position: sticky; top: 0; z-index: 3; background: var(--md-sys-color-surface); padding-top: var(--space-50); margin-top: calc(-1 * var(--space-50)); }
.t-head h1 { margin-bottom: var(--space-200); }
.t-bar-top { display: flex; align-items: center; gap: var(--space-200); flex-wrap: wrap; }
.t-spacer { flex: 1; }
.t-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.t-seg button {
font: inherit; font-size: var(--text-sm); line-height: var(--leading-sm); color: var(--md-sys-color-on-surface);
background: none; border: 0; padding: var(--space-75) var(--space-200); cursor: pointer; white-space: nowrap;
}
.t-seg button + button { border-left: 1px solid var(--line); }
.t-seg button[aria-pressed="true"] { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); font-weight: 600; }
.t-seg button:focus-visible, .t-tabs button:focus-visible, .t-row:focus-visible, .t-kpi:focus-visible, .t-chip:focus-visible, .t-more:focus-visible {
outline: 2px solid var(--md-sys-color-primary); outline-offset: 2px;
}
.t-custom input {
font: inherit; font-size: var(--text-sm); color: var(--md-sys-color-on-surface); background: var(--panel);
border: 1px solid var(--line); border-radius: var(--md-sys-shape-corner-small); padding: var(--space-75) var(--space-100);
color-scheme: light dark;
}
.t-select { position: relative; display: inline-flex; }
.t-select select {
appearance: none; -webkit-appearance: none;
font: inherit; font-size: var(--text-sm); line-height: var(--leading-sm); color: var(--md-sys-color-on-surface);
background: none; border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
padding: var(--space-75) calc(var(--space-200) + 14px) var(--space-75) var(--space-200);
max-width: 240px; text-overflow: ellipsis; color-scheme: light dark;
}
.t-select::after {
content: ""; position: absolute; right: var(--space-200); top: 50%; width: 6px; height: 6px; pointer-events: none;
border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg);
}
.t-select select:hover { background: color-mix(in srgb, var(--md-sys-color-on-surface) 4%, transparent); }
.t-select select:focus-visible { outline: 2px solid var(--md-sys-color-primary); outline-offset: 2px; }
.t-check input { accent-color: var(--md-sys-color-primary); width: 16px; height: 16px; margin: 0; }
.t-check { display: inline-flex; align-items: center; gap: var(--space-50); font-size: var(--text-sm); color: var(--muted); cursor: pointer; }
.t-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.t-live { display: inline-flex; align-items: center; gap: var(--space-75); font-size: var(--text-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.t-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.t-dot[data-on="true"] { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.t-custom { display: flex; align-items: center; gap: var(--space-200); flex-wrap: wrap; margin-top: var(--space-200); font-size: var(--text-sm); }
.t-custom label { display: inline-flex; align-items: center; gap: var(--space-75); }
.t-chips { display: flex; gap: var(--space-75); flex-wrap: wrap; margin-top: var(--space-200); }
.t-chip {
font: inherit; font-size: var(--text-sm); line-height: var(--leading-sm); cursor: pointer;
background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container);
border: 0; border-radius: 999px; padding: var(--space-50) var(--space-200);
}
.t-chip.t-clear { background: none; color: var(--md-sys-color-primary); }
.t-notice { margin: var(--space-200) 0 0; font-size: var(--text-sm); color: var(--muted); }
.t-tabs { display: flex; gap: var(--space-50); margin-top: var(--space-200); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.t-tabs button {
font: inherit; font-size: var(--text-sm); line-height: var(--leading-sm); font-weight: 500; color: var(--muted);
background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
padding: var(--space-100) var(--space-200); cursor: pointer; white-space: nowrap;
}
.t-tabs button[aria-selected="true"] { color: var(--md-sys-color-on-surface); border-bottom-color: var(--md-sys-color-primary); }
[role="tabpanel"] { padding-top: var(--space-300); }
.t-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--line); border-radius: var(--md-sys-shape-corner-large); overflow: hidden; background: var(--panel); }
.t-kpi {
font: inherit; text-align: left; color: inherit; background: none; border: 0; cursor: pointer;
display: grid; gap: var(--space-25); padding: var(--space-200); border-bottom: 3px solid transparent;
}
.t-kpi + .t-kpi { border-left: 1px solid var(--line); }
.t-kpi:disabled, .t-kpi[aria-disabled="true"] { cursor: default; }
.t-kpi[aria-pressed="true"] { border-bottom-color: var(--md-sys-color-primary); background: color-mix(in srgb, var(--md-sys-color-primary) 6%, transparent); }
.t-kpi:not(:disabled):not([aria-pressed="true"]):hover { background: color-mix(in srgb, var(--md-sys-color-on-surface) 4%, transparent); }
.t-kpi-label { font-size: var(--text-sm); line-height: var(--leading-sm); color: var(--muted); }
.t-kpi-value { font-size: var(--text-2xl); line-height: var(--leading-2xl); font-weight: 600; font-variant-numeric: tabular-nums; }
.t-kpi-delta { font-size: var(--text-sm); line-height: var(--leading-sm); color: var(--muted); font-variant-numeric: tabular-nums; min-height: var(--leading-sm); }
.t-kpi-delta[data-tone="good"] { color: var(--ok); }
.t-kpi-delta[data-tone="bad"] { color: var(--bad); }
.t-chart { margin-top: var(--space-300); --lit-material-chart-series-2: var(--md-sys-color-outline); }
.t-cards { display: grid; gap: var(--space-200); grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); align-items: start; margin-top: var(--space-300); }
.t-card { overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--md-sys-shape-corner-large); padding: var(--space-200); min-width: 0; }
.t-card header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: var(--space-200); row-gap: var(--space-25); margin-bottom: var(--space-100); }
.t-card h3 { white-space: nowrap; font-size: var(--text-base); line-height: var(--leading-base); font-weight: 600; margin: 0; }
.t-hint { font-size: var(--text-sm); line-height: var(--leading-sm); color: var(--muted); }
.t-none { color: var(--muted); font-size: var(--text-sm); margin: var(--space-100) 0; }
.t-rank { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.t-rank > li { min-width: 0; }
.t-row {
position: relative; display: flex; align-items: center; gap: var(--space-100); width: 100%; box-sizing: border-box;
font: inherit; font-size: var(--text-sm); line-height: var(--leading-sm); color: inherit; text-align: left;
background: none; border: 0; border-radius: var(--md-sys-shape-corner-small); padding: var(--space-75) var(--space-100);
}
button.t-row { cursor: pointer; }
button.t-row:hover .t-name { text-decoration: underline; }
.t-bar { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: color-mix(in srgb, var(--md-sys-color-primary) 14%, transparent); pointer-events: none; }
.t-name { position: relative; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-code { font-family: var(--font-mono); font-size: 0.85em; color: var(--muted); margin-right: var(--space-75); }
.t-num { position: relative; font-variant-numeric: tabular-nums; white-space: nowrap; display: inline-flex; align-items: center; gap: var(--space-75); }
.t-more { font: inherit; font-size: var(--text-sm); color: var(--md-sys-color-primary); background: none; border: 0; cursor: pointer; padding: var(--space-75) var(--space-100) 0; }
.t-card lit-material-sparkline { display: block; margin-bottom: var(--space-100); }
.t-foot { color: var(--muted); font-size: var(--text-sm); line-height: var(--leading-sm); margin-top: var(--space-200); max-width: 720px; }
.t-loading { display: grid; gap: var(--space-200); }
@media (max-width: 599.98px) {
.t-head { position: static; }
.t-kpi + .t-kpi { border-left: 0; }
.t-kpis { grid-template-columns: repeat(2, 1fr); }
.t-kpi { border-top: 1px solid var(--line); }
}
.t-tabs-empty { margin-top: var(--space-100); }
.t-chart-multi { --lit-material-chart-series-2: var(--md-sys-color-tertiary, #6b8f71); --lit-material-chart-series-3: var(--md-sys-color-outline); }
.t-wide { grid-column: 1 / -1; }
.t-map-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-300); align-items: center; }
@media (max-width: 719.98px) { .t-map-row { grid-template-columns: minmax(0, 1fr); } }
.t-map { margin: 0; }
.t-map svg { display: block; width: 100%; height: auto; }
.t-map path { fill: color-mix(in srgb, var(--md-sys-color-on-surface) 9%, transparent); stroke: var(--panel); stroke-width: 0.6; stroke-linejoin: round; }
.t-map path.on { fill: color-mix(in srgb, var(--md-sys-color-primary) var(--level), transparent); }
.t-map path.can { cursor: pointer; }
.t-map path.on:hover { stroke: var(--md-sys-color-on-surface); stroke-width: 1; }
.t-map-big { padding: var(--space-300); }