/* Warna & font mengikuti tabostore.id (tailwind config "aoshi"). Tema dikontrol class
   .light / .dark di <html>, sama seperti halaman utama. */

:root {
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --brand: #00b2ff;
  --gold: #facc15;
  --ink: #070c1a;
  --navy-1: #0b2e70;
  --navy-2: #164cae;
  --navy-3: #082459;
  --navy-border: #24b3ff;

  --bg: #f1f5f9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --border: #cbd5e1;
  --link: #0369a1;
  --primary: #164cae;
  --primary-text: #ffffff;
  --focus: rgb(0 178 255 / 45%);
  --shadow: 0 1px 2px rgb(15 23 42 / 5%), 0 6px 20px rgb(15 23 42 / 6%);
  --entry-bg: #ffffff;
  --entry-border: rgb(15 23 42 / 10%);
  --input-bg: #ffffff;
  --input-text: #0f172a;

  --hb: #be123c;
  --hb-bg: linear-gradient(135deg, rgb(244 63 94 / 10%), rgb(239 68 68 / 18%));
  --hb-solid: #fff1f2;
  --hb-border: #ff5252;
  --ind: #b45309;
  --ind-bg: linear-gradient(135deg, rgb(245 158 11 / 10%), rgb(234 179 8 / 18%));
  --ind-solid: #fffbeb;
  --ind-border: #f59e0b;
  --ok: #047857;
  --ok-bg: linear-gradient(135deg, rgb(16 185 129 / 10%), rgb(34 197 94 / 16%));
  --ok-solid: #ecfdf5;
  --ok-border: #10b981;
  --none: #075985;
  --none-bg: linear-gradient(135deg, rgb(0 178 255 / 8%), rgb(22 76 174 / 12%));
  --none-border: #38bdf8;

  --radius: 16px;
  color-scheme: light;
}

html.dark {
  --bg: #080e21;
  --surface: #142344;
  --surface-2: #0f1b38;
  --text: #ffffff;
  --muted: #a3b3cf;
  --border: #1245b4;
  --link: #5ccbff;
  --primary: #00b2ff;
  --primary-text: #070c1a;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 30%);
  --entry-bg: rgb(8 14 33 / 55%);
  --entry-border: rgb(255 255 255 / 10%);
  --input-bg: #081634;
  --input-text: #ffffff;

  --hb: #ffb4b4;
  --hb-bg: linear-gradient(135deg, #4d1717, #310e0e);
  --hb-solid: #3a1214;
  --ind: #fde68a;
  --ind-bg: linear-gradient(135deg, #4a3410, #2e200a);
  --ind-solid: #3a2a0c;
  --ok: #a7f3d0;
  --ok-bg: linear-gradient(135deg, #0e3b2c, #082419);
  --ok-solid: #0e3326;
  --none: #bae6fd;
  --none-bg: linear-gradient(135deg, #0f2a5c, #0a1c40);
  --none-border: #24b3ff;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #06b6d4;
  color: #000;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle 600px at 50% -10%, rgb(0 178 255 / 12%) 0%, transparent 75%),
    radial-gradient(circle 400px at 90% 30%, rgb(234 0 255 / 5%) 0%, transparent 70%);
}

html.dark .ambient {
  background-image:
    radial-gradient(circle 700px at 50% 0%, rgb(10 61 171 / 45%) 0%, transparent 80%),
    radial-gradient(circle 400px at 15% 25%, rgb(0 178 255 / 15%) 0%, transparent 70%),
    radial-gradient(circle 500px at 85% 30%, rgb(234 0 255 / 12%) 0%, transparent 70%),
    radial-gradient(circle 600px at 50% 60%, rgb(18 69 180 / 20%) 0%, transparent 80%);
}

a {
  color: var(--link);
}

h1,
h2 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5rem;
}

h1 {
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.2rem;
  font-weight: 800;
}

code,
.mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.05em 0.35em;
  border-radius: 6px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.85rem;
}

.nowrap {
  white-space: nowrap;
}

.pre {
  white-space: pre-wrap;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 1rem 16px 5rem;
}

.wrap-wide {
  max-width: 1120px;
}

/* ---------- Form controls ---------- */

input,
select,
textarea,
button {
  font: inherit;
  color: inherit;
}

input:not([type='radio']):not([type='checkbox']):not([type='file']),
select,
textarea {
  width: 100%;
  background: var(--input-bg);
  color: var(--input-text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  min-height: 46px;
}

::placeholder {
  color: var(--muted);
  opacity: 0.75;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}

label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
}

label > input,
label > textarea,
label > select {
  margin-top: 0.35rem;
  font-weight: 400;
  font-size: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.55rem 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  background: var(--surface-2);
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-text);
}

.btn-primary:hover {
  background: var(--primary);
  filter: brightness(1.1);
}

.btn-gold {
  background: var(--gold);
  border: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 0 24px rgb(250 204 21 / 30%);
}

.btn-gold:hover {
  background: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgb(250 204 21 / 50%);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
}

.btn-danger {
  background: transparent;
  color: var(--hb);
  border-color: var(--hb-border);
}

.btn-danger:hover {
  background: var(--hb-solid);
}

.linklike {
  background: none;
  border: 0;
  padding: 0;
  color: var(--link);
  cursor: pointer;
  text-decoration: underline;
}

/* ---------- Brand ---------- */

.topbar-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 1rem 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
  line-height: 1;
}

