:root {
  --page-bg: #eef4fc;
  --panel: #ffffff;
  --panel-soft: rgba(20, 43, 74, 0.035);
  --text: #16233a;
  --muted: #62778f;
  --accent: #2563eb;
  --accent-2: #6d28d9;
  --ok: #059669;
  --warn: #d97706;
  --err: #dc2626;
  --border: rgba(17, 45, 78, 0.11);
  --shadow-sm: 0 1px 2px rgba(16, 38, 73, .05), 0 1px 1px rgba(16, 38, 73, .04);
  --shadow-md: 0 10px 28px rgba(16, 38, 73, .10);
  --font: "Instrument Sans", system-ui, sans-serif;

  --sidebar-bg: linear-gradient(175deg, #eaf3ff 0%, #dcebfd 55%, #cfe3fb 100%);
  --sidebar-border: rgba(20, 66, 130, .12);
  --sidebar-text: #3c5876;
  --sidebar-text-muted: #6f88a6;
  --sidebar-active-text: #f5f9ff;
  --sidebar-bubble: linear-gradient(135deg, #1c3a8a, #1d4ed8 65%, #2563eb);
  --sidebar-bubble-shadow: 0 10px 22px rgba(23, 55, 128, .38), 0 2px 6px rgba(23, 55, 128, .3);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 960px; margin: 0 auto; padding: 1.25rem 1.25rem 3rem; }

/* ---------- Shell layout (sidebar + content) ---------- */
.app-shell { display: flex; align-items: stretch; min-height: 100vh; }

.sidebar {
  width: 264px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 1.15rem .9rem 1rem;
}
.sidebar-brand {
  display: flex; align-items: center; justify-content: space-between;
  padding: .35rem .55rem 1.35rem;
}
.sidebar-brand .brand { font-size: 1.15rem; font-weight: 700; letter-spacing: -.03em; color: #16305a; }
.sidebar-brand .brand span { color: var(--accent); }
.sidebar-toggle {
  display: none; border: none; background: transparent; color: var(--sidebar-text);
  width: 2rem; height: 2rem; align-items: center; justify-content: center;
  border-radius: 8px; cursor: pointer;
}
.sidebar-toggle:hover { background: rgba(20, 66, 130, .1); }

.sidebar-nav { position: relative; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.nav-bubble {
  position: absolute; left: 0; right: 0; top: 0; height: 2.65rem;
  background: var(--sidebar-bubble);
  border-radius: 12px;
  box-shadow: var(--sidebar-bubble-shadow);
  transition: transform .38s cubic-bezier(.22, 1, .36, 1), height .38s cubic-bezier(.22, 1, .36, 1), opacity .25s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.nav-item {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem .85rem;
  border-radius: 12px;
  color: var(--sidebar-text);
  font-size: .92rem; font-weight: 600; letter-spacing: -.005em;
  transition: color .2s ease;
}
.nav-item:hover, .nav-item.active { color: var(--sidebar-active-text); text-decoration: none; }
.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; }
.nav-item span.nav-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-item .nav-badge { margin-left: auto; }

.sidebar-footer {
  border-top: 1px solid var(--sidebar-border);
  margin-top: 1rem; padding-top: 1rem;
  display: flex; flex-direction: column; gap: .55rem;
}
.user-card {
  display: flex; align-items: center; gap: .65rem;
  padding: .5rem .6rem; border-radius: 12px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--sidebar-border);
}
.user-avatar {
  width: 2.1rem; height: 2.1rem; border-radius: 999px; flex-shrink: 0;
  background: var(--sidebar-bubble); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
}
.user-meta { min-width: 0; }
.user-name { font-size: .85rem; font-weight: 700; color: #16305a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role { font-size: .72rem; color: var(--sidebar-text-muted); }

.nav-logout {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem .85rem; border-radius: 12px;
  color: var(--sidebar-text); font-weight: 600; font-size: .9rem;
  transition: background .2s, color .2s;
}
.nav-logout svg { width: 18px; height: 18px; stroke: currentColor; }
.nav-logout:hover { background: rgba(220, 38, 38, .14); color: #991b1b; text-decoration: none; }

.mobile-menu-btn { display: none; }
.sidebar-backdrop { display: none; }

.main-content { flex: 1; min-width: 0; }
.main-content .wrap { max-width: 1080px; padding: 1.9rem 2rem 3rem; }

@media (max-width: 959px) {
  .sidebar {
    position: fixed; z-index: 50; top: 0; left: 0; height: 100vh;
    width: min(82vw, 300px);
    transform: translateX(-100%);
    transition: transform .3s ease;
    box-shadow: var(--shadow-md);
  }
  .sidebar.is-open { transform: translateX(0); }
  .sidebar-toggle { display: inline-flex; }
  .mobile-menu-btn {
    display: flex; position: fixed; top: 1rem; left: 1rem; z-index: 40;
    width: 2.75rem; height: 2.75rem; border-radius: 999px;
    align-items: center; justify-content: center;
    background: var(--panel); border: 1px solid var(--border); box-shadow: var(--shadow-md);
    color: var(--text); cursor: pointer;
  }
  .sidebar-backdrop {
    display: block; position: fixed; inset: 0; z-index: 45;
    background: rgba(15, 23, 42, .45);
    opacity: 0; pointer-events: none; transition: opacity .3s ease;
  }
  .sidebar-backdrop.is-open { opacity: 1; pointer-events: auto; }
  .main-content .wrap { padding: 4.5rem 1.1rem 3rem; }
}

.brand { font-weight: 700; letter-spacing: -.03em; color: var(--text); }
.brand span { color: var(--accent); }
.nav-badge {
  display: inline-block; min-width: 1.1rem; padding: .05rem .35rem; margin-left: .3rem;
  border-radius: 999px; background: var(--err); color: #fff;
  font-size: .68rem; font-weight: 700; line-height: 1.35; text-align: center;
  vertical-align: .1rem;
}

h1 { font-size: 1.55rem; margin: 0 0 1rem; letter-spacing: -.02em; color: var(--text); }
h2 { font-size: 1.1rem; margin: 1.5rem 0 .75rem; color: var(--muted); font-weight: 600; }

.flash { list-style: none; padding: 0; margin: 0 0 1rem; }
.flash li {
  padding: .65rem .85rem; border-radius: 10px; margin-bottom: .5rem;
  border: 1px solid var(--border); background: var(--panel); font-size: .95rem;
  box-shadow: var(--shadow-sm);
}
.flash .success { background: #ecfdf5; border-color: rgba(5, 150, 105, .25); color: #065f46; }
.flash .error { background: #fef2f2; border-color: rgba(220, 38, 38, .3); color: #991b1b; }
.flash .info { background: #eff6ff; border-color: rgba(37, 99, 235, .25); color: #1e3a8a; }

.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 14px; padding: 1rem 1.15rem; margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.card.has-pending {
  border-color: var(--err);
  box-shadow: 0 0 0 1px rgba(220, 38, 38, .25), var(--shadow-sm);
}
.card.has-pending h2 { color: var(--err); }

.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .75rem; margin-bottom: 1.25rem;
}
.stat { padding: 1rem; border-radius: 14px; border: 1px solid var(--border); background: var(--panel); box-shadow: var(--shadow-sm); }
.stat .lbl { color: var(--muted); font-size: .8rem; }
.stat .val { font-size: 1.35rem; font-weight: 700; margin-top: .25rem; letter-spacing: -.02em; }

table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th, table.data td {
  text-align: left; padding: .65rem .5rem; border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.data th { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
table.data tr.mail-row:hover { background: var(--panel-2, rgba(127,127,127,.08)); }
.money { font-variant-numeric: tabular-nums; white-space: nowrap; }

.badge {
  display: inline-block; padding: .15rem .5rem; border-radius: 999px;
  font-size: .75rem; border: 1px solid var(--border); color: var(--muted);
}
.badge.negociacao { color: var(--warn); border-color: rgba(217, 119, 6, .35); }
.badge.em_aprovacao { color: var(--accent-2); border-color: rgba(109, 40, 217, .35); }
.badge.desenvolvimento { color: var(--accent); border-color: rgba(37, 99, 235, .35); }
.badge.finalizado_com_mensalidade { color: var(--ok); border-color: rgba(5, 150, 105, .35); }
.badge.finalizado_sem_mensalidade { color: var(--muted); }
.badge.cancelado { color: var(--err); border-color: rgba(220, 38, 38, .4); }
.badge.host-ativa { color: var(--ok); border-color: rgba(5, 150, 105, .35); }
.badge.host-suspensa { color: var(--warn); border-color: rgba(217, 119, 6, .35); }
.badge.host-cancelada { color: var(--muted); }

.btn-danger {
  border-color: rgba(220, 38, 38, .4); color: #b91c1c;
}
.btn-danger:hover { border-color: var(--err); background: rgba(220, 38, 38, .08); }
.btn-danger-solid {
  background: #b91c1c; border: none; color: #fff;
}
.btn-danger-solid:hover { background: #991b1b; filter: brightness(1.05); }

.modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(15, 23, 42, .55); align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-backdrop.is-open { display: flex; }
.modal-panel {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.25rem 1.35rem; max-width: 420px; width: 100%;
  box-shadow: 0 20px 50px rgba(16, 38, 73, .28);
}
.modal-panel h2 { margin: 0 0 .75rem; color: var(--text); font-size: 1.15rem; }
.modal-panel p { margin: 0 0 1rem; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.modal-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.modal-step { display: none; }
.modal-step.is-active { display: block; }
.row-muted td, .row-muted a { color: var(--muted); }
.progress-cancelled { opacity: .45; }
.domain-soon { color: var(--warn); font-weight: 600; }
.domain-expired { color: var(--err); font-weight: 600; }
.num-compact { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .95rem; }

.hosting-list { display: grid; gap: .6rem; }
.hosting-row {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 12px; padding: .75rem .9rem;
  box-shadow: var(--shadow-sm);
}
.hosting-row-line1 {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem;
}
.hosting-client { min-width: 160px; }
.hosting-client .hint { display: block; font-size: .78rem; }
.hosting-domain { min-width: 140px; }
.hosting-actions { margin-left: auto; white-space: nowrap; }
.hosting-row-line2 {
  display: flex; flex-wrap: wrap; gap: .3rem 1.1rem;
  margin-top: .5rem; padding-top: .5rem; border-top: 1px solid var(--border);
  font-size: .82rem;
}
.hosting-row-line2 span { white-space: nowrap; }

.hosting-disk { margin-top: .5rem; }
.hosting-disk-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .78rem; margin-bottom: .25rem;
}
.disk-legend {
  display: flex; flex-wrap: wrap; gap: .3rem 1.1rem;
  font-size: .78rem; margin-bottom: .6rem;
}
.disk-legend span { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.disk-legend-swatch {
  display: inline-block; width: .7rem; height: .7rem; border-radius: 3px;
}
.disk-usage-track {
  width: 100%; background: var(--panel-soft); border: 1px solid var(--border);
  border-radius: 6px; overflow: hidden;
}
.disk-usage-bar { display: flex; min-width: 14px; height: 1.6rem; }
.disk-usage-seg {
  display: flex; align-items: center; padding: 0 .5rem;
  min-width: 6px; flex-shrink: 0;
  color: #04121a; font-size: .72rem; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.sig-wrap { -webkit-user-select: none; user-select: none; }
.sig-frame {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.sig-pad {
  width: 100%;
  max-width: 100%;
  height: 180px;
  display: block;
  touch-action: none;
  -ms-touch-action: none;
  background: #fff;
  border: 0;
  border-radius: 0;
  cursor: crosshair;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
.sig-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }

.btn {
  display: inline-block; border: 1px solid var(--border); background: var(--panel);
  color: var(--text); padding: .55rem 1rem; border-radius: 9px; cursor: pointer;
  font: inherit; font-size: .92rem; box-shadow: var(--shadow-sm);
}
.btn:hover { border-color: var(--accent); text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none; color: #fff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .3);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }

.form-grid { display: grid; gap: .85rem; max-width: 640px; }
.contract-form { display: grid; gap: 1rem; max-width: 720px; }
.form-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.15rem 1.15rem;
}
.form-section--requirements {
  background: var(--panel-soft);
  border-color: var(--border);
}
.form-section-title {
  margin: 0 0 .85rem;
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -.01em;
}
.form-section-grid { display: grid; gap: .85rem; }
.form-save-status {
  min-height: 1.1rem;
  font-size: .8rem;
  color: var(--muted);
  margin: 0;
}
.form-save-status.is-saving { color: var(--accent-2); }
.form-save-status.is-ok { color: var(--ok); }
.form-save-status.is-error { color: var(--err); }
.requirements-list { display: grid; gap: .55rem; }
.requirement-input { margin: 0; }
.line-requirements {
  margin: .6rem -.75rem -.75rem;
  padding: .75rem;
  background: var(--panel-soft);
  border-top: 1px dashed var(--border);
}
.line-requirements label { color: var(--text); font-weight: 600; font-size: .8rem; }
#lines { display: grid; gap: .9rem; }
.line-row {
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: 10px;
  overflow: hidden;
}
#lines .line-row:nth-of-type(4n+1) { border-left-color: var(--accent); }
#lines .line-row:nth-of-type(4n+2) { border-left-color: var(--accent-2); }
#lines .line-row:nth-of-type(4n+3) { border-left-color: var(--ok); }
#lines .line-row:nth-of-type(4n+4) { border-left-color: var(--warn); }

/* Cartões de serviço — proposta pública e detalhe do contrato */
.service-card {
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  background: var(--panel-soft);
  padding: .9rem 1rem;
  margin-bottom: .85rem;
}
.service-card:last-child { margin-bottom: 0; }
.service-card-head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: .5rem 1rem;
}
.service-card-desc { font-weight: 600; color: var(--text); }
.service-card-meta { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .85rem; white-space: nowrap; }
.service-card-price { color: var(--text); font-weight: 700; }
.service-card-reqs {
  margin-top: .75rem; padding-top: .7rem;
  border-top: 1px dashed var(--border);
}
.service-card-reqs-label {
  margin: 0 0 .4rem; color: var(--muted); font-size: .75rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
}
.service-card-reqs ol { margin: 0; padding-left: 1.2rem; }
.service-card-reqs li { margin-bottom: .3rem; color: var(--text); }
.service-card-reqs li:last-child { margin-bottom: 0; }
label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .3rem; }
input, select, textarea {
  width: 100%; padding: .65rem .75rem; border-radius: 9px;
  border: 1px solid var(--border); background: #fff; color: var(--text);
  font: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}
textarea { min-height: 120px; resize: vertical; }
.computed-date {
  margin: 0;
  padding: .65rem .75rem;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
body:not(.show-contract-values) .money-secret {
  font-size: 0;
  letter-spacing: 0;
}
body:not(.show-contract-values) .money-secret::after {
  content: "••••";
  font-size: .95rem;
  color: var(--muted);
  letter-spacing: .12em;
  font-weight: 600;
}

.auth-box {
  max-width: 380px; margin: 4rem auto; padding: 1.5rem;
  border: 1px solid var(--border); border-radius: 16px; background: var(--panel);
  box-shadow: var(--shadow-md);
}
.auth-box h1 { text-align: center; }
.cred {
  margin: 1rem 0; padding: 1rem; border-radius: 10px;
  border: 1px dashed rgba(37, 99, 235, .35); background: #eff6ff;
}
.cred code { font-size: 1.05rem; color: var(--accent); }

.progress-bar {
  height: 8px; border-radius: 999px; background: var(--panel-soft);
  overflow: hidden;
}
.progress-bar > span {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--ok));
  min-width: 0;
}
.progress-bar-sm { height: 6px; margin-top: .35rem; min-width: 64px; }
.progress-cell { min-width: 72px; }
.progress-cell > span { font-variant-numeric: tabular-nums; font-weight: 600; font-size: .9rem; }

.progress-edit { display: grid; gap: .75rem; }
.progress-edit input[type="range"] { width: 100%; accent-color: var(--accent); }
.progress-edit-controls {
  display: flex; flex-wrap: wrap; align-items: center; gap: .65rem;
}
.progress-edit-controls input[type="number"] {
  width: 5rem; margin: 0;
}
.progress-pct-label {
  font-weight: 700; font-variant-numeric: tabular-nums; min-width: 3rem;
  color: var(--accent);
}

.terms-editor { min-height: 28rem; font-size: .92rem; line-height: 1.45; }
.terms-fold {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .35rem 1.05rem 0.85rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.terms-fold summary {
  cursor: pointer;
  font-weight: 600;
  padding: .7rem 0;
  color: var(--text);
  list-style: none;
}
.terms-fold summary::-webkit-details-marker { display: none; }
.terms-fold summary::before {
  content: "▸ ";
  color: var(--accent);
}
.terms-fold[open] summary::before { content: "▾ "; }
.terms-body {
  white-space: pre-wrap;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding: .85rem 0 .35rem;
}

.pix-card { border: 1px solid var(--accent); }
.pix-installments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .75rem;
}
.pix-installment {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .85rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.pix-installment-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
}
.pix-installment-head .lbl { color: var(--muted); font-size: .85rem; }
.pix-installment-head .val { font-size: 1.05rem; font-weight: 700; }
.pix-copy-btn { width: 100%; }
.pix-copy-btn.pix-copied { background: var(--ok); border-color: var(--ok); color: #fff; }

.services { margin: 0; padding-left: 1.1rem; }
.services li { margin-bottom: .35rem; }

.server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}
.server-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.15rem 1.25rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.server-card.is-inactive { opacity: .5; }
.server-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1rem;
}
.server-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.2rem;
}
.server-metrics {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
.server-metrics .lbl { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .45rem; }
.server-triple {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  margin-bottom: .45rem;
}
.server-triple strong { display: block; font-size: 1.05rem; margin-top: .15rem; letter-spacing: -.02em; }
.meter {
  height: 7px;
  border-radius: 99px;
  background: var(--panel-soft);
  overflow: hidden;
}
.meter > span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
}
.meter > span.is-warm { background: var(--warn); }
.meter > span.is-hot { background: var(--err); }
.server-fin {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--border);
}
.server-fin .lbl { color: var(--muted); font-size: .75rem; }
.server-fin .val { font-size: 1.05rem; font-weight: 700; margin-top: .15rem; }
.server-card-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.btn-icon-label { display: inline-flex; align-items: center; gap: .4rem; }
.btn-icon-label .btn-icon { flex-shrink: 0; }

.server-chart-svg { width: 100%; height: auto; display: block; }
.server-chart-svg--lg { min-height: 260px; }
.server-chart-page-block { margin-bottom: 1.25rem; }
.server-chart-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.server-chart-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.server-chart-legend i { display: inline-block; width: 16px; height: 3px; border-radius: 2px; }

@media (max-width: 640px) {
  table.data .hide-sm { display: none; }
}
