@font-face { font-family: 'Plus Jakarta Sans'; src: url('/assets/fonts/plus-jakarta-sans.woff') format('woff'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Amiri'; src: url('/assets/fonts/amiri-regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
/* Dzikir Pagi · Tholabul Ilmi
   Satu kolom baca yang tenang untuk HP; warna hijau pinus dengan aksen jingga fajar. */
:root {
  --bg: #F3F5F2;
  --surface: #FFFFFF;
  --ink: #16261F;
  --muted: #56655F;
  --line: #DCE3DE;
  --line-soft: #E8EDE9;
  --primary: #1D5A4B;
  --primary-hover: #174A3D;
  --on-primary: #FFFFFF;
  --soft: #E3EEE8;
  --amber: #B4691C;
  --amber-soft: #FBF0E1;
  --amber-line: #E6C9A2;
  --amber-ink: #7A4510;
  --done-bg: #F5FAF7;
  --done-bd: #B7D3C5;
  --toast: #16261F;
  --on-toast: #FFFFFF;
  --font-ui: 'Plus Jakarta Sans', 'Amiri', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-ar: 'Amiri', 'Noto Naskh Arabic', 'Traditional Arabic', 'Times New Roman', serif;
  --ar: 28px;
  --radius: 18px;
  --maxw: 680px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1714; --surface: #16221E; --ink: #E8EFEB; --muted: #A3B3AC; --line: #2A3833; --line-soft: #22302B;
    --primary: #62B79D; --primary-hover: #79C7AE; --on-primary: #08130F; --soft: #1D3129;
    --amber: #E0A15A; --amber-soft: #2B2218; --amber-line: #5A4126; --amber-ink: #F0C38E;
    --done-bg: #13241E; --done-bd: #2F5446; --toast: #E8EFEB; --on-toast: #0E1714;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1714; --surface: #16221E; --ink: #E8EFEB; --muted: #A3B3AC; --line: #2A3833; --line-soft: #22302B;
  --primary: #62B79D; --primary-hover: #79C7AE; --on-primary: #08130F; --soft: #1D3129;
  --amber: #E0A15A; --amber-soft: #2B2218; --amber-line: #5A4126; --amber-ink: #F0C38E;
  --done-bg: #13241E; --done-bd: #2F5446; --toast: #E8EFEB; --on-toast: #0E1714;
  color-scheme: dark;
}
:root[data-size="0"] { --ar: 24px; }
:root[data-size="2"] { --ar: 33px; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-ui); font-size: 16px; line-height: 1.5; }
a { color: var(--primary); }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
button { font: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: 16px; }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 8px; z-index: 60; padding: 10px 14px; background: var(--surface); color: var(--ink); border-radius: 10px; }

