/* BeCenter. Colours come from the wordmark: the blue of "Be", the navy of "Center". */
:root {
  --bg: #f4f6fb; --solid: #fff; --surface: rgba(255, 255, 255, .72); --field: rgba(255, 255, 255, .9);
  --ink: #17243b; --muted: #5d6a85; --line: rgba(23, 36, 59, .1); --line-strong: rgba(23, 36, 59, .2);
  --brand: #2563eb; --brand-ink: #1d4ed8; --logo-be: #2563eb;
  --g1: #2563eb; --g2: #06b6d4; --hot1: #e11d48; --hot2: #f97316;
  --ok: #0b7f4f; --ok-bg: rgba(16, 185, 129, .12); --bad: #c81e3a; --bad-bg: rgba(225, 29, 72, .1);
  --track: rgba(23, 36, 59, .09); --grid: rgba(23, 36, 59, .08);
  --shadow: 0 1px 2px rgba(23, 36, 59, .05), 0 12px 32px -16px rgba(23, 36, 59, .18);
  --glow: 0 10px 30px -10px rgba(37, 99, 235, .55);
  --aurora: .26;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070b15; --solid: #0f1626; --surface: rgba(17, 25, 43, .62); --field: rgba(8, 13, 25, .7);
    --ink: #e9eefb; --muted: #8b98b4; --line: rgba(150, 175, 230, .13); --line-strong: rgba(150, 175, 230, .28);
    --brand: #5b8cff; --brand-ink: #8fb0ff; --logo-be: #3b7bff;
    --g1: #4f86ff; --g2: #2dd4ee; --hot1: #ff4d6d; --hot2: #ff9f43;
    --ok: #3ddc97; --ok-bg: rgba(61, 220, 151, .12); --bad: #ff7085; --bad-bg: rgba(255, 77, 109, .13);
    --track: rgba(150, 175, 230, .12); --grid: rgba(150, 175, 230, .1);
    --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 20px 40px -24px rgba(0, 0, 0, .8);
    --glow: 0 10px 34px -10px rgba(79, 134, 255, .7);
    --aurora: .34;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 14px/1.55 "Inter", "Pretendard", system-ui, -apple-system, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 26px; line-height: 1.2; margin: 0; font-weight: 750; letter-spacing: -.02em; }
h2 { font-size: 15px; margin: 0 0 12px; font-weight: 650; letter-spacing: -.01em; }
h2.section { margin: 26px 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
p { margin: 0 0 10px; }
ul { margin: 6px 0 0; padding-left: 18px; }
.muted { color: var(--muted); }
.small, small { font-size: 12px; }
small { display: block; color: var(--muted); font-weight: 400; margin-top: 3px; }
code, pre { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.defs { position: absolute; }
.icon { width: 18px; height: 18px; flex: none; vertical-align: -4px; }
.logo { display: block; height: 24px; width: auto; }
.logo .be { fill: var(--logo-be); }
.logo .center { fill: var(--ink); }

/* The gradients the charts, rings and small lines paint with. */
.defs stop:first-child { stop-color: var(--g1); }
.defs stop:last-child { stop-color: var(--g2); }
#g-ring stop:first-child { stop-color: var(--g2); }
#g-ring stop:last-child { stop-color: var(--g1); }
#g-ring-hot stop:first-child { stop-color: var(--hot2); }
#g-ring-hot stop:last-child { stop-color: var(--hot1); }

/* Backdrop: three slow lights behind a faint grid. */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 90% 70% at 50% 0, #000 20%, transparent 75%); }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: var(--aurora); animation: drift 26s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: -10vw; top: -18vw; background: #2563eb; }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; right: -8vw; top: -12vw; background: #06b6d4; animation-duration: 32s; animation-delay: -8s; }
.aurora i:nth-child(3) { width: 34vw; height: 34vw; left: 38vw; bottom: -24vw; background: #6366f1; animation-duration: 38s; animation-delay: -15s; }
@keyframes drift { to { transform: translate3d(6vw, 5vw, 0) scale(1.15); } }

/* Frame: a side rail and the page. */
body:not(.auth) { display: grid; grid-template-columns: 236px minmax(0, 1fr); }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 22px; padding: 22px 14px 16px; background: var(--surface); border-right: 1px solid var(--line); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.brand { display: block; padding: 4px 10px; }
.brand:hover { text-decoration: none; }
.side nav { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.side nav a { position: relative; display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 11px; color: var(--muted); font-weight: 550; transition: color .15s, background .15s; }
.side nav a:hover { color: var(--ink); background: var(--track); text-decoration: none; }
.side nav a.on { color: var(--ink); background: linear-gradient(90deg, color-mix(in srgb, var(--g1) 20%, transparent), color-mix(in srgb, var(--g2) 6%, transparent)); box-shadow: inset 0 0 0 1px var(--line); }
.side nav a.on::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(var(--g1), var(--g2)); box-shadow: 0 0 14px var(--g1); }
.side nav a.on .icon { color: var(--brand); }
.who { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--track); }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 10px; color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--g1), var(--g2)); }
.who .mail { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--muted); }

