.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 99; }
/* ---- navigasi atas ---- */
.topnav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body:not(.is-auth) .topnav { display: none; }
.topnav-in { max-width: 1160px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 22px; }
.logo { display: flex; gap: 10px; align-items: center; }
.logo i { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-3)); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 800; }
.logo b { font-size: 15px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; gap: 4px; }
.nv { background: transparent; border: 0; border-radius: 99px; padding: 8px 16px; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .15s; }
.nv:hover { background: var(--brand-soft); color: var(--brand); }
.nv[aria-current="true"] { background: var(--brand-soft); color: var(--brand); }
.who { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--muted); }
.quota { display: grid; gap: 4px; min-width: 130px; text-align: right; }
.meter { height: 5px; border-radius: 99px; background: var(--line); overflow: hidden; } .meter > i { display: block; height: 100%; width: 0; background: var(--brand-3); border-radius: 99px; transition: width .5s; }
.ghost { background: none; border: 1px solid var(--line-2); border-radius: 99px; padding: 6px 14px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.ghost:hover { color: var(--err); border-color: #F5B5BE; }
.banner { background: var(--warn-bg); color: var(--warn-ink); padding: 10px 16px; text-align: center; font-size: 13px; }
main { max-width: 1160px; margin: 0 auto; padding: 34px 24px 90px; outline: none; }
body:not(.is-auth) main { max-width: none; padding: 0; }

/* ---- judul halaman ---- */
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); margin: 0 0 6px; }
h1.pg { font-size: clamp(28px, 4vw, 38px); line-height: 1.1; margin: 0 0 8px; letter-spacing: -.03em; }
.lede { color: var(--muted); font-size: 16px; max-width: 58ch; margin: 0; }
.head { margin-bottom: 22px; }

