:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface-2: #21262d;
  --border: #30363d;
  --border-subtle: #21262d;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #238636;
  --accent-hover: #2ea043;
  --link: #58a6ff;
  --success: #3fb950;
  --warning: #d29922;
  --danger: #f85149;
  --danger-bg: #da3633;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --nav-width: 220px;
  --header-h: 56px;
  --font: "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
  font-family: var(--font);
  margin: 0; padding: 0;
  background: var(--bg); color: var(--text);
  min-height: 100vh;
  line-height: 1.45;
}
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.page.hidden { display: none !important; }
.page.center { align-items: center; justify-content: center; padding: var(--space-5); }
.page.auth,
#page-login, #page-signup {
  justify-content: center; align-items: center; padding: var(--space-5);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(35, 134, 54, 0.12), transparent 55%),
    var(--bg);
}

/* ——— Landing ——— */
.landing-page { position: relative; overflow: hidden; justify-content: flex-start; padding: 0; }
.landing-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(35, 134, 54, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 70%, rgba(88, 166, 255, 0.12), transparent 50%),
    linear-gradient(160deg, #0d1117 0%, #0f1419 40%, #161b22 100%);
}
.landing-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(48, 54, 61, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 54, 61, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  opacity: 0.45;
}
.landing-top {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px; gap: var(--space-4);
}
.landing-brand { font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; }
.landing-top-actions { display: flex; gap: 10px; }
.landing-hero {
  position: relative; z-index: 1;
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  max-width: 720px; padding: 48px 28px 80px; margin: 0 auto; width: 100%;
  animation: landing-in 0.7s ease-out;
}
.landing-brand-hero {
  margin: 0 0 12px; font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800;
  letter-spacing: -0.03em; color: #fff; line-height: 1.1;
}
.landing-headline {
  margin: 0 0 16px; font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 500;
  color: var(--text); line-height: 1.35; max-width: 28ch;
}
.landing-sub {
  margin: 0 0 28px; font-size: 1.05rem; color: var(--muted); line-height: 1.55; max-width: 42ch;
}
.landing-cta { display: flex; flex-wrap: wrap; gap: 12px; }
@keyframes landing-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius-sm); font-size: 14px;
  text-decoration: none; border: none; cursor: pointer; font-weight: 500;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn-secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover:not(:disabled) { background: var(--border); }
.btn.danger { background: var(--danger-bg); color: #fff; }
.btn.danger:hover:not(:disabled) { background: var(--danger); }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-lg { padding: 12px 22px; font-size: 15px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.link { color: var(--link); margin-top: 12px; display: inline-block; text-decoration: none; }
.link:hover { text-decoration: underline; }
.auth-footer { margin-top: var(--space-4); font-size: 14px; color: var(--muted); }
.auth-footer .link { margin-top: 0; margin-left: 4px; }

/* ——— Cards / forms ——— */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-5); max-width: 400px; width: 100%;
}
.card h1, .card h2 { margin-top: 0; margin-bottom: var(--space-3); font-size: 1.35rem; }
.center-card { margin: 0 auto; }
.actions { display: flex; gap: 10px; margin-top: 16px; }
.actions .btn { flex: 1; text-align: center; }