main { width: 100%; max-width: 1240px; margin: 0 auto; padding: 30px 28px 70px; }
body.auth main { max-width: 420px; padding: 14vh 16px 40px; }
.auth-brand { display: grid; justify-items: center; margin-bottom: 26px; }
.auth-brand .logo { height: 34px; }
body.auth .card { padding: 28px; }
body.auth h1 { font-size: 22px; }

@media (max-width: 900px) {
  body:not(.auth) { display: block; }
  .side { z-index: 5; height: auto; flex-direction: row; align-items: center; gap: 8px; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { padding: 4px 6px 4px 2px; }
  .brand .logo { height: 18px; }
  .side nav { flex-direction: row; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .side nav a { padding: 7px 10px; white-space: nowrap; gap: 7px; }
  .side nav a.on::before { display: none; }
  .who { padding: 0; border: 0; background: none; }
  .who .mail, .avatar { display: none; }
  main { padding: 20px 16px 60px; }
  h1 { font-size: 22px; }
}

.head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.actions form { margin: 0; }

/* Surfaces */
.card, .tile, .chart, .server, .banner, .hero { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.card { padding: 20px; margin-bottom: 16px; }
.card.danger { border-color: color-mix(in srgb, var(--bad) 55%, transparent); }
.cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: minmax(0, 1fr); } }
.empty-state { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 48px 20px; }
.empty-state .logo { height: 30px; }
.empty-state p { max-width: 460px; color: var(--muted); }

/* Entrance: content rises in turn; `.still` (an in-place refresh) keeps it quiet. */
.rise { animation: rise .55s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
main.still *, main.still *::before, main.still *::after { animation: none !important; }

/* Forms */
.form { display: grid; gap: 16px; }
.form.wide { max-width: 660px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form label.check { display: block; font-weight: 400; }
.form label.check small { margin-left: 22px; }
.form form { display: grid; gap: 16px; }
input:not([type=checkbox]), textarea, select { width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--field); color: var(--ink); font: inherit; transition: border-color .15s, box-shadow .15s; }
input[type=checkbox] { accent-color: var(--brand); width: 15px; height: 15px; vertical-align: -2px; }
input:not([type=checkbox]):focus, textarea:focus, select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 550; line-height: 1.4; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s, background .15s; }
button .icon, .button .icon { width: 16px; height: 16px; }
button:hover, .button:hover { text-decoration: none; border-color: var(--brand); transform: translateY(-1px); }
button:active, .button:active { transform: none; }
.primary { position: relative; overflow: hidden; border-color: transparent; color: #fff; font-weight: 650; background: linear-gradient(135deg, #2563eb, #4f6ef7 60%, #2f7df0); box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .25); }
.primary:hover { border-color: transparent; box-shadow: 0 14px 36px -10px rgba(37, 99, 235, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-120%); transition: transform .6s; }
.primary:hover::after { transform: translateX(120%); }
.primary.big { padding: 11px 16px; font-size: 15px; }
button.bad { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 50%, transparent); }
button.bad:hover { border-color: var(--bad); background: var(--bad-bg); }
button.link { border: 0; background: none; color: var(--brand-ink); padding: 0; box-shadow: none; }
button.link:hover { transform: none; text-decoration: underline; }
button.ghost { padding: 7px; border-color: transparent; background: none; color: var(--muted); }
button.ghost:hover { color: var(--ink); background: var(--track); border-color: transparent; }

.flash { padding: 11px 14px; border-radius: 12px; margin: 0 0 16px; border: 1px solid transparent; }
.flash.ok { background: linear-gradient(var(--ok-bg), var(--ok-bg)), var(--solid); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.flash.warn { background: linear-gradient(var(--bad-bg), var(--bad-bg)), var(--solid); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 30%, transparent); }

/* Overall state */
.banner { display: flex; align-items: center; gap: 16px; padding: 16px 20px; margin-bottom: 16px; border-color: color-mix(in srgb, var(--ok) 35%, transparent); background: linear-gradient(100deg, var(--ok-bg), transparent 60%), var(--surface); }
.banner b { font-size: 16px; }
.banner.bad { align-items: flex-start; border-color: color-mix(in srgb, var(--bad) 45%, transparent); background: linear-gradient(100deg, var(--bad-bg), transparent 60%), var(--surface); }
.orb { position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #10b981, #06b6d4); box-shadow: 0 8px 24px -8px #10b981; }
.orb .icon { width: 22px; height: 22px; }
.orb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #10b981; animation: ping 2.4s ease-out infinite; }
.bad > .orb, .down .orb { background: linear-gradient(135deg, var(--hot1), var(--hot2)); box-shadow: 0 8px 24px -8px var(--hot1); }
.bad > .orb::after, .down .orb::after { border-color: var(--hot1); animation-duration: 1.4s; }
.paused .orb, .unknown .orb { background: linear-gradient(135deg, #64748b, #94a3b8); box-shadow: none; }
.paused .orb::after, .unknown .orb::after { display: none; }
@keyframes ping { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.55); } }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.tile { position: relative; overflow: hidden; padding: 16px 18px; }
.tile > .icon { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; padding: 8px; border-radius: 11px; color: var(--brand); background: color-mix(in srgb, var(--brand) 13%, transparent); }
.tile > span { display: block; color: var(--muted); font-size: 12px; font-weight: 550; padding-right: 40px; }
.tile > b { display: block; margin-top: 6px; font-size: 30px; line-height: 1.15; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tile > b .status { font-size: 14px; letter-spacing: 0; }
.tile.good > .icon { color: var(--ok); background: var(--ok-bg); }
.tile.bad { border-color: color-mix(in srgb, var(--bad) 50%, transparent); }
.tile.bad > .icon { color: var(--bad); background: var(--bad-bg); }
.tile.bad > b { color: var(--bad); }
.tile.bad::before { content: ""; position: absolute; inset: auto -20% -70% -20%; height: 100%; background: radial-gradient(closest-side, var(--bad-bg), transparent); pointer-events: none; }

/* State pill: the glyph carries the state too, not the colour alone. */
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; font-size: 12px; font-weight: 650; background: var(--track); color: var(--muted); }
.status i { font-style: normal; font-size: 9px; }
.status.up { color: var(--ok); background: var(--ok-bg); }
.status.up i { animation: blink 2.2s ease-in-out infinite; }
.status.down { color: var(--bad); background: var(--bad-bg); }
.status.down i { animation: blink 1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* Server cards */
.servers { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.server { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px; color: var(--ink); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.server:hover { text-decoration: none; transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 55%, transparent); box-shadow: var(--shadow), var(--glow); }
.server::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--g1), var(--g2)); opacity: .9; }
.server.down { border-color: color-mix(in srgb, var(--bad) 55%, transparent); }
.server.down::before { background: linear-gradient(90deg, var(--hot1), var(--hot2)); }
.server.paused, .server.unknown { --g1: #7c879c; --g2: #a3adbf; }
.server.paused > :not(header) { opacity: .55; }
.server header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.server .name { display: grid; min-width: 0; }
.server .name b { font-size: 16px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.server .name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ring { display: grid; justify-items: center; }
.ring svg { grid-area: 1 / 1; width: 68px; height: 68px; transform: rotate(-90deg); }
.ring .track { fill: none; stroke: var(--track); stroke-width: 6; }
.ring .val { fill: none; stroke-width: 6; stroke-linecap: round; animation: ring 1s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 55ms + 150ms); }
.ring.hot .val { filter: drop-shadow(0 0 5px var(--hot1)); }
@keyframes ring { from { stroke-dashoffset: 100; } }
.ring b { grid-area: 1 / 1; align-self: center; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ring span { margin-top: 4px; font-size: 11px; color: var(--muted); }
.spark { display: block; width: 100%; height: 44px; }
.spark .line { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.spark.none { border-bottom: 1px dashed var(--line-strong); }
.alarm { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 10px; font-size: 12px; font-weight: 650; color: var(--bad); background: var(--bad-bg); }
.alarm .icon { width: 15px; height: 15px; }
.server footer { margin-top: auto; display: flex; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.server footer span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.server footer .icon { width: 14px; height: 14px; }

/* One server's page */
.hero { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 22px; margin-bottom: 16px; background: linear-gradient(110deg, color-mix(in srgb, var(--g1) 14%, transparent), transparent 55%), var(--surface); }
.hero.down { border-color: color-mix(in srgb, var(--bad) 50%, transparent); background: linear-gradient(110deg, var(--bad-bg), transparent 55%), var(--surface); }
.hero .who { padding: 0; border: 0; background: none; gap: 16px; min-width: 0; }
.hero .who .muted { overflow-wrap: anywhere; }

/* Tables */
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; padding: 8px 12px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr { transition: background .12s; }
tbody tr:hover { background: var(--track); }
tr:last-child td { border-bottom: 0; }
td form { margin: 0; }
.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.off { opacity: .55; }
.empty { margin: 8px 0; }

.meter { display: inline-flex; align-items: center; gap: 8px; min-width: 120px; }
.meter .bar { flex: 1; height: 7px; min-width: 60px; background: var(--track); border-radius: 4px; overflow: hidden; }
.meter .bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--g1), var(--g2)); }
.meter .bar span.hot { background: linear-gradient(90deg, var(--hot2), var(--hot1)); }
.meter .num { width: 38px; text-align: right; font-variant-numeric: tabular-nums; font-size: 12px; }
.mount { display: grid; grid-template-columns: minmax(60px, 1fr) 2fr auto; gap: 10px; align-items: center; padding: 6px 0; }
.mount .meter { width: 100%; }

/* Charts */
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 16px; margin-bottom: 16px; }
.chart { position: relative; margin: 0; padding: 14px 14px 8px; }
.chart figcaption { display: flex; justify-content: space-between; align-items: baseline; color: var(--muted); font-size: 12px; font-weight: 550; margin-bottom: 6px; }
.chart figcaption b { color: var(--ink); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.chart svg { display: block; width: 100%; height: auto; touch-action: pan-y; }
.chart .grid { stroke: var(--grid); stroke-width: 1; }
.chart .tick { fill: var(--muted); font-size: 11px; }
.chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; animation: draw 1.3s cubic-bezier(.3, .6, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 55ms + 100ms); }
@keyframes draw { from { stroke-dashoffset: 1; } }
.chart .area { animation: fade 1.2s ease backwards; animation-delay: .5s; }
@keyframes fade { from { opacity: 0; } }
.chart .cross { stroke: var(--muted); stroke-width: 1; }
.chart .dot { fill: var(--g2); stroke: var(--solid); stroke-width: 2; }
.chart svg [hidden] { display: none; }
.chart .tip { position: absolute; top: 34px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 3px 9px; border-radius: 7px; font-size: 12px; font-variant-numeric: tabular-nums; white-space: pre; pointer-events: none; }

.pager { display: flex; gap: 14px; justify-content: center; align-items: center; padding-top: 14px; color: var(--muted); }
.menu { position: relative; display: inline-block; text-align: left; }
.menu summary { cursor: pointer; list-style: none; padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 9px; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] { display: block; }
.menu form { margin: 6px 0 0; }
.qr { background: #fff; display: inline-block; padding: 12px; border-radius: 14px; width: max-content; }
.codes { background: var(--field); border: 1px solid var(--line); border-radius: 11px; padding: 12px 16px; margin: 0; width: max-content; }
details summary { cursor: pointer; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Checks: ports and web addresses of things without BePanel. */
[hidden] { display: none !important; }
.form .group { display: grid; gap: 16px; padding-left: 14px; border-left: 2px solid color-mix(in srgb, var(--brand) 45%, transparent); }
.form .pair { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 12px; }
.form .triple { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; }
.form .note { margin: 0; padding: 10px 12px; border-radius: 11px; border: 1px solid var(--line); color: var(--muted); font-size: 13px; }
table.checks .target { min-width: 200px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
table.checks tr.off td { opacity: .6; }
table.checks td:first-child { min-width: 120px; }
table.checks td.r { white-space: nowrap; }
.charts.one { grid-template-columns: minmax(0, 1fr); }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .form .pair { grid-template-columns: minmax(0, 1fr); } }
.side .ver { margin-top: -12px; padding: 0 6px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .side .ver { display: none; } }

/* Management pages of one server. */
.tabs { display: flex; gap: 4px; margin: -4px 0 18px; padding: 4px; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.tabs a:hover { color: var(--ink); background: var(--track); text-decoration: none; }
.tabs a.on { color: var(--ink); background: linear-gradient(90deg, color-mix(in srgb, var(--g1) 20%, transparent), color-mix(in srgb, var(--g2) 6%, transparent)); box-shadow: inset 0 0 0 1px var(--line); }
.tabs a.on .icon { color: var(--brand); }
.tabs .icon { width: 16px; height: 16px; }
.crumb { margin-bottom: 2px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.card-head h2 { margin: 0; }
.cols > div { display: grid; gap: 16px; align-content: start; }
.cols > div > .card { margin: 0; }
.with-button { display: flex; gap: 8px; }
.with-button input { flex: 1; min-width: 0; }
.row-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.row-line:last-child { border-bottom: 0; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.filters input { flex: 2 1 220px; width: auto; }
.filters select { flex: 1 1 140px; width: auto; }
form.inline { display: inline; }
.nowrap { white-space: nowrap; }
.clip { overflow-wrap: anywhere; margin: -4px 0 6px; }
a.tile { color: var(--ink); }
a.tile:hover { text-decoration: none; border-color: var(--line-strong); }

textarea.code { font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.tag { display: inline-block; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line-strong); font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.note code { font-size: 12px; }
