:root {
  --bg:      #0d0f1a;
  --bg2:     #131629;
  --bg3:     #1a1e35;
  --bg4:     #212540;
  --border:  #2a2f52;
  --border2: #343a62;
  --text1:   #e8eaf6;
  --text:    #e8eaf6;
  --text2:   #7b82b0;
  --text3:   #4e5480;
  --accent:  #7c6bff;
  --accent2: #9d8fff;
  --accent-h:#a78bfa;
  --green:   #34d399;
  --red:     #f87171;
  --yellow:  #fbbf24;
  --blue:    #60a5fa;
  --radius:  9px;
  --shadow:  0 8px 32px rgba(0,0,0,.5);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }

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

/* ── Layout ───────────────────────────────────────────────────────────────── */
#app { display: flex; height: 100%; }

#sidebar {
  width: 228px; min-width: 228px;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
}
#sidebar .logo {
  padding: 16px 20px;
  font-size: 15px; font-weight: 700; color: var(--text1);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 9px;
  letter-spacing: -.2px; min-height: 54px;
}
#sidebar .logo svg { width: 20px; height: 20px; flex-shrink: 0; }
#sidebar .logo img { height: 20px; width: auto; object-fit: contain; }
#sidebar .logo span { color: var(--accent2); }

#sidebar nav { flex: 1; padding: 8px 0; overflow-y: auto; }
#sidebar nav a {
  display: flex; align-items: center; gap: 9px; padding: 8px 20px;
  color: var(--text2); font-size: 13px; font-weight: 500;
  border-left: 3px solid transparent; transition: all .12s;
  border-radius: 0;
}
#sidebar nav a:hover { color: var(--text1); background: var(--bg3); text-decoration: none; }
#sidebar nav a.active {
  color: var(--accent2); background: rgba(124,107,255,.1);
  border-left-color: var(--accent); font-weight: 600;
}
#sidebar nav a svg { width: 15px; height: 15px; flex-shrink: 0; opacity: .8; }
#sidebar nav a.active svg { opacity: 1; }

#sidebar nav .nav-section-label {
  padding: 16px 20px 5px; font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text3); pointer-events: none;
}
#sidebar .sidebar-footer {
  padding: 14px 20px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text2);
}
#sidebar .sidebar-footer .user-email { font-weight: 600; color: var(--text1); margin-bottom: 3px; }

#main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
#topbar {
  height: 54px; background: var(--bg2); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 28px; gap: 12px;
}
#topbar h1 { font-size: 15px; font-weight: 600; flex: 1; color: var(--text1); letter-spacing: -.1px; }
#content { flex: 1; overflow-y: auto; padding: 28px; }

/* ── Cards ────────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.card-title { font-size: 14px; font-weight: 600; color: var(--text1); letter-spacing: -.1px; }

/* ── Stats grid ───────────────────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s;
}
.stat-card:hover { border-color: var(--border2); }
.stat-card .label { font-size: 11px; color: var(--text3); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .6px; font-weight: 600; }
.stat-card .value { font-size: 26px; font-weight: 700; letter-spacing: -.5px; color: var(--text1); }
.stat-card .value.green  { color: var(--green); }
.stat-card .value.red    { color: var(--red); }
.stat-card .value.blue   { color: var(--blue); }
.stat-card .value.yellow { color: var(--yellow); }

/* ── Table ────────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left; font-size: 11px; text-transform: uppercase;
  letter-spacing: .6px; color: var(--text3); font-weight: 700;
  padding: 9px 14px; border-bottom: 1px solid var(--border);
  white-space: nowrap; background: var(--bg3);
}
th:first-child { border-radius: 6px 0 0 0; }
th:last-child  { border-radius: 0 6px 0 0; }
td { padding: 11px 14px; border-bottom: 1px solid var(--border); font-size: 13px; vertical-align: middle; color: var(--text); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(124,107,255,.04); }

/* ── Badges ───────────────────────────────────────────────────────────────── */
.badge { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 11px; font-weight: 600; letter-spacing: .2px; }
.badge-green  { background: rgba(52,211,153,.12);  color: var(--green);  border: 1px solid rgba(52,211,153,.25); }
.badge-red    { background: rgba(248,113,113,.12);  color: var(--red);    border: 1px solid rgba(248,113,113,.25); }
.badge-yellow { background: rgba(251,191,36,.12);   color: var(--yellow); border: 1px solid rgba(251,191,36,.25); }
.badge-blue   { background: rgba(96,165,250,.12);   color: var(--blue);   border: 1px solid rgba(96,165,250,.25); }
.badge-gray   { background: rgba(123,130,176,.1);   color: var(--text2);  border: 1px solid var(--border); }

