:root {
  --bg: #0a0a0c;
  --bg-2: #101013;
  --card: #141418;
  --card-2: #1a1a1f;
  --line: #26262d;
  --line-2: #33333c;
  --text: #ededf0;
  --muted: #8b8b96;
  --accent: #d6ff3f;
  --accent-ink: #0b0d02;
  --ok: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;
  --run: #60a5fa;
  --radius: 14px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; }
h2 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 .8em; }
img, video { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.main { padding-top: 28px; padding-bottom: 48px; min-height: 70vh; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.right { text-align: right; }
.hint { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.strike { text-decoration: line-through; }
.warn { color: var(--warn); }
.hp { position: absolute; left: -9999px; opacity: 0; }
.clamp { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-width: 320px; }

/* ---------- Topbar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(10,10,12,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand b { color: var(--accent); font-weight: 800; }
.brand-mark { width: 22px; height: 22px; border-radius: 7px; background: conic-gradient(from 210deg, var(--accent), #6ee7b7, var(--accent)); box-shadow: 0 0 18px rgba(214,255,63,.35); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: 14px; }
.nav > a:hover { color: var(--text); background: var(--card); text-decoration: none; }
.nav > a.on { color: var(--text); background: var(--card-2); }
.nav > a.btn { color: var(--accent-ink); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 6px 10px; font-size: 16px; cursor: pointer; }
.chip { display: inline-flex !important; align-items: center; gap: 6px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 13px !important; color: var(--text) !important; }
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.muted-link { font-size: 13px !important; }

/* ---------- Buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--text); font: 600 14px var(--font); cursor: pointer; transition: transform .08s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { border-color: #4a4a55; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #e2ff70; border-color: #e2ff70; }
.btn-ghost { background: transparent; }
.btn-wa { background: #1f3a2a; border-color: #2c5a3f; color: #b8f5cc; margin-top: 10px; }
.btn-sm { padding: 6px 11px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 22px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }

.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 500; }
input, textarea, select { width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; padding: 11px 12px; font: 14px var(--font); outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(214,255,63,.12); }
input[type=file] { padding: 9px; }
input[type=checkbox], input[type=radio] { width: auto; }
textarea { resize: vertical; }
.input-sm { padding: 6px 9px; font-size: 13px; border-radius: 8px; width: auto; }
.w-80 { width: 90px; }
.switch { flex-direction: row !important; align-items: center; gap: 10px !important; cursor: pointer; }
.switch input { accent-color: var(--accent); width: 17px; height: 17px; }
.field-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: -4px; }

/* ---------- Cards, flash, tags ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.flash { padding: 11px 14px; border-radius: 10px; margin-bottom: 14px; font-size: 14px; border: 1px solid; }
.flash-success { background: rgba(74,222,128,.08); border-color: rgba(74,222,128,.3); color: #bbf7d0; }
.flash-error { background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.3); color: #fecaca; }
.flash-error a { color: #fff; font-weight: 600; text-decoration: underline; }
.form .flash { margin-bottom: 0; }
.tag { display: inline-block; font: 600 10.5px var(--mono); letter-spacing: .04em; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); vertical-align: middle; }
.tag-member { border-color: rgba(214,255,63,.5); color: var(--accent); }
.tag-bonus { border-color: rgba(74,222,128,.4); color: var(--ok); }
.status { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px var(--mono); padding: 3px 8px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-ok { color: var(--ok); border-color: rgba(74,222,128,.3); }
.st-run { color: var(--run); border-color: rgba(96,165,250,.3); }
.st-wait { color: var(--warn); border-color: rgba(251,191,36,.3); }
.st-fail { color: var(--bad); border-color: rgba(248,113,113,.3); }

/* ---------- Tables ---------- */
.table-card { padding: 0; overflow: hidden; margin-top: 16px; }
.table-card h2 { padding: 18px 18px 0; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; min-width: 720px; }
.table th { text-align: left; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14px; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: rgba(255,255,255,.015); }
.row-dim { opacity: .45; }
.inline-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 2px 0; }

/* ---------- Landing ---------- */
.hero { padding: 28px 0 36px; max-width: 760px; }
.eyebrow { display: inline-block; font-size: 11.5px; letter-spacing: .12em; color: var(--accent); border: 1px solid rgba(214,255,63,.3); padding: 5px 10px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 5.5vw, 54px); }
.lead { font-size: 17px; color: #b9b9c3; max-width: 620px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.dir-bar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cat-tabs { display: flex; gap: 6px; padding: 5px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; max-width: 100%; }
.cat { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--muted); white-space: nowrap; }
.cat em { font: 600 11px var(--mono); font-style: normal; padding: 2px 7px; border-radius: 999px; background: var(--card-2); }
.cat.on { background: var(--text); color: var(--bg); }
.cat.on em { background: #dcdce2; }
.cat.soon { opacity: .6; }
.dir-search { max-width: 280px; }
.dir-table td:not(:first-child) { white-space: nowrap; }
.dir-name { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.price { font-size: 16px; color: var(--text); }
.how { margin-top: 56px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.how-step { padding: 20px; }
.how-step b { display: block; font-size: 16px; margin: 8px 0 6px; }
.step-no { color: var(--accent); font-size: 13px; }

/* ---------- Auth ---------- */
.auth { display: flex; justify-content: center; padding: 20px 0; }
.auth-card { width: 100%; max-width: 420px; padding: 28px; }
.auth-card.wide { max-width: 560px; }
.member-box { padding: 12px; border: 1px dashed var(--line-2); border-radius: 12px; }
.checklist { list-style: none; padding: 0; margin: 0 0 16px; font-family: var(--mono); font-size: 13.5px; }
.checklist li { padding: 4px 0; }
.checklist .ok { color: var(--ok); }
.checklist .bad { color: var(--bad); }

/* ---------- Studio ---------- */
.studio { display: grid; grid-template-columns: minmax(340px, 440px) 1fr; gap: 20px; align-items: start; }
.panel { padding: 22px; position: sticky; top: 80px; }
.panel-head h1 { font-size: 26px; }
.model-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.model-opt { cursor: pointer; display: block !important; }
.model-opt input { position: absolute; opacity: 0; pointer-events: none; }
.model-opt-in { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--bg-2); transition: border-color .15s, background .15s; }
.model-opt-name { font-weight: 600; font-size: 13.5px; }
.model-opt input:checked + .model-opt-in { border-color: var(--accent); background: rgba(214,255,63,.06); box-shadow: inset 0 0 0 1px var(--accent); }
.model-opt input:focus-visible + .model-opt-in { outline: 2px solid var(--accent); outline-offset: 2px; }
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.upload-grid > div { display: flex; flex-direction: column; gap: 10px; }
.drop { position: relative; display: flex !important; align-items: center; justify-content: center; aspect-ratio: 3 / 4; border: 1.5px dashed var(--line-2); border-radius: 12px; background: var(--bg-2); cursor: pointer; overflow: hidden; transition: border-color .15s; }
.drop:hover { border-color: var(--accent); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
.drop-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 10px; font-size: 13.5px; }
.drop-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); color: var(--accent); font-size: 15px; margin-bottom: 4px; }
.drop-preview { display: none !important; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop.has-file .drop-preview { display: block !important; }
.drop.has-file .drop-empty { display: none; }
.drop.has-file { border-style: solid; border-color: var(--line-2); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); }
.seg label { display: block !important; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; flex-direction: column; align-items: center; padding: 8px; border-radius: 9px; font-weight: 600; font-size: 13.5px; color: var(--muted); }
.seg span em { font: 400 11px var(--mono); font-style: normal; }
.seg input:checked + span { background: var(--card-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.estimate { display: flex; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 12px; background: linear-gradient(135deg, rgba(214,255,63,.07), transparent 60%), var(--bg-2); border: 1px solid var(--line-2); }
.estimate-num { font: 700 26px var(--mono); }
.estimate-num small { font-size: 13px; color: var(--muted); font-weight: 400; }
.progress { position: relative; height: 34px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line-2); overflow: hidden; }
.progress-bar { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(214,255,63,.18); transition: width .2s; }
.progress-text { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; font: 12.5px var(--mono); }
.results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.job { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.job-media { position: relative; aspect-ratio: 9 / 12; background: var(--bg-2); }
.job-media img, .job-media video { width: 100%; height: 100%; object-fit: cover; }
.job-media video { object-fit: contain; background: #000; }
.job-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(10,10,12,.62); backdrop-filter: blur(3px); font: 600 13px var(--mono); }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(214,255,63,.2); border-top-color: var(--accent); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.job-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.job-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 8px; font-size: 14px; }
.job-top .status { white-space: normal; }
.job-meta { font-size: 11.5px; color: var(--muted); }
.job-error { font-size: 12.5px; color: #fecaca; }
.empty { grid-column: 1 / -1; padding: 48px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); }

/* ---------- Topup ---------- */
.page-head { margin-bottom: 18px; }
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pkg { position: relative; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.pkg-hot { border-color: rgba(214,255,63,.5); box-shadow: 0 0 0 1px rgba(214,255,63,.25), 0 20px 40px -20px rgba(214,255,63,.25); }
.pkg-badge { position: absolute; top: -10px; right: 14px; background: var(--accent); color: var(--accent-ink); font: 700 11px var(--mono); padding: 3px 9px; border-radius: 999px; }
.pkg-name { font-weight: 600; color: var(--muted); }
.pkg-credits { font: 800 30px var(--mono); letter-spacing: -0.03em; }
.pkg-credits small { font-size: 13px; font-weight: 400; color: var(--muted); }
.pkg-price { font-size: 18px; font-weight: 600; margin-top: 4px; }
.pkg .btn { margin-top: auto; }
.pkg .tag { align-self: flex-start; }
.pay { padding: 26px; max-width: 860px; }
.pay-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pay-amount { text-align: center; padding: 22px; margin: 16px 0 22px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-2); }
.pay-total { font-size: clamp(30px, 6vw, 44px); font-weight: 800; color: var(--accent); margin: 4px 0 10px; letter-spacing: -0.02em; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pay-grid > div { display: flex; flex-direction: column; gap: 12px; }
.bank-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.bank-list li { padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-2); }
.qris { max-width: 240px; border-radius: 12px; background: #fff; padding: 8px; }

/* ---------- Admin ---------- */
.admin-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.admin-head > div:first-child { flex: 1; }
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 22px; }
.stat-grid-4 { grid-template-columns: repeat(4, 1fr); }
.stat-grid-5 { grid-template-columns: repeat(5, 1fr); }
.stat { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.stat b { font: 700 22px var(--mono); letter-spacing: -0.02em; }
.stat-big { font-size: 28px !important; }
.stat-highlight { border-color: rgba(214,255,63,.3); background: linear-gradient(135deg, rgba(214,255,63,.06), var(--card) 60%); }
.trend-up { color: var(--ok); }
.trend-down { color: var(--bad); }
.tabs, .filter { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.tabs { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.tabs a, .filter a { color: var(--muted); padding: 7px 12px; border-radius: 9px; font-size: 14px; font-weight: 500; }
.tabs a.on, .filter a.on { color: var(--text); background: var(--card-2); }
.filter input { width: 260px; padding: 8px 11px; }

/* Dashboard sections */
.dash-section-label { font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 8px 0 10px; }
.dash-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.dash-chart { padding: 18px; }
.dash-chart-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.dash-chart-legend { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }

/* Bar chart */
.bar-chart { display: flex; gap: 4px; align-items: flex-end; height: 140px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; }
.bar-value { color: var(--muted); font-size: 10px; min-height: 14px; }
.bar-track { flex: 1; width: 100%; border-radius: 4px 4px 0 0; background: var(--bg-2); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; position: relative; }
.bar-fill { background: var(--accent); border-radius: 4px 4px 0 0; min-height: 0; transition: height .3s; }
.bar-fill-ok { background: var(--ok); }
.bar-fill-fail { background: var(--bad); }
.bar-stacked { display: flex; flex-direction: column-reverse; }
.bar-label { font-size: 10px; color: var(--muted); }
.bar-sub { font-size: 9px; color: var(--muted); }
.bar-today .bar-fill { background: var(--accent); box-shadow: 0 0 8px rgba(214,255,63,.3); }
.bar-today .bar-label { color: var(--accent); font-weight: 600; }

/* Dashboard bottom panels */
.dash-bottom { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.dash-panel { padding: 0; overflow: hidden; }
.dash-panel-title { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.dash-list { display: flex; flex-direction: column; }
.dash-list-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.dash-list-item:last-child { border-bottom: none; }
.dash-rank { font: 700 16px var(--mono); color: var(--accent); min-width: 22px; text-align: center; }
.dash-list-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dash-list-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dash-bar-mini { height: 4px; border-radius: 2px; background: var(--bg-2); overflow: hidden; margin: 2px 0; }
.dash-bar-fill { height: 100%; border-radius: 2px; background: var(--accent); }

/* Pulse animation for alerts */
.pulse-btn { animation: pulse-glow 2s ease-in-out infinite; }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(214,255,63,.4); } 50% { box-shadow: 0 0 12px 4px rgba(214,255,63,.2); } }

/* Admin tables & models */
.model-admin { display: flex; flex-direction: column; gap: 14px; }
.model-form { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.model-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--muted); }
.model-form-head, .model-form-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.span-2 { grid-column: span 2; }
details summary { cursor: pointer; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .studio { grid-template-columns: 1fr; }
  .panel { position: static; }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .dash-charts { grid-template-columns: 1fr; }
  .dash-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav-open .nav { display: flex; }
  .how-grid, .pay-grid, .grid-3 { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .dir-search { max-width: none; }
  .pkg-grid { grid-template-columns: 1fr; }
  .model-pick { grid-template-columns: 1fr; }
  .panel, .pay, .auth-card { padding: 18px; }
  .filter input { width: 100%; }
  .stat-grid-4, .stat-grid-5 { grid-template-columns: 1fr 1fr; }
  .admin-head { flex-direction: column; align-items: flex-start; }
  .bar-chart { height: 100px; }
}

/* ===== Studio: galeri pilih model ===== */
.gallery-head { margin-bottom: 16px; }
.gallery-head h1 { font-size: 28px; }
.model-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 28px; }
.model-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.model-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.model-card h3 { margin: 0; font-size: 17px; }
.model-card p { margin: 0; flex: 1; }
.model-card-top, .model-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.model-card-go { color: var(--accent); font-weight: 600; font-size: 13px; }
.chosen-model { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--accent); border-radius: 11px; background: rgba(214,255,63,.06); margin-bottom: 14px; }

/* ===== Pengelompokan model per keluarga ===== */
.family-title { font-size: 18px; margin: 22px 0 10px; display: flex; align-items: baseline; gap: 10px; }
.family-title em { font-style: normal; font-size: 12px; color: var(--muted, #8a8a93); font-weight: 400; }
.family-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip-f { cursor: pointer; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); color: inherit; font: inherit; font-size: 13px; }
.chip-f.on { border-color: var(--accent); background: rgba(214,255,63,.08); color: var(--accent); }

/* ===== Breadcrumb ===== */
.breadcrumb { font-size: 13px; color: var(--muted, #8a8a93); margin: 0 0 10px; }
.breadcrumb a { color: var(--muted, #8a8a93); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb b { color: inherit; font-weight: 600; }

/* ===== Tool / kategori card (Studio level 1 & 2) ===== */
.tool-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: 28px; }
.tool-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.tool-card:not(.tool-card-soon):hover { border-color: var(--accent); transform: translateY(-2px); }
.tool-card-cover { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, rgba(214,255,63,.14), rgba(214,255,63,.03)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tool-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.tool-card-icon { font-size: 44px; }
.tool-card-badge { position: absolute; top: 8px; right: 8px; font-size: 11px; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.55); color: var(--warn, #f2c14e); border: 1px solid rgba(242,193,78,.4); }
.tool-card-body { padding: 14px 16px 16px; }
.tool-card-body h3 { margin: 0 0 4px; font-size: 16px; }
.tool-card-body p { margin: 0; }
.tool-card-soon { cursor: default; opacity: .7; }
.tool-card-soon .tool-card-cover { filter: grayscale(.3); }