.form-field { margin-bottom: var(--space-3); }
.form-field label, .label {
  display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 500;
}
.form-field .hint { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.form-field input, .form-field textarea, .form-field select,
.card input, .card textarea, .card select,
.panel input, .panel textarea, .panel select,
.controls-form input[type="text"],
.controls-form input[type="number"],
.controls-form input[type="password"],
.controls-form select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font-size: 14px;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus,
.card input:focus, .panel input:focus, .panel textarea:focus, .panel select:focus {
  border-color: var(--link); outline: none;
}
.form-field input[type="file"] {
  padding: 8px 10px;
}

/* ——— Toast ——— */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(8px);
  padding: 12px 20px; border-radius: var(--radius-md); z-index: 200; max-width: 90%;
  font-size: 14px; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease; pointer-events: none;
}
.toast:not(.hidden) { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast.hidden { display: none !important; }
.toast.error { background: var(--danger-bg); color: #fff; }
.toast.success { background: var(--accent); color: #fff; }
.toast.info { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }

/* ——— Badges ——— */
.badge {
  display: inline-flex; align-items: center; padding: 2px 8px;
  border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.4;
  white-space: nowrap;
}
.badge-success, .badge-connected { background: rgba(35, 134, 54, 0.25); color: var(--success); }
.badge-warning, .badge-pending { background: rgba(210, 153, 34, 0.2); color: var(--warning); }
.badge-muted, .badge-disconnected { background: rgba(110, 118, 129, 0.35); color: var(--muted); }
.badge-danger, .badge-disabled { background: rgba(248, 81, 73, 0.2); color: var(--danger); }
.badge-info, .badge-package { background: rgba(88, 166, 255, 0.15); color: var(--link); }
.badge-wallet { background: rgba(63, 185, 80, 0.15); color: var(--success); }

.phone-status { font-size: 12px; padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.phone-status.connected { background: rgba(35, 134, 54, 0.25); color: var(--success); }
.phone-status.pending_scan { background: rgba(210, 153, 34, 0.2); color: var(--warning); }
.phone-status.disconnected { background: rgba(110, 118, 129, 0.35); color: var(--muted); }

.org-status-active { color: var(--success); font-weight: 600; }
.org-status-disabled { color: var(--danger); font-weight: 600; }

/* ——— Page header / toolbar ——— */
.page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--space-4); margin-bottom: var(--space-5); flex-wrap: wrap;
}
.page-header-text { flex: 1; min-width: 200px; }
.page-header h2, .page-header h3 {
  margin: 0 0 6px; font-size: 1.35rem; font-weight: 650; letter-spacing: -0.02em;
}
.page-header .panel-desc { margin: 0; }
.page-header-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.toolbar {
  display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--radius-md);
  background: var(--bg); border: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
}
.chip strong { color: var(--text); font-weight: 600; }

/* ——— Empty / loading ——— */
.list-wrap { min-height: 24px; }
.list-wrap.empty-state::before {
  content: attr(data-empty); color: var(--muted); font-size: 14px;
  display: block; padding: var(--space-5) var(--space-3); text-align: center;
  border: 1px dashed var(--border); border-radius: var(--radius-md); background: var(--bg);
}
.empty-panel {
  text-align: center; padding: var(--space-6) var(--space-4);
  border: 1px dashed var(--border); border-radius: var(--radius-md); background: var(--bg);
}
.empty-panel p { margin: 0 0 var(--space-4); color: var(--muted); font-size: 14px; }
.loading-block {
  padding: var(--space-5); text-align: center; color: var(--muted); font-size: 14px;
}
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ——— Header / shell ——— */
.header {
  display: flex; align-items: center; gap: var(--space-3);
  padding: 0 var(--space-4); min-height: var(--header-h);
  background: var(--surface); border-bottom: 1px solid var(--border); flex-wrap: wrap;
  position: sticky; top: 0; z-index: 40;
}
.header-brand {
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em; color: var(--text);
  text-decoration: none; margin-right: 4px;
}
.header-brand:hover { color: #fff; }
.header-user { font-size: 14px; font-weight: 500; }
.header-org { color: var(--muted); font-size: 13px; }
.header-balance { margin-left: auto; }
.billing-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--radius-md);
  background: var(--bg); border: 1px solid var(--border); font-size: 13px; color: var(--muted);
}
.billing-chip strong { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-title { font-weight: 600; }
.nav-toggle {
  display: none; background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); border-radius: var(--radius-sm); padding: 8px 12px; cursor: pointer; font-size: 13px;
}

.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-5); margin-bottom: 0;
}
.panel-desc { color: var(--muted); font-size: 13px; margin: 0 0 12px 0; line-height: 1.5; }
.panel label { display: block; margin-bottom: 4px; font-size: 13px; color: var(--muted); }
.status-msg { margin-top: 10px; font-size: 14px; }
.status-msg.hidden { display: none !important; }
.status-msg.error { color: var(--danger); }
.status-msg.success { color: var(--success); }
.muted { color: var(--muted); font-size: 13px; }

.phone-label { font-weight: 500; }
.phone-actions-cell { white-space: nowrap; }
.phone-actions-cell .btn { margin-right: 6px; }
.phone-actions-cell .btn:last-child { margin-right: 0; }

/* ——— Modal ——— */
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.72);
  display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px;
  animation: fade-in 0.15s ease;
}
.modal.hidden { display: none !important; }
.modal-content {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-5); max-width: 380px; width: 100%; text-align: center;
}
.modal-content h3 { margin-top: 0; }
.modal-content img { max-width: 256px; margin: 16px 0; border-radius: var(--radius-sm); }
.modal-content .btn { margin-top: 12px; margin-right: 8px; }
.modal-content .form-field { text-align: left; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.transaction-credit { color: var(--success); font-weight: 500; }
.transaction-debit { color: var(--danger); font-weight: 500; }
.topup-form { margin-top: 12px; }
.topup-form button { margin-top: 8px; }
.checkbox-label {
  display: flex !important; align-items: center; gap: 8px; margin: 12px 0 !important;
  color: var(--text) !important; font-size: 14px !important;
}
.checkbox-label input { width: auto !important; margin: 0 !important; }
.form-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

/* ——— Admin chrome ——— */
.admin-header .header-title { margin-right: 4px; }
.admin-header-subtitle { color: var(--muted); font-size: 14px; }
.admin-header-subtitle.hidden { display: none !important; }
.admin-badge {
  margin-left: 4px; padding: 2px 8px; font-size: 11px; font-weight: 600;
  color: var(--link); background: rgba(88, 166, 255, 0.15); border-radius: var(--radius-sm);
}
.admin-breadcrumb {
  position: sticky; top: 0; z-index: 5;
  margin: calc(-1 * var(--space-1)) 0 var(--space-3);
  padding: var(--space-2) 0; font-size: 14px; color: var(--muted);
  background: var(--bg);
}
.admin-breadcrumb a { color: var(--link); text-decoration: none; }
.admin-breadcrumb a:hover { text-decoration: underline; }
.admin-breadcrumb span { margin: 0 6px; }
.admin-detail-head {
  display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.admin-detail-title { margin: 0; font-size: 1.5rem; letter-spacing: -0.02em; }
.admin-section-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-5); margin-bottom: var(--space-4);
}
.admin-section-card.hidden { display: none !important; }
.admin-section-card h3 { margin: 0 0 12px 0; font-size: 1rem; font-weight: 600; }
.admin-section-card .panel-desc { margin: 0 0 12px 0; }
.admin-balance-line { margin-bottom: 16px; font-size: 15px; }
.admin-balance-line strong { font-size: 1.25rem; }