.wordmark-sm {
  font-size: 1.1rem;
}

.wm-main {
  color: var(--brand);
  text-shadow: 0 0 24px rgb(0 178 255 / 40%);
}

.wm-tld {
  color: var(--text);
}

.wordmark .muted {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.topbar-link {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
}

.topbar-link:hover {
  color: var(--text);
}

.theme-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: rgb(255 255 255 / 95%);
  border: 2px solid #cbd5e1;
  color: #f59e0b;
  box-shadow: 0 10px 30px rgb(15 23 42 / 18%);
  backdrop-filter: blur(8px);
}

html.dark .theme-toggle {
  background: rgb(20 35 68 / 95%);
  border-color: rgb(6 182 212 / 50%);
  color: #fcd34d;
  box-shadow: 0 10px 30px rgb(0 0 0 / 45%);
}

.theme-toggle .icon-moon,
html.dark .theme-toggle .icon-sun {
  display: none;
}

html.dark .theme-toggle .icon-moon {
  display: block;
}

/* ---------- Publik ---------- */

.hero {
  text-align: center;
  margin: 1.75rem 0 1.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 90%);
  border: 1px solid var(--border);
  color: #0891b2;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
  margin-bottom: 0.75rem;
}

html.dark .pill {
  background: rgb(20 35 68 / 80%);
  color: #67e8f9;
}

.display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2rem, 8vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.display .hl {
  color: var(--brand);
  text-shadow: 0 0 30px rgb(0 178 255 / 40%);
}

.lead {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1rem;
}

.search {
  display: grid;
  grid-template-columns: 1fr 7rem;
  gap: 0.75rem;
  align-items: end;
  padding: 1.1rem;
  border-radius: var(--radius);
  border: 2px solid var(--navy-border);
  background: linear-gradient(to right, var(--navy-1), var(--navy-2), var(--navy-3));
  box-shadow: 0 6px 25px rgb(0 178 255 / 35%);
  color: #fff;
}

