@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: block; src: url(/static/fonts/InterVariable.woff2?v=693b77d4f32e) format("woff2"); }
*, ::before, ::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
a { color: inherit; text-decoration: none; }
body { margin: 0; background: #171717; font-family: Inter, system-ui, sans-serif; color: #e5e5e5f2; }
button { all: unset; box-sizing: border-box; cursor: pointer; }
.row { display: flex; flex-direction: row; align-items: center; flex-shrink: 0; }
.col { display: flex; flex-direction: column; align-items: flex-start; }
.grow { flex: 1 1 0; min-width: 0; }
.nw { white-space: nowrap; }
svg.ic { display: block; flex-shrink: 0; overflow: visible; }

.t14 { font-size: 14px; line-height: 20px; }
.t13 { font-size: 13px; line-height: 19px; }
.t12 { font-size: 12px; line-height: 16px; }
.t11 { font-size: 11px; line-height: 16px; }
.c1 { color: #e5e5e5f2; }
.c2 { color: #e5e5e5b3; }
.c3 { color: #e5e5e580; }
.warn { color: #f0883e; }
.ok { color: #3FA266; }
.danger { color: #E5484D; }
.w500 { font-weight: 500; }

.canvas { width: 1240px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 40px; padding-bottom: 80px; overflow: hidden; position: relative; }
.top { width: 100%; display: flex; flex-direction: column; gap: 20px; padding: 24px 10px 0; }
.nav { width: 1166px; margin: 0 auto; justify-content: space-between; display: grid; grid-template-columns: 1fr auto 1fr; }
.nav .logo { justify-self: start; }
.navend { justify-self: end; }
.logo { gap: 9px; }
.logo svg { width: 28px; height: 20.5px; }
.wordmark { font-size: 25px; font-weight: 600; letter-spacing: -0.6px; line-height: normal; }
.tabs { gap: 8px; }
.tab { height: 32px; padding: 6px 12px; gap: 4px; border-radius: 8px; font-size: 14px; font-weight: 500; letter-spacing: -0.07px; line-height: 20px; }
.tab.on { background: #e5e5e51a; }
.user { white-space: nowrap; padding: 6px 12px; font-size: 14px; font-weight: 500; letter-spacing: -0.07px; line-height: 20px; }
.hr { width: 1182px; height: 1.5px; background: #e5e5e51a; border-radius: 999px; position: relative; overflow: hidden; }
.upbar b { position: absolute; inset: 0 auto 0 0; background: #3987e5; box-shadow: 0 0 8px #3987e5; transition: width .6s ease-out; }
.upbar b.warn { background: #f0883e; box-shadow: 0 0 8px #f0883e; }

.main { width: 1166px; display: flex; flex-direction: column; gap: 32px; position: relative; z-index: 1; }
.head { justify-content: space-between; padding-top: 32px; }
.h1 { margin: 0; font-size: 24px; font-weight: 600; line-height: 32px; }
.btn { gap: 6px; padding: 6px 12px; border-radius: 8px; background: #e5e5e51a; font-size: 14px; font-weight: 500; line-height: 20px; color: #e5e5e5f2; }
.btn.primary { background: #e5e5e5f2; color: #171717; }
.sbtn { gap: 6px; padding: 5px 10px; border-radius: 8px; background: #e5e5e51a; font-size: 13px; font-weight: 500; line-height: 19px; justify-content: center; }
.sbtn.primary { background: #e5e5e5f2; color: #171717; }
.more { padding: 5px; border-radius: 8px; background: #e5e5e51a; }

.card { width: 100%; background: #1c1c1c; border-radius: 12px; box-shadow: 0 0 1px #252525; display: flex; flex-direction: column; overflow: hidden; }
.chead { width: 100%; gap: 12px; padding: 16px; background: #232323; border-radius: 0; box-shadow: 0 0 1px #252525; font-size: 16px; line-height: 19px; }
.chead .meta { font-size: 12px; line-height: 17px; color: #e5e5e580; }
.mesh { gap: 6px; }
.ic.wg { width: 75px; height: 12px; }
.ic.wg.sm { width: 68.7px; height: 11px; align-self: center; }
.ic.wgmark { width: 20px; height: 20px; }
.line { width: 100%; box-shadow: inset 0 1px #e5e5e50d; gap: 12px; padding: 12px 16px; }
.dot { border-radius: 50%; flex-shrink: 0; width: 6px; height: 6px; background: #3FA266; }
.dot.warn { background: #f0883e; }
.dot.big { width: 8px; height: 8px; }
.dot.off { background: #e5e5e580; }

.av { width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0; overflow: hidden; position: relative; outline: 1px solid #e5e5e51a; outline-offset: -0.5px; background: #232323 center / cover no-repeat; }
.av.glyph { display: flex; align-items: center; justify-content: center; }
.av .pg { position: absolute; left: 5px; top: 5px; width: 18px; height: 18px; background: url(/static/icons/postgres-elephant.png?v=ff92fb5d12a7) center / contain no-repeat; }
.av .brand { position: absolute; left: 6px; top: 6px; width: 16px; height: 16px; }
.av .kc { position: absolute; left: 5px; top: 7.4px; width: 18px; height: 13.2px; }
.av.hetzner { background: #D50C2D; color: #fff; }
.av.clickhouse { color: #FAFF69; }

.alert { padding: 14px 16px; }

.stats { width: 100%; gap: 12px; align-items: flex-start; }
.stat { flex: 1 1 0; background: #1c1c1c; border-radius: 12px; box-shadow: 0 0 1px #252525; gap: 8px; padding: 14px 16px; }
.stat .lab { font-size: 12px; font-weight: 500; line-height: 12px; color: #e5e5e5b3; }
.stat .val { font-size: 24px; letter-spacing: -0.4px; line-height: 26px; }
.pill { width: 14px; height: 4px; border-radius: 2px; background: #3FA266; flex-shrink: 0; }
.pill.warn { background: #f0883e; }

.thead { width: 100%; box-shadow: inset 0 1px #e5e5e50d; gap: 12px; padding: 8px 16px; font-size: 11px; font-weight: 500; letter-spacing: 0.3px; line-height: 16px; color: #e5e5e580; }
.svc { position: relative; }
.svc .svclink::after { content: ""; position: absolute; inset: 0; }
.svc .more { position: relative; z-index: 1; }
.svc.open, .svc:hover { background: #e5e5e508; }
.svc.open .more { background: #e5e5e533; }
.badge { padding: 1px 6px; border-radius: 99px; background: #e5e5e51a; font-size: 10px; line-height: 15px; color: #e5e5e5b3; }
.spark { width: 216px; height: 24px; gap: 2px; align-items: flex-end; flex-shrink: 0; display: flex; }
.spark i { flex: 1 1 0; border-radius: 1.5px; background: #e5e5e540; }
.spark i.warn { background: #f0883e; }
.w64 { width: 64px; flex-shrink: 0; text-align: right; }
.w56 { width: 56px; flex-shrink: 0; text-align: right; }
.w216 { width: 216px; flex-shrink: 0; }
.w180 { width: 180px; flex-shrink: 0; }
.budget { width: 180px; gap: 10px; }
.track { flex: 1 1 0; height: 6px; border-radius: 3px; background: #e5e5e51a; position: relative; overflow: hidden; }
.track b { position: absolute; left: 0; top: 0; height: 6px; border-radius: 3px; background: #3FA266; }
.track b.warn { background: #f0883e; }
.pct { width: 38px; flex-shrink: 0; text-align: right; font-size: 12px; line-height: 17px; }

.split { width: 100%; gap: 16px; align-items: flex-start; }
.activity { width: 440px; flex: none; }
.ev { align-items: flex-start; }
.evic { width: 28px; height: 28px; border-radius: 99px; background: #232323; outline: 1px solid #e5e5e51a; outline-offset: -0.5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.foot { width: 100%; box-shadow: inset 0 1px #e5e5e50d; padding: 12px 16px; justify-content: center; display: flex; }

.nodes { width: 100%; box-shadow: inset 0 1px #e5e5e50d; gap: 12px; padding: 16px; align-items: flex-start; }
.node { flex: 1 1 0; background: #171717; border-radius: 10px; box-shadow: 0 0 1px #252525; gap: 12px; padding: 14px; }
.node .row { width: 100%; gap: 10px; }
.mlab { width: 32px; flex-shrink: 0; font-size: 11px; font-weight: 500; line-height: 16px; color: #e5e5e580; }
.mval { width: 32px; flex-shrink: 0; font-size: 11px; line-height: 16px; color: #e5e5e5b3; text-align: right; }
.mtrack { flex: 1 1 0; height: 4px; border-radius: 2px; background: #e5e5e51a; position: relative; overflow: hidden; }
.mtrack b { position: absolute; left: 0; top: 0; height: 4px; border-radius: 2px; background: #e5e5e599; }
.mtrack b.warn { background: #f0883e; }

.menu { position: absolute; inset: auto; margin: 0; top: calc(anchor(bottom) + 6px); right: anchor(right); width: 232px; padding: 6px; background: #202020; border: 0; border-radius: 10px; box-shadow: 0 8px 24px #00000099; outline: 1px solid #e5e5e51f; outline-offset: -0.5px; color: inherit; flex-direction: column; }
.menu:popover-open { display: flex; }
.mi { width: 100%; gap: 10px; padding: 7px 8px; border-radius: 6px; color: #e5e5e5b3; }
:is(button, a).mi:hover, .mi:focus-visible, .mi.active { background: #e5e5e512; outline: none; }
.mi .lbl { flex: 1 1 0; color: #e5e5e5f2; font-size: 13px; line-height: 19px; }
.mi.danger, .mi.danger .lbl { color: #E5484D; }
.mi kbd { font: inherit; font-size: 11px; line-height: 16px; color: #e5e5e580; }
.sep { width: 100%; height: 1px; background: #e5e5e50d; flex-shrink: 0; }

.dlg { width: 460px; padding: 0; border: 0; outline: 1px solid #e5e5e51f; outline-offset: -1px; border-radius: 12px; background: #1c1c1c; color: inherit; box-shadow: 0 24px 64px #000000b3; overflow: hidden; }
.dlg::backdrop { background: #0000006f; inset: -100000px; }
.dbody { padding: 20px; gap: 16px; display: flex; flex-direction: column; }
.dhead { gap: 12px; }
.dhead .av { width: 32px; height: 32px; border-radius: 8px; }
.dtitle { font-size: 16px; font-weight: 500; line-height: 22px; }
.rel { background: #171717; border-radius: 10px; padding: 12px; gap: 12px; width: 100%; }
.rel .col { gap: 1px; }
.effects { gap: 8px; display: flex; flex-direction: column; }
.effects .row { gap: 9px; align-items: flex-start; }
.cli { background: #171717; border-radius: 8px; padding: 9px 12px 7px; width: 100%; justify-content: space-between; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 17px; }
.archives { gap: 2px; max-height: 208px; overflow-y: auto; background: #171717; border-radius: 10px; padding: 4px; width: 100%; }
.archives > .t13 { padding: 7px 8px; }
.archives label { gap: 10px; padding: 7px 8px; border-radius: 6px; cursor: pointer; font-size: 13px; line-height: 19px; }
.archives label:hover { background: #e5e5e512; }
.archives label:has(input:checked) { background: #e5e5e51a; }
.archives input { margin: 0; accent-color: #E5484D; }
.dfoot { background: #171717; box-shadow: inset 0 1px #e5e5e50d; padding: 14px 20px; gap: 8px; }

.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; max-width: 100%; }
.acts, .hbtns { gap: 8px; }
.av.letter { display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: #fff; }
.badge.warn { color: #f0883e; }
.btn.danger-btn { background: #E5484D; color: #fff; }
input.num { all: unset; width: 64px; padding: 5px 8px; border-radius: 6px; background: #171717; outline: 1px solid #e5e5e51f; color: #e5e5e5f2; font-size: 14px; }
.menu form { width: 100%; }
input.text { all: unset; box-sizing: border-box; width: 100%; padding: 6px 8px; border-radius: 6px; background: #171717; outline: 1px solid #e5e5e51f; color: #e5e5e5f2; font-size: 14px; }
#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; max-width: min(560px, calc(100vw - 32px)); padding: 10px 14px; border-radius: 10px; background: #202020; outline: 1px solid #e5e5e51f; box-shadow: 0 8px 24px #00000099; font-size: 13px; line-height: 19px; transition: opacity .2s ease-out, transform .2s ease-out; z-index: 10; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { color: #f0a3a5; }
.bare { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 24px; }
.card.auth { width: min(400px, 100%); }
.wide-btn { width: 100%; justify-content: center; padding: 10px 12px; }
.wide-btn:disabled { opacity: .5; }

/* The kctl login's pages: content left, brand right past a divider broken around it. */
.split-auth { min-height: 100vh; display: grid; grid-template-columns: 3fr 2fr; }
.sa-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.sa-form { width: min(384px, 100%); display: flex; flex-direction: column; font-size: 14px; line-height: 21px; }
.sa-brand { position: relative; display: flex; align-items: center; justify-content: center; }
.sa-brand::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(#e5e5e514 calc(50% - 56px), transparent calc(50% - 56px), transparent calc(50% + 56px), #e5e5e514 calc(50% + 56px)); }
.sa-title { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.34px; line-height: 32px; }
.sa-sub { margin: 2px 0 0; color: #e5e5e599; }
.sa-sub b { color: #e5e5e5f2; font-weight: 500; }
.sa-kv { margin-top: 24px; border-radius: 6px; box-shadow: inset 0 0 0 1px #e5e5e51a; display: flex; flex-direction: column; }
.sa-kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 12px; font-size: 13px; line-height: 19px; }
.sa-kv > div + div { box-shadow: inset 0 1px #e5e5e512; }
.sa-kv span:first-child { color: #e5e5e580; }
.sa-kv span:last-child { font-weight: 500; }
.sa-btn { margin-top: 10px; height: 34px; border-radius: 6px; box-shadow: inset 0 0 0 1px #e5e5e51f; color: #e5e5e5b3; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 7px; transition: background-color .15s ease-out; }
.sa-btn:hover { background: #e5e5e50d; }
.sa-btn.primary { margin-top: 24px; background: #e5e5e5f2; color: #171717; font-weight: 600; box-shadow: none; }
.sa-btn.primary:hover { background: #e5e5e5; }
.sa-btn:disabled { opacity: .5; cursor: default; }
.sa-btn:focus-visible { outline: 2px solid #e5e5e566; outline-offset: 2px; }
.sa-error { color: #f0a3a5; font-size: 13px; line-height: 19px; }
.sa-error:not(:empty) { margin-top: 12px; }
.sa-note { margin: 20px 0 0; color: #e5e5e566; font-size: 12px; line-height: 17px; }
.sa-note code, .sa-term { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.sa-badge { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.sa-badge.ok { background: #3FA2661f; color: #3FA266; }
.sa-badge.bad { background: #E5484D1f; color: #E5484D; }
.sa-term { margin-top: 24px; border-radius: 6px; background: #1c1c1c; box-shadow: inset 0 0 0 1px #e5e5e512; padding: 10px 12px; font-size: 12px; line-height: 19px; color: #e5e5e5b3; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .split-auth { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .sa-brand { order: -1; padding: 40px 24px 0; justify-content: flex-start; width: min(432px, 100%); margin: 0 auto; }
  .sa-brand::before { display: none; }
  .sa-main { align-items: flex-start; }
}
.svclink:hover { text-decoration: underline; text-underline-offset: 3px; }
.detail-head { width: 100%; gap: 16px; padding-top: 32px; }
.crumb { gap: 8px; }
.crumb a:hover { color: #e5e5e5b3; }
.av.big { width: 44px; height: 44px; border-radius: 10px; font-size: 18px; }
/* A dark backdrop under transparent logos; contain keeps a wide one whole. */
.av.img { background: #141414; }
.av.img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.iconrow, .iconprev { gap: 12px; align-items: center; }
.iconacts { gap: 8px; flex-wrap: wrap; }
.health { gap: 6px; padding: 2px 8px; border-radius: 99px; background: #e5e5e51a; }
.deploynote:empty { display: none; }
.navend { gap: 12px; }
.health.small { padding: 1px 7px; font-size: 11px; }
.health.busy { color: #8fb8f2; background: #3987e51f; }
.health.busy .dot { background: #3987e5; animation: deploypulse 1.2s ease-in-out infinite; }
@keyframes deploypulse { 50% { opacity: .35; } }
.depbanner { width: 100%; gap: 10px; padding: 14px 18px; border-radius: 12px; color: #8fb8f2; background: #3987e51f; box-shadow: inset 0 0 0 1px #3987e540; }
.depbanner .dot { background: #3987e5; animation: deploypulse 1.2s ease-in-out infinite; }
.depbanner.warn { color: #f0883e; background: #f0883e1a; box-shadow: inset 0 0 0 1px #f0883e40; }
.depbanner.warn .dot { background: #f0883e; animation: none; }
.depbanner .ell { max-width: 50%; }
.deptrack { height: 4px; border-radius: 2px; background: #3987e533; overflow: hidden; }
.deptrack b { display: block; height: 100%; min-width: 4px; background: #3987e5; transition: width .4s ease-out; }
.more.big { padding: 7px; }
.side { width: 380px; flex: none; }
.kv { align-items: flex-start; gap: 2px; }
.ctitle { gap: 6px; }
.ctop, .clist, .cgroups { width: 100%; gap: 32px; }
.clist, .cgroups { gap: 16px; }
.via { align-self: flex-start; gap: 10px; padding: 8px 12px; border-radius: 10px; background: #1c1c1c; box-shadow: 0 0 1px #252525; font-size: 14px; line-height: 20px; color: #e5e5e5b3; }
.cstat { flex: 1 1 0; gap: 4px; padding: 12px 16px; background: #1c1c1c; border-radius: 12px; box-shadow: 0 0 1px #252525; }
.cstat .lab { font-size: 12px; font-weight: 500; line-height: 12px; color: #e5e5e5b3; }
.cstat .val { font-size: 24px; line-height: 30px; }
.chead.dark { background: #171717; }
.legend { gap: 14px; font-size: 12px; line-height: 16px; color: #e5e5e5b3; }
.legend .row { gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; }
.legend i.actual { width: 2px; height: 10px; border-radius: 1px; background: #e5e5e5f2; }
.caprow { width: 100%; gap: 16px; padding: 18px 16px; box-shadow: inset 0 1px #e5e5e50d; }
.caplab { width: 120px; flex-shrink: 0; gap: 2px; }
.capbar { flex: 1 1 0; height: 14px; border-radius: 4px; background: #e5e5e51a; overflow: hidden; position: relative; display: flex; gap: 1px; }
.capbar i { height: 100%; flex-shrink: 0; }
.capbar b { position: absolute; top: 0; width: 2px; height: 100%; margin-left: -1px; background: #e5e5e5f2; }
.capval { width: 160px; flex-shrink: 0; align-items: flex-end; gap: 2px; }
.lose { width: 470px; flex: none; }
.verdict { align-items: flex-start; padding: 16px; }
.vic { width: 24px; height: 24px; border-radius: 99px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: #3FA2661f; color: #3FA266; }
.vic.warn { background: #f0883e1f; color: #f0883e; }
.vic.danger { background: #E5484D1f; color: #E5484D; }
.loserow > div:first-child { flex-shrink: 0; }

.map { height: 434px; flex-direction: row; position: relative; }
.mapview { flex: 1 1 0; position: relative; overflow: hidden; }
.mapview::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(130% 140% at 42% 60%, #1c1c1c00 45%, #1c1c1cee 100%); }
.mapstage { --z: 1; position: absolute; width: 1166px; height: 434px; left: clamp(calc(100% - 1166px), calc(50% - var(--cx)), 0px); top: clamp(calc(100% - 434px), calc(50% - var(--cy)), 0px);
  background: 0 0 / 1166px 434px no-repeat; transform: scale(var(--z)); transform-origin: var(--cx) var(--cy); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.spot { position: absolute; width: 0; height: 0; transform: scale(calc(1 / var(--z))); transition: transform .3s cubic-bezier(.2, .8, .2, 1); z-index: 1; }
.spot::before { content: ""; position: absolute; width: 35px; height: 35px; left: -17.5px; top: -17.5px; border-radius: 50%; background: #8A8A8A22; }
.spot i { position: absolute; width: 10px; height: 10px; left: -5px; top: -5px; border-radius: 50%; background: #8A8A8A; outline: 2px solid #161616; }
.spot.big::before { width: 48px; height: 48px; left: -24px; top: -24px; }
.spot.big i { width: 14px; height: 14px; left: -7px; top: -7px; }
.spot.ok::before { background: #3FA26622; }
.spot.ok i { background: #3FA266; }
.spot.warn::before { background: #f0883e22; }
.spot.warn i { background: #f0883e; }
.slabel { position: absolute; left: 19px; top: 9px; gap: 6px; padding: 5px 9px; border-radius: 8px; background: #1c1c1cee; outline: 1px solid #e5e5e51a; outline-offset: -1px; font-size: 12px; line-height: 16px; color: #e5e5e5b3; white-space: nowrap; }
.spot.up .slabel { top: auto; bottom: 9px; left: 14px; }
.slabel b { font-weight: 550; color: #e5e5e5f2; }
.zoom { position: absolute; top: 12px; right: 12px; gap: 6px; z-index: 2; }
.zoom button { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #e5e5e5b3; background: #1c1c1cee; outline: 1px solid #e5e5e51a; outline-offset: -1px; }
.zoom button:hover { color: #e5e5e5f2; }
.zoom button:disabled { opacity: .4; cursor: default; }
.maplegend { position: absolute; left: 12px; bottom: 12px; gap: 16px; z-index: 2; font-size: 11px; line-height: 17px; color: #e5e5e5b3; }
.maplegend .row { gap: 6px; }
.maplegend i { width: 8px; height: 8px; border-radius: 50%; background: #8A8A8A; }
.maplegend i.ok { background: #3FA266; }
.maplegend i.warn { background: #f0883e; }
.locs { width: 300px; flex-shrink: 0; background: #1c1c1c; box-shadow: inset 1px 0 #e5e5e512; z-index: 3; overflow: auto; }
.lochead { width: 100%; padding: 16px 20px; box-shadow: inset 0 -1px #e5e5e512; font-size: 11px; letter-spacing: 0.6px; line-height: 14px; color: #e5e5e5b3; }
.loc { width: 100%; flex: 1 1 0; gap: 14px; padding: 0 20px; box-shadow: inset 0 -1px #e5e5e50d; color: #e5e5e5b3; min-height: 64px; }
.loc:last-child { box-shadow: none; }
.locn { font-size: 18px; line-height: 22px; color: #e5e5e5f2; }

.cfilter { width: 100%; gap: 12px; }
.csearch { flex: 1 1 0; gap: 8px; padding: 6px 10px; border-radius: 8px; color: #e5e5e580; }
.csearch:focus-within { background: #e5e5e50d; }
.csearch input { all: unset; font-size: 14px; line-height: 20px; letter-spacing: -0.07px; color: #e5e5e5f2; }
.csearch input::placeholder { color: #e5e5e580; }
.csearch input::-webkit-search-cancel-button { display: none; }
.csel { gap: 8px; padding: 6px 8px 6px 12px; border: 0; border-radius: 8px; background: #1c1c1c; box-shadow: 0 0 1px #252525; color: #e5e5e5f2; font: inherit; font-size: 14px; line-height: 20px; cursor: pointer; white-space: nowrap; }
.csel .ic { color: #e5e5e580; transition: transform 150ms ease-out; }
.csel:hover { background: #222; }
.csel:has(+ .menu:popover-open) .ic { transform: rotate(180deg); }
.nodemenu { width: 220px; }
.nodemenu .mi .ic { visibility: hidden; color: #e5e5e5f2; }
.nodemenu .mi.on .ic { visibility: visible; }
.ngroup { width: 100%; }
.ngroup > summary { list-style: none; gap: 10px; padding: 4px 4px 12px; cursor: pointer; }
.ngroup > summary::-webkit-details-marker { display: none; }
.ngroup > summary svg { color: #e5e5e5b3; transition: transform .15s ease-out; }
.ngroup:not([open]) > summary svg { transform: rotate(-90deg); }
.t16 { font-size: 16px; line-height: 20px; }
.inst { padding: 12px 16px; }
.inst .dot.big { margin: 0 6px; }
.ibadge { font-size: 10px; line-height: 15px; letter-spacing: 0.3px; text-transform: uppercase; color: #e5e5e5b3; }
.ngroup .card .line:first-child { box-shadow: none; }
.w220 { width: 220px; flex-shrink: 0; }
.w140 { width: 140px; flex-shrink: 0; }
.ustrip-w, .ustrip { width: 239px; flex-shrink: 0; }
.ustrip { height: 24px; display: flex; gap: 1px; }
.ustrip i { flex: 1 1 0; border-radius: 1.5px; background: #e5e5e51a; }
.ustrip i.ok { background: #3FA266; }
.ustrip i.warn { background: #f0883e; }
.ustrip i.bad { background: #E5484D; }
.spark.mini { width: 72px; height: 16px; gap: 1px; }
.rtime { gap: 10px; justify-content: flex-end; }
.mon .badge { display: flex; align-items: center; gap: 3px; }
.mon.open, .mon:hover { background: #e5e5e508; }
.mon.open .more { background: #e5e5e533; }
.ulink:hover { text-decoration: underline; text-underline-offset: 3px; }
.field { gap: 6px; width: 100%; }
.fields { width: 100%; gap: 12px; align-items: flex-start; }
.fields .field { flex: 1 1 0; }
select.text { width: 100%; padding: 6px 8px; border: 0; border-radius: 6px; background: #171717; outline: 1px solid #e5e5e51f; color: #e5e5e5f2; font: inherit; font-size: 14px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .health.busy .dot, .depbanner .dot { animation: none; } .deptrack b, .upbar b { transition: none; } #toast, .mapstage, .spot, .ngroup > summary svg, .csel .ic { transition: none; } }

@media (max-width: 1239px) {
  .canvas, .main, .hr { width: auto; }
  .nav { width: 100%; }
  .canvas { margin: 0; padding: 0 16px 48px; align-items: stretch; }
  .top { padding: 16px 0 0; }
  .main { max-width: 1166px; width: 100%; margin: 0 auto; }
}
@media (max-width: 760px) {
  .canvas { gap: 20px; padding: 0 12px 40px; }
  .main { gap: 20px; }
  .nav { display: flex; gap: 8px; flex-wrap: wrap; }
  .tabs { order: 3; width: 100%; justify-content: space-between; gap: 2px; }
  .tab { padding: 6px 8px; }
  .wordmark { font-size: 21px; }
  .head { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 8px; }
  .stats { flex-wrap: wrap; }
  .stat { flex: 1 1 calc(50% - 6px); min-width: 0; }
  .wide { display: none; }
  .split { flex-direction: column; }
  .split > .card { flex: none; width: 100%; }
  .chead .grow, .stat .t12 { overflow: hidden; text-overflow: ellipsis; }
  .stat .row { max-width: 100%; }
  .activity, .side, .lose { width: 100%; }
  .map { height: auto; flex-direction: column; }
  .mapview { flex: none; height: 320px; }
  .locs { width: 100%; box-shadow: inset 0 1px #e5e5e512; }
  .loc { flex: none; padding: 12px 16px; min-height: 0; }
  .caprow { flex-wrap: wrap; gap: 10px 16px; }
  .capbar { order: 3; flex: 1 1 100%; }
  .capval { width: auto; flex: 1 1 0; }
  .cfilter { flex-direction: column; align-items: stretch; }
  .nodes { flex-direction: column; }
  .node { width: 100%; }
  .alert { flex-wrap: wrap; }
  .alert .acts { width: 100%; padding-left: 40px; flex-wrap: wrap; }
  .dlg { width: calc(100vw - 24px); max-width: 460px; }
  .rel { flex-direction: column; align-items: flex-start; }
  .menu { width: min(232px, calc(100vw - 24px)); }
  .w220 { width: 112px; }
  .fields { flex-direction: column; }
}

.useg { gap: 2px; padding: 2px; border-radius: 8px; background: #171717; }
.useg button { padding: 4px 9px; border-radius: 6px; font-size: 12px; line-height: 16px; color: #e5e5e5b3; }
.useg button[aria-pressed="true"] { background: #2c2c2c; color: #e5e5e5f2; }
.useg button:focus-visible, .uplot:focus-visible { outline: 2px solid #3987e5; outline-offset: 2px; }
.usage { position: relative; }
.ulegend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 12px 16px 0; }
.ulegend i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.ulegend i.ulim { width: 12px; height: 0; border-top: 1.5px dashed #e5e5e566; border-radius: 0; }
.ulegend i.urel { width: 0; height: 10px; border-left: 1.5px dotted #e5e5e599; border-radius: 0; }
.ugrid { display: grid; grid-template-columns: 1fr 1fr; transition: opacity 150ms ease-out; }
.ugrid.loading { opacity: 0.5; }
.uchart { min-width: 0; padding: 12px 16px 10px; box-shadow: inset 0 -1px #e5e5e50d; }
.uchart:nth-child(odd):not(:last-child) { box-shadow: inset -1px -1px #e5e5e50d; }
.uct { gap: 8px; margin-bottom: 6px; align-items: baseline; }
.unow { font-variant-numeric: tabular-nums; }
.uplot { display: block; width: 100%; height: 120px; overflow: visible; touch-action: pan-y; cursor: crosshair; }
.uplot text { fill: #e5e5e566; font-size: 10px; font-variant-numeric: tabular-nums; }
.uplot text.lbl { fill: #e5e5e5b3; }
.utip { position: absolute; z-index: 5; display: none; min-width: 150px; padding: 8px 10px; border-radius: 8px; background: #262626; box-shadow: 0 8px 24px #00000099; outline: 1px solid #e5e5e51f; pointer-events: none; }
.utip.on { display: block; }
.utip .t { color: #e5e5e580; margin-bottom: 4px; white-space: nowrap; }
.utip .r { display: flex; align-items: center; gap: 6px; margin-top: 2px; white-space: nowrap; }
.utip .r i { width: 8px; height: 3px; border-radius: 2px; flex-shrink: 0; }
.utip .r b { margin-left: auto; padding-left: 12px; font-weight: 400; color: #e5e5e5f2; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .ugrid { grid-template-columns: 1fr; }
  .uchart:nth-child(odd):not(:last-child) { box-shadow: inset 0 -1px #e5e5e50d; }
}
@media (prefers-reduced-motion: reduce) { .ugrid { transition: none; } }

/* Secrets card, dialogs and the app configuration page. */
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.sbanner { width: 100%; gap: 10px; padding: 10px 16px; background: #3987e514; box-shadow: inset 0 1px #3987e533; color: #a9c8f2; font-size: 12px; line-height: 17px; }
.sbanner.warn { background: #f0883e14; box-shadow: inset 0 1px #f0883e33; color: #f3b98a; }
.sbanner.bad { display: block; background: #E5484D14; box-shadow: inset 0 1px #E5484D33; color: #f0a3a5; }
.sbanner code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #e5e5e5f2; }
.dot.info { background: #3987e5; }
.secret .av.glyph { color: #e5e5e580; }
.av.glyph.danger { color: #E5484D; background: #E5484D14; }
.chip { flex-shrink: 0; padding: 1px 7px; border-radius: 99px; font-size: 11px; line-height: 16px; white-space: nowrap; }
.chip.pending { color: #8fb8f2; background: #3987e51f; }
.chip.missing { color: #f0a3a5; background: #E5484D1f; }
.chip.unused { color: #e5e5e5b3; background: #e5e5e51a; }
.chip.new { color: #7fcf9c; background: #3FA2661f; }
.tags { gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.tag { padding: 2px 6px; border-radius: 6px; background: #232323; outline: 1px solid #e5e5e50d; font-size: 11px; line-height: 15px; color: #e5e5e5b3; }
.tag.stale { color: #8fb8f2; outline-color: #3987e533; }
.dots { color: #e5e5e540; letter-spacing: 2px; font-size: 12px; }
.secret .sbtn:disabled { opacity: .5; cursor: default; }
.envsum { display: block; overflow-wrap: anywhere; }
.sdlg textarea.text { all: unset; box-sizing: border-box; width: 100%; min-height: 64px; max-height: 40vh; overflow: auto; padding: 8px 10px; border-radius: 8px; background: #171717; outline: 1px solid #e5e5e51f; color: #e5e5e5f2; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 17px; white-space: pre; }
.sdlg textarea.text:focus-visible, .sdlg input.text:focus-visible { outline-color: #3987e5; }
.sdlg input.mono { font-size: 13px; }
.wide-dlg { width: 560px; }
.chk { gap: 8px; cursor: pointer; }
.chk input { margin: 0; accent-color: #3987e5; }
.yaml { gap: 8px; width: 100%; }
.yaml .cli { align-items: flex-start; }
.yaml pre { margin: 0; color: #e5e5e5b3; white-space: pre; overflow-x: auto; }
.lock { gap: 6px; color: #3FA266; }
.preview { gap: 2px; width: 100%; max-height: 220px; overflow-y: auto; }
.preview:empty { display: none; }
.preview .row { width: 100%; gap: 10px; padding: 5px 8px; border-radius: 6px; background: #171717; }
.w48 { width: 48px; flex-shrink: 0; }
.hist { gap: 4px; scroll-margin-top: 24px; }
.hist:target { background: #3987e50d; }
.hrow { gap: 10px; }
.envrow .tag { flex-shrink: 0; }
@media (max-width: 760px) {
  .split > .col.grow { width: 100%; }
  .secret { flex-wrap: wrap; }
  .secret .tags { order: 3; width: 100%; justify-content: flex-start; padding-left: 40px; }
  .sbanner { flex-wrap: wrap; }
  .sbanner .grow { flex-basis: calc(100% - 16px); }
  .sbanner .sbtn { margin-left: 16px; }
  .secret .grow > .row { flex-wrap: wrap; }
  .wide-dlg { width: calc(100vw - 24px); }
}

/* Uptime monitor page, and rows and tiles that link to one. */
.linked { position: relative; }
.linked .svclink::after { content: ""; position: absolute; inset: 0; }
.linked .more, .linked .ulink, .linked .acts, .linked .ustrip, .linked .rtime, .linked .badge { position: relative; z-index: 1; }
.alert.linked:hover { background: #e5e5e508; }
.stat.linked:hover { background: #202020; }
.dot.bad { background: #E5484D; }
.av.glyph.big { color: #e5e5e5b3; }
.msum { gap: 8px; min-width: 0; max-width: 100%; }
.msum > span::before { content: "·"; margin-right: 8px; color: #e5e5e580; }
.mstats .stat { min-width: 0; }
.mstats .val { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.mchart { padding: 8px 16px 12px; transition: opacity 150ms ease-out; }
.mchart.loading { opacity: 0.5; }
.uplot.mplot { height: 200px; }
.ulegend i.mfail { width: 2px; height: 8px; border-radius: 1px; background: #E5484D; }
.ulegend i.mout { width: 10px; height: 10px; border-radius: 2px; background: #E5484D33; }
.utip .r b.danger { color: #f0a3a5; }
.avail { width: 100%; gap: 14px; padding: 16px; box-shadow: inset 0 1px #e5e5e50d; }
.arow { width: 100%; gap: 16px; align-items: flex-start; }
.alab { width: 72px; flex-shrink: 0; padding-top: 4px; }
.ustrip.dstrip { width: 100%; }
.aaxis { width: 100%; justify-content: space-between; }
.alegend { flex-wrap: wrap; gap: 6px 14px; padding-left: 88px; }
.alegend i { background: #e5e5e51a; }
.alegend i.aok { background: #3FA266; }
.alegend i.awarn { background: #f0883e; }
.alegend i.abad { background: #E5484D; }
.swatch { width: 10px; height: 3px; border-radius: 2px; flex-shrink: 0; }
.w88 { width: 88px; flex-shrink: 0; }
.clog { width: 100%; max-height: 560px; overflow-y: auto; }
.cline { padding: 8px 16px; }
.tnum { font-variant-numeric: tabular-nums; }
.useg a { padding: 4px 9px; border-radius: 6px; font-size: 12px; line-height: 16px; color: #e5e5e5b3; }
.useg a[aria-current="page"] { background: #2c2c2c; color: #e5e5e5f2; }
.useg a:focus-visible { outline: 2px solid #3987e5; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .mchart { transition: none; } }
@media (max-width: 760px) {
  .msum { flex-wrap: wrap; row-gap: 0; }
  .arow { flex-direction: column; gap: 6px; }
  .arow > .grow { flex: none; width: 100%; }
  .mprober .w140 { width: 96px; }
  .w88 { width: 64px; }
  .alab { padding-top: 0; }
  .alegend { padding-left: 0; }
  .detail-head .hbtns { flex-wrap: wrap; }
}
.logs .lpane { height: 360px; overflow: auto; padding: 10px 16px; background: #171717; font-size: 12px; line-height: 18px; white-space: pre; color: #e5e5e5d9; overscroll-behavior: contain; }
.logs .lpane.wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.logs .lpane:focus-visible { outline: 2px solid #3987e5; outline-offset: -2px; }
.logs .lpane .li { color: #e5e5e566; user-select: none; }
.logs .lpane .lnote { color: #e5e5e580; font-style: italic; }

/* A data row whose name links: the whole row opens it (the link's ::after
   covers the row); its menu and status stay above that. */
.line.linked { position: relative; cursor: pointer; }
.line.linked:hover { background: #e5e5e508; }
.line.linked .svclink::after { content: ""; position: absolute; inset: 0; }
.line.linked button, .line.linked [title] { position: relative; z-index: 1; }

/* The firewall card: 24 hourly bars, matched requests in blue with the
   flagged or blocked part in the warn color at their foot. */
/* The CRS logo in the text's muted color, like the WireGuard mark: crs.svg
   is the official logo recolored white, its bee black, used as a mask. */
.crs { gap: 6px; }
.crslogo { display: block; width: 46px; height: 18px; margin: -1px 0; translate: 0 0.5px; background: currentColor; mask: url(/static/crs.svg?v=cfe3e60ccc8f) center / contain no-repeat luminance; }
.fwstats { gap: 16px; }
.fwbars { display: flex; align-items: flex-end; gap: 3px; height: 64px; width: 100%; }
.fwbar { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.fwfill { width: 100%; background: #3987e5; border-radius: 2px 2px 0 0; display: flex; align-items: flex-end; overflow: hidden; }
.fwdark { width: 100%; background: #f0883e; }
.fwaxis { width: 100%; }
.fwlists { gap: 24px; align-items: flex-start; }
.fwcount { gap: 8px; width: 100%; }
.fwtrack { height: 4px; border-radius: 2px; background: #e5e5e51a; overflow: hidden; display: flex; }
.fwmeter { height: 100%; background: #3987e5; }
