/* ============ MultiProxy — tema gelap modern ============ */
:root {
  color-scheme: dark;
  /* Tema default: Ocean (v2026-11-16-ocean). Tema lain via MP_THEME di .env
     — lihat lib/themes.js. Jangan edit warna di sini kalau mau ganti tema. */
  --bg: #060a18;
  --bg-soft: #090f22;
  --panel: #0b1226;
  --panel-2: #101a33;
  --border: rgba(125, 160, 255, 0.16);
  --border-strong: rgba(125, 160, 255, 0.28);
  --text: #e9eefb;
  --muted: #93a5c4;
  --accent: #38bdf8;
  --accent-2: #818cf8;
  --accent-dim: rgba(56, 189, 248, 0.14);
  --accent-deep: #0284c7;
  --accent-faint: rgba(56, 189, 248, 0.10);
  --accent-line: rgba(56, 189, 248, 0.35);
  --accent-ring: rgba(56, 189, 248, 0.15);
  --accent-strong: rgba(56, 189, 248, 0.50);
  --accent-glow: rgba(56, 189, 248, 0.25);
  --accent-glow-soft: rgba(56, 189, 248, 0.16);
  --accent-hi: rgba(56, 189, 248, 0.55);
  --accent-halo: rgba(56, 189, 248, 0.12);
  --accent2-glow: rgba(129, 140, 248, 0.08);
  --on-accent: #03202e;
  --danger: #f87171;
  --warning: #fbbf24;
  --blue: #60a5fa;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --mono: ui-monospace, "Cascadia Code", Consolas, "Segoe UI Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: 40px; font-weight: 800; }
h2 { font-size: 30px; font-weight: 750; }
h3 { font-size: 18px; font-weight: 650; }
p { margin: 0 0 14px; }
code { font-family: var(--mono); }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.center { text-align: center; }
.spacer { flex: 1; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 22px; }
.page { padding: 36px 22px 70px; }
.page-head { margin-bottom: 26px; }
.page-head p { margin: 4px 0 0; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 20, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent); font-weight: 900; font-size: 16px;
}
.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav-link { color: var(--muted); font-weight: 550; font-size: 15px; }
.nav-link:hover { color: var(--text); text-decoration: none; }
.nav-link.active { color: var(--text); }
.inline-form { display: inline-flex; margin: 0; }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 10px;
  padding: 10px 18px; font-size: 15px; font-weight: 620;
  cursor: pointer; color: var(--text); background: var(--panel-2);
  transition: transform 0.08s ease, filter 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.12); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--on-accent); font-weight: 700;
  box-shadow: 0 4px 18px var(--accent-glow);
}
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(148, 163, 184, 0.08); }
.btn-danger { background: rgba(248, 113, 113, 0.12); border-color: rgba(248, 113, 113, 0.4); color: var(--danger); }
.btn-sm { padding: 6px 12px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { padding: 13px 26px; font-size: 16.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.link-btn {
  background: none; border: 0; color: var(--muted); cursor: pointer;
  font: inherit; padding: 0;
}
.link-btn:hover { color: var(--danger); }

/* ---------- hero ---------- */
.hero {
  padding: 90px 0 60px;
  background:
    radial-gradient(900px 480px at 50% -80px, var(--accent-glow-soft), transparent 65%),
    radial-gradient(700px 400px at 80% 10%, var(--accent2-glow), transparent 60%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.chip {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--accent-dim);
  color: var(--accent); font-size: 13.5px; font-weight: 650; letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 6vw, 56px); margin-bottom: 18px; }
.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { max-width: 640px; margin: 0 auto 28px; color: var(--muted); font-size: 18px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  max-width: 760px; margin: 0 auto;
}
.stat {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--panel); padding: 14px 10px;
}
.stat b { display: block; font-size: 20px; }
.stat span { color: var(--muted); font-size: 13px; }

/* ---------- section ---------- */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--border); }
.section h2 { text-align: center; }
.section-sub { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.feature { transition: transform 0.15s ease, border-color 0.15s ease; }
.feature:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.f-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; font-size: 22px;
  background: var(--accent-dim); margin-bottom: 14px;
}
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; font-size: 14.5px; }

