:root {
  --lime: #9BE000;
  --highlight: #B7F500;
  --deep: #4E7900;
  --glow: #7ED000;
  --bg: #050A09;
  --sidebar: #080E0D;
  --card: #0D1412;
  --elevated: #111A17;
  --border: #29322F;
  --text: #F5F7F6;
  --secondary: #A9B0AD;
  --muted: #747D79;
  --warning: #FFB800;
  --progress: #28A9E2;
  --success: #32D74B;
  --danger: #F04B32;
  --glow-shadow:
    0 0 10px rgba(155, 224, 0, 0.25),
    0 0 30px rgba(155, 224, 0, 0.10);
  --cta: linear-gradient(135deg, #B7F500 0%, #7ED000 55%, #4E7900 100%);
  --radius: 12px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}

a { color: inherit; text-decoration: none; }

.shell {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: var(--sidebar);
  border-right: 1px solid var(--border);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  display: flex;
  align-items: center;
  padding: 0;
}

.brand img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(155, 224, 0, 0.28));
}

.brand span { display: none; }

nav { display: grid; gap: 4px; }

nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--secondary);
  font-size: 13.5px;
  font-weight: 500;
}

nav a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: none;
}

nav a:hover { background: var(--elevated); color: var(--text); }

nav a.active {
  background: var(--lime);
  color: #081109;
  font-weight: 700;
  box-shadow: var(--glow-shadow);
}

.user-card {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
}

.user-card .btn-link {
  margin-left: auto;
  padding: 6px 8px;
  font-size: 12px;
  color: var(--muted);
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(155, 224, 0, 0.16);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.user-card strong { display: block; font-size: 13px; }
.user-card span { color: var(--muted); font-size: 12px; }

.main { min-width: 0; }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 28px 8px;
}

.topbar-brand {
  flex: none;
}

.topbar-brand img {
  height: 56px;
}

.topbar > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.topbar h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.subtitle {
  margin: 6px 0 0;
  color: var(--secondary);
  font-size: 14px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.content { padding: 18px 28px 36px; }

.btn, button, select, input, textarea {
  font: inherit;
}

.btn, button.btn {
  border: 0;
  cursor: pointer;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 13px;
}

.btn-primary {
  background: var(--cta);
  color: #081109;
  box-shadow: var(--glow-shadow);
}

.btn-primary:disabled { opacity: 0.55; cursor: wait; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline {
  background: transparent;
  color: var(--lime);
  border: 1px solid var(--lime);
}

.btn-link {
  background: none;
  color: var(--secondary);
  padding: 8px 10px;
}

.btn-danger { background: rgba(240, 75, 50, 0.16); color: #ff8d7d; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.kpi {
  padding: 16px 18px;
}

.kpi .label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kpi .value {
  font-size: 28px;
  font-weight: 700;
  margin: 8px 0 4px;
  letter-spacing: -0.03em;
}

.kpi .delta { font-size: 12px; color: var(--lime); }
.kpi .delta.down { color: var(--danger); }

.layout-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  margin-top: 14px;
}

.layout-3 {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px 0;
}

.card-head h2 {
  margin: 0;
  font-size: 15px;
}

.table-wrap { overflow: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

tr:hover td { background: var(--elevated); }

.name {
  font-weight: 600;
}

.name a:hover { color: var(--lime); }

.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(155, 224, 0, 0.45);
  color: var(--lime);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
}

.tag.blue {
  border-color: rgba(40, 169, 226, 0.5);
  color: var(--progress);
}

.tag.warn {
  border-color: rgba(255, 184, 0, 0.5);
  color: var(--warning);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--secondary);
  font-weight: 500;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}

.status.flagged::before { background: var(--warning); }
.status.queued::before,
.status.submitted::before,
.status.in_progress::before { background: var(--progress); }
.status.success::before { background: var(--success); }
.status.failed::before,
.status.clean::before { background: var(--danger); }
.status.clean::before { background: var(--muted); }

.row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.bot-card { padding: 18px; }

.bot-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(155, 224, 0, 0.6);
  animation: pulse 1.6s infinite;
  display: inline-block;
  margin-right: 8px;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(155, 224, 0, 0); }
}

.gauge {
  width: 180px;
  height: 180px;
  margin: 0 auto 8px;
}

.gauge-label {
  text-align: center;
  color: var(--secondary);
  margin-bottom: 16px;
}

.gauge-label b {
  display: block;
  color: var(--text);
  font-size: 22px;
}

.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  color: var(--secondary);
}

.toggle input {
  appearance: none;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #1b2421;
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
}

