:root {
  --bg: #101116;
  --panel: rgba(22, 23, 29, 0.86);
  --card: #1c1e24;
  --card-2: #22252b;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);
  --cyan: #9cecfe;
  --cyan-dim: rgba(156, 236, 254, 0.14);
  --gold: #ffba23;
  --gold-dim: rgba(255, 186, 35, 0.16);
  --text: #f3f5f7;
  --muted: #8d939d;
  --danger: #ff8b8b;
  --ok: #8ee0b5;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body { margin: 0; min-height: 100%; }
body {
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(1000px 520px at -8% -10%, rgba(156, 236, 254, 0.08), transparent 55%),
    radial-gradient(900px 480px at 110% 0%, rgba(255, 186, 35, 0.07), transparent 50%),
    radial-gradient(700px 400px at 70% 110%, rgba(156, 236, 254, 0.04), transparent 45%),
    var(--bg);
  color-scheme: dark;
}

::selection { background: rgba(156, 236, 254, 0.28); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #343843; border-radius: 99px; }
::-webkit-scrollbar-track { background: transparent; }

.accent {
  height: 3px;
  background: linear-gradient(90deg, var(--cyan) 0%, #d4f6ff 28%, var(--gold) 100%);
}

.lock {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(16, 17, 22, 0.94);
  backdrop-filter: blur(18px);
}
.lock[hidden] { display: none !important; }
.lock-card {
  width: min(100%, 400px);
  margin: 0;
}
.lock-card label {
  display: block;
  margin: 18px 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.lock-card input {
  margin-top: 7px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.mobile-bar,
.bottom-nav,
.only-mobile { display: none; }

.app {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: calc(100vh - 3px);
}

.sidebar {
  position: sticky;
  top: 3px;
  height: calc(100vh - 3px);
  padding: 28px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: var(--panel);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand { padding: 4px 10px 8px; }
.brand-logo {
  display: block;
  width: 128px;
  height: auto;
  margin-bottom: 10px;
}
.brand-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

nav { display: flex; flex-direction: column; gap: 4px; }
.nav-btn {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-align: left;
  padding: 11px 12px;
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: currentColor;
  opacity: 0.85;
}
.nav-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-btn.is-active {
  background: var(--cyan-dim);
  color: var(--cyan);
}

.sidebar-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(0, 0, 0, 0.18);
}
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5c6370;
  box-shadow: 0 0 0 4px rgba(92, 99, 112, 0.16);
}
.sidebar-foot.is-live { color: var(--gold); border-color: rgba(255, 186, 35, 0.28); }
.sidebar-foot.is-live .pulse {
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-dim);
  animation: pulse 1.6s ease-out infinite;
}
.sidebar-foot.is-paused { color: var(--cyan); border-color: rgba(156, 236, 254, 0.28); }
.sidebar-foot.is-paused .pulse {
  background: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-dim);
}
.sidebar-foot.is-stopped { color: var(--danger); border-color: rgba(255, 139, 139, 0.28); }
.sidebar-foot.is-stopped .pulse { background: var(--danger); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 186, 35, 0.45); }
  100% { box-shadow: 0 0 0 8px rgba(255, 186, 35, 0); }
}

.main {
  padding: 40px 48px 72px;
  max-width: 1180px;
  min-width: 0;
}
.view { display: none; animation: fade 0.28s ease; }
.view.is-visible { display: block; }

@keyframes fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.lede {
  margin: 10px 0 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
.stat {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #23262d 0%, var(--card) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
}
.stat-featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}
.stat span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stat strong {
  display: block;
  margin-top: 12px;
  font-size: 32px;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: -0.04em;
}
.stat-status { font-size: 22px !important; text-transform: capitalize; }

.card {
  background: linear-gradient(180deg, #23262d 0%, var(--card) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.card-head p, .card-sub {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.btn, .nav-btn, .file-btn {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-gold {
  background: var(--gold);
  color: #1a1608;
  box-shadow: 0 8px 24px rgba(255, 186, 35, 0.18);
}
.btn-gold:hover { filter: brightness(1.05); }
.btn-cyan {
  background: var(--cyan);
  color: #102026;
  box-shadow: 0 8px 24px rgba(156, 236, 254, 0.14);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); }
.btn-danger {
  background: rgba(255, 139, 139, 0.1);
  color: var(--danger);
  border: 1px solid rgba(255, 139, 139, 0.18);
}
.btn:disabled { opacity: 0.38; cursor: not-allowed; transform: none; pointer-events: none; }
.btn:disabled:hover { filter: none; transform: none; }

