/* Ujikom Pajak · MARC — tema terang & colorful mengikuti portal.marc-tax.id */
:root {
    --navy: #0B0B0C; --orange: #FF6B00; --soft: #FFC266;
    --ink: #1E293B; --muted: #64748B; --line: #E2E8F0; --card: #FFFFFF;
    --ok: #10B981; --ok-bg: #ECFDF5; --bad: #F43F5E; --bad-bg: #FFF1F2; --warn: #F59E0B; --warn-bg: #FFFBEB;
    --radius: 18px; --shadow: 0 14px 34px -20px rgba(15, 23, 42, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; min-height: 100vh; display: flex; flex-direction: column;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased;
    background: linear-gradient(180deg, #FFF7ED 0%, #FDF2F8 45%, #F5F3FF 100%); background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.app { flex: 1; width: 100%; }

/* ---------- Bilah atas ---------- */
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.topbar-in { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { height: 32px; width: auto; }
.brand-sep { width: 1px; height: 24px; background: var(--line); }
.brand-txt { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.topnav { display: flex; align-items: center; gap: 6px; }
.topnav a, .chip-nama { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #475569; border: 1px solid transparent; background: none; }
.topnav a:hover, .chip-nama:hover { background: #FFF7ED; color: var(--orange); }
.topnav a.aktif { background: #FFF7ED; color: var(--orange); border-color: #FED7AA; }
.chip-nama { border-color: var(--line); max-width: 180px; }
.chip-nama span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .brand-sep, .brand-txt, .topnav a span { display: none; } .chip-nama { max-width: 130px; } }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 24px 24px; }
.hero .glow1 { position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,107,0,.28); filter: blur(70px); }
.hero .glow2 { position: absolute; left: -80px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: rgba(168,85,247,.25); filter: blur(70px); }
.hero-in { position: relative; padding: 48px 16px 96px; }
.hero.kecil .hero-in { padding: 32px 16px 80px; }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); padding: 6px 12px; font-size: 12px; font-weight: 700; color: var(--soft); }
.hero h1 { margin: 18px 0 0; font-size: clamp(28px, 5vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; max-width: 820px; }
.hero h1 .warna { background: linear-gradient(90deg, #FF6B00, #F43F5E, #A855F7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin: 14px 0 0; color: rgba(255,255,255,.7); max-width: 640px; font-size: 17px; line-height: 1.6; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.6); }
.crumb a:hover { color: #fff; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 10px 14px; min-width: 120px; }
.hero-stat b { display: block; font-size: 22px; font-weight: 800; color: #fff; }
.hero-stat span { font-size: 12px; color: rgba(255,255,255,.6); }

.isi { position: relative; margin-top: -60px; padding-bottom: 56px; }

/* ---------- Kartu umum ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 22px; }
.judul-seksi { display: flex; align-items: center; gap: 10px; margin: 34px 0 14px; font-size: 20px; font-weight: 800; }
.judul-seksi i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 15px; background: linear-gradient(135deg, #FF6B00, #F43F5E); }
.grid { display: grid; gap: 16px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .g3, .g2 { grid-template-columns: 1fr; } }

/* ---------- Kartu gradien (tingkat & mapel) ---------- */
.gcard { --c: #FF6B00; --c2: #FBBF24; position: relative; overflow: hidden; display: flex; flex-direction: column; color: #fff; border-radius: 22px; padding: 22px; min-height: 210px;
    background: linear-gradient(140deg, var(--c), var(--c2)); box-shadow: 0 18px 36px -20px var(--c); transition: transform .25s ease, box-shadow .25s ease; }
.gcard:hover, .gcard:focus-visible { transform: translateY(-5px) rotate(-.3deg); box-shadow: 0 28px 50px -22px var(--c); outline: none; }
.gcard .lingkar { position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.14); transition: transform .5s ease; }
.gcard .lingkar.b { right: 30px; top: auto; bottom: -70px; width: 120px; height: 120px; background: rgba(255,255,255,.1); }
.gcard:hover .lingkar { transform: scale(1.2); }
.gcard .ikon { position: relative; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--c); font-size: 22px; box-shadow: 0 8px 18px -8px rgba(0,0,0,.35); }
.gcard .huruf { position: relative; font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.gcard h3 { position: relative; margin: 16px 0 4px; font-size: 19px; font-weight: 800; line-height: 1.25; }
.gcard p { position: relative; margin: 0; font-size: 13.5px; color: rgba(255,255,255,.85); line-height: 1.5; }
.gcard .bawah { position: relative; margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.22); color: #fff; }
.buka { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--c); font-size: 13px; font-weight: 800; transition: padding .25s ease; }
.gcard:hover .buka { padding-right: 18px; }
.bar-prog { position: relative; height: 6px; border-radius: 999px; background: rgba(255,255,255,.28); overflow: hidden; margin-top: 12px; }
.bar-prog i { position: absolute; inset: 0 auto 0 0; background: #fff; border-radius: inherit; }

/* ---------- Info & tips ---------- */
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row + .info-row { margin-top: 14px; }
.info-ikon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.info-row h4 { margin: 0 0 4px; font-size: 15px; }
.info-row p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.tip-card { border-radius: 16px; padding: 16px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--c, #FF6B00); }
.tip-card b { display: block; font-size: 14px; margin-bottom: 4px; }
.tip-card span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Tab ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.tab { flex: 1; min-width: 120px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px; border-radius: 12px; border: 0; background: transparent; font-weight: 700; color: #475569; font-size: 14.5px; }
.tab:hover { background: #F8FAFC; }
.tab.aktif { color: #fff; background: linear-gradient(135deg, var(--c, #FF6B00), var(--c2, #F43F5E)); box-shadow: 0 10px 20px -12px var(--c, #FF6B00); }

/* ---------- Resume ---------- */
.resume-sec { margin-top: 14px; overflow: hidden; }
.resume-sec summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-weight: 800; font-size: 16px; }
.resume-sec summary::-webkit-details-marker { display: none; }
.resume-sec summary .no { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); }
.resume-sec summary .chev { margin-left: auto; color: var(--muted); transition: transform .2s; }
.resume-sec[open] summary .chev { transform: rotate(180deg); }
.resume-body { padding: 0 20px 20px 62px; font-size: 14.5px; line-height: 1.65; color: #334155; }
@media (max-width: 620px) { .resume-body { padding: 0 16px 18px; } }
.resume-body ul { margin: 0; padding-left: 18px; }
.resume-body li + li { margin-top: 6px; }
.resume-body p { margin: 8px 0; }
.resume-body b { color: var(--ink); }
.resume-body table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 13.5px; display: block; overflow-x: auto; }
.resume-body table tbody, .resume-body table tr { width: 100%; }
.resume-body th { text-align: left; background: #F8FAFC; color: #475569; font-weight: 700; }
.resume-body th, .resume-body td { padding: 8px 10px; border: 1px solid var(--line); vertical-align: top; }
.resume-body tr:nth-child(even) td { background: #FCFCFD; }
.resume-body .tip { background: var(--warn-bg); border: 1px dashed #FCD34D; border-radius: 12px; padding: 10px 12px; color: #92400E; }

.kotak-ingat { position: relative; overflow: hidden; border-radius: 18px; padding: 20px; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); }
.kotak-ingat .lbl { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.kotak-ingat .kal { margin-top: 6px; font-size: 18px; font-weight: 800; line-height: 1.35; }
.daftar-jebakan { margin: 0; padding: 0; list-style: none; }
.daftar-jebakan li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; line-height: 1.5; }
.daftar-jebakan li:last-child { border-bottom: 0; }
.daftar-jebakan i { color: var(--bad); margin-top: 3px; }

.cakupan-grup + .cakupan-grup { margin-top: 18px; }
.cakupan-grup h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.cakupan-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .cakupan-list { grid-template-columns: 1fr; } }
.cakupan-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #F8FAFC; border: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; }
.cakupan-list li i { color: var(--c, #FF6B00); margin-top: 3px; }
.badge-t { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 8px; font-size: 12px; font-weight: 800; color: #fff; }

/* ---------- Pengaturan latihan ---------- */
.opsi-grup { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.opsi { padding: 9px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: #475569; }
.opsi:hover { border-color: var(--c, #FF6B00); }
.opsi.aktif { border-color: var(--c, #FF6B00); background: color-mix(in srgb, var(--c, #FF6B00) 10%, white); color: var(--ink); }
.lbl-kecil { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 14px; border: 0; font-weight: 800; font-size: 15px; color: #fff; background: linear-gradient(135deg, var(--c, #FF6B00), var(--c2, #F43F5E)); box-shadow: 0 12px 24px -14px var(--c, #FF6B00); transition: transform .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14.5px; color: #334155; }
.btn-ghost:hover { border-color: #CBD5E1; background: #F8FAFC; }
.btn-ghost.ragu-on { border-color: var(--warn); background: var(--warn-bg); color: #92400E; }
.statline { display: flex; flex-wrap: wrap; gap: 10px; }
.stat-mini { flex: 1; min-width: 120px; padding: 14px; border-radius: 14px; background: #F8FAFC; border: 1px solid var(--line); }
.stat-mini b { display: block; font-size: 22px; font-weight: 800; }
.stat-mini span { font-size: 12.5px; color: var(--muted); }

/* ---------- Kuis ---------- */
.kuis-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kuis-judul { font-weight: 800; font-size: 15px; }
.timer { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: #F1F5F9; font-weight: 800; font-variant-numeric: tabular-nums; }
.timer.genting { background: var(--bad-bg); color: var(--bad); }
.progres-kuis { height: 8px; border-radius: 999px; background: #F1F5F9; overflow: hidden; margin-top: 14px; }
.progres-kuis i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--c, #FF6B00), var(--c2, #F43F5E)); transition: width .3s ease; }
.kuis-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; margin-top: 18px; align-items: start; }
@media (max-width: 900px) { .kuis-layout { grid-template-columns: 1fr; } }
.soal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.soal-no { display: inline-grid; place-items: center; min-width: 40px; height: 32px; padding: 0 10px; border-radius: 10px; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--c, #FF6B00), var(--c2, #F43F5E)); }
.tag-mapel { padding: 4px 10px; border-radius: 999px; font-weight: 700; color: #fff; font-size: 11.5px; }
.soal-teks { margin: 16px 0 18px; font-size: 16.5px; line-height: 1.65; font-weight: 600; }
.pilihan { display: grid; gap: 10px; }
.pil { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-size: 15px; line-height: 1.5; color: #334155; transition: border-color .15s, background .15s, transform .15s; }
.pil:hover { border-color: color-mix(in srgb, var(--c, #FF6B00) 55%, white); background: #FFFBF7; }
.pil .hrf { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: #F1F5F9; color: #475569; }
.pil.pilih { border-color: var(--c, #FF6B00); background: color-mix(in srgb, var(--c, #FF6B00) 8%, white); }
.pil.pilih .hrf { background: linear-gradient(135deg, var(--c, #FF6B00), var(--c2, #F43F5E)); color: #fff; }
.pil.benar { border-color: var(--ok); background: var(--ok-bg); }
.pil.benar .hrf { background: var(--ok); color: #fff; }
.pil.salah { border-color: var(--bad); background: var(--bad-bg); }
.pil.salah .hrf { background: var(--bad); color: #fff; }
.pil[disabled] { cursor: default; }
.kuis-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.navgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 6px; margin-top: 12px; max-height: 320px; overflow-y: auto; padding: 2px; }
.nv { height: 38px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 13px; color: #475569; position: relative; }
.nv.isi { background: #EEF2FF; border-color: #C7D2FE; color: #3730A3; }
.nv.ragu { background: var(--warn-bg); border-color: #FCD34D; color: #92400E; }
.nv.kini { outline: 3px solid color-mix(in srgb, var(--c, #FF6B00) 45%, white); outline-offset: 1px; }
.nv.benar { background: var(--ok-bg); border-color: #6EE7B7; color: #065F46; }
.nv.salah { background: var(--bad-bg); border-color: #FDA4AF; color: #9F1239; }
.legenda { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.legenda span { display: inline-flex; align-items: center; gap: 6px; }
.legenda i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; border: 1.5px solid var(--line); }

/* ---------- Hasil ---------- */
.hasil-top { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; }
@media (max-width: 720px) { .hasil-top { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.cincin { width: 200px; height: 200px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.cincin::after { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: #fff; }
.cincin .angka { position: relative; z-index: 1; text-align: center; }
.cincin .angka b { display: block; font-size: 52px; font-weight: 800; line-height: 1; }
.cincin .angka span { font-size: 13px; color: var(--muted); font-weight: 700; }
.status-lulus { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; }
.status-lulus.ya { background: var(--ok-bg); color: #047857; }
.status-lulus.tidak { background: var(--bad-bg); color: #BE123C; }
.hasil-top h2 { margin: 12px 0 6px; font-size: 26px; font-weight: 800; }
.per-mapel { margin-top: 16px; display: grid; gap: 8px; }
.pm-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 70px; gap: 10px; align-items: center; font-size: 13.5px; }
@media (max-width: 520px) { .pm-row { grid-template-columns: 100px minmax(0, 1fr) 56px; } }
.pm-bar { height: 10px; border-radius: 999px; background: #F1F5F9; overflow: hidden; }
.pm-bar i { display: block; height: 100%; border-radius: inherit; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.review { margin-top: 14px; }
.review-item { padding: 18px 20px; border-left: 5px solid var(--line); }
.review-item.benar { border-left-color: var(--ok); }
.review-item.salah { border-left-color: var(--bad); }
.review-item.kosong { border-left-color: var(--warn); }
.review-item .soal-teks { font-size: 15.5px; margin: 10px 0 12px; }
.review-item .pil { padding: 10px 12px; font-size: 14px; }
.hasil-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.hasil-badge.benar { background: var(--ok-bg); color: #047857; }
.hasil-badge.salah { background: var(--bad-bg); color: #BE123C; }
.hasil-badge.kosong { background: var(--warn-bg); color: #92400E; }
.penjelasan { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #EEF2FF, #FDF4FF); border: 1px solid #E0E7FF; font-size: 14px; line-height: 1.6; color: #334155; }
.penjelasan b { color: #4338CA; }

/* ---------- Riwayat ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px; border-bottom: 1px solid #F1F5F9; }
.tbl-wrap { overflow-x: auto; }
.nilai-pill { display: inline-block; min-width: 52px; text-align: center; padding: 4px 10px; border-radius: 999px; font-weight: 800; }
.kosong-state { text-align: center; padding: 40px 20px; color: var(--muted); }
.kosong-state i { font-size: 40px; color: #CBD5E1; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(15,23,42,.45); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-box { width: 100%; max-width: 440px; background: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 30px 60px -20px rgba(15,23,42,.5); }
.modal-box h3 { margin: 0 0 8px; font-size: 19px; }
.modal-box p { margin: 0 0 16px; color: var(--muted); line-height: 1.55; font-size: 14.5px; }
.modal-box input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); font: inherit; font-size: 15px; outline: none; }
.modal-box input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,0,.12); }
.modal-aksi { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); }
.rainbow { height: 4px; background: linear-gradient(90deg, #FF6B00, #F43F5E, #A855F7, #3B82F6, #10B981, #F59E0B); }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 16px; font-size: 12.5px; color: #475569; }

.fade-up { animation: fadeUp .45s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade-up { animation: none; } .gcard, .gcard *, .pil, .btn { transition: none !important; } }

/* ---------- Formulir, peringatan, tautan ---------- */
.label { display: block; font-size: 13px; font-weight: 700; color: #334155; margin-bottom: 6px; }
.input { width: 100%; padding: 11px 13px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 14.5px; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,0,.12); }
.input:disabled { background: #F8FAFC; color: var(--muted); }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; margin-bottom: 14px; font-size: 14px; line-height: 1.5; border: 1px solid; }
.alert i { margin-top: 3px; }
.alert-ok { background: var(--ok-bg); border-color: #A7F3D0; color: #065F46; }
.alert-bad { background: var(--bad-bg); border-color: #FECDD3; color: #9F1239; }
.alert-info { background: #EFF6FF; border-color: #BFDBFE; color: #1E40AF; }
.link { color: var(--orange); font-weight: 700; }
.link:hover { text-decoration: underline; }
.link-btn { border: 0; background: none; padding: 0; color: #475569; font-weight: 700; font-size: 12.5px; }
.link-btn:hover { color: var(--orange); }
.topnav a.chip-nama { border: 1px solid var(--line); }
.form-narrow { max-width: 480px; margin: 0 auto; }
.peran { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.peran-admin { background: #FFF7ED; color: #C2410C; }
.peran-peserta { background: #EEF2FF; color: #4338CA; }
@media (max-width: 900px) { #grid-pengguna { grid-template-columns: 1fr !important; } }

/* ---------- Resume per butir cakupan ---------- */
.subjek-head { display: flex; align-items: center; gap: 10px; margin: 26px 0 4px; font-weight: 800; font-size: 16px; color: var(--ink); }
.subjek-head i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 14px; background: linear-gradient(135deg, var(--c), var(--c2)); }
.subjek-head span { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.resume-sec summary .judul-topik { flex: 1; min-width: 0; line-height: 1.4; font-size: 15px; }
.resume-sec summary .lencana { display: inline-flex; gap: 4px; flex: none; }
.resume-sec summary .chev { margin-left: 4px; }
.badge-t.redup { opacity: .35; }
.resume-sec summary .badge-t { min-width: 22px; height: 20px; font-size: 11px; border-radius: 6px; padding: 0 6px; }
.tbl.peta td { vertical-align: top; }
.sel-ada { text-align: center; color: var(--c); }
.sel-ada small { display: block; font-size: 10.5px; font-weight: 800; color: #475569; margin-top: 2px; white-space: nowrap; }
.sel-kosong { text-align: center; color: #CBD5E1; }
.tbl.rekap th, .tbl.rekap td { padding: 10px 8px; }
.tbl.rekap .tag-mapel { white-space: nowrap; }

/* ---------- Kartu tingkat milik pengguna ---------- */
.gcard.milik { outline: 3px solid rgba(255,255,255,.85); outline-offset: -3px; }
.pita { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--c); font-size: 12px; font-weight: 800; box-shadow: 0 6px 14px -8px rgba(0,0,0,.4); }

/* ---------- Halaman login ---------- */
.login-body { background: #fff; }
.login-wrap { flex: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: calc(100vh - 4px); }
.login-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; display: flex; align-items: center; }
.login-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 24px 24px; }
.login-hero .glow1 { position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,107,0,.3); filter: blur(70px); }
.login-hero .glow2 { position: absolute; left: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgba(168,85,247,.28); filter: blur(70px); }
.login-hero-in { position: relative; padding: 48px clamp(20px, 5vw, 64px); max-width: 640px; }
.login-logo { height: 34px; width: auto; background: #fff; padding: 8px 12px; border-radius: 12px; display: block; margin-bottom: 28px; }
.login-hero h1 { margin: 18px 0 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.login-hero h1 .warna { background: linear-gradient(90deg, #FF6B00, #F43F5E, #A855F7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login-hero .lead { margin: 14px 0 0; color: rgba(255,255,255,.7); font-size: 16.5px; line-height: 1.6; }
.login-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.login-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: 13px; font-weight: 700; }
.login-chips i { color: var(--c); }
.login-form { display: flex; align-items: center; justify-content: center; padding: 32px 16px; background: linear-gradient(180deg, #FFF7ED 0%, #FDF2F8 50%, #F5F3FF 100%); }
.login-form form { width: 100%; max-width: 400px; }
@media (max-width: 860px) { .login-wrap { grid-template-columns: 1fr; } .login-hero-in { padding: 32px 16px; } .login-chips { display: none; } }