.toggle input:checked { background: var(--lime); border-color: var(--lime); }

.toggle input::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #081109;
  top: 2px;
  left: 2px;
  transition: 0.15s ease;
}

.toggle input:checked::after { left: 20px; }

.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 16px;
}

.mini-stats div {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}

.mini-stats b { display: block; font-size: 16px; margin-top: 4px; }
.mini-stats span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }

.form-grid, .search-form {
  display: grid;
  gap: 12px;
}

.search-form {
  grid-template-columns: 1.4fr 1fr 0.7fr auto auto;
  align-items: end;
  padding: 16px 18px;
  margin-bottom: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input[type="text"], input[type="password"], input[type="number"], input[type="email"],
input[type="url"], input[type="tel"], select, textarea {
  width: 100%;
  background: var(--elevated);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

input:focus, select:focus, textarea:focus {
  outline: 1px solid var(--lime);
}

.hint { color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 4px 0 12px;
}

.selection-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(155, 224, 0, 0.35);
  background: rgba(155, 224, 0, 0.08);
  border-radius: 10px;
  margin-bottom: 12px;
}

.empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--secondary);
}

.empty .pulse-dot { margin-bottom: 12px; }

.chart-card { padding: 16px 18px 20px; min-height: 280px; }
.chart-card h2 { margin: 0 0 12px; font-size: 15px; }

.bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 40px;
  gap: 8px;
  align-items: center;
  margin: 10px 0;
  font-size: 13px;
  color: var(--secondary);
}

.bar-track {
  height: 10px;
  background: #1b2421;
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--cta);
  border-radius: 999px;
  box-shadow: var(--glow-shadow);
}

.legend { display: grid; gap: 8px; font-size: 13px; color: var(--secondary); margin-top: 12px; }
.legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--elevated);
  border: 1px solid var(--lime);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: var(--glow-shadow);
  z-index: 20;
}

.error { color: #ff8d7d; font-size: 13px; margin: 0; }

.check {
  width: 16px;
  height: 16px;
  accent-color: var(--lime);
}

.mark {
  background: rgba(155, 224, 0, 0.18);
  color: var(--highlight);
  border-radius: 3px;
  padding: 0 2px;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.stack { display: grid; gap: 14px; }

.auth-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(155, 224, 0, 0.12), transparent 55%),
    var(--bg);
}

.auth-shell {
  width: min(420px, calc(100% - 32px));
  display: grid;
  gap: 18px;
  margin: auto;
  padding: 32px 0 48px;
}

.auth-card {
  padding: 28px 26px;
  box-shadow: var(--glow-shadow);
}

.auth-card h1 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.auth-foot {
  margin: 16px 0 0;
  color: var(--secondary);
  font-size: 13px;
  text-align: center;
}

.auth-foot a { color: var(--lime); font-weight: 600; }

.auth-card .btn-primary,
.auth-card .btn-ghost { width: 100%; text-align: center; }

.marketing {
  background:
    radial-gradient(1000px 520px at 50% -8%, rgba(155, 224, 0, 0.14), transparent 52%),
    var(--bg);
}

.m-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 14, 13, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
}

.m-nav .brand { padding: 0; }

.m-nav .brand img {
  height: 56px;
  width: auto;
}

.m-nav nav {
  display: flex;
  gap: 18px;
  margin-right: auto;
}

.m-nav nav a {
  color: var(--secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

.m-nav nav a svg { display: none; }

.m-nav nav a:hover { color: var(--text); }

.m-nav-actions { display: flex; gap: 10px; }

.m-hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 24px 48px;
  text-align: center;
}

.m-kicker {
  margin: 0 0 10px;
  color: var(--lime);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.m-hero h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.m-lede {
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--secondary);
  font-size: 17px;
  line-height: 1.55;
}

.m-hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.m-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px 56px;
}

.m-section-head {
  max-width: 680px;
  margin-bottom: 22px;
}

.m-section-head h2,
.m-cta h2 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.m-section-head p { color: var(--secondary); line-height: 1.55; }

.m-scan { overflow: hidden; }

.m-scan-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--elevated);
}

.m-scan-bar .hint { display: block; margin-bottom: 4px; }

.m-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.m-step { padding: 18px; }