.admin-tabs {
  display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--border); padding-bottom: 0;
}
.admin-tab {
  appearance: none; background: transparent; border: none; color: var(--muted);
  padding: 10px 14px; font-size: 13px; font-weight: 500; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px; border-radius: 0;
}
.admin-tab:hover { color: var(--text); }
.admin-tab.active { color: var(--link); border-bottom-color: var(--link); }
.admin-tab.hidden { display: none !important; }

.data-table, .admin-orgs-table, .admin-reports-table {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.data-table thead, .admin-orgs-table thead, .admin-reports-table thead { background: var(--surface-2); }
.data-table th, .admin-orgs-table th, .admin-reports-table th {
  text-align: left; padding: 12px 14px; font-size: 11px; font-weight: 600;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
}
.data-table td, .admin-orgs-table td, .admin-reports-table td {
  padding: 12px 14px; border-bottom: 1px solid var(--border-subtle); font-size: 14px;
}
.data-table tbody tr:last-child td,
.admin-orgs-table tbody tr:last-child td,
.admin-reports-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover,
.admin-orgs-table tbody tr:hover,
.admin-reports-table tbody tr:hover { background: rgba(33, 38, 45, 0.65); }
.org-name-cell { font-weight: 600; color: var(--text); }
.report-msg-cell { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-reason-cell { max-width: 180px; font-size: 13px; color: var(--muted); }
.reports-summary { margin-bottom: var(--space-4); }
.reports-toolbar .reports-filter { margin-bottom: 0; min-width: 140px; }
.reports-toolbar .reports-filter label { font-size: 12px; margin-bottom: 4px; display: block; color: var(--muted); }
.reports-toolbar .reports-filter-grow { flex: 1; min-width: 180px; }
.reports-toolbar .reports-filter-actions { min-width: auto; }
.reports-page-meta { margin: 0 0 8px; }
.reports-pagination { margin-top: var(--space-3); justify-content: flex-end; }
.dash-alert-list {
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px;
}
.dash-alert-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 10px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md);
  font-size: 14px; color: var(--text);
}
.report-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; text-align: left;
}
.report-detail-grid .muted { font-size: 12px; color: var(--muted); display: block; margin-bottom: 4px; }
.report-detail-full { grid-column: 1 / -1; }
.report-detail-message {
  margin: 0; padding: 12px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-md); white-space: pre-wrap; word-break: break-word;
  font-family: inherit; font-size: 14px; color: var(--text); max-height: 240px; overflow: auto;
}
.hidden { display: none !important; }
@media (max-width: 640px) {
  .report-detail-grid { grid-template-columns: 1fr; }
}

.admin-layout, .dashboard-layout { display: flex; flex: 1; min-height: 0; position: relative; }
.admin-nav, .dashboard-nav {
  width: var(--nav-width); background: var(--surface); border-right: 1px solid var(--border);
  padding: var(--space-4) 0; flex-shrink: 0; overflow-y: auto;
}
.nav-group-label {
  display: block; padding: 8px 20px 6px; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); opacity: 0.85;
}
.admin-nav-link, .dashboard-nav-link {
  display: block; padding: 10px 20px; margin: 0 8px; border-radius: var(--radius-sm);
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: background 0.12s ease, color 0.12s ease;
}
.admin-nav-link:hover, .dashboard-nav-link:hover {
  color: var(--text); background: var(--surface-2);
}
.admin-nav-link.active, .dashboard-nav-link.active {
  color: #fff; background: rgba(35, 134, 54, 0.2); border: 1px solid rgba(35, 134, 54, 0.35);
}
.dashboard-nav-link.hidden { display: none !important; }
.admin-content, .dashboard-content { flex: 1; padding: var(--space-5); overflow: auto; background: var(--bg); }
.admin-view { max-width: 960px; }
.admin-view.hidden { display: none !important; }
.admin-view > .page-header h2 { margin-top: 0; }
.dashboard-view.hidden { display: none !important; }
.dashboard-view.panel { width: 100%; max-width: none; animation: view-in 0.2s ease; }
@keyframes view-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.api-guide-section { margin-bottom: 20px; }
.api-guide-section h4 {
  margin: 0 0 8px; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; font-size: 12px;
  background: rgba(35, 134, 54, 0.25); color: var(--success); font-weight: 700;
}
.api-guide-section p { margin: 8px 0; font-size: 14px; }
.api-code { background: var(--surface-2); padding: 2px 6px; border-radius: 4px; font-size: 13px; }
.api-pre {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 14px; overflow-x: auto; font-size: 12px; line-height: 1.5; margin: 8px 0;
  white-space: pre-wrap; word-break: break-all;
}
.api-key-cell { font-size: 12px; }
.api-copy-btn, .api-regen-btn { margin-right: 6px; }