/* Bar atas */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; max-width: var(--maxw); margin: 0 auto; padding: 6px 8px 6px 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b { font-size: 16px; font-weight: 800; }
.brand-name span { font-size: 11px; font-weight: 500; color: var(--muted); }
.tools { display: flex; gap: 2px; }
.icon-btn { width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex: none; cursor: pointer; font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none; }
.icon-btn:hover { background: var(--soft); }
.icon-btn small { font-size: 12px; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
.progress { display: flex; align-items: center; gap: 10px; max-width: var(--maxw); margin: 0 auto; padding: 0 16px 10px; }
.progress-track { flex: 1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.progress-fill { height: 100%; width: 0; border-radius: 3px; background: var(--primary); transition: width .35s ease; }
.progress-label { font-size: 12px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Pembuka */
.hero { padding-block: 22px 4px; }
.eyebrow { margin: 0 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--amber-ink); }
h1 { margin: 0; font-size: 30px; line-height: 1.12; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.lead { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 60ch; }
.lead + .lead { margin-top: 8px; }
.resume { margin-top: 16px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.resume p { margin: 0; }
.resume .small { font-size: 12.5px; color: var(--muted); }
.resume .big { margin: 3px 0 12px; font-size: 15px; font-weight: 700; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid transparent; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-soft { background: var(--soft); color: var(--primary); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-row { display: flex; gap: 8px; margin-top: 16px; }
.btn-row > * { flex: 1; }
.btn-col { display: flex; flex-direction: column; gap: 8px; }
.hint { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }

/* Kontrol tampilan */
.controls { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding-block: 18px 10px; }
.controls-label { font-size: 12px; font-weight: 600; color: var(--muted); margin-right: 2px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 13.5px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.chip-toc { margin-left: auto; padding-right: 12px; }
.chip-toc svg { transition: transform .2s; }
.chip-toc[aria-expanded="true"] svg { transform: rotate(180deg); }
.toc { margin: 0 0 12px; padding: 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.toc ol, .list-links ol { list-style: none; margin: 0; padding: 0; }
.toc a, .list-links a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14.5px; }
.toc a:hover, .list-links a:hover { background: var(--soft); }
.n { width: 24px; flex: none; font-size: 12px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.t { flex: 1; min-width: 0; }
.x { font-size: 12px; color: var(--muted); }
.ok { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; }
li.is-done .ok { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

/* Kartu dzikir */
.dzikir-list { display: flex; flex-direction: column; gap: 12px; }
.dzikir { padding: 18px 16px 10px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 112px; transition: background .3s, border-color .3s; }
.dzikir.is-done { background: var(--done-bg); border-color: var(--done-bd); }
.dz-head { display: flex; align-items: flex-start; gap: 12px; }
.dz-num { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--soft); color: var(--primary); font-variant-numeric: tabular-nums; }
.dz-title { flex: 1; min-width: 0; }
.dz-title h2 { margin: 2px 0 0; font-size: 17.5px; line-height: 1.3; font-weight: 700; }
.dz-title h2 a { color: inherit; text-decoration: none; }
.dz-title p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.dz-check { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: none; place-items: center; }
.dzikir.is-done .dz-check { display: grid; }
.seg { display: inline-flex; gap: 4px; margin-top: 12px; padding: 4px; border-radius: 12px; background: var(--bg); }
.seg button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.part { margin-top: 14px; }
.part-label { margin: 0 0 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ar { margin: 0; font-family: var(--font-ar); font-size: var(--ar); line-height: 2.1; text-align: right; direction: rtl; }
.lat { margin: 10px 0 0; font-size: 14.5px; line-height: 1.6; font-style: italic; color: var(--muted); }
.arti { margin: 8px 0 0; font-size: 15.5px; line-height: 1.6; }
:root.hide-latin .lat { display: none; }
:root.hide-arti .arti { display: none; }
.virtue { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--amber-soft); }
.virtue p { margin: 0; font-size: 14px; line-height: 1.55; }
.virtue strong { color: var(--amber-ink); }
.virtue .src { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--soft); color: var(--primary); border: 1px solid var(--soft); font-size: 12px; font-weight: 700; line-height: 1.5; }
.badge.is-contested { background: var(--surface); color: var(--amber-ink); border-color: var(--amber); }
.counter-row { display: flex; gap: 8px; margin-top: 14px; }
.counter { position: relative; overflow: hidden; flex: 1; min-height: 56px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; }
.counter:active { transform: scale(.985); }
.counter-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--soft); transition: width .25s ease; }
.counter-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; font-weight: 700; }
.counter-label { display: flex; align-items: center; gap: 8px; }
.counter-count { flex: none; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.counter-label { text-align: left; }
.counter .i-check { display: none; }
.is-done .counter { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.is-done .counter .i-check { display: inline-block; }
.is-done .counter-fill { width: 0 !important; }
.reset { flex: none; width: 56px; min-height: 56px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--primary); text-decoration: none; }

/* Penutup dan tautan lanjutan */
.closing { margin-top: 12px; padding: 22px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 112px; }
.closing h2 { margin: 6px 0 0; font-size: 21px; line-height: 1.3; font-weight: 800; text-wrap: balance; }
.closing p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; }
.closing .when-done { display: none; }
.closing.is-complete { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.closing.is-complete .when-done { display: block; }
.closing.is-complete .when-open { display: none; }
.closing .eyebrow-plain { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.closing.is-complete .eyebrow-plain { color: inherit; }
.closing .when-open p { color: var(--muted); }
.closing .btn-col { margin-top: 16px; }
.closing.is-complete .btn-light { background: var(--surface); color: var(--primary); }
.closing.is-complete .btn-ghost { background: transparent; border: 1.5px solid var(--on-primary); color: var(--on-primary); }
.next-title { margin: 22px 4px 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.next-links { display: flex; flex-direction: column; gap: 8px; }
.link-card { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.link-card:hover { border-color: var(--primary); }
.link-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--primary); }
.link-ic.amber { background: var(--amber-soft); color: var(--amber-ink); }
.link-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.link-txt b { font-size: 15px; }
.link-txt span { font-size: 12.5px; color: var(--muted); }
.link-go { flex: none; color: var(--muted); }

/* Bagian isi */
.section { padding-block: 30px 4px; }
.section > h2 { margin: 0; font-size: 21px; line-height: 1.3; font-weight: 800; text-wrap: balance; }
.section > p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.65; }
.ayah { margin: 12px 0 0; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.ayah .ar { font-size: 23px; line-height: 2; }
.ayah p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; }
.ayah figcaption { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.prose p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.7; max-width: 65ch; }
.prose ul { margin: 10px 0 0; padding-left: 20px; font-size: 15.5px; line-height: 1.7; }
.note { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; }
.note b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.table-wrap { margin-top: 12px; overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 13.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.theme-group { margin-top: 18px; }
.theme-group h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.theme-group ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.theme-group li a { display: block; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.theme-group li a:hover { border-color: var(--primary); }
.theme-group li b { display: block; font-size: 15px; }
.theme-group li span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* Halaman dzikir */
.crumbs { padding-top: 14px; font-size: 12.5px; color: var(--muted); }
.crumbs a { font-weight: 600; text-decoration: none; }
.detail-meta { margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.detail .dzikir { margin-top: 16px; }
.virtue-full { margin-top: 14px; padding: 16px; border-radius: 16px; background: var(--amber-soft); }
.virtue-full .eyebrow { margin-bottom: 4px; }
.virtue-full p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.65; }
.virtue-full .takhrij { font-size: 13px; color: var(--muted); }
.session-cta { margin-top: 22px; }
.pager { position: sticky; bottom: 0; z-index: 20; margin-top: 28px; background: var(--surface); border-top: 1px solid var(--line); }
.pager-in { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 8px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
.pager a { flex: 1; min-width: 0; min-height: 54px; padding: 6px 12px; border-radius: 14px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; color: var(--ink); text-decoration: none; }
.pager a small { font-size: 11.5px; color: var(--muted); }
.pager a b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pager a.next { background: var(--primary); border-color: var(--primary); color: var(--on-primary); align-items: flex-end; text-align: right; }
.pager a.next small { color: inherit; opacity: .85; }
.list-links { margin-top: 10px; padding: 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.list-links li.is-current a { background: var(--soft); font-weight: 700; }

/* Kaki halaman */
.site-footer { margin-top: 36px; border-top: 1px solid var(--line); padding-block: 22px 40px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.site-footer p { margin: 0 0 6px; }
.site-footer strong { color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 36px; font-weight: 700; text-decoration: none; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 70; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 14px; background: var(--toast); color: var(--on-toast); font-size: 14px; font-weight: 600; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }

/* Mode Sesi */
.sesi-body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.sesi-top { flex: none; position: sticky; top: 0; z-index: 20; background: var(--bg); padding-top: env(safe-area-inset-top, 0px); }
.sesi-top-row { max-width: 600px; margin: 0 auto; display: flex; align-items: center; gap: 4px; padding: 6px 8px 0; }
.sesi-pos { flex: 1; margin: 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.segs { max-width: 600px; margin: 0 auto; display: flex; gap: 3px; padding: 10px 16px 12px; }
.segs span { flex: 1; height: 5px; border-radius: 3px; background: var(--line); transition: background .3s; }
.segs span.is-done { background: var(--primary); }
.segs span.is-current { background: var(--amber); }
.segs span.is-current.is-done { background: var(--primary); }
.sesi-main { flex: 1; width: 100%; max-width: 600px; margin: 0 auto; padding: 0 16px 16px; }
.sesi-main h1 { font-size: 23px; line-height: 1.25; }
.sesi-card { display: block; width: 100%; margin-top: 14px; padding: 18px 16px 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: background .3s, border-color .3s; }
.sesi-card.is-done { background: var(--done-bg); border-color: var(--done-bd); }
.sesi-card .part:first-child { margin-top: 0; }
.sesi-card .part, .sesi-card .part-label, .sesi-card .ar, .sesi-card .lat, .sesi-card .arti { display: block; }
.tap-hint { display: block; margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 12.5px; font-weight: 600; color: var(--muted); text-align: center; }
.sesi-panel { flex: none; position: sticky; bottom: 0; z-index: 20; background: var(--surface); border-top: 1px solid var(--line); }
.sesi-panel-in { max-width: 600px; margin: 0 auto; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
.ring-row { display: flex; align-items: center; gap: 14px; }
.ring { position: relative; flex: none; width: 78px; height: 78px; padding: 0; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ring svg.track { position: absolute; inset: 0; }
.ring .ring-bg { fill: var(--surface); stroke: var(--line); }
.ring .ring-fg { fill: none; stroke: var(--primary); transition: stroke-dasharray .25s ease; }
.ring.is-done .ring-bg { fill: var(--primary); }
.ring-num { position: relative; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); }
.ring-num small { font-size: 12px; color: var(--muted); }
.ring .i-check { position: relative; display: none; color: var(--on-primary); }
.ring.is-done .i-check { display: block; }
.ring.is-done .ring-num { display: none; }
.status b { display: block; font-size: 15.5px; }
.status span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.nav-row { display: flex; gap: 8px; margin-top: 12px; }
.nav-prev { flex: none; width: 54px; min-height: 54px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.nav-prev:disabled { color: var(--line); cursor: default; }
.nav-next { flex: 1; min-width: 0; min-height: 54px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14.5px; font-weight: 700; cursor: pointer; transition: background .25s; }
.nav-next span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-next.is-ready { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.switch-row { margin-top: 6px; width: 100%; min-height: 44px; padding: 0 2px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; background: transparent; color: var(--muted); font-size: 13px; text-align: left; cursor: pointer; }
.switch { flex: none; position: relative; width: 42px; height: 26px; border-radius: 13px; background: var(--line); transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; transition: left .2s; }
.switch-row[aria-pressed="true"] .switch { background: var(--primary); }
.switch-row[aria-pressed="true"] .switch::after { left: 19px; }
.sesi-done { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 8px 20px 32px; }
.done-head { margin-top: 18px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.done-icon { width: 92px; height: 92px; border-radius: 50%; background: var(--soft); color: var(--primary); display: grid; place-items: center; }
.done-head .eyebrow { margin: 18px 0 0; }
.done-head h1 { margin-top: 6px; font-size: 26px; line-height: 1.2; }
.done-head p { margin: 8px 0 0; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.stat { padding: 12px 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.stat b { display: block; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.reminder-card { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--amber-soft); }
.reminder-card p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; }
.reminder-card .eyebrow { margin: 0; }
.reminder-card small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }

@media (max-width: 560px) {
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; }
  .table-wrap table { min-width: 0; }
  .table-wrap thead { position: absolute; left: -9999px; }
  .table-wrap tr { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
  .table-wrap tr:last-child { border-bottom: 0; }
  .table-wrap td { padding: 1px 0; border: 0; font-size: 14px; }
  .table-wrap td:nth-child(1) { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-ink); }
  .table-wrap td:nth-child(2) { font-size: 15px; font-weight: 700; }
  .table-wrap td:nth-child(3) { color: var(--muted); }
}
@media (min-width: 720px) {
  h1 { font-size: 36px; }
  .hero { padding-top: 36px; }
  .dzikir { padding: 22px 22px 12px; }
}
