/* ==========================================================
   Mobilisation App prototype: styles
   Ghana national colours, government-grade and calm
   ========================================================== */
:root {
  --red: #CE1126; --gold: #FCD116; --green: #006B3F; --green-d: #00502F; --ink: #14161A;
  --bg: #F3F1EA; --card: #FFFFFF; --muted: #676B72; --line: #E4E0D5; --soft: #F8F7F2;
  --green-50: #E6F2EB; --red-50: #FCEAEC; --gold-50: #FFF6CF; --blue: #1F5FA8; --blue-50: #E8F0FA;
  --amber: #B7791F;
  --radius: 16px; --shadow: 0 1px 2px rgba(20,22,26,.05), 0 8px 24px rgba(20,22,26,.06);
  --serif: 'Fraunces', Georgia, serif; --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --phone-scale: 1;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased; overflow: hidden; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
.ic { flex: none; vertical-align: middle; }
h1, h2, h3 { margin: 0; }

.flag-bar { height: 5px; background: linear-gradient(90deg, var(--red) 0 33.33%, var(--gold) 33.33% 66.66%, var(--green) 66.66%); }

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; gap: 24px; padding: 10px 22px; background: #0E1012; color: #fff; height: 62px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand b { font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: .1px; display: block; }
.brand small { color: #A9ADB3; font-size: 11.5px; display: block; white-space: nowrap; }
.brand-star { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #1B1E21; color: var(--gold); font-size: 20px; box-shadow: inset 0 0 0 1px #2A2E33; }
.modes { display: flex; gap: 4px; margin-left: auto; background: #1A1D20; padding: 4px; border-radius: 12px; }
.modes button { padding: 8px 14px; border-radius: 9px; color: #C9CCD0; font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.modes button:hover { color: #fff; }
.modes button.on { background: #fff; color: var(--ink); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(206,17,38,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(206,17,38,0); } 100% { box-shadow: 0 0 0 0 rgba(206,17,38,0); } }
.top-actions { display: flex; align-items: center; gap: 12px; }
.proto-pill { font-size: 11px; font-weight: 600; color: #0E1012; background: var(--gold); padding: 4px 9px; border-radius: 99px; white-space: nowrap; }
.link-btn { color: #C9CCD0; font-size: 12.5px; white-space: nowrap; }
.link-btn:hover { color: #fff; }

main { height: calc(100vh - 67px); position: relative; }
#story, #stage { height: 100%; }
#story { display: none; }
#stage { display: none; }
body[data-mode="story"] #story { display: block; }
body[data-mode="citizen"] #stage, body[data-mode="gov"] #stage, body[data-mode="split"] #stage { display: flex; }
body[data-mode="citizen"] #govCol { display: none; }
body[data-mode="gov"] #phoneCol { display: none; }
body[data-mode="split"] #guide { display: none; }

/* ---------- citizen column ---------- */
#phoneCol { flex: 1; display: flex; gap: 32px; justify-content: center; align-items: center; padding: 16px 24px; min-width: 0; }
body[data-mode="split"] #phoneCol { flex: 0 0 auto; padding: 12px 8px 12px 20px; }
.phone-wrap { width: calc(390px * var(--phone-scale)); height: calc(844px * var(--phone-scale)); flex: none; }
.phone { width: 390px; height: 844px; transform: scale(var(--phone-scale)); transform-origin: top left; border-radius: 56px; background: #0B0C0D; padding: 11px; box-shadow: 0 0 0 2px #2B2F33, 0 30px 60px rgba(0,0,0,.25), 0 8px 18px rgba(0,0,0,.15); }
.phone-inner { position: relative; height: 100%; border-radius: 46px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 112px; height: 32px; border-radius: 20px; background: #000; z-index: 30; }
.status-bar { height: 50px; display: flex; justify-content: space-between; align-items: center; padding: 6px 32px 0; font-weight: 700; font-size: 14px; z-index: 20; position: absolute; top: 0; left: 0; right: 0; pointer-events: none; }
.sb-icons { font-size: 10.5px; letter-spacing: .5px; }
.phone-inner.dark .status-bar { color: #fff; }
#screen { flex: 1; overflow-y: auto; overflow-x: hidden; position: relative; scrollbar-width: none; padding-top: 50px; }
.phone-inner.full #screen { padding-top: 0; }
#screen::-webkit-scrollbar { display: none; }
#appNav { flex: none; display: none; border-top: 1px solid var(--line); background: #fff; padding: 6px 8px 20px; }
#appNav.show { display: flex; }
#appNav button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; font-weight: 600; color: #8A8E94; padding: 6px 0; }
#appNav button.on { color: var(--green); }

.toast { position: absolute; left: 20px; right: 20px; bottom: 98px; background: #14161A; color: #fff; padding: 12px 14px; border-radius: 14px; font-size: 13px; opacity: 0; transform: translateY(10px); transition: .25s; pointer-events: none; z-index: 40; }
.toast.show { opacity: 1; transform: none; }
.notif { position: absolute; top: 8px; left: 10px; right: 10px; z-index: 50; background: rgba(250,250,250,.97); border-radius: 22px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.18); transform: translateY(-140%); transition: transform .45s cubic-bezier(.2,.9,.3,1.2); backdrop-filter: blur(12px); }
.notif.show { transform: none; }
.n-app { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.n-app span { margin-left: auto; font-weight: 500; text-transform: none; }
.n-text { font-size: 13.5px; margin-top: 4px; }

/* ---------- presenter guide ---------- */
#guide { width: 300px; max-height: calc(844px * var(--phone-scale)); overflow-y: auto; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; flex: none; }
#guide h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; }
#guide p.sub { color: var(--muted); font-size: 12.5px; margin: 4px 0 12px; }
.g-step { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 7px 8px; border-radius: 9px; font-size: 13px; }
.g-step:hover { background: var(--soft); }
.g-step.on { background: var(--green-50); color: var(--green-d); font-weight: 600; }
.g-step i { font-style: normal; width: 22px; height: 22px; border-radius: 7px; background: var(--soft); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--muted); flex: none; }
.g-step.on i { background: var(--green); color: #fff; }
.g-step.done i { background: var(--gold-50); color: var(--amber); }
.g-sec { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 700; margin: 14px 0 6px; }
.g-tip { background: var(--soft); border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: #3A3D42; margin-top: 12px; }

/* ---------- citizen screens ---------- */
.scr { padding: 6px 20px 28px; min-height: 100%; display: flex; flex-direction: column; animation: scrIn .3s ease; }
@keyframes scrIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.scr h1 { font-family: var(--serif); font-size: 27px; line-height: 1.15; font-weight: 600; letter-spacing: -.2px; }
.scr h2 { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.scr .lead { color: var(--muted); font-size: 14.5px; margin: 8px 0 18px; }
.scr .grow { flex: 1; }
.topnav { display: flex; align-items: center; gap: 8px; margin: 2px 0 14px; min-height: 36px; }
.topnav .backbtn { width: 36px; height: 36px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; }
.topnav .tn-t { font-weight: 600; font-size: 15px; }
.topnav .tn-r { margin-left: auto; font-size: 12px; color: var(--muted); }
.steps { display: flex; gap: 4px; margin-bottom: 14px; }
.steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.steps span.on { background: var(--green); }

.btn { width: 100%; min-height: 52px; border-radius: 15px; background: var(--green); color: #fff; font-weight: 650; font-size: 15.5px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: transform .08s, background .2s; }
.btn:active { transform: scale(.98); }
.btn:hover { background: var(--green-d); }
.btn[disabled] { background: #B9C4BE; cursor: not-allowed; }
.btn.ink { background: var(--ink); }
.btn.gold { background: var(--gold); color: var(--ink); }
.btn.ghost { background: var(--soft); color: var(--ink); }
.btn.ghost:hover { background: #EEEBE2; }
.btn.danger { background: var(--red); }
.btn.sm { min-height: 40px; font-size: 13.5px; border-radius: 12px; }
.btn + .btn { margin-top: 10px; }
.txt-btn { color: var(--green); font-weight: 600; font-size: 13.5px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: #3A3D42; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; height: 48px; border-radius: 13px; border: 1.5px solid var(--line); padding: 0 14px; background: #fff; outline: none; font-size: 15px; transition: border .15s; }
.field textarea { height: 84px; padding: 12px 14px; resize: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field .hint { font-size: 11.5px; color: var(--muted); margin-top: 5px; }
.inline { display: flex; gap: 10px; }
.inline > * { flex: 1; }
.prefix { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 13px; height: 52px; padding-left: 14px; gap: 10px; background: #fff; }
.prefix:focus-within { border-color: var(--green); }
.prefix input { border: 0; outline: 0; height: 100%; flex: 1; font-size: 17px; letter-spacing: .5px; background: transparent; min-width: 0; }
.prefix b { font-size: 15px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.card + .card { margin-top: 12px; }
.card.soft { background: var(--soft); border-color: transparent; }
.row { display: flex; align-items: center; gap: 12px; }
.row .r { margin-left: auto; text-align: right; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.tiny { font-size: 11.5px; }
.b { font-weight: 650; }
.mt { margin-top: 14px; } .mt-s { margin-top: 8px; } .mb { margin-bottom: 14px; }

.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 650; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.chip.green { background: var(--green-50); color: var(--green-d); }
.chip.red { background: var(--red-50); color: var(--red); }
.chip.gold { background: var(--gold-50); color: #8A6400; }
.chip.grey { background: #EFEDE7; color: #55595F; }
.chip.blue { background: var(--blue-50); color: var(--blue); }

.icon-tile { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--green-50); color: var(--green); flex: none; }
.icon-tile.gold { background: var(--gold-50); color: #8A6400; }
.icon-tile.red { background: var(--red-50); color: var(--red); }
.icon-tile.blue { background: var(--blue-50); color: var(--blue); }
.icon-tile.ink { background: var(--ink); color: var(--gold); }

/* splash */
.splash { background: radial-gradient(120% 80% at 50% 0%, #0C5E3A 0%, #003D24 55%, #022417 100%); color: #fff; padding-top: 64px; }
.splash .crest { width: 86px; height: 86px; border-radius: 26px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--gold); font-size: 46px; margin: 28px auto 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.splash h1 { text-align: center; color: #fff; font-size: 32px; }
.splash .akwaaba { text-align: center; color: var(--gold); font-weight: 700; letter-spacing: 3px; font-size: 12px; text-transform: uppercase; }
.splash .tag { text-align: center; color: #CFE3D8; margin: 10px 10px 24px; font-size: 14.5px; }
.lang-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.lang-grid button { padding: 10px 6px; border-radius: 12px; background: rgba(255,255,255,.07); color: #fff; font-weight: 600; font-size: 13px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.lang-grid button.on { background: var(--gold); color: var(--ink); box-shadow: none; }
.splash .btn.gold:hover { background: #F2C500; }
.ussd-link { color: #CFE3D8; text-align: center; font-size: 12.5px; margin-top: 14px; display: block; width: 100%; }
.stripes { display: flex; height: 4px; border-radius: 4px; overflow: hidden; width: 90px; margin: 0 auto 10px; }
.stripes i { flex: 1; } .stripes i:nth-child(1) { background: var(--red); } .stripes i:nth-child(2) { background: var(--gold); } .stripes i:nth-child(3) { background: var(--green); }

/* OTP */
.otp { display: flex; gap: 8px; justify-content: space-between; margin: 10px 0 8px; }
.otp input { width: 46px; height: 56px; border-radius: 13px; border: 1.5px solid var(--line); text-align: center; font-size: 22px; font-weight: 700; outline: none; }
.otp input:focus { border-color: var(--green); }

/* Ghana card + scanning */
.gcard { position: relative; border-radius: 16px; padding: 14px; color: #1b2a22; background: linear-gradient(135deg, #E9F4EC 0%, #F8F2D2 55%, #F4DCDC 100%); box-shadow: 0 8px 20px rgba(0,0,0,.12); overflow: hidden; aspect-ratio: 1.586; }
.gcard .gc-top { display: flex; align-items: center; gap: 8px; font-size: 9.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.gcard .gc-star { color: var(--ink); font-size: 16px; }
.gcard .gc-body { display: flex; gap: 12px; margin-top: 10px; }
.gcard .gc-photo { width: 74px; height: 92px; border-radius: 8px; background: #CCD6CF; display: grid; place-items: end center; overflow: hidden; color: #8A9A90; }
.gcard .gc-f { font-size: 9px; color: #5C6A61; text-transform: uppercase; letter-spacing: .3px; }
.gcard .gc-v { font-size: 12.5px; font-weight: 700; margin-bottom: 4px; }
.gcard .gc-pin { position: absolute; bottom: 12px; left: 14px; font-family: ui-monospace, monospace; font-weight: 700; font-size: 14px; letter-spacing: 1px; }
.scanline { position: absolute; left: 0; right: 0; height: 3px; background: var(--green); box-shadow: 0 0 16px 4px rgba(0,107,63,.55); top: 0; animation: scan 1.4s ease-in-out infinite alternate; }
@keyframes scan { to { top: calc(100% - 3px); } }
.frame-corners { position: absolute; inset: 0; border-radius: 16px; box-shadow: inset 0 0 0 2px rgba(0,107,63,.0); }
.selfie { width: 210px; height: 210px; border-radius: 50%; margin: 6px auto 12px; position: relative; background: radial-gradient(circle at 50% 40%, #3A4A42, #1C2520); display: grid; place-items: center; color: #6F8278; overflow: hidden; }
.selfie svg.face { width: 140px; height: 140px; margin-top: 30px; }
.selfie-ring { position: absolute; inset: -6px; }
.check-list .ck { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 13.5px; border-bottom: 1px dashed var(--line); }
.check-list .ck:last-child { border-bottom: 0; }
.ck .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; }
.ck.run .dot { border-color: var(--gold); border-top-color: transparent; animation: spin .8s linear infinite; }
.ck.ok .dot { background: var(--green); border-color: var(--green); color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* progress */
.progress { height: 10px; border-radius: 10px; background: var(--line); overflow: hidden; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), #2E9E62); border-radius: 10px; transition: width .6s; }
.doc-item { display: flex; gap: 12px; align-items: center; padding: 13px; border-radius: 15px; border: 1.5px solid var(--line); width: 100%; text-align: left; background: #fff; }
.doc-item + .doc-item { margin-top: 9px; }
.doc-item:hover { border-color: #C9C4B5; }
.doc-item.done { border-color: #BFE0CC; background: #F6FBF8; }
.doc-item .di-t { font-weight: 650; font-size: 14px; }
.doc-item .di-s { font-size: 12px; color: var(--muted); }
.doc-item .di-r { margin-left: auto; }

.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { padding: 12px; border-radius: 14px; border: 1.5px solid var(--line); text-align: left; background: #fff; font-size: 13px; }
.opt b { display: block; font-size: 14px; }
.opt.on { border-color: var(--green); background: var(--green-50); }
.provider { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 11px; margin-bottom: 6px; }
.toggle-row { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--soft); font-size: 13px; }
.switch { width: 44px; height: 26px; border-radius: 99px; background: #CFCAC0; position: relative; flex: none; transition: .2s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch.on { background: var(--green); }
.switch.on::after { left: 21px; }
.gps-map { height: 128px; border-radius: 14px; margin-bottom: 12px; position: relative; overflow: hidden; background:
  linear-gradient(0deg, transparent 48%, #fff 48% 52%, transparent 52%) 0 0/100% 46px,
  linear-gradient(90deg, transparent 48%, #fff 48% 52%, transparent 52%) 0 0/62px 100%, #DDE8DF; }
.gps-map .pinm { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -90%); color: var(--red); }
.gps-map .gps-tag { position: absolute; left: 10px; bottom: 10px; background: #fff; border-radius: 10px; padding: 5px 9px; font-weight: 700; font-size: 12px; box-shadow: var(--shadow); }

/* bill */
.bill-hero { background: linear-gradient(150deg, #00623A, #013B23); color: #fff; border-radius: 22px; padding: 18px; position: relative; overflow: hidden; }
.bill-hero::after { content: '★'; position: absolute; right: -10px; top: -26px; font-size: 140px; color: rgba(252,209,22,.09); }
.bill-hero .lbl { font-size: 12px; color: #BFE0CC; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.bill-hero .amt { font-family: var(--serif); font-size: 38px; font-weight: 600; margin: 4px 0 2px; }
.bill-hero .meta { font-size: 12.5px; color: #D7EDE0; }
.line-item { border-bottom: 1px solid var(--line); }
.line-item > button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 0; text-align: left; }
.line-item .li-n { font-weight: 600; font-size: 14px; }
.line-item .li-s { font-size: 11.5px; color: var(--muted); }
.line-item .li-a { margin-left: auto; font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.line-item .li-x { display: none; background: var(--soft); border-radius: 12px; padding: 11px 12px; font-size: 12.5px; margin-bottom: 12px; color: #3A3D42; }
.line-item.open .li-x { display: block; }
.line-item .li-x .law { margin-top: 6px; display: flex; gap: 6px; color: var(--blue); font-weight: 600; }
.total-row { display: flex; justify-content: space-between; padding: 14px 0 4px; font-weight: 800; font-size: 17px; }

/* signature */
.sig-wrap { border: 1.5px dashed #C9C4B5; border-radius: 15px; background: #FDFCF8; position: relative; height: 130px; touch-action: none; }
.sig-wrap canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
.sig-wrap .sig-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #B3AE9F; pointer-events: none; font-size: 13px; }
.sig-wrap .sig-line { position: absolute; left: 16px; right: 16px; bottom: 28px; border-bottom: 1px solid #DAD5C7; pointer-events: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; padding: 10px 0; }
.consent input { width: 20px; height: 20px; accent-color: var(--green); flex: none; margin-top: 1px; }

/* home */
.hello { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), #E8A800); display: grid; place-items: center; font-weight: 800; color: var(--ink); flex: none; }
.badge-compliant { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 16px; }
.badge-compliant .bc-star { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 22px; flex: none; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; }
.quick button { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: #3A3D42; }
.quick .qi { width: 52px; height: 52px; border-radius: 16px; background: var(--soft); display: grid; place-items: center; color: var(--green); }
.demo-ctrl { border: 1.5px dashed #D6CFB9; border-radius: 16px; padding: 12px; background: #FFFDF4; margin-top: 14px; }
.demo-ctrl .dc-t { font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #8A6400; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.demo-ctrl .inline .btn { margin-top: 0; }

/* receipt */
.success-burst { width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 14px auto 10px; animation: pop .5s cubic-bezier(.2,1.6,.4,1); box-shadow: 0 0 0 10px var(--green-50); }
.fail-burst { background: var(--red); box-shadow: 0 0 0 10px var(--red-50); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.receipt { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; position: relative; }
.receipt::before, .receipt::after { content: ''; position: absolute; top: 58%; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); }
.receipt::before { left: -9px; } .receipt::after { right: -9px; }
.receipt .rr { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; }
.dash { border-top: 1.5px dashed var(--line); margin: 10px 0; }
.qr { border-radius: 8px; }
.timeline { position: relative; padding-left: 22px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl { position: relative; padding: 6px 0 10px; font-size: 13px; }
.tl::before { content: ''; position: absolute; left: -20px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--line); }
.tl.bad::before { background: var(--red); border-color: var(--red); }
.tl.next::before { border-color: var(--gold); }
.tl.ok::before { background: var(--green); border-color: var(--green); }

/* vehicle */
.vcard { background: linear-gradient(140deg, #22262B, #0F1113); color: #fff; border-radius: 20px; padding: 16px; }
.plate { display: inline-block; background: #fff; color: #111; font-weight: 800; letter-spacing: 1.5px; padding: 4px 10px; border-radius: 6px; font-size: 15px; border: 2px solid #111; box-shadow: 0 0 0 2px #fff; }
.alert-card { display: flex; gap: 12px; align-items: flex-start; background: var(--gold-50); border-radius: 16px; padding: 13px; }
.alert-card.red { background: var(--red-50); }
.park-timer { font-family: var(--serif); font-size: 34px; font-weight: 600; text-align: center; }
.tabs { display: flex; background: var(--soft); border-radius: 13px; padding: 4px; margin-bottom: 14px; }
.tabs button { flex: 1; padding: 8px; border-radius: 10px; font-weight: 600; font-size: 13px; color: var(--muted); }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.empty { text-align: center; color: var(--muted); padding: 26px 10px; font-size: 13px; }

/* benefits */
.score-hero { text-align: center; padding: 6px 0 4px; }
.ring-v { font-family: var(--serif); font-size: 30px; font-weight: 600; fill: var(--ink); }
.ring-l { font-size: 10px; fill: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.ben { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ben:last-child { border-bottom: 0; }
.ben.locked { opacity: .5; }
.spend-bar { display: flex; height: 14px; border-radius: 8px; overflow: hidden; margin: 10px 0; }
.spend-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 12px; }
.spend-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; }

/* USSD */
.ussd-bg { background: #DCDCDC; padding-top: 64px; }
.ussd-box { background: #fff; border-radius: 12px; margin: 30px 6px; padding: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-family: ui-monospace, Menlo, monospace; font-size: 14px; white-space: pre-wrap; }
.ussd-box input { width: 100%; border: 0; border-bottom: 2px solid #0A84FF; outline: 0; font-family: inherit; font-size: 15px; padding: 6px 0; margin-top: 12px; }
.ussd-actions { display: flex; justify-content: flex-end; gap: 22px; margin-top: 14px; font-family: var(--sans); font-weight: 600; color: #0A84FF; }

/* ---------- government portal ---------- */
#govCol { flex: 1; display: flex; min-width: 0; background: #F5F4EF; border-left: 1px solid var(--line); }
#govSide { width: 236px; flex: none; background: #0F2A1E; color: #DCE8E1; padding: 16px 12px; overflow-y: auto; display: flex; flex-direction: column; }
body[data-mode="split"] #govSide { width: 64px; padding: 14px 8px; }
body[data-mode="split"] #govSide .gs-label, body[data-mode="split"] #govSide .gs-head, body[data-mode="split"] #govSide .gs-role, body[data-mode="split"] #govSide .gs-foot { display: none; }
.gs-head { padding: 6px 10px 14px; }
.gs-head b { font-family: var(--serif); font-size: 16px; color: #fff; font-weight: 600; display: block; }
.gs-head small { color: #8FB3A0; font-size: 11.5px; }
.gs-nav button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 550; color: #BFD3C7; text-align: left; position: relative; }
.gs-nav button:hover { background: rgba(255,255,255,.06); color: #fff; }
.gs-nav button.on { background: rgba(252,209,22,.14); color: var(--gold); }
.gs-nav button .lk { margin-left: auto; opacity: .6; }
.gs-nav .badge { margin-left: auto; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; border-radius: 99px; padding: 1px 7px; }
body[data-mode="split"] .gs-nav .badge { position: absolute; top: 3px; right: 3px; padding: 0 5px; }
.gs-sec { font-size: 10.5px; text-transform: uppercase; letter-spacing: .7px; color: #6F9581; font-weight: 700; padding: 14px 10px 6px; }
.gs-role { margin-top: auto; background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px; font-size: 12px; }
.gs-role select { width: 100%; margin-top: 6px; background: #0F2A1E; color: #fff; border: 1px solid #2D4D3D; border-radius: 8px; padding: 6px; }
.gs-foot { font-size: 11px; color: #6F9581; padding: 10px 10px 0; }

#govMain { flex: 1; overflow-y: auto; padding: 22px 26px 40px; min-width: 0; }
.g-header { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.g-header h1 { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -.2px; }
.g-header p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.g-header .gh-r { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gbtn { padding: 8px 13px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; }
.gbtn:hover { border-color: #C9C4B5; }
.gbtn.pri { background: var(--green); color: #fff; border-color: var(--green); }
.gbtn.pri:hover { background: var(--green-d); }
.gbtn.red { color: var(--red); }
.gbtn[disabled] { opacity: .5; cursor: not-allowed; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.seg button { padding: 5px 11px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.seg button.on { background: var(--ink); color: #fff; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 14px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; position: relative; overflow: hidden; }
.kpi .k-l { font-size: 11.5px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.kpi .k-v { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-top: 4px; letter-spacing: -.3px; font-variant-numeric: tabular-nums; }
.kpi .k-d { font-size: 11.5px; margin-top: 2px; color: var(--muted); }
.kpi .k-d.up { color: var(--green); font-weight: 600; }
.kpi .k-d.down { color: var(--red); font-weight: 600; }
.kpi.flash { animation: flash 1.2s; }
@keyframes flash { 0% { box-shadow: 0 0 0 3px var(--gold); } 100% { box-shadow: 0 0 0 0 transparent; } }
.kpi .k-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }

.grid2 { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; }
.grid2.even { grid-template-columns: 1fr 1fr; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; min-width: 0; }
.panel + .panel { margin-top: 14px; }
.grid2 > .panel + .panel, .grid3 > .panel + .panel, .grid2.even > .panel + .panel { margin-top: 0; }
.panel h3 { font-size: 14.5px; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.panel h3 .h-r { margin-left: auto; font-weight: 500; font-size: 12px; color: var(--muted); }
.panel .p-note { font-size: 11.5px; color: var(--muted); margin-top: 8px; }

.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: #EEEAE0; }
.chart .axis { font-size: 11px; fill: #8A8E94; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.legend i { display: inline-block; width: 12px; height: 4px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.gauge { width: 100%; max-width: 300px; display: block; margin: 0 auto; }
.gauge .gval { font-family: var(--serif); font-size: 30px; font-weight: 600; fill: var(--ink); }
.gauge .gsub { font-size: 10px; fill: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
.gauge .gtick { font-size: 8.5px; fill: var(--muted); font-weight: 600; }
.gauge .gb { stroke: var(--red); stroke-width: 2.5; }
.gauge .gt { stroke: var(--ink); stroke-width: 2.5; }
.hbars { display: flex; flex-direction: column; gap: 9px; }
.hbar { display: grid; grid-template-columns: 130px 1fr 92px; gap: 10px; align-items: center; font-size: 12.5px; }
.hbar-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar-track { height: 12px; background: #F1EEE6; border-radius: 6px; position: relative; }
.hbar-fill { height: 100%; border-radius: 6px; transition: width .8s; }
.hbar-tick { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); }
.hbar-v { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.stack { display: flex; height: 16px; border-radius: 8px; overflow: hidden; margin: 8px 0; }
.stack i { display: block; height: 100%; transition: width .6s; }
.stack-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; }
.stack-legend span::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; background: var(--c); }

.feed { max-height: 330px; overflow-y: auto; }
.feed-item { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid #F0EDE5; font-size: 12.5px; animation: feedIn .5s; }
@keyframes feedIn { from { background: var(--gold-50); } }
.feed-item.mine { background: var(--gold-50); border-radius: 10px; padding: 9px 10px; border-bottom: 0; margin: 4px 0; font-weight: 600; }
.feed-item .fi-t { color: var(--muted); font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; margin-left: auto; }
.fi-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; flex: none; }
.alert-row { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #F0EDE5; font-size: 12.5px; }
.alert-row:last-child { border-bottom: 0; }

table.tbl { width: 100%; border-collapse: collapse; font-size: 12.8px; }
.tbl th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); background: #FBFAF6; white-space: nowrap; }
.tbl td { padding: 10px; border-bottom: 1px solid #F0EDE5; vertical-align: middle; }
.tbl tr:hover td { background: #FCFBF7; }
.tbl tr.hl td { background: var(--gold-50); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl input[type=number], .tbl input[type=text] { width: 90px; padding: 6px 8px; border: 1.5px solid var(--gold); border-radius: 8px; outline: 0; }
.tbl-wrap { overflow-x: auto; }

/* tile map */
.tilemap { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); gap: 6px; aspect-ratio: 5 / 5.2; max-width: 460px; margin: 0 auto; }
.tile { border-radius: 12px; padding: 8px; color: #fff; text-align: left; display: flex; flex-direction: column; justify-content: space-between; font-size: 11px; font-weight: 600; transition: transform .15s, box-shadow .15s; line-height: 1.15; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.tile.on { box-shadow: 0 0 0 3px var(--ink); }
.tile b { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.map-legend { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); justify-content: center; margin-top: 12px; }
.map-legend .grad { width: 160px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #B4152B, #E08A2C, #F2C94C, #6DB37E, #006B3F); }

.restricted { text-align: center; padding: 60px 20px; color: var(--muted); }
.restricted .icon-tile { margin: 0 auto 14px; width: 56px; height: 56px; }
.prof-head { display: flex; gap: 16px; align-items: center; }
.prof-head .avatar { width: 56px; height: 56px; font-size: 20px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; font-size: 13px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 550; }
.search-box { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 14px; height: 50px; }
.search-box:focus-within { border-color: var(--green); }
.search-box input { flex: 1; border: 0; outline: 0; font-size: 15px; background: transparent; height: 100%; }
.sugg { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 18px; }
.sugg button { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; font-size: 12.5px; }
.sugg button:hover { border-color: var(--green); color: var(--green); }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(15,17,19,.45); display: grid; place-items: center; z-index: 100; backdrop-filter: blur(3px); padding: 20px; }
.modal[hidden] { display: none; }
.modal-card { background: #fff; border-radius: 18px; padding: 22px; width: min(480px, 100%); box-shadow: 0 30px 60px rgba(0,0,0,.25); animation: scrIn .25s; max-height: 90vh; overflow: auto; }
.modal-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.modal-card .m-act { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.modal-card .field input, .modal-card .field select, .modal-card .field textarea { height: 42px; border-radius: 10px; font-size: 14px; }
.modal-card .field textarea { height: 70px; }

/* ---------- story / vision slides ---------- */
#story { overflow: hidden; position: relative; background: var(--bg); }
.slides { height: 100%; position: relative; }
.slide { position: absolute; inset: 0; padding: 48px 64px 90px; overflow-y: auto; opacity: 0; pointer-events: none; transition: opacity .45s, transform .45s; transform: translateY(14px); display: flex; flex-direction: column; justify-content: center; }
.slide.on { opacity: 1; pointer-events: auto; transform: none; }
.slide .in { max-width: 1120px; width: 100%; margin: 0 auto; }
.slide.dark { background: radial-gradient(110% 90% at 80% 10%, #0A5A37 0%, #033321 50%, #021A11 100%); color: #fff; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--green); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.slide.dark .eyebrow { color: var(--gold); }
.eyebrow::before { content: ''; width: 26px; height: 3px; background: linear-gradient(90deg, var(--red) 33%, var(--gold) 33% 66%, var(--green) 66%); border-radius: 2px; }
.s-title { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 62px); line-height: 1.04; font-weight: 600; letter-spacing: -1px; max-width: 900px; }
.s-h { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; font-weight: 600; letter-spacing: -.5px; max-width: 860px; }
.s-lead { font-size: 18px; color: var(--muted); max-width: 720px; margin-top: 16px; }
.slide.dark .s-lead { color: #BFD9CA; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-cta .btn { width: auto; padding: 0 22px; }
.hero-cta .btn + .btn { margin-top: 0; }
.big-stat { font-family: var(--serif); font-size: clamp(90px, 13vw, 180px); line-height: .9; font-weight: 600; color: var(--red); letter-spacing: -4px; }
.s-grid { display: grid; gap: 16px; margin-top: 30px; }
.s-grid.c2 { grid-template-columns: 1fr 1fr; } .s-grid.c3 { grid-template-columns: repeat(3, 1fr); } .s-grid.c4 { grid-template-columns: repeat(4, 1fr); }
.s-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.slide.dark .s-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.s-card h4 { margin: 10px 0 6px; font-size: 16px; }
.s-card p { margin: 0; color: var(--muted); font-size: 13.5px; }
.slide.dark .s-card p { color: #BFD9CA; }
.s-num { font-family: var(--serif); font-size: 36px; font-weight: 600; color: var(--green); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.flow .f { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; position: relative; }
.flow .f .fn { width: 28px; height: 28px; border-radius: 9px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.flow .f b { display: block; margin: 10px 0 4px; font-size: 14.5px; }
.flow .f p { margin: 0; font-size: 12.5px; color: var(--muted); }
.phase-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.phase { border-radius: 18px; padding: 18px; background: #fff; border: 1px solid var(--line); position: relative; }
.phase .ph-t { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
.phase h4 { font-family: var(--serif); font-size: 20px; margin: 6px 0 2px; font-weight: 600; }
.phase ul { padding-left: 18px; margin: 10px 0 0; font-size: 13px; color: #3A3D42; }
.phase ul li { margin-bottom: 4px; }
.phase.now { background: var(--ink); color: #fff; border-color: var(--ink); }
.phase.now .ph-t { color: var(--gold); }
.phase.now ul { color: #CFD3D7; }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 26px; align-items: center; }
.calc .ctrl { margin-bottom: 18px; }
.calc .ctrl label { display: flex; justify-content: space-between; font-weight: 600; font-size: 13.5px; margin-bottom: 8px; }
.calc .ctrl label b { color: var(--green); font-variant-numeric: tabular-nums; }
.calc input[type=range] { width: 100%; accent-color: var(--green); }
.calc-out { background: var(--ink); color: #fff; border-radius: 22px; padding: 28px; }
.calc-out .co-l { color: #A9ADB3; font-size: 12.5px; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; }
.calc-out .co-v { font-family: var(--serif); font-size: 52px; font-weight: 600; color: var(--gold); line-height: 1.05; margin: 6px 0; font-variant-numeric: tabular-nums; }
.calc-out .co-s { color: #CFD3D7; font-size: 13.5px; }
.s-nav { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 16px; z-index: 5; }
.s-nav .arrow { width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.s-nav .dots { display: flex; gap: 6px; }
.s-nav .dots button { width: 8px; height: 8px; border-radius: 4px; background: #CFCAC0; transition: .3s; padding: 0; }
.s-nav .dots button.on { width: 26px; background: var(--green); }
.s-count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 50px; text-align: center; }
.pill-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.pill-list span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 99px; padding: 6px 12px; font-size: 12.5px; }
.footnote { font-size: 11.5px; color: var(--muted); margin-top: 22px; }
.slide.dark .footnote { color: #8FB3A0; }
.hero-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.mini-phone { width: 260px; height: 520px; border-radius: 40px; background: #0B0C0D; padding: 9px; margin: 0 auto; box-shadow: 0 30px 60px rgba(0,0,0,.4); transform: rotate(4deg); }
.mini-phone .mp { height: 100%; border-radius: 32px; background: #fff; overflow: hidden; color: var(--ink); padding: 34px 14px 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid2, .grid2.even, .grid3 { grid-template-columns: 1fr; }
  .grid2 > .panel + .panel, .grid3 > .panel + .panel { margin-top: 0; }
  #guide { display: none; }
  .hero-wrap { grid-template-columns: 1fr; } .mini-phone { display: none; }
  .flow, .phase-row, .s-grid.c4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { overflow: auto; }
  .topbar { flex-wrap: wrap; height: auto; gap: 10px; padding: 10px 16px; }
  .modes { margin-left: 0; width: 100%; overflow-x: auto; }
  .top-actions { display: none; }
  .brand small { display: none; }
  main { height: auto; min-height: calc(100vh - 110px); }
  #stage { flex-direction: column; }
  #govCol { flex-direction: column; }
  #govSide { width: 100% !important; flex-direction: row; overflow-x: auto; padding: 8px !important; }
  #govSide .gs-head, #govSide .gs-sec, #govSide .gs-role, #govSide .gs-foot, #govSide .gs-label { display: none; }
  .gs-nav { display: flex; gap: 4px; }
  .gs-nav button { width: auto; }
  #govMain { padding: 16px; }
  .slide { position: relative; display: none; padding: 28px 16px 90px; }
  .slide.on { display: flex; }
  .flow, .phase-row, .s-grid.c2, .s-grid.c3, .s-grid.c4, .calc { grid-template-columns: 1fr; }
  .hbar { grid-template-columns: 90px 1fr 70px; }
  #story { height: auto; overflow: visible; }
  .s-nav { position: fixed; }
}

/* live pop-up in the government portal */
#govCol { position: relative; }
.gov-pop { position: absolute; top: 14px; right: 18px; z-index: 60; max-width: 380px; background: var(--ink); color: #fff; border-radius: 14px; padding: 11px 14px; font-size: 13px; display: flex; gap: 10px; align-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.25); transform: translateY(-12px); opacity: 0; transition: .3s; border-left: 4px solid var(--gold); }
.gov-pop.show { transform: none; opacity: 1; }
.gov-pop + .gov-pop { top: 70px; }
@media (max-width: 760px) { .s-nav { bottom: 0; padding: 10px 0 14px; background: rgba(243,241,234,.96); backdrop-filter: blur(6px); } }

.doc-view table{width:100%;border-collapse:collapse;margin-top:12px}.doc-view td,.doc-view th{padding:7px 4px;border-bottom:1px solid var(--line);text-align:left}.doc-view .r{text-align:right}.doc-view h1{font-family:var(--serif);font-size:22px}.doc-view .tot td{font-weight:800}