.steps { counter-reset: step; }
.step { text-align: center; padding: 10px; }
.step-num {
  width: 44px; height: 44px; margin: 0 auto 14px;
  display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent); font-weight: 800; font-size: 18px;
}
.step p { font-size: 14.5px; }

/* ---------- pricing ---------- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; max-width: 980px; margin: 0 auto;
}
.plan {
  position: relative; background: var(--panel);
  border: 1px solid var(--border); border-radius: 16px; padding: 26px;
  display: flex; flex-direction: column;
}
.plan.highlight {
  border-color: var(--accent-hi);
  box-shadow: 0 0 40px var(--accent-halo);
}
.ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent); font-size: 12px; font-weight: 800;
  padding: 4px 14px; border-radius: 999px; letter-spacing: 0.03em;
}
.plan-name { font-weight: 750; font-size: 18px; margin-bottom: 8px; }
.plan-priceline { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.plan-price { font-size: 34px; font-weight: 800; }
.plan-unit { color: var(--muted); font-size: 14px; }
.plan-features { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.plan-features li { padding: 7px 0 7px 26px; position: relative; color: var(--muted); font-size: 14.5px; }
.plan-features li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800;
}
.cta-band {
  padding: 70px 0; text-align: center;
  background: radial-gradient(600px 300px at 50% 120%, var(--accent-dim), transparent 70%);
  border-top: 1px solid var(--border);
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 40px 0 26px; }
.footer-wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--muted); font-size: 14.5px; }
.copyright { margin-top: 26px; font-size: 13px; }

/* ---------- form & alert ---------- */
.auth-wrap { display: grid; place-items: center; min-height: calc(100vh - 64px - 120px); padding: 50px 20px; }
.auth-card { width: 100%; max-width: 440px; }
.verify-card { max-width: 560px; }
.field { display: block; margin-bottom: 16px; font-weight: 600; font-size: 14px; }
.field input, .field textarea, .select {
  width: 100%; margin-top: 6px;
  background: var(--bg); border: 1px solid var(--border-strong);
  border-radius: 10px; color: var(--text);
  padding: 11px 13px; font-size: 15px; font-family: inherit;
  outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus, .select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring);
}
.hint { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; margin-top: 4px; }
.alert {
  border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14.5px; margin-bottom: 16px;
}
.alert-error { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.35); color: #fca5a5; }
.alert-success { background: var(--accent-faint); border: 1px solid var(--accent-line); color: var(--accent); }
.alert-warning { background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.3); color: var(--warning); }

/* ---------- verifikasi ---------- */
.verify-steps { margin: 0 0 18px; padding-left: 22px; color: var(--muted); }
.verify-steps li { margin-bottom: 6px; }
.token-box {
  border: 1px dashed var(--border-strong); border-radius: var(--radius-sm);
  padding: 14px; margin-bottom: 16px; background: var(--bg);
}
.token-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.token-row code {
  flex: 1; font-size: 17px; letter-spacing: 0.08em; color: var(--accent);
  overflow-wrap: anywhere;
}
.verify-status {
  display: flex; align-items: center; gap: 9px; justify-content: center;
  margin: 18px 0 8px; color: var(--muted); font-size: 14.5px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--warning); }
.dot-pulse { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }

/* ---------- badge / pill ---------- */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
}
.b-green { background: var(--accent-ring); color: var(--accent); }
.b-red { background: rgba(248, 113, 113, 0.15); color: var(--danger); }
.b-yellow { background: rgba(251, 191, 36, 0.15); color: var(--warning); }
.b-blue { background: rgba(96, 165, 250, 0.15); color: var(--blue); }
.b-gray { background: rgba(148, 163, 184, 0.15); color: var(--muted); }

/* ---------- tabel ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 650; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; }
tr:last-child td { border-bottom: 0; }
.small-cell { max-width: 340px; overflow-wrap: anywhere; }
.row-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
/* Tabel akun proxy: kolom (IP) jangan membungkus ke bawah; biarkan scroll ke samping di layar kecil */
.proxy-table { min-width: 720px; }
.proxy-table th, .proxy-table td { white-space: nowrap; }

/* ---------- dashboard ---------- */
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; }
.kv:last-of-type { border-bottom: 0; }
.kv span { color: var(--muted); }

