/* ============================================================
   Skin "EmailQu" — terang, minimal, biru
   Hanya tampilan; struktur & fungsi tetap sama.
   ============================================================ */

html[data-skin="bening"] {
  --bg: #eef1f6;
  --bg-2: #f6f8fb;
  --panel: #ffffff;
  --panel-2: #f7f9fc;
  --line: #e4e9f1;
  --line-2: #cfd9e6;
  --text: #0f172a;
  --muted: #64748b;
  --faint: #94a3b8;
  --blue: #2563eb;
  --blue-2: #1d4ed8;
  --green: #16a34a;
  --red: #dc2626;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05);
  color-scheme: light;
}

html[data-skin="bening"] body {
  background: #eef1f6;
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 14px;
  background-image: none;
}
html[data-skin="bening"] #code-bg { display: none; }
html[data-skin="bening"] ::selection { background: rgba(37, 99, 235, .18); }

/* ── Header ─────────────────────────────────────────────── */
html[data-skin="bening"] .top {
  width: min(860px, calc(100% - 32px));
  gap: 12px;
  padding: 16px 0 12px;
  background: transparent;
}
html[data-skin="bening"] .top::after { display: none; }
html[data-skin="bening"] .top.is-stuck::before {
  top: 0;
  height: 100%;
  background: rgba(238, 241, 246, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}
html[data-skin="bening"] .brand { gap: 9px; }
html[data-skin="bening"] .brand__mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 0;
  color: transparent;
  font-size: 0;
  background: #2563eb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2.5'/%3E%3Cpath d='m3.6 6.6 8.4 6.4 8.4-6.4'/%3E%3C/svg%3E") center / 19px 19px no-repeat;
  box-shadow: 0 6px 14px -8px rgba(37, 99, 235, .8);
}
html[data-skin="bening"] .brand__text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: #0f172a;
}
html[data-skin="bening"] .brand__text span { color: #2563eb; font-weight: 700; }
html[data-skin="bening"] .top__nav { display: none; }
html[data-skin="bening"] .btn--wa { display: none; }

html[data-skin="bening"] .icon-btn {
  width: 34px; height: 34px;
  border-radius: 9px;
  border-color: #dfe6f0;
  background: #fff;
  color: #64748b;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
html[data-skin="bening"] .icon-btn:hover { color: #0f172a; border-color: #c9d4e3; }
html[data-skin="bening"] .icon-btn svg { width: 15px; height: 15px; }

/* pemilih tampilan */
html[data-skin="bening"] .skins__btn {
  height: 34px;
  padding: 0 11px;
  border-radius: 9px;
  border-color: #dfe6f0;
  background: #fff;
  color: #64748b;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
html[data-skin="bening"] .skins__btn:hover,
html[data-skin="bening"] .skins__btn[aria-expanded="true"] {
  color: #0f172a;
  border-color: #c9d4e3;
  background: #fff;
}
html[data-skin="bening"] .skins__now { color: #0f172a; }
html[data-skin="bening"] .skins__text { color: #64748b; }
html[data-skin="bening"] .skins__pop {
  background: #fff;
  border-color: #e1e8f2;
  box-shadow: 0 26px 60px -28px rgba(15, 23, 42, .35);
}
html[data-skin="bening"] .skins__title { color: #64748b; }
html[data-skin="bening"] .skin-opt { color: #0f172a; }
html[data-skin="bening"] .skin-opt:hover { background: #f4f7fc; }
html[data-skin="bening"] .skin-opt[aria-pressed="true"] {
  border-color: #bfd3f5;
  background: #f2f7ff;
}
html[data-skin="bening"] .skin-opt__body small { color: #64748b; }
html[data-skin="bening"] .skins__foot { border-color: #edf1f7; color: #94a3b8; }

/* ── Main ───────────────────────────────────────────────── */
html[data-skin="bening"] main {
  width: min(760px, calc(100% - 32px));
  padding-bottom: 26px;
}
html[data-skin="bening"] .hero { display: none; }

html[data-skin="bening"] .card {
  border: 1px solid #e3e9f2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 14px 34px -32px rgba(15, 23, 42, .5);
  padding: 18px;
  margin-bottom: 12px;
}
html[data-skin="bening"] .card::before { display: none; }

/* tab mode */
html[data-skin="bening"] .skin-tabs {
  display: flex;
  gap: 4px;
  width: max-content;
  margin: 0 auto 20px;
  padding: 4px;
  border-radius: 10px;
  background: #edf1f8;
}
html[data-skin="bening"] .skin-tab {
  border: 0;
  border-radius: 7px;
  padding: 7px 18px;
  background: transparent;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
html[data-skin="bening"] .skin-tab:hover { color: #0f172a; }
html[data-skin="bening"] .skin-tab.is-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .14);
}

/* label alamat */
html[data-skin="bening"] .skin-eyebrow {
  display: block;
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #64748b;
}

/* generator */
html[data-skin="bening"] .card--gen { padding: 18px 18px 16px; }

html[data-skin="bening"] .gen-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

/* Form publik sekarang satu mode (buka inbox) — jangan sembunyikan barisnya. */

html[data-skin="bening"] .tf {
  height: 48px;
  padding: 0 12px;
  border: 1px solid #e4eaf3;
  border-radius: 10px;
  background: #f8fafc;
  gap: 8px;
}
html[data-skin="bening"] .tf:focus-within {
  border-color: #b9cdf0;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}
html[data-skin="bening"] .tf__input {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 14.5px;
  color: #0f172a;
}
html[data-skin="bening"] .tf__input::placeholder { font-size: 13.5px; color: #a2adbf; }
html[data-skin="bening"] .tf__lead { color: #94a3b8; }
html[data-skin="bening"] .tf__btn { display: none; }
html[data-skin="bening"] .gen-row--new .tf:first-child::before {
  content: "";
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-right: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.5' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2.5'/%3E%3Cpath d='m3.6 6.6 8.4 6.4 8.4-6.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-skin="bening"] .tf__suffix { border-left-color: #e4eaf3; }
html[data-skin="bening"] .tf__at { color: #94a3b8; font-size: 12px; }
html[data-skin="bening"] .tf__suffix select {
  width: 160px;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  color: #475569;
}
html[data-skin="bening"] .tf__eye { color: #64748b; font-size: 11px; }
html[data-skin="bening"] .tf__eye:hover { color: #2563eb; }

html[data-skin="bening"] .gen-btn {
  height: 46px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  width: 100%;
}
html[data-skin="bening"] .gen-row--check .gen-btn {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  box-shadow: 0 10px 20px -14px rgba(37, 99, 235, .95);
}
html[data-skin="bening"] .gen-row--check .gen-btn:hover { background: #1d4ed8; border-color: #1d4ed8; }
html[data-skin="bening"] .card--gen.mode-check .actions { display: none; }
html[data-skin="bening"] .btn--primary {
  background: #2563eb;
  box-shadow: 0 10px 20px -14px rgba(37, 99, 235, .95);
  color: #fff;
}
html[data-skin="bening"] .btn--primary::after { display: none; }
html[data-skin="bening"] .btn--primary:hover { background: #1d4ed8; filter: none; }

html[data-skin="bening"] .actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
html[data-skin="bening"] .action {
  height: 42px;
  border-radius: 10px;
  border: 1px solid #e1e8f2;
  background: #fff;
  color: #475569;
  font-size: 12.5px;
  font-weight: 500;
}
html[data-skin="bening"] .action:hover {
  color: #0f172a;
  border-color: #c8d5e6;
  background: #f8fafc;
}
html[data-skin="bening"] .action svg { opacity: .6; }
html[data-skin="bening"] .action--danger:hover { color: #dc2626; border-color: #f3c4c4; background: #fff7f7; }

html[data-skin="bening"] .status {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eff3f8;
  color: #64748b;
  font-size: 11.5px;
}
html[data-skin="bening"] .status__dot { background: #c3ccd9; }
html[data-skin="bening"] .status__timer {
  border-color: #e4eaf3;
  background: #f8fafc;
  color: #64748b;
}

/* ── Inbox ──────────────────────────────────────────────── */
html[data-skin="bening"] .card--inbox {
  padding: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
html[data-skin="bening"] .inbox__head {
  padding: 14px 16px 12px;
  border-bottom: 1px solid #eef2f8;
  align-items: center;
}
html[data-skin="bening"] .card__label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-transform: none;
  color: #0f172a;
}
html[data-skin="bening"] .inbox__head > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
html[data-skin="bening"] .inbox__address {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: #475569;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
html[data-skin="bening"] .card--inbox.no-address #address { display: none; }
html[data-skin="bening"] .inbox__meta { gap: 6px; }
html[data-skin="bening"] .chip {
  border-color: #e4eaf3;
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  padding: 3px 9px;
}
html[data-skin="bening"] .inbox__meta .icon-btn {
  width: 30px; height: 30px;
  border-color: #e4eaf3;
  background: #fff;
}
html[data-skin="bening"] .inbox__body {
  border-top: 0;
  margin-top: 0;
  min-height: 190px;
}
html[data-skin="bening"] .empty { padding: 42px 16px; gap: 6px; }
html[data-skin="bening"] .empty__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #f5f8fc;
  border-color: #e8eef7;
  color: #9aa7b8;
  margin-bottom: 8px;
}
html[data-skin="bening"] .empty__title { font-size: 13px; font-weight: 600; color: #334155; }
html[data-skin="bening"] .empty__text { font-size: 12px; color: #94a3b8; }

html[data-skin="bening"] .messages { padding: 6px; gap: 2px; }
html[data-skin="bening"] .msg {
  border-radius: 8px;
  padding: 11px 12px;
  border-color: transparent;
}
html[data-skin="bening"] .msg:hover { background: #f6f9fd; border-color: #eaf0f8; }
html[data-skin="bening"] .msg.is-unread { background: #f2f7ff; }
html[data-skin="bening"] .msg__avatar {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: #eff5ff;
  border-color: #dbe8fb;
  color: #2563eb;
}
html[data-skin="bening"] .msg__from { font-size: 12.5px; color: #0f172a; }
html[data-skin="bening"] .msg__subject { font-size: 12px; color: #475569; }
html[data-skin="bening"] .msg__snippet { font-size: 11px; color: #94a3b8; }
html[data-skin="bening"] .msg__dot { background: #2563eb; }

html[data-skin="bening"] .reader { padding: 16px; }
html[data-skin="bening"] .reader__back {
  border-color: #e4eaf3;
  background: #f8fafc;
  color: #475569;
}
html[data-skin="bening"] .reader__subject { font-size: 15px; color: #0f172a; }
html[data-skin="bening"] .reader__meta { color: #94a3b8; }
html[data-skin="bening"] .reader__frame { border-color: #e4eaf3; border-radius: 10px; }

/* ── Sembunyikan blok marketing, footer minimal ─────────── */
html[data-skin="bening"] .features,
html[data-skin="bening"] .faq { display: none; }

html[data-skin="bening"] .foot {
  width: min(760px, calc(100% - 32px));
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 6px auto 0;
  padding: 20px 0 30px;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 11.5px;
}
html[data-skin="bening"] .foot__left { display: none; }
html[data-skin="bening"] .foot__right { flex-wrap: wrap; justify-content: center; gap: 9px; color: #94a3b8; }
html[data-skin="bening"] .foot__right a { color: #64748b; }
html[data-skin="bening"] .foot__right a:hover { color: #2563eb; }

/* ── Loader ─────────────────────────────────────────────── */
html[data-skin="bening"] .loader {
  background: #eef1f6;
}
html[data-skin="bening"] .loader__mark {
  width: 74px; height: 74px;
  border-radius: 16px;
  background: #fff;
  border-color: #e3e9f2;
  color: #2563eb;
  box-shadow: 0 20px 44px -30px rgba(15, 23, 42, .45);
  animation: none;
}
html[data-skin="bening"] .loader__brand {
  margin-top: 16px;
  font-size: 1rem;
  letter-spacing: .16em;
  background: none;
  -webkit-text-fill-color: #0f172a;
  color: #0f172a;
  font-weight: 700;
}
html[data-skin="bening"] .loader__tag { color: #94a3b8; letter-spacing: .22em; }
html[data-skin="bening"] .loader__bar { background: #dde5f0; }
html[data-skin="bening"] .loader__bar span { background: #2563eb; }
html[data-skin="bening"] .loader__status { color: #94a3b8; }

/* ── Gate & modal ───────────────────────────────────────── */
html[data-skin="bening"] .gate {
  background: #eef1f6;
  background-image: none;
}
html[data-skin="bening"] .gate__card {
  background: #fff;
  border-color: #e3e9f2;
  border-radius: 14px;
  box-shadow: 0 30px 70px -45px rgba(15, 23, 42, .5);
}
html[data-skin="bening"] .gate__icon {
  border-radius: 12px;
  border-color: #dbe8fb;
  background: #eff5ff;
  color: #2563eb;
}
html[data-skin="bening"] .gate__title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.25rem; }
html[data-skin="bening"] .gate__input {
  border-color: #e1e8f2;
  background: #f8fafc;
  border-radius: 10px;
  color: #0f172a;
}
html[data-skin="bening"] .gate__input:focus { border-color: #b9cdf0; box-shadow: 0 0 0 3px rgba(37, 99, 235, .10); }

html[data-skin="bening"] .modal__card {
  background: #fff;
  border-color: #e3e9f2;
  border-radius: 14px;
  box-shadow: 0 40px 90px -50px rgba(15, 23, 42, .55);
}
html[data-skin="bening"] .modal__title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.25rem; }
html[data-skin="bening"] .modal__sub { color: #64748b; }
html[data-skin="bening"] .modal__input {
  background: #f8fafc;
  border-color: #e1e8f2;
  border-radius: 10px;
  color: #0f172a;
}
html[data-skin="bening"] .modal__input:focus { border-color: #b9cdf0; box-shadow: 0 0 0 3px rgba(37, 99, 235, .10); }
html[data-skin="bening"] .modal__x { color: #64748b; }
html[data-skin="bening"] .modal__x:hover { background: #f1f5fa; color: #0f172a; }
html[data-skin="bening"] .modal__backdrop { background: rgba(15, 23, 42, .32); }
html[data-skin="bening"] .pin-row { border-color: #eef2f8; }
html[data-skin="bening"] .modal__foot a { color: #2563eb; }
html[data-skin="bening"] .chip { color: #475569; }

/* ── Toast ──────────────────────────────────────────────── */
html[data-skin="bening"] .toast {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
  border-radius: 10px;
  font-size: 12px;
  box-shadow: 0 16px 40px -18px rgba(15, 23, 42, .55);
}

/* ── Responsif ──────────────────────────────────────────── */
@media (max-width: 860px) {
  html[data-skin="bening"] .top { width: calc(100% - 24px); }
}
@media (max-width: 640px) {
  html[data-skin="bening"] .top {
    width: 100%;
    padding: 12px 14px 8px;
    gap: 8px;
  }
  html[data-skin="bening"] .brand__text { display: inline; font-size: 14px; }
  html[data-skin="bening"] .brand__mark { width: 32px; height: 32px; border-radius: 8px; }
  html[data-skin="bening"] .skins__btn { padding: 0 8px; }
  html[data-skin="bening"] .skins__text { display: none; }
  html[data-skin="bening"] .skins__text + .skins__now::before { content: none; }
  html[data-skin="bening"] main { width: 100%; padding: 4px 12px 20px; }
  html[data-skin="bening"] .card { padding: 14px; border-radius: 12px; }
  html[data-skin="bening"] .skin-tabs { width: 100%; margin-bottom: 16px; }
  html[data-skin="bening"] .skin-tab { flex: 1; padding: 7px 10px; }
  html[data-skin="bening"] .tf { height: 48px; padding: 0 10px; }
  html[data-skin="bening"] .tf__suffix select { width: 150px; font-size: 10.5px; }
  html[data-skin="bening"] .foot { width: 100%; padding: 16px 12px 24px; }
}

/* ── Dokumentasi & admin ────────────────────────────────── */
html[data-skin="bening"] .admin-wrap { width: min(940px, calc(100% - 32px)); }
html[data-skin="bening"] .docs h2,
html[data-skin="bening"] .docs h3,
html[data-skin="bening"] .docsg__title { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; font-weight: 700; }
html[data-skin="bening"] .docs pre { background: #f8fafc; border-color: #e2e9f0; }
html[data-skin="bening"] .docs code { background: #f1f5f9; border: 0; }
html[data-skin="bening"] .docs .verb { background: #eff5ff; color: #2563eb; }
html[data-skin="bening"] .docsg__icon { border-color: #dbe8fb; background: #eff5ff; color: #2563eb; border-radius: 12px; }
html[data-skin="bening"] .docsg__input { border-color: #e1e8f2; background: #f8fafc; color: #0f172a; border-radius: 10px; }
html[data-skin="bening"] .docsg__input:focus { border-color: #b9cdf0; box-shadow: 0 0 0 3px rgba(37, 99, 235, .10); }
html[data-skin="bening"] .note-box { background: #f8fafc; border-color: #cfdae5; color: #475569; }
html[data-skin="bening"] .stats, html[data-skin="bening"] .stat { background: #fff; }

html[data-skin="bening"] .btn--ghost {
  background: #fff;
  border: 1px solid #dbe4ef;
  color: #334155;
  border-radius: 10px;
}
html[data-skin="bening"] .btn--ghost:hover { background: #f8fafc; border-color: #c3d2e3; color: #0f172a; }
html[data-skin="bening"] .section__title { font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -.02em; }

/* jam header */
html[data-skin="bening"] .clock {
  height: 34px;
  padding: 0 11px;
  border-color: #dfe6f0;
  border-radius: 9px;
  background: #fff;
  color: #64748b;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
html[data-skin="bening"] .clock__hm { color: #0f172a; }
html[data-skin="bening"] .clock__zone { color: #94a3b8; }

/* kepala inbox: label, alamat, masa aktif bertumpuk */
html[data-skin="bening"] .inbox__head > div:first-child { display: block; }
html[data-skin="bening"] .inbox__address { margin-top: 2px; }
html[data-skin="bening"] .inbox__life { margin-top: 4px; }

/* pilihan masa aktif */
html[data-skin="bening"] .ttl-select {
  background: #fff;
  border-color: #dfe6f0;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
html[data-skin="bening"] .ttl-row__label { color: #94a3b8; }
html[data-skin="bening"] .ttl-row__note { color: #94a3b8; }
html[data-skin="bening"] .card--gen.mode-check .ttl-row { display: none; }