.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.muted, .hint { color: var(--muted); }
.hint { font-size: 13px; line-height: 1.6; margin: 10px 0 0; }
.foot-note { max-width: 72ch; }
.mono, code { font-family: var(--mono); }
code {
  font-size: 12px;
  color: var(--cyan);
  background: var(--cyan-dim);
  padding: 1px 6px;
  border-radius: 6px;
}

.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  overflow-wrap: anywhere;
}
th {
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
tr:last-child td { border-bottom: 0; }
.empty {
  color: var(--muted);
  text-align: center;
  padding: 28px 8px !important;
}

.toolbar, .pager, .progress-top {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.toolbar { margin-bottom: 8px; }
.pager { justify-content: flex-end; margin-top: 14px; }

input, select, textarea {
  width: 100%;
  background: #14151a;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(156, 236, 254, 0.55);
  box-shadow: 0 0 0 4px var(--cyan-dim);
}
textarea { resize: vertical; min-height: 92px; }
.toolbar input, .toolbar select, .preview-tools input { width: auto; min-width: 200px; }

.inline-field {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.preview-tools { align-items: center; }

.dropzone {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 18px;
  border: 1px dashed rgba(156, 236, 254, 0.28);
  border-radius: 16px;
  background: rgba(156, 236, 254, 0.04);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.dropzone.is-over {
  border-color: var(--cyan);
  background: rgba(156, 236, 254, 0.08);
}
.dropzone-copy { display: grid; gap: 4px; }
.dropzone-copy strong { font-size: 15px; }
.dropzone-copy span { color: var(--muted); font-size: 13px; }

.file-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 650;
}
.file-btn input { display: none; }

.split {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.stack-form label {
  display: block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.stack-form input { margin-top: 7px; text-transform: none; letter-spacing: 0; font-weight: 400; }

.preview-shell {
  background: #14151a;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  min-height: 740px;
  box-shadow: var(--shadow);
}
.preview-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #1a1c22;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a3f4a;
}
.dot:nth-child(1) { background: #ff8b8b; }
.dot:nth-child(2) { background: var(--gold); }
.dot:nth-child(3) { background: #8ee0b5; }
.preview-title {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.preview-shell iframe {
  width: 100%;
  height: 700px;
  border: 0;
  background: #1d1e24;
}

.send-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  background:
    linear-gradient(180deg, rgba(255, 186, 35, 0.07), transparent 42%),
    linear-gradient(180deg, #23262d 0%, var(--card) 100%);
}
.send-live {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
}
.send-live-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.send-live-label {
  margin: 3px 0 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.send-live[data-state="sending"] {
  color: var(--gold);
  border-color: rgba(255, 186, 35, 0.38);
  background: var(--gold-dim);
}
.send-live[data-state="sending"] .pulse {
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-dim);
  animation: pulse 1.6s ease-out infinite;
}
.send-live[data-state="paused"] {
  color: var(--cyan);
  border-color: rgba(156, 236, 254, 0.38);
  background: var(--cyan-dim);
}
.send-live[data-state="paused"] .pulse {
  background: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-dim);
}
.send-live[data-state="stopped"],
.send-live[data-state="failed"] {
  color: var(--danger);
  border-color: rgba(255, 139, 139, 0.38);
  background: rgba(255, 139, 139, 0.1);
}
.send-live[data-state="stopped"] .pulse,
.send-live[data-state="failed"] .pulse { background: var(--danger); }
.send-live[data-state="completed"] {
  color: var(--ok);
  border-color: rgba(142, 224, 181, 0.38);
  background: rgba(142, 224, 181, 0.1);
}
.send-live[data-state="completed"] .pulse { background: var(--ok); }
.huge {
  margin: 6px 0 0;
  font-size: 64px;
  line-height: 0.9;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, #fff 20%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.send-controls { display: grid; gap: 12px; min-width: min(100%, 440px); }
.send-controls label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.send-controls input { margin-top: 7px; }

.bar {
  height: 8px;
  background: #14151a;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 12px;
}
#progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transition: width 0.2s ease, background 0.2s ease;
}
.progress-top { justify-content: space-between; align-items: center; }
.progress-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}
.send-progress .hint { margin: 12px 0 0; }
.send-progress[data-state="paused"] #progress-bar { background: var(--cyan); }
.send-progress[data-state="stopped"] #progress-bar,
.send-progress[data-state="failed"] #progress-bar { background: var(--danger); }
.send-progress[data-state="completed"] #progress-bar { background: var(--ok); }

.log {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 320px;
  overflow: auto;
  font-family: var(--mono);
  font-size: 12px;
}
.log:empty::before {
  content: "Sends will list here.";
  color: var(--muted);
}
.log li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.log .ok { color: var(--ok); }
.log .bad { color: var(--danger); }

.settings-stack { display: grid; gap: 16px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 16px;
}
.form-grid label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-grid label em {
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #6f7682;
}
.form-grid label input,
.form-grid label select,
.form-grid label textarea {
  margin-top: 7px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.span-2 { grid-column: span 2; }

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  font-size: 14px;
}
.check-list li span:last-child { min-width: 0; overflow-wrap: anywhere; }
.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 11px;
  font-weight: 700;
}
.check-list .ok { color: var(--text); }
.check-list .ok .check-icon { background: rgba(142, 224, 181, 0.16); color: var(--ok); }
.check-list .bad { color: var(--text); }
.check-list .bad .check-icon { background: rgba(255, 139, 139, 0.14); color: var(--danger); }

.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.status-chip.ready,
.status-chip.completed,
.status-chip.sent { color: var(--ok); background: rgba(142, 224, 181, 0.12); }
.status-chip.unsubscribed,
.status-chip.failed,
.status-chip.stopped { color: var(--danger); background: rgba(255, 139, 139, 0.12); }
.status-chip.sending,
.status-chip.queued { color: var(--gold); background: var(--gold-dim); }
.status-chip.paused { color: var(--cyan); background: var(--cyan-dim); }

@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .preview-shell iframe { height: 640px; }
  .preview-shell { min-height: 0; }
}

@media (max-width: 900px) {
  .only-desk { display: none; }
  .only-mobile { display: inline; }

  .mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-top));
    padding-top: calc(10px + env(safe-area-inset-top));
    background: rgba(16, 17, 22, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }
  .mobile-logo { height: 22px; width: auto; }
  .mobile-status {
    margin: 0;
    padding: 7px 10px;
    font-size: 10px;
  }

  .bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: rgba(22, 23, 29, 0.94);
    border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    backdrop-filter: blur(16px);
  }
  .bottom-nav .nav-btn {
    flex-direction: column;
    gap: 4px;
    min-height: 52px;
    padding: 8px 4px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    justify-content: center;
  }
  .bottom-nav .nav-btn svg { width: 18px; height: 18px; }
  .bottom-nav .nav-btn.is-active { background: var(--cyan-dim); }

  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .main {
    padding: 20px 16px calc(108px + env(safe-area-inset-bottom));
    max-width: none;
  }

  .page-head {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 20px;
  }
  .page-head .btn,
  .page-head .row-actions { width: 100%; }
  .send-live { width: 100%; }
  .page-head .row-actions .btn,
  .page-head .row-actions .file-btn { flex: 1; justify-content: center; text-align: center; }
  h1 { font-size: 28px; }
  .lede { max-width: none; }

  .stat-grid, .form-grid, .send-controls { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: 1 / -1; }
  .huge { font-size: 52px; }

  .dropzone {
    flex-direction: column;
    align-items: stretch;
  }
  .dropzone .row-actions { width: 100%; }
  .dropzone .btn,
  .dropzone .file-btn { flex: 1; justify-content: center; }

  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar input,
  .toolbar select,
  .preview-tools input { width: 100%; min-width: 0; }
  .preview-tools { width: 100%; }
  .inline-field { width: 100%; flex-wrap: wrap; }
  .inline-field input { flex: 1; min-width: 0; }

  .send-hero { align-items: stretch; }
  .send-controls { min-width: 0; width: 100%; }
  .send-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .send-actions .btn-gold { grid-column: 1 / -1; }

  .pager { justify-content: space-between; }
  .pager .btn { min-height: 44px; }

  input, select, textarea, .btn, .file-btn { font-size: 16px; }
  .stack-form label,
  .form-grid label,
  .send-controls label { font-size: 12px; }

  .preview-shell iframe { height: min(70vh, 560px); }
}

@media (max-width: 640px) {
  .stat-grid,
  .form-grid,
  .send-controls { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  h1 { font-size: 28px; }
  .stat strong { font-size: 28px; }
  .huge { font-size: 44px; }
  .card { padding: 16px; }

  .stack-table thead { display: none; }
  .stack-table tbody { display: grid; gap: 8px; }
  .stack-table tr {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
  }
  .stack-table td {
    display: grid;
    gap: 2px;
    border: 0;
    padding: 0;
  }
  .stack-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .stack-table td:first-child {
    font-weight: 600;
    padding-bottom: 4px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
  }
  .stack-table .empty,
  .stack-table td.empty {
    display: block;
    border: 0;
    margin: 0;
    padding: 18px 8px !important;
    text-align: center;
    font-weight: 400;
  }
  .stack-table .empty::before,
  .stack-table td.empty::before { content: none; }
}

@media (max-width: 400px) {
  .bottom-nav .nav-btn { font-size: 9px; padding: 8px 2px; }
  .main { padding-left: 12px; padding-right: 12px; }
}