/* ---- masuk ---- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.1fr .9fr; }
.auth-l { padding: 70px 60px; display: flex; flex-direction: column; justify-content: center; gap: 26px; background: radial-gradient(700px 420px at 20% 0%, #CFE3FF, rgba(219, 234, 254, 0) 70%), linear-gradient(160deg, #EAF3FF, #F7F9FC); position: relative; overflow: hidden; }
.auth-l h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -.035em; margin: 0; }
.auth-l h1 em { font-style: normal; color: var(--brand-2); }
.auth-l .lede { font-size: 17px; }
.deco { display: flex; gap: 14px; align-items: flex-end; margin-top: 8px; }
.deco .stat { min-width: 170px; animation: float 5s ease-in-out infinite; }
.deco .stat:nth-child(2) { animation-delay: -2.5s; transform: translateY(14px); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.auth-r { display: grid; place-items: center; padding: 40px 28px; background: #fff; }
.auth-form { width: 100%; max-width: 380px; }
.auth-form h2 { font-size: 26px; margin: 0 0 6px; letter-spacing: -.02em; }

/* ---- stepper ---- */
.stepper { display: flex; align-items: center; margin: 4px 0 22px; position: relative; }
.st { display: flex; gap: 10px; align-items: center; background: none; border: 0; padding: 0; cursor: default; font-weight: 700; color: var(--muted); font-size: 14px; flex: none; }
.st[data-ok="1"] { cursor: pointer; }
.st .n { width: 34px; height: 34px; border-radius: 99px; display: grid; place-items: center; background: #fff; border: 2px solid var(--line-2); font-size: 14px; font-weight: 800; transition: all .25s; }
.st.cur { color: var(--brand); } .st.cur .n { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 5px var(--brand-soft); }
.st.done .n { background: var(--brand-3); border-color: var(--brand-3); color: #fff; }
.sl-line { flex: 1; height: 3px; background: var(--line); margin: 0 12px; border-radius: 99px; overflow: hidden; min-width: 16px; }
.sl-line i { display: block; height: 100%; width: 0; background: var(--brand-3); transition: width .4s; }

/* ---- form + simulasi ---- */
.wiz { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--sh); }
fieldset.pane { border: 0; padding: 0; margin: 0; min-width: 0; animation: fadeUp .35s ease both; }
.ph { margin-bottom: 22px; }
.ph h2 { font-size: 22px; margin: 0 0 4px; letter-spacing: -.02em; }
.ph p { margin: 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.full { grid-column: 1 / -1; }
.f .l { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.req { color: var(--err); }
.hint { font-size: 12.5px; color: var(--muted); margin: -2px 0 6px; line-height: 1.45; }
input[type=text], input[type=password], select, textarea { width: 100%; min-height: 46px; padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #65676B 50%), linear-gradient(135deg, #65676B 50%, transparent 50%); background-position: calc(100% - 19px) 20px, calc(100% - 14px) 20px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; cursor: pointer; }
select.ph { color: #8f9b95; }
textarea { min-height: 92px; resize: vertical; line-height: 1.5; }
::placeholder { color: #9ba8a1; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: #9AA0A6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(8, 102, 255, .16); }
.f.bad input, .f.bad select, .f.bad textarea { border-color: var(--err); background: #FFF8F9; }
.f.bad { animation: shake .3s; }
@keyframes shake { 25% { translate: -4px 0; } 75% { translate: 4px 0; } }
.err { font-size: 12.5px; color: var(--err); margin: 6px 0 0; display: flex; gap: 6px; font-weight: 600; }
.err::before { content: "!"; flex: none; width: 15px; height: 15px; border-radius: 99px; background: var(--err); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; margin-top: 2px; }
.live { font-size: 12.5px; color: var(--brand-2); font-weight: 700; margin: 6px 0 0; min-height: 1em; }
.ig { display: flex; }
.ig .pre, .ig .suf { display: grid; place-items: center; padding: 0 14px; background: var(--brand-tint); border: 1.5px solid var(--line-2); color: var(--brand); font-size: 13px; font-weight: 800; white-space: nowrap; }
.ig .pre { border-right: 0; border-radius: 12px 0 0 12px; } .ig .suf { border-left: 0; border-radius: 0 12px 12px 0; }
.ig input { min-width: 0; } .ig .pre + input { border-radius: 0 12px 12px 0; } .ig input:first-child { border-radius: 12px 0 0 12px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chk { display: flex; gap: 10px; align-items: center; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px; font-size: 14px; cursor: pointer; transition: all .15s; }
.chk:hover { border-color: var(--brand-3); }
.chk:has(input:checked) { border-color: var(--brand-2); background: var(--brand-tint); font-weight: 700; color: var(--brand); }
.chk input { accent-color: var(--brand-2); width: 18px; height: 18px; margin: 0; }
details.adv { border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 14px 18px; margin-top: 22px; }
details.adv summary { cursor: pointer; font-weight: 700; color: var(--brand-2); }
details.adv .grid { margin-top: 18px; }
.wiz-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.sim { position: sticky; top: 84px; display: grid; gap: 14px; }
.simc { background: linear-gradient(160deg, #fff, var(--brand-tint)); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--sh); }
.simc h3 { margin: 0 0 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-2); display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.sim-tier { min-height: 28px; margin-bottom: 8px; }
.sim-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; } .sim-row:last-of-type { border: 0; }
.sim-row span { color: var(--muted); } .sim-row b { font-variant-numeric: tabular-nums; text-align: right; }
.sim-big { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--brand); font-variant-numeric: tabular-nums; margin: 2px 0 10px; }
.sim-empty { color: var(--muted); font-size: 13.5px; }
.cmp { display: grid; gap: 8px; }
.cmp .bar { height: 8px; }
.sample { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
.sample select { width: auto; min-height: 38px; }

/* ---- daftar laporan ---- */
.tools { display: flex; gap: 12px; align-items: center; margin: 4px 0 18px; flex-wrap: wrap; }
.search { position: relative; flex: 1 1 260px; max-width: 420px; } .search .ic { position: absolute; left: 14px; top: 14px; color: var(--muted); } .search input { padding-left: 42px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.rc { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--sh-s); display: grid; gap: 14px; transition: transform .15s, box-shadow .2s; cursor: pointer; }
.rc:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.rc h3 { margin: 8px 0 2px; font-size: 18px; letter-spacing: -.01em; }
.rc .m { color: var(--muted); font-size: 13px; display: flex; gap: 10px; align-items: center; }
.rc .ops { display: flex; gap: 6px; }
.rc .ops .btn { padding: 8px 10px; } .rc .ops .btn.primary { flex: 1; }
.live-dot { display: inline-flex; gap: 6px; align-items: center; color: var(--hijau); font-weight: 700; } .live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--hijau); }
.empty { text-align: center; padding: 70px 20px; background: #fff; border: 1.5px dashed var(--line-2); border-radius: 22px; display: grid; gap: 14px; justify-items: center; }
.empty h3 { margin: 0; font-size: 20px; }

/* ---- progres, dialog, toast ---- */
.progress { text-align: center; padding: 70px 20px; max-width: 480px; margin: 30px auto; }
.spin { width: 54px; height: 54px; border-radius: 99px; border: 5px solid var(--brand-soft); border-top-color: var(--brand-2); animation: sp 0.9s linear infinite; margin: 0 auto 20px; }
@keyframes sp { to { rotate: 360deg; } }
.steps-p { list-style: none; padding: 0; margin: 18px auto 0; display: grid; gap: 10px; max-width: 300px; text-align: left; }
.steps-p li { display: flex; gap: 10px; align-items: center; color: var(--muted); } .steps-p li .d { width: 22px; height: 22px; border-radius: 99px; border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent; transition: all .25s; }
.steps-p li.on { color: var(--ink); font-weight: 700; } .steps-p li.done .d { background: var(--brand-3); border-color: var(--brand-3); color: #fff; }
.toasts { position: fixed; bottom: 20px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; z-index: 80; padding: 0 12px; }
.toast { background: #fff; border: 1px solid var(--line-2); border-left: 4px solid var(--brand-2); border-radius: 12px; padding: 12px 18px; font-size: 14px; font-weight: 600; max-width: 460px; pointer-events: auto; box-shadow: 0 12px 34px rgba(28, 30, 33, .18); animation: fadeUp .25s ease both; }
.toast.bad { border-left-color: var(--err); } .toast.good { border-left-color: var(--hijau); }
dialog { border: 1px solid var(--line); border-radius: 22px; padding: 0; background: #fff; color: var(--ink); width: min(580px, calc(100vw - 24px)); box-shadow: 0 24px 70px rgba(28, 30, 33, .28); }
dialog::backdrop { background: rgba(28, 30, 33, .4); backdrop-filter: blur(2px); }
dialog[open] { animation: fadeUp .25s ease both; }
.dlg-in { padding: 26px; }
.dlg-in h2 { margin: 0 0 10px; font-size: 20px; }
.dlg-in h3 { margin: 18px 0 8px; font-size: 14px; }
.dlg-in p { white-space: pre-line; }
.urlrow { display: flex; gap: 8px; margin: 12px 0; } .urlrow input { flex: 1; font-size: 13px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13.5px; margin: 12px 0; } .kv dt { color: var(--muted); } .kv dd { margin: 0; }
.status { display: inline-block; border-radius: 99px; padding: 2px 11px; font-size: 12px; font-weight: 800; color: #fff; }
.status.on { background: var(--hijau); } .status.off { background: var(--merah); } .status.warn { background: var(--kuning); }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 500; cursor: pointer; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .actions .sp { flex: 1; }
.err-box { background: var(--err-bg); color: #7a2118; border-radius: 12px; padding: 12px 16px; font-size: 13.5px; margin: 14px 0; } .err-box ul { margin: 4px 0 0; padding-left: 18px; }
.summary-box { background: var(--warn-bg); color: var(--warn-ink); border-radius: 12px; padding: 10px 14px; font-size: 13px; margin: 0 0 14px; }
.backrow { margin-bottom: 14px; }
.nojs { padding: 30px; text-align: center; }

@media (max-width: 980px) {
  .wiz { grid-template-columns: 1fr; } .sim { position: static; order: -1; }
  .topnav-in { padding: 10px 14px; gap: 10px; flex-wrap: wrap; } .logo b { font-size: 14px; }
  .nav { order: 3; width: 100%; } .nv { flex: 1; text-align: center; }
  .quota { display: none; }
  main { padding: 22px 14px 70px; }
  .auth { grid-template-columns: 1fr; } .auth-l { padding: 40px 24px; } .deco { display: none; }
}
@media (max-width: 640px) {
  .grid, .chips { grid-template-columns: 1fr; }
  .st .t { display: none; } .stepper { justify-content: space-between; } .sl-line { margin: 0 6px; }
  .panel { padding: 20px 16px; border-radius: 18px; }
  .wiz-foot .btn { flex: 1; }
}
