/* JomNgajii — Hub Tetapan (neo-brutalist: sempadan hitam tebal, bayang keras, biru laut + emas + krim) */
.hb-body{display:grid;gap:12px;padding-bottom:120px}
.hb-body>.sec{margin-top:6px}
/* kad profil */
.hb-me{display:flex;align-items:center;gap:14px;width:100%;padding:16px 18px;text-align:left;font:inherit;cursor:pointer;background:#0f2647;color:#fbf5e6;border:var(--nbw) solid var(--nb);box-shadow:var(--sh);border-radius:var(--r);transition:transform .12s,box-shadow .12s}
.hb-me:active{transform:translate(3px,3px);box-shadow:2px 2px 0 var(--nbs,var(--nb))}
.hb-av{width:58px;height:58px;border-radius:50%;flex:none;object-fit:cover;display:grid;place-items:center;background:var(--gold);color:#111;border:3px solid #fbf5e6}
.hb-av .ic{width:28px;height:28px}
.hb-me .hb-tx{flex:1;min-width:0;display:grid;gap:2px}
.hb-me small{font:900 11px/1.2 "Arial Black",system-ui,sans-serif;text-transform:uppercase;letter-spacing:.06em;color:#e3c690}
.hb-me b{font-size:19px;font-weight:900;line-height:1.2;overflow-wrap:break-word}
.hb-me span span,.hb-me .hb-tx>span{font-size:13px;font-weight:600;opacity:.85}
.hb-go{width:20px;height:20px;flex:none;opacity:.7}
/* jubin */
.hb-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px}
.hb-tile{display:flex;align-items:center;gap:12px;padding:13px 14px;min-height:72px;text-align:left;font:inherit;color:var(--ink);cursor:pointer;background:var(--surface);border:var(--nbw) solid var(--nb);box-shadow:var(--sh-sm,4px 4px 0 var(--nbs,var(--nb)));border-radius:var(--r);transition:transform .12s,box-shadow .12s}
.hb-tile:active{transform:translate(3px,3px);box-shadow:1px 1px 0 var(--nbs,var(--nb))}
.hb-ti{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:12px;background:var(--surface2);border:2px solid var(--nb);color:var(--ink)}
.hb-ti .ic{width:22px;height:22px}
.hb-tile .hb-tx{flex:1;min-width:0;display:grid;gap:2px}
.hb-tile b{font-weight:900;font-size:14.5px;text-transform:uppercase;letter-spacing:.01em}
.hb-tile small{font-size:12.5px;font-weight:600;color:var(--soft)}
.hb-tile.on .hb-ti{background:var(--gold);color:#111}
.hb-tile.on small{color:var(--ok);font-weight:800}
.hb-tile.hot .hb-ti{background:var(--gold);color:#111}
.hb-tile.hot small{color:var(--bad);font-weight:900}
.hb-tile.admin{background:#0f2647;color:#fbf5e6}
.hb-tile.admin .hb-ti{background:var(--gold);color:#111;border-color:#fbf5e6}
.hb-tile.admin small{color:#e3c690}
.hb-ver{text-align:center;font-size:12px;font-weight:700;color:var(--soft);margin-top:8px}
/* umum */
.hb-card{padding:16px;background:var(--surface);border:var(--nbw) solid var(--nb);box-shadow:var(--sh);border-radius:var(--r);display:grid;gap:12px}
.hb-card-t{font-weight:900;text-transform:uppercase;font-size:15px}
.hb-empty{display:grid;justify-items:center;gap:6px;text-align:center;padding:28px 16px;border:var(--nbw2) dashed var(--nb);border-radius:var(--r);color:var(--soft);font-weight:700}
.hb-empty span .ic{width:38px;height:38px;color:var(--gold-ink)}
.hb-empty b{color:var(--ink);font-weight:900;text-transform:uppercase}
.hb-warn{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:14px;background:var(--bad-soft,#fbe3df);border:2px solid var(--bad,#b1463a);font-size:13.5px;font-weight:700}
.hb-warn.soft{background:var(--surface2);border-color:var(--nb);font-weight:600;color:var(--soft)}
.hb-warn .ic{width:20px;height:20px;flex:none}
.hb-lbl{font:900 11.5px/1.2 "Arial Black",system-ui,sans-serif;text-transform:uppercase;letter-spacing:.05em;color:var(--soft)}
.hb-field{display:grid;gap:6px}
.hb-field input,.hb-field textarea,.hb-contact input,.hb-adf textarea,.hb-adf select,.hb-sw select,.hb-sw input[type=time]{width:100%;font:inherit;font-size:15px;font-weight:600;color:var(--ink);background:var(--surface);border:var(--nbw2) solid var(--nb);border-radius:12px;padding:11px 13px;min-height:46px}
.hb-field textarea,.hb-adf textarea{resize:vertical;line-height:1.5}
.hb-hint{font-size:12px;font-weight:600;color:var(--soft)}
.hb-form{display:grid;gap:14px}
/* laporan saya */
.hb-rhead{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:space-between}
.hb-rhead p{flex:1;min-width:200px;font-size:14px;font-weight:600;color:var(--soft)}
.hb-rhead .btn{display:inline-flex;align-items:center;gap:7px;min-height:46px}
.hb-reps{display:grid;gap:12px}
.hb-rep{display:grid;gap:8px;padding:15px 16px;background:var(--surface);border:var(--nbw) solid var(--nb);box-shadow:var(--sh-sm,4px 4px 0 var(--nbs,var(--nb)));border-radius:var(--r)}
.hb-rep.new{box-shadow:0 0 0 3px var(--gold),var(--sh-sm,4px 4px 0 var(--nbs,var(--nb)))}
.hb-rep-h{display:flex;justify-content:space-between;align-items:center;gap:8px}
.hb-rep-cat{display:inline-flex;align-items:center;gap:6px;font:900 11px/1 "Arial Black",system-ui,sans-serif;text-transform:uppercase;color:var(--soft)}
.hb-rep-cat .ic{width:16px;height:16px}
.hb-st{font:900 10.5px/1 "Arial Black",system-ui,sans-serif;text-transform:uppercase;padding:5px 9px;border-radius:999px;border:2px solid var(--nb);background:var(--surface2)}
.hb-st.replied,.hb-st.done{background:var(--ok);color:#fff;border-color:var(--ok)}
.hb-st.seen{background:var(--gold);color:#111}
.hb-rep-s{font-size:16px;font-weight:900;overflow-wrap:break-word}
.hb-rep-b{font-size:14px;font-weight:500;color:var(--ink);white-space:pre-wrap;overflow-wrap:break-word}
.hb-rep-m{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap;font-size:11.5px;font-weight:700;color:var(--soft)}
.hb-rep-m .ic{width:13px;height:13px}
.hb-reply{display:grid;gap:4px;padding:12px 14px;border-radius:14px;background:#0f2647;color:#fbf5e6}
.hb-reply span{display:inline-flex;align-items:center;gap:6px;font:900 11px/1.2 "Arial Black",system-ui,sans-serif;text-transform:uppercase;color:#e3c690}
.hb-reply span .ic{width:15px;height:15px}
.hb-reply p{font-size:14px;font-weight:600;white-space:pre-wrap;overflow-wrap:break-word}
/* borang laporan: kepala surat */
.hb-letter{display:grid;gap:12px;padding:18px 16px;background:var(--surface);border:var(--nbw) solid var(--nb);box-shadow:var(--sh);border-radius:var(--r);border-top:10px solid #0f2647}
.hb-lh{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:3px double var(--nb)}
.hb-lh img{border-radius:10px;border:2px solid var(--nb)}
.hb-lh div{flex:1;display:grid;gap:1px}
.hb-lh .wm{font-size:20px;line-height:1.05}
.hb-lh small{font-size:11.5px;font-weight:800;color:var(--soft);text-transform:uppercase;letter-spacing:.04em}
.hb-lh-d{font-size:12px;font-weight:800;color:var(--soft);white-space:nowrap}
.hb-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.hb-cats button{display:grid;justify-items:center;gap:6px;padding:12px 6px;font:inherit;font-size:12.5px;font-weight:800;color:var(--ink);background:var(--surface2);border:var(--nbw2) solid var(--nb);border-radius:14px;cursor:pointer;min-height:76px;text-align:center}
.hb-cats button .ic{width:24px;height:24px}
.hb-cats button.on{background:var(--gold);color:#111;box-shadow:3px 3px 0 var(--nbs,var(--nb))}
.hb-attach{display:flex;align-items:center;justify-content:center;gap:8px;padding:13px;border:var(--nbw2) dashed var(--nb);border-radius:14px;font-weight:800;cursor:pointer;min-height:50px}
.hb-attach[hidden]{display:none}
.hb-attach .ic{width:20px;height:20px}
.hb-files{display:flex;gap:8px;flex-wrap:wrap}
.hb-files:empty{display:none}
.hb-file{position:relative;display:grid;justify-items:center;gap:4px;width:96px;padding:6px;border:2px solid var(--nb);border-radius:12px;background:var(--surface2);font:inherit;color:var(--ink);cursor:pointer}
.hb-file img{width:80px;height:64px;object-fit:cover;border-radius:8px}
.hb-file i{width:80px;height:64px;display:grid;place-items:center}
.hb-file i .ic{width:30px;height:30px}
.hb-file small{font-size:10.5px;font-weight:700;max-width:84px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hb-file button{position:absolute;top:-8px;right:-8px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--bad,#b1463a);color:#fff;border:2px solid var(--nb);cursor:pointer}
.hb-file button .ic{width:14px;height:14px}
.hb-files.ad .hb-file{width:auto;display:inline-flex;align-items:center;padding:7px 10px}
.hb-files.ad .ic{width:15px;height:15px}
.hb-contact{display:grid;border:var(--nbw2) solid var(--nb);border-radius:14px;overflow:hidden}
.hb-contact label{display:flex;align-items:center;gap:6px;padding:0 10px;background:var(--surface)}
.hb-contact label+label{border-top:2px solid var(--nb)}
.hb-contact span{width:24px;display:grid;place-items:center;font-weight:900;color:var(--soft)}
.hb-contact span .ic{width:18px;height:18px}
.hb-contact input{border:0!important;border-radius:0!important;padding-left:4px!important;background:transparent!important}
/* lembaran */
.hb-sheet{position:fixed;inset:0;z-index:80;background:rgba(15,38,71,.45);display:grid;place-items:end center;padding:16px}
@media (min-width:640px){.hb-sheet{place-items:center}}
.hb-sheet-c{width:min(440px,100%);display:grid;gap:12px;padding:20px;background:var(--surface);border:var(--nbw) solid var(--nb);box-shadow:var(--sh);border-radius:var(--r);text-align:center;animation:uiRise .25s ease both}
.hb-sheet-c .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px}
.hb-sh-t{font-size:18px;font-weight:900;text-transform:uppercase}
.hb-sheet-c p{font-size:14px;font-weight:600}
.hb-wa{background:#1fa855!important;color:#fff!important;text-decoration:none}
.hb-ok{justify-self:center;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:var(--ok);color:#fff;border:var(--nbw) solid var(--nb)}
.hb-ok .ic{width:30px;height:30px}
.hb-shimg{max-width:100%;max-height:70vh;border-radius:12px;border:2px solid var(--nb)}
/* penilaian */
.hb-stars{display:inline-flex;gap:2px;color:#d6cfbd}
.hb-stars i{display:inline-grid}
.hb-stars .ic{width:16px;height:16px;fill:currentColor;stroke:none}
.hb-stars i.on{color:var(--gold)}
.hb-stars.big .ic{width:22px;height:22px}
.hb-avg{grid-template-columns:auto 1fr;align-items:center;gap:18px}
.hb-avg-n{display:grid;justify-items:center;gap:4px;padding-right:16px;border-right:2px dashed var(--nb)}
.hb-avg-n b{font:900 46px/1 "Arial Black",system-ui,sans-serif}
.hb-avg-n small{font-size:12px;font-weight:700;color:var(--soft)}
.hb-dist{display:grid;gap:5px}
.hb-dist span{display:grid;grid-template-columns:14px 1fr 26px;align-items:center;gap:8px;font-size:12px;font-weight:800}
.hb-dist em{font-style:normal}
.hb-dist i{height:10px;border-radius:6px;background:var(--surface2);border:1.5px solid var(--nb);overflow:hidden}
.hb-dist u{display:block;height:100%;background:var(--gold)}
.hb-dist small{color:var(--soft);text-align:right}
.hb-pick{display:flex;justify-content:center;gap:8px}
.hb-pick button{width:52px;height:52px;display:grid;place-items:center;border-radius:14px;border:var(--nbw2) solid var(--nb);background:var(--surface2);color:#cfc6b0;cursor:pointer;transition:transform .15s}
.hb-pick button .ic{width:30px;height:30px;fill:currentColor;stroke:var(--nb);stroke-width:1.2}
.hb-pick button.on{background:var(--gold);color:#fff3c4;transform:translateY(-2px)}
.hb-pick-l{text-align:center;font-weight:900;text-transform:uppercase;font-size:13px;color:var(--gold-ink)}
.hb-seg{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hb-seg button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:8px;font:inherit;font-weight:800;font-size:13.5px;color:var(--ink);background:var(--surface2);border:var(--nbw2) solid var(--nb);border-radius:12px;cursor:pointer}
.hb-seg button .ic{width:17px;height:17px}
.hb-seg button.on{background:#0f2647;color:#fbf5e6}
.hb-seg button:disabled{opacity:.5}
.hb-coms{display:grid;gap:10px}
.hb-com{display:grid;gap:5px;padding:12px 14px;background:var(--surface);border:2px solid var(--nb);border-radius:14px}
.hb-com p{font-size:14px;font-weight:600;white-space:pre-wrap;overflow-wrap:break-word}
.hb-com small{font-size:11.5px;font-weight:700;color:var(--soft)}
.hb-com.off{opacity:.55}
.hb-com .btn{justify-self:start;display:inline-flex;align-items:center;gap:6px;min-height:40px;font-size:12.5px!important}
/* notifikasi */
.hb-master.on{background:#0f2647;color:#fbf5e6}
.hb-master.on small{color:#e3c690!important}
.hb-master .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px}
.hb-sws{gap:0;padding:4px 16px}
.hb-sw{display:grid;gap:8px;padding:12px 0}
.hb-sw+.hb-sw{border-top:2px dashed var(--line,#d9cfb8)}
.hb-sw select,.hb-sw input[type=time]{width:calc(100% - 64px)!important;max-width:220px;margin-left:64px;min-height:42px;padding:8px 12px;font-size:14.5px}
.hb-sw input:disabled+span{opacity:.55}
/* pentadbir */
.hb-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hb-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:48px;font:inherit;font-weight:900;text-transform:uppercase;font-size:13px;color:var(--ink);background:var(--surface);border:var(--nbw2) solid var(--nb);border-radius:14px;cursor:pointer}
.hb-tabs button.on{background:#0f2647;color:#fbf5e6;box-shadow:3px 3px 0 var(--nbs,var(--nb))}
.hb-tabs .ic{width:18px;height:18px}
.hb-adn{font-weight:800;font-size:13px;color:var(--soft)}
.hb-rep.ad.open{border-left:8px solid var(--bad,#b1463a)}
.hb-rep.ad.seen{border-left:8px solid var(--gold)}
.hb-adf{display:grid;gap:8px;padding-top:8px;border-top:2px dashed var(--line,#d9cfb8)}
.hb-adr{display:flex;gap:8px}
.hb-adr select{flex:1}
.hb-adr .btn{display:inline-flex;align-items:center;gap:6px;min-height:46px}
html.dark .hb-me,html.dark .hb-reply{border-color:var(--nb)}
@media (max-width:380px){.hb-cats button{font-size:11.5px}.hb-avg{grid-template-columns:1fr}.hb-avg-n{border-right:0;padding-right:0;border-bottom:2px dashed var(--nb);padding-bottom:10px}}
.hb-p{font-size:14px;font-weight:600;line-height:1.55}
.hb-p a{color:var(--gold-ink);font-weight:800}

/* Terma & Privasi */
.lg-doc{line-height:1.6}
.lg-eff{display:inline-block;margin:0 0 6px;padding:3px 10px;border:2px solid var(--ink,#0f2647);border-radius:999px;font-size:.78rem;font-weight:800;background:#c9a13b22}
.lg-sec h3{margin:16px 0 6px;font-size:1rem;font-weight:900;text-transform:uppercase;letter-spacing:.02em}
.lg-sec p,.lg-sec li{font-size:.92rem;margin:0 0 8px}
.lg-sec ul{margin:0 0 8px;padding-left:20px}

/* Akaun & sync */
.ac-me{display:flex;gap:12px;align-items:center}.ac-me small{display:block;font-size:12px;font-weight:700;opacity:.7}.ac-me b{font-size:16px;word-break:break-all}
.ac-st{display:flex;gap:8px;align-items:center;font-size:13.5px;font-weight:700}
.ac-dot{width:10px;height:10px;border-radius:50%;border:2px solid var(--nb);background:#3d9a5b}.ac-dot.wait{background:#c9a13b}.ac-dot.bad{background:#b1463a}
.ac-form{display:grid;gap:10px}
.ac-code{width:100%;font:inherit;font-size:28px;font-weight:900;letter-spacing:.4em;text-align:center;color:var(--ink);background:var(--surface);border:var(--nbw2) solid var(--nb);border-radius:12px;padding:10px;min-height:58px}

/* Skrin log masuk */
.lg-in{display:grid;gap:12px;text-align:left}
.lg-google{width:100%;display:flex!important;align-items:center;justify-content:center;gap:10px;background:#fff!important;color:#1f1f1f!important;border:2px solid #0f2647!important}
.lg-or{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:700;color:#5e6b80}
.lg-or::before,.lg-or::after{content:"";flex:1;height:1.5px;background:#e8e0cf}
.lg-gate .hb-field input{min-height:48px}
.lg-gate .ac-form .btn{width:100%;margin-top:0}
.lg-legal{text-align:center;display:block}
.lg-legal a{color:#0f2647;font-weight:800}
.lg-sheet{max-height:60vh;overflow:auto;text-align:left}
.gate .hb-card-t{display:block;color:#0f2647;font-size:17px;font-weight:900}
.gate .hb-p{font-size:13.5px;color:#5e6b80}
.gate-card .btn.lg-google,.btn.lg-google{background:#fff!important;color:#1f1f1f!important;border:2px solid #0f2647!important;text-transform:none!important;font-size:15px}
.gate-card .btn.lg-google span{color:#1f1f1f}
.gate-card .ac-form .btn.soft{background:#fbf5e6!important;color:#0f2647!important;border:2px solid #0f2647!important}

/* Persetujuan & CAPTCHA */
.lg-agree{display:flex;gap:9px;align-items:flex-start;justify-content:center;font-size:13px;font-weight:600;color:#5e6b80;text-align:left;line-height:1.45;padding:4px 2px;border-radius:10px;cursor:pointer}
.lg-agree input{width:18px!important;height:18px;min-height:0!important;flex:0 0 18px;box-shadow:none!important;margin:1px 0 0;padding:0!important;accent-color:#0f2647;border:0!important}
.lg-agree a{color:#0f2647;font-weight:900}
.lg-agree.nudge{animation:lgNudge .42s!important;color:#b1463a;outline:2px solid #b1463a}
@keyframes lgNudge{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
.lg-captcha{display:none;overflow:hidden;max-width:100%}
.lg-captcha.need{display:block;min-height:65px}
.lg-captcha iframe{max-width:100%!important}
.gate{overflow-y:auto}
.gate-card{width:100%;max-width:400px!important;margin:auto}
@media (min-width:700px){.gate-card{padding:34px 34px!important}.gate .gate-logo{width:96px;height:96px}}
@media (max-width:400px){.gate{padding:14px!important}.gate-card{padding:24px 16px!important}}
.gate-card .ac-form .btn,.lg-gate .ac-form .btn{white-space:nowrap}

.btn.hb-danger{background:#b1463a!important;color:#fff!important}

/* Tentang pemilik */
.ow-card{gap:0}
.ow-head{display:flex;gap:12px;align-items:center;padding-bottom:12px;margin-bottom:4px;border-bottom:2px dashed var(--line,#d9cfb8)}
.ow-head img{border-radius:10px;border:0;width:40px;height:40px;flex:0 0 40px}
.ow-head .wm{font-size:18px;display:block}.ow-head small{font-size:12px;font-weight:700;color:var(--soft)}
.ow-row{display:grid;gap:1px;padding:8px 0}
.ow-row+.ow-row{border-top:1px solid var(--line,#e8e0cf)}
.ow-row small{font-size:11px;font-weight:700;color:var(--soft);text-transform:uppercase;letter-spacing:.03em}
.ow-row b{font-size:14px;font-weight:700;color:var(--ink);line-height:1.35}.ow-row b a{color:inherit;text-decoration-color:var(--gold)}

/* Studio audio */
.st-ul{margin:0;padding-left:18px;display:grid;gap:4px;font-size:13.5px;font-weight:600}
.st-prog{height:10px;border:2px solid var(--nb);border-radius:99px;overflow:hidden;background:var(--surface2,#fff8e8)}
.st-prog i{display:block;height:100%;width:0;background:#c9a13b;transition:width .3s}
.st-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;margin-top:12px}
.st-cell{display:grid;justify-items:center;gap:4px;padding:10px 6px;background:var(--surface);border:var(--nbw2,2px) solid var(--nb);border-radius:14px;box-shadow:var(--sh-sm)}
.st-cell small{font-size:11.5px;font-weight:800;color:var(--soft)}
.st-ar{font-size:34px;line-height:1.6;color:var(--arabink,#0f2647)}
.st-btns{display:flex;gap:6px}
.st-btns .btn{min-height:36px!important;width:40px;padding:0!important;display:grid!important;place-items:center}
.st-btns .btn .ic,.st-btns .btn svg{width:18px;height:18px;margin:0}
.st-cell.done{background:#e6f4ea}
.st-cell.done small::after{content:" ✓";color:#2e7d4f}
.st-cell.rec{outline:3px solid #b1463a;animation:stPulse 1s infinite!important}
.st-cell.send{opacity:.6}
@keyframes stPulse{50%{outline-color:transparent}}

.st-tabs{display:flex;gap:6px;overflow-x:auto;padding:2px 2px 10px;scrollbar-width:none}
.st-tabs button{flex:0 0 auto;font:inherit;font-size:13px;font-weight:800;padding:8px 12px;border:2px solid var(--nb);border-radius:99px;background:var(--surface);color:var(--ink)}
.st-tabs button.on{background:#0f2647;color:#fff}
.st-tips summary{cursor:pointer;list-style:none}.st-tips summary::-webkit-details-marker{display:none}
.st-tips summary b::after{content:" ▾";font-size:12px}
.st-sum{margin-top:10px;gap:6px}
.st-pages{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:8px;margin-top:12px}
.st-page{display:grid;gap:2px;justify-items:center;padding:10px 4px;font:inherit;border:2px solid var(--nb);border-radius:12px;background:var(--surface);color:var(--ink);box-shadow:var(--sh-sm)}
.st-page b{font-size:13px}.st-page small{font-size:11.5px;font-weight:700;color:var(--soft)}
.st-page.part{background:#fff3cf}.st-page.done{background:#e6f4ea}
.st-rows{display:grid;gap:10px;margin-top:12px}
.st-row{grid-template-columns:auto 1fr auto!important;justify-items:stretch!important;align-items:center;gap:10px!important;padding:10px 12px!important}
.st-no{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:900;background:#0f2647;color:#fff}
.st-rtext{font-size:26px;line-height:1.9;text-align:right;direction:rtl;color:var(--arabink,#0f2647);word-spacing:.15em}
.st-row.done .st-no{background:#2e7d4f}
.st-nav{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;margin:14px 0 30px}
.st-nav .btn{min-height:44px}

.ow-photo{margin-left:auto;width:46px;height:46px;flex:0 0 46px;border-radius:50%!important;object-fit:cover;border:2px solid var(--nb)!important;box-shadow:2px 2px 0 var(--nbs,var(--nb))}
a.hb-tile{text-decoration:none;color:inherit}

/* Naik taraf */
.hb-ok.up{background:#c9a13b!important;color:#0f2647!important}
.up-box{text-align:left;border:2px solid var(--nb);border-radius:12px;padding:12px 14px;background:#fffdf6;margin:6px 0 4px}
.up-box b{display:block;font-size:14px;margin-bottom:4px}
.up-box ul{margin:0;padding-left:18px;font-size:13.5px;font-weight:600;display:grid;gap:3px}
.lock-badge{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:900;text-transform:uppercase;padding:3px 8px;border-radius:99px;border:2px solid var(--nb);background:#fff3cf;color:#0f2647;white-space:nowrap}
.lock-badge svg{width:13px;height:13px}
.is-locked{opacity:.72}
.pick-note{margin:0 0 12px;padding:10px 12px;border:2px dashed #c9a13b;border-radius:12px;font-size:13.5px;font-weight:700;background:#fffdf6;color:var(--ink)}
.lock-badge .ic,.lock-badge svg{width:13px!important;height:13px!important;min-width:0!important;padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.lock-badge{flex:0 0 auto;margin-left:auto}

/* Perbandingan pelan */
.pc-prices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 12px}
.pc-card{display:grid;gap:4px;align-content:start;padding:14px;border:var(--nbw,3px) solid var(--nb);border-radius:14px;background:var(--surface);box-shadow:var(--sh-sm)}
.pc-card.pro{background:#0f2647;color:#fbf5e6}
.pc-tag{justify-self:start;font-size:10.5px;font-weight:900;text-transform:uppercase;padding:4px 8px;border-radius:99px;border:2px solid var(--nb);background:var(--gold-soft,#f5ebd6);color:#0f2647}
.pc-card.pro .pc-tag{background:#c9a13b;color:#111}
.pc-amt{font:900 26px/1.1 "Arial Black",system-ui,sans-serif}
.pc-amt small{font-size:13px;font-weight:800}
.pc-card small{font-size:12px;font-weight:700;opacity:.85}
.pc-wrap{border:var(--nbw,3px) solid var(--nb);border-radius:14px;overflow:hidden;box-shadow:var(--sh-sm);background:var(--surface)}
.pc-table{width:100%;border-collapse:collapse;font-size:13px}
.pc-table th,.pc-table td{padding:10px 8px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line,#e8e0cf)}
.pc-table th{font-size:11.5px;font-weight:900;text-transform:uppercase;background:#fbf5e6;color:#0f2647}
.pc-table th.pro{background:#0f2647;color:#fbf5e6}
.pc-table td:first-child{font-weight:800;color:var(--ink);width:38%}
.pc-table td{font-weight:600;color:var(--soft)}
.pc-table td.pro{font-weight:800;color:#0f2647;background:#fbf3df}
.pc-table tr:last-child td{border-bottom:0}
.pc-y{color:#2e7d4f;font-weight:900;font-size:16px}
html.dark .pc-table th,html.dark .pc-table td.pro{background:#172b56;color:#fbf5e6}
.pc-mine{flex-direction:row;display:flex!important;align-items:center;gap:10px;margin-bottom:12px;background:#e6f4ea}
.pc-mine svg{width:22px;height:22px;color:#2e7d4f}
.pc-note{margin:10px 2px}
.up-price{display:block;font-size:13px;font-weight:800;color:#8a6a17;margin-bottom:6px}

.pc-grp td{background:#fbf5e6!important;font-size:11.5px!important;font-weight:900!important;text-transform:uppercase;color:#0f2647!important;letter-spacing:.03em;padding:8px!important}
.pc-grp.pro td{background:#c9a13b!important;color:#111!important}
.pc-trial{display:inline-block;justify-self:start;margin-top:4px;padding:3px 8px;border-radius:99px;background:#c9a13b;color:#111!important;font-weight:900!important;opacity:1!important}
.pc-try{width:100%;margin:0 0 12px;min-height:50px}

/* Loceng notifikasi */
.top .bell-btn{margin-left:auto;position:relative;top:auto!important;right:auto!important}
.top .bell-btn+.music-btn{margin-left:8px}
.bell-btn[hidden]{display:none!important}
.bell-btn .ic{width:22px;height:22px}
.bell-n{position:absolute;top:-7px;right:-7px;box-sizing:border-box;min-width:22px;height:22px;padding:0 5px;border-radius:99px;background:#c0392b;color:#fff;display:inline-flex;align-items:center;justify-content:center;font:800 11.5px/1 'Inter',system-ui,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:-.02em;border:2px solid var(--nb,#111);box-shadow:0 0 0 2px var(--cream,#fbf5e6);animation:bellPop .35s cubic-bezier(.2,1.5,.4,1)}
@keyframes bellPop{from{transform:scale(.4)}to{transform:none}}
.bell-btn.has .ic{animation:bellRing 1.2s ease-in-out 1}
@keyframes bellRing{0%,100%{transform:none}15%{transform:rotate(14deg)}30%{transform:rotate(-12deg)}45%{transform:rotate(8deg)}60%{transform:rotate(-5deg)}}
@media (prefers-reduced-motion:reduce){.bell-n,.bell-btn.has .ic{animation:none}}
.ib-sheet .hb-sheet-c{max-height:82vh;overflow:auto}
.ib-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ib-head .hb-sh-t{margin:0}
.ib-set{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:12.5px;font-weight:800;padding:6px 10px;border:2px solid var(--nb);border-radius:99px;background:var(--surface);color:var(--ink)}
.ib-set .ic{width:15px;height:15px}
.ib-list{display:grid;gap:8px;text-align:left}
.ib-item{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;font:inherit;text-align:left;border:2px solid var(--nb);border-radius:12px;background:var(--surface);color:var(--ink)}
.ib-item.new{background:#fff3cf}
.ib-ic{flex:0 0 34px;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--gold-soft,#f5ebd6);color:#0f2647}
.ib-ic .ic{width:18px;height:18px}
.ib-tx{display:grid;gap:2px;min-width:0}
.ib-tx b{font-size:14px;font-weight:800;line-height:1.3}
.ib-tx small{font-size:12.5px;font-weight:600;color:var(--soft);line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.ib-tx em{font-style:normal;font-size:11.5px;font-weight:700;color:var(--soft)}

/* Pasang sebagai app */
.in-go{width:100%;min-height:52px;margin-bottom:12px}
.in-why{margin-bottom:12px}
.in-card{margin-bottom:12px}
.in-h{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center}
.in-os{grid-row:span 2;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:22px;background:var(--gold-soft,#f5ebd6);border:2px solid var(--nb)}
.in-h b{font-size:17px;font-weight:900}.in-h small{font-size:12px;font-weight:700;color:var(--soft)}
.in-steps{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.in-steps li{display:flex;gap:10px;align-items:flex-start}
.in-no{flex:0 0 26px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:12.5px;font-weight:900;background:#0f2647;color:#fff}
.in-steps b{display:block;font-size:14px;font-weight:800;line-height:1.35}
.in-steps small{display:block;font-size:12.5px;font-weight:600;color:var(--soft);line-height:1.45;margin-top:2px}

.in-note{margin-bottom:12px;border-style:dashed!important;background:#fffdf6}
/* bar atas: tajuk tidak bertindih dengan loceng & muzik */
.top .title{flex:1 1 auto;min-width:0}
.top .title>div{min-width:0;flex:1 1 auto}
.top .title b{overflow-wrap:anywhere;hyphens:auto;line-height:1.15}
.top .bell-btn,.top .music-btn,.top .back{flex-shrink:0}
@media (max-width:440px){.top .title .mascot{display:none}.top .title b{font-size:clamp(14px,4.6vw,17px)}.top .title small{font-size:11px}}

/* pratonton tutor */
.jn-pv{flex-wrap:wrap}
.jn-pv-x{margin-left:auto;font:inherit;font-size:12.5px;font-weight:900;padding:6px 12px;border:2px solid var(--nb,#111);border-radius:99px;background:#fff;color:#0f2647;cursor:pointer}

/* rujukan */
.ref-note{display:block;grid-column:1/-1;margin:14px 2px 4px;font-size:12.5px;font-weight:700;color:var(--muted,#5b6475);text-decoration:none;text-align:center}
.ref-note:hover{text-decoration:underline}
.rf-card{display:grid;gap:6px}
.rf-k{justify-self:start;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;padding:3px 10px;border:2px solid var(--nb,#111);border-radius:99px;background:#c9a13b;color:#0f2647}
.rf-t{font-size:15.5px;line-height:1.35}

/* Bayar Stripe */
.pc-buy{display:grid;gap:10px;margin:0 0 14px}
.pc-buy .btn{width:100%;min-height:50px;margin:0;text-decoration:none;justify-content:center}
.pc-buy .hb-hint{margin:0}

/* Langganan saya */
.sb-card{display:grid;gap:10px;margin-bottom:14px}
.sb-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.sb-name{font-weight:900;font-size:16px}
.sb-test{font-style:normal;font-size:11px;font-weight:900;padding:2px 8px;border:2px solid currentColor;border-radius:99px;margin-left:6px;vertical-align:2px;color:#9a6b00}
.sb-left{font-size:14px;font-weight:700}.sb-left b{font-size:26px;font-weight:900;color:#0f2647}
html.dark .sb-left b{color:#c9a13b}
.sb-bar{height:12px;border:2.5px solid var(--nb,#111);border-radius:99px;overflow:hidden;background:#fff}
.sb-bar i{display:block;height:100%;background:#c9a13b}
.sb-st{margin:0;font-size:13.5px;font-weight:600;opacity:.85}
.sb-rec{display:grid;gap:6px;border-top:2px dashed currentColor;padding-top:10px}
.sb-rec>b{font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.sb-row{display:flex;justify-content:space-between;align-items:center;gap:10px}
.sb-row small{display:block;font-size:12.5px;opacity:.75;font-weight:600}
.sb-act{display:flex;gap:6px;flex-shrink:0}
.sb-act a,.sb-act button{font-family:inherit;cursor:pointer;font-size:12.5px;font-weight:900;padding:6px 12px;border:2.5px solid var(--nb,#111);border-radius:99px;background:#fff;color:#0f2647;text-decoration:none}
.pc-buy[hidden]{display:none}
.sb-manage{width:100%;min-height:46px;margin:2px 0 0;text-decoration:none;justify-content:center}
.sb-hint{margin:-4px 0 0;font-size:12.5px;opacity:.75;font-weight:600}
/* Pelan & harga: mod gelap */
html.dark .pc-tag{background:#22365f;color:#fbf5e6;border-color:#e3c690}
html.dark .pc-card.pro{background:#172b56}
html.dark .pc-card.pro .pc-tag{background:#c9a13b;color:#111}
html.dark .pc-grp td{background:#22365f!important;color:#e3c690!important}
html.dark .pc-grp.pro td{background:#c9a13b!important;color:#111!important}
html.dark .pc-table td:first-child{color:#fbf5e6}
html.dark .pc-table td{color:#c7cfdf}
html.dark .pc-table td.pro{color:#fbf5e6}
html.dark .pc-table th,html.dark .pc-table td{border-bottom-color:rgba(251,245,230,.12)}
html.dark .pc-y{color:#5fd08f}
html.dark .pc-mine{background:rgba(46,125,79,.22);color:#e6f4ea}
html.dark .pc-mine svg{color:#5fd08f}
.jn-ios{margin:0;padding:0 0 0 22px;text-align:left;display:grid;gap:8px;font-size:14.5px;line-height:1.45}
.jn-ios b{color:var(--ink)}
.hb-role{display:inline-flex;align-items:center;gap:3px;margin-right:6px;padding:1px 7px;border-radius:99px;border:1.5px solid var(--nb);font-size:10.5px;font-weight:800;color:var(--ink);background:var(--surface);vertical-align:1px}
.hb-role .ic{width:11px;height:11px}
.hb-role.ver{background:#0f2647;color:#fbf5e6;border-color:#0f2647}
.hb-role.pupil{background:#e6f4ea;color:#1f5f3b;border-color:#2e7d4f}
html.dark .hb-role.pupil{background:rgba(46,125,79,.25);color:#bfe8cf}
.pc-card.tap{cursor:pointer;transition:transform .15s,box-shadow .15s}
.pc-card.tap:active{transform:translate(2px,2px);box-shadow:none}
.pc-card.tap::after{content:"Pilih pelan ›";justify-self:start;margin-top:4px;font-size:12px;font-weight:900;color:#e3c690}
html[lang="en"] .pc-card.tap::after{content:"Choose plan ›"}
.pc-choose{display:grid;gap:10px;text-align:left}
.pc-opt{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:var(--nbw,3px) solid var(--nb);border-radius:14px;background:var(--surface);color:var(--ink);text-decoration:none;box-shadow:var(--sh-sm)}
.pc-opt span{display:grid;gap:2px}.pc-opt b{font-size:16px;font-weight:900}.pc-opt small{font-size:12px;color:var(--soft);font-weight:600}
.pc-opt em{font:900 20px/1 "Arial Black",system-ui,sans-serif;font-style:normal;white-space:nowrap}.pc-opt em small{font-size:11px}
.pc-opt.best{background:#0f2647;color:#fbf5e6}.pc-opt.best small{color:#e3c690}
.pc-opt i{position:absolute;top:-11px;right:12px;font-style:normal;font-size:10.5px;font-weight:900;text-transform:uppercase;padding:3px 8px;border-radius:99px;background:#c9a13b;color:#111;border:2px solid var(--nb)}
.pc-opt:active{transform:translate(2px,2px);box-shadow:none}
.hb-tr-h{display:flex;align-items:center;gap:12px;text-align:left}
.hb-tr-h img,.hb-tr-h>span{width:52px;height:52px;border-radius:50%;object-fit:cover;border:2.5px solid var(--nb);display:grid;place-items:center;background:var(--gold-soft,#f5ebd6);flex:none}
.hb-tr-h b{display:block;font-size:17px}.hb-tr-h small{font-size:12.5px;color:var(--soft);font-weight:700}
/* senarai berkumpulan: kurang bising */
.hb-grid{gap:0;grid-template-columns:1fr;background:var(--surface);border:var(--nbw) solid var(--nb);border-radius:var(--r);box-shadow:var(--sh-sm,4px 4px 0 var(--nbs,var(--nb)));overflow:hidden}
.hb-grid>.hb-tile{border:0;border-bottom:1.5px solid var(--line,#e6dcc4);box-shadow:none;border-radius:0;min-height:60px;padding:11px 14px}
.hb-grid>.hb-tile:last-child{border-bottom:0}
.hb-grid>.hb-tile:active{transform:none;box-shadow:none;background:rgba(201,161,59,.12)}
.hb-grid>.hb-tile:hover{background:rgba(201,161,59,.07)}
.hb-grid>.hb-tile b{text-transform:none;font-size:15px;letter-spacing:0;font-weight:800}
.hb-grid>.hb-tile .hb-ti{width:36px;height:36px}

#settingsBody{max-width:1040px!important}
.in-bar{display:flex;align-items:center;gap:12px;margin:4px 0 14px;padding:12px 12px 12px 14px;background:var(--surface);border:var(--nbw) solid var(--nb);border-radius:16px;box-shadow:4px 4px 0 #c9a13b;animation:inBarIn .4s cubic-bezier(.2,1.3,.4,1) both}
.in-bar-ic img{display:block;width:40px;height:40px;border-radius:10px}
.in-bar-t{flex:1;min-width:0;display:grid;gap:2px}.in-bar-t b{font-weight:900;font-size:15px}.in-bar-t small{font-size:12.5px;color:var(--soft);font-weight:600}
.in-bar .btn.sm{min-height:40px;padding:0 16px;font-size:14px;flex:none}
.in-bar-x{flex:none;width:32px;height:32px;display:grid;place-items:center;border:0;background:none;color:var(--soft);cursor:pointer;border-radius:8px}.in-bar-x .ic{width:18px;height:18px}
@keyframes inBarIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.in-bar{animation:none}}
/* ikon peranti (bukan emoji) */
.in-os svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.in-os{background:#0f2647!important;color:#e8c46a;border-color:var(--nb)}
.in-os.a{background:#1f6b45!important;color:#fbf5e6}
.in-os.c{background:#c9a13b!important;color:#0f2647}
/* kad nota: ikut tema */
.in-note{background:var(--surface)!important}
html.dark .in-note{background:var(--surface2)!important}
/* halaman pemilik: wordmark & gambar */
html.dark .ow-head .wm-n{color:#fbf5e6}
html.dark .ow-head .wm-z{color:#e8c46a}
/* peti notifikasi dalam mod gelap */
html.dark .ib-item.new{background:#232a1d;background:color-mix(in srgb,#e8c46a 12%,var(--surface));border-color:#7a6326}
html.dark .ib-item.new b{color:#f0d58e}
html.dark .ib-ic{background:rgba(232,196,106,.14);color:#e8c46a}
.pc-auto{display:flex;gap:12px;align-items:flex-start;margin-top:4px;padding:12px 14px;border:2px dashed var(--line,#e6dcc4);border-radius:14px;cursor:pointer}
.pc-auto input{width:22px;height:22px;flex:none;margin-top:2px;accent-color:#0f2647}
html.dark .pc-auto input{accent-color:#e8c46a}
.pc-auto span{display:grid;gap:3px}.pc-auto b{font-weight:900;font-size:14.5px}.pc-auto small{font-size:12.5px;color:var(--soft);font-weight:600;line-height:1.4}
.pc-auto{text-align:left}
/* Promo pelancaran: harga (iq165) */
.pc-opt em s{display:block;font-family:inherit;font-size:12.5px;font-weight:700;line-height:1.2;color:var(--soft);text-decoration-thickness:1.5px}
.pc-opt.best em s{color:#c8c0ad}.pc-opt.best em .pc-promo{color:#8fd3a8}
.pc-promo-card{display:flex;align-items:center;gap:12px;border-color:#2e8b57}.pc-promo-card b{display:block}.pc-promo-card small{color:var(--soft);font-weight:600}
.pc-opt em .pc-promo{position:static;display:block;margin-top:3px;padding:0;background:none;border:0;font-size:10.5px;font-weight:800;color:#2e8b57;text-transform:none}
.pc-opt.busy,[data-pay].busy{opacity:.6;pointer-events:none}
/* iq165: notifikasi dibaca */
.ib-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 8px;font-size:13px;font-weight:800;color:var(--soft)}
.ib-all{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;font:inherit;font-size:13px;font-weight:800;border:2px solid var(--nb);border-radius:10px;background:var(--surface);color:var(--ink);cursor:pointer}
.ib-all .ic{width:15px;height:15px}
.ib-old{margin-top:12px}
.ib-old>summary{cursor:pointer;font-weight:800;font-size:13.5px;color:var(--soft);padding:6px 2px;list-style:none}
.ib-old>summary::-webkit-details-marker{display:none}
.ib-old>summary::before{content:"▸ ";}.ib-old[open]>summary::before{content:"▾ "}
.ib-old .ib-item{opacity:.72}
.hb-empty.sm{padding:18px 8px}
/* mod gelap: nota pilih buku — latar gelap keemasan supaya teks cerah jelas */
html.dark .pick-note{background:rgba(201,161,59,.14);color:var(--ink)}

/* popup sedih batal langganan */
.bye{display:grid;gap:10px;text-align:center;justify-items:center}
.bye-art{width:96px;height:96px;animation:byeBob 2.4s ease-in-out infinite}
.bye-art .bye-tear{transform-origin:43px 60px;animation:byeTear 1.8s ease-in infinite}
@keyframes byeBob{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(4px) rotate(3deg)}}
@keyframes byeTear{0%{transform:translateY(-4px);opacity:0}30%{opacity:1}100%{transform:translateY(16px);opacity:0}}
.bye p{margin:0;color:var(--muted,#566780)}
.bye-l{width:100%;display:grid;gap:6px;text-align:left;padding:10px 12px;border:2px solid var(--nb);border-radius:14px}
.bye-l small{font-weight:800;font-size:12px;opacity:.75}
.bye-l span{display:flex;gap:8px;align-items:flex-start;font-size:14px}.bye-l .ic{width:18px;height:18px;flex:none;margin-top:1px}
.bye-l.ok .ic{color:#2e8b57}.bye-l.no .ic{color:#c0392b}
.bye .btn{width:100%;justify-content:center}.bye-n{font-size:13px}
@media (prefers-reduced-motion:reduce){.bye-art,.bye-art .bye-tear{animation:none}}
.bye-sh .bye:has(.bye-go)~[data-close]{display:none}.bye .bye-go{text-decoration:none}
html.dark .gate .hb-card-t{color:#e8c46a}
html.dark .gate .hb-p,html.dark .gate .hb-p b{color:var(--ink)}
/* peti pentadbir: penapis, carian, susunan, baris boleh dibuka */
.ad-bar{display:grid;gap:10px;margin:4px 0 12px}
.ad-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.ad-chips::-webkit-scrollbar{display:none}
.ad-chips button{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:6px 12px;border:var(--nbw2,2px) solid var(--nb);border-radius:999px;background:var(--surface);color:var(--ink);font:800 13px/1 inherit;font-family:inherit;cursor:pointer}
.ad-chips button span{min-width:20px;padding:2px 6px;border-radius:99px;background:var(--surface2);font-size:11.5px}
.ad-chips button.on{background:var(--pri);color:var(--pri-ink)}
.ad-chips button.on span{background:rgba(255,255,255,.18)}
.ad-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}
.ad-q{display:flex;align-items:center;gap:6px;padding:0 10px;border:var(--nbw2,2px) solid var(--nb);border-radius:12px;background:var(--surface);min-width:0}
.ad-q .ic{width:18px;height:18px;flex:none;opacity:.7}
.ad-q input{border:0!important;box-shadow:none!important;background:transparent!important;min-width:0;width:100%;padding:9px 0!important;min-height:0!important}
.ad-row select{min-height:42px;max-width:150px}
@media (max-width:560px){.ad-row{grid-template-columns:1fr 1fr}.ad-q{grid-column:1/-1}.ad-row select{max-width:none}}
.ad-list{display:grid;gap:10px}
.ad-it{padding:0!important;overflow:hidden}
.ad-it>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 14px;cursor:pointer;list-style:none}
.ad-it>summary::-webkit-details-marker{display:none}
.ad-ic{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--surface2)}
.ad-ic .ic{width:18px;height:18px}
.ad-t{display:grid;gap:2px;min-width:0}
.ad-t b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ad-t small{display:flex;align-items:center;gap:4px;color:var(--muted,#566780);font-weight:700;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ad-t small .ic{width:13px;height:13px}
.ad-it[open]>summary{border-bottom:2px dashed var(--line)}
.ad-b{display:grid;gap:10px;padding:12px 14px 14px}
.ad-it.open .ad-ic,.ad-it.seen .ad-ic{background:color-mix(in srgb,var(--bad,#b1463a) 14%,transparent);color:var(--bad,#b1463a)}
.ad-it.my.new{border-color:var(--gold,#c9a13b)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--gold,#c9a13b) 30%,transparent),var(--nbs-sh,5px 5px 0) var(--nbs,var(--nb))}
.ad-it.my .ad-b .hb-rep-cat{font-weight:800;font-size:12px;color:var(--muted,#566780)}
.sb-ref{font-style:normal;font-weight:800;color:#9a7a26}

/* sheet: sentiasa muat skrin, boleh skrol, butang bawah nampak */
.hb-sheet{padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))}
.hb-sheet-c{max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;box-sizing:border-box}
@media (max-height:700px){.bye-art{width:64px;height:64px}.hb-sheet-c{padding:16px;gap:10px}.bye-l{padding:8px 10px}.bye-l span{font-size:13px}}
.bye-sh .hb-sheet-c .bye .btn{position:static}
/* menu Urus langganan */
.mg-l{display:grid;gap:10px;text-align:left}
.mg-it{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:var(--nbw,3px) solid var(--nb);border-radius:14px;background:var(--surface);cursor:pointer;text-decoration:none;color:inherit}
.mg-it:active{transform:translate(2px,2px)}
.mg-it:focus-visible{outline:3px solid #c9a13b;outline-offset:2px}
.mg-it span{display:grid;gap:2px;min-width:0}.mg-it b{font-weight:900;font-size:15px}.mg-it small{font-size:12.5px;font-weight:600;color:var(--soft);line-height:1.35}
.mg-it .ic{width:18px;height:18px;flex:none}
.mg-it.dn b{color:#c0392b}
.mg-st{font-style:normal;font-weight:900;font-size:12px;padding:4px 10px;border-radius:99px;border:2px solid var(--nb);flex:none}
.mg-st.on{background:#2e8b57;color:#fff;border-color:#2e8b57}.mg-st.off{background:var(--line,#e6dcc4)}

/* ===== Log masuk baharu (lg2): gelombang biru laut + emas, input pil, butang bulat ===== */
#gate{padding:0!important;align-items:stretch!important;justify-content:stretch!important;overflow-y:auto;background:#fbf5e6!important}
html.dark #gate{background:#0a1630!important}
.lg2{--w-n:#0f2647;--w-g:#c9a13b;--pill:#fff;--lg-ink:#0f2647;--lg-soft:#5e6b80;
  position:relative;width:100%;min-height:100%;display:flex;flex-direction:column;align-items:center;overflow:hidden;color:var(--lg-ink)}
html.dark .lg2{--w-n:#16305c;--w-g:#e8c46a;--pill:#151c2b;--lg-ink:#f4ecd8;--lg-soft:#aab4c8}
.lg2-top,.lg2-bot{position:absolute;left:0;width:100%;pointer-events:none;z-index:0}
.lg2-top{top:0;height:clamp(210px,36dvh,320px)}
.lg2-bot{bottom:0;height:clamp(80px,15dvh,150px)}
.lg2-w-n{fill:var(--w-n)}.lg2-w-g{fill:var(--w-g)}
.lg2-brand{position:relative;z-index:1;text-align:center;padding:calc(26px + env(safe-area-inset-top)) 20px 0;color:#fbf5e6}
.lg2-logo{display:block;width:clamp(56px,9dvh,76px);height:auto;aspect-ratio:1;margin:0 auto 8px;border-radius:20px}
.lg2-brand .wm{margin:0;font-size:clamp(26px,4.4dvh,32px);line-height:1.1}
.lg2-brand .wm-n{color:#fbf5e6}.lg2-brand .wm-z{color:#e8c46a}
.lg2-brand p{margin:6px 0 0;font-size:13.5px;font-weight:600;color:#fbf5e6;opacity:.9}
.lg2-body{position:relative;z-index:1;width:100%;max-width:440px;padding:clamp(40px,9dvh,76px) 22px calc(clamp(90px,16dvh,150px) + 10px);margin:auto 0}
.lg2-body .gate-err{min-height:0;text-align:center}
.lg2-in{display:grid;gap:16px}
.lg2-t{font-size:22px;font-weight:900;text-align:left}
.lg2-p{margin:-6px 0 0;font-size:13.5px;line-height:1.5;color:var(--lg-soft)}.lg2-p b{color:var(--lg-ink);word-break:break-all}
.lg2-form{display:grid;gap:10px}
.lg2-pill{display:flex;align-items:center;gap:6px;min-height:62px;padding:6px 6px 6px 16px;background:var(--pill);border:3px solid var(--lg-ink);border-radius:99px;box-shadow:5px 5px 0 var(--lg-ink)}
html.dark .lg2-pill{border-color:#e8c46a;box-shadow:5px 5px 0 #e8c46a}
.lg2-pill:focus-within{outline:3px solid #c9a13b;outline-offset:3px}
.lg2-ic{display:grid;place-items:center;flex:none;color:var(--lg-soft)}.lg2-ic .ic{width:22px;height:22px}
.lg2-pill input{all:unset;box-sizing:border-box;flex:1;min-width:0;min-height:46px;font-weight:600;font-size:16px;line-height:1.2;font-family:inherit;color:var(--lg-ink);text-overflow:ellipsis}
.lg2-pill input::placeholder{color:var(--lg-soft);opacity:.8}
.lg2-code{letter-spacing:.35em;font-weight:800!important;font-size:20px!important}
.lg2-go{all:unset;box-sizing:border-box;flex:none;width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:#c9a13b;color:#0f2647;border:3px solid #0f2647;cursor:pointer;transition:transform .12s}
.lg2-go:active{transform:translate(2px,2px) scale(.96)}
.lg2-go:disabled{opacity:.6}
.lg2-go:focus-visible{outline:3px solid #0f2647;outline-offset:2px}
html.dark .lg2-go{border-color:#0a1630}
.lg2-g{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 20px;border-radius:99px;background:var(--pill);border:3px solid var(--lg-ink);box-shadow:4px 4px 0 var(--lg-ink);font-weight:800;font-size:16px;cursor:pointer;color:var(--lg-ink)}
html.dark .lg2-g{border-color:#e8c46a;box-shadow:4px 4px 0 #e8c46a}
.lg2-g:active{transform:translate(2px,2px);box-shadow:2px 2px 0 var(--lg-ink)}
.lg2-g:focus-visible{outline:3px solid #c9a13b;outline-offset:3px}
.lg2 .lg-or{color:var(--lg-soft)}.lg2 .lg-or::before,.lg2 .lg-or::after{background:currentColor;opacity:.3}
.lg2 .lg-agree{color:var(--lg-soft);justify-content:flex-start}.lg2 .lg-agree a{color:var(--lg-ink)}
.lg2 .lg-agree input{accent-color:#0f2647}html.dark .lg2 .lg-agree input{accent-color:#e8c46a}
.lg2-links{display:flex;gap:10px;flex-wrap:wrap}
.lg2-lk{all:unset;box-sizing:border-box;padding:10px 16px;border-radius:99px;border:2px solid var(--lg-ink);font-weight:800;font-size:14px;cursor:pointer;color:var(--lg-ink)}
.lg2-lk:focus-visible{outline:3px solid #c9a13b;outline-offset:2px}
/* tablet & komputer: panel di tengah, gelombang penuh lebar */
@media (min-width:700px){.lg2-body{max-width:480px}.lg2-top{height:clamp(240px,40dvh,360px)}.lg2-brand{padding-top:40px}.lg2-logo{width:84px}}
/* skrin pendek (telefon mendatar) */
@media (max-height:560px){.lg2-top{height:130px}.lg2-logo{display:none}.lg2-brand{padding-top:14px}.lg2-brand p{display:none}.lg2-body{padding-top:36px;padding-bottom:100px}.lg2-bot{height:70px}}
@media (max-width:340px){.lg2-body{padding-left:14px;padding-right:14px}.lg2-pill{padding-left:12px}}
@media (prefers-reduced-motion:reduce){.lg2-go{transition:none}}
.lg2-in,.lg2-form{grid-template-columns:minmax(0,1fr)}
.lg2-in>*{min-width:0}
/* log masuk: pilih peranan Muallim / Pelajar (pil meluncur) */
.lg2-role{position:relative;display:grid;grid-template-columns:1fr 1fr;padding:5px;border-radius:99px;background:var(--pill);border:3px solid var(--lg-ink);box-shadow:4px 4px 0 var(--lg-ink)}
html.dark .lg2-role{border-color:#e8c46a;box-shadow:4px 4px 0 #e8c46a}
.lg2-role button{all:unset;box-sizing:border-box;position:relative;z-index:1;display:grid;place-items:center;min-height:44px;border-radius:99px;font-weight:800;font-size:15px;color:var(--lg-ink);cursor:pointer;transition:color .25s}
.lg2-role button.on{color:#0f2647}
.lg2-role button:focus-visible{outline:3px solid #c9a13b;outline-offset:2px}
.lg2-role-pill{position:absolute;top:5px;bottom:5px;left:5px;width:calc(50% - 5px);border-radius:99px;background:#c9a13b;border:2px solid #0f2647;transition:transform .45s cubic-bezier(.3,1.35,.5,1)}
.lg2-role-pill.sq{animation:lgPillSq .45s ease}
@keyframes lgPillSq{0%{scale:1 1}35%{scale:1.12 .86}70%{scale:.97 1.04}100%{scale:1 1}}
.lg2-role button{transition:color .25s .1s,transform .15s}.lg2-role button:active{transform:scale(.96)}
.lg2-in>.sw-r,.lg2-in>.sw-l{animation:lgSwR .42s cubic-bezier(.2,.8,.2,1) both;animation-delay:var(--d,0ms)}
.lg2-in>.sw-l{animation-name:lgSwL}
@keyframes lgSwR{from{opacity:0;transform:translateX(28px);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
@keyframes lgSwL{from{opacity:0;transform:translateX(-28px);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
.lg2-role-pill.p{transform:translateX(100%)}
.lg2-pill .lg2-code6{letter-spacing:.22em;font-weight:800!important;text-transform:uppercase}
.lg2-pill .lg2-code6::placeholder{letter-spacing:0;text-transform:none;font-weight:600}
.lg2-who{min-height:0;font-size:13.5px;font-weight:700;color:var(--lg-soft);padding:0 8px}
.lg2-who:empty{display:none}
.lg2-who.ok{display:flex;align-items:center;gap:6px;color:var(--lg-ink)}.lg2-who.ok .ic{width:18px;height:18px;color:#1f7a4d;flex:none}
.lg2-who.bad{color:#b3261e}
.lg2-note{margin:0;font-size:12.5px;line-height:1.5;color:var(--lg-soft)}
@media (prefers-reduced-motion:reduce){.lg2-role-pill{transition:none}.lg2-role-pill.sq,.lg2-in>.sw-r,.lg2-in>.sw-l{animation:none}}
.lg2-pill input:focus,.lg2-pill input:focus-visible{outline:none!important}
.lg2-rem{display:inline-flex;align-items:center;gap:8px;margin:2px 0 0 10px;font-size:13px;font-weight:700;color:var(--lg-soft);cursor:pointer;justify-self:start}
.lg2-rem input{width:18px;height:18px;margin:0;accent-color:#0f2647}html.dark .lg2-rem input{accent-color:#e8c46a}
.hb-sun{margin-bottom:12px}.hb-sun span{display:grid;gap:2px}.hb-sun b{color:var(--ink)}