/* ── Tab bar ──────────────────────────────────────────────────────────────── */
.tab-bar { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.tab-btn {
  background: none; border: none; padding: 9px 18px; font-size: 13px;
  font-weight: 500; color: var(--text2); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all .15s;
}
.tab-btn:hover { color: var(--text1); }
.tab-btn.active { color: var(--accent2); border-bottom-color: var(--accent); font-weight: 600; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 7px; font-size: 13px;
  font-weight: 500; border: none; cursor: pointer; transition: all .14s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 2px 8px rgba(124,107,255,.35); }
.btn-primary:hover { background: var(--accent2); box-shadow: 0 4px 14px rgba(124,107,255,.45); }
.btn-secondary { background: var(--bg3); color: var(--text1); border: 1px solid var(--border2); }
.btn-secondary:hover { background: var(--bg4); border-color: var(--border2); }
.btn-danger { background: rgba(248,113,113,.1); color: var(--red); border: 1px solid rgba(248,113,113,.25); }
.btn-danger:hover { background: rgba(248,113,113,.2); }
.btn-sm { padding: 4px 11px; font-size: 12px; border-radius: 6px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ── Forms ────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
label { display: block; font-size: 12px; font-weight: 600; color: var(--text2); margin-bottom: 6px; letter-spacing: .2px; }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
  width: 100%; padding: 9px 13px; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 7px; color: var(--text1); font-size: 13px; outline: none; transition: border .14s, box-shadow .14s;
  -webkit-font-smoothing: antialiased;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,107,255,.15);
}
textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 11px; color: var(--text3); margin-top: 5px; line-height: 1.5; }

/* ── Modal ────────────────────────────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: flex; align-items: center; justify-content: center; z-index: 1000; backdrop-filter: blur(2px); }
.modal {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: 12px; width: 520px; max-width: 95vw; max-height: 90vh;
  overflow-y: auto; box-shadow: var(--shadow);
}
.modal.modal-lg { width: 860px; }
.modal-header { padding: 20px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.modal-header h2 { font-size: 15px; font-weight: 600; color: var(--text1); }
.modal-body { padding: 22px; }
.modal-footer { padding: 16px 22px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }
.modal-title { font-size: 15px; font-weight: 600; color: var(--text1); }
.modal-close { background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; color: var(--text2); cursor: pointer; font-size: 18px; line-height: 1; padding: 3px 10px; transition: all .14s; }
.modal-close:hover { background: var(--bg4); color: var(--text1); }
.close-btn { background: none; border: none; color: var(--text2); cursor: pointer; font-size: 20px; line-height: 1; padding: 2px; }
.close-btn:hover { color: var(--text1); }

/* ── DNS record ───────────────────────────────────────────────────────────── */
.dns-record { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; margin-bottom: 12px; }
.dns-record .rec-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.dns-record .rec-type { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; background: rgba(124,107,255,.2); color: var(--accent2); }
.dns-record .rec-name { font-size: 12px; font-weight: 600; }
.dns-record .rec-value { font-family: monospace; font-size: 12px; word-break: break-all; color: var(--text2); background: var(--bg); padding: 8px 10px; border-radius: 5px; border: 1px solid var(--border); }
.dns-record .rec-desc { font-size: 11px; color: var(--text3); margin-top: 6px; }