.search label {
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.search .opt {
  color: #a5c8ff;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.search input {
  margin-top: 0.35rem;
  font-size: 1.2rem !important;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  border: 1px solid rgb(36 179 255 / 50%) !important;
}

.search input:focus {
  outline-color: var(--gold);
}

.search .btn {
  grid-column: 1 / -1;
  font-size: 1.05rem;
  min-height: 50px;
}

@media (min-width: 560px) {
  .search {
    grid-template-columns: 1fr 8rem auto;
    padding: 1.25rem;
  }

  .search .btn {
    grid-column: auto;
    min-width: 9.5rem;
  }
}

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-stats li {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.hero-stats strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.help {
  margin: 0.75rem auto 0;
  max-width: 34rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.help summary {
  display: inline-block;
  cursor: pointer;
  color: var(--link);
  font-weight: 700;
  list-style: none;
}

.help summary::-webkit-details-marker {
  display: none;
}

.help summary::after {
  content: ' ▾';
}

.help[open] summary::after {
  content: ' ▴';
}

.help p {
  margin: 0.5rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
}

/* Status loading saat form dikirim */
.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2.5px solid rgb(7 12 26 / 25%);
  border-top-color: var(--ink);
  animation: spin 0.7s linear infinite;
}

.search.is-loading .spinner {
  display: inline-block;
}

.search.is-loading .btn {
  pointer-events: none;
  opacity: 0.85;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.howto {
  margin-top: 2rem;
}

.howto h2 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 0.9rem;
}

.howto-steps {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 600px) {
  .howto-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.howto-steps li {
  display: grid;
  gap: 0.15rem;
  align-content: start;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
}

.howto-steps strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}

.howto-steps span:last-child {
  color: var(--muted);
}

.step-n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--brand);
  text-shadow: 0 0 18px rgb(0 178 255 / 35%);
  margin-bottom: 0.3rem;
}

/* HP: nomor langkah di kiri supaya kartu lebih pendek */
@media (max-width: 599px) {
  .howto-steps li {
    grid-template-columns: 2.4rem 1fr;
    column-gap: 0.75rem;
  }

  .step-n {
    grid-row: span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.result {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.result h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 4.5vw, 1.6rem);
  letter-spacing: -0.01em;
}

.result {
  scroll-margin-top: 12px;
}

.result > p {
  margin: 0.25rem 0 0.5rem;
}

.result-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.6rem;
}

.result-icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--entry-bg);
  border: 1px solid var(--entry-border);
}

.result-hb .result-icon {
  animation: pulse-hb 1.6s ease-out 2;
}

@keyframes pulse-hb {
  0% {
    box-shadow: 0 0 0 0 rgb(255 82 82 / 55%);
  }
  100% {
    box-shadow: 0 0 0 14px rgb(255 82 82 / 0%);
  }
}

.result-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.pill-btn svg {
  width: 18px;
  height: 18px;
}

.pill-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--entry-border);
  background: var(--entry-bg);
  color: var(--text);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.pill-btn:hover {
  border-color: var(--brand);
}

.pill-btn.is-done {
  border-color: var(--ok-border);
  color: var(--ok);
}

.result-kicker {
  margin: 0 0 0.15rem !important;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.result-hb {
  background: var(--hb-bg);
  border-color: var(--hb-border);
}

.result-hb h2,
.result-hb .result-kicker,
.result-hb .result-icon {
  color: var(--hb);
}





.result-none {
  background: var(--none-bg);
  border-color: var(--none-border);
}

.result-none h2,
.result-none .result-kicker,
.result-none .result-icon {
  color: var(--none);
}

.result-error {
  background: var(--hb-bg);
  border-color: var(--hb-border);
}

.result-error p {
  margin: 0;
}

.server-note {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: var(--entry-bg);
  border: 1px dashed var(--ind-border);
}

.tips {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.tips li + li {
  margin-top: 0.3rem;
}

.entry {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.85rem 1rem;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--entry-bg);
  border: 1px solid var(--entry-border);
  border-radius: 12px;
}

.entry-field {
  display: grid;
  gap: 0.1rem;
  align-content: start;
  min-width: 0;
}

@media (min-width: 560px) {
  .entry {
    grid-template-columns: 1.3fr 0.8fr 1fr;
  }
}

.entry-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.entry-val {
  font-size: 1.05rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.entry-val.mono {
  font-size: 1.2rem;
}

.entry-val a {
  color: inherit;
  text-decoration-color: var(--muted);
  text-underline-offset: 3px;
}










.badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid transparent;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-hb {
  color: var(--hb);
  background: var(--hb-solid);
  border-color: var(--hb-border);
}



.rekber-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 2px solid var(--navy-border);
  background: linear-gradient(to right, var(--navy-1), var(--navy-2), var(--navy-3));
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgb(0 178 255 / 25%);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rekber-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgb(0 178 255 / 45%);
}

.rekber-text {
  display: grid;
  gap: 0.1rem;
}

.rekber-text strong {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.98rem;
  line-height: 1.25;
}

.rekber-text small {
  color: #c7dcff;
  font-size: 0.82rem;
}

.rekber-arrow {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--ink);
}