.plan-summary {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 14px 16px; margin-bottom: 14px; font-size: 14px; line-height: 1.55;
}
.plan-summary.hidden { display: none !important; }
.plan-summary strong { color: var(--text); }
.plan-summary-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.plan-summary-meta { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.usage-bar {
  margin-top: 10px; height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden;
}
.usage-bar > span {
  display: block; height: 100%; background: var(--accent); border-radius: 999px;
}
.billing-hero {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-3); margin-bottom: var(--space-5);
}
.billing-stat {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-4);
}
.billing-stat .label { font-size: 12px; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.billing-stat .value { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }

.controls-form label { display: block; margin: 10px 0 4px; font-size: 13px; color: var(--muted); }
.settings-grid {
  display: grid; gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.nav-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 45;
}
.nav-backdrop.open { display: block; }

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .dashboard-layout, .admin-layout { flex-direction: column; }
  .dashboard-nav, .admin-nav {
    position: fixed; top: var(--header-h); left: 0; bottom: 0; z-index: 50;
    width: min(280px, 86vw); transform: translateX(-105%);
    transition: transform 0.2s ease; box-shadow: 4px 0 24px rgba(0,0,0,0.4);
    border-right: 1px solid var(--border);
  }
  .dashboard-nav.open, .admin-nav.open { transform: translateX(0); }
  .dashboard-content, .admin-content { padding: var(--space-4); }
  .header { padding: 10px 12px; gap: 8px; }
  .header-brand { display: none; }
  .billing-chip { font-size: 12px; padding: 4px 8px; }
  .admin-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .admin-tab { white-space: nowrap; }
  .page-header h2, .page-header h3 { font-size: 1.15rem; }
  .landing-top { padding: 16px; }
  .landing-hero { padding: 32px 16px 64px; }
  .modal { padding: 12px; }
  .modal-content { max-width: 100%; }
}

