:root {
  --bg: #F6F4EE; --card: #FFFFFF; --fg: #1D2A24; --muted: #5E6B64; --line: #DCD8CC;
  --brand: #0F5A43; --brand-2: #8A6A1C; --soft: #E7F0EA; --warn: #9A5B00; --warn-bg: #FFF3DC;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.55 "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; background: var(--brand); color: #fff; }
.logo { font-weight: 700; font-size: 18px; display: flex; gap: 10px; align-items: center; }
.mark { background: #fff; color: var(--brand); border-radius: 8px; padding: 2px 8px; font-weight: 800; }
.who { font-size: 13px; display: flex; gap: 12px; align-items: center; }
.who button { background: transparent; color: #fff; border: 1px solid #ffffff80; }
main { max-width: 980px; margin: 0 auto; padding: 32px 16px 48px; }
h1 { font-size: 26px; margin: 0 0 6px; text-wrap: balance; }
h2 { font-size: 18px; margin: 24px 0 10px; }
p.lead { color: var(--muted); margin: 0 0 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.narrow { max-width: 420px; margin: 24px auto; }
label { display: block; font-weight: 600; font-size: 13px; margin: 14px 0 6px; }
input, select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
button { font: inherit; font-weight: 700; border-radius: 10px; padding: 10px 18px; border: 1px solid var(--brand); background: var(--brand); color: #fff; cursor: pointer; }
button.ghost { background: transparent; color: var(--brand); }
button:disabled { opacity: .45; cursor: default; }
.row { display: flex; gap: 10px; justify-content: space-between; margin-top: 22px; flex-wrap: wrap; }
.err { color: #A3261B; font-size: 13px; min-height: 18px; margin-top: 8px; }
.hint { color: var(--muted); font-size: 13px; }
.demo { background: var(--soft); border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-top: 16px; }
.demo code { font-weight: 700; }

.steps { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.steps span { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: #EAE6DA; color: var(--muted); }
.steps span.on { background: var(--brand); color: #fff; }
.steps span.done { background: var(--soft); color: var(--brand); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.opt { text-align: left; background: #fff; color: var(--fg); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; font-weight: 600; }
.opt small { display: block; color: var(--muted); font-weight: 400; margin-top: 4px; }
.opt.sel { border-color: var(--brand); background: var(--soft); }
.grp { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 18px 0 8px; }

.tierbox { margin-top: 16px; border-left: 4px solid var(--brand); background: var(--soft); padding: 12px 14px; border-radius: 0 10px 10px 0; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; margin-left: 6px; vertical-align: middle; }
.b-reg { background: #DCEBFF; color: #1E4E8C; }
.b-kom { background: #EEE6D2; color: var(--brand-2); }
.b-ver { background: var(--warn-bg); color: var(--warn); }
ul.clean { margin: 6px 0 0; padding-left: 18px; }

.struct { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.fn { border-radius: 12px; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.fn h3 { margin: 0; padding: 10px 12px; color: #fff; font-size: 14px; }
.fn ol { margin: 0; padding: 10px 12px 12px 30px; font-size: 14px; }
.fn .off { color: var(--muted); font-style: italic; padding: 10px 12px; font-size: 13px; }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 6px 14px; font-size: 14px; }
.kv div:nth-child(odd) { color: var(--muted); }
.price { font-size: 22px; font-weight: 800; color: var(--brand); }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } .kv div:nth-child(odd) { margin-top: 8px; } }

.foot { text-align: center; font-size: 12px; color: var(--muted); padding: 0 16px 24px; }

/* ---- login dengan gedung 3D ---- */
body.is-login main { max-width: none; padding: 0; }
body.is-login .foot { position: fixed; bottom: 0; left: 0; right: 0; color: #ffffffb0; z-index: 3; padding-bottom: 10px; }
.hero { position: relative; min-height: calc(100vh - 66px); overflow: hidden; background: #A9C7C2 url(img/gedung.png) center/cover; }
.hero-3d, .hero-3d iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(8,38,30,.88) 0%, rgba(8,38,30,.62) 38%, rgba(8,38,30,0) 64%, rgba(8,38,30,.0) 74%, rgba(8,38,30,.35) 100%); }
.hero-in { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 56px 24px 72px; display: flex; justify-content: space-between; align-items: center; gap: 32px; min-height: calc(100vh - 66px); pointer-events: none; }
.hero-txt { max-width: 500px; color: #fff; }
.hero-txt p { color: #E3EEE9; font-size: 16px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #E7C873; margin-bottom: 10px; }
.eyebrow.dark { color: var(--brand-2); margin-bottom: 4px; }
h1.big { font-size: 40px; line-height: 1.15; margin: 0 0 14px; }
.card.login { width: 360px; max-width: 100%; pointer-events: auto; box-shadow: 0 18px 50px rgba(0,0,0,.25); }
@media (max-width: 860px) {
  .hero-in { flex-direction: column; justify-content: flex-end; padding-top: 24px; }
  .hero-shade { background: linear-gradient(0deg, rgba(8,38,30,.92) 0%, rgba(8,38,30,.55) 55%, rgba(8,38,30,.1) 100%); }
  h1.big { font-size: 28px; }
}

/* ---- dashboard ---- */
main.wide { max-width: 1240px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }
a.btn { display: inline-block; font-weight: 700; border-radius: 10px; padding: 10px 18px; background: var(--brand); color: #fff; text-decoration: none; }
.office { position: relative; height: min(68vh, 680px); min-height: 380px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #A9C7C2; margin-bottom: 22px; box-shadow: 0 10px 30px rgba(15,90,67,.12); }
.office iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- pilihan agen & level ---- */
.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.lv { border-radius: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-top: 4px solid; font-size: 13px; color: var(--muted); }
.lv b { display: block; color: var(--fg); font-size: 14px; margin-bottom: 4px; }
.lv1 { border-top-color: #7FA99A; } .lv2 { border-top-color: #1F6F8B; } .lv3 { border-top-color: #8A6A1C; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 16px 0 12px; }
button.sm { padding: 6px 12px; font-size: 13px; }
.roles { padding: 6px 10px 10px; display: flex; flex-direction: column; gap: 6px; }
.role { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 4px; border-bottom: 1px dashed var(--line); }
.role:last-child { border-bottom: 0; }
.role.off .chk span { color: var(--muted); }
.chk { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.chk input { width: 16px; height: 16px; accent-color: var(--brand); }
.rek { display: block; width: max-content; margin-top: 2px; font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--brand); background: var(--soft); padding: 1px 6px; border-radius: 99px; margin-left: 2px; }
.role select { width: auto; padding: 5px 8px; font-size: 13px; border-radius: 8px; }
ul.plain { list-style: none; margin: 0; padding: 8px 12px 12px; font-size: 14px; }
ul.plain li { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; }
.lvb { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; color: #fff; }
.lvb.lv1 { background: #7FA99A; } .lvb.lv2 { background: #1F6F8B; } .lvb.lv3 { background: #8A6A1C; }

/* ---- ponsel ---- */
@media (max-width: 600px) {
  .top { padding: 12px 16px; }
  .who span { display: none; }
  .office { height: 70vh; }
}
.chk > span { white-space: nowrap; }
