/* Spot Foto PELITA NTB */
:root {
  --hutan: #0f3d2e; --daun: #2f9e5b; --matahari: #f2b705; --tanah: #8a5a2b; --laut: #2b6f8a;
  --kertas: #f6f4ee; --tinta: #1d2620; --abu: #6b746e; --garis: #e1ddd2; --putih: #fff;
  --r: 12px; --sh: 0 1px 2px rgba(0,0,0,.05), 0 4px 16px rgba(15,61,46,.07);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--tinta); background: var(--kertas); }
img { max-width: 100%; display: block; }
a { color: var(--hutan); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 1.5rem; } h2 { font-size: 1.15rem; margin-top: 1.4em; } h3 { font-size: 1rem; }
.muted { color: var(--abu); } .small { font-size: .85rem; }

/* ---------- Topbar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px clamp(12px, 3vw, 28px); background: var(--hutan); color: #fff; flex-wrap: wrap; }
.brand { display: flex; gap: 10px; align-items: center; color: #fff; text-decoration: none; }
.brand b { display: block; letter-spacing: .06em; }
.brand small { display: block; font-size: .72rem; opacity: .75; }
.logo { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--daun); color: #fff; font-weight: 800; box-shadow: inset 0 -3px 0 var(--matahari); }
.logo.big { width: 54px; height: 54px; font-size: 1.6rem; }
.topbar nav { display: flex; gap: 4px; flex-wrap: wrap; }
.topbar nav a { color: #fff; text-decoration: none; padding: 6px 12px; border-radius: 999px; font-size: .92rem; opacity: .85; }
.topbar nav a.on, .topbar nav a:hover { background: rgba(255,255,255,.14); opacity: 1; }
.topbar nav a.muted { color: #fff; opacity: .65; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 20px clamp(12px, 3vw, 28px) 40px; }
.foot { text-align: center; color: var(--abu); font-size: .8rem; padding: 20px; }

/* ---------- Komponen ---------- */
.card { background: var(--putih); border: 1px solid var(--garis); border-radius: var(--r); padding: 18px; box-shadow: var(--sh); }
.card.narrow { max-width: 420px; margin: 30px auto; }
.grid2 { display: grid; gap: 22px; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: start; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--garis);
  background: var(--putih); color: var(--tinta); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--daun); }