/* ---------- kuota & pembayaran ---------- */
.beli-form { margin-top: 14px; border-top: 1px dashed var(--border); padding-top: 14px; }
.select-block { width: 100%; margin-top: 6px; }
.narrow-form { max-width: 520px; }
.prov-form { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; background: var(--bg); }
.prov-form h4 { margin-bottom: 4px; }
.pw { font-size: 12.5px; overflow-wrap: anywhere; }

/* ---------- kartu akun: tab Proxy / Rotation / Auto Rotation ---------- */
.card-head-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.card-head-row h3 { margin: 0; }
.tab-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.tab-nav .wstep-ind { background: transparent; cursor: pointer; font-family: inherit; }
.tpane { margin-bottom: 4px; }
.auto-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.auto-label { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.auto-row .preset-row { margin-bottom: 0; gap: 6px; }
.custom-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.custom-row input {
  width: 170px; background: var(--bg); border: 1px solid var(--border-strong);
  border-radius: 10px; color: var(--text); padding: 10px 13px;
  font-size: 15px; outline: none; transition: border-color 0.15s ease;
}
.custom-row input:focus { border-color: var(--accent); }

/* ---------- wizard beli ---------- */
.wizard-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.wstep-ind {
  padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 650;
  border: 1px solid var(--border); color: var(--muted);
}
.wstep-ind.active { background: var(--accent-dim); border-color: var(--accent-strong); color: var(--accent); }
.wstep-ind.done { color: var(--text); }
.preset-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.price-preview {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; margin: 14px 0; font-size: 15px;
}
.price-preview b { font-size: 20px; color: var(--accent); }
.chk.block { display: flex; padding: 8px 0; }
#w-manual-rows.manual-wrap {
  max-height: 320px; overflow-y: auto;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 6px;
}
.manual-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.manual-table th {
  position: sticky; top: 0; z-index: 1; background: var(--panel);
  padding: 8px 10px; text-align: left; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted);
}
.manual-table td { padding: 4px 6px; border-top: 1px solid var(--border); }
.manual-table td.num { color: var(--muted); width: 36px; text-align: center; font-size: 12.5px; }
.manual-table input {
  width: 100%; background: var(--bg); border: 1px solid var(--border-strong);
  border-radius: 8px; color: var(--text); padding: 7px 10px;
  font-size: 14px; font-family: var(--mono); outline: none;
  transition: border-color 0.15s ease;
}
.manual-table input:focus { border-color: var(--accent); }
.manual-table .muted { font-weight: 400; text-transform: none; letter-spacing: 0; }
.wpane button { margin-right: 8px; margin-top: 6px; }
.confirm-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 14px; }
.confirm-table td { padding: 7px 10px; border-bottom: 1px dashed var(--border); }
.confirm-table td:first-child { color: var(--muted); width: 180px; }
.confirm-accounts { max-height: 260px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 14px; }
.confirm-accounts table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.confirm-accounts th, .confirm-accounts td { padding: 6px 10px; text-align: left; border-bottom: 1px solid var(--border); }
.confirm-accounts th { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; }
.price-example { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 14.5px; }
.price-example td { padding: 8px 4px; border-bottom: 1px dashed var(--border); color: var(--muted); }
.price-example td:last-child { text-align: right; color: var(--text); font-weight: 650; font-family: var(--mono); }
.price-example tr:last-child td { border-bottom: 0; }
.pay-card { max-width: 480px; }
.pay-total {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px; margin-bottom: 16px; text-align: center;
}
.pay-total .plan-price { font-size: 32px; }
.qr-box {
  background: #ffffff; border-radius: var(--radius-sm); padding: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 16px;
}
.qr-box img { display: block; border-radius: 6px; }
.pay-guide { text-align: left; margin: 0 0 16px; padding-left: 22px; }
.pay-guide li { margin-bottom: 5px; line-height: 1.5; }
.qr-box .muted { color: #4a5568; }
.api-example {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px; overflow-x: auto; font-size: 12px; margin: 6px 0; white-space: pre;
}

/* ---------- admin ---------- */
.admin-body { background: var(--bg-soft); }
.admin-shell { display: flex; min-height: 100vh; }
.admin-side {
  width: 240px; flex-shrink: 0; position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
  background: var(--panel); border-right: 1px solid var(--border);
  padding: 20px 14px;
}
.admin-brand { font-weight: 800; display: flex; align-items: center; gap: 8px; padding: 4px 8px 18px; }
.admin-tag {
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em;
  background: rgba(96, 165, 250, 0.15); color: var(--blue);
  padding: 2px 8px; border-radius: 999px;
}
.admin-nav { display: flex; flex-direction: column; gap: 4px; }
.admin-nav a {
  color: var(--muted); font-weight: 570; font-size: 14.5px;
  padding: 10px 12px; border-radius: 10px;
}
.admin-nav a:hover { background: rgba(148, 163, 184, 0.08); color: var(--text); text-decoration: none; }
.admin-nav a.active { background: var(--accent-dim); color: var(--accent); }
.admin-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding: 10px 8px; font-size: 14px; }
.admin-main { flex: 1; padding: 30px 34px 70px; min-width: 0; }
.admin-main .card { margin-bottom: 18px; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; 
}
.stat-card b { display: block; font-size: 30px; font-weight: 800; }
.stat-card span { color: var(--muted); font-size: 13.5px; }

