:root{
  color-scheme: light dark;
  --bg: light-dark(#f6f4ee, #0d1120);
  --surface: light-dark(#ffffff, #151b2e);
  --surface-2: light-dark(#f1eee6, #1b2238);
  --surface-3: light-dark(#e5e0d4, #263050);
  --text: light-dark(#17192b, #e9ecf8);
  --muted: light-dark(#5f6883, #9ea8c9);
  --line: light-dark(#e2ded3, #28314d);
  --brand: light-dark(#2457f5, #7f9cff);
  --brand-hover: light-dark(#1a44cc, #9db3ff);
  --brand-deep: light-dark(#101a4a, #0a0f27);
  --brand-ink: light-dark(#ffffff, #0b1020);
  --brand-soft: light-dark(#e7edff, #1c2a5e);
  --brand-line: light-dark(#b7c6ff, #3d519c);
  --gold: light-dark(#f5a524, #ffc14d);
  --gold-soft: light-dark(#fff3d6, #3a2c0b);
  --gold-ink: light-dark(#7a4c00, #ffe2a3);
  --lime: #c9f54a;
  --ok: light-dark(#13945f, #4ade9d);
  --ok-soft: light-dark(#def7ea, #0f2f22);
  --danger: light-dark(#d9304f, #ff8ba0);
  --danger-soft: light-dark(#ffe4e9, #3b1520);
  --violet: light-dark(#7c3aed, #b08cff);
  --teal: light-dark(#0f8f84, #4fd1c5);
  --shadow: light-dark(0 1px 2px rgb(23 25 43 / .06), 0 1px 2px rgb(0 0 0 / .45));
  --shadow-lg: light-dark(0 24px 50px -22px rgb(36 87 245 / .32), 0 24px 50px -22px rgb(0 0 0 / .8));
  --r: 18px;
  --r-sm: 12px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head: "Sora", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 64px;
  --acc: var(--brand);
}
:root[data-theme="light"]{ color-scheme: light; }
:root[data-theme="dark"]{ color-scheme: dark; }
@supports not (color: light-dark(#000, #fff)){
  :root{ --bg:#f6f4ee; --surface:#fff; --surface-2:#f1eee6; --surface-3:#e5e0d4; --text:#17192b; --muted:#5f6883; --line:#e2ded3; --brand:#2457f5; --brand-hover:#1a44cc; --brand-deep:#101a4a; --brand-ink:#fff; --brand-soft:#e7edff; --brand-line:#b7c6ff; --gold:#f5a524; --gold-soft:#fff3d6; --gold-ink:#7a4c00; --ok:#13945f; --ok-soft:#def7ea; --danger:#d9304f; --danger-soft:#ffe4e9; --violet:#7c3aed; --teal:#0f8f84; --shadow:0 1px 2px rgb(23 25 43 / .06); --shadow-lg:0 24px 50px -22px rgb(36 87 245 / .32); }
  @media (prefers-color-scheme: dark){
    :root:not([data-theme="light"]){ --bg:#0d1120; --surface:#151b2e; --surface-2:#1b2238; --surface-3:#263050; --text:#e9ecf8; --muted:#9ea8c9; --line:#28314d; --brand:#7f9cff; --brand-hover:#9db3ff; --brand-deep:#0a0f27; --brand-ink:#0b1020; --brand-soft:#1c2a5e; --brand-line:#3d519c; --gold:#ffc14d; --gold-soft:#3a2c0b; --gold-ink:#ffe2a3; --ok:#4ade9d; --ok-soft:#0f2f22; --danger:#ff8ba0; --danger-soft:#3b1520; --violet:#b08cff; --teal:#4fd1c5; --shadow:0 1px 2px rgb(0 0 0 / .45); --shadow-lg:0 24px 50px -22px rgb(0 0 0 / .8); }
  }
  :root[data-theme="dark"]{ --bg:#0d1120; --surface:#151b2e; --surface-2:#1b2238; --surface-3:#263050; --text:#e9ecf8; --muted:#9ea8c9; --line:#28314d; --brand:#7f9cff; --brand-hover:#9db3ff; --brand-deep:#0a0f27; --brand-ink:#0b1020; --brand-soft:#1c2a5e; --brand-line:#3d519c; --gold:#ffc14d; --gold-soft:#3a2c0b; --gold-ink:#ffe2a3; --ok:#4ade9d; --ok-soft:#0f2f22; --danger:#ff8ba0; --danger-soft:#3b1520; --violet:#b08cff; --teal:#4fd1c5; --shadow:0 1px 2px rgb(0 0 0 / .45); --shadow-lg:0 24px 50px -22px rgb(0 0 0 / .8); }
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{ margin:0; font-family:var(--font); font-size:16px; line-height:1.6; color:var(--text); background:var(--bg); overflow-x:hidden; -webkit-font-smoothing:antialiased; }
body.lock{ overflow:hidden; }
h1,h2,h3,h4{ font-family:var(--head); line-height:1.15; margin:0 0 .5em; letter-spacing:-.015em; }
p{ margin:0 0 1em; }
a{ color:var(--brand); }
img,svg{ max-width:100%; }
button,input,select,textarea{ font:inherit; color:inherit; }
[hidden]{ display:none !important; }
.icon{ width:20px; height:20px; flex:none; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.icon.sm{ width:16px; height:16px; }
.icon.lg{ width:26px; height:26px; }
:focus-visible{ outline:3px solid var(--gold); outline-offset:2px; border-radius:6px; }
.sr-only{ position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.skip{ position:absolute; left:-999px; top:8px; z-index:200; background:var(--brand); color:var(--brand-ink); padding:.6rem 1rem; border-radius:8px; }
.skip:focus{ left:8px; }
.wrap{ width:100%; max-width:1180px; margin:0 auto; padding:0 20px; }
.num{ font-variant-numeric:tabular-nums; }
@media (max-width: 480px){ .wrap{ padding:0 16px; } }

/* Buttons & chips */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:.5rem; min-height:44px; padding:.6rem 1.1rem; border-radius:999px; border:1.5px solid var(--line); font-weight:700; font-size:.95rem; text-decoration:none; cursor:pointer; background:var(--surface); color:var(--text); transition:background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s; -webkit-tap-highlight-color:transparent; }
.btn:hover{ border-color:var(--brand-line); }
.btn:active{ transform:scale(.98); }
.btn-primary{ background:linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 72%, var(--violet))); color:var(--brand-ink); border-color:transparent; box-shadow:0 10px 24px -12px var(--brand); }
.btn-primary:hover{ background:var(--brand-hover); border-color:var(--brand-hover); color:#fff; }
.btn-gold{ background:var(--gold); color:#2b1d00; border-color:var(--gold); }
.btn-gold:hover{ filter:brightness(1.05); border-color:var(--gold); }
.btn-ok{ background:var(--ok); color:#fff; border-color:var(--ok); }
.btn-ghost{ background:transparent; border-color:transparent; }
.btn-ghost:hover{ background:var(--surface-2); border-color:transparent; }
.btn-lg{ min-height:52px; padding:.8rem 1.6rem; font-size:1.02rem; }
.btn-sm{ min-height:36px; padding:.3rem .8rem; font-size:.85rem; }
.btn-block{ width:100%; }
.btn:disabled{ opacity:.5; cursor:not-allowed; transform:none; }
.btn-icon{ width:44px; padding:0; }
.link-btn{ background:none; border:0; padding:.4rem .2rem; min-height:44px; color:var(--muted); font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:.4rem; text-decoration:underline; text-underline-offset:3px; }
.link-btn:hover{ color:var(--danger); }
.chip{ display:inline-flex; align-items:center; gap:.35rem; font-size:.78rem; font-weight:700; padding:.2rem .6rem; border-radius:999px; background:var(--brand-soft); color:var(--brand); letter-spacing:.01em; }
.chip.gold{ background:var(--gold-soft); color:var(--gold-ink); }
.chip.ok{ background:var(--ok-soft); color:var(--ok); }
.chip.unit{ background:var(--surface-2); color:var(--text); }
.chip.violet{ background:color-mix(in srgb, var(--violet) 15%, transparent); color:var(--violet); }
.eyebrow{ display:inline-flex; align-items:center; gap:.5rem; font-size:.78rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--brand); margin-bottom:.75rem; }
.eyebrow::before{ content:""; width:10px; height:10px; border-radius:50%; background:var(--lime); box-shadow:0 0 0 3px color-mix(in srgb, var(--lime) 35%, transparent); }
.badge{ font-size:.72rem; font-weight:800; padding:.18rem .55rem; border-radius:999px; text-transform:uppercase; letter-spacing:.05em; white-space:nowrap; display:inline-flex; align-items:center; gap:.3rem; }
.badge.pass{ background:var(--ok-soft); color:var(--ok); }
.badge.fail{ background:var(--danger-soft); color:var(--danger); }
.badge.mute{ background:var(--surface-3); color:var(--muted); }
kbd{ font-family:inherit; font-size:.78rem; font-weight:700; padding:.1rem .4rem; border-radius:6px; border:1px solid var(--line); border-bottom-width:2px; background:var(--surface-2); white-space:nowrap; }

/* Nav */
.nav{ position:sticky; top:0; z-index:40; background:color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter:saturate(1.4) blur(12px); -webkit-backdrop-filter:saturate(1.4) blur(12px); border-bottom:1px solid var(--line); }
.nav .wrap{ display:flex; align-items:center; gap:1rem; height:var(--nav-h); }
.brand{ display:inline-flex; align-items:center; gap:.6rem; text-decoration:none; color:var(--text); font-weight:800; font-size:1.12rem; letter-spacing:-.02em; min-height:44px; font-family:var(--head); }
.brand b{ color:var(--brand); font-weight:800; }
.logo{ width:34px; height:34px; flex:none; }
.nav-links{ display:flex; gap:.25rem; margin-left:auto; list-style:none; padding:0; margin-top:0; margin-bottom:0; }
.nav-links a{ display:inline-flex; align-items:center; min-height:44px; padding:0 .8rem; border-radius:10px; text-decoration:none; color:var(--text); font-weight:600; font-size:.95rem; }
.nav-links a:hover{ background:var(--surface-2); color:var(--brand); }
.nav-actions{ display:flex; align-items:center; gap:.4rem; }
.menu-btn{ display:none; }
@media (max-width: 860px){
  .menu-btn{ display:inline-flex; }
  .nav-links{ position:absolute; left:0; right:0; top:var(--nav-h); flex-direction:column; gap:0; padding:.5rem 12px 1rem; background:var(--surface); border-bottom:1px solid var(--line); box-shadow:var(--shadow-lg); display:none; margin:0; }
  .nav-links.open{ display:flex; }
  .nav-links a{ min-height:48px; font-size:1.02rem; }
  .nav-actions{ margin-left:auto; }
  .nav-cta{ display:none !important; }
}

/* Hero */
.hero{ position:relative; overflow:hidden; padding:72px 0 64px; background:
  radial-gradient(560px 400px at 90% 12%, color-mix(in srgb, var(--brand) 20%, transparent), transparent 70%),
  radial-gradient(420px 320px at 72% 95%, color-mix(in srgb, var(--lime) 28%, transparent), transparent 70%),
  radial-gradient(520px 380px at 4% 10%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 70%),
  var(--bg); }
.hero::before{ content:""; position:absolute; inset:0; background-image:linear-gradient(color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px); background-size:48px 48px; -webkit-mask-image:radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); mask-image:radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); pointer-events:none; }
.hero::after{ content:""; position:absolute; inset:auto 0 0 0; height:120px; background:linear-gradient(180deg, transparent, var(--bg)); pointer-events:none; }
.hero .wrap{ position:relative; z-index:1; }
.hero .hero-grid{ display:grid; grid-template-columns: minmax(0,1.02fr) minmax(0,1fr); gap:48px; align-items:center; }
.hero h1{ font-size:clamp(2.1rem, 4.8vw, 3.5rem); font-weight:800; letter-spacing:-.03em; margin-bottom:.4em; }
.hero h1 em{ font-style:normal; color:var(--brand); position:relative; white-space:nowrap; }
.hero h1 em::after{ content:""; position:absolute; left:-.05em; right:-.05em; bottom:.04em; height:.3em; background:var(--lime); opacity:.85; z-index:-1; border-radius:3px; }
.hero .lead{ font-size:1.12rem; color:var(--muted); max-width:36em; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:.75rem; margin:1.5rem 0 1.75rem; }
.hero-stats{ display:flex; flex-wrap:wrap; gap:1rem 2rem; padding:0; margin:0; list-style:none; }
.hero-stats li{ display:flex; flex-direction:column; }
.hero-stats strong{ font-size:1.7rem; font-weight:800; line-height:1.1; color:var(--text); font-family:var(--head); }
.hero-stats span{ font-size:.85rem; color:var(--muted); }
.hero-pills{ display:flex; flex-wrap:wrap; gap:.4rem; margin-top:1.25rem; }
.hero-pills span{ display:inline-flex; align-items:center; gap:.35rem; font-size:.8rem; font-weight:700; padding:.25rem .65rem; border-radius:999px; background:var(--surface); border:1px solid var(--line); color:var(--muted); }
.hero-pills span b{ color:var(--text); }
@media (max-width: 900px){ .hero .hero-grid{ grid-template-columns:1fr; gap:36px; } .hero{ padding:40px 0 48px; } }

/* CAT mockup */
.preview{ position:relative; border-radius:20px; background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow-lg); overflow:hidden; font-size:.82rem; animation:rise .8s cubic-bezier(.2,.7,.2,1) both; }
.preview .pv-badge{ position:absolute; right:-6px; top:58px; transform:rotate(6deg); background:var(--lime); color:#1d2a00; font-weight:800; font-size:.72rem; padding:.3rem .7rem; border-radius:999px; box-shadow:var(--shadow); animation:float 4s ease-in-out infinite; }
@keyframes rise{ from{ opacity:0; transform:translateY(18px); } to{ opacity:1; transform:none; } }
@keyframes float{ 0%,100%{ transform:rotate(6deg) translateY(0); } 50%{ transform:rotate(6deg) translateY(-6px); } }
.pv-head{ display:flex; align-items:center; gap:.6rem; padding:.65rem .9rem; background:var(--brand-deep); color:#eef2ff; }
.pv-dots{ display:flex; gap:5px; }
.pv-dots i{ width:9px; height:9px; border-radius:50%; background:#ffffff40; display:block; }
.pv-title{ font-weight:700; flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pv-timer{ display:inline-flex; align-items:center; gap:.35rem; background:#ffffff1a; padding:.15rem .55rem; border-radius:7px; font-weight:700; font-variant-numeric:tabular-nums; }
.pv-prog{ height:4px; background:var(--surface-3); }
.pv-prog i{ display:block; height:100%; width:35%; background:linear-gradient(90deg, var(--brand), var(--lime)); transition:width .6s ease; }
.pv-body{ display:grid; grid-template-columns:minmax(0,1fr) 128px; }
.pv-q{ padding:1rem 1rem 1.1rem; border-right:1px solid var(--line); }
.pv-meta{ display:flex; justify-content:space-between; color:var(--muted); font-weight:600; margin-bottom:.5rem; font-size:.76rem; }
.pv-text{ font-weight:600; margin-bottom:.7rem; line-height:1.45; min-height:2.9em; }
.pv-opt{ display:flex; align-items:center; gap:.5rem; padding:.38rem .5rem; border:1px solid var(--line); border-radius:9px; margin-bottom:.35rem; transition:border-color .3s, background .3s; }
.pv-opt b{ width:22px; height:22px; flex:none; border-radius:6px; display:grid; place-items:center; background:var(--surface-2); font-size:.72rem; transition:background .3s, color .3s; }
.pv-opt.on{ border-color:var(--brand); background:var(--brand-soft); }
.pv-opt.on b{ background:var(--brand); color:var(--brand-ink); }
.pv-opt span{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pv-side{ padding:.8rem .7rem; background:var(--surface-2); }
.pv-side small{ display:block; font-weight:700; color:var(--muted); margin-bottom:.45rem; font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; }
.pv-grid{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:4px; }
.pv-grid i{ aspect-ratio:1; border-radius:4px; background:var(--surface); border:1px solid var(--line); display:grid; place-items:center; font-style:normal; font-size:.6rem; font-weight:700; color:var(--muted); transition:background .3s, color .3s; }
.pv-grid i.d{ background:var(--brand); border-color:var(--brand); color:var(--brand-ink); }
.pv-grid i.r{ background:var(--gold); border-color:var(--gold); color:#2b1d00; }
.pv-grid i.a{ outline:2px solid var(--text); outline-offset:1px; }
.pv-foot{ display:flex; gap:.4rem; padding:.6rem 1rem; border-top:1px solid var(--line); }
.pv-foot span{ flex:1; text-align:center; padding:.35rem; border-radius:8px; background:var(--surface-2); font-weight:700; font-size:.72rem; }
.pv-foot span.g{ background:var(--gold-soft); color:var(--gold-ink); }
.pv-foot span.p{ background:var(--brand); color:var(--brand-ink); }
@media (max-width: 420px){ .pv-body{ grid-template-columns:minmax(0,1fr) 92px; } .pv-side{ padding:.7rem .45rem; } .pv-grid{ gap:2px; } .pv-grid i{ font-size:.5rem; border-radius:3px; } .preview .pv-badge{ display:none; } }

/* Type strip */
.tipe-strip{ position:relative; z-index:1; display:grid; grid-template-columns:repeat(7, minmax(0,1fr)); gap:10px; margin-top:40px; }
.ts{ display:flex; flex-direction:column; gap:.2rem; padding:.75rem .85rem; border-radius:14px; background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow); min-width:0; }
.ts .ts-ic{ width:30px; height:30px; border-radius:9px; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand); margin-bottom:.2rem; }
.ts b{ font-size:.86rem; line-height:1.25; }
.ts small{ color:var(--muted); font-weight:600; font-size:.76rem; }
.ts.new .ts-ic{ background:var(--gold-soft); color:var(--gold-ink); }
.ts .chip{ align-self:flex-start; font-size:.62rem; padding:.05rem .4rem; margin-top:.15rem; }
@media (max-width: 1000px){ .tipe-strip{ grid-template-columns:repeat(4, minmax(0,1fr)); } }
@media (max-width: 560px){ .tipe-strip{ grid-template-columns:repeat(2, minmax(0,1fr)); } }

/* Sections */
section.block{ padding:72px 0; scroll-margin-top:var(--nav-h); }
section.block.alt{ background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.sec-head{ max-width:46rem; margin-bottom:2rem; }
.sec-head h2{ font-size:clamp(1.6rem, 3vw, 2.25rem); font-weight:800; }
.sec-head p{ color:var(--muted); font-size:1.05rem; margin:0; }
@media (max-width: 600px){ section.block{ padding:52px 0; } }

/* Resume + history */
.notice{ display:flex; flex-wrap:wrap; align-items:center; gap:1rem; padding:1rem 1.15rem; border-radius:var(--r); border:1.5px solid var(--gold); background:var(--gold-soft); margin-bottom:1.5rem; }
.notice .txt{ flex:1 1 240px; min-width:0; }
.notice strong{ display:block; }
.notice span{ color:var(--muted); font-size:.92rem; }
.notice .acts{ display:flex; flex-wrap:wrap; gap:.5rem; }
.hist{ border:1px solid var(--line); border-radius:var(--r); background:var(--surface); padding:1.1rem 1.25rem; margin-bottom:1.5rem; display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:1rem 2rem; }
.hist-top{ display:flex; flex-wrap:wrap; align-items:center; gap:.75rem; justify-content:space-between; margin-bottom:.5rem; grid-column:1 / -1; }
.hist-top h3{ margin:0; font-size:1.05rem; }
.streak{ display:inline-flex; align-items:center; gap:.4rem; font-weight:800; color:var(--gold-ink); background:var(--gold-soft); padding:.3rem .75rem; border-radius:999px; font-size:.88rem; }
.hist ol{ list-style:none; margin:0; padding:0; }
.hist li{ display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:.25rem 1rem; align-items:center; padding:.55rem 0; border-top:1px solid var(--line); }
.hist li:first-child{ border-top:0; }
.hist .h-name{ font-weight:700; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; display:block; }
.hist .h-date{ font-size:.82rem; color:var(--muted); }
.hist .h-score{ font-weight:800; font-size:1.1rem; text-align:right; min-width:3ch; }
.trend{ border:1px solid var(--line); border-radius:14px; padding:.8rem .9rem; background:var(--surface-2); align-self:start; }
.trend h4{ margin:0 0 .25rem; font-size:.85rem; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); }
.trend svg{ width:100%; height:92px; display:block; overflow:visible; }
.trend .tl{ stroke:var(--brand); stroke-width:2; fill:none; stroke-linejoin:round; stroke-linecap:round; }
.trend .ta{ fill:color-mix(in srgb, var(--brand) 14%, transparent); }
.trend .tp{ fill:var(--surface); stroke:var(--brand); stroke-width:2; }
.trend .tp.last{ fill:var(--brand); }
.trend .tg{ stroke:var(--line); stroke-width:1; }
.trend .tt{ fill:var(--muted); font-size:9px; font-weight:700; }
.trend .th{ stroke:var(--gold); stroke-width:1.5; stroke-dasharray:3 3; }
.trend-meta{ display:flex; justify-content:space-between; font-size:.78rem; color:var(--muted); margin-top:.3rem; }
.trend-meta b{ color:var(--text); }
.hist .link-btn{ grid-column:1; min-height:36px; }
@media (max-width: 760px){ .hist{ grid-template-columns:1fr; } }
@media (max-width: 480px){ .hist li{ grid-template-columns:minmax(0,1fr) auto; } .hist .h-badge{ grid-column:1; justify-self:start; } .hist .h-score{ grid-row:1 / span 2; grid-column:2; } }

/* Daily + modes */
.daily{ display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:1.25rem; align-items:center; padding:1.25rem 1.4rem; border-radius:20px; background:linear-gradient(120deg, var(--brand-deep), color-mix(in srgb, var(--brand-deep) 65%, var(--brand))); color:#eef2ff; margin-bottom:1.5rem; position:relative; overflow:hidden; }
.daily::before{ content:""; position:absolute; right:-40px; top:-60px; width:220px; height:220px; border-radius:50%; border:28px solid #ffffff0d; }
.daily::after{ content:""; position:absolute; left:40%; bottom:-80px; width:160px; height:160px; border-radius:50%; background:color-mix(in srgb, var(--lime) 18%, transparent); filter:blur(20px); }
.daily .d-ic{ width:56px; height:56px; border-radius:16px; background:var(--lime); color:#1d2a00; display:grid; place-items:center; position:relative; }
.daily h3{ margin:0 0 .15rem; font-size:1.2rem; color:#fff; }
.daily p{ margin:0; color:#c4cdf2; font-size:.95rem; position:relative; }
.daily .btn{ position:relative; background:var(--lime); border-color:var(--lime); color:#1d2a00; }
.daily .done{ color:var(--lime); font-weight:700; }
@media (max-width: 640px){ .daily{ grid-template-columns:auto minmax(0,1fr); } .daily .btn{ grid-column:1 / -1; } }

.modes{ display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:12px; margin-bottom:2.5rem; }
.mode{ padding:1rem; border-radius:var(--r); border:1px solid var(--line); background:var(--surface); position:relative; overflow:hidden; }
.mode::after{ content:""; position:absolute; left:0; right:0; top:0; height:3px; background:var(--acc); opacity:.85; }
.mode h4{ margin:.6rem 0 .25rem; font-size:1rem; }
.mode p{ margin:0; font-size:.86rem; color:var(--muted); }
.mode .m-ic{ width:38px; height:38px; border-radius:10px; display:grid; place-items:center; background:color-mix(in srgb, var(--acc) 14%, transparent); color:var(--acc); }
.mode .chip{ position:absolute; right:.75rem; top:.85rem; }
.mode.belajar{ --acc: var(--ok); }
.mode.harian{ --acc: var(--gold); }
.mode.penuh{ --acc: var(--violet); }
.mode.unit{ --acc: var(--teal); }
@media (max-width: 1000px){ .modes{ grid-template-columns:repeat(3, minmax(0,1fr)); } }
@media (max-width: 700px){ .modes{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width: 420px){ .modes{ grid-template-columns:1fr; } }

/* Groups & category cards */
.groups{ display:flex; flex-direction:column; gap:2.5rem; }
.grp[data-g="audit"]{ --acc: var(--violet); }
.grp[data-g="software"]{ --acc: var(--teal); }
.grp-h{ display:grid; grid-template-columns:auto minmax(0,1fr); gap:.2rem 1rem; align-items:center; margin-bottom:1rem; }
.grp-h .g-ic{ width:40px; height:40px; border-radius:12px; display:grid; place-items:center; background:color-mix(in srgb, var(--acc) 14%, transparent); color:var(--acc); grid-row:1 / span 2; }
.grp-h h3{ margin:0; font-size:1.25rem; }
.grp-h p{ margin:0; color:var(--muted); font-size:.92rem; }
.cats{ display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap:16px; }
.cat{ position:relative; display:flex; flex-direction:column; gap:.6rem; text-align:left; padding:1.25rem; border-radius:18px; background:var(--surface); border:1.5px solid var(--line); box-shadow:var(--shadow); cursor:pointer; transition:border-color .15s, transform .15s, box-shadow .15s; min-height:44px; overflow:hidden; font-family:inherit; }
.cat::before{ content:""; position:absolute; left:0; top:0; bottom:0; width:5px; background:var(--acc); }
.cat:hover{ border-color:var(--acc); transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.cat:disabled{ cursor:not-allowed; opacity:.6; transform:none; }
.cat .c-top{ display:flex; align-items:center; justify-content:space-between; gap:.5rem; }
.cat .c-ic{ width:48px; height:48px; border-radius:14px; display:grid; place-items:center; background:linear-gradient(135deg, var(--acc), color-mix(in srgb, var(--acc) 60%, var(--brand-deep))); color:#fff; }
.cat h3{ margin:0; font-size:1.12rem; }
.cat p{ margin:0; color:var(--muted); font-size:.9rem; flex:1; }
.cat .c-tag{ font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--acc); }
.cat .c-tag + h3{ margin-top:-.35rem; }
.cat .c-foot{ display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding-top:.75rem; border-top:1px dashed var(--line); font-weight:700; color:var(--acc); font-size:.92rem; }
.cat .c-mix{ display:flex; height:6px; border-radius:99px; overflow:hidden; gap:2px; background:var(--surface-3); }
.cat .c-mix i{ display:block; height:100%; background:var(--acc); opacity:.9; }
.cat .c-mix i:nth-child(2){ opacity:.7; } .cat .c-mix i:nth-child(3){ opacity:.55; } .cat .c-mix i:nth-child(4){ opacity:.42; } .cat .c-mix i:nth-child(5){ opacity:.32; } .cat .c-mix i:nth-child(6){ opacity:.24; } .cat .c-mix i:nth-child(7){ opacity:.18; }
.cat .c-best{ font-size:.78rem; color:var(--muted); font-weight:600; }
.cat .c-best b{ color:var(--text); }
.cats.wide .cat{ flex-direction:row; flex-wrap:wrap; align-items:center; }
@media (min-width: 900px){
  .cats.n2{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .cats.n2 .cat{ display:grid; grid-template-columns:auto minmax(0,1fr); grid-template-areas:"ic top" "ic tag" "ic h" "ic p" "foot foot"; column-gap:1rem; row-gap:.35rem; }
  .cats.n2 .cat .c-top{ grid-area:top; justify-content:flex-end; }
  .cats.n2 .cat .c-ic{ grid-area:ic; width:64px; height:64px; align-self:start; }
  .cats.n2 .cat .c-tag{ grid-area:tag; } .cats.n2 .cat h3{ grid-area:h; margin-top:0; } .cats.n2 .cat p{ grid-area:p; } .cats.n2 .cat .c-foot{ grid-area:foot; }
  .cats.n2 .cat .c-mix, .cats.n2 .cat .c-best{ grid-column:1 / -1; }
}

/* Materi */
.materi-tabs{ display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom:1.25rem; }
.materi-tabs button{ min-height:40px; padding:0 .9rem; border-radius:999px; border:1.5px solid var(--line); background:var(--bg); font-weight:700; cursor:pointer; font-size:.88rem; display:inline-flex; align-items:center; gap:.4rem; }
.materi-tabs button[aria-selected="true"]{ background:var(--brand); border-color:var(--brand); color:var(--brand-ink); }
.materi-tabs button small{ font-weight:700; opacity:.75; }
.mt{ border:1px solid var(--line); border-radius:var(--r); padding:1.1rem 1.2rem; background:var(--bg); }
.mt-head{ display:flex; flex-wrap:wrap; align-items:center; gap:.6rem 1rem; margin-bottom:1rem; }
.mt-head h3{ margin:0; font-size:1.1rem; display:flex; align-items:center; gap:.5rem; }
.mt-head .mt-stats{ margin-left:auto; display:flex; flex-wrap:wrap; gap:.4rem; }
.units{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap:8px; }
.units .tag{ width:100%; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.2rem .6rem; text-align:left; border-radius:12px; min-height:52px; padding:.5rem .8rem; border:1px solid var(--line); background:var(--surface); cursor:pointer; font-size:.9rem; font-weight:600; align-items:center; font-family:inherit; color:inherit; }
.units .tag:hover{ border-color:var(--brand); color:var(--brand); }
.units .tag small{ white-space:nowrap; color:var(--muted); font-weight:700; }
.units .tag .ub{ grid-column:1 / -1; height:4px; border-radius:99px; background:var(--surface-3); overflow:hidden; }
.units .tag .ub i{ display:block; height:100%; background:var(--brand); border-radius:99px; }
.mt .empty{ color:var(--muted); font-size:.9rem; margin:0; }
.mt .acts{ display:flex; flex-wrap:wrap; gap:.5rem; margin-top:1rem; }

/* Steps */
.steps{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:20px; counter-reset:st; list-style:none; padding:0; margin:0; }
.steps li{ position:relative; padding:1.25rem 1.25rem 1.25rem; border-radius:18px; background:var(--surface); border:1px solid var(--line); display:flex; flex-direction:column; gap:.5rem; }
.steps .st-art{ height:120px; border-radius:12px; background:var(--surface-2); display:grid; place-items:center; overflow:hidden; margin-bottom:.5rem; }
.steps .st-art svg{ width:100%; height:100%; }
.steps li::before{ counter-increment:st; content:"0" counter(st); position:absolute; right:1.1rem; top:.9rem; font-size:1.6rem; font-weight:800; line-height:1; color:transparent; -webkit-text-stroke:1.5px var(--brand); letter-spacing:-.03em; font-family:var(--head); }
.steps h3{ font-size:1.1rem; margin:0; }
.steps p{ color:var(--muted); margin:0; }
@media (max-width: 800px){ .steps{ grid-template-columns:1fr; } }

/* Pricing */
.price-note{ display:inline-flex; align-items:center; gap:.4rem; margin-top:.75rem; }
.prices{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:18px; align-items:stretch; }
.price{ display:flex; flex-direction:column; padding:1.5rem; border-radius:20px; background:var(--bg); border:1.5px solid var(--line); position:relative; }
.price.hot{ border-color:var(--brand); box-shadow:var(--shadow-lg); background:var(--surface); }
.price .ribbon{ position:absolute; top:-12px; left:1.5rem; }
.price h3{ font-size:1.1rem; margin-bottom:.25rem; }
.price .amt{ font-size:2rem; font-weight:800; letter-spacing:-.02em; margin:.25rem 0; font-family:var(--head); }
.price .amt small{ font-size:.9rem; font-weight:600; color:var(--muted); font-family:var(--font); }
.price ul{ list-style:none; padding:0; margin:1rem 0 1.5rem; flex:1; }
.price li{ display:flex; gap:.5rem; align-items:flex-start; padding:.3rem 0; font-size:.94rem; }
.price li .icon{ color:var(--ok); margin-top:3px; }
.price .sample{ font-size:.72rem; font-weight:800; color:var(--gold-ink); background:var(--gold-soft); padding:.15rem .5rem; border-radius:6px; align-self:flex-start; text-transform:uppercase; letter-spacing:.06em; }
@media (max-width: 860px){ .prices{ grid-template-columns:1fr; } }

/* FAQ */
.faq{ max-width:820px; }
.faq details{ border:1px solid var(--line); border-radius:var(--r); background:var(--surface); margin-bottom:10px; }
.faq details[open]{ border-color:var(--brand-line); }
.faq summary{ list-style:none; cursor:pointer; padding:1rem 1.15rem; min-height:44px; font-weight:700; display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary .icon{ transition:transform .2s; color:var(--brand); }
.faq details[open] summary .icon{ transform:rotate(45deg); }
.faq details > div{ padding:0 1.15rem 1rem; color:var(--muted); }
.faq details > div p:last-child{ margin:0; }

/* Footer */
footer.site{ background:var(--brand-deep); color:#c4cdf2; padding:48px 0 32px; }
footer.site .brand{ color:#fff; }
footer.site .brand b{ color:var(--lime); }
footer.site .f-grid{ display:grid; grid-template-columns:minmax(0,1.4fr) repeat(2, minmax(0,1fr)); gap:32px; }
footer.site h4{ color:#fff; font-size:.95rem; margin-bottom:.75rem; }
footer.site ul{ list-style:none; padding:0; margin:0; }
footer.site li a{ color:#c4cdf2; text-decoration:none; display:inline-flex; min-height:36px; align-items:center; }
footer.site li a:hover{ color:#fff; text-decoration:underline; }
footer.site .disc{ margin-top:2rem; padding-top:1.25rem; border-top:1px solid #ffffff22; font-size:.88rem; display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem; }
footer.site .disc strong{ color:#fff; }
@media (max-width: 700px){ footer.site .f-grid{ grid-template-columns:1fr 1fr; } footer.site .f-about{ grid-column:1 / -1; } }

/* Dialog */
dialog.dlg{ border:0; padding:0; border-radius:20px; background:var(--surface); color:var(--text); width:min(600px, calc(100vw - 24px)); max-height:calc(100dvh - 24px); box-shadow:0 30px 80px -20px rgb(0 0 0 / .5); }
dialog.dlg::backdrop{ background:rgb(8 12 32 / .55); backdrop-filter:blur(3px); }
.dlg-in{ padding:1.4rem 1.4rem 1.2rem; }
.dlg-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:.9rem; }
.dlg-head h2{ font-size:1.3rem; margin:0; }
.dlg-head p{ margin:.2rem 0 0; color:var(--muted); font-size:.92rem; }
.dlg-acts{ display:flex; flex-wrap:wrap; justify-content:flex-end; gap:.6rem; margin-top:1.25rem; }
.mode-opt{ display:grid; grid-template-columns:auto auto minmax(0,1fr); gap:.3rem .75rem; align-items:start; padding:.8rem .95rem; border:1.5px solid var(--line); border-radius:14px; margin-bottom:.55rem; cursor:pointer; transition:border-color .15s, background .15s; }
.mode-opt:hover{ border-color:var(--brand-line); }
.mode-opt:has(input:checked){ border-color:var(--acc); background:color-mix(in srgb, var(--acc) 9%, var(--surface)); }
.mode-opt:has(input:disabled){ opacity:.55; cursor:not-allowed; }
.mode-opt input{ width:22px; height:22px; margin:6px 0 0; accent-color:var(--acc); }
.mode-opt .mo-ic{ width:36px; height:36px; border-radius:10px; display:grid; place-items:center; background:color-mix(in srgb, var(--acc) 14%, transparent); color:var(--acc); }
.mode-opt strong{ display:block; }
.mode-opt span.d{ display:block; color:var(--muted); font-size:.86rem; }
.mode-opt select, .tipe-wrap select{ margin-top:.5rem; width:100%; min-height:44px; font-size:16px; border-radius:10px; border:1.5px solid var(--line); background:var(--surface); padding:.4rem .6rem; }
.mode-opt.belajar{ --acc: var(--ok); } .mode-opt.penuh{ --acc: var(--violet); } .mode-opt.unit, .mode-opt.topik{ --acc: var(--teal); }
.tipe-wrap{ padding:.6rem .95rem; border-radius:14px; background:var(--surface-2); margin-top:.25rem; }
.tipe-wrap span{ color:var(--muted); font-size:.86rem; }
.confirm-stats{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:8px; margin:1rem 0 .25rem; }
.confirm-stats div{ text-align:center; padding:.7rem .4rem; border-radius:12px; background:var(--surface-2); }
.confirm-stats b{ display:block; font-size:1.5rem; line-height:1.1; }
.confirm-stats small{ color:var(--muted); font-weight:600; }
.confirm-stats .warn{ background:var(--gold-soft); color:var(--gold-ink); }
.confirm-stats .bad{ background:var(--danger-soft); color:var(--danger); }

/* Toast */
.toast{ position:fixed; left:50%; bottom:20px; transform:translateX(-50%); z-index:300; background:var(--text); color:var(--bg); padding:.75rem 1.1rem; border-radius:12px; font-weight:600; font-size:.94rem; box-shadow:var(--shadow-lg); max-width:calc(100vw - 32px); }

/* ===== EXAM ===== */
.exam{ position:fixed; inset:0; z-index:60; display:flex; flex-direction:column; background:var(--bg); }
.ex-head{ display:flex; align-items:center; gap:.75rem; padding:.5rem 16px; padding-top:max(.5rem, env(safe-area-inset-top)); background:var(--brand-deep); color:#eef2ff; min-height:60px; }
.ex-head .logo{ width:30px; height:30px; }
.ex-title{ flex:1; min-width:0; }
.ex-title strong{ display:block; font-size:1rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ex-title span{ display:block; font-size:.78rem; color:#b9c3ec; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ex-mode{ display:inline-flex; align-items:center; gap:.3rem; font-size:.72rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; padding:.2rem .55rem; border-radius:999px; background:var(--lime); color:#1d2a00; white-space:nowrap; }
.timer{ display:inline-flex; align-items:center; gap:.45rem; padding:.4rem .8rem; border-radius:12px; background:#ffffff14; border:1px solid #ffffff22; font-weight:800; font-size:1.1rem; font-variant-numeric:tabular-nums; min-height:44px; white-space:nowrap; transition:background .3s, color .3s; }
.timer small{ font-size:.68rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; opacity:.8; }
.timer.warn{ background:var(--gold); color:#2b1d00; border-color:var(--gold); animation:blink 1.2s ease-in-out infinite; }
.timer.crit{ background:#c62f22; color:#fff; border-color:#c62f22; animation:blink .7s ease-in-out infinite; }
.timer.soft{ background:transparent; }
@keyframes blink{ 0%,100%{ box-shadow:0 0 0 0 transparent; } 50%{ box-shadow:0 0 0 4px rgb(255 255 255 / .25); } }
.ex-head .btn-finish{ background:var(--gold); border-color:var(--gold); color:#2b1d00; }
.ex-head .btn-exit{ background:transparent; border-color:#ffffff33; color:#eef2ff; }
.ex-head .btn-exit:hover{ background:#ffffff14; }
.ex-bar{ display:flex; align-items:center; gap:.5rem; padding:.4rem 16px; background:var(--surface); border-bottom:1px solid var(--line); min-height:56px; }
.ex-progress{ flex:1; min-width:0; display:flex; align-items:center; gap:.75rem; }
.ex-progress .lbl{ font-weight:700; font-size:.9rem; white-space:nowrap; }
.pbar{ flex:1; height:8px; border-radius:99px; background:var(--surface-3); overflow:hidden; min-width:40px; }
.pbar i{ display:block; height:100%; background:linear-gradient(90deg, var(--brand), var(--lime)); border-radius:99px; transition:width .3s; }
.tool-btn{ display:inline-flex; align-items:center; gap:.4rem; min-height:44px; min-width:44px; justify-content:center; padding:0 .7rem; border-radius:10px; border:1.5px solid var(--line); background:var(--surface); cursor:pointer; font-weight:700; font-size:.88rem; }
.tool-btn:hover, .tool-btn[aria-expanded="true"]{ border-color:var(--brand); color:var(--brand); background:var(--brand-soft); }
.only-m{ display:none !important; }

.ex-body{ flex:1; min-height:0; display:grid; grid-template-columns:280px minmax(0,1fr) 300px; }
.ex-body.lc{ grid-template-columns:60px minmax(0,1fr) 300px; }
.ex-left, .ex-right{ background:var(--surface); overflow:auto; min-height:0; }
.ex-left{ border-right:1px solid var(--line); }
.ex-right{ border-left:1px solid var(--line); }
.pane-in{ padding:1rem; }
.pane-head{ display:flex; align-items:center; justify-content:space-between; gap:.5rem; margin-bottom:.75rem; }
.pane-head h2{ font-size:.85rem; margin:0; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); }
.ex-body.lc .ex-left .rules, .ex-body.lc .ex-left .pane-head h2{ display:none; }
.ex-body.lc .ex-left .pane-in{ padding:.5rem 8px; }
.rules{ font-size:.9rem; }
.rules ol{ padding-left:1.15rem; margin:0 0 1rem; }
.rules li{ margin-bottom:.45rem; }
.rules h3{ font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin:1rem 0 .5rem; }
.kbd-list{ display:grid; grid-template-columns:auto 1fr; gap:.35rem .6rem; align-items:center; }
.legend{ display:grid; grid-template-columns:1fr 1fr; gap:.4rem .75rem; font-size:.84rem; margin-bottom:1rem; }
.legend span{ display:flex; align-items:center; gap:.45rem; }
.legend i{ width:16px; height:16px; border-radius:5px; border:1.5px solid var(--line); background:var(--surface); flex:none; position:relative; }
.legend i.d{ background:var(--brand); border-color:var(--brand); }
.legend i.r{ background:var(--gold); border-color:var(--gold); }
.legend i.a{ border-color:var(--text); border-width:2.5px; }
.legend i.rd{ background:var(--gold); border-color:var(--gold); }
.legend i.rd::after{ content:""; position:absolute; right:2px; top:2px; width:5px; height:5px; border-radius:50%; background:#2b1d00; }

.ex-main{ overflow:auto; min-height:0; display:flex; flex-direction:column; }
.q-card{ width:100%; max-width:860px; margin:0 auto; padding:24px 24px 36px; flex:1; }
.q-card.enter{ animation:qin .22s ease-out both; }
@keyframes qin{ from{ opacity:0; transform:translateX(var(--dir, 14px)); } to{ opacity:1; transform:none; } }
.q-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:.5rem .75rem; margin-bottom:1rem; }
.q-no{ font-weight:800; font-size:1.15rem; font-family:var(--head); }
.q-no small{ color:var(--muted); font-weight:600; font-size:.9rem; font-family:var(--font); }
.q-tipe{ display:inline-flex; align-items:center; gap:.35rem; font-size:.72rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--brand); border:1.5px solid var(--brand-line); border-radius:6px; padding:.1rem .45rem; margin-bottom:.6rem; }
.q-text{ font-size:1.12rem; font-weight:600; line-height:1.65; white-space:pre-line; margin-bottom:1.25rem; overflow-wrap:anywhere; }
.q-text.long{ font-size:1.02rem; font-weight:500; padding:1rem 1.1rem; border-radius:14px; background:var(--surface); border:1px solid var(--line); border-left:4px solid var(--gold); line-height:1.7; }
.q-text.long .q-ask{ display:block; margin-top:.9rem; padding-top:.9rem; border-top:1px dashed var(--line); font-weight:700; font-size:1.06rem; }
.opts{ display:flex; flex-direction:column; gap:10px; }
.opt{ display:flex; align-items:flex-start; gap:.85rem; width:100%; text-align:left; min-height:56px; padding:.75rem .9rem; border-radius:14px; border:1.5px solid var(--line); background:var(--surface); cursor:pointer; font-size:1rem; line-height:1.5; transition:border-color .12s, background .12s, transform .12s; overflow-wrap:anywhere; font-family:inherit; color:inherit; }
.opt:hover{ border-color:var(--brand-line); transform:translateX(2px); }
.opt .L{ width:34px; height:34px; flex:none; border-radius:10px; display:grid; place-items:center; font-weight:800; background:var(--surface-2); border:1.5px solid var(--line); }
.opt .T{ padding-top:.3rem; min-width:0; }
.opt[aria-checked="true"]{ border-color:var(--brand); background:var(--brand-soft); }
.opt[aria-checked="true"] .L{ background:var(--brand); border-color:var(--brand); color:var(--brand-ink); }
.opt:disabled{ cursor:default; transform:none; }
.q-tools{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:.5rem; align-items:center; margin-top:.5rem; }
.q-tools .hint{ font-size:.84rem; color:var(--muted); }
.ex-foot{ position:sticky; bottom:0; background:color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); border-top:1px solid var(--line); padding:.65rem 16px; padding-bottom:max(.65rem, env(safe-area-inset-bottom)); }
.ex-foot .in{ max-width:860px; margin:0 auto; display:grid; grid-template-columns:1fr auto 1fr; gap:.6rem; }
.ex-foot .next{ justify-self:end; }
.ex-foot .prev{ justify-self:start; }
.btn-ragu[aria-pressed="true"]{ background:var(--gold); border-color:var(--gold); color:#2b1d00; }
.q-inst{ display:flex; align-items:center; gap:.45rem; font-weight:700; color:var(--gold-ink); background:var(--gold-soft); border-radius:10px; padding:.5rem .75rem; margin:0 0 .9rem; font-size:.92rem; }
.opt.chk{ position:relative; }
.opt.chk input{ position:absolute; opacity:0; width:1px; height:1px; }
.opt.chk .L{ border-radius:7px; position:relative; }
.opt.chk .ck-ic{ display:none; }
.opt.chk:has(input:checked){ border-color:var(--brand); background:var(--brand-soft); }
.opt.chk:has(input:checked) .L{ background:var(--brand); border-color:var(--brand); color:var(--brand-ink); }
.opt.chk:has(input:checked) .lt{ display:none; }
.opt.chk:has(input:checked) .ck-ic{ display:block; }
.opt.chk:has(input:focus-visible){ outline:3px solid var(--gold); outline-offset:2px; }
.opt.chk:has(input:disabled){ cursor:default; }
.isian-lbl{ display:block; font-weight:700; margin-bottom:.4rem; font-size:.92rem; }
.isian-box{ display:flex; align-items:stretch; max-width:440px; border:1.5px solid var(--line); border-radius:14px; background:var(--surface); overflow:hidden; }
.isian-box:focus-within{ border-color:var(--brand); box-shadow:0 0 0 3px color-mix(in srgb, var(--gold) 55%, transparent); }
.isian-box .aff{ display:grid; place-items:center; padding:0 .9rem; background:var(--surface-2); font-weight:800; color:var(--muted); }
.isian-box input{ flex:1; min-width:0; border:0; outline:none; background:transparent; font-size:1.25rem; font-weight:700; padding:.7rem .9rem; min-height:56px; font-variant-numeric:tabular-nums; }
.isian-prev{ margin:.6rem 0 .2rem; font-size:.94rem; color:var(--muted); }
.isian-prev b{ color:var(--text); }
.isian-prev.bad{ color:var(--danger); font-weight:600; }
.isian-help{ margin:0; font-size:.82rem; color:var(--muted); }
.jd-bank{ border:1px dashed var(--brand-line); border-radius:12px; padding:.7rem .9rem; margin-bottom:.9rem; background:var(--surface); }
.jd-bank strong{ font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); }
.jd-bank ol{ list-style:none; padding:0; margin:.4rem 0 0; display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:.3rem .9rem; }
.jd-bank li{ display:flex; gap:.5rem; font-size:.94rem; }
.jd-bank li b{ flex:none; width:24px; height:24px; border-radius:6px; display:grid; place-items:center; background:var(--surface-2); font-size:.78rem; }
.jodoh{ display:flex; flex-direction:column; gap:10px; }
.jd-row{ display:grid; grid-template-columns:auto minmax(0,1fr) minmax(0,280px); gap:.6rem .8rem; align-items:center; padding:.7rem .85rem; border:1.5px solid var(--line); border-radius:14px; background:var(--surface); }
.jd-row.filled{ border-color:var(--brand); }
.jd-row .no{ width:30px; height:30px; border-radius:9px; display:grid; place-items:center; background:var(--surface-2); font-weight:800; }
.jd-row.filled .no{ background:var(--brand); color:var(--brand-ink); }
.jd-l{ font-weight:600; overflow-wrap:anywhere; }
.jd-row select{ width:100%; min-height:48px; font-size:16px; border-radius:10px; border:1.5px solid var(--line); background:var(--bg); padding:.4rem .6rem; }
@media (max-width: 640px){ .jd-row{ grid-template-columns:auto minmax(0,1fr); } .jd-row select{ grid-column:1 / -1; } }

/* urut */
.urut{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; position:relative; }
.ur{ display:grid; grid-template-columns:auto auto minmax(0,1fr) auto; gap:.6rem; align-items:center; padding:.6rem .7rem .6rem .6rem; border:1.5px solid var(--line); border-radius:14px; background:var(--surface); transition:transform .18s ease, box-shadow .18s, border-color .18s; touch-action:pan-y; }
.ur.drag{ opacity:.95; box-shadow:0 18px 40px -16px rgb(0 0 0 / .45); border-color:var(--brand); z-index:5; position:relative; transition:none; }
.ur.over{ border-style:dashed; border-color:var(--brand); }
.ur.moved{ animation:bump .3s ease; }
@keyframes bump{ 0%{ background:var(--brand-soft); } 100%{ background:var(--surface); } }
.ur .ur-h{ width:34px; height:40px; border-radius:9px; display:grid; place-items:center; background:var(--surface-2); color:var(--muted); cursor:grab; touch-action:none; border:0; padding:0; user-select:none; -webkit-user-select:none; }
.ur .ur-h:active{ cursor:grabbing; }
.ur .ur-no{ width:30px; height:30px; border-radius:50%; display:grid; place-items:center; background:var(--brand); color:var(--brand-ink); font-weight:800; font-size:.9rem; }
.ur .ur-t{ font-weight:600; overflow-wrap:anywhere; line-height:1.45; }
.ur .ur-btns{ display:flex; flex-direction:column; gap:3px; }
.ur .ur-btns button{ width:36px; height:30px; border-radius:7px; border:1.5px solid var(--line); background:var(--surface); cursor:pointer; display:grid; place-items:center; padding:0; color:inherit; }
.ur .ur-btns button:hover{ border-color:var(--brand); color:var(--brand); }
.ur .ur-btns button:disabled{ opacity:.35; cursor:not-allowed; }
.ur.locked .ur-h{ cursor:default; opacity:.5; }
.urut-acts{ display:flex; flex-wrap:wrap; gap:.6rem; align-items:center; margin-top:.9rem; }
.urut-acts .st{ font-size:.86rem; color:var(--muted); }
.urut-acts .st.on{ color:var(--ok); font-weight:700; }
@media (max-width: 520px){ .ur{ grid-template-columns:auto minmax(0,1fr) auto; } .ur .ur-no{ display:none; } .ur .ur-btns{ flex-direction:row; } }

/* jurnal */
.jr-wrap{ border:1.5px solid var(--line); border-radius:16px; background:var(--surface); overflow:hidden; }
.jr-table{ width:100%; border-collapse:collapse; font-size:.94rem; }
.jr-table th{ text-align:left; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); padding:.6rem .7rem; background:var(--surface-2); border-bottom:1px solid var(--line); }
.jr-table th.r, .jr-table td.r{ text-align:right; }
.jr-table td{ padding:.45rem .5rem; border-bottom:1px solid var(--line); vertical-align:middle; }
.jr-table tr.kredit td.akun{ padding-left:2rem; }
.jr-table select{ width:100%; min-width:140px; min-height:44px; font-size:16px; border-radius:10px; border:1.5px solid var(--line); background:var(--bg); padding:.3rem .5rem; }
.jr-table .jr-in{ display:flex; align-items:stretch; border:1.5px solid var(--line); border-radius:10px; background:var(--bg); overflow:hidden; min-width:120px; }
.jr-table .jr-in:focus-within{ border-color:var(--brand); }
.jr-table .jr-in .aff{ display:grid; place-items:center; padding:0 .45rem; background:var(--surface-2); font-size:.78rem; font-weight:800; color:var(--muted); }
.jr-table .jr-in input{ width:100%; min-width:0; border:0; outline:none; background:transparent; padding:.5rem .5rem; min-height:44px; text-align:right; font-weight:700; font-variant-numeric:tabular-nums; }
.jr-table .jr-in.bad{ border-color:var(--danger); }
.jr-table .del{ width:40px; height:40px; border-radius:9px; border:1.5px solid var(--line); background:var(--surface); cursor:pointer; display:grid; place-items:center; color:var(--muted); padding:0; }
.jr-table .del:hover{ border-color:var(--danger); color:var(--danger); }
.jr-table tfoot td{ background:var(--surface-2); font-weight:800; border-bottom:0; font-variant-numeric:tabular-nums; }
.jr-table tfoot td.lbl{ font-weight:700; color:var(--muted); }
.jr-foot{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.6rem; padding:.7rem .8rem; border-top:1px solid var(--line); }
.jr-bal{ display:inline-flex; align-items:center; gap:.4rem; font-weight:800; font-size:.9rem; padding:.3rem .7rem; border-radius:999px; }
.jr-bal.ok{ background:var(--ok-soft); color:var(--ok); }
.jr-bal.no{ background:var(--gold-soft); color:var(--gold-ink); }
.jr-bal.empty{ background:var(--surface-2); color:var(--muted); }
.jr-help{ margin:.6rem 0 0; font-size:.82rem; color:var(--muted); }
@media (max-width: 640px){
  .jr-table thead{ display:none; }
  .jr-table, .jr-table tbody, .jr-table tr, .jr-table td{ display:block; }
  .jr-table tr{ padding:.6rem .6rem .4rem; border-bottom:1px solid var(--line); display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; gap:.4rem; }
  .jr-table td{ border:0; padding:0; }
  .jr-table td.akun{ grid-column:1 / 3; }
  .jr-table tr.kredit td.akun{ padding-left:0; }
  .jr-table td.r::before{ content:attr(data-l); display:block; font-size:.7rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin-bottom:.15rem; }
  .jr-table td.act{ grid-column:3; grid-row:1; }
  .jr-table tfoot{ display:block; }
  .jr-table tfoot tr{ display:grid; grid-template-columns:1fr 1fr; gap:.3rem; }
  .jr-table tfoot td.lbl{ grid-column:1 / -1; }
  .jr-table tfoot td.r::before{ content:attr(data-l) " "; font-weight:700; color:var(--muted); }
}

/* Feedback (Mode Belajar) */
.fb{ margin-top:1.1rem; border-radius:16px; border:2px solid; padding:1rem 1.1rem; animation:qin .25s ease-out both; --dir:0; }
.fb.ok{ border-color:var(--ok); background:var(--ok-soft); }
.fb.no{ border-color:var(--danger); background:var(--danger-soft); }
.fb .fb-h{ display:flex; align-items:center; gap:.5rem; font-weight:800; font-size:1.05rem; margin-bottom:.4rem; }
.fb.ok .fb-h{ color:var(--ok); } .fb.no .fb-h{ color:var(--danger); }
.fb p{ margin:0 0 .5rem; font-size:.95rem; white-space:pre-line; }
.fb .dasar{ margin:0; font-size:.86rem; color:var(--muted); }
.fb .dasar b{ color:var(--text); }
.fb .fb-key{ font-size:.92rem; margin-bottom:.5rem; }
.chk-wrap{ margin-top:1rem; display:flex; flex-wrap:wrap; gap:.6rem; align-items:center; }
.chk-wrap .hint{ font-size:.84rem; color:var(--muted); }

.grid-nav{ display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:6px; }
.gn{ min-height:44px; border-radius:10px; border:1.5px solid var(--line); background:var(--surface); font-weight:800; font-size:.92rem; cursor:pointer; font-variant-numeric:tabular-nums; position:relative; color:inherit; transition:transform .1s; }
.gn:hover{ border-color:var(--brand); transform:scale(1.05); }
.gn.d{ background:var(--brand); border-color:var(--brand); color:var(--brand-ink); }
.gn.r{ background:var(--gold); border-color:var(--gold); color:#2b1d00; }
.gn.r.d::after{ content:""; position:absolute; right:4px; top:4px; width:6px; height:6px; border-radius:50%; background:#2b1d00; }
.gn.a{ box-shadow:0 0 0 2.5px var(--surface), 0 0 0 5px var(--text); }
.gn.ok{ background:var(--ok); border-color:var(--ok); color:#fff; }
.gn.bad{ background:var(--danger); border-color:var(--danger); color:#fff; }
.stats{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:6px; margin-bottom:1rem; }
.stats div{ text-align:center; padding:.55rem .25rem; border-radius:10px; background:var(--surface-2); }
.stats b{ display:block; font-size:1.25rem; line-height:1.1; }
.stats small{ font-size:.75rem; color:var(--muted); font-weight:700; }
.stats .s-d b{ color:var(--brand); }
.stats .s-r b{ color:var(--gold-ink); }
.legend.bl{ grid-template-columns:1fr 1fr; }
.legend i.ok{ background:var(--ok); border-color:var(--ok); }
.legend i.bad{ background:var(--danger); border-color:var(--danger); }

/* Popovers */
.pop{ position:fixed; z-index:80; right:16px; top:130px; width:300px; max-width:calc(100vw - 24px); background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:0 24px 60px -18px rgb(0 0 0 / .45); }
.pop-head{ display:flex; align-items:center; justify-content:space-between; padding:.4rem .4rem .4rem .9rem; border-bottom:1px solid var(--line); }
.pop-head strong{ font-size:.95rem; }
.pop-body{ padding:.8rem; }
.calc-disp{ background:var(--brand-deep); color:#eef2ff; border-radius:12px; padding:.55rem .8rem; text-align:right; margin-bottom:.6rem; min-height:72px; }
.calc-disp small{ display:block; color:#a9b5e6; min-height:1.2em; font-size:.82rem; font-variant-numeric:tabular-nums; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.calc-disp output{ display:block; font-size:1.7rem; font-weight:800; font-variant-numeric:tabular-nums; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.calc-keys{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:6px; }
.ck{ min-height:48px; border-radius:10px; border:1px solid var(--line); background:var(--surface-2); font-weight:800; font-size:1.05rem; cursor:pointer; color:inherit; }
.ck:hover{ border-color:var(--brand); }
.ck.op{ background:var(--brand-soft); color:var(--brand); }
.ck.eq{ background:var(--brand); color:var(--brand-ink); border-color:var(--brand); }
.ck.fn{ background:var(--surface-3); }
.ck.w2{ grid-column:span 2; }
.notes-ta{ width:100%; min-height:200px; resize:vertical; font-size:16px; line-height:1.5; border-radius:10px; border:1.5px solid var(--line); background:var(--bg); padding:.6rem .7rem; }
.notes-ta:focus{ outline:none; border-color:var(--brand); }
.pop small.help{ display:block; color:var(--muted); font-size:.8rem; margin-top:.4rem; }
.scrim{ position:fixed; inset:0; z-index:69; background:rgb(8 12 32 / .5); }

@media (max-width: 899px){
  .only-m{ display:inline-flex !important; }
  .only-d{ display:none !important; }
  .ex-body, .ex-body.lc{ grid-template-columns:minmax(0,1fr); }
  .ex-left, .ex-right{ position:fixed; top:0; bottom:0; z-index:70; width:min(340px, 88vw); visibility:hidden; transition:transform .25s ease, visibility .25s; box-shadow:0 0 40px rgb(0 0 0 / .3); }
  .ex-left{ left:0; transform:translateX(-102%); }
  .ex-right{ right:0; transform:translateX(102%); }
  .ex-left.open, .ex-right.open{ transform:none; visibility:visible; }
  .ex-body.lc .ex-left .rules, .ex-body.lc .ex-left .pane-head h2{ display:block; }
  .ex-body.lc .ex-left .pane-in{ padding:1rem; }
  .q-card{ padding:16px 16px 12px; }
  .q-text{ font-size:1.05rem; }
  .ex-head{ gap:.5rem; padding-left:12px; padding-right:12px; }
  .ex-head .logo, .ex-head .ex-mode{ display:none; }
  .ex-bar{ padding:.4rem 12px; gap:.4rem; }
  .ex-foot{ padding-left:12px; padding-right:12px; }
  .pop{ left:12px; right:12px; width:auto; top:auto; bottom:84px; margin:0 auto; max-width:380px; }
}
@media (max-width: 520px){
  .tool-btn .t, .ex-foot .t{ display:none; }
  .ex-head .btn-finish .icon, .ex-head .btn-exit .t{ display:none; }
  .ex-head .btn-exit{ width:44px; padding:0; }
  .ex-title span{ display:none; }
  .ex-foot .in{ grid-template-columns:auto 1fr auto; }
  .ex-foot .btn-ragu{ width:100%; }
  .ex-foot .prev, .ex-foot .next{ width:56px; padding:0; }
  .ex-head .btn-finish{ padding:0 .8rem; }
  .timer{ font-size:1rem; padding:.35rem .55rem; }
  .timer small{ display:none; }
  .ex-progress .pbar{ display:none; }
}

/* ===== RESULT ===== */
.result{ padding:28px 0 64px; }
.res-top{ display:grid; grid-template-columns:auto minmax(0,1fr); gap:28px; align-items:center; padding:1.5rem; border-radius:22px; background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow); margin-bottom:20px; position:relative; overflow:hidden; }
.res-top::before{ content:""; position:absolute; right:-80px; top:-80px; width:260px; height:260px; border-radius:50%; background:radial-gradient(circle, color-mix(in srgb, var(--acc) 18%, transparent), transparent 70%); pointer-events:none; }
.res-top.pass{ --acc: var(--ok); } .res-top.fail{ --acc: var(--danger); }
.ring{ position:relative; width:190px; height:190px; }
.ring svg{ width:190px; height:190px; transform:rotate(-90deg); }
.ring .bg{ stroke:var(--surface-3); }
.ring .fg{ stroke:var(--ok); stroke-linecap:round; transition:stroke-dashoffset 1.1s cubic-bezier(.2,.7,.2,1); }
.ring.fail .fg{ stroke:var(--danger); }
.ring .val{ position:absolute; inset:0; display:grid; place-items:center; text-align:center; }
.ring .val b{ display:block; font-size:3.4rem; font-weight:800; line-height:1; letter-spacing:-.04em; font-family:var(--head); }
.ring .val small{ color:var(--muted); font-weight:700; font-size:.8rem; }
.res-info h1{ font-size:clamp(1.4rem, 3vw, 2rem); margin-bottom:.35rem; }
.res-info h1:focus{ outline:none; }
.res-status{ display:inline-flex; align-items:center; gap:.4rem; font-weight:800; padding:.35rem .9rem; border-radius:999px; font-size:.95rem; margin-bottom:.9rem; }
.res-status.pass{ background:var(--ok-soft); color:var(--ok); }
.res-status.fail{ background:var(--danger-soft); color:var(--danger); }
.res-kpi{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:10px; margin:0 0 1rem; }
.res-kpi div{ padding:.7rem .8rem; border-radius:12px; background:var(--surface-2); }
.res-kpi b{ display:block; font-size:1.35rem; line-height:1.15; font-variant-numeric:tabular-nums; }
.res-kpi small{ color:var(--muted); font-weight:700; font-size:.8rem; }
.res-kpi .ok b{ color:var(--ok); } .res-kpi .bad b{ color:var(--danger); }
.res-acts{ display:flex; flex-wrap:wrap; gap:.6rem; }
.res-ach{ display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom:.9rem; }
.ach{ display:inline-flex; align-items:center; gap:.35rem; font-size:.8rem; font-weight:800; padding:.3rem .7rem; border-radius:999px; background:var(--gold-soft); color:var(--gold-ink); border:1px solid color-mix(in srgb, var(--gold) 50%, transparent); }
.ach.ok{ background:var(--ok-soft); color:var(--ok); border-color:color-mix(in srgb, var(--ok) 40%, transparent); }
@media (max-width: 720px){ .res-top{ grid-template-columns:1fr; justify-items:center; text-align:center; padding:1.25rem; } .res-kpi{ grid-template-columns:repeat(2, minmax(0,1fr)); text-align:left; } .res-acts, .res-ach{ justify-content:center; } }
.panel{ padding:1.25rem 1.4rem; border-radius:20px; background:var(--surface); border:1px solid var(--line); margin-bottom:20px; }
.panel h2{ font-size:1.15rem; margin-bottom:1rem; display:flex; align-items:center; gap:.5rem; }
.panel h2 .icon{ color:var(--brand); }
.panels-2{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:20px; }
@media (max-width: 800px){ .panels-2{ grid-template-columns:1fr; } }
.bars{ display:flex; flex-direction:column; gap:.8rem; }
.bar-row{ display:grid; grid-template-columns:minmax(0,200px) minmax(0,1fr) auto; gap:.8rem; align-items:center; }
.bar-row .nm{ font-weight:600; font-size:.92rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bar-row .tr{ height:12px; border-radius:99px; background:var(--surface-3); overflow:hidden; position:relative; }
.bar-row .tr::after{ content:""; position:absolute; left:var(--th, 60%); top:-2px; bottom:-2px; width:2px; background:var(--gold); }
.bar-row .tr i{ display:block; height:100%; border-radius:99px; background:var(--ok); transition:width .8s ease; }
.bar-row .tr i.low{ background:var(--danger); }
.bar-row .pc{ font-weight:800; font-variant-numeric:tabular-nums; min-width:4.5ch; text-align:right; font-size:.92rem; }
.bar-row .pc small{ color:var(--muted); font-weight:600; }
.bars-note{ font-size:.82rem; color:var(--muted); margin:.75rem 0 0; display:flex; align-items:center; gap:.4rem; }
.bars-note i{ width:2px; height:14px; background:var(--gold); display:inline-block; }
@media (max-width: 560px){ .bar-row{ grid-template-columns:minmax(0,1fr) auto; } .bar-row .tr{ grid-column:1 / -1; grid-row:2; } }
.bar-row.u{ grid-template-columns:minmax(0,220px) minmax(0,1fr) auto auto; }
@media (max-width: 560px){ .bar-row.u{ grid-template-columns:minmax(0,1fr) auto; } .bar-row.u .pc{ grid-column:1; grid-row:3; text-align:left; } .bar-row.u .badge{ grid-column:2; grid-row:1; } .bar-row.u .tr{ grid-row:2; } }
.tipe-rows{ display:grid; grid-template-columns:repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap:10px; }
.tipe-row{ padding:.7rem .85rem; border-radius:12px; border:1px solid var(--line); background:var(--bg); }
.tipe-row .t-h{ display:flex; justify-content:space-between; gap:.5rem; font-size:.84rem; font-weight:700; }
.tipe-row .t-h small{ color:var(--muted); font-weight:700; }
.tipe-row .t-b{ height:8px; border-radius:99px; background:var(--surface-3); overflow:hidden; margin-top:.45rem; }
.tipe-row .t-b i{ display:block; height:100%; background:var(--brand); border-radius:99px; }
.tipe-row .t-b i.low{ background:var(--danger); }
.verdict{ display:flex; flex-direction:column; gap:.15rem; padding:.85rem 1rem; border-radius:12px; margin-bottom:1rem; border:2px solid; }
.verdict strong{ font-size:1.1rem; }
.verdict span{ font-size:.92rem; color:var(--muted); }
.verdict.ok{ border-color:var(--ok); background:var(--ok-soft); color:var(--ok); }
.verdict.no{ border-color:var(--danger); background:var(--danger-soft); color:var(--danger); }
.sim-note{ display:flex; gap:.5rem; align-items:flex-start; margin:1rem 0 0; padding:.7rem .85rem; border-radius:10px; background:var(--gold-soft); color:var(--gold-ink); font-size:.88rem; }
.sim-note .icon{ margin-top:3px; }
.filters{ display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom:1rem; }
.filters button{ min-height:44px; padding:0 1rem; border-radius:999px; border:1.5px solid var(--line); background:var(--surface); font-weight:700; cursor:pointer; font-size:.9rem; color:inherit; }
.filters button[aria-pressed="true"]{ background:var(--brand); border-color:var(--brand); color:var(--brand-ink); }
.rv{ border:1px solid var(--line); border-radius:16px; padding:1rem 1.1rem; margin-bottom:12px; background:var(--bg); border-left-width:4px; }
.rv.benar{ border-left-color:var(--ok); } .rv.salah{ border-left-color:var(--danger); } .rv.kosong{ border-left-color:var(--surface-3); }
.rv-head{ display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; margin-bottom:.5rem; }
.rv-head .no{ font-weight:800; }
.rv-q{ font-weight:600; white-space:pre-line; margin-bottom:.75rem; overflow-wrap:anywhere; }
.rv-opts{ list-style:none; padding:0; margin:0 0 .75rem; display:flex; flex-direction:column; gap:6px; }
.rv-opts li{ display:flex; gap:.6rem; align-items:flex-start; padding:.45rem .6rem; border-radius:10px; border:1px solid var(--line); background:var(--surface); font-size:.94rem; overflow-wrap:anywhere; flex-wrap:wrap; }
.rv-opts li b{ flex:none; width:26px; height:26px; border-radius:7px; display:grid; place-items:center; background:var(--surface-2); font-size:.8rem; }
.rv-opts li.key{ border-color:var(--ok); background:var(--ok-soft); }
.rv-opts li.key b{ background:var(--ok); color:#fff; }
.rv-opts li.key.miss{ border-style:dashed; }
.rv-opts li.wrong{ border-color:var(--danger); background:var(--danger-soft); }
.rv-opts li.wrong b{ background:var(--danger); color:#fff; }
.rv-opts li > span{ flex:1 1 auto; min-width:0; }
.rv-opts li em{ margin-left:auto; font-style:normal; font-size:.75rem; font-weight:800; white-space:nowrap; padding-left:.5rem; }
.rv-ex{ border-left:3px solid var(--gold); padding:.6rem .9rem; background:var(--surface); border-radius:0 10px 10px 0; font-size:.94rem; }
.rv-ex p{ margin:0 0 .4rem; white-space:pre-line; }
.rv-ex .dasar{ margin:0; font-size:.86rem; color:var(--muted); }
.rv-ex .dasar b{ color:var(--text); }
.rv-ex .sumber{ margin:.35rem 0 0; font-size:.84rem; }
.rv-ex .sumber a{ display:inline-flex; align-items:center; gap:.3rem; font-weight:700; min-height:32px; }
.empty-state{ text-align:center; color:var(--muted); padding:1.5rem; }
.tipe-lbl{ font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.rv-unit{ font-size:.85rem; color:var(--muted); font-weight:600; margin:-.2rem 0 .5rem; }
.rv-line{ margin:0 0 .6rem; font-size:.92rem; }
.rv-isian{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:8px; margin-bottom:.75rem; }
.rv-isian > div{ padding:.6rem .8rem; border-radius:10px; border:1px solid var(--line); background:var(--surface); overflow-wrap:anywhere; }
.rv-isian small{ display:block; color:var(--muted); font-weight:700; font-size:.76rem; }
.rv-isian b{ font-size:1.1rem; }
.rv-isian .ok{ border-color:var(--ok); background:var(--ok-soft); }
.rv-isian .bad{ border-color:var(--danger); background:var(--danger-soft); }
@media (max-width: 480px){ .rv-isian{ grid-template-columns:1fr; } }
.rv-jd{ list-style:none; padding:0; margin:0 0 .5rem; display:flex; flex-direction:column; gap:6px; }
.rv-jd li{ display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) auto; gap:.3rem .8rem; align-items:center; padding:.5rem .7rem; border-radius:10px; border:1px solid var(--line); background:var(--surface); font-size:.92rem; overflow-wrap:anywhere; }
.rv-jd li.bad{ border-color:var(--danger); background:var(--danger-soft); }
.rv-jd li.ok{ border-color:var(--ok); }
.rv-jd small{ display:block; font-size:.72rem; color:var(--muted); font-weight:700; }
.rv-jd .jv{ font-weight:800; font-size:.78rem; text-transform:uppercase; }
.rv-jd li.ok .jv{ color:var(--ok); }
.rv-jd li.bad .jv{ color:var(--danger); }
@media (max-width: 640px){ .rv-jd li{ grid-template-columns:minmax(0,1fr) auto; } .rv-jd .jl{ grid-column:1; } .rv-jd .jv{ grid-column:2; grid-row:1; } .rv-jd .jm, .rv-jd .jk{ grid-column:1 / -1; } }
.rv-urut{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; margin-bottom:.6rem; }
.rv-urut > div{ border:1px solid var(--line); border-radius:12px; background:var(--surface); padding:.6rem .8rem; }
.rv-urut small{ display:block; color:var(--muted); font-weight:700; font-size:.74rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:.35rem; }
.rv-urut ol{ margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:4px; }
.rv-urut li{ display:flex; gap:.5rem; align-items:flex-start; font-size:.9rem; padding:.3rem .45rem; border-radius:8px; }
.rv-urut li b{ flex:none; width:22px; height:22px; border-radius:50%; display:grid; place-items:center; font-size:.74rem; background:var(--surface-2); }
.rv-urut li.ok{ background:var(--ok-soft); } .rv-urut li.ok b{ background:var(--ok); color:#fff; }
.rv-urut li.bad{ background:var(--danger-soft); } .rv-urut li.bad b{ background:var(--danger); color:#fff; }
.rv-urut li.key b{ background:var(--ok); color:#fff; }
@media (max-width: 600px){ .rv-urut{ grid-template-columns:1fr; } }
.rv-jr{ width:100%; border-collapse:collapse; font-size:.9rem; margin-bottom:.6rem; background:var(--surface); border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.rv-jr th{ text-align:left; font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); padding:.45rem .6rem; background:var(--surface-2); }
.rv-jr td{ padding:.4rem .6rem; border-top:1px solid var(--line); font-variant-numeric:tabular-nums; }
.rv-jr th.r, .rv-jr td.r{ text-align:right; white-space:nowrap; }
.rv-jr tr.k td:first-child{ padding-left:1.6rem; }
.rv-jr tr.ok td{ background:color-mix(in srgb, var(--ok) 10%, transparent); }
.rv-jr tr.bad td{ background:color-mix(in srgb, var(--danger) 10%, transparent); }
.rv-jr tr.miss td{ background:color-mix(in srgb, var(--gold) 12%, transparent); }
.rv-jr .jv{ font-size:.72rem; font-weight:800; text-transform:uppercase; white-space:nowrap; }
.rv-jr tr.ok .jv{ color:var(--ok); } .rv-jr tr.bad .jv{ color:var(--danger); } .rv-jr tr.miss .jv{ color:var(--gold-ink); }
.rv-jr-wrap{ overflow-x:auto; }
.rv-jr caption{ text-align:left; font-weight:800; font-size:.8rem; padding:.4rem .6rem; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration:.001s !important; animation-iteration-count:1 !important; transition-duration:.001s !important; }
  html{ scroll-behavior:auto; }
  .preview, .preview .pv-badge, .q-card.enter, .fb{ animation:none; }
}

.grp[data-g="ukp"]{ --acc: var(--gold); }


/* =====================================================================
   KompetenLab v3: gaya halaman (melengkapi dasar.css dari identitas v2)
   ===================================================================== */
.muted{ color:var(--muted); }
.small{ font-size:.86rem; }
.segera{ display:flex; align-items:center; gap:.5rem; padding:.7rem .9rem; border-radius:12px; background:var(--gold-soft); color:var(--gold-ink); font-weight:600; }
main:focus{ outline:none; }
.btn-danger{ background:var(--danger); border-color:var(--danger); color:#fff; }
.btn-danger:hover{ filter:brightness(1.08); border-color:var(--danger); }
.btn[aria-disabled="true"], .btn:disabled{ opacity:.55; cursor:not-allowed; }

/* ---- header: status masuk ---- */
.nav-actions{ gap:.35rem; }
.nav-user{ min-height:40px; padding:.3rem .85rem; max-width:180px; }
.nav-user span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.nav-mob{ display:none; }
.nav-links a[aria-current="page"]{ color:var(--brand); background:var(--brand-soft); }
.brand{ white-space:nowrap; }
@media (max-width: 860px){
  .nav .wrap{ gap:.5rem; }
  .nav-mob{ display:block; }
  .nav-login{ min-height:40px; padding:.3rem .8rem; border-color:var(--line); }
  .nav-actions{ gap:.2rem; }
}
@media (max-width: 480px){
  .nav-user span{ display:none; }
  .nav-user{ width:44px; padding:0; }
  .brand{ font-size:1.02rem; gap:.45rem; }
  .logo{ width:30px; height:30px; }
}

/* ---- kepala halaman ---- */
.page-head{ padding:44px 0 28px; background:
  radial-gradient(480px 260px at 92% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%),
  radial-gradient(360px 220px at 4% 100%, color-mix(in srgb, var(--lime) 18%, transparent), transparent 70%),
  var(--bg); border-bottom:1px solid var(--line); }
.page-head h1{ font-size:clamp(1.8rem, 4vw, 2.7rem); font-weight:800; letter-spacing:-.03em; margin-bottom:.35em; max-width:20em; }
.page-head .lead{ color:var(--muted); font-size:1.08rem; max-width:44em; margin:0; }
section.block.tight{ padding:36px 0 56px; }
@media (max-width: 600px){ .page-head{ padding:30px 0 22px; } section.block.tight{ padding:26px 0 44px; } }
.two-col{ display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:40px; align-items:start; }
@media (max-width: 860px){ .two-col{ grid-template-columns:1fr; gap:28px; } }
.mini-h{ font-size:.82rem; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); margin:0 0 .6rem; font-family:var(--font); font-weight:800; }

/* ---- beranda ---- */
.hero .hero-grid{ align-items:start; }
.hero-copy{ min-width:0; }
.akses-card{ position:relative; padding:1.35rem; border-radius:22px; background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow-lg); display:flex; flex-direction:column; gap:.7rem; animation:rise .8s cubic-bezier(.2,.7,.2,1) both; }
.akses-card::before{ content:""; position:absolute; left:1.35rem; right:1.35rem; top:0; height:4px; border-radius:0 0 6px 6px; background:linear-gradient(90deg, var(--brand), var(--violet), var(--lime)); }
.akses-top{ display:flex; gap:.9rem; align-items:flex-start; padding-top:.35rem; }
.akses-ic{ width:44px; height:44px; flex:none; border-radius:14px; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand); }
.akses-top h2{ font-size:1.2rem; margin:0 0 .15rem; }
.akses-top p{ margin:0; color:var(--muted); font-size:.92rem; }
.akses-list{ list-style:none; margin:.2rem 0 0; padding:.8rem .9rem; border-radius:14px; background:var(--surface-2); display:flex; flex-direction:column; gap:.5rem; font-size:.9rem; }
.akses-list li{ display:flex; gap:.55rem; align-items:flex-start; }
.akses-list .icon{ color:var(--brand); margin-top:2px; }
.akses-alt{ margin:.1rem 0 0; text-align:center; font-size:.9rem; font-weight:600; }
.akses-alt a{ display:inline-flex; align-items:center; gap:.3rem; min-height:44px; }
.akses-note{ font-size:.85rem; color:var(--gold-ink); background:var(--gold-soft); padding:.55rem .7rem; border-radius:10px; margin:0; }
@media (max-width: 900px){ .hero .hero-grid{ gap:28px; } }
/* hero: soal langsung dijawab, dibingkai seperti layar CAT */
.hero-soal{ min-width:0; border-radius:22px; overflow:hidden; background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow-lg); animation:rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hs-bar{ display:flex; align-items:center; gap:.7rem; padding:.6rem 1rem; background:var(--brand-deep); color:#fff; font-size:.8rem; font-weight:700; }
.hs-dots{ display:inline-flex; gap:.3rem; } .hs-dots i{ width:.55rem; height:.55rem; border-radius:50%; background:rgb(255 255 255 / .35); }
.hs-title{ flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hs-tag{ padding:.15rem .6rem; border-radius:999px; background:var(--lime); color:#1d2a00; font-size:.72rem; white-space:nowrap; }
.hero-soal .coba-card{ border:0; border-radius:0; box-shadow:none; background:transparent; }
.hs-foot{ margin:0; padding:.7rem 1.35rem .9rem; font-size:.88rem; color:var(--muted); border-top:1px solid var(--line); background:var(--surface-2); }
.hs-foot a{ font-weight:700; }
.hero-soal .akses-note{ margin:.6rem 1rem 1rem; }

.trust{ padding:0 0 8px; background:var(--bg); }
.trust-list{ list-style:none; margin:0; padding:1rem 0; display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:10px; }
.trust-list li{ display:flex; gap:.55rem; align-items:center; font-weight:600; font-size:.9rem; padding:.7rem .85rem; border-radius:14px; background:var(--surface); border:1px solid var(--line); }
.trust-list .icon{ color:var(--ok); flex:none; }
@media (max-width: 900px){ .trust-list{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width: 480px){ .trust-list{ grid-template-columns:1fr; } .trust-list li{ padding:.6rem .8rem; } }

.cat-grid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:48px; align-items:center; }
.cat-copy h2{ font-size:clamp(1.6rem, 3vw, 2.25rem); font-weight:800; }
.cat-copy .sub{ color:var(--muted); font-size:1.05rem; }
.tick-list{ list-style:none; margin:1.2rem 0 0; padding:0; display:flex; flex-direction:column; gap:.75rem; }
.tick-list li{ position:relative; padding-left:2rem; }
.tick-list li::before{ content:""; position:absolute; left:0; top:.2rem; width:1.25rem; height:1.25rem; border-radius:50%; background:var(--ok-soft); box-shadow:inset 0 0 0 1.5px var(--ok); }
.tick-list li::after{ content:""; position:absolute; left:.43rem; top:.42rem; width:.4rem; height:.65rem; border:solid var(--ok); border-width:0 2px 2px 0; transform:rotate(45deg) scale(.8); transform-origin:center; }
@media (max-width: 900px){ .cat-grid{ grid-template-columns:1fr; gap:30px; } }

.coba-grid{ display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:44px; align-items:start; }
.coba-grid .sec-head{ margin-bottom:0; }
@media (max-width: 900px){ .coba-grid{ grid-template-columns:1fr; gap:24px; } }
.coba-card{ padding:1.35rem; border-radius:22px; background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow-lg); }
.coba-card .q-text{ font-size:1.08rem; }
.coba-card .opt.ok{ border-color:var(--ok); background:var(--ok-soft); }
.coba-card .opt.ok .L{ background:var(--ok); border-color:var(--ok); color:#fff; }
.coba-card .opt.no{ border-color:var(--danger); background:var(--danger-soft); }
.coba-card .opt.no .L{ background:var(--danger); border-color:var(--danger); color:#fff; }
.coba-card .opt:disabled{ opacity:1; }
.coba-hasil{ margin-top:1.1rem; padding-top:1rem; border-top:1px dashed var(--line); animation:qin .25s ease-out both; --dir:0; }
.coba-verdict{ display:flex; align-items:center; gap:.5rem; font-weight:800; font-size:1.05rem; margin-bottom:.5rem; }
.coba-verdict.ok{ color:var(--ok); } .coba-verdict.no{ color:var(--danger); }
.coba-cta{ display:flex; flex-wrap:wrap; gap:.6rem; margin-top:.9rem; }
.ct-key{ margin:.4rem 0 .6rem; }
.ct-key ol, .ct-key ul{ margin:.3rem 0 0; padding-left:1.3rem; }
.dasar{ margin:0 0 .4rem; font-size:.88rem; color:var(--muted); }
.dasar b{ color:var(--text); }

.fitur-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; }
.fitur{ position:relative; display:flex; flex-direction:column; gap:.4rem; padding:1.25rem; border-radius:18px; background:var(--surface); border:1px solid var(--line); transition:transform .15s, box-shadow .15s, border-color .15s; }
.fitur:hover{ transform:translateY(-3px); box-shadow:var(--shadow-lg); border-color:var(--brand-line); }
.fitur h3{ margin:.35rem 0 0; font-size:1.08rem; }
.fitur p{ margin:0; color:var(--muted); font-size:.93rem; flex:1; }
.fitur .chip{ align-self:flex-start; margin-top:.4rem; }
.f-ic{ width:44px; height:44px; border-radius:13px; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand); }
.f-ic.v{ background:color-mix(in srgb, var(--violet) 15%, transparent); color:var(--violet); }
.f-ic.t{ background:color-mix(in srgb, var(--teal) 15%, transparent); color:var(--teal); }
.f-ic.o{ background:var(--ok-soft); color:var(--ok); }
.f-ic.g{ background:var(--gold-soft); color:var(--gold-ink); }
@media (max-width: 900px){ .fitur-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px){ .fitur-grid{ grid-template-columns:1fr; } }

.sk-group{ margin-bottom:2.2rem; }
.sk-group:last-child{ margin-bottom:0; }
.sk-group[data-g="audit"]{ --acc:var(--violet); }
.sk-group[data-g="software"]{ --acc:var(--teal); }
.sk-group, .grp{ --acc:var(--brand); }
.sk-group .grp-h .g-ic{ background:color-mix(in srgb, var(--acc) 14%, transparent); color:var(--acc); }
.sk-cards{ display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap:14px; }
.sk-card{ position:relative; display:flex; flex-direction:column; gap:.5rem; padding:1.15rem 1.15rem 1rem; border-radius:18px; background:var(--surface); border:1.5px solid var(--line); text-decoration:none; color:var(--text); overflow:hidden; transition:transform .15s, border-color .15s, box-shadow .15s; }
.sk-card::before{ content:""; position:absolute; left:0; top:0; bottom:0; width:5px; background:var(--acc); }
.sk-card:hover{ border-color:var(--acc); transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.sk-card .c-top{ display:flex; align-items:center; justify-content:space-between; gap:.5rem; }
.c-ic{ width:46px; height:46px; border-radius:14px; display:grid; place-items:center; background:linear-gradient(135deg, var(--acc, var(--brand)), color-mix(in srgb, var(--acc, var(--brand)) 60%, var(--brand-deep))); color:#fff; flex:none; }
.c-ic.big{ width:64px; height:64px; border-radius:18px; }
.sk-card .c-tag{ font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--acc); }
.sk-card h3{ margin:-.2rem 0 0; font-size:1.08rem; }
.sk-card p{ margin:0; color:var(--muted); font-size:.9rem; flex:1; }
.sk-card .c-foot{ display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding-top:.7rem; border-top:1px dashed var(--line); font-size:.86rem; color:var(--muted); font-weight:600; }
.sk-card .go{ display:inline-flex; align-items:center; gap:.25rem; color:var(--acc); font-weight:800; }

.info-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; }
.info-card{ display:flex; flex-direction:column; gap:.5rem; padding:1.3rem; border-radius:18px; background:var(--bg); border:1px solid var(--line); }
.info-card h3{ margin:.3rem 0 0; font-size:1.1rem; }
.info-card p{ margin:0; color:var(--muted); font-size:.93rem; flex:1; }
.info-card .more{ display:inline-flex; align-items:center; gap:.3rem; font-weight:700; text-decoration:none; min-height:44px; }
.info-card .more:hover{ text-decoration:underline; }
.info-card .info-skema{ list-style:none; margin:.2rem 0 0; padding:0; display:flex; flex-direction:column; gap:.15rem; }
.info-card .info-skema li{ display:flex; flex-direction:column; padding:.45rem 0; border-top:1px solid var(--line); }
.info-card .info-skema a{ font-weight:700; text-decoration:none; }
.info-card .info-skema a:hover{ text-decoration:underline; }
.info-card .info-skema small{ color:var(--muted); font-size:.8rem; line-height:1.35; }
@media (max-width: 900px){ .info-grid{ grid-template-columns:1fr; } }

.cta-sec{ padding-top:24px !important; }
.cta-band{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1.25rem 2rem; padding:1.75rem 2rem; border-radius:24px; color:#eef2ff; background:linear-gradient(120deg, var(--brand-deep), color-mix(in srgb, var(--brand-deep) 55%, var(--brand))); position:relative; overflow:hidden; }
.cta-band::before{ content:""; position:absolute; right:-60px; top:-80px; width:260px; height:260px; border-radius:50%; border:30px solid #ffffff0d; }
.cta-band > *{ position:relative; }
.cta-band h2{ margin:0 0 .25rem; font-size:clamp(1.3rem, 2.4vw, 1.75rem); color:#fff; }
.cta-band p{ margin:0; color:#c4cdf2; max-width:34em; }
.cta-acts{ display:flex; flex-wrap:wrap; gap:.6rem; }
.cta-ghost{ background:transparent; color:#fff; border-color:#ffffff55; }
.cta-ghost:hover{ background:#ffffff1a; border-color:#fff; color:#fff; }
@media (max-width: 600px){ .cta-band{ padding:1.4rem 1.25rem; } }

/* ---- contoh soal statis ---- */
.contoh-list{ display:flex; flex-direction:column; gap:16px; }
.contoh{ padding:1.25rem 1.35rem; border-radius:18px; background:var(--bg); border:1px solid var(--line); }
section.alt .contoh{ background:var(--bg); }
.ct-head{ display:flex; flex-wrap:wrap; align-items:center; gap:.5rem .6rem; margin-bottom:.7rem; }
.ct-q{ font-weight:600; font-size:1.04rem; line-height:1.65; white-space:pre-line; margin:0 0 .9rem; overflow-wrap:anywhere; }
.ct-hint{ color:var(--muted); font-size:.9rem; margin:0 0 .5rem; }
.ct-opts{ list-style:none; margin:0 0 .9rem; padding:0; display:flex; flex-direction:column; gap:7px; }
.ct-opts li{ display:flex; gap:.7rem; align-items:flex-start; padding:.55rem .7rem; border:1.5px solid var(--line); border-radius:12px; background:var(--surface); overflow-wrap:anywhere; }
.ct-opts li b{ flex:none; width:28px; height:28px; border-radius:8px; display:grid; place-items:center; background:var(--surface-2); border:1.5px solid var(--line); font-size:.85rem; }
.ct-opts li span{ padding-top:.2rem; min-width:0; }
.ct-jd{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:.9rem; }
.ct-jd ol{ margin:0; padding-left:1.3rem; display:flex; flex-direction:column; gap:.4rem; }
.ct-jd ol.alpha{ list-style:none; padding:0; }
.ct-jd ol.alpha li{ display:flex; gap:.5rem; }
.ct-jd ol.alpha b{ flex:none; width:24px; height:24px; border-radius:6px; background:var(--surface-2); display:grid; place-items:center; font-size:.78rem; }
@media (max-width: 560px){ .ct-jd{ grid-template-columns:1fr; } }
.ct-urut, .ct-akun{ margin:0 0 .9rem; padding-left:1.2rem; display:flex; flex-direction:column; gap:.3rem; }
.ct-urut li{ padding:.45rem .7rem; border:1px dashed var(--line); border-radius:10px; background:var(--surface); list-style:none; margin-left:-1.2rem; }
.ct-akun{ columns:2; display:block; }
.ct-ans{ border:1px solid var(--line); border-radius:14px; background:var(--surface); }
.ct-ans[open]{ border-color:var(--brand-line); }
.ct-ans summary{ list-style:none; cursor:pointer; min-height:44px; padding:.6rem 1rem; font-weight:700; display:flex; align-items:center; justify-content:space-between; gap:1rem; color:var(--brand); }
.ct-ans summary::-webkit-details-marker{ display:none; }
.ct-ans summary .icon{ transition:transform .2s; }
.ct-ans[open] summary .icon{ transform:rotate(45deg); }
.ct-ans-in{ padding:0 1rem 1rem; border-top:1px dashed var(--line); padding-top:.8rem; font-size:.95rem; }
.ct-ans-in p{ white-space:pre-line; }
.ct-jr{ width:100%; border-collapse:collapse; margin-top:.4rem; font-size:.9rem; }
.ct-jr th{ text-align:left; font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); padding:.35rem .5rem; background:var(--surface-2); }
.ct-jr td{ padding:.35rem .5rem; border-top:1px solid var(--line); }
.ct-jr .r{ text-align:right; white-space:nowrap; }
.ct-jr tr.k td:first-child{ padding-left:1.6rem; }

/* ---- halaman skema ---- */
.skema-head{ --acc:var(--brand); }
.skema-head[data-g="audit"]{ --acc:var(--violet); }
.skema-head[data-g="software"]{ --acc:var(--teal); }
.crumbs{ display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; font-size:.86rem; color:var(--muted); margin-bottom:1rem; }
.crumbs a{ color:var(--muted); text-decoration:none; font-weight:600; }
.crumbs a:hover{ color:var(--brand); text-decoration:underline; }
.sk-hero{ display:grid; grid-template-columns:auto minmax(0,1fr); gap:1.4rem; align-items:start; }
.sk-hero .lead{ margin-bottom:.7rem; }
.sk-hero h1{ max-width:24em; }
.penyelenggara{ font-size:.95rem; margin:0 0 .8rem; }
.chips{ display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom:1rem; }
.sk-hero .hero-cta{ margin:.4rem 0 0; }
@media (max-width: 600px){ .sk-hero{ grid-template-columns:1fr; } .c-ic.big{ width:52px; height:52px; } }
.fakta{ margin:0; padding-left:1.2rem; display:flex; flex-direction:column; gap:.6rem; }
.sumber-list{ list-style:none; padding:0; margin:0 0 .8rem; display:flex; flex-direction:column; gap:.4rem; }
.sumber-list a{ display:flex; align-items:center; gap:.5rem; min-height:44px; padding:.4rem .8rem; border-radius:12px; border:1px solid var(--line); background:var(--bg); text-decoration:none; font-weight:700; font-size:.9rem; overflow:hidden; }
.sumber-list a:hover{ border-color:var(--brand-line); }
.sumber-list .path{ color:var(--muted); font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; flex:1; min-width:0; }
.sumber-list .icon{ flex:none; margin-left:auto; color:var(--muted); }
.unit-list{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap:8px; }
.unit-row{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.2rem .6rem; align-items:center; min-height:52px; padding:.5rem .8rem; border-radius:12px; border:1px solid var(--line); background:var(--surface); text-decoration:none; color:inherit; font-size:.9rem; font-weight:600; }
.unit-row:hover{ border-color:var(--brand); color:var(--brand); }
.unit-row small{ color:var(--muted); font-weight:700; white-space:nowrap; }
.unit-row .ub{ grid-column:1 / -1; height:4px; border-radius:99px; background:var(--surface-3); overflow:hidden; }
.unit-row .ub i{ display:block; height:100%; background:var(--brand); border-radius:99px; }
.c-mix{ display:flex; height:6px; border-radius:99px; overflow:hidden; gap:2px; background:var(--surface-3); }
.c-mix.big{ height:14px; }
.c-mix i{ display:block; height:100%; background:var(--brand); opacity:.9; }
.c-mix i:nth-child(2){ opacity:.7; } .c-mix i:nth-child(3){ opacity:.55; } .c-mix i:nth-child(4){ opacity:.42; } .c-mix i:nth-child(5){ opacity:.32; } .c-mix i:nth-child(6){ opacity:.24; } .c-mix i:nth-child(7){ opacity:.18; }
.mix-list{ list-style:none; margin:.9rem 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap:8px; }
.mix-list li{ display:flex; align-items:center; gap:.6rem; padding:.5rem .7rem; border-radius:12px; border:1px solid var(--line); background:var(--surface); font-size:.9rem; font-weight:600; }
.mix-list li b{ margin-left:auto; }
.ts .ts-ic, .mix-list .ts-ic{ width:30px; height:30px; border-radius:9px; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand); flex:none; }
.sim-note{ display:flex; gap:.5rem; align-items:flex-start; margin:1rem 0 0; padding:.7rem .85rem; border-radius:10px; background:var(--gold-soft); color:var(--gold-ink); font-size:.88rem; }

/* ---- harga ---- */
.pay-status{ display:flex; flex-wrap:wrap; align-items:center; gap:.8rem 1rem; margin-top:1.4rem; padding:1rem 1.15rem; border-radius:16px; border:1.5px solid var(--gold); background:var(--gold-soft); color:var(--gold-ink); max-width:56rem; }
.pay-status > div{ flex:1 1 260px; min-width:0; }
.pay-status .icon{ flex:none; }
.layer{ margin-bottom:2.2rem; }
.layer-h{ margin-bottom:1rem; }
.layer-h h3{ display:inline; font-size:1.3rem; margin:0 0 0 .5rem; }
.layer-h p{ margin:.4rem 0 0; color:var(--muted); max-width:46rem; }
.prices.two{ grid-template-columns:repeat(2, minmax(0,1fr)); max-width:52rem; }
@media (max-width: 700px){ .prices.two{ grid-template-columns:1fr; } }
.price{ background:var(--surface); }
.price .ribbon{ position:absolute; top:-12px; left:1.5rem; }
.price h3{ margin-top:.5rem; }
.price .perhari{ margin:0 0 .6rem; font-size:.86rem; color:var(--muted); font-weight:600; }
.price .ringkas{ color:var(--muted); font-size:.92rem; flex:1; margin:0 0 1rem; }
.price .amt .num{ font-variant-numeric:tabular-nums; }
.tim-card{ display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:1.25rem; align-items:center; padding:1.4rem; border-radius:20px; background:var(--bg); border:1.5px dashed var(--brand-line); }
.tim-card h3{ margin:0 0 .3rem; }
.tim-card p{ margin:0 0 .4rem; }
.tim-ic{ width:56px; height:56px; border-radius:16px; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand); }
@media (max-width: 700px){ .tim-card{ grid-template-columns:1fr; } }
.tbl-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:16px; background:var(--surface); -webkit-overflow-scrolling:touch; }
.bandingan, table.plain{ width:100%; border-collapse:collapse; font-size:.94rem; min-width:520px; }
.bandingan th, .bandingan td, table.plain th, table.plain td{ padding:.7rem .9rem; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.bandingan thead th, table.plain thead th{ font-size:.75rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); background:var(--surface-2); }
.bandingan tbody th, table.plain tbody th{ font-weight:600; }
.bandingan td{ text-align:center; }
.bandingan thead th:not(:first-child){ text-align:center; }
.bandingan .col-pass{ color:var(--brand); }
.bandingan tr:last-child th, .bandingan tr:last-child td, table.plain tr:last-child th, table.plain tr:last-child td{ border-bottom:0; }
.bandingan .yes{ color:var(--ok); display:inline-flex; }
.bandingan .no{ color:var(--muted); }
.bandingan .cap{ font-size:.82rem; font-weight:700; color:var(--gold-ink); background:var(--gold-soft); padding:.15rem .5rem; border-radius:999px; display:inline-block; }
.bandingan td:last-child{ background:color-mix(in srgb, var(--brand) 5%, transparent); }
.ketentuan{ list-style:none; margin:0 0 1rem; padding:0; display:flex; flex-direction:column; gap:.55rem; }
.ketentuan li{ display:flex; gap:.6rem; align-items:flex-start; }
.ketentuan .icon{ color:var(--ok); margin-top:4px; flex:none; }
.jujur{ display:flex; gap:1rem; align-items:flex-start; padding:1.4rem; border-radius:20px; background:var(--surface); border:1px solid var(--line); }
.jujur > .icon{ color:var(--brand); flex:none; margin-top:4px; }
.jujur h2{ font-size:1.2rem; margin-bottom:.4rem; }
.jujur p{ margin:0; color:var(--muted); }

/* ---- tryout ---- */
.akses-bar{ display:flex; flex-wrap:wrap; align-items:center; gap:.6rem 1rem; margin-top:1.2rem; padding:.7rem 1rem; border-radius:16px; background:var(--surface); border:1px solid var(--line); max-width:60rem; }
.ab-ic{ width:34px; height:34px; border-radius:10px; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand); flex:none; }
.ab-tx{ flex:1 1 260px; min-width:0; font-size:.93rem; }
.ab-acts{ display:flex; flex-wrap:wrap; gap:.4rem; }
.cat-wrap{ display:flex; flex-direction:column; gap:.4rem; min-width:0; }
.cat-wrap .cat{ flex:1; width:100%; }
.cat-info{ font-size:.86rem; font-weight:700; text-decoration:none; padding:.3rem .4rem; min-height:36px; display:inline-flex; align-items:center; }
.cat-info:hover{ text-decoration:underline; }
.grp, .sk-group{ --acc:var(--brand); }
.grp[data-g="audit"], .sk-group[data-g="audit"]{ --acc:var(--violet); }
.grp[data-g="software"], .sk-group[data-g="software"]{ --acc:var(--teal); }
.mode .lockchip{ gap:.25rem; }
.setup-lock{ display:flex; flex-wrap:wrap; align-items:center; gap:.5rem .8rem; margin-top:.7rem; padding:.7rem .85rem; border-radius:12px; background:var(--gold-soft); color:var(--gold-ink); font-size:.9rem; }
.setup-lock > span:nth-child(2){ flex:1 1 220px; min-width:0; }
.lk-acts{ display:flex; gap:.4rem; flex-wrap:wrap; }
.mode-opt strong .chip{ margin-left:.35rem; vertical-align:middle; font-size:.68rem; padding:.05rem .45rem; }
.cats.n3{ grid-template-columns:repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* ---- ruang ujian: panel status & hasil terkunci ---- */
.status-panel{ padding:56px 0 72px; min-height:50vh; }
.status-card{ max-width:520px; margin:0 auto; padding:2rem 1.75rem; border-radius:24px; background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow-lg); text-align:center; }
.status-card .st-ic{ width:64px; height:64px; margin:0 auto 1rem; border-radius:20px; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand); }
.status-card h1, .status-card h2{ font-size:1.5rem; margin-bottom:.5rem; }
.status-card p{ color:var(--muted); margin:0 0 1.25rem; }
.st-acts{ display:flex; flex-wrap:wrap; justify-content:center; gap:.6rem; }
.bahas-panel{ display:flex; flex-wrap:wrap; align-items:center; gap:.8rem 1rem; padding:1rem 1.1rem; margin-bottom:1rem; border-radius:16px; border:1.5px solid var(--gold); background:var(--gold-soft); color:var(--gold-ink); }
.bahas-panel.open{ border-color:var(--ok); background:var(--ok-soft); color:var(--ok); }
.bahas-panel .bp-ic{ width:40px; height:40px; border-radius:12px; display:grid; place-items:center; background:color-mix(in srgb, currentColor 14%, transparent); flex:none; }
.bahas-panel .bp-tx{ flex:1 1 260px; min-width:0; display:flex; flex-direction:column; }
.bahas-panel .bp-tx span{ font-size:.92rem; opacity:.9; }
.bahas-panel .bp-muat{ margin:0; font-weight:600; }
.bp-acts{ display:flex; flex-wrap:wrap; gap:.5rem; }
.rv-ex.lock{ display:flex; align-items:center; gap:.5rem; color:var(--muted); font-size:.9rem; background:var(--surface-2); border-left-color:var(--line); }
.panel-lock{ position:relative; }
.locked-bars .bar-row.locked .tr{ background:repeating-linear-gradient(135deg, var(--surface-3) 0 8px, var(--surface-2) 8px 16px); }
.locked-bars .bar-row.locked .tr::after{ display:none; }
.locked-bars .bar-row.locked .nm{ color:var(--muted); }
.lock-msg{ margin:1rem 0 .7rem; color:var(--muted); font-size:.93rem; }
.lock-acts{ display:flex; flex-wrap:wrap; gap:.5rem; }
.res-acts .btn[data-locked="1"]{ border-style:dashed; }

/* ---- form & akun ---- */
.auth-wrap{ padding:44px 0 72px; min-height:60vh; background:radial-gradient(520px 320px at 85% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%), var(--bg); }
.auth-card{ max-width:440px; margin:0 auto; padding:2rem 1.75rem; border-radius:24px; background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow-lg); }
.auth-ic{ width:56px; height:56px; border-radius:18px; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand); margin-bottom:1rem; }
.auth-card h1{ font-size:1.7rem; margin-bottom:.35rem; }
.auth-sub{ color:var(--muted); margin-bottom:1.25rem; }
.auth-foot{ text-align:center; margin:1.1rem 0 0; font-size:.93rem; }
.form{ display:flex; flex-direction:column; gap:1rem; }
.field{ display:flex; flex-direction:column; gap:.35rem; }
.field label{ font-weight:700; font-size:.9rem; }
.field input, .field select, .field textarea{ width:100%; min-height:48px; font-size:16px; padding:.55rem .8rem; border-radius:12px; border:1.5px solid var(--line); background:var(--bg); color:var(--text); }
.field input:focus{ outline:none; border-color:var(--brand); box-shadow:0 0 0 3px color-mix(in srgb, var(--gold) 55%, transparent); }
.field input:disabled{ opacity:.7; cursor:not-allowed; }
.field .help{ color:var(--muted); font-size:.82rem; }
.pw{ position:relative; }
.pw input{ padding-right:3rem; }
.pw-toggle{ position:absolute; right:4px; top:50%; transform:translateY(-50%); width:44px; height:44px; border:0; background:transparent; border-radius:10px; cursor:pointer; display:grid; place-items:center; color:var(--muted); }
.pw-toggle:hover, .pw-toggle[aria-pressed="true"]{ color:var(--brand); }
.check{ display:flex; gap:.65rem; align-items:flex-start; font-size:.9rem; cursor:pointer; }
.check input{ width:22px; height:22px; margin:2px 0 0; accent-color:var(--brand); flex:none; }
.form-msg{ padding:.65rem .85rem; border-radius:12px; font-size:.92rem; font-weight:600; }
.form-msg.err{ background:var(--danger-soft); color:var(--danger); }
.form-msg.ok{ background:var(--ok-soft); color:var(--ok); }
.form-alt{ margin:0; text-align:center; font-size:.92rem; }
/* halaman bayar (QRIS + kode unik) */
.bayar-card{ max-width:460px; }
.bayar-demo{ background:var(--gold-soft); color:var(--gold-ink); font-weight:500; margin-bottom:1rem; }
.bayar-langkah{ display:flex; flex-direction:column; gap:.9rem; }
.bayar-harga{ margin:0; display:flex; justify-content:space-between; align-items:baseline; }
.qris-box{ display:flex; flex-direction:column; align-items:center; gap:.4rem; padding:1rem; border-radius:18px; background:#fff; border:1px solid var(--line); }
.qris-box img{ width:min(280px, 100%); height:auto; aspect-ratio:1; image-rendering:pixelated; }
.qris-penerima{ margin:0; color:#555; }
.bayar-nominal{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:.4rem .8rem; text-align:center; }
.bayar-nominal > span{ flex-basis:100%; }
.bayar-nominal strong{ font-size:2rem; letter-spacing:.01em; }
.bayar-nominal mark{ background:var(--gold-soft); color:var(--gold-ink); border-radius:6px; padding:0 .15em; }
.bayar-rinci{ margin:0; color:var(--muted); text-align:center; }
.bayar-cara{ margin:0; padding-left:1.2rem; display:flex; flex-direction:column; gap:.3rem; }
.bayar-status{ display:flex; align-items:center; gap:.6rem; padding:.7rem .9rem; border-radius:12px; background:var(--brand-soft); color:var(--brand); font-weight:700; }
.bayar-status .titik{ width:10px; height:10px; border-radius:50%; background:currentColor; animation:kedip 1.2s ease-in-out infinite; flex:none; }
@keyframes kedip{ 50%{ opacity:.25; } }
@media (prefers-reduced-motion: reduce){ .bayar-status .titik{ animation:none; } }
.bayar-ok{ margin:0; display:grid; place-items:center; width:64px; height:64px; border-radius:50%; background:var(--ok-soft); color:var(--ok); }
.akun-grid{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:20px; align-items:start; }
.akun-col{ display:flex; flex-direction:column; gap:20px; min-width:0; }
.akun-col .panel, .akun-col .notice{ margin-bottom:0; }
@media (max-width: 860px){ .akun-grid{ grid-template-columns:1fr; } }
.pass-list{ list-style:none; margin:0 0 .8rem; padding:0; display:flex; flex-direction:column; gap:.6rem; }
.pass-list li{ display:flex; gap:.7rem; align-items:center; padding:.7rem .85rem; border-radius:12px; background:var(--surface-2); }
.pass-list small{ display:block; color:var(--muted); }
.danger-zone{ border-color:color-mix(in srgb, var(--danger) 45%, var(--line)); }
.danger-zone h2 .icon{ color:var(--danger); }
.hist.plain{ border:0; padding:0; margin-bottom:1rem; background:transparent; grid-template-columns:1fr; }
.hist.plain .hist-top{ margin-bottom:.2rem; }

/* ---- halaman dokumen ---- */
.doc-layout{ display:grid; grid-template-columns:230px minmax(0,1fr); gap:40px; align-items:start; }
.doc-layout.single{ grid-template-columns:minmax(0,1fr); }
.doc-layout.single .doc{ max-width:46rem; }
.doc-toc{ position:sticky; top:calc(var(--nav-h) + 16px); padding:1rem 1.1rem; border-radius:16px; background:var(--surface); border:1px solid var(--line); }
.doc-toc h2{ font-size:.78rem; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); font-family:var(--font); margin-bottom:.5rem; }
.doc-toc ol{ margin:0; padding-left:1.1rem; display:flex; flex-direction:column; gap:.1rem; }
.doc-toc a{ display:inline-flex; align-items:center; min-height:34px; text-decoration:none; font-weight:600; font-size:.92rem; }
.doc-toc a:hover{ text-decoration:underline; }
@media (max-width: 860px){ .doc-layout{ grid-template-columns:1fr; gap:20px; } .doc-toc{ position:static; } }
.doc{ min-width:0; }
.doc section{ scroll-margin-top:calc(var(--nav-h) + 12px); margin-bottom:2.2rem; }
.doc h2{ font-size:1.4rem; margin:2rem 0 .7rem; }
.doc section:first-child h2, .doc > h2:first-child{ margin-top:0; }
.doc p, .doc li{ overflow-wrap:anywhere; }
.doc ul, .doc ol{ padding-left:1.3rem; display:flex; flex-direction:column; gap:.5rem; margin:0 0 1rem; }
.doc ul.ketentuan{ padding-left:0; }
.doc-steps li::marker{ font-weight:800; color:var(--brand); }
.doc-dl{ margin:0; display:grid; grid-template-columns:minmax(0,200px) minmax(0,1fr); gap:.6rem 1.2rem; }
.doc-dl dt{ font-weight:800; }
.doc-dl dd{ margin:0; color:var(--muted); }
@media (max-width: 600px){ .doc-dl{ grid-template-columns:1fr; gap:.1rem; } .doc-dl dd{ margin-bottom:.6rem; } }
.doc-cta{ display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1.5rem; }
.doc code{ font-size:.88em; padding:.05rem .35rem; border-radius:6px; background:var(--surface-2); }
.kbd-list.big{ font-size:.95rem; }
.kontak-card{ display:flex; gap:1rem; align-items:flex-start; padding:1.25rem; border-radius:18px; background:var(--surface); border:1px solid var(--line); margin-bottom:1.5rem; }
.kontak-card h2{ margin:0 0 .4rem; font-size:1.15rem; }
.kontak-card p{ margin:0 0 .4rem; }
.faq.wide{ max-width:880px; }
.faq .faq-g{ font-size:.82rem; text-transform:uppercase; letter-spacing:.12em; color:var(--brand); font-family:var(--font); font-weight:800; margin:1.6rem 0 .7rem; }
.faq .faq-g:first-child{ margin-top:0; }
.faq details a, .doc a{ font-weight:600; }
footer.site .f-grid{ grid-template-columns:minmax(0,1.5fr) repeat(3, minmax(0,1fr)); }
footer.site .f-pengelola{ font-size:.85rem; color:#9fa9d4; margin:.5rem 0 0; }
@media (max-width: 860px){ footer.site .f-grid{ grid-template-columns:1fr 1fr; } footer.site .f-about{ grid-column:1 / -1; } }

/* ---- gabung dengan komponen lama ---- */
.hero-stats strong{ font-size:1.7rem; }
section.block.alt{ background:var(--surface); }
.hero-cta .btn-lg{ flex:0 1 auto; }
@media (max-width: 480px){
  .hero-cta .btn{ width:100%; }
  .hero h1{ font-size:2rem; }
  .hero-stats{ gap:.8rem 1.4rem; }
  .coba-card, .akses-card{ padding:1.1rem; }
  .auth-card, .status-card{ padding:1.5rem 1.2rem; }
  .doc h2{ font-size:1.25rem; }
  .cat .c-top .chip{ font-size:.72rem; }
}
.tipe-strip{ margin-top:0; }

/* grup UKP */
.sk-group[data-g="ukp"], .skema-head[data-g="ukp"], .grp[data-g="ukp"]{ --acc:var(--gold); }

/* filter kelompok + pencarian (halaman /skema/ dan /tryout/) */
.filter-bar{ display:flex; flex-wrap:wrap; align-items:center; gap:.7rem 1rem; margin:0 0 .6rem; }
.fchips{ display:flex; flex-wrap:wrap; gap:.4rem; }
.fchip{ display:inline-flex; align-items:center; gap:.4rem; min-height:40px; padding:.35rem .9rem; border-radius:999px; border:1.5px solid var(--line); background:var(--surface); color:var(--text); font:inherit; font-size:.88rem; font-weight:700; cursor:pointer; transition:border-color .15s, background .15s; }
.fchip:hover{ border-color:var(--brand); }
.fchip .num{ font-size:.78rem; padding:.05rem .45rem; border-radius:999px; background:var(--surface-2); color:var(--muted); }
.fchip.is-on{ background:var(--brand); border-color:var(--brand); color:var(--brand-ink); }
.fchip.is-on .num{ background:rgb(255 255 255 / .22); color:inherit; }
.cari{ flex:1 1 240px; min-width:0; max-width:26rem; min-height:44px; padding:.5rem 1rem; border-radius:999px; border:1.5px solid var(--line); background:var(--surface); color:var(--text); font:inherit; font-size:.92rem; margin-left:auto; }
.cari:focus-visible, .fchip:focus-visible{ outline:3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset:2px; }
.filter-hasil{ min-height:1.4em; margin:0 0 1rem; color:var(--muted); font-size:.88rem; }
.filter-kosong{ padding:1.4rem; border-radius:16px; border:1.5px dashed var(--line); color:var(--muted); text-align:center; }
.sec-mini{ margin:2.2rem 0 1rem; }
.sec-mini h2{ font-size:clamp(1.25rem, 2.6vw, 1.6rem); margin:0 0 .25rem; }
.sec-mini p{ margin:0; color:var(--muted); }

.sec-more{ display:flex; flex-wrap:wrap; gap:.7rem; justify-content:center; margin:1.8rem 0 0; }

/* tryout: lanjut berlatih, cocok untuk, tombol cepat */
.recent{ margin:0 0 1.6rem; }
.recent h3{ margin:0 0 .6rem; font-size:1.05rem; }
.recent-list{ display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap:12px; }
.recent-item{ display:flex; flex-direction:column; gap:.2rem; text-align:left; padding:.9rem 1rem; border-radius:16px; border:1.5px solid var(--line); background:var(--surface); color:var(--text); font:inherit; cursor:pointer; transition:border-color .15s, transform .15s; }
.recent-item:hover{ border-color:var(--brand); transform:translateY(-2px); }
.recent-item:focus-visible{ outline:3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset:2px; }
.ri-t{ font-weight:800; }
.ri-m{ color:var(--muted); font-size:.85rem; }
.ri-go{ display:inline-flex; align-items:center; gap:.25rem; margin-top:.25rem; color:var(--brand); font-weight:800; font-size:.88rem; }
.m-for{ display:block; margin-top:.5rem; padding-top:.5rem; border-top:1px dashed var(--line); color:var(--muted); font-size:.8rem; line-height:1.4; }
.cat-quick{ display:inline-flex; align-items:center; gap:.35rem; min-height:40px; padding:.3rem .5rem; font-size:.86rem; font-weight:700; text-decoration:none; color:var(--brand); }
.cat-quick:hover{ text-decoration:underline; }

/* skema: tujuan, badge usaha, tabel perbandingan */
.tujuan-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap:16px; }
.tujuan-card{ display:flex; flex-direction:column; gap:.55rem; padding:1.3rem; border-radius:18px; background:var(--surface); border:1px solid var(--line); }
.tujuan-card h3{ margin:0; font-size:1.08rem; }
.tujuan-card p{ margin:0; color:var(--muted); font-size:.92rem; flex:1; }
.tj-links{ display:flex; flex-wrap:wrap; gap:.4rem; }
.tj-link{ display:inline-flex; align-items:center; min-height:36px; padding:.25rem .8rem; border-radius:999px; background:var(--brand-soft); color:var(--brand); font-size:.84rem; font-weight:800; text-decoration:none; }
.tj-link:hover{ text-decoration:underline; }
.sk-usaha{ align-self:flex-start; font-size:.76rem; font-weight:800; padding:.2rem .6rem; border-radius:999px; background:var(--surface-2); color:var(--muted); }
.sk-usaha.izin{ background:var(--gold-soft); color:var(--gold-ink); }
.tbl-wrap{ overflow-x:auto; border-radius:16px; border:1px solid var(--line); background:var(--surface); }
.tbl-wrap:focus-visible{ outline:3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset:2px; }
.tbl-skema{ width:100%; border-collapse:collapse; font-size:.9rem; min-width:640px; }
.tbl-skema th, .tbl-skema td{ padding:.7rem .9rem; text-align:left; border-bottom:1px solid var(--line); vertical-align:top; }
.tbl-skema thead th{ font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); background:var(--surface-2); white-space:nowrap; }
.tbl-skema tbody th{ font-weight:800; }
.tbl-skema tbody th a{ text-decoration:none; }
.tbl-skema tbody th a:hover{ text-decoration:underline; }
.tbl-skema td.num{ text-align:right; }
.tbl-skema tbody tr:last-child th, .tbl-skema tbody tr:last-child td{ border-bottom:0; }

/* prospek & peluang kerja (halaman skema) */
.prospek-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:20px; }
.prospek-card{ padding:1.4rem; border-radius:18px; background:var(--surface); border:1px solid var(--line); display:flex; flex-direction:column; gap:.6rem; }
.prospek-card h3{ margin:0; font-size:1.1rem; }
.prospek-card p{ margin:0; color:var(--muted); }
.prospek-badge{ align-self:flex-start; font-size:.78rem; font-weight:800; padding:.3rem .7rem; border-radius:999px; background:var(--surface-2); }
.prospek-card.usaha.izin .prospek-badge{ background:var(--gold-soft); color:var(--gold-ink); }
.prospek-card.usaha.ok .prospek-badge{ background:var(--ok-soft, var(--surface-2)); color:var(--ok, inherit); }
.prospek-card.usaha.izin{ border-color:var(--gold); }
.prospek-syarat, .prospek-sumber{ margin-top:.4rem; }
.prospek-syarat summary, .prospek-sumber summary{ cursor:pointer; font-weight:700; min-height:44px; display:flex; align-items:center; }
.prospek-syarat ul{ margin-top:.4rem; font-size:.92rem; }
.prospek-catatan{ display:flex; gap:.5rem; align-items:flex-start; margin:1.2rem 0 0; color:var(--muted); font-size:.92rem; }
.prospek-sumber ul{ margin:.3rem 0 0; padding-left:1.2rem; font-size:.88rem; }

/* ===== putaran pemisahan Tryout / Skema ===== */
/* tryout: tombol mode */
button.mode{ font:inherit; color:inherit; text-align:left; cursor:pointer; width:100%; display:flex; flex-direction:column; align-items:flex-start; transition:border-color .15s, transform .15s, box-shadow .15s; }
button.mode:hover{ border-color:var(--acc); transform:translateY(-2px); }
button.mode:focus-visible{ outline:3px solid color-mix(in srgb, var(--acc) 55%, transparent); outline-offset:2px; }
button.mode.is-pick{ border-color:var(--acc); box-shadow:0 0 0 3px color-mix(in srgb, var(--acc) 22%, transparent); background:color-mix(in srgb, var(--acc) 6%, var(--surface)); }
.mode .m-t{ display:block; margin:.6rem 0 .25rem; font-size:1rem; font-family:var(--head, inherit); }
.mode .m-d{ display:block; font-size:.86rem; color:var(--muted); flex:1; }
.mode .m-for{ width:100%; }
.modes{ margin-bottom:.7rem; }
.mode-hint{ margin:0 0 .5rem; padding:.6rem .9rem; border-radius:12px; background:var(--surface-2); color:var(--muted); font-size:.9rem; }
.pg-tryout .cat h3{ margin-top:.1rem; }
/* tryout: statistik latihan */
.stat-latih{ display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:10px; margin:0 0 1.4rem; }
.stat-latih > div{ padding:.8rem 1rem; border-radius:14px; background:var(--surface); border:1px solid var(--line); display:flex; flex-direction:column; }
.stat-latih b{ font-size:1.5rem; line-height:1.1; font-family:var(--head, inherit); }
.stat-latih span{ color:var(--muted); font-size:.8rem; }
@media (max-width: 760px){ .stat-latih{ grid-template-columns:repeat(2, minmax(0,1fr)); } .stat-latih > div:last-child{ grid-column:1 / -1; } }
/* skema detail: navigasi bagian, unit bukan tautan, sumber, terkait */
.sec-nav{ display:flex; flex-wrap:wrap; gap:.4rem; margin-top:1.4rem; padding-top:1rem; border-top:1px solid var(--line); }
.sec-nav a{ display:inline-flex; align-items:center; min-height:40px; padding:.3rem .9rem; border-radius:999px; background:var(--surface); border:1px solid var(--line); color:var(--text); text-decoration:none; font-size:.86rem; font-weight:700; }
.sec-nav a:hover{ border-color:var(--brand); color:var(--brand); }
html{ scroll-padding-top:84px; }
li.unit-row{ cursor:default; }
li.unit-row:hover{ border-color:var(--line); color:inherit; }
.sumber-list a b{ flex:none; }
.terkait-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap:14px; }
.terkait-grid .sk-cards{ display:block; height:100%; }
.terkait-grid .sk-card{ height:100%; }
.sk-group[data-g="bnsp"], .skema-head[data-g="bnsp"]{ --acc:var(--brand); }

/* ===== v2: dasbor Tryout & katalog Skema ===== */
/* --- hero bersama --- */
.try-hero, .sk-idx-hero{ padding:48px 0 34px; background:
  radial-gradient(900px 380px at 88% -10%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
  radial-gradient(700px 320px at 0% 0%, color-mix(in srgb, var(--lime) 14%, transparent), transparent 70%), var(--surface-2);
  border-bottom:1px solid var(--line); }
.try-hero h1, .sk-idx-hero h1{ font-size:clamp(2rem, 4.6vw, 3.1rem); font-weight:800; letter-spacing:-.035em; margin:0 0 .4em; max-width:18em; }
.try-hero h1 em, .sk-idx-hero h1 em{ font-style:normal; color:var(--brand); background:linear-gradient(transparent 62%, color-mix(in srgb, var(--lime) 60%, transparent) 62%); }
.try-hero .lead, .sk-idx-hero .lead{ color:var(--muted); font-size:1.08rem; max-width:40em; margin:0; }
.try-hero-grid{ display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:32px; align-items:center; }
.try-hero .akses-bar{ margin-top:1.3rem; }
/* kartu tantangan harian */
.daily-card{ position:relative; overflow:hidden; padding:1.4rem; border-radius:24px; color:#eef2ff;
  background:linear-gradient(140deg, var(--brand-deep), color-mix(in srgb, var(--brand) 78%, #000)); box-shadow:var(--shadow-lg); }
.daily-card::before{ content:""; position:absolute; right:-50px; top:-70px; width:220px; height:220px; border-radius:50%; border:28px solid #ffffff10; }
.daily-card > *{ position:relative; }
.dc-top{ display:flex; align-items:center; justify-content:space-between; gap:.6rem; margin-bottom:.9rem; }
.daily-card .d-ic{ width:52px; height:52px; border-radius:16px; background:var(--lime); color:#1d2a00; display:grid; place-items:center; }
.dc-tag{ font-size:.74rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; padding:.25rem .7rem; border-radius:999px; background:#ffffff1f; }
.daily-card h2{ margin:0 0 .3rem; font-size:1.35rem; color:#fff; }
.daily-card p{ margin:0 0 1rem; color:#c9d2f5; font-size:.94rem; }
.daily-card .btn{ width:100%; background:var(--lime); border-color:var(--lime); color:#1d2a00; }
.daily-card .done{ color:var(--lime); font-weight:800; }
/* --- tata letak dasbor --- */
.try-layout{ display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:32px; align-items:start; }
.try-aside{ position:sticky; top:84px; display:flex; flex-direction:column; gap:14px; }
.side-card{ padding:1.1rem 1.15rem; border-radius:18px; background:var(--surface); border:1px solid var(--line); margin:0; }
.side-card h3{ margin:0 0 .7rem; font-size:1rem; }
.try-aside .hist{ display:block; margin:0; }
.try-aside .hist .trend{ margin-bottom:.6rem; }
.try-aside .hist li{ grid-template-columns:minmax(0,1fr) auto; }
.try-aside .hist .h-badge{ display:none; }
.try-aside .stat-latih{ display:block; }
.stat-grid{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.stat-grid > div{ padding:.7rem .8rem; border-radius:12px; background:var(--surface-2); display:flex; flex-direction:column; border:0; }
.stat-grid b{ font-size:1.45rem; line-height:1.1; font-family:var(--head, inherit); }
.stat-grid span{ color:var(--muted); font-size:.78rem; }
.stat-streak{ display:flex; align-items:center; gap:.35rem; margin:.7rem 0 0; color:var(--gold-ink); font-weight:700; font-size:.9rem; }
.try-aside .recent{ margin:0; }
.try-aside .recent-list{ grid-template-columns:1fr; gap:8px; }
.try-aside .recent-item{ padding:.7rem .85rem; border-radius:12px; }
.tip-steps{ list-style:none; counter-reset:t; margin:0; padding:0; display:flex; flex-direction:column; gap:.7rem; }
.tip-steps li{ counter-increment:t; display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:.7rem; }
.tip-steps li::before{ content:counter(t); grid-row:1 / span 2; width:26px; height:26px; border-radius:50%; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand); font-weight:800; font-size:.8rem; }
.tip-steps b{ font-size:.92rem; }
.tip-steps span{ color:var(--muted); font-size:.84rem; }
/* langkah */
.step-head{ display:flex; gap:.9rem; align-items:flex-start; margin:0 0 1rem; }
.step-head + .modes, .mode-hint + .step-head{ margin-top:0; }
.mode-hint{ margin-bottom:2.2rem; }
.step-no{ flex:none; width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:var(--brand); color:var(--brand-ink); font-weight:800; font-size:1.1rem; font-family:var(--head, inherit); }
.step-head h2{ margin:0 0 .15rem; font-size:clamp(1.25rem, 2.6vw, 1.55rem); }
.step-head p{ margin:0; color:var(--muted); font-size:.95rem; }
/* mode */
.pg-tryout .modes{ grid-template-columns:repeat(4, minmax(0,1fr)); gap:12px; }
.pg-tryout .mode{ padding:1.05rem; border-width:1.5px; border-radius:18px; min-height:100%; }
.pg-tryout .mode::after{ height:4px; }
.mode .m-ic{ width:44px; height:44px; border-radius:13px; }
.mode .m-t{ font-size:1.02rem; margin:.75rem 0 .1rem; }
.mode .m-meta{ display:block; font-size:.8rem; font-weight:800; color:var(--acc); margin-bottom:.4rem; }
.mode .m-d{ font-size:.84rem; }
button.mode.is-pick::before{ content:"\2713"; position:absolute; left:.8rem; bottom:.7rem; width:22px; height:22px; border-radius:50%; background:var(--acc); color:#fff; display:grid; place-items:center; font-size:.8rem; font-weight:800; }
button.mode.is-pick .m-d{ padding-bottom:1.7rem; }
.mode.cepat{ --acc:var(--brand); }
/* kartu ujian */
.pg-tryout .cats{ grid-template-columns:repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap:14px; }
.pg-tryout .groups{ gap:2rem; }
.cat-wrap{ display:flex; flex-direction:column; border-radius:18px; background:var(--surface); border:1.5px solid var(--line); overflow:hidden; transition:border-color .15s, transform .15s, box-shadow .15s; }
.cat-wrap:hover{ border-color:var(--acc); transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.pg-tryout .cat{ border:0; border-radius:0; box-shadow:none; background:transparent; padding:1.05rem 1.05rem .9rem; gap:.7rem; flex:1; color:var(--text); }
.pg-tryout .cat:hover{ transform:none; box-shadow:none; }
.pg-tryout .cat::before{ display:none; }
.pg-tryout .cat .c-top{ display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:.7rem; align-items:center; justify-content:initial; }
.pg-tryout .cat .c-ic{ width:44px; height:44px; border-radius:13px; }
.c-name{ display:flex; flex-direction:column; min-width:0; }
.c-h{ font-weight:800; font-size:1rem; line-height:1.25; font-family:var(--head, inherit); }
.c-sub{ color:var(--muted); font-size:.78rem; font-weight:600; margin-top:.15rem; }
.c-ring{ --p:0; width:46px; height:46px; border-radius:50%; display:grid; place-items:center; background:conic-gradient(var(--acc) calc(var(--p) * 1%), var(--surface-3) 0); position:relative; }
.c-ring::before{ content:""; position:absolute; inset:5px; border-radius:50%; background:var(--surface); }
.c-ring b{ position:relative; font-size:.82rem; font-weight:800; color:var(--muted); }
.c-ring.has b{ color:var(--text); }
.pg-tryout .cat .c-foot{ padding-top:.6rem; }
.cat-quick{ justify-content:center; width:100%; min-height:44px; padding:.5rem; border-top:1px solid var(--line); background:var(--surface-2); color:var(--text); font-weight:700; }
.cat-quick:hover{ background:color-mix(in srgb, var(--acc) 10%, var(--surface-2)); text-decoration:none; color:var(--acc); }
.grp[data-g="ukp"]{ --acc:light-dark(#d9730d, #ffab4d); }
.pg-tryout .filter-bar{ position:sticky; top:70px; z-index:5; padding:.6rem 0; background:color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter:blur(8px); }
@media (max-width: 1020px){
  .try-layout, .try-hero-grid{ grid-template-columns:1fr; }
  .try-aside{ position:static; }
  .pg-tryout .modes{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .pg-tryout .filter-bar{ position:static; }
}
@media (max-width: 460px){ .pg-tryout .modes{ grid-template-columns:1fr; } .try-hero, .sk-idx-hero{ padding:30px 0 24px; } }
/* --- katalog skema --- */
.sk-stats{ list-style:none; display:flex; flex-wrap:wrap; gap:10px; margin:1.4rem 0 1.3rem; padding:0; }
.sk-stats li{ display:flex; flex-direction:column; min-width:130px; padding:.75rem 1rem; border-radius:14px; background:var(--surface); border:1px solid var(--line); }
.sk-stats b{ font-size:1.6rem; line-height:1.1; font-family:var(--head, inherit); }
.sk-stats span{ color:var(--muted); font-size:.82rem; }
.tujuan-card{ position:relative; border-width:1.5px; transition:border-color .15s, transform .15s; }
.tujuan-card:hover{ border-color:var(--brand); transform:translateY(-2px); }
.tujuan-card .c-ic{ width:46px; height:46px; border-radius:14px; display:grid; place-items:center; background:linear-gradient(135deg, var(--brand), var(--brand-deep)); color:#fff; }
.sk-card{ padding:0; gap:0; }
.sk-card::before{ display:none; }
.sk-band{ display:flex; align-items:center; gap:.7rem; padding:.9rem 1.1rem; background:linear-gradient(120deg, color-mix(in srgb, var(--acc) 16%, var(--surface)), color-mix(in srgb, var(--acc) 5%, var(--surface))); border-bottom:1px solid color-mix(in srgb, var(--acc) 22%, var(--line)); }
.sk-band .c-ic{ width:42px; height:42px; border-radius:12px; display:grid; place-items:center; background:linear-gradient(135deg, var(--acc), color-mix(in srgb, var(--acc) 60%, var(--brand-deep))); color:#fff; flex:none; }
.sk-body{ display:flex; flex-direction:column; gap:.45rem; padding:1rem 1.1rem .9rem; flex:1; }
.sk-card .sk-body h3{ margin:0; font-size:1.1rem; }
.sk-tags{ display:flex; flex-wrap:wrap; gap:.35rem; margin-top:.3rem; }
.sk-card .c-foot{ margin:0 1.1rem; padding:.75rem 0 .9rem; white-space:nowrap; }
.sk-group[data-g="ukp"], .skema-head[data-g="ukp"]{ --acc:light-dark(#d9730d, #ffab4d); }
.pg-skema-daftar .filter-bar{ position:sticky; top:70px; z-index:5; padding:.6rem 0; background:color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter:blur(8px); }
/* --- detail skema --- */
.sk-hero-grid{ display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:32px; align-items:start; }
.sekilas{ padding:1.2rem 1.25rem; border-radius:20px; background:var(--surface); border:1.5px solid color-mix(in srgb, var(--acc) 35%, var(--line)); box-shadow:var(--shadow); }
.sekilas h2{ margin:0 0 .8rem; font-size:.82rem; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); font-family:var(--font); font-weight:800; }
.sekilas dl{ margin:0; display:flex; flex-direction:column; gap:.8rem; }
.sekilas dt{ font-size:.76rem; color:var(--muted); font-weight:700; }
.sekilas dd{ margin:.1rem 0 0; font-weight:600; font-size:.92rem; }
.sekilas .row3{ display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; }
.sekilas .row3 span{ display:flex; flex-direction:column; padding:.6rem .5rem; border-radius:12px; background:color-mix(in srgb, var(--acc) 9%, var(--surface-2)); font-size:.74rem; color:var(--muted); text-align:center; }
.sekilas .row3 b{ font-size:1.3rem; color:var(--text); font-family:var(--head, inherit); }
.pg-skema .sec-nav{ border-top:0; padding-top:.4rem; }
.pg-skema .fakta{ list-style:none; padding:0; gap:.7rem; }
.pg-skema .fakta li{ position:relative; padding:.85rem 1rem .85rem 2.7rem; border-radius:14px; background:var(--surface); border:1px solid var(--line); }
.pg-skema .fakta li::before{ content:"\2713"; position:absolute; left:.9rem; top:.85rem; width:22px; height:22px; border-radius:50%; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand); font-size:.76rem; font-weight:800; }
.pg-skema .prospek-card .fakta li{ background:transparent; border:0; padding:.2rem 0 .2rem 2rem; }
.pg-skema .prospek-card .fakta li::before{ left:0; top:.2rem; }
.pg-skema .unit-list{ grid-template-columns:1fr; gap:6px; }
.pg-skema li.unit-row{ grid-template-columns:minmax(0,1.2fr) minmax(80px,2fr) auto; min-height:46px; gap:.9rem; }
.pg-skema li.unit-row .ub{ grid-column:2; grid-row:1; height:8px; }
.pg-skema li.unit-row small{ grid-column:3; grid-row:1; }
@media (max-width: 900px){ .sk-hero-grid{ grid-template-columns:1fr; } }
@media (max-width: 600px){ .pg-skema li.unit-row{ grid-template-columns:minmax(0,1fr) auto; } .pg-skema li.unit-row .ub{ grid-column:1 / -1; grid-row:2; } .pg-skema li.unit-row small{ grid-column:2; } .pg-skema .sec-nav{ position:static; } }

/* ===== kunci lebar: halaman tidak boleh melebar melebihi layar ===== */
html, body{ overflow-x:clip; max-width:100%; }
.wrap{ min-width:0; }
.wrap > *, .two-col > *, .sk-hero-grid > *, .try-layout > *, .try-hero-grid > *, .hero-grid > *, .cat-grid > *, .prospek-grid > *, .tujuan-grid > *{ min-width:0; }
.two-col{ grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); }
@media (max-width: 860px){ .two-col{ grid-template-columns:minmax(0,1fr); } }
.sumber-list, .sumber-list li{ min-width:0; max-width:100%; }
.sumber-list a{ min-width:0; max-width:100%; }
.tbl-wrap{ max-width:100%; }
img, svg, video, table{ max-width:100%; }
.tbl-wrap table{ max-width:none; }
h1, h2, h3, p, li, dd, dt{ overflow-wrap:anywhere; }
@media (max-width: 380px){
  .nav-actions{ gap:.15rem; }
  .nav-actions .btn{ padding-left:.6rem; padding-right:.6rem; }
  .brand{ font-size:1rem; gap:.4rem; }
}
@media (max-width: 340px){ .brand span{ font-size:.92rem; } .nav-actions .btn-icon{ width:38px; padding:0; } }
.ct-jr{ display:block; overflow-x:auto; max-width:100%; }
caption.sr-only{ white-space:normal; max-width:1px; }

/* ---- Si Teli: slot di kartu soal + halaman demo ---- */
.teli-slot{ float:right; position:relative; width:150px; height:190px; margin:-.3rem 0 .4rem .9rem; pointer-events:none; }
.coba-hasil .coba-cta{ clear:both; }
@media (max-width: 600px){ .teli-slot{ width:104px; height:124px; margin-left:.6rem; } }
.pg-teli .teli-wrap{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:36px; align-items:center; }
.pg-teli .teli-stage{ position:relative; width:100%; aspect-ratio:1 / 1.12; max-height:76vh; margin:0 auto; border:1.5px solid var(--brand-deep); border-radius:8px; background:var(--surface); box-shadow:var(--shadow-lg); overflow:hidden; touch-action:none; }
.pg-teli .teli-hint{ text-align:center; margin:.8rem 0 0; }
.pg-teli .teli-h{ font-size:clamp(2rem,4vw,3rem); letter-spacing:-.035em; margin-bottom:.3em; }
.pg-teli .teli-btns{ display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1.3rem; }
.pg-teli .teli-btns .btn[aria-pressed="true"]{ background:var(--brand); border-color:var(--brand); color:var(--brand-ink); }
.pg-teli .teli-opt{ margin:0 0 1rem; }
.pg-teli .teli-code{ margin:0; padding:1.1rem 1.2rem; overflow-x:auto; border-radius:6px; background:var(--brand-deep); color:#e8f0ee; font-family:var(--mono, ui-monospace, Consolas, monospace); font-size:.82rem; line-height:1.6; }
.pg-teli .teli-code-wrap{ display:block; }
@media (max-width: 860px){ .pg-teli .teli-wrap{ grid-template-columns:1fr; gap:22px; } .pg-teli .teli-stage{ aspect-ratio:1 / 1.1; } }
/* ---- Si Teli di hero beranda: berdiri di kanan tombol dan angka statistik ---- */
.hero-copy{ display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:12px; align-items:start; }
.hero-copy > *{ grid-column:1 / -1; }
.hero-copy > .hero-cta, .hero-copy > .hero-stats{ grid-column:1; }
.hero-teli{ grid-column:2; grid-row:4 / span 2; align-self:end; margin:0 0 -.4rem; }
.teli-box{ position:relative; width:150px; height:182px; }
.hero-copy .hero-stats{ gap:.6rem .85rem; }
.teli-still{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
@media (max-width: 1100px){ .teli-box{ width:140px; height:168px; } }
@media (max-width: 600px){
  .hero-teli{ grid-column:1 / -1; grid-row:auto; justify-self:end; margin:.3rem 0 0; }
  .teli-box{ width:118px; height:140px; }
}