.btn.primary { background: var(--daun); border-color: var(--daun); color: #fff; }
.btn.primary:hover { background: #278a4f; }
.btn.danger { color: #b3261e; } .btn.danger:hover { border-color: #b3261e; }
.btn.sm { padding: 5px 12px; font-size: .85rem; }
.btn.ghost { background: transparent; }
.btn.on { background: var(--hutan); color: #fff; border-color: var(--hutan); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.actions form { margin: 0; } form.inline { display: flex; gap: 6px; }
.flash { padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; background: #e5f4ea; color: #19582f; border: 1px solid #bfe3cb; }
.flash.err { background: #fdecea; color: #8c1d18; border-color: #f4c7c3; }
.back { display: inline-block; margin-bottom: 10px; text-decoration: none; font-size: .9rem; }

.form { display: grid; gap: 12px; }
.form label, .rtools label, .kpick { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--abu); }
input, select, textarea { font: inherit; color: var(--tinta); padding: 9px 11px; border: 1px solid var(--garis); border-radius: 9px; background: #fff; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(47,158,91,.35); border-color: var(--daun); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; color: #fff; background: var(--prog, var(--daun)); }
.tag.hulu { background: var(--daun); } .tag.hilir { background: var(--tanah); } .tag.pendukung { background: var(--laut); }

.klist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.klist h3 { margin: 8px 0 2px; } .klist p { margin: 0; font-size: .88rem; }

/* ---------- Galeri beranda ---------- */
.hero { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: end;
  background: linear-gradient(135deg, var(--hutan), #1b5e45 60%, #2f7d4f); color: #fff; padding: 26px; border-radius: 18px; margin-bottom: 18px;
  position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--matahari); opacity: .18; }
.hero h1 { font-size: clamp(1.4rem, 3vw, 2rem); } .hero p { margin: 0; opacity: .85; max-width: 560px; }
.stats { display: flex; gap: 22px; margin: 0; position: relative; z-index: 1; }
.stats dt { font-size: .75rem; opacity: .75; text-transform: uppercase; letter-spacing: .05em; } .stats dd { margin: 0; font-size: 1.8rem; font-weight: 800; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filters input { flex: 1 1 220px; width: auto; } .filters select { width: auto; }
.kgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.kcard { background: #fff; border: 1px solid var(--garis); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--sh); transition: transform .15s; }
.kcard:hover { transform: translateY(-2px); }
.cover { aspect-ratio: 3/2; background: #e8e5dc; position: relative; display: grid; place-items: center; color: var(--abu); font-size: .85rem; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover .tag { position: absolute; left: 10px; top: 10px; }
.kbody { padding: 12px 14px; } .kbody p { margin: 0; }

/* ---------- Galeri kegiatan ---------- */
.khead { margin-bottom: 18px; } .khead h1 { margin-top: 8px; }
.gallery { columns: 3 280px; column-gap: 14px; }
.gitem { break-inside: avoid; margin: 0 0 14px; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--garis); position: relative; }
.gitem.star { border-color: var(--matahari); box-shadow: 0 0 0 2px var(--matahari); }
.gitem figcaption { padding: 8px 10px 10px; font-size: .88rem; display: grid; gap: 2px; }
.gtools { display: flex; gap: 4px; margin-top: 4px; }
.gtools button { border: 1px solid var(--garis); background: #fff; border-radius: 8px; padding: 2px 8px; cursor: pointer; }
.gitem.star .gtools [data-act=star] { background: var(--matahari); border-color: var(--matahari); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,20,14,.94); display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 10px; color: #fff; text-align: center; }
.lightbox img { max-height: 82vh; max-width: 100%; object-fit: contain; border-radius: 6px; }
.lightbox figcaption small { display: block; opacity: .7; }
.lightbox button { background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; height: 100%; }
.lbx { position: absolute; top: 8px; right: 14px; height: auto !important; }

/* ---------- Halaman ambil foto ---------- */
.capture { max-width: 760px; margin: 0 auto; }
.kpick { margin-bottom: 12px; }
.viewfinder { position: relative; aspect-ratio: 4/3; background: #0b1a14; border-radius: 16px; overflow: hidden; }
.viewfinder video { width: 100%; height: 100%; object-fit: cover; }
.viewfinder.flash-shot::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: .7; }
.vf-empty { position: absolute; inset: 0; z-index: 2; background: #0b1a14; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; color: #fff; padding: 20px; }
.vf-empty[hidden] { display: none; } .vf-empty .muted { color: rgba(255,255,255,.6); max-width: 380px; }
.thirds { position: absolute; inset: 0; pointer-events: none; }
.thirds i { position: absolute; background: rgba(255,255,255,.35); }
.thirds i:nth-child(1) { left: 33.33%; top: 0; bottom: 0; width: 1px; } .thirds i:nth-child(2) { left: 66.66%; top: 0; bottom: 0; width: 1px; }
.thirds i:nth-child(3) { top: 33.33%; left: 0; right: 0; height: 1px; } .thirds i:nth-child(4) { top: 66.66%; left: 0; right: 0; height: 1px; }
.frame-preview { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; color: #fff; pointer-events: none;
  background: linear-gradient(transparent, rgba(8,40,30,.85)); border-bottom: 3px solid var(--matahari); display: grid; }
.frame-preview b { color: var(--matahari); font-size: .7rem; letter-spacing: .08em; } .frame-preview span { font-weight: 700; } .frame-preview small { opacity: .8; }
.gps { position: absolute; top: 10px; left: 10px; font-size: .75rem; color: #fff; background: rgba(0,0,0,.45); padding: 3px 9px; border-radius: 999px; }
.gps.ok { background: rgba(47,158,91,.8); }
.controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 14px 0; }
.controls > label { justify-self: start; } .toggles { justify-self: end; display: flex; gap: 6px; }
.shutter { width: 74px; height: 74px; border-radius: 50%; border: 5px solid var(--hutan); background: var(--matahari); cursor: pointer; box-shadow: 0 0 0 3px #fff inset; }
.shutter:active { transform: scale(.94); } .shutter:disabled { opacity: .35; cursor: not-allowed; }
.tips { background: #fff; border: 1px solid var(--garis); border-radius: var(--r); padding: 10px 14px; }
.tips summary { cursor: pointer; font-weight: 600; } .tips ul { margin: 8px 0 0; padding-left: 18px; font-size: .9rem; } .tips li { margin: 4px 0; }
.capture h2 { display: flex; align-items: center; gap: 10px; }
.queue { display: grid; gap: 10px; }
.qitem { display: grid; grid-template-columns: 140px 1fr; gap: 12px; background: #fff; border: 1px solid var(--garis); border-radius: var(--r); padding: 10px; }
.qitem img { border-radius: 8px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.qbody { display: grid; gap: 8px; align-content: start; }
.qact { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; } .qstatus { flex: 1; font-size: .85rem; }
.qitem.done { border-color: #bfe3cb; background: #f3fbf5; } .qitem.done .qstatus { color: #19582f; }
.qitem.busy { opacity: .6; }

/* ---------- Laporan ---------- */
.rtools { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; background: #fff; border: 1px solid var(--garis); border-radius: var(--r); padding: 12px; margin-bottom: 18px; }
.rtools input, .rtools select { width: auto; }
.report { background: #fff; max-width: 210mm; margin: 0 auto; padding: 18mm 16mm; box-shadow: var(--sh); font-size: 11pt; }
.kop { display: flex; gap: 14px; align-items: center; border-bottom: 3px double var(--hutan); padding-bottom: 10px; }
.kop b { display: block; font-size: 1.2rem; letter-spacing: .05em; color: var(--prog, var(--hutan)); } .kop span { display: block; font-weight: 600; } .kop small { color: var(--abu); }
.kop { border-bottom-color: var(--prog, var(--hutan)); }
.rtitle { text-align: center; margin: 18px 0 2px; font-size: 1.2rem; letter-spacing: .04em; }
.rsub { text-align: center; margin: 0 0 16px; color: var(--abu); }
.report h2 { font-size: 1rem; color: var(--hutan); border-left: 4px solid var(--prog, var(--matahari)); padding-left: 8px; }
.ident, .list { width: 100%; border-collapse: collapse; font-size: .92em; }
.ident th { text-align: left; width: 32%; font-weight: 600; color: var(--abu); }
.ident th, .ident td, .list th, .list td { padding: 6px 8px; border-bottom: 1px solid var(--garis); vertical-align: top; }
.list th { background: #eef3ef; text-align: left; }
.rgrid { display: grid; gap: 12px; } .rgrid.c1 { grid-template-columns: 1fr; } .rgrid.c2 { grid-template-columns: 1fr 1fr; } .rgrid.c3 { grid-template-columns: repeat(3, 1fr); }
.rgrid figure { margin: 0; break-inside: avoid; } .rgrid img { width: 100%; border-radius: 4px; }
.rgrid figcaption { font-size: .85em; padding-top: 4px; } .rgrid figcaption small { display: block; color: var(--abu); }
.rekap .th img { width: 70px; height: 48px; object-fit: cover; border-radius: 4px; }
.sumbox { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.sumbox div { border: 1px solid var(--garis); border-radius: 8px; padding: 8px 10px; }
.sumbox b { display: block; font-size: 1.5rem; color: var(--hutan); } .sumbox span { font-size: .8rem; color: var(--abu); }
.tagbox.hulu { border-left: 4px solid var(--daun); } .tagbox.hilir { border-left: 4px solid var(--tanah); } .tagbox.pendukung { border-left: 4px solid var(--laut); }
.ttd { margin: 30px 0 0 auto; width: 240px; text-align: center; } .ttd p { margin: 2px 0; } .ttd .sp { height: 64px; }

/* ---------- SpotDok: multi-lembaga ---------- */
.pagehead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.pagehead h1 { margin: 0; }
.center { text-align: center; }
.form-wide { max-width: 720px; margin: 0 auto 18px; }
.danger-zone { border-color: #f4c7c3; }
.check { display: flex !important; gap: 8px; align-items: center; font-weight: 500 !important; color: var(--tinta) !important; }
.check input { width: auto; }
fieldset { border: 1px solid var(--garis); border-radius: 9px; padding: 8px 12px; display: grid; gap: 4px; }
legend { font-size: .85rem; font-weight: 600; color: var(--abu); padding: 0 4px; }
input.color { height: 42px; padding: 4px; }
.logo-now { display: flex; gap: 12px; align-items: center; } .logo-now img { height: 56px; width: auto; }
.btn.light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn.wa { background: #25d366; border-color: #25d366; color: #fff; }

.progbar { background: #fff; border-bottom: 1px solid var(--garis); }
.progbar-in { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 0; }
.ptitle { display: flex; gap: 10px; align-items: center; min-width: 0; }
.ptitle b, .ptitle h3 { display: block; margin: 0; } .ptitle small { display: block; color: var(--abu); font-size: .8rem; }
.plogo { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; flex: none; background: #fff; }
.plogo.ini { display: inline-grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.1rem; }
.plogo.big { width: 60px; height: 60px; font-size: 1.6rem; }
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 10px 12px; text-decoration: none; color: var(--abu); font-weight: 600; font-size: .9rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a.on { color: var(--tinta); border-bottom-color: var(--prog, var(--daun)); }
.tabs a.cta { color: var(--prog, var(--daun)); }

.pgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.pcard { border-top: 4px solid var(--prog); }
.mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 0 4px; }
.mini dt { font-size: .7rem; color: var(--abu); } .mini dd { margin: 0; font-size: 1.3rem; font-weight: 800; }
.how { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 24px; }
.how b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--matahari); color: var(--hutan); margin-bottom: 6px; }
.how p { margin: 0; font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero.prog { background: linear-gradient(135deg, var(--hutan), var(--prog, #1b5e45)); }

.tokenbox { border: 2px solid var(--prog, var(--daun)); margin-bottom: 20px; } .tokenbox h2 { margin-top: 0; }
.tokenline { display: flex; gap: 8px; } .tokenline input { font-family: ui-monospace, monospace; font-size: .85rem; }
code.tok { background: #f1efe8; padding: 2px 8px; border-radius: 6px; font-size: .95rem; user-select: all; word-break: break-all; }
.status { float: right; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.status.on { background: #e5f4ea; color: #19582f; } .status.off { background: #f1efe8; color: var(--abu); }
.card.dim { opacity: .7; }
.klist details summary { cursor: pointer; color: var(--hutan); margin-top: 6px; }
.form.compact { gap: 8px; margin: 8px 0; }
form.tugas { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; margin: 6px 0; }
.konhead { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--garis); border-left: 4px solid var(--prog); border-radius: var(--r); padding: 10px 12px; margin: 0 auto 12px; max-width: 760px; }
.konhead small { display: block; color: var(--abu); }
.gitem.hid { opacity: .45; } .gitem.hid .gtools [data-act=tampil] { background: #ddd; }
.klist > .btn { justify-content: flex-start; }

@media (max-width: 820px) {
  .mini { grid-template-columns: repeat(2, 1fr); }
  .tokenline { flex-direction: column; }
  .grid2 { grid-template-columns: 1fr; }
  .report { padding: 16px; }
  .rgrid.c3 { grid-template-columns: 1fr 1fr; }
  .qitem { grid-template-columns: 100px 1fr; }
  .row { grid-template-columns: 1fr; }
}

@media print {
  @page { size: A4; margin: 14mm; }
  body { background: #fff; }
  .topbar, .foot, .no-print, .flash { display: none !important; }
  .wrap { padding: 0; max-width: none; }
  .report { box-shadow: none; padding: 0; max-width: none; }
  .pb { break-before: page; }
  .list tr, .rgrid figure { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Logo, slogan & keterangan pembuat ---------- */
.brandlogo { width: 38px; height: 38px; display: block; flex: none; }
.hero-logo { width: min(420px, 100%); height: auto; margin-bottom: 14px; }
.hero .slogan { font-weight: 700; letter-spacing: .02em; color: #ffd23f; margin: 4px 0 10px; opacity: 1; }
.form-logo { display: block; margin: 0 auto 8px; }
.card.narrow h1 { text-align: center; }
.foot { display: grid; gap: 3px; justify-items: center; line-height: 1.5; }
.foot-brand { display: flex; align-items: center; gap: 6px; color: var(--tinta); }
.foot .credit a, .credit-card a { color: var(--hutan); font-weight: 600; }
.credit-card { display: flex; gap: 14px; align-items: center; margin: 8px 0 24px; }
.credit-card p { margin: 2px 0 0; }
.rcredit { margin-top: 28px; padding-top: 6px; border-top: 1px solid var(--garis); font-size: 8pt; color: var(--abu); text-align: center; }
.hero .slogan { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.hero .slogan span { white-space: nowrap; }

/* ---------- Statistik ---------- */
.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 16px; }
.kpi > div { background: #fff; border: 1px solid var(--garis); border-radius: var(--r); padding: 12px 14px; box-shadow: var(--sh); }
.kpi dt { font-size: .78rem; color: var(--abu); font-weight: 600; }
.kpi dd { margin: 2px 0; font-size: 1.7rem; font-weight: 800; color: var(--tinta); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.kpi small { color: var(--abu); font-size: .76rem; }
.kpi .of { font-size: 1rem; color: var(--abu); font-weight: 600; }
.delta { font-size: .78rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.delta.up { background: #e5f4ea; color: #19582f; } .delta.down { background: #fdecea; color: #8c1d18; }
.statstrip { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin: 0 0 18px; }
.statstrip > div { background: #fff; border: 1px solid var(--garis); border-radius: var(--r); padding: 10px 12px; text-align: center; }
.statstrip dt { font-size: .72rem; color: var(--abu); } .statstrip dd { margin: 0; font-size: 1.35rem; font-weight: 800; }
.periode { display: flex; gap: 6px; flex-wrap: wrap; }
.grid-chart { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); margin-bottom: 16px; }
.grid-chart > .card { margin-bottom: 0; }
section.card { margin-bottom: 16px; }
.card h2 { margin-top: 0; font-size: 1rem; } .card h2 + .chart { margin-top: 4px; }
svg.chart { width: 100%; height: auto; display: block; overflow: visible; }
svg.chart .grid { stroke: #ece9e0; stroke-width: 1; }
svg.chart .base { stroke: #b9b4a6; stroke-width: 1; }
svg.chart .ax { font-size: 11px; fill: var(--abu); }
svg.chart .hit { fill: transparent; }
svg.chart .bar:hover .hit { fill: rgba(15,61,46,.06); }
svg.chart .bar:hover path { filter: brightness(1.15); }
.saran ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.saran li { padding: 8px 12px 8px 34px; border-radius: 9px; position: relative; font-size: .92rem; }
.saran li::before { position: absolute; left: 11px; top: 8px; }
.saran li.warn { background: #fff6e0; } .saran li.warn::before { content: "⚠"; }
.saran li.info { background: #eef3ef; } .saran li.info::before { content: "ℹ"; }
.saran li.ok { background: #e5f4ea; } .saran li.ok::before { content: "✔"; }
.tablewrap { overflow-x: auto; }
.list td.num, .list th.num { text-align: right; white-space: nowrap; }
.meter { display: inline-block; width: 60px; height: 6px; background: #ece9e0; border-radius: 3px; vertical-align: middle; overflow: hidden; }
.meter.wide { width: 100%; } .meter i { display: block; height: 100%; border-radius: 3px; }
.qrow { display: grid; grid-template-columns: 120px 1fr 44px 70px; gap: 10px; align-items: center; margin: 8px 0; font-size: .9rem; }
.qrow b { text-align: right; }
.status.warn { background: #fff1cc; color: #7a5300; }
.muted-row td { color: var(--abu); }
ul.plain { margin: 4px 0; padding-left: 18px; font-size: .9rem; }
.rowline { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.rowline form { margin: 0; }
@media print { .kpi > div, .card { box-shadow: none; } section.card { break-inside: avoid; } }
@media (max-width: 600px) { .qrow { grid-template-columns: 96px 1fr 40px; } .qrow small { display: none; } }
.list .status { float: none; white-space: nowrap; }

/* ---------- Kalimat pancingan beranda ---------- */
.hero .hook { position: relative; min-height: 2.9em; margin: 0 0 6px; font-size: clamp(1rem, 2.2vw, 1.2rem); font-weight: 700; color: #fff; opacity: 1; }
.hero .hook span { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
.hero .hook span.on { opacity: 1; transform: none; }
.hero .hook span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e8553f; margin-right: 8px; vertical-align: middle; animation: rec 1.6s infinite; }
@keyframes rec { 50% { opacity: .25; } }
.why { margin-bottom: 24px; } .why h2 { margin-top: 0; }
.whygrid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.whygrid > div { background: #fff; border: 1px solid var(--garis); border-left: 4px solid var(--matahari); border-radius: var(--r); padding: 14px 16px; }
.whygrid p { margin: 4px 0 0; font-size: .9rem; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 8px 0 18px; padding: 22px 24px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, #1f8a55, var(--hutan)); }
.cta h2 { margin: 0 0 4px; font-size: clamp(1.2rem, 3vw, 1.6rem); color: #ffd23f; } .cta p { margin: 0; opacity: .9; }
.cta .actions { margin: 0; }
@media (prefers-reduced-motion: reduce) { .hero .hook span { transition: none; } .hero .hook span::before { animation: none; } }

/* ---------- Admin: kelola lembaga ---------- */
.setbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.setbar form { margin: 0; } .setbar small { display: block; margin-top: 2px; }
tr.dimrow td { opacity: .6; } tr.dimrow td:last-child { opacity: 1; }
h1 .status { font-size: .8rem; vertical-align: middle; float: none; }

.form.compact > .btn { justify-self: start; }
form.inline .btn { white-space: nowrap; flex: none; }