.editor-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.plans-editor { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-bottom: 14px; }
.plan-editor { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; background: var(--bg); }
.plan-editor-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.chk { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; font-weight: 500; cursor: pointer; }
.chk input { accent-color: var(--accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.form-grid div { align-self: end; margin-bottom: 16px; }

.monitor-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.select { width: auto; min-width: 240px; margin-top: 0; }

/* ---------- viewer status server ---------- */
.status-head { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.status-title b { font-size: 17px; }
.status-title .muted { font-size: 13px; }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.kv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 10px 0 4px; }
.kv-item {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 12px;
}
.kv-item span { display: block; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; }
.kv-item b { font-size: 14.5px; overflow-wrap: anywhere; }
.scorebar {
  width: 90px; height: 7px; background: rgba(148, 163, 184, 0.15);
  border-radius: 999px; overflow: hidden; display: inline-block; vertical-align: middle;
}
.scorebar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.rtt-ok { color: var(--accent); font-weight: 650; }
.rtt-mid { color: var(--warning); font-weight: 650; }
.rtt-bad { color: var(--danger); font-weight: 650; }
.bw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.bw-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 16px;
}
.bw-card span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.bw-val { font-size: 21px; font-weight: 750; font-family: var(--mono); }
.empty {
  border: 1px dashed var(--border-strong); border-radius: var(--radius-sm);
  padding: 26px; text-align: center; color: var(--muted);
}
.status-err {
  background: rgba(248, 113, 113, 0.08); border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fca5a5; border-radius: var(--radius-sm); padding: 14px 16px;
}
details.rawjson { margin-top: 14px; }
details.rawjson summary { cursor: pointer; color: var(--muted); font-size: 13.5px; }
details.rawjson pre {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px; overflow-x: auto; font-size: 12.5px; max-height: 420px;
}
.section-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 700; margin: 18px 0 8px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-shell { flex-direction: column; }
  .admin-side { width: 100%; height: auto; position: static; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-side-foot { margin: 0; flex-direction: row; align-items: center; }
  .admin-main { padding: 22px 18px 60px; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  h1 { font-size: 30px; }
  .section { padding: 50px 0; }
  .nav { gap: 12px; }
  .nav-link[href^="/#"] { display: none; }
}

/* ---------- Syarat & Ketentuan (v2026-11-16-snk) ---------- */
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; margin-bottom: 16px; cursor: pointer; }
.check input[type="checkbox"] { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--accent); cursor: pointer; }
.tos h2 { font-size: 20px; margin-top: 28px; }
.tos ul { margin: 0 0 14px; padding-left: 22px; }
.tos li { margin-bottom: 6px; }

/* ---------- submenu dashboard (v2026-11-16-menu) ---------- */
.dash-menu { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.dash-link { padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 650; border: 1px solid var(--border); color: var(--muted); }
.dash-link:hover { text-decoration: none; color: var(--text); border-color: var(--border-strong); }
.dash-link.active { background: var(--accent-dim); border-color: var(--accent-strong); color: var(--accent); }
