@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&display=swap');

:root {
  --primary: #e50914;
  --secondary: #ff3b3b;
  --bg: #080404;
  --surface: #120608;
  --surface-2: #1a080a;
  --border: #3a1520;
  --text: #f0ecec;
  --text-muted: #b8a0a4;
  --text-faint: #d89898;
  --tint: #2a1015;
  --btn-gradient: linear-gradient(135deg, #ff3b3b 0%, #b20710 55%, #8b0000 100%);
  --glow: rgba(229, 9, 20, 0.22);
  --success: #34d399;
  --error: #f87171;
  --radius: 10px;
  --radius-sm: 6px;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --type-lead: #a85858;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── EMAILFETCHER brand logo ── */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  line-height: 1;
  transition: opacity 0.15s;
}

.brand-logo:hover {
  opacity: 0.92;
  text-decoration: none;
}

.brand-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(229, 9, 20, 0.28), rgba(139, 0, 0, 0.1));
  border: 1px solid rgba(229, 9, 20, 0.4);
  box-shadow: 0 0 18px rgba(229, 9, 20, 0.15);
  color: var(--primary);
  flex-shrink: 0;
}

.brand-logo-mark svg {
  width: 1.15rem;
  height: 1.15rem;
}

.brand-logo-text {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-logo-email {
  color: #fff;
}

.brand-logo-fetcher {
  color: var(--primary);
  margin-left: 0.05em;
  text-shadow: 0 0 24px rgba(229, 9, 20, 0.35);
}

.brand-logo-lg .brand-logo-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
}

.brand-logo-lg .brand-logo-mark svg {
  width: 1.45rem;
  height: 1.45rem;
}

.brand-logo-lg .brand-logo-text {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  letter-spacing: 0.16em;
}

.brand-logo-center {
  justify-content: center;
}

/* ── Top nav ── */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 4, 4, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-inner .brand-logo { flex-shrink: 0; }

.nav-links { display: flex; gap: 1rem; align-items: center; list-style: none; margin-left: auto; }

.nav-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover { color: var(--text); background: var(--tint); text-decoration: none; }

.nav-link.active { color: var(--primary); }

.nav-cta {
  background: var(--btn-gradient);
  color: #fff !important;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
}

.nav-cta:hover { opacity: 0.9; text-decoration: none; }

/* ── Auth layout (split panel) ── */
.auth-page { min-height: 100vh; }

.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.auth-brand {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  background: linear-gradient(135deg, #080404 0%, #3a0808 42%, #6b1018 72%, #8b1820 100%);
}

.auth-brand::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(229,9,20,0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.auth-brand-inner { position: relative; z-index: 1; max-width: 400px; }

.auth-brand .brand-logo-lg {
  margin-bottom: 1.25rem;
}

.auth-brand p {
  color: var(--text-faint);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.6;
  text-transform: lowercase;
}

.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg);
}

.auth-form-wrap { width: 100%; max-width: 400px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.back-link:hover { color: var(--text); text-decoration: none; }

.auth-form-wrap h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.auth-form-wrap .subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* ── Forms ── */
.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(229,9,20,0.15);
}

.form-group input::placeholder { color: var(--text-muted); opacity: 0.6; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--btn-gradient);
  color: #fff;
  width: 100%;
}

.btn-primary:hover:not(:disabled) { opacity: 0.92; }

.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover:not(:disabled) { border-color: var(--primary); }

.btn-danger {
  background: transparent;
  color: var(--error);
  border: 1px solid var(--error);
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
}

.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.8rem; }

/* ── Alerts ── */
.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.alert-success { background: rgba(52,211,153,0.12); color: var(--success); border: 1px solid rgba(52,211,153,0.3); }
.alert-error { background: rgba(248,113,113,0.12); color: var(--error); border: 1px solid rgba(248,113,113,0.3); }
.alert-info { background: rgba(229,9,20,0.1); color: var(--text-faint); border: 1px solid var(--border); }