/* ── Alerts ───────────────────────────────────────────────────────────────── */
.alert { padding: 11px 15px; border-radius: 8px; font-size: 13px; margin-bottom: 14px; line-height: 1.5; }
.alert-error   { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.25); color: #fca5a5; }
.alert-success { background: rgba(52,211,153,.1);  border: 1px solid rgba(52,211,153,.25);  color: #6ee7b7; }
.alert-info    { background: rgba(96,165,250,.1);   border: 1px solid rgba(96,165,250,.25);  color: #93c5fd; }

/* ── Auth ─────────────────────────────────────────────────────────────────── */
.auth-wrap { flex: 1; min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.auth-box { width: 420px; max-width: 95vw; }
.auth-logo { text-align: center; margin-bottom: 28px; font-size: 24px; font-weight: 700; letter-spacing: -.3px; }
.auth-logo span { color: var(--accent2); }
.auth-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 30px; box-shadow: var(--shadow); }
.auth-card h2 { font-size: 18px; margin-bottom: 22px; color: var(--text1); font-weight: 600; }

/* ── Pagination ───────────────────────────────────────────────────────────── */
.pagination { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--text2); }
.pagination button { padding: 5px 12px; background: var(--bg3); border: 1px solid var(--border); color: var(--text1); border-radius: 6px; cursor: pointer; font-size: 13px; transition: all .14s; }
.pagination button:hover { background: var(--bg4); }
.pagination button:disabled { opacity: .35; cursor: default; }

/* ── Key display ──────────────────────────────────────────────────────────── */
.key-display { font-family: monospace; font-size: 13px; background: var(--bg3); border: 1px solid var(--border); border-radius: 7px; padding: 11px 13px; word-break: break-all; color: var(--accent2); }

/* ── Toggle ───────────────────────────────────────────────────────────────── */
.toggle { display: flex; align-items: center; gap: 10px; }
.toggle input[type=checkbox] { width: 36px; height: 20px; accent-color: var(--accent); cursor: pointer; }

/* ── Mono ─────────────────────────────────────────────────────────────────── */
.mono { font-family: 'SF Mono', ui-monospace, 'Cascadia Code', monospace; font-size: 12px; }

/* ── Empty state ──────────────────────────────────────────────────────────── */
.empty { text-align: center; padding: 52px 20px; color: var(--text3); }
.empty svg { margin: 0 auto 16px; display: block; opacity: .25; }
.empty p { font-size: 14px; }

/* ── Setup Wizard ─────────────────────────────────────────────────────────── */
.setup-wrap { flex: 1; min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); padding: 20px; }
.setup-box  { width: 560px; max-width: 100%; }
.setup-logo { text-align: center; margin-bottom: 28px; font-size: 24px; font-weight: 700; letter-spacing: -.3px; }
.setup-logo span { color: var(--accent2); }
.setup-logo .setup-tagline { font-size: 14px; font-weight: 400; color: var(--text2); margin-left: 6px; }
.setup-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 32px; box-shadow: var(--shadow); }
.setup-card h2 { font-size: 20px; margin-bottom: 8px; color: var(--text1); font-weight: 600; }
.setup-desc { color: var(--text2); font-size: 13.5px; margin-bottom: 24px; line-height: 1.65; }
.setup-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }

/* Steps bar */
.steps-bar { display: flex; align-items: center; margin-bottom: 24px; }
.step-item  { display: flex; flex-direction: column; align-items: center; gap: 5px; flex-shrink: 0; }
.step-dot   { width: 28px; height: 28px; border-radius: 50%; background: var(--bg3); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--text2); transition: all .2s; }
.step-label { font-size: 11px; color: var(--text3); white-space: nowrap; }
.step-item.active .step-dot  { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 3px rgba(124,107,255,.25); }
.step-item.active .step-label{ color: var(--text1); }
.step-item.done   .step-dot  { background: var(--green); border-color: var(--green); color: #fff; }
.step-line  { flex: 1; height: 2px; background: var(--border); margin: 0 8px; margin-bottom: 18px; }

/* Welcome step */
.setup-hero { text-align: center; margin-bottom: 20px; }
.setup-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 24px; }
.feat { background: var(--bg3); border: 1px solid var(--border); border-radius: 7px; padding: 9px 13px; font-size: 13px; color: var(--text2); }
.btn-full { width: 100%; justify-content: center; }

/* SSL options */
.ssl-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.ssl-opt { display: flex; align-items: flex-start; gap: 12px; padding: 15px; background: var(--bg3); border: 2px solid var(--border); border-radius: 9px; cursor: pointer; transition: border-color .15s; }
.ssl-opt:hover { border-color: var(--accent); }
.ssl-opt.selected { border-color: var(--accent); background: rgba(124,107,255,.06); }
.ssl-opt input[type=radio] { margin-top: 3px; flex-shrink: 0; accent-color: var(--accent); }
.ssl-opt-title { font-weight: 600; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; color: var(--text1); }
.ssl-opt-desc  { font-size: 12.5px; color: var(--text2); line-height: 1.55; }

/* Progress bar */
.progress-bar  { height: 5px; background: var(--bg3); border-radius: 3px; overflow: hidden; margin-top: 16px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 3px; transition: width .6s ease; width: 0%; }

/* Domain split */
.domain-split { display: flex; align-items: stretch; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
.domain-split-item { flex: 1; min-width: 160px; background: var(--bg3); border: 1px solid var(--border); border-radius: 9px; padding: 14px; }
.domain-split-highlight { border-color: var(--accent); background: rgba(124,107,255,.06); }
.domain-split-label { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--text3); margin-bottom: 6px; font-weight: 600; }
.domain-split-url { font-family: monospace; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text1); }
.domain-split-desc { font-size: 12px; color: var(--text2); line-height: 1.5; }
.domain-split-arrow { display: flex; align-items: center; color: var(--text3); font-size: 20px; padding-bottom: 20px; }