.m-step span {
  color: var(--lime);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.m-step h3,
.m-features h3 {
  margin: 10px 0 8px;
  font-size: 16px;
}

.m-step p,
.m-features p {
  margin: 0;
  color: var(--secondary);
  line-height: 1.5;
  font-size: 14px;
}

.m-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.m-features .card { padding: 18px; }

.m-cta {
  max-width: 1080px;
  margin: 0 auto 56px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  box-shadow: var(--glow-shadow);
}

.m-cta p { margin: 0; color: var(--secondary); }

.m-stats {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.m-stats article {
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.m-stats strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.m-stats span {
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.45;
}

.m-split {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 18px;
  align-items: start;
}

.m-prose {
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.65;
}

.m-prose p { margin: 0 0 16px; }
.m-prose p:last-child { margin-bottom: 0; }
.m-prose-wide { max-width: 820px; margin-top: 22px; }

.m-aside { padding: 20px; }
.m-aside h3 { margin: 0 0 12px; font-size: 16px; }

.m-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.m-list li {
  position: relative;
  padding-left: 16px;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.5;
}

.m-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}

.m-audience { grid-template-columns: 1fr 1fr; }

.m-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.m-cat { padding: 18px; }

.m-cat-tag {
  margin: 0 0 8px;
  color: var(--lime);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.m-cat h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.m-cat p {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.55;
}

.m-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.m-chip {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--secondary);
  font-size: 13px;
}

.m-timeline {
  position: relative;
  max-width: 820px;
  padding-left: 28px;
}

.m-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 18px;
  width: 2px;
  background: var(--border);
}

.m-time {
  position: relative;
  padding: 0 0 32px 16px;
}

.m-time:last-child { padding-bottom: 0; }

.m-time::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(155, 224, 0, 0.12);
}

.m-year {
  display: block;
  margin-bottom: 6px;
  color: var(--lime);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.m-time h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.m-time p {
  margin: 0;
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.6;
}

.m-cite {
  max-width: 820px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.m-prose a {
  color: var(--lime);
  text-underline-offset: 3px;
}

.m-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.m-faq .card { padding: 18px; }
.m-faq h3 { margin: 0 0 8px; font-size: 16px; }
.m-faq p { margin: 0; color: var(--secondary); font-size: 14px; line-height: 1.55; }

.m-foot a { color: var(--secondary); }
.m-foot a:hover { color: var(--lime); }

.m-foot {
  border-top: 1px solid var(--border);
  padding: 22px 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .m-cats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .m-nav nav { display: none; }
  .m-steps, .m-features, .m-scan-bar, .m-cta, .m-foot, .m-stats, .m-split, .m-faq, .m-audience, .m-cats {
    grid-template-columns: 1fr;
  }
  .m-cta .btn-primary { justify-self: start; }
}

@media (max-width: 1280px) {
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .layout-2, .layout-3, .settings-grid, .search-form { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { height: auto; position: relative; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
}

.mode-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.mode-tab {
  background: var(--card);
  color: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
}

.mode-tab.active {
  background: var(--lime);
  color: #081109;
  border-color: var(--lime);
  font-weight: 700;
}

.dropzone {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 140px;
  padding: 20px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: var(--elevated);
  text-align: center;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}

.dropzone.drag,
.dropzone:hover {
  border-color: var(--lime);
  box-shadow: var(--glow-shadow);
}

.column-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wizard-card { padding: 18px; }

.wizard-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.wizard-steps li {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.wizard-steps li.active {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(155, 224, 0, 0.08);
}

.wizard-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

textarea { min-height: 120px; resize: vertical; }

.review-list {
  margin: 0;
  display: grid;
  gap: 10px;
}

.review-list div {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.review-list dt {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.review-list dd {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  white-space: pre-wrap;
}

.add-user-card { margin-top: 14px; }

.email-preview-card {
  display: flex;
  flex-direction: column;
  min-height: 560px;
}

.email-preview-card iframe {
  flex: 1;
  width: 100%;
  min-height: 420px;
  border: 0;
  border-top: 1px solid var(--border);
  background: #050A09;
  border-radius: 0 0 var(--radius) var(--radius);
}

.role-select {
  min-width: 104px;
  padding: 6px 8px;
  font-size: 13px;
}

code {
  font-size: 11px;
  color: var(--lime);
  background: rgba(155, 224, 0, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
}

label.audience,
label.recipient {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--secondary);
}

.recipient-list {
  display: grid;
  gap: 6px;
  max-height: 220px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--elevated);
}

label.recipient {
  padding: 6px 8px;
  border-radius: 8px;
}

label.recipient:hover { background: var(--card); }
label.recipient .hint { margin-left: auto; }

.page-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 16px;
  padding: 4px;
  width: fit-content;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.page-tab {
  background: transparent;
  color: var(--secondary);
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
}

.page-tab.active {
  background: var(--lime);
  color: #081109;
}