.disclaimer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.disclaimer p {
  margin: 0 0 0.5rem;
}

/* ---------- Admin ---------- */

.is-admin {
  --sidebar-bg: linear-gradient(180deg, #0b2e70 0%, #0a245a 45%, #070c1a 100%);
  --sidebar-text: #c3d3f2;
  --sidebar-muted: #7f93bd;
  --panel-head-bg: var(--surface-2);
  --row-hover: rgb(0 178 255 / 6%);
  --tone-red: #ff5252;
  --tone-blue: #00b2ff;
  --tone-purple: #a855f7;
  --tone-gold: #eab308;
  --tone-emerald: #10b981;
}

html.dark .is-admin {
  --sidebar-bg: linear-gradient(180deg, #0c1838 0%, #0a1430 50%, #070c1a 100%);
  --panel-head-bg: rgb(8 14 33 / 35%);
  --row-hover: rgb(0 178 255 / 8%);
}

.admin-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.4rem 1rem 1rem;
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  border-right: 1px solid rgb(36 179 255 / 25%);
}

.sidebar .wm-tld {
  color: #fff;
}

.sidebar-brand {
  display: grid;
  gap: 0.35rem;
  padding: 0 0.5rem;
}

.sidebar-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sidebar-muted);
}

.sidebar-nav {
  display: grid;
  gap: 0.2rem;
  align-content: start;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  color: var(--sidebar-text);
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-item:hover {
  background: rgb(255 255 255 / 7%);
  color: #fff;
}

.nav-item.is-active {
  background: rgb(0 178 255 / 16%);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--brand);
}

.nav-item.is-active .ic {
  color: var(--brand);
}

.nav-sep {
  height: 1px;
  margin: 0.6rem 0.75rem;
  background: rgb(255 255 255 / 10%);
}

.sidebar-foot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem;
  border-radius: 14px;
  background: rgb(255 255 255 / 6%);
}

.avatar {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
}

.sidebar-user {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
  color: #fff;
}

.sidebar .icon-btn {
  color: var(--sidebar-text);
  border-color: transparent;
  background: transparent;
}

.sidebar .icon-btn:hover {
  color: #fff;
  background: rgb(255 255 255 / 10%);
}

.inline {
  display: inline;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}

.icon-btn:hover {
  color: var(--text);
  border-color: var(--brand);
}

.ic {
  flex: none;
}

.admin-main {
  min-width: 0;
  padding: 2rem clamp(16px, 3vw, 2.5rem) 5rem;
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

@media (max-width: 899px) {
  .admin-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    position: sticky;
    z-index: 20;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 0.75rem 16px;
    border-right: 0;
    border-bottom: 1px solid rgb(36 179 255 / 25%);
  }

  .sidebar-brand {
    padding: 0;
    flex: 1;
  }

  .sidebar-tag {
    display: none;
  }

  .sidebar-foot {
    order: 2;
    padding: 0;
    background: none;
  }

  .sidebar-user {
    display: none;
  }

  .avatar {
    width: 30px;
    height: 30px;
  }

  .sidebar-nav {
    order: 3;
    flex-basis: 100%;
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    margin: 0 -16px;
    padding: 0 16px 0.15rem;
    scrollbar-width: none;
  }

  .nav-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.86rem;
    background: rgb(255 255 255 / 6%);
  }

  .nav-item.is-active {
    box-shadow: inset 0 -2px 0 var(--brand);
  }

  .nav-sep {
    display: none;
  }

  .admin-main {
    padding-top: 1.25rem;
  }
}

/* Header halaman */

.page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-header p {
  margin: 0.35rem 0 0;
  max-width: 46rem;
  color: var(--muted);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
}

.crumb:hover {
  color: var(--link);
}

/* Tombol tambahan */

.btn-soft {
  background: var(--surface-2);
  border-color: var(--border);
}

.btn-soft:hover {
  border-color: var(--brand);
  background: var(--surface-2);
}