.hidden { display: none !important; }

/* ── Dashboard layout ── */
.dash-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 56px);
}

.dash-sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 1.5rem 0;
}

.dash-sidebar-brand {
  padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.75rem;
}

.dash-sidebar-brand h2 { font-size: 0.95rem; font-weight: 700; }
.dash-sidebar-brand p { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }

.dash-nav { list-style: none; }

.dash-nav-item {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.15s;
}

.dash-nav-item:hover { color: var(--text); background: var(--tint); text-decoration: none; }

.dash-nav-item.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: var(--tint);
}

.dash-main { padding: 1.75rem; overflow-y: auto; }

.dash-header { margin-bottom: 1.5rem; }

/* ── Section headers ("others" style — Syne bold lowercase) ── */
.type-header,
.dash-header h1,
.access-wrap > h2,
.auth-form-wrap > h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  letter-spacing: -0.035em;
  text-transform: lowercase;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 0.35rem;
}

.type-header-sub,
.dash-header p,
.access-wrap > .subtitle,
.auth-form-wrap > .subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: lowercase;
  line-height: 1.65;
  margin-top: 0.25rem;
}

.type-header-sm,
.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.dash-sidebar-brand h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: lowercase;
  letter-spacing: -0.02em;
}

/* ── Cards & stats ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.stat-card .label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.stat-card .value { font-size: 1.6rem; font-weight: 800; color: var(--primary); margin-top: 0.25rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

/* ── Guide steps ── */
.guide-steps { list-style: none; counter-reset: step; }

.guide-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.guide-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--tint);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.guide-steps li strong { color: var(--text); }

/* ── Tables ── */
.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }

th {
  text-align: left;
  padding: 0.6rem 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
}

td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

tr:last-child td { border-bottom: none; }

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.badge-green { background: rgba(52,211,153,0.15); color: var(--success); }
.badge-red { background: rgba(248,113,113,0.15); color: var(--error); }
.badge-gray { background: var(--tint); color: var(--text-muted); }

/* ── Code display ── */
.code-display {
  font-family: 'Courier New', monospace;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--primary);
  text-align: center;
  padding: 1.25rem;
  background: var(--tint);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  margin: 1rem 0;
  user-select: all;
  cursor: pointer;
}

.code-display:hover {
  border-color: var(--primary);
}

.modal-copy-status {
  min-height: 1.25rem;
  font-size: 0.8rem;
  text-align: center;
  margin-top: 0.5rem;
  color: var(--success);
}

