:root {
  --bg: #ffffff;
  --text: #121212;
  --muted: #6f7684;
  --line: #ebedf0;
  --accent: #ffd63f;
  --accent-dark: #f0c400;
  --soft: #f6f7f9;
  --green: #26a65b;
  --red: #e5484d;
  --shadow: 0 20px 45px rgba(18, 18, 18, 0.06);
  --radius: 26px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body { font-family: Inter, system-ui, sans-serif; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
pre { white-space: pre-wrap; word-break: break-word; }
.material-symbols-rounded { font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24; }
.hidden { display: none !important; }
.kicker { color: var(--muted); text-transform: lowercase; letter-spacing: .08em; font-size: 12px; }
.brand, h1, h2, h3, .stat-value, .api-card-title { font-family: Unbounded, Inter, sans-serif; }
.brand { font-size: 24px; }
.topbar {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.top-actions, .hero-actions, .toolbar, .badge-row, .tabbar, .switch-row, .stats-grid, .actions-row { display: flex; gap: 10px; flex-wrap: wrap; }
.page { max-width: 1240px; margin: 0 auto; padding: 18px 20px 80px; }
.hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; padding: 8px 0 28px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(34px, 6vw, 68px); line-height: 1.04; margin: 10px 0 14px; }
.hero p { color: var(--muted); line-height: 1.65; max-width: 820px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.big-card h2, .code-card h2, .dashboard-head h2, .section-head h2 { font-size: clamp(24px, 4vw, 40px); margin: 8px 0 18px; }
.metric-row { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.metric-row:last-child { border-bottom: 0; }
.metric-row span { color: var(--muted); }
.section { padding: 26px 0 0; }
.grid-two { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.info-grid { display: grid; gap: 14px; }
.info-item { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
.info-item span.material-symbols-rounded { width: 42px; height: 42px; border-radius: 999px; background: var(--soft); display: flex; align-items: center; justify-content: center; }
.info-item strong { display: block; margin-bottom: 4px; }
.info-item p, .code-card pre, .muted, .small { color: var(--muted); line-height: 1.6; margin: 0; }
.dashboard-home, .key-page { display: grid; gap: 18px; }
.dashboard-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.keys-grid, .stats-grid, .split-grid { display: grid; gap: 18px; }
.keys-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split-grid { grid-template-columns: 1.05fr .95fr; }
.api-card {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 28px; padding: 20px; text-align: left; box-shadow: var(--shadow);
}
.api-card-top { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.api-card-title { font-size: 20px; margin-top: 6px; }
.api-card-key { margin-top: 14px; color: var(--muted); font-size: 13px; word-break: break-all; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.badge.ok { color: var(--green); background: rgba(38,166,91,.08); border-color: rgba(38,166,91,.14); }
.badge.warn { color: #8b6a00; background: rgba(255,214,63,.18); border-color: rgba(240,196,0,.25); }
.stat-card { border: 1px solid var(--line); border-radius: 26px; padding: 20px; background: #fff; box-shadow: var(--shadow); }
.stat-label { color: var(--muted); font-size: 13px; }
.stat-value { font-size: clamp(22px, 3vw, 36px); margin-top: 8px; }
.btn {
  height: 46px; border-radius: 999px; border: 1px solid transparent; padding: 0 18px; background: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700;
}
.btn.wide { width: 100%; }
.btn-accent { background: var(--accent); color: #151515; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-soft { background: var(--soft); color: var(--text); border-color: var(--line); }
.btn-danger { background: rgba(229,72,77,.12); color: var(--red); border-color: rgba(229,72,77,.15); }
.icon-btn { width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.tab { height: 42px; border-radius: 999px; border: 1px solid var(--line); padding: 0 16px; background: #fff; }
.tab.active { background: var(--soft); }
.tabs { display: flex; gap: 10px; margin: 14px 0 18px; }
.field { display: grid; gap: 7px; }
.field span { color: var(--muted); font-size: 13px; }
.field input, .field textarea, .field select {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 13px 14px; color: var(--text);
}
.auth-form, .form-grid { display: grid; gap: 12px; }
.notice { min-height: 20px; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 14px; }
.modal { position: fixed; inset: 0; z-index: 50; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(18,18,18,.2); backdrop-filter: blur(10px); }
.modal-card {
  position: relative; z-index: 2; width: min(560px, calc(100vw - 24px)); background: #fff; border: 1px solid var(--line);
  border-radius: 30px; box-shadow: var(--shadow); margin: 4vh auto 0; padding: 18px;
}
.modal-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.panel-card { display: grid; gap: 18px; }
.list-card { border: 1px solid var(--line); border-radius: 24px; padding: 18px; background: #fff; }
.rows { display: grid; gap: 12px; }
.row-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.row-item:last-child { border-bottom: 0; }
.row-item span { color: var(--muted); }
.range-switch { display: flex; gap: 8px; flex-wrap: wrap; }
.range-btn { height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.range-btn.active { background: var(--soft); }
textarea.code-output { min-height: 132px; }
.table-mini { display: grid; gap: 10px; }
.table-mini .item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.table-mini .item:last-child { border-bottom: 0; }
.timeline { display: grid; gap: 10px; }
.timeline-bar-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 10px; align-items: center; }
.timeline-bar { width: 100%; height: 12px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.timeline-bar-fill { height: 100%; background: var(--accent); border-radius: inherit; }
@media (max-width: 1080px) {
  .hero, .grid-two, .split-grid, .keys-grid, .stats-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .topbar { flex-direction: column; align-items: start; gap: 14px; }
  .page { padding-inline: 14px; }
  .hero h1 { font-size: clamp(30px, 11vw, 52px); }
}

/* HIDE HERO FINAL */
.hero {
  display: none !important;
}

.hero-side {
  display: none !important;
}

.hero-side.card {
  display: none !important;
}


/* HIDE CARD */
.hero .card,
.hero-side .card {
  display: none !important;
}