.btn-sm {
  min-height: 36px;
  padding: 0.35rem 0.8rem;
  font-size: 0.86rem;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Alert */

.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid;
  font-size: 0.95rem;
}

.alert > .ic {
  margin-top: 1px;
}

.alert a {
  color: inherit;
  font-weight: 700;
}

.alert-error {
  background: var(--hb-solid);
  border-color: var(--hb-border);
  color: var(--hb);
}

.alert-ok {
  background: var(--ok-solid);
  border-color: var(--ok-border);
  color: var(--ok);
}

.alert-info {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--muted);
}

.plain {
  margin: 0;
  padding-left: 1.1rem;
}

/* Kartu statistik */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stat-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--tone);
  background: color-mix(in srgb, var(--tone) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent);
}

.tone-red {
  --tone: var(--tone-red);
}

.tone-blue,
.tone-src-manual {
  --tone: var(--tone-blue);
}

.tone-purple,
.tone-src-ansos {
  --tone: var(--tone-purple);
}

.tone-gold {
  --tone: var(--tone-gold);
}

.tone-src-jsn {
  --tone: var(--tone-emerald);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-weight: 700;
  font-size: 0.92rem;
}

.stat-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Panel */

.panel {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-pad {
  padding: 1.25rem;
}

.panel h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.panel-pad h2 {
  margin-bottom: 0.75rem;
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: var(--panel-head-bg);
}

.panel-body {
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.9rem;
}

.panel-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}

.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.25rem;
  align-items: start;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 1100px) {
  .dash-grid,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Pencarian & filter */

.search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

.search-field {
  position: relative;
  flex: 1 1 220px;
  display: flex;
  align-items: center;
}

.search-field .ic {
  position: absolute;
  left: 0.8rem;
  color: var(--muted);
  pointer-events: none;
}

.search-field input {
  padding-left: 2.4rem !important;
}

.search-bar select {
  width: auto;
  flex: 0 1 180px;
}

/* Tabel */

.table-scroll {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.table th {
  text-align: left;
  padding: 0.65rem 1.1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.table td {
  padding: 0.7rem 1.1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tbody tr:hover {
  background: var(--row-hover);
}

.sr-col {
  width: 1%;
}

.id-link {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  text-decoration: none;
}

.id-link:hover {
  color: var(--link);
  text-decoration: underline;
}

.by {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Tombol salin ID */
.copy-btn {
  position: relative;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: 0.35rem;
  vertical-align: middle;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.copy-btn:hover {
  color: var(--text);
  border-color: var(--brand);
}

.copy-btn .ic:last-child,
.copy-btn.is-copied .ic:first-child {
  display: none;
}

.copy-btn.is-copied .ic:last-child {
  display: block;
}

.copy-btn.is-copied {
  color: var(--ok);
  border-color: var(--ok-border);
  background: var(--ok-solid);
}

.page-header h1 .copy-btn {
  width: 34px;
  height: 34px;
  margin-left: 0.5rem;
}

.row-action {
  text-align: right;
}

.row-action .icon-btn {
  width: 32px;
  height: 32px;
}

.pager {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pager-info {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

/* Label sumber */

.src-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
  color: var(--tone, var(--muted));
  background: color-mix(in srgb, var(--tone, var(--muted)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--tone, var(--muted)) 35%, transparent);
}

.src-manual {
  --tone: var(--tone-blue);
}

.src-ansos {
  --tone: var(--tone-purple);
}

.src-jsn {
  --tone: var(--tone-emerald);
}

.src-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 0.5rem;
  border-radius: 999px;
  background: var(--tone, var(--muted));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone, var(--muted)) 20%, transparent);
}

/* Kosong */

.empty-state {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--muted);
}

.empty-state p {
  margin: 0;
}

.empty-state.small {
  padding: 1.75rem 1rem;
  font-size: 0.9rem;
}

/* Peringkat paling sering dicek */

.rank {
  margin: 0;
  padding: 0.5rem 1.1rem 1rem;
  list-style: none;
  counter-reset: rank;
}

.rank li {
  counter-increment: rank;
  display: grid;
  gap: 0.35rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border);
}

.rank li:last-child {
  border-bottom: 0;
}

.rank-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.rank-row::before {
  content: counter(rank);
  width: 1.4rem;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--muted);
}

.rank-n {
  margin-left: auto;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.rank-bar {
  height: 6px;
  margin-left: 1.9rem;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}

.rank-bar span {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--navy-2), var(--brand));
}