@media (max-width: 560px) {
  .header-user { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-org { display: none; }
}

/* Public home page: scoped to keep application and login styles independent. */
.wbm-home {
  --home-accent: #b5ee82;
  --home-bg: #101411;
  --home-muted: #a3ada5;
  --home-line: #2c352e;
  background: var(--home-bg);
  color: #f1f4ed;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}
.wbm-home a { color: inherit; text-decoration: none; }
.home-wrap { max-width: 1440px; margin: 0 auto; padding: 0 64px; }
.home-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--home-line); }
.home-brand { display: inline-flex; align-items: center; gap: 11px; font-size: 17px; letter-spacing: -.5px; white-space: nowrap; }
.home-brand strong { font-weight: 750; }
.home-mark { display: grid; place-items: center; width: 33px; height: 33px; color: var(--home-accent); }
.home-mark svg { width: 28px; height: 28px; }
.home-nav { display: flex; gap: 32px; font-size: 13px; color: #b9c1b9; }
.home-login { font-size: 13px; display: inline-flex; gap: 24px; align-items: center; padding: 11px 17px; border: 1px solid #465047; border-radius: 5px; }
.home-login span { color: var(--home-accent); }
.home-hero { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: 52px; padding: 90px 0 80px; }
.home-eyebrow { font-size: 10px; letter-spacing: 1.9px; font-weight: 650; color: var(--home-accent); margin: 0 0 24px; display: flex; align-items: center; gap: 10px; }
.home-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--home-accent); flex-shrink: 0; }
.home-hero h1 { font-size: clamp(48px, 4.8vw, 70px); line-height: 1.06; letter-spacing: -3.5px; font-weight: 550; margin: 0; }
.home-hero h1 > span { color: var(--home-accent); }
.home-intro { max-width: 435px; font-size: 15px; line-height: 1.85; color: var(--home-muted); margin: 26px 0 29px; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.wbm-home .home-button { color: #17220f; background: var(--home-accent); display: inline-flex; align-items: center; justify-content: center; gap: 25px; padding: 15px 21px; border-radius: 5px; font-size: 13px; font-weight: 650; transition: background 160ms ease, transform 160ms ease; }
.home-button span { font-size: 19px; line-height: 1; }
.home-text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; padding: 12px 0; }
.home-text-link span { color: var(--home-accent); font-size: 17px; }
.home-access { color: var(--home-muted); font-size: 11px; margin: 20px 0 0; display: flex; gap: 8px; }
.home-access > span { color: var(--home-accent); }
.home-preview { min-width: 0; position: relative; padding: 26px 0; }
.home-preview::before { content: ""; position: absolute; inset: 0 -18px; z-index: -1; background-image: radial-gradient(#45503f 1px, transparent 1px); background-size: 16px 16px; opacity: .35; mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); }
.home-preview-label { display: flex; justify-content: space-between; gap: 12px; padding: 0 5px; font-size: 8px; letter-spacing: 1.4px; color: var(--home-muted); margin-bottom: 16px; }
.home-preview-label > span:last-child { color: var(--home-accent); }
.home-console { background: #191f1a; border: 1px solid #3a453b; border-radius: 10px; box-shadow: 0 22px 55px #0003; overflow: hidden; }
.home-console-bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 21px; background: #202721; border-bottom: 1px solid #343e35; font-size: 11px; color: #d5ddd4; }
.home-console-bar > span:first-child { display: flex; align-items: center; gap: 8px; }
.home-demo-label { font-size: 8px; letter-spacing: 1px; border: 1px solid #465046; padding: 3px 6px; border-radius: 3px; color: #c3cdc3; }
.home-console-body { padding: 26px 23px 0; }
.home-console-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.home-console-heading p { color: var(--home-muted); font-size: 8px; letter-spacing: 1.6px; margin: 0 0 7px; }
.home-console-heading h2 { font-size: 21px; font-weight: 550; letter-spacing: -.7px; margin: 0; }
.home-avatar { width: 32px; height: 32px; display: grid; place-items: center; background: #313e2a; color: var(--home-accent); border: 1px solid #4d6140; border-radius: 50%; font-size: 12px; }
.home-demo-tabs { display: flex; border-bottom: 1px solid #384138; margin-top: 29px; gap: 25px; }
.home-demo-tabs button { color: #aeb9ad; background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 0 0 12px; cursor: pointer; font-size: 11px; transition: color 160ms ease, border-color 160ms ease; }
.home-demo-tabs button[aria-selected="true"] { color: var(--home-accent); border-color: var(--home-accent); }
.home-demo-panel { min-height: 231px; animation: home-panel-in 240ms ease-out; }
.home-demo-panel[hidden] { display: none; }
.home-panel-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 20px; margin-bottom: 8px; }
.home-panel-title h3 { font-size: 11px; font-weight: 600; margin: 0; }
.home-panel-title > span { font-size: 9px; color: var(--home-muted); }
.home-phone-row { display: flex; align-items: center; gap: 10px; padding: 16px 0; border-bottom: 1px solid #2c352d; }
.home-phone-icon { display: grid; place-items: center; width: 31px; height: 35px; border: 1px solid #42513e; border-radius: 5px; color: var(--home-accent); flex-shrink: 0; }
.home-phone-row strong { display: block; font-size: 11px; font-weight: 550; }
.home-phone-row small { display: block; color: var(--home-muted); font-size: 9px; margin-top: 4px; }
.home-status { display: inline-flex; align-items: center; gap: 5px; color: var(--home-accent); font-size: 9px; white-space: nowrap; margin-left: auto; }
.home-status i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.home-demo-note { display: flex; align-items: center; gap: 8px; color: #afbfaa; font-size: 10px; padding: 16px 0; }
.home-demo-note > span { color: var(--home-accent); }
.home-console-footer { border-top: 1px solid #354035; margin-top: 9px; padding: 15px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #b1baaf; font-size: 8px; }
.home-console-footer > span:first-child { display: flex; align-items: center; gap: 6px; }
.home-console-footer .home-dot { width: 4px; height: 4px; }
.home-preview-caption { color: var(--home-muted); font-size: 10px; padding-left: 5px; margin: 19px 0 0; }
.home-preview-caption span { color: var(--home-accent); margin-right: 8px; }
.home-message { border-left: 2px solid var(--home-accent); background: #242e22; padding: 12px 14px; margin-top: 12px; }
.home-message > span { color: var(--home-accent); font-size: 8px; letter-spacing: 1px; }
.home-message p { font-size: 11px; line-height: 1.7; margin: 8px 0 12px; }
.home-message > div { font-size: 10px; color: #d5dfcf; }
.home-message small { float: right; font-size: 8px; color: #b5c0af; }
.home-activity { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #303b30; padding: 17px 0; font-size: 11px; }
.home-activity small { display: block; font-size: 9px; color: var(--home-muted); margin-top: 5px; }
.home-failed { color: #f1ae9d; font-size: 9px; }
.home-capabilities { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); padding: 27px 0; }
.home-capabilities > span { font-size: 9px; line-height: 1.8; letter-spacing: 1.5px; color: var(--home-muted); padding-right: 30px; border-right: 1px solid var(--home-line); }
.home-capabilities strong { font-weight: 500; color: #d6dfd1; }
.home-capabilities p { font-size: 14px; font-weight: 500; color: #c3ccc1; margin: 0; }
.home-section { padding: 90px 0; scroll-margin-top: 30px; }
.home-section h2, .home-closing h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.16; letter-spacing: -1.6px; font-weight: 500; margin: 0; }
.home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.home-section-heading > p { font-size: 14px; line-height: 1.85; color: var(--home-muted); max-width: 335px; margin: 0 0 3px; }
.home-features { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--home-line); border-radius: 8px; overflow: hidden; }
.home-feature { padding: 31px; background: #151b16; }
.home-feature + .home-feature { border-left: 1px solid var(--home-line); }
.home-feature-icon { display: block; color: var(--home-accent); margin-bottom: 26px; }
.home-feature-icon svg { width: 27px; height: 27px; }
.home-feature-number { display: block; font-size: 8px; letter-spacing: 1.5px; color: var(--home-muted); }
.home-feature h3 { font-size: 23px; font-weight: 500; letter-spacing: -.6px; line-height: 1.25; margin: 14px 0 17px; }
.home-feature p { color: var(--home-muted); font-size: 13px; line-height: 1.85; margin: 0; }
.home-feature-detail { border-top: 1px solid var(--home-line); margin-top: 30px; padding-top: 17px; display: flex; justify-content: space-between; gap: 10px; font-size: 10px; color: #d0dbcc; }
.home-feature-detail > span { color: var(--home-accent); }
.home-workflow { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; border-top: 1px solid var(--home-line); }
.home-workflow-intro { font-size: 14px; line-height: 1.85; color: var(--home-muted); max-width: 330px; margin: 24px 0 17px; }
.home-steps { list-style: none; padding: 0; margin: 0; }
.home-steps li { display: flex; gap: 24px; padding: 25px 0; border-bottom: 1px solid var(--home-line); }
.home-steps li:first-child { padding-top: 0; }
.home-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.home-steps li > span { color: var(--home-accent); font-size: 11px; padding-top: 4px; font-family: monospace; }
.home-steps h3 { font-size: 18px; font-weight: 500; margin: 0 0 8px; letter-spacing: -.3px; }
.home-steps p { color: var(--home-muted); font-size: 13px; line-height: 1.8; margin: 0; max-width: 350px; }
.home-faq { display: grid; grid-template-columns: 1fr 1.25fr; gap: 70px; border-top: 1px solid var(--home-line); }
.home-faq details { border-bottom: 1px solid var(--home-line); }
.home-faq details:first-child { border-top: 1px solid var(--home-line); }
.home-faq summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 14px; list-style: none; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary span { color: var(--home-accent); font-size: 20px; transition: transform 180ms ease; }
.home-faq details[open] summary span { transform: rotate(45deg); }
.home-faq details p { margin: 0 0 23px; color: var(--home-muted); font-size: 13px; line-height: 1.85; max-width: 95%; }
.home-faq details a { color: var(--home-accent); text-decoration: underline; }
.home-closing { background: #202b1c; border: 1px solid #3a4930; border-radius: 8px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 40px; margin: 0 0 65px; }
.home-closing .home-eyebrow { font-size: 9px; }
.home-closing > div:last-child > p { color: #afbea5; font-size: 10px; margin: 14px 0 0; text-align: center; }
.home-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--home-line); padding: 28px 0 34px; }
.home-footer .home-brand { font-size: 14px; gap: 4px; }
.home-footer p { color: var(--home-muted); font-size: 11px; margin: 0; }
.home-footer > a:last-child { font-size: 12px; }
.home-footer > a:last-child span { color: var(--home-accent); margin-left: 20px; }
.home-skip { position: absolute; top: 10px; left: 10px; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; z-index: 10; background: #202b1c; padding: 12px; border: 1px solid var(--home-accent); }
.home-skip:focus { clip-path: none; width: auto; height: auto; overflow: visible; }
.wbm-home :focus-visible { outline: 2px solid var(--home-accent); outline-offset: 5px; }
.home-hero-copy { animation: home-panel-in 600ms ease-out both; }
.home-preview { animation: home-panel-in 700ms 100ms ease-out both; }
.wbm-home [data-reveal] { transition: opacity 500ms ease-out, transform 500ms ease-out; }
.wbm-home .home-reveal-pending { opacity: 0; transform: translateY(16px); }
@keyframes home-panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) and (pointer: fine) {
  .wbm-home .home-button:hover { background: #c8fa9c; transform: translateY(-2px); }
  .home-nav a:hover, .home-text-link:hover, .home-footer a:hover { color: var(--home-accent); }
  .home-login:hover { border-color: var(--home-accent); }
  .home-demo-tabs button:hover { color: var(--home-accent); }
}
@media (max-width: 1100px) {
  .home-wrap { padding: 0 36px; }
  .home-hero { gap: 30px; padding: 65px 0; }
  .home-hero h1 { font-size: 55px; letter-spacing: -2.6px; }
  .home-actions { gap: 12px; }
  .home-console-body { padding: 22px 17px 0; }
  .home-feature { padding: 25px; }
}
@media (max-width: 800px) {
  .home-header { min-height: 85px; }
  .home-nav { gap: 18px; font-size: 12px; }
  .home-hero { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 45px; }
  .home-hero h1 { font-size: clamp(49px, 8vw, 70px); }
  .home-intro { max-width: 500px; }
  .home-preview { max-width: 580px; width: 100%; justify-self: center; }
  .home-section { padding: 65px 0; }
  .home-section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .home-section-heading > p { max-width: 500px; }
  .home-features { grid-template-columns: 1fr; }
  .home-feature + .home-feature { border-left: 0; border-top: 1px solid var(--home-line); }
  .home-feature h3 br { display: none; }
  .home-feature-icon { margin-bottom: 18px; }
  .home-feature-detail { margin-top: 22px; }
  .home-workflow, .home-faq { gap: 35px; }
  .home-closing { padding: 30px; }
  .home-closing h2 { font-size: 32px; }
  .home-capabilities { gap: 15px; }
  .home-capabilities p { font-size: 11px; }
  .home-capabilities > span { padding-right: 18px; font-size: 8px; }
}
@media (max-width: 560px) {
  .home-wrap { padding: 0 22px; }
  .home-header { flex-wrap: wrap; gap: 0; padding: 20px 0 0; }
  .home-brand { font-size: 16px; gap: 6px; }
  .home-login { margin-left: auto; padding: 9px 12px; gap: 12px; }
  .home-nav { order: 3; width: 100%; justify-content: space-between; padding: 24px 0 17px; }
  .home-hero { padding-top: 43px; gap: 30px; }
  .home-hero h1 { font-size: clamp(40px, 10vw, 55px); letter-spacing: -2.1px; }
  .home-eyebrow { font-size: 8px; letter-spacing: 1.4px; margin-bottom: 23px; }
  .home-intro { font-size: 14px; line-height: 1.8; margin: 23px 0; }
  .home-actions { gap: 8px 20px; }
  .home-access { margin-top: 15px; }
  .home-preview-label { font-size: 7px; letter-spacing: .8px; }
  .home-console-bar { padding: 13px 15px; }
  .home-console-body { padding: 21px 14px 0; }
  .home-console-heading h2 { font-size: 19px; }
  .home-demo-tabs { gap: 23px; }
  .home-phone-row { gap: 8px; }
  .home-phone-row strong { font-size: 10px; }
  .home-phone-row small { font-size: 8px; }
  .home-phone-icon { width: 25px; height: 30px; }
  .home-status { font-size: 8px; }
  .home-demo-note { font-size: 9px; }
  .home-preview-caption { font-size: 9px; line-height: 1.7; }
  .home-capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .home-capabilities > span { grid-column: 1 / -1; border: 0; }
  .home-capabilities > span br { display: none; }
  .home-capabilities strong { margin-left: 5px; }
  .home-capabilities p { font-size: 13px; }
  .home-workflow, .home-faq { grid-template-columns: 1fr; }
  .home-section h2 { font-size: 34px; }
  .home-closing { flex-direction: column; align-items: flex-start; padding: 30px 24px; margin-bottom: 40px; }
  .home-closing .home-eyebrow { font-size: 8px; line-height: 1.8; }
  .home-closing h2 { font-size: 30px; }
  .home-footer { flex-wrap: wrap; gap: 20px; }
  .home-footer p { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .wbm-home .home-hero-copy, .wbm-home .home-preview, .wbm-home .home-demo-panel { animation: none; }
  .wbm-home [data-reveal], .wbm-home .home-button, .wbm-home .home-demo-tabs button, .wbm-home .home-faq summary span { transition: none; }
  .wbm-home .home-reveal-pending { opacity: 1; transform: none; }
  .wbm-home .home-button:hover { transform: none; }
}

/* A looping, user-controllable product walkthrough. */
.home-preview-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; }
.home-preview-controls .home-preview-caption { margin: 0; }
.home-replay { color: var(--home-accent); font-size: 10px; background: transparent; border: 1px solid var(--home-line); border-radius: 4px; padding: 9px 10px; cursor: pointer; white-space: nowrap; }
.home-replay[hidden] { display: none; }
.home-replay:disabled { opacity: .6; cursor: default; }
.home-walkthrough .home-demo-panel { position: relative; }
.home-walkthrough .home-demo-panel::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--home-accent); transform-origin: left; animation: home-step-progress var(--walkthrough-step-duration, 5000ms) linear both; }
@keyframes home-step-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes home-message-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .home-hero-copy { animation: none; }
  .home-hero-copy > * { animation: home-panel-in 650ms cubic-bezier(.2,.7,.2,1) both; }
  .home-hero-copy h1 { animation-delay: 100ms; }
  .home-hero-copy .home-intro { animation-delay: 200ms; }
  .home-hero-copy .home-actions { animation-delay: 300ms; }
  .home-hero-copy .home-access { animation-delay: 400ms; }
  .home-demo-panel:not([hidden]) .home-phone-row, .home-demo-panel:not([hidden]) .home-activity { animation: home-panel-in 420ms 100ms ease-out both; }
  .home-demo-panel:not([hidden]) .home-phone-row:nth-child(3), .home-demo-panel:not([hidden]) .home-activity:nth-child(3) { animation-delay: 230ms; }
  .home-demo-panel:not([hidden]) .home-message { animation: home-message-in 450ms 100ms ease-out both; }
  .home-demo-panel:not([hidden]) .home-demo-note { animation: home-panel-in 400ms 350ms ease-out both; }
  .home-feature-icon svg { transition: transform 220ms ease; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-feature:hover .home-feature-icon svg { transform: translateY(-4px) rotate(-5deg); }
  .home-replay:hover { border-color: var(--home-accent); }
}
@media (max-width: 560px) {
  .home-preview-controls { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .home-walkthrough .home-demo-panel::after { animation: none; display: none; }
}

/* API documentation workspace */
.api-docs { max-width: 1180px; min-width: 0; }
.api-docs .page-header { align-items: center; gap: 20px; flex-wrap: wrap; }
.api-docs .page-header h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -.9px; margin: 0 0 8px; }
.api-docs-eyebrow { color: #b5ee82; font-size: 10px; letter-spacing: 1.6px; margin: 0 0 12px; }
.api-docs-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 18px 0 23px; border-bottom: 1px solid var(--border); }
.api-docs-nav a { color: var(--text); font-size: 13px; text-decoration: none; padding: 5px 0; }
.api-docs-nav a:hover { color: #b5ee82; }
.api-docs-section { padding: 32px 0; border-bottom: 1px solid var(--border-subtle); scroll-margin-top: 80px; }
.api-docs-section:last-of-type { border-bottom: 0; }
.api-docs-heading { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 22px; }
.api-docs-step { color: #b5ee82; background: #243020; border: 1px solid #3a4930; border-radius: 6px; padding: 8px; font: 13px monospace; }
.api-docs h2 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.api-docs h3 { font-size: 14px; font-weight: 500; margin: 0 0 12px; }
.api-docs-heading p, .api-docs-help { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 0; }
.api-docs-help { margin: 14px 0; }
.api-docs a:not(.btn) { color: #b5ee82; }
.api-docs-notice { padding: 14px 16px; margin: 16px 0; background: var(--bg); border-left: 3px solid #83b964; font-size: 13px; color: #bcc7ba; line-height: 1.8; }
.api-docs-phone-number { display: block; color: var(--muted); margin-top: 4px; }
.api-docs .phone-actions-cell .btn { margin: 3px 6px 3px 0; }
.api-docs-endpoint { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--border); background: var(--bg); border-radius: 6px; flex-wrap: wrap; }
.api-docs-endpoint code { overflow-wrap: anywhere; font-size: 13px; min-width: 0; }
.api-docs-endpoint .btn { margin-left: auto; }
.api-docs-options { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.api-docs-options .form-field { margin: 0; }
.api-docs-code { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--bg); }
.api-docs-code-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px; background: var(--surface-2); font-size: 12px; }
.api-docs-code-header .btn { flex-shrink: 0; }
.api-docs-code pre { margin: 0; padding: 22px; overflow-x: auto; color: #c8e8bb; font: 12px/1.85 Consolas, monospace; tab-size: 2; }
.api-docs-copy-status { min-height: 20px; color: var(--success); font-size: 12px; }
.api-docs-responses { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.api-docs-responses > div { min-width: 0; }
.api-docs-responses pre { white-space: pre-wrap; overflow-wrap: anywhere; min-height: 120px; }
.api-docs-errors { padding: 16px 0; }
.api-docs-errors summary { cursor: pointer; font-size: 14px; padding: 5px 0 16px; }
.api-docs-errors p { font-size: 13px; line-height: 1.8; color: var(--muted); }
.api-docs .data-table { font-size: 13px; }
.api-docs .data-table td { line-height: 1.7; }
@media (max-width: 700px) {
  .api-docs-options, .api-docs-responses { grid-template-columns: 1fr; }
  .api-docs-code-header { align-items: flex-start; }
  .api-docs-code pre { padding: 16px; font-size: 11px; }
  .api-docs-nav { gap: 8px 18px; }
}
@media (max-width: 700px) {
  .api-docs .data-table { min-width: 600px; }
  .api-docs .table-scroll { max-width: 100%; overflow-x: auto; }
}