/* Done screen */
.setup-steps-list { text-align: left; margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.step-row { display: flex; align-items: flex-start; gap: 14px; background: var(--bg3); border: 1px solid var(--border); border-radius: 9px; padding: 13px 15px; }
.step-num { width: 26px; height: 26px; min-width: 26px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }

/* Update banner */
.update-banner { background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.25); border-radius: 9px; padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.update-banner .update-info { font-size: 13px; }
.update-banner .update-info strong { color: var(--yellow); }

/* Tenant / plan */
.plan-badge { display: inline-block; padding: 2px 9px; border-radius: 12px; font-size: 11px; font-weight: 700; }
.plan-free       { background: rgba(123,130,176,.12); color: var(--text2); border: 1px solid var(--border); }
.plan-pro        { background: rgba(124,107,255,.15); color: var(--accent2); border: 1px solid rgba(124,107,255,.3); }
.plan-enterprise { background: rgba(52,211,153,.12);  color: var(--green);  border: 1px solid rgba(52,211,153,.3); }

/* ── Chart ────────────────────────────────────────────────────────────────── */
.chart-wrap { position: relative; height: 180px; }

/* ── Mobile nav overlay ───────────────────────────────────────────────────── */
#sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 199; opacity: 0; transition: opacity .2s; }
#sidebar-overlay.open { opacity: 1; }
#menu-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 6px; border-radius: 6px; flex-shrink: 0; }
#menu-toggle:hover { background: var(--bg3); }
#menu-toggle svg { width: 20px; height: 20px; display: block; }

/* Bottom nav (mobile only) */
#bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; background: var(--bg2); border-top: 1px solid var(--border); height: 56px; padding-bottom: env(safe-area-inset-bottom); }
#bottom-nav nav { display: flex; align-items: stretch; height: 56px; }
#bottom-nav nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--text2); font-size: 10px; text-decoration: none; padding: 6px 2px; border-top: 2px solid transparent; transition: all .15s; }
#bottom-nav nav a.active { color: var(--accent2); border-top-color: var(--accent); }
#bottom-nav nav a svg { width: 18px; height: 18px; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  #menu-toggle { display: flex; align-items: center; justify-content: center; }
  #sidebar-overlay { display: block; pointer-events: none; }
  #sidebar-overlay.open { pointer-events: auto; }
  #sidebar { position: fixed; left: -240px; top: 0; bottom: 0; z-index: 200; width: 240px; min-width: 240px; transition: left .22s ease; }
  #sidebar.open { left: 0; box-shadow: 4px 0 32px rgba(0,0,0,.6); }
  #bottom-nav { display: block; }
  #content { padding: 16px 14px 72px; }
  #topbar { padding: 0 14px; }
  #topbar h1 { font-size: 15px; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .card { padding: 16px; }
  .card-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .modal { width: 100%; max-width: 100%; max-height: 100vh; border-radius: 14px 14px 0 0; border-left: none; border-right: none; border-bottom: none; position: fixed; bottom: 0; left: 0; right: 0; }
  .modal-overlay { align-items: flex-end; }
  .table-wrap { -webkit-overflow-scrolling: touch; }
  .setup-box { width: 100%; }
  .setup-card { padding: 20px 16px; }
  .setup-features { grid-template-columns: 1fr; }
  .steps-bar { gap: 0; }
  .step-label { display: none; }
  .domain-split { flex-direction: column; }
  .domain-split-arrow { transform: rotate(90deg); align-self: center; padding-bottom: 0; padding-right: 20px; }
  .auth-box { width: 100%; padding: 0 12px; }
  .auth-card { padding: 22px 18px; }
  .dns-record .rec-value { font-size: 11px; }
  .update-banner { flex-direction: column; gap: 10px; align-items: flex-start; }
  .key-display { font-size: 11px; }
}

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
  .btn { font-size: 12px; padding: 6px 11px; }
}

/* ── Scrollbar ────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border2); }

/* ── Utility classes (reduce inline style sprawl) ─────────────────────────── */
.text-sm   { font-size: 12px; }
.text-xs   { font-size: 11px; }
.text-muted { color: var(--text2); }
.text-dim   { color: var(--text3); }
.text-green { color: var(--green); }
.text-red   { color: var(--red); }
.text-yellow{ color: var(--yellow); }
.text-accent{ color: var(--accent2); }
.mt-0  { margin-top: 0; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mb-4  { margin-bottom: 4px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-end { display: flex; justify-content: flex-end; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.w-full { width: 100%; }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Divider */
hr.divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

/* Section heading inside a card */
.section-title { font-size: 13px; font-weight: 600; color: var(--text1); margin-bottom: 12px; }

/* Inline code */
code { font-family: 'SF Mono', ui-monospace, monospace; font-size: 12px; background: var(--bg3); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; color: var(--accent2); }