/* Form */

.stack {
  display: grid;
  gap: 1rem;
}

.field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

textarea.bulk {
  font-size: 1rem;
  line-height: 1.75;
  min-height: 16rem;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.guide h2 {
  margin-bottom: 1rem;
}

.num-steps {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 0.9rem;
}

.num-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: 0.75rem;
  font-size: 0.92rem;
}

.num-steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--ink);
  background: var(--gold);
}

.num-steps span {
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.summary {
  display: grid;
  gap: 0.6rem;
}

.summary p {
  margin: 0;
}

.summary-detail {
  padding: 0.7rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.summary-detail summary {
  cursor: pointer;
  font-weight: 700;
}

.summary-detail p {
  margin: 0.5rem 0 0;
}

/* Detail data */

.meta {
  display: grid;
  gap: 0.9rem;
  margin: 0;
}

.meta-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.meta .span-all {
  grid-column: 1 / -1;
}

.meta dt {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
}

.note {
  display: flex;
  gap: 0.6rem;
  margin: 1.25rem 0 0;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.88rem;
}

.danger {
  border-color: var(--hb-border);
  background: linear-gradient(180deg, color-mix(in srgb, var(--hb-solid) 60%, var(--surface)), var(--surface));
}

.danger h2 {
  color: var(--hb);
  margin-bottom: 0.35rem;
}

.danger p {
  margin: 0 0 1rem;
}

.break {
  overflow-wrap: anywhere;
}

/* Sumber data */

.source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.source-panel h2 {
  display: flex;
  align-items: center;
}

.source-panel .panel-foot {
  justify-content: flex-start;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid;
}

.status-on {
  color: var(--ok);
  background: var(--ok-solid);
  border-color: var(--ok-border);
}

.status-off {
  color: var(--muted);
  background: var(--surface-2);
  border-color: var(--border);
}

.status-run {
  color: var(--link);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  animation: pulse-dot 1.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  50% {
    opacity: 0.3;
    transform: scale(0.7);
  }
}

.run-line {
  display: grid;
  gap: 0.15rem;
  font-size: 0.9rem;
}

.run-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.run-when {
  font-weight: 700;
}

.text-error {
  color: var(--hb);
}

.text-warn {
  color: var(--ind);
}

/* Login */

.is-auth {
  background:
    radial-gradient(circle 600px at 50% -10%, rgb(0 178 255 / 30%), transparent 70%),
    linear-gradient(180deg, #0b2e70, #070c1a 75%);
  color: #fff;
}

.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.25rem;
  padding: 2rem 16px;
}

.auth-card {
  width: min(400px, 100%);
  padding: 2rem 1.75rem;
  border-radius: 20px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgb(0 0 0 / 35%);
}

.auth-card h1 {
  margin: 1.25rem 0 0.25rem;
  font-size: 1.45rem;
  font-weight: 900;
}

.auth-card > p {
  margin: 0 0 1.25rem;
}

.auth-card .alert {
  margin-bottom: 1rem;
}

.auth-brand {
  display: grid;
  gap: 0.3rem;
}

.auth-brand .sidebar-tag {
  color: var(--muted);
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #c3d3f2;
  font-weight: 600;
  text-decoration: none;
}

.auth-back:hover {
  color: #fff;
}

/* ---------- Admin di HP ---------- */

@media (max-width: 640px) {
  .admin-main {
    gap: 1rem;
    padding-bottom: 6rem;
  }

  .page-header {
    align-items: flex-start;
  }

  .page-header p {
    font-size: 0.9rem;
  }

  .page-actions,
  .page-actions .btn {
    width: 100%;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .stat-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.85rem;
  }

  .stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .stat-icon .ic {
    width: 18px;
    height: 18px;
  }

  .stat-value {
    font-size: 1.45rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .stat-sub {
    font-size: 0.74rem;
  }

  .panel-head {
    padding: 0.8rem;
  }

  .search-field {
    flex-basis: 100%;
  }

  .search-bar select {
    flex: 1 1 auto;
  }

  .panel-foot {
    padding: 0.7rem 0.8rem;
  }

  .panel-foot > .muted {
    flex-basis: 100%;
  }

  .pager {
    width: 100%;
    justify-content: space-between;
  }

  .panel-pad {
    padding: 1rem;
  }

  /* Daftar HB: tiap baris jadi kartu ringkas */
  .table-hb thead {
    display: none;
  }

  .table-hb,
  .table-hb tbody {
    display: block;
  }

  .table-hb tr {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      'id date act'
      'src server act';
    align-items: center;
    gap: 0.35rem 0.6rem;
    padding: 0.75rem 0.8rem;
    border-bottom: 1px solid var(--border);
  }

  /* Seluruh kartu bisa diketuk */
  .table-hb .id-link::after {
    content: '';
    position: absolute;
    inset: 0;
  }

  .table-hb tbody tr:last-child {
    border-bottom: 0;
  }

  .table-hb td {
    padding: 0;
    border: 0;
  }

  .table-hb .c-id {
    grid-area: id;
  }

  .table-hb .c-server {
    grid-area: server;
    font-size: 0.85rem;
  }

  .table-hb .c-server::before {
    content: attr(data-label) ' ';
    font-family: var(--font-body);
  }

  .table-hb .c-src {
    grid-area: src;
  }

  .table-hb .c-date {
    grid-area: date;
    justify-self: end;
    font-size: 0.78rem;
  }

  .table-hb .by {
    display: none;
  }

  .table-hb .c-act {
    grid-area: act;
  }

  .id-link {
    font-size: 1.05rem;
  }

  /* Tabel lain: label + nilai bertumpuk */
  .table-stack thead {
    display: none;
  }

  .table-stack,
  .table-stack tbody,
  .table-stack tr {
    display: block;
  }

  .table-stack tr {
    padding: 0.75rem 0.8rem;
    border-bottom: 1px solid var(--border);
  }

  .table-stack tbody tr:last-child {
    border-bottom: 0;
  }

  .table-stack td {
    display: block;
    position: relative;
    padding: 0.2rem 0 0.2rem 6rem;
    border: 0;
    font-size: 0.88rem;
    white-space: normal;
  }

  .table-stack td[data-label]::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    top: 0.35rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .table-stack .row-action {
    padding-left: 0;
    padding-top: 0.5rem;
    text-align: left;
  }

  .source-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-foot,
  .form-foot .actions,
  .form-foot .btn {
    width: 100%;
  }

  textarea.bulk {
    min-height: 12rem;
  }

  .theme-toggle {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}

/* Sumber Mobax */

.src-mobax,
.tone-src-mobax {
  --tone: var(--tone-gold);
}

/* Peringatan (kuning) */

.alert-warn {
  background: color-mix(in srgb, var(--ind) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--ind) 45%, transparent);
  color: var(--ind);
}

/* Halaman utama: kotak centang, hint kolom, pratinjau strip katalog */

.field-hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
}

.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 700;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--tone-blue);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 13 / 18;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.thumbs span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

/* Daftar sumber kecil di peringkat "dilaporkan banyak sumber" */

.rank-row .src-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.rank-row .src-pill {
  padding: 0.05rem 0.45rem;
  font-size: 0.68rem;
}

.mt-1 {
  margin-top: 1rem;
}

/* Nomor WA pelaku */

.src-panel-lama,
.tone-src-panel-lama {
  --tone: var(--tone-red);
}

.src-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

/* Sumber data: pengaturan per sumber (dilipat) dan pilihan jadwal sinkron */

.source-more {
  border-top: 1px solid var(--border);
}

.source-more > summary {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
}

.source-more[open] > summary {
  color: inherit;
}

.source-settings {
  padding: 0 1.1rem 1rem;
}

.interval-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem;
}

.interval-form select {
  min-width: 9rem;
}

/* Halaman utama: judul kelompok isian di form */

.form-section {
  margin: 0.5rem 0 -0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 1rem;
}

.form-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
