@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/static/fonts/InterVariable.woff2) format("woff2"); }
*, ::before, ::after { box-sizing: border-box; }
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; }
.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 { 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; }

.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: #171717; border-radius: 12px; box-shadow: 0 0 1px #252525; font-size: 16px; line-height: 19px; }
.chead .meta { font-size: 12px; line-height: 17px; color: #e5e5e580; }
.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; }

.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) 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; }

.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.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; }
.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; }
.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%; }
#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; }
@media (prefers-reduced-motion: reduce) { #toast { 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 { 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 { width: 100%; }
  .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)); }
}