.result-box {
  background: var(--tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.85rem;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 280px;
  overflow-y: auto;
  margin-top: 0.75rem;
}

.otp-box {
  background: var(--tint);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin-top: 1rem;
}

.otp-box .otp-code {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin: 0.75rem 0;
}

.otp-box .otp-subject { font-size: 0.9rem; color: var(--text-muted); }

/* ── Access code reveal modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.modal-overlay .modal {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  max-width: 420px;
  width: 100%;
}

.modal h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.modal p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1rem; }

.connect-gmail-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.connect-gmail-hint-warn { color: #f0a040; }
.connect-gmail-hint-ok { color: #6fcf97; }

/* ── Homepage ── */
.top-nav-home {
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}

.nav-inner-home {
  justify-content: flex-end;
}

.home-access {
  padding: 1.5rem 1.25rem 4rem;
  min-height: calc(100vh - 56px);
}

.page-intro {
  position: relative;
  text-align: center;
  max-width: 520px;
  margin: 0 auto 2rem;
  padding: 1.5rem 0 0.5rem;
}

.page-intro::before {
  content: '';
  position: absolute;
  inset: -1rem auto auto 50%;
  transform: translateX(-50%);
  width: min(420px, 90vw);
  height: 180px;
  background: radial-gradient(ellipse at center, rgba(229, 9, 20, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-intro .brand-logo-lg {
  position: relative;
  z-index: 1;
  display: flex;
  margin: 0 auto 1rem;
}

.page-intro-tagline {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-muted);
  text-transform: lowercase;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

body.admin-home-mode .page-intro {
  display: none;
}

body.admin-home-mode .home-access {
  padding-top: 2rem;
}

.access-wrap {
  max-width: 440px;
  margin: 0 auto;
}

.home-user-card {
  text-align: center;
}

.home-user-card .type-header-sub {
  margin-bottom: 1.25rem;
}

.home-guide-card {
  margin-top: 1.25rem;
}

.code-input {
  text-align: center;
  font-size: 1.8rem;
  letter-spacing: 0.3em;
  font-family: monospace;
  font-weight: 800;
}

.access-wrap > h2 { text-align: center; }

.access-wrap > .subtitle {
  margin-bottom: 1.25rem;
  text-align: center;
}

.email-result { margin-top: 1.25rem; }

.email-subject {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
  word-break: break-word;
}

.email-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.email-body {
  background: var(--tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 420px;
  overflow-y: auto;
  color: var(--text);
}

.email-code-hint {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.email-code-hint strong {
  color: var(--primary);
  font-family: monospace;
  letter-spacing: 0.08em;
}

/* ── Gmail-style inbox message ── */
.inbox-thread {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.inbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.inbox-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.inbox-label-muted {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.inbox-message {
  padding: 0;
}

.inbox-message-header {
  padding: 1.1rem 1.25rem 0.85rem;
  border-bottom: 1px solid var(--border);
}

.inbox-subject {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.85rem;
  line-height: 1.35;
  word-break: break-word;
}

.inbox-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.inbox-meta-block {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
}

.inbox-meta-right { flex-shrink: 0; }

.inbox-meta-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: lowercase;
  flex-shrink: 0;
}

.inbox-from, .inbox-to {
  font-size: 0.85rem;
  color: var(--text);
  word-break: break-all;
}

.inbox-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.inbox-meta-sub { margin-bottom: 0; }

.inbox-body {
  padding: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 480px;
  overflow-y: auto;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

.inbox-body em { color: var(--text-muted); font-style: italic; }

.inbox-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.inbox-actions .btn { width: auto; flex: 1 1 auto; min-width: 7rem; }

.nav-home-link {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.nav-home-link:hover {
  color: var(--primary);
  background: var(--tint);
  text-decoration: none;
}

.admin-home-fetch { margin-bottom: 1.5rem; text-align: left; }

.admin-home-fetch .email-result {
  margin-top: 1.25rem;
}

body.admin-home-mode #userAccessSection,
body.admin-home-mode .page-intro {
  display: none;
}

body.admin-home-mode .home-access {
  padding-top: 2rem;
}

body.admin-home-mode .access-wrap {
  max-width: 640px;
}

.admin-home-fetch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.admin-home-fetch-top h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  margin: 0;
  text-align: left;
}

/* Gmail account cards in admin */
.gmail-account-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.gmail-account-card:hover { border-color: rgba(229, 9, 20, 0.35); }

.gmail-account-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.gmail-account-email {
  font-weight: 700;
  font-size: 0.95rem;
  word-break: break-all;
}

.gmail-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gmail-account-actions .btn {
  width: auto;
  flex: 1 1 auto;
  min-width: 7rem;
}

.gmail-search-wrap {
  margin-bottom: 0.75rem;
}

.gmail-filter-wrap {
  margin-bottom: 1rem;
}

.gmail-filter-wrap label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: lowercase;
  margin-bottom: 0.4rem;
}

.gmail-filter-wrap select,
.gmail-search-wrap input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

.gmail-filter-wrap select:focus,
.gmail-search-wrap input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.15);
}

.days-badge {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-brand { padding: 2rem; min-height: 200px; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { border-right: none; border-bottom: 1px solid var(--border); }
  .dash-nav { display: flex; overflow-x: auto; }
  .dash-nav-item { white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; }
  .dash-nav-item.active { border-bottom-color: var(--primary); border-left-color: transparent; }
}
