/* Hub Potentia: palet Potentia (biru + bintang oranye) dengan gaya tebal Level Up RCD. */
.idle { transform-origin: 50% 100%; animation: breathe 3.2s ease-in-out infinite; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.linkbtn { border: 0; background: none; color: var(--potentia); font-weight: 800; text-decoration: underline; padding: 0; }
.pill { display: inline-block; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 2px 10px; background: #e6edfb; color: var(--potentia); }
.banner { background: #fff3c4; border-bottom: 3px solid var(--ink); padding: 8px 16px; font-weight: 700; font-size: 14px; text-align: center; }
.banner.warn { background: #ffe1cf; }

/* ---------- login ---------- */
.login { display: grid; place-items: center; padding: 24px 16px; background: linear-gradient(rgba(56,104,200,.35), rgba(29,42,91,.55)), url(../assets/hub/island.webp) center/cover; }
.login-card { width: min(520px, 100%); background: var(--paper); border-radius: 28px; padding: 24px 24px 26px; text-align: center; box-shadow: 0 0 0 4px var(--ink), 0 10px 0 4px var(--ink); position: relative; }
.brand-logo { height: 44px; margin: 0 auto 4px; }
.login-komo { width: 120px; margin: 0 auto -6px; display: block; }
.login-card h1 { font-family: var(--display); font-size: clamp(26px, 5vw, 34px); margin: 6px 0 8px; }
.login-card p { margin: 0 0 14px; color: var(--ink-2); }

.login-err { color: #c22a3e; font-weight: 800; }
.login-alt { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 16px; font-size: 14px; }
.login-alt a { color: var(--potentia); font-weight: 800; }

/* ---------- kerangka hub ---------- */
.hub { background: var(--paper); padding-bottom: 90px; }
.hub .topbar { gap: 14px; }
.brand img { height: 34px; display: block; }
.mainnav { display: flex; gap: 4px; margin: 0 auto; }
.mainnav a { display: flex; align-items: center; gap: 6px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 16px; padding: 6px 12px; border-radius: 999px; color: var(--ink); }
.mainnav a img { width: 26px; height: 26px; object-fit: contain; }
.mainnav a.on { background: var(--potentia); color: #fff; box-shadow: 0 3px 0 var(--ink); }
.mainnav a:hover:not(.on) { background: #e6edfb; }
.kid { border: 3px solid var(--ink); background: #fff; border-radius: 16px; padding: 4px 12px; text-align: left; display: grid; line-height: 1.1; max-width: 190px; }
.kid b { font-family: var(--display); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kid small { font-size: 12px; color: var(--ink-2); }
.bottomnav { display: none; }
.hub-main { max-width: 1120px; margin: 0 auto; padding: 18px 16px; }
@media (max-width: 980px) {
  .mainnav { display: none; }
  .hub .topbar .star-count { margin-left: auto; }
  .bottomnav { display: grid; grid-template-columns: repeat(6, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--paper); border-top: 3px solid var(--ink); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bottomnav a { display: grid; justify-items: center; gap: 2px; text-decoration: none; color: var(--ink-2); font-size: 11px; font-weight: 800; }
  .bottomnav a img { width: 30px; height: 30px; object-fit: contain; filter: grayscale(.6); opacity: .7; }
  .bottomnav a.on { color: var(--potentia); }
  .bottomnav a.on img { filter: none; opacity: 1; }
}
@media (max-width: 560px) { .kid small { display: none; } .brand img { height: 26px; } }

.page-head { margin: 4px 0 16px; }
.page-head h1 { font-family: var(--display); font-size: clamp(28px, 4.4vw, 40px); margin: 0 0 6px; }
.page-head p { margin: 0; color: var(--ink-2); max-width: 70ch; }
.report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card-sec { background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 0 0 3px var(--ink), 0 6px 0 3px var(--ink); margin: 18px 0 22px; }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.sec-head h2 { font-family: var(--display); font-size: 22px; margin: 0; }
.sec-head a { font-weight: 800; color: var(--potentia); text-decoration: none; }
.empty { text-align: center; color: var(--ink-2); padding: 24px 0; }
.empty a { color: var(--potentia); font-weight: 800; }

/* beranda */
.hero-hub { display: grid; grid-template-columns: minmax(260px, 1fr) 1.6fr; gap: 0; border-radius: 26px; overflow: hidden; background: linear-gradient(135deg, #e6edfb, #fff3c4); box-shadow: 0 0 0 4px var(--ink), 0 8px 0 4px var(--ink); }
.hero-art { aspect-ratio: 16 / 9; }
.hero-art .island { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-komo { width: 84px; margin-bottom: 4px; }
.hero-copy .btn { margin-top: 12px; font-size: 16px; }
@media (max-width: 760px) { .hero-hub { grid-template-columns: 1fr; } .hero-copy { margin: 14px 14px 0; } }
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.doc { display: grid; gap: 4px; align-content: start; text-decoration: none; color: var(--ink); background: var(--paper); border-radius: 16px; padding: 12px 14px; box-shadow: 0 0 0 2px #e1d8c4; }
.doc:hover { box-shadow: 0 0 0 3px var(--potentia); }
.doc b { font-family: var(--display); font-size: 16px; line-height: 1.2; }
.doc span { font-size: 13px; color: var(--ink-2); }
.doc em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--potentia); }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .docs { grid-template-columns: 1fr; } }

.hero-copy { position: relative; margin: 14px; padding: 16px 18px; background: rgba(255,248,236,.96); border-radius: 18px; box-shadow: 0 0 0 3px var(--ink); align-self: center; }
.hero-copy h1 { font-family: var(--display); font-size: clamp(26px, 4vw, 36px); margin: 0 0 4px; color: var(--potentia); }
.hero-copy p { margin: 0; color: var(--ink-2); }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 8px; margin: 22px 0 6px; }
.flow-step { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 12px 10px 14px; border-radius: 20px; background: #fff; text-decoration: none; color: var(--ink); box-shadow: 0 0 0 3px var(--ink), 0 6px 0 3px var(--ink); transition: transform .1s; }
.flow-step:hover { transform: translateY(-3px); }
.flow-step img { height: 96px; width: auto; max-width: 100%; object-fit: contain; }
.flow-step b { font-family: var(--display); font-size: 18px; }
.flow-step span { font-size: 13.5px; color: var(--ink-2); }
.flow-step em { font-style: normal; font-weight: 800; color: var(--potentia); font-size: 14px; }
.flow-step.done { background: #e9f8ef; }
.flow-step.done em { color: #1f9a5a; }
.flow-step.now { background: #fff3c4; box-shadow: 0 0 0 3px var(--ink), 0 6px 0 3px var(--ink), 0 0 0 9px rgba(248,144,72,.35); }
.flow-arrow { align-self: center; font-size: 26px; color: var(--orange); font-weight: 800; }
.flow-note { text-align: center; color: var(--ink-2); margin: 10px 0 0; }
.flow-note a { color: var(--potentia); font-weight: 800; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; } .flow-arrow { display: none; } }
.rec-list { display: grid; gap: 10px; }
.rec { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; border: 0; text-align: left; background: var(--paper); border-radius: 18px; padding: 10px 14px 10px 10px; box-shadow: 0 0 0 3px var(--ink), 0 5px 0 3px var(--ink); }
.rec:active { transform: translateY(3px); }
.rec img { width: 64px; height: 56px; object-fit: contain; }
.rec b { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; }
.rec small { display: block; color: var(--ink-2); font-size: 13.5px; line-height: 1.35; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 1px 9px; margin-bottom: 3px; background: #e6edfb; color: var(--potentia); }
.tag.t-ulangi { background: #ffe1cf; color: #b04d17; }
.tag.t-tantangan { background: #efe4ff; color: #6b3fc4; }
.tag.t-lanjutkan { background: #e9f8ef; color: #1f7a48; }
@media (max-width: 520px) { .rec { grid-template-columns: 52px 1fr; } .rec .stars { display: none; } }
.badges { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.badge { display: grid; justify-items: center; text-align: center; gap: 4px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); }
.badge img { width: 74px; height: 74px; object-fit: contain; filter: grayscale(1) opacity(.35); }
.badge.got img { filter: none; animation: pop .4s; }
.badge.got { color: var(--ink); }
@media (max-width: 640px) { .badges { grid-template-columns: repeat(3, 1fr); } }

/* tes */
.pot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 12px 0 16px; }
.pot { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: center; padding: 8px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 2px #e1d8c4; }
.pot img { width: 70px; height: 120px; object-fit: cover; object-position: top; border-radius: 10px; }
.pot b { font-family: var(--display); font-size: 17px; display: block; }
.pot .chc { font-size: 12.5px; font-weight: 800; color: var(--potentia); display: block; }
.pot small { display: block; font-size: 13px; color: var(--ink-2); margin: 2px 0 4px; line-height: 1.3; }
.pot em { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--orange); }
.pot.done { background: #e9f8ef; box-shadow: 0 0 0 2px #9fdcb8; }
.pot.done em { color: #1f7a48; }
.cek-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-top: 10px; }
.cek { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 18px; background: var(--paper); box-shadow: 0 0 0 3px var(--ink); }
.cek img { width: 64px; height: 64px; object-fit: contain; }
.cek b { font-family: var(--display); font-size: 18px; display: block; }
.cek small { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.35; }
.cek .meta { display: block; font-size: 12.5px; font-weight: 800; color: var(--potentia); margin-top: 3px; }
.cek .btn { font-size: 16px; padding: 8px 16px; }
.cek.soon { opacity: .6; grid-template-columns: 64px 1fr; }

/* hasil: pemetaan potensi */
.report { display: grid; gap: 16px; }
.rsec { background: #fff; border-radius: 20px; padding: 18px; box-shadow: 0 0 0 3px var(--ink); }
.rsec h2 { font-family: var(--display); font-size: 22px; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.rsec h2 span { display: grid; place-items: center; min-width: 36px; height: 36px; border-radius: 10px; background: var(--potentia); color: #fff; font-size: 16px; padding: 0 6px; }
.rsec h3 { font-family: var(--display); font-size: 18px; margin: 12px 0 6px; }
.ident { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 18px; margin: 0; }
.ident dt { font-size: 12.5px; font-weight: 800; color: var(--ink-2); }
.ident dd { margin: 0; font-weight: 700; }
.empty-state { text-align: center; display: grid; justify-items: center; gap: 10px; }
.empty-state img { height: 140px; }
.tbl { overflow-x: auto; border-radius: 12px; border: 2px solid #e1d8c4; margin-bottom: 8px; }
.tbl table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14.5px; }
.tbl th { background: var(--potentia); color: #fff; font-size: 12.5px; padding: 8px; text-align: left; }
.tbl td { padding: 8px; border-top: 1px solid #eee3cd; vertical-align: middle; }
.tbl td small { display: block; color: var(--ink-2); font-size: 12px; }
.tbl .c { text-align: center; width: 70px; }
.tbl .mid { background: #f6f3ea; }
.obs td:first-child, .obs td:last-child { width: 32%; }
.obs .c { color: var(--potentia); font-size: 18px; }
.mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; }
.mark.kuat { background: #1f9a5a; }
.mark.dukung { background: var(--orange); }
.idx { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.idx > div { border-radius: 16px; padding: 12px; background: var(--paper); box-shadow: 0 0 0 2px #e1d8c4; display: grid; gap: 2px; }
.idx small { font-size: 12.5px; font-weight: 800; color: var(--ink-2); }
.idx b { font-family: var(--display); font-size: 22px; }
.idx em { font-style: normal; font-size: 12px; color: var(--ink-2); }
.idx-main { background: #e6edfb !important; box-shadow: 0 0 0 3px var(--potentia) !important; }
.idx-main b { color: var(--potentia); font-size: 26px; }
@media (max-width: 760px) { .idx { grid-template-columns: 1fr 1fr; } .idx-main { grid-column: 1 / -1; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.two-col > div { border-radius: 16px; padding: 12px 14px; }
.two-col .kuat { background: #e9f8ef; } .two-col .dukung { background: #fff0e4; }
.two-col h3 { margin-top: 0; }
.two-col ul { margin: 0; padding-left: 18px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.cap { border-radius: 14px; background: var(--paper); padding: 10px 14px; margin-bottom: 10px; }
.cap h3 { margin: 0 0 6px; font-size: 17px; }
.cap ul, .cap-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.cap li, .cap-list li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cap-st { font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 2px 9px; }
.s-tuntas { background: #dff5ea; color: #19764a; } .s-berkembang { background: #fff3c4; color: #8a6400; } .s-belum { background: #ffe1cf; color: #b04d17; }
.cap-list { text-align: left; margin: 10px 0; }
.saran { margin: 0 0 8px; padding-left: 20px; display: grid; gap: 6px; }
.rsec.foot { background: #f6f3ea; box-shadow: none; font-size: 14px; color: var(--ink-2); }
.modal-card.wide { width: min(760px, 100%); max-height: 90vh; overflow: auto; }
.obs-form { display: grid; gap: 8px; margin: 12px 0; }
.obs-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; font-size: 14px; }
.obs-row span:last-child { text-align: right; }
.scale { display: flex; gap: 4px; }
.scale button { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font-weight: 800; }
.scale button.on { background: var(--potentia); color: #fff; }
@media (max-width: 560px) { .obs-row { grid-template-columns: 1fr 1fr; } .obs-row .scale { grid-column: 1 / -1; order: 3; justify-content: center; } }
.seg.wrap { flex-wrap: wrap; }

/* belajar */
.seg.big { display: inline-flex; margin-top: 8px; }
.seg.big a { padding: 10px 18px; font-weight: 800; text-decoration: none; color: var(--ink); background: #fff; border-right: 2px solid var(--ink); }
.seg.big a:last-child { border-right: 0; }
.seg.big a.on { background: var(--potentia); color: #fff; }
.how { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; }
.how img { width: 150px; }
.how h2 { font-family: var(--display); margin: 0 0 6px; font-size: 22px; }
.how ol { margin: 0; padding-left: 20px; }
.adapt { margin: 8px 0 0; font-weight: 700; color: #1f7a48; background: #e9f8ef; border-radius: 12px; padding: 8px 12px; }
@media (max-width: 600px) { .how { grid-template-columns: 1fr; } .how img { width: 110px; } }
.filters { display: grid; gap: 8px; margin-bottom: 12px; }
.chips-row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chip { flex: 0 0 auto; border: 3px solid var(--ink); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 800; }
.chip.on { background: var(--potentia); color: #fff; }
.chip.m.on { background: var(--c); }
.howto .why { font-size: clamp(13px, 1.6vw, 17px); background: rgba(255,255,255,.14); border-radius: 12px; padding: 6px 12px; }
.hud-dots i.done { background: var(--potentia); }

/* lembar kerja */
.ws-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.ws-card { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; text-align: left; border: 0; background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 0 0 3px var(--ink), 0 5px 0 3px var(--ink); }
.ws-card img { width: 56px; height: 56px; object-fit: contain; }
.ws-card b { display: block; font-family: var(--display); font-size: 17px; }
.ws-card small { display: block; color: var(--ink-2); font-size: 13px; }
.ws-card .meta { display: block; font-size: 12px; font-weight: 800; color: var(--potentia); margin-top: 3px; }
.sheet-view { background: #d9dfee; padding: 16px; }
.sheet-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-bottom: 16px; }
.row-in { display: flex; gap: 6px; align-items: center; font-weight: 800; background: #fff; border-radius: 12px; padding: 8px 12px; border: 3px solid var(--ink); }
.pages { display: grid; gap: 20px; justify-items: center; }
.page { width: min(210mm, 100%); min-height: 297mm; background: #fff; color: #111; padding: 14mm 14mm 12mm; box-shadow: 0 6px 24px rgba(0,0,0,.2); display: flex; flex-direction: column; font-family: var(--body); }
.ws-head { display: flex; align-items: center; gap: 12px; border-bottom: 3px solid var(--potentia); padding-bottom: 8px; }
.ws-head > img:first-child { height: 30px; }
.ws-head div { flex: 1; }
.ws-head b { display: block; font-family: var(--display); font-size: 22px; color: var(--ink); }
.ws-head small { color: #555; font-weight: 700; }
.ws-komo { height: 64px; }
.ws-fields { display: flex; gap: 18px; margin: 12px 0 6px; font-weight: 700; }
.ws-fields span { flex: 1; display: flex; gap: 6px; }
.ws-fields i { flex: 1; border-bottom: 1.5px solid #333; }
.ws-instr { font-weight: 800; margin: 6px 0 12px; }
.ws-items { margin: 0; padding-left: 22px; display: grid; gap: 14px 22px; font-size: 18px; align-content: start; flex: 1; }
.ws-items.cols-2 { grid-template-columns: 1fr 1fr; } .ws-items.cols-3 { grid-template-columns: repeat(3, 1fr); } .ws-items.cols-4 { grid-template-columns: repeat(4, 1fr); }
.ws-items li { break-inside: avoid; }
.ws-box { display: inline-block; width: 46px; height: 34px; border: 2px solid #333; border-radius: 6px; vertical-align: middle; margin: 0 3px; }
.ws-box.s { width: 26px; height: 26px; }
.ws-line { display: inline-block; min-width: 110px; border-bottom: 1.5px solid #333; height: 1.2em; vertical-align: bottom; margin: 0 4px; }
.ws-num { display: inline-grid; place-items: center; width: 46px; height: 34px; font-weight: 800; }
.ws-count { display: flex; flex-wrap: wrap; gap: 4px; min-height: 60px; margin-bottom: 4px; border: 1.5px dashed #bbb; border-radius: 8px; padding: 6px; }
.ws-la { width: 40px; height: 40px; object-fit: contain; }
.ws-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ws-grp { border: 1.5px dashed #bbb; border-radius: 12px; padding: 8px; display: flex; flex-wrap: wrap; gap: 4px; min-height: 64px; }
.ws-pic { width: 70px; height: 70px; object-fit: contain; vertical-align: middle; margin-right: 6px; }
.ws-trace { vertical-align: middle; }
.ws-opt { display: inline-block; border: 1.5px solid #333; border-radius: 999px; padding: 1px 12px; margin: 0 2px; font-size: 15px; }
.ws-chip { display: inline-block; border: 1.5px solid #333; border-radius: 6px; padding: 1px 8px; margin: 2px; background: #f4f4f4; font-weight: 700; }
.ws-word { font-weight: 800; letter-spacing: .1em; font-size: 20px; }
.ws-circles { font-size: 26px; letter-spacing: 4px; vertical-align: middle; }
.ws-frac { display: inline-grid; text-align: center; vertical-align: middle; line-height: 1.05; margin: 0 2px; }
.ws-frac b { border-bottom: 1.5px solid #111; padding: 0 4px; font-weight: 700; }
.ws-frac i { font-style: normal; }
.ws-fbox { display: inline-grid; vertical-align: middle; gap: 2px; }
.ws-fbox hr { border: 0; border-top: 1.5px solid #333; margin: 0; }
.ws-sus { font-family: ui-monospace, Menlo, monospace; font-size: 22px; border-collapse: collapse; }
.ws-sus td { text-align: right; padding: 0 4px; }
.ws-sus .u { border-bottom: 2px solid #111; }
.ws-sus .ans { height: 34px; }
.ws-match { display: grid; grid-template-columns: 80px auto 1fr auto 1fr; align-items: center; gap: 10px; }
.ws-dot { font-size: 26px; }
.ws-dot.r { margin-left: 60px; }
.ws-nl { max-width: 560px; }
.ws-key { columns: 2; font-size: 16px; }
.ws-foot { margin-top: 12px; font-size: 11px; color: #777; border-top: 1px solid #ddd; padding-top: 6px; }
@media print {
  @page { size: A4; margin: 0; }
  body { background: #fff !important; }
  .no-print, .topbar, .bottomnav, .banner, .page-head .btn, #cetak { display: none !important; }
  .sheet-view { padding: 0; background: #fff; }
  .page { box-shadow: none; width: 210mm; min-height: 297mm; page-break-after: always; }
  .key-page[hidden] { display: none; }
  .hub { padding: 0; }
  .rsec, .card-sec { box-shadow: none; border: 1px solid #ccc; break-inside: auto; }
  .rsec h2, .cap, .idx, .two-col > div, tr { break-inside: avoid; }
  .report .btn { display: none; }
  .report-head { display: none !important; }
  .report .rec { box-shadow: 0 0 0 1px #ccc; padding: 6px 10px; }
  .report .rec .stars { display: none; }
}

/* ---------- masuk: coba gratis / voucher ---------- */
.login-tabs { display: flex; margin: 4px auto 14px; width: 100%; }
.login-tabs button { flex: 1; border: 0; background: #fff; padding: 10px 8px; font-weight: 800; border-right: 2px solid var(--ink); }
.login-tabs button:last-child { border-right: 0; }
.login-tabs button.on { background: var(--potentia); color: #fff; }
.login-pane { text-align: left; }
.login-pane .ob-label { text-align: left; }
.login-pane .in { width: 100%; font: 700 18px var(--body); padding: 10px 12px; border-radius: 14px; border: 3px solid var(--ink); background: #fff; color: var(--ink); }
.login-pane .btn.big { width: 100%; justify-content: center; margin-top: 14px; }
.seg.gender { margin-top: 12px; }
.seg.gender button.on { background: var(--sun); }
.consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); text-align: left; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: 0 0 auto; }
.big-code { font-family: ui-monospace, Menlo, monospace; font-size: 40px; font-weight: 800; letter-spacing: .2em; text-align: center; background: #fff3c4; border: 3px dashed var(--ink); border-radius: 16px; padding: 10px; }
.start-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.code-chip { display: inline-flex; gap: 8px; align-items: center; background: #fff3c4; border: 2px dashed var(--ink); border-radius: 12px; padding: 6px 12px; font-size: 14px; }
.code-chip b { font-family: ui-monospace, Menlo, monospace; letter-spacing: .12em; font-size: 17px; }

/* ---------- tes cerita: bacaan, kalimat bukti, HP ---------- */
.vn-layer.full { inset: 0 0 4% 0; justify-content: center; }
.vn-read { background: #fff; border-radius: 2.4cqh; padding: 2.6cqh 3.2cqh; max-width: 120cqh; max-height: 72cqh; overflow: auto; box-shadow: 0 0 0 .5cqh var(--ink), 0 1cqh 0 .5cqh var(--ink); }
.vn-read.small { max-height: 60cqh; }
.vn-read h3 { font-family: var(--display); font-size: 4.4cqh; margin: 0 0 1.4cqh; color: var(--potentia); }
.vn-passage p { font-size: 3.4cqh; line-height: 1.5; margin: 0 0 1cqh; font-weight: 700; }
.vn-passage .sent { display: inline; border: 0; background: #f4f6fc; border-radius: .8cqh; padding: .3cqh .6cqh; margin: .3cqh 0; font: 700 3.2cqh/1.6 var(--body); color: var(--ink); text-align: left; cursor: pointer; }
.vn-passage .sent:hover { background: #e6edfb; }
.vn-passage .sent.chosen, .vn-choice.chosen, .vn-card.chosen { background: var(--potentia); color: #fff; }
.vn-passage .sent.right { background: var(--green); color: #fff; } .vn-passage .sent.wrong { background: var(--red); color: #fff; }
.vn-read-row { display: flex; gap: 1.6cqh; justify-content: flex-end; margin-top: 1.6cqh; }
.vn-read-row .btn { font-size: 3cqh; padding: 1cqh 2.4cqh; }
.vn-prop.wide { width: 40%; height: 46%; top: 2%; }
.phone { width: 100%; max-width: 44cqh; margin: 0 auto; background: #1d2a5b; border-radius: 3.6cqh; padding: 2cqh 1.6cqh 3cqh; box-shadow: 0 1cqh 0 rgba(0,0,0,.25); }
.phone-top { color: #fff; font-weight: 800; font-size: 2.6cqh; text-align: center; margin-bottom: 1.4cqh; }
.bubble { background: #fff; border-radius: 2cqh 2cqh 2cqh .4cqh; padding: 1.2cqh 1.6cqh; font-size: 2.7cqh; line-height: 1.35; margin-bottom: 1cqh; }
.bubble b { display: block; font-size: 2.2cqh; color: var(--potentia); }
.bubble u { color: #2a63c9; word-break: break-all; }
.bubble.me { background: #d8f5e2; margin-left: 20%; border-radius: 2cqh 2cqh .4cqh 2cqh; }

/* ---------- Dikte Robot & Taman Pilihan ---------- */
.tes-dom { min-height: 100dvh; display: flex; flex-direction: column; background: radial-gradient(circle at 50% 20%, #5b86e0, #1d2a5b); }
.tes-body { flex: 1; display: grid; place-items: center; padding: 16px; }
.dikte, .taman { width: min(820px, 100%); background: var(--paper); border-radius: 26px; padding: 20px; box-shadow: 0 0 0 4px var(--ink), 0 10px 0 4px var(--ink); display: grid; gap: 16px; }
.dikte-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dikte-top .robot { width: 72px; }
.dikte-top b { display: block; font-family: var(--display); font-size: 22px; }
.dikte-top span { color: var(--ink-2); font-weight: 700; font-size: 14px; }
.dikte-top > div { flex: 1; }
.dikte-pic { width: 90px; height: 90px; object-fit: contain; background: #fff; border-radius: 16px; box-shadow: 0 0 0 3px var(--ink); }
.dikte-slots { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; position: relative; min-height: 64px; }
.dikte-slots .slot { width: 52px; height: 60px; border-radius: 12px; border: 3px dashed var(--ink-2); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 30px; background: #fff; }
.dikte-slots .slot.on { border-style: solid; border-color: var(--ink); background: var(--sun); }
.dikte-slots.flash::after { content: attr(data-flash); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 40px; letter-spacing: .2em; background: var(--paper); border-radius: 12px; }
.dikte-tiles { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.tile { width: 56px; height: 56px; border: 0; border-radius: 14px; background: #fff; font-family: var(--display); font-weight: 700; font-size: 28px; box-shadow: 0 0 0 3px var(--ink), 0 5px 0 3px var(--ink); }
.tile:disabled { opacity: .25; }
.tile:active { transform: translateY(3px); }
.dikte-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; align-items: center; }
.dikte-row input { font: 800 20px var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 10px 12px; border-radius: 14px; border: 3px solid var(--ink); width: min(260px, 100%); }
.taman-top { display: flex; justify-content: space-between; align-items: center; }
.taman-top b { font-family: var(--display); font-size: clamp(22px, 4vw, 30px); }
.taman-top span { font-weight: 800; color: var(--ink-2); }
.taman-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.taman-opt { border: 0; background: #fff; border-radius: 22px; padding: 14px; display: grid; justify-items: center; gap: 8px; box-shadow: 0 0 0 3px var(--ink), 0 7px 0 3px var(--ink); transition: transform .1s; }
.taman-opt:hover { transform: translateY(-3px); }
.taman-opt img { width: 100%; max-height: 260px; object-fit: contain; }
.taman-opt span { font-family: var(--display); font-weight: 600; font-size: 20px; }
.taman-opt.chosen { background: #fff3c4; transform: scale(.97); }
.minat-top li { display: block; }
.minat-bars { display: grid; gap: 8px; }
.mb { display: grid; grid-template-columns: 120px 1fr; gap: 4px 10px; align-items: center; }
.mb span { font-weight: 800; }
.mb i { display: block; height: 14px; border-radius: 99px; background: #c9d6f3; }
.mb.top i { background: var(--potentia); }
.mb small { grid-column: 2; color: var(--ink-2); font-size: 12.5px; }
.siap-form { display: grid; gap: 10px; }
.siap-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px dashed #e1d8c4; font-weight: 700; }
.siap-row .seg button.on { background: var(--potentia); color: #fff; }
@media (max-width: 560px) { .taman-pair { gap: 10px; } .taman-opt span { font-size: 16px; } .tile { width: 46px; height: 46px; font-size: 22px; } .dikte-slots .slot { width: 40px; height: 48px; font-size: 22px; } }

.vn-char.pet { height: 52%; bottom: 24%; }
.vn-char.pet.side-mid { height: 46%; }
.vn-choice.long { font-size: 3.1cqh; padding: 1.4cqh 2.6cqh; max-width: 52cqh; }
.vn-choices { max-width: 100%; }

.print-head { display: none; }
@media print {
  .print-head { display: flex; align-items: center; gap: 14px; border-bottom: 3px solid var(--potentia); padding-bottom: 8px; }
  .print-head img { height: 46px; }
  .print-head b { display: block; font-family: var(--display); font-size: 22px; }
  .print-head small { color: #c22a3e; font-weight: 800; letter-spacing: .04em; }
}

/* topik kurikulum: 3 game per topik */
.topik-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.topik-card { background: var(--paper); border-radius: 18px; padding: 12px; box-shadow: 0 0 0 2px #e1d8c4; display: grid; gap: 8px; }
.topik-head b { display: block; font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.2; }
.topik-head small { color: var(--ink-2); font-size: 12px; font-weight: 700; }
.topik-games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tg { border: 0; background: #fff; border-radius: 14px; padding: 6px 4px; display: grid; justify-items: center; gap: 2px; box-shadow: 0 0 0 2px var(--ink), 0 4px 0 2px var(--ink); font-size: 12px; font-weight: 800; }
.tg img { width: 52px; height: 42px; object-fit: contain; }
.tg .stars { font-size: 12px; letter-spacing: 1px; font-style: normal; }
.tg:active { transform: translateY(3px); }
.sub-h { font-family: var(--display); font-size: 22px; margin: 18px 0 6px; }
.boot { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 10px; color: #fff; font-weight: 800; }
.boot img { height: 48px; filter: brightness(0) invert(1); }

.st-tag { display: inline-block; vertical-align: middle; font-family: var(--body); font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 1px 8px; background: #eef1fb; color: var(--ink-2); margin-left: 4px; }
.st-tag.ok { background: #dff5ea; color: #19764a; }
.cek.done { background: #f2fbf6; }
.cek-btns { display: grid; gap: 6px; }
.cek-btns .btn { font-size: 15px; padding: 7px 14px; justify-content: center; }
@media (max-width: 520px) { .cek { grid-template-columns: 52px 1fr; } .cek img { width: 52px; height: 52px; } .cek-btns { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; } .cek-btns .btn:only-child { grid-column: 1 / -1; } }

/* ---------- lembar kerja dengan aset ---------- */
.ws-page { position: relative; border: 3px solid var(--ink); border-radius: 18px; background:
  radial-gradient(circle at 96% 3%, #fff3c4 0 60px, transparent 61px), radial-gradient(circle at 3% 98%, #e6edfb 0 70px, transparent 71px), #fff; }
.ws-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 3px dashed var(--potentia); padding-bottom: 10px; }
.ws-logo { height: 30px; }
.ws-title { display: flex; align-items: center; gap: 10px; flex: 1; justify-content: flex-end; text-align: right; }
.ws-title img { width: 52px; height: 52px; object-fit: contain; }
.ws-title b { display: block; font-family: var(--display); font-size: 22px; color: var(--ink); }
.ws-title small { color: #555; font-weight: 700; }
.ws-guide { display: flex; align-items: center; gap: 10px; margin: 10px 0 12px; }
.ws-guide img { width: 70px; flex: 0 0 auto; }
.ws-guide p { margin: 0; flex: 1; background: #f4f7ff; border: 2px solid var(--potentia); border-radius: 16px 16px 16px 4px; padding: 8px 14px; font-weight: 800; font-size: 16px; position: relative; }
.ws-items li { position: relative; border: 1.5px solid #c9d1e6; border-radius: 12px; padding: 8px 10px 8px 36px; list-style-position: inside; }
.ws-items { padding-left: 0; list-style: none; counter-reset: ws; }
.ws-items li { counter-increment: ws; }
.ws-items li::before { content: counter(ws); position: absolute; left: 8px; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--potentia); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.ws-ic { position: absolute; right: 6px; top: 6px; width: 22px; height: 22px; opacity: .55; }
.ws-bottom { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 12px; margin-top: 14px; align-items: stretch; }
.ws-bottom > div { border: 2px dashed #c9d1e6; border-radius: 14px; padding: 8px 10px; display: grid; justify-items: center; align-content: center; gap: 4px; text-align: center; }
.ws-color img { width: 96px; height: 80px; object-fit: contain; }
.ws-color span, .ws-self small { font-size: 12px; font-weight: 800; color: #555; }
.ws-faces { display: flex; gap: 12px; font-size: 20px; color: #f0a400; }
.ws-sign i { display: block; width: 90%; height: 46px; border-bottom: 1.5px solid #333; }
.ws-foot { display: flex; justify-content: space-between; }
@media print { .ws-page { border-width: 2px; } }
@media (max-width: 640px) { .ws-bottom { grid-template-columns: 1fr; } .ws-title { justify-content: flex-start; text-align: left; } .ws-head { flex-wrap: wrap; } }

/* ---------- tabel kurikulum ---------- */
.kur-tbl table { min-width: 1180px; font-size: 13.5px; }
.kur-tbl td { vertical-align: top; }
.kur-tbl td ul { margin: 4px 0 0; padding-left: 16px; color: var(--ink-2); font-size: 12.5px; }
.kur-tbl td.code { font-family: ui-monospace, Menlo, monospace; font-size: 12px; white-space: nowrap; }
.kur-tbl .mp { display: inline-block; font-size: 11.5px; font-weight: 800; color: #fff; background: var(--c); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.kur-tbl td.games { min-width: 220px; }
.gbtn { display: inline-flex; align-items: center; gap: 4px; border: 2px solid var(--ink); background: #fff; border-radius: 10px; padding: 2px 8px 2px 2px; margin: 2px; font-size: 12px; font-weight: 800; cursor: pointer; }
.gbtn img { width: 26px; height: 22px; object-fit: contain; }
.gbtn:hover { background: #e6edfb; }
.gbtn.ws { padding: 3px 8px; background: #fff8ec; }
.kur-tbl th { position: sticky; top: 0; }

/* ---------- maskot cewek & cowok ---------- */
.duo { display: flex; align-items: flex-end; justify-content: center; gap: 0; }
.duo img { height: 100%; width: auto; filter: drop-shadow(0 6px 0 rgba(29,42,91,.25)); }
.duo img + img { margin-left: -18px; }
.login-duo { height: 150px; margin: 6px auto 0; }
.hero-hub { display: grid !important; grid-template-columns: 1.05fr auto 1.35fr !important; align-items: center; gap: 16px !important; padding: 20px !important; background: linear-gradient(135deg, #e6edfb 0%, #fff3c4 100%) !important; }
.hero-copy { margin: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important; display: flex; flex-direction: column; gap: 8px; }
.hero-copy h1 { margin: 0 !important; font-size: clamp(30px, 4vw, 46px) !important; }
.hero-copy p { margin: 0; font-size: 17px; }
.eyebrow-s { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.hero-cta .btn { font-size: 16px; padding: 10px 18px; margin: 0 !important; }
.hero-duo { height: 220px; }
.hero-art { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 3px var(--ink); }
.hero-art .island { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 980px) { .hero-hub { grid-template-columns: 1fr auto !important; } .hero-art { grid-column: 1 / -1; } .hero-duo { height: 170px; } }
@media (max-width: 560px) { .hero-hub { grid-template-columns: 1fr !important; } .hero-duo { height: 150px; order: -1; } }

/* referensi */
details.ref { margin-top: 6px; grid-column: 1 / -1; }
details.ref summary { cursor: pointer; font-size: 12.5px; font-weight: 800; color: var(--potentia); }
.ref-list { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; color: var(--ink-2); display: grid; gap: 4px; }
.ref-list a { color: var(--potentia); }
.rsec.refs .ref-list { font-size: 13px; }
.open-ref { margin-top: 14px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 0 0 2px #e1d8c4; }
@media print { details.ref { display: none; } .rsec.refs { break-inside: auto; } }

/* ---------- login v2: kartu terbelah, maskot berdiri di tepi bawah panel gambar ---------- */
.view.login { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(1200px 600px at 15% 0%, rgba(56,104,200,.20), transparent 60%), radial-gradient(900px 500px at 100% 100%, rgba(248,144,72,.18), transparent 60%), url(../assets/ui/pola.webp) 0 0 / 360px repeat, #fff8ec; }
.lg-card { width: min(980px, 100%); display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; border-radius: 28px; overflow: hidden;
  box-shadow: 0 0 0 2px rgba(29,42,91,.10), 0 24px 60px -24px rgba(29,42,91,.45); }
.lg-art { position: relative; min-height: 560px; background: #bfe3f5; overflow: hidden; }
.lg-island { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.lg-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,42,91,0) 35%, rgba(29,42,91,.45) 100%); }
.lg-duo { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; justify-content: center; align-items: flex-end; height: 62%; }
.lg-duo img { height: 100%; width: auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.25)); }
.lg-duo img + img { margin-left: -6%; height: 96%; }
.lg-bubble { position: absolute; z-index: 3; top: 22px; left: 22px; right: 22px; max-width: 330px; background: #fff; color: var(--ink); font-weight: 800; font-size: 15px; line-height: 1.35;
  padding: 12px 16px; border-radius: 18px; box-shadow: 0 6px 18px rgba(29,42,91,.18); }
.lg-bubble::after { content: ""; position: absolute; left: 34px; bottom: -10px; border: 10px solid transparent; border-top-color: #fff; border-bottom: 0; }
.lg-form { padding: 40px 40px 32px; display: flex; flex-direction: column; justify-content: center; text-align: left; }
.lg-logo { height: 38px; width: auto; align-self: flex-start; margin: 0 0 20px; }
.lg-form h1 { font-family: var(--display); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; margin: 0 0 8px; color: var(--ink); }
.lg-sub { margin: 0 0 20px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.lg-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #eef2fb; border-radius: 14px; margin-bottom: 18px; }
.lg-tabs button { min-height: 44px; border: 0; border-radius: 10px; background: transparent; font: 800 15px var(--body); color: var(--ink-2); cursor: pointer; }
.lg-tabs button.on { background: #fff; color: var(--potentia); box-shadow: 0 2px 8px rgba(29,42,91,.14); }
.lg-label { display: block; font-weight: 800; font-size: 14px; margin: 12px 0 6px; color: var(--ink); }
.lg-in { width: 100%; min-height: 50px; font: 700 17px var(--body); padding: 10px 14px; border-radius: 14px; border: 2px solid #d5dcec; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.lg-in:focus { outline: none; border-color: var(--potentia); box-shadow: 0 0 0 4px rgba(56,104,200,.15); }
.lg-in.code { font-size: 22px; letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.lg-in.code::placeholder { font-size: 16px; letter-spacing: normal; text-transform: none; color: #9aa4bd; font-weight: 600; }
.lg-go { width: 100%; justify-content: center; margin-top: 16px !important; min-height: 54px; font-size: 18px !important; }
.lg-perks { list-style: none; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.lg-perks li { font-size: 13px; font-weight: 800; color: #1c7a4a; background: #e3f6ea; padding: 5px 10px; border-radius: 999px; }
.lg-perks li::before { content: "✓ "; }
.lg-gender { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 4px; }
.lg-gender button { min-height: 44px; border-radius: 12px; border: 2px solid #d5dcec; background: #fff; font: 800 15px var(--body); color: var(--ink-2); cursor: pointer; }
.lg-gender button.on { border-color: var(--potentia); color: var(--potentia); background: #eef2fb; }
.lg-form .consent { font-size: 13px; color: var(--ink-2); display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; text-align: left; }
.lg-alt { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid #eceff6; font-size: 14px; }
.lg-alt a, .lg-alt .linkbtn { color: var(--potentia); font-weight: 800; text-decoration: none; }
.lg-alt a:hover, .lg-alt .linkbtn:hover { text-decoration: underline; }
.lg-form .login-err { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #fdecee; color: #b4233a; font-size: 14px; }
@media (max-width: 760px) {
  .view.login { padding: 0; place-items: stretch; background: #fff; }
  .lg-card { grid-template-columns: 1fr; border-radius: 0; box-shadow: none; min-height: 100dvh; }
  .lg-art { min-height: 0; height: 250px; }
  .lg-island { object-position: 50% 35%; }
  .lg-duo { height: 82%; }
  .lg-bubble { top: 14px; left: 14px; right: auto; max-width: 62%; font-size: 13px; padding: 9px 12px; }
  .lg-form { padding: 22px 16px 28px; justify-content: flex-start; }
  .lg-logo { height: 30px; margin-bottom: 12px; }
}
.lg-form .lg-go { border: 0; box-shadow: 0 4px 0 #1f8f55, 0 10px 18px -8px rgba(31,143,85,.55); text-shadow: none; text-decoration: none; }
.lg-form .lg-go:active { transform: translateY(3px); box-shadow: 0 1px 0 #1f8f55; }
@media (max-width: 760px) {
  .lg-card { grid-template-rows: auto 1fr; }
  .lg-bubble { display: none; }
  .lg-art { height: 230px; }
}

.lg-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.lg-top .lg-logo { margin: 0; }
.lg-lang { display: inline-flex; padding: 3px; background: #eef2fb; border-radius: 999px; }
.lg-lang button { min-width: 44px; min-height: 36px; border: 0; border-radius: 999px; background: transparent; font: 800 13px var(--body); color: var(--ink-2); cursor: pointer; }
.lg-lang button.on { background: #fff; color: var(--potentia); box-shadow: 0 1px 4px rgba(29,42,91,.15); }
.lg-hint { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-2); }
@media (max-width: 760px) { .lg-top { margin-bottom: 12px; } }

.psi-note { display: flex; gap: 10px; align-items: flex-start; text-align: left; margin: 12px 0; padding: 12px 14px; border-radius: 14px; background: #eef4ff; color: #2b3a6b; font-size: 14px; line-height: 1.5; }
.psi-note span { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--potentia); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 900; }

/* login: muat dalam satu layar; bila tidak cukup, yang bergulir hanya kolom formulir */
.view.login { height: 100vh; height: 100dvh; min-height: 0; padding: 16px; overflow: hidden; }
.lg-card { max-height: calc(100dvh - 32px); height: auto; }
.lg-art { min-height: 0; }
.lg-island { object-position: 50% 70%; }
.lg-bubble { top: auto; bottom: calc(62% + 14px); left: 24px; right: auto; max-width: min(330px, 70%); }
.lg-form { overflow-y: auto; overscroll-behavior: contain; padding: 28px 36px 0; justify-content: flex-start; scrollbar-width: thin; }
.lg-form > :last-child { padding-bottom: 24px; }
.lg-form h1 { font-size: 28px !important; margin-bottom: 6px; }
.lg-sub { font-size: 14.5px; margin-bottom: 14px; }
.lg-top { margin-bottom: 14px; }
.lg-tabs { margin-bottom: 12px; }
.lg-label { margin: 10px 0 5px; }
.lg-in { min-height: 46px; }
.lg-perks { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin: 0 0 2px; font-size: 13px; font-weight: 800; color: #1c7a4a; }
.lg-perks span { background: none; padding: 0; }
.lg-perks span::before { content: "✓ "; }
.lg-perks i { font-style: normal; color: #9fb7a8; }
.lg-row2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; align-items: end; }
.lg-row2 .lg-gender { margin: 0; }
.lg-row2 .lg-gender button { min-height: 46px; padding: 0 6px; white-space: nowrap; font-size: 14px; }
.lg-form .consent { font-size: 13px; margin-top: 10px; }
.lg-go { position: sticky; bottom: 12px; z-index: 2; margin-top: 12px !important; }
.lg-alt { margin-top: 14px; }
@media (max-width: 1100px) {
  .view.login { height: auto; min-height: 100dvh; overflow: visible; padding: 0; place-items: stretch; background: #fff; }
  .lg-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; max-height: none; border-radius: 0; box-shadow: none; min-height: 100dvh; }
  .lg-art { height: 220px; }
  .lg-duo { height: 86%; }
  .lg-bubble { display: none; }
  .lg-form { overflow: visible; padding: 20px 16px 0; max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 420px) { .lg-row2 { grid-template-columns: 1fr; } }

/* Kebiasaan & Keseharian: one card per question with parameters (unit, range, recommended band) */
.card-sec.habit { display: grid; gap: 14px; }
.habit-row { border: 2px solid #e6eaf3; border-radius: 18px; padding: 14px 16px; background: #fff; }
.hb-head { display: flex; align-items: center; gap: 10px; }
.hb-ic { font-size: 22px; }
.hb-t { flex: 1; font-weight: 800; color: var(--ink, #1e2a5a); }
.hb-val { white-space: nowrap; color: var(--ink-2, #4a5683); font-weight: 700; }
.hb-val b { font-size: 24px; color: var(--ink, #1e2a5a); }
.hb-ctl { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.hb-track { flex: 1; min-width: 0; }
.hb-track input[type=range] { width: 100%; height: 12px; border-radius: 999px; -webkit-appearance: none; appearance: none; background: #e3e8f3; }
.hb-track input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #3868c8; border: 4px solid #fff; box-shadow: 0 2px 6px rgba(30,42,90,.35); cursor: pointer; }
.hb-track input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #3868c8; border: 4px solid #fff; box-shadow: 0 2px 6px rgba(30,42,90,.35); cursor: pointer; }
.hb-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2, #4a5683); margin-top: 4px; }
.hb-step { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; border: 2px solid #dfe4ef; border-bottom-width: 4px; background: #fff; font-size: 22px; font-weight: 900; color: var(--ink, #1e2a5a); cursor: pointer; }
.hb-rec { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 13px; color: var(--ink-2, #4a5683); }
.hb-dot { width: 14px; height: 8px; border-radius: 4px; background: #bfeccd; }
.hb-st { font-style: normal; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.hb-st.ok { background: #e6f7ed; color: #1b7f45; }
.hb-st.up { background: #fff3dc; color: #9a5b00; }
.hb-src { margin: 0; }
@media (min-width: 900px) { .card-sec.habit { grid-template-columns: 1fr 1fr; } .card-sec.habit > .hb-src, .card-sec.habit > .btn { grid-column: 1 / -1; justify-self: start; } }
