:root { color-scheme: light; font-family: system-ui, sans-serif; color: #1b2230; background: #f6f7f9; }
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(100% - 2rem, 960px); margin: 0 auto; padding: 2rem 0 4rem; }
.card { background: #ffffff; border: 1px solid #d8dce3; border-radius: 16px; padding: 1.25rem; box-shadow: 0 8px 24px #40301812; }
#login-view { max-width: 480px; margin: 10vh auto; text-align: center; }
.eyebrow { margin: 0 0 .4rem; color: #1f3a6e; font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
h1 { margin: 0 0 .5rem; font-size: clamp(1.7rem, 5vw, 2.4rem); }
.muted { color: #4a5565; }
button { min-height: 44px; border: 0; border-radius: 10px; padding: .7rem 1rem; color: #fff; background: #1f3a6e; font: inherit; font-weight: 700; cursor: pointer; }
button.secondary { color: #1f3a6e; background: #eaeef5; }
.topbar { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.summary { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.summary span { padding: .55rem .75rem; border-radius: 999px; background: #ffffff; border: 1px solid #d8dce3; font-size: .9rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin-bottom: 1rem; }
label { display: grid; gap: .5rem; color: #4a5565; font-size: .85rem; font-weight: 700; }
input, select { min-height: 42px; padding: .55rem .7rem; border: 1px solid #aab2bf; border-radius: 8px; background: white; font: inherit; }
.rows { display: grid; gap: .6rem; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem auto; align-items: start; gap: 1rem; padding: .9rem; border: 1px solid #e3e6ec; border-radius: 10px; }
.row strong { display: block; }
.badge { align-self: start; justify-self: stretch; text-align: center; white-space: nowrap; padding: .25rem .5rem; border-radius: 999px; background: #eaeef5; font-size: .78rem; }
.error { color: #a32121; }
.success { color: #216b3a; }
.publish-status { margin-bottom: 1rem; padding: .75rem; border-radius: 8px; background: #eef5ee; color: #216b3a; }
.editor { display: grid; gap: .8rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid #e3e6ec; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.event-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.subrow { padding: .65rem; margin-bottom: .5rem; border: 1px solid #e3e6ec; border-radius: 8px; }
textarea { min-height: 80px; padding: .55rem .7rem; border: 1px solid #aab2bf; border-radius: 8px; font: inherit; }
@media (max-width: 560px) { .topbar { display: block; } .topbar button { margin-top: 1rem; } .toolbar > * { width: 100%; } .row { display: block; } .badge { display: inline-block; margin-top: .5rem; } }

.release-panel { margin-bottom: 1rem; border-left: 6px solid #1f3a6e; }
.release-panel h2 { margin: 0 0 .4rem; font-size: 1.15rem; }
.sesi-banner { margin: 0 0 1rem; padding: .75rem 1rem; border-radius: 8px; background: #fff4d6; color: #1f3a6e; border: 1px solid #c58b00; }
.sesi-banner[hidden], #release-segarkan-draf[hidden] { display: none; }
.sesi-banner.habis { background: #fde8e8; color: #7a1313; border-color: #a32121; }
.pulih-banner { margin: 0 0 1rem; padding: .75rem 1rem; border-radius: 8px; background: #e8f1fb; color: #0b3a66; border: 1px solid #2b6cb0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.ringkasan-terbit ul { margin: .25rem 0 .75rem; padding-left: 1.25rem; }
.zona-arsip { margin-top: 1rem; padding-top: .75rem; border-top: 1px dashed #c3c9d3; }
#event-panel-aman fieldset { border: 1px solid #d8dce3; border-radius: 8px; margin: 0 0 1rem; padding: .75rem; }
#event-panel-aman[hidden] { display: none; }
.rilis-ringkas { margin: 0 0 1rem; } .rilis-ringkas a { display: inline-block; padding: .55rem .75rem; min-height: 44px; box-sizing: border-box; border: 1px solid #c3c9d3; border-radius: 8px; background: #ffffff; color: #1f3a6e; }
.summary small { color: #4a5565; text-transform: uppercase; font-size: .75rem; letter-spacing: .03em; margin-right: .25rem; }
.badge-terverifikasi { background: #e3f1e7; color: #1d5a31; } .badge-arsip { background: #e4e0e0; color: #444; }
.peta-posisi { border: 1px solid #d8dce3; border-radius: 8px; margin: 0 0 .75rem; padding: .6rem; }
.peta-geser { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem; margin: .5rem 0; }
.peta-geser button, #peta-f-pindah { min-height: 44px; }
.tugas-kartu { margin: 0 0 1rem; padding: .75rem; border: 1px solid #d8dce3; border-radius: 8px; background: #ffffff; }
.tugas-kartu h3 { margin: 0 0 .5rem; font-size: 1rem; }
.tugas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: .4rem; }
.tugas-item { width: 100%; min-width: 0; min-height: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .75rem; align-items: center; text-align: left; }
.tugas-status { font-size: .85rem; } .tugas-status.selesai { color: #1d5a31; font-weight: 600; } .tugas-status.belum { color: #7a4b00; }
.tugas-kartu[hidden] { display: none; }
.release-state { padding: .6rem .75rem; border-radius: 8px; background: #f1f3f7; overflow-wrap: anywhere; }
button:disabled { opacity: .55; cursor: not-allowed; }
code { overflow-wrap: anywhere; }

.peta-editor { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: #f6f7f9; }
.peta-editor[hidden] { display: none; }
.peta-bar { display: flex; align-items: center; gap: .75rem; padding: .5rem .75rem; background: #ffffff; border-bottom: 1px solid #d8dce3; }
.peta-bar h2 { margin: 0; font-size: 1.05rem; }
.peta-status { flex: 1; margin: 0; color: #4a5565; font-size: .85rem; }
#peta-peta { flex: 1; min-height: 0; min-width: 0; }
body.peta-terbuka { overflow: hidden; }
.peta-isi { flex: 1; display: flex; min-height: 0; }
.peta-sisi { width: 320px; overflow-x: hidden; flex: none; overflow-y: auto; padding: .75rem; background: #ffffff; border-right: 1px solid #d8dce3; display: grid; gap: .75rem; align-content: start; }
.peta-daftar { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.peta-daftar button { width: 100%; text-align: left; color: #1b2230; background: #eaeef5; }
.peta-daftar button[aria-pressed="true"] { outline: 3px solid #1b2230; }
.peta-panel { display: grid; gap: .6rem; }
@media (min-width: 0) { .peta-alat-toggle { display: none; } }
@media (max-width: 700px) { .peta-isi { flex-direction: column-reverse; } .peta-alat-toggle { display: inline-flex; align-items: center; justify-content: center; } .alat-tutup .peta-sisi > :not(.peta-alat) { display: none; } .alat-tutup .peta-sisi { max-height: none; } .peta-sisi { width: auto; max-height: 44%; border-right: 0; border-top: 1px solid #d8dce3; } .peta-bar { flex-wrap: wrap; gap: .4rem .5rem; } .peta-bar h2 { flex: 1 1 100%; } .peta-bar button { flex: 1 1 40%; padding: .45rem .7rem; font-size: .85rem; } .peta-status { order: 3; flex-basis: 100%; } }
/* Pin editor = pin situs warga: 34px, cincin putih, warna jenis, lambang putih di tengah. */
.peta-titik { width: 34px; height: 34px; box-sizing: border-box; border-radius: 50%; border: 2.5px solid #fff; box-shadow: 0 0 0 1px rgba(20,23,28,.6); background: #4F5764; }
.peta-titik.jenis-pos { background: #0C2D6B; }
.peta-titik.jenis-parkir { background: #1F4E8C; }
.peta-titik.jenis-medis { background: #8B1A1A; }
.peta-titik.jenis-info { background: #7A5B10; }
.peta-titik.jenis-pintu { background: #1B6B3A; }
.peta-titik.jenis-drop { background: #5B2A86; }
.peta-titik.jenis-toilet { background: #4F5764; }
.peta-titik.jenis-tutup { background: #9C4A10; }
.peta-titik.arsip { opacity: .45; border-style: dashed; }
.peta-titik.terpilih { box-shadow: 0 0 0 3px #1b2230, 0 0 0 6px #fff; }
.peta-mode-tambah .leaflet-container { cursor: crosshair; }
.peta-alat { display: flex; flex-wrap: wrap; gap: .4rem; }
.peta-alat button[hidden] { display: none; }
.peta-alat button[aria-pressed="true"] { outline: 3px solid #1b2230; }
.peta-panel[hidden] { display: none; }
.peta-kategori-gambar { display: grid; gap: .5rem; }
.peta-pilih { display: flex; align-items: center; gap: .4rem; }
.peta-pilih select { flex: 1; min-width: 0; }
.peta-contoh { flex: none; width: 20px; height: 20px; border-radius: 4px; border: 1px solid #1b2230; background: #fff; }
.peta-sisi * { min-width: 0; }
.peta-alat button { flex: 1 1 auto; padding: .5rem .6rem; }
.peta-sisi select, .peta-sisi input { width: 100%; text-overflow: ellipsis; }
.peta-pilih select { width: auto; }
.peta-kategori-kelola { display: grid; gap: .5rem; }
.peta-kategori-kelola h3 { margin: 0; font-size: .95rem; }
.peta-warna-uji { display: flex; align-items: center; gap: .4rem; margin: 0; font-size: .85rem; }
.peta-pilih input[type="color"] { flex: none; width: 44px; height: 44px; padding: 0; }
.peta-pilih input[type="color"] + input { flex: 1; }
.peta-lapisan { display: grid; gap: .5rem; }
.peta-lapisan h3 { margin: 0; font-size: .95rem; }
.peta-lapisan-daftar label { display: flex; align-items: center; gap: .4rem; }
.peta-lapisan-daftar input { width: auto; flex: none; }
@media (pointer: coarse) {
  .peta-sisi select { min-height: 44px; }
  .peta-sisi input { min-height: 44px; }
  .peta-sisi input[type="checkbox"] { min-height: 0; width: 24px; height: 24px; }
  .peta-lapisan-daftar label { min-height: 44px; }
  .peta-daftar button { min-height: 44px; }
  .peta-editor .leaflet-touch .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; }
  .peta-bar button { min-height: 44px; }
  /* Pegangan vertex Geoman (14px/10px) terlalu kecil untuk jari: perbesar dengan menjaga titik pusatnya. */
  .peta-editor .leaflet-marker-icon.marker-icon { width: 28px !important; height: 28px !important; margin: -14px 0 0 -14px !important; }
  .peta-editor .leaflet-marker-icon.marker-icon-middle { width: 22px !important; height: 22px !important; margin: -11px 0 0 -11px !important; }
}
@media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } .form-grid > *, label, input, select { min-width: 0; max-width: 100%; } }
.editor[hidden] { display: none; }
.data-tabs { display: flex; gap: .4rem; }
.data-tabs button[aria-pressed="true"] { outline: 3px solid #1b2230; }
@media (pointer: coarse) { .data-tabs button { min-height: 44px; } }
.editor { gap: 1.1rem; }
.hint { color: #4a5565; font-size: .8rem; font-weight: 400; line-height: 1.35; }
.langkah { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.langkah li { flex: 1 1 30%; }
.langkah button { width: 100%; display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .9rem; }
.langkah .no { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #fff; color: #1f3a6e; font-size: .8rem; }
.langkah button[aria-current="step"] { color: #fff; background: #1f3a6e; outline: 3px solid #1b2230; outline-offset: 2px; }
.event-rincian { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid #e3e6ec; }
.event-rincian p { margin: 0 0 .5rem; font-size: .85rem; }
#event-panel-umum, #event-panel-peta, #event-panel-terbit { display: grid; gap: 1rem; }
#event-panel-umum[hidden], #event-panel-peta[hidden], #event-panel-terbit[hidden] { display: none; }
@media (max-width: 480px) { .langkah li { flex: 1 1 100%; } .form-actions button { flex: 1 1 100%; } }

#event-konfirmasi:empty { margin: 0; padding: 0; }

.peran-penyunting [data-penerbit] { display: none !important; }
#peran-info:empty { display: none; }

/* R2.7: editor peta — daftar objek di atas, panel sekunder dalam <details> */
.peta-grup { border-top: 1px solid #d8dce3; padding: .25rem 0; }
.peta-grup > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; padding: 0 .5rem; }
.peta-grup > summary:focus-visible { outline: 3px solid #0b5fa5; outline-offset: -3px; }
.peta-grup h3 { display: none; }
.peta-judul-grup { margin: .5rem 0 .25rem; font-size: 1rem; }

/* Target sentuh 44 px juga di desktop (sebelumnya hanya pointer kasar): input/select editor peta kini terlihat langsung di atas daftar. */
.peta-sisi select, .peta-sisi input:not([type="checkbox"]):not([type="color"]) { min-height: 44px; }

/* Target 44 px untuk semua kolom isian, bukan hanya di layar sentuh (rasio gerbang visual: jumlah target kecil tidak boleh naik). */
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="color"]):not([type="range"]), select { min-height: 44px; }

.ringkasan-galat { margin: .35rem 0 0; padding-left: 1.2rem; }
.ringkasan-galat a { color: inherit; font-weight: 600; text-decoration: underline; min-height: 24px; display: inline-block; }

/* Ruang kerja penerbitan: navigasi tiga bagian, daftar terpisah dari editor, halaman Penerbitan */
.nav-utama { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.nav-utama button { flex: 1 1 8rem; }
.nav-utama button[aria-pressed="true"] { color: #fff; background: #1f3a6e; outline: 3px solid #1b2230; outline-offset: 2px; }
.daftar-kepala { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin: 0 0 1rem; }
.daftar-kepala h2 { margin: 0; font-size: 1.25rem; }
.daftar-kepala h2:focus { outline: none; }
#view-daftar[hidden], #view-kerja[hidden], #release-panel[hidden], #release-konfirmasi[hidden] { display: none; }
.row small { display: grid; gap: .15rem; margin-top: .25rem; color: #4a5565; font-size: .85rem; }
.label-kecil { color: #4a5565; font-size: .8rem; font-weight: 700; margin-right: .25rem; }
.paginasi { margin-top: 1rem; display: grid; gap: .6rem; }
.paginasi .form-actions { align-items: center; }
.paginasi p { margin: 0; color: #4a5565; font-size: .9rem; }
.halaman-no { font-size: .9rem; color: #4a5565; }
.kembali-daftar { justify-self: start; }
.editor h2:focus { outline: none; }
.status-baris { margin: 0; }
.perubahan { margin: 1rem 0; padding: .75rem 1rem; border: 1px solid #d8dce3; border-radius: 8px; }
.perubahan h3 { margin: 0 0 .5rem; font-size: 1rem; }
.perubahan h3:focus { outline: none; }
.konfirmasi { border: 2px solid #1b2230; }
.daftar-perubahan { list-style: none; margin: .5rem 0; padding: 0; display: grid; gap: 0; }
.daftar-perubahan li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .6rem 0; border-top: 1px solid #e3e6ec; }
.daftar-perubahan li:first-child { border-top: 0; }
.diagnostik { margin-top: 1rem; border-top: 1px solid #e3e6ec; padding-top: .5rem; }
.diagnostik > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; }


/* Sistem visual: permukaan netral, pemisah tipis, satu keluarga huruf (14/16/20/28), satu aksen biru tua untuk tindakan utama. */
:root { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.5; }
h1 { font-size: 1.75rem; line-height: 1.2; } h2 { font-size: 1.25rem; } h3 { font-size: 1rem; }
.card { border-radius: 8px; box-shadow: none; }
.release-panel { border-left: 1px solid #d8dce3; }
.perubahan, .tugas-kartu, .subrow, .peta-posisi, #event-panel-aman fieldset { border: 0; border-top: 1px solid #e3e6ec; border-radius: 0; background: transparent; padding-left: 0; padding-right: 0; }
.konfirmasi { border: 1px solid #1f3a6e; border-radius: 8px; padding: .75rem 1rem; background: #fff; }
.row { border: 0; border-top: 1px solid #e3e6ec; border-radius: 0; padding: .9rem 0; }
.rows { gap: 0; } .rows .row:last-child { border-bottom: 1px solid #e3e6ec; }
button.secondary { background: #fff; color: #1f3a6e; border: 1px solid #aab2bf; }
button { border-radius: 8px; }
.badge { background: transparent; border: 1px solid #aab2bf; color: #1b2230; border-radius: 4px; font-size: .875rem; font-weight: 600; }
.badge-terverifikasi { background: #e3f1e7; border-color: #8fbf9f; color: #1d5a31; } .badge-arsip { background: #eceef1; color: #4a5565; }
.summary span { background: transparent; border: 0; border-radius: 0; padding: .25rem 1rem .25rem 0; }
.publish-status { background: #f1f3f7; color: #1b2230; }
.release-state { background: #f1f3f7; }
.rilis-ringkas a { background: #fff; border-color: #c3c9d3; color: #1f3a6e; }
.langkah button[aria-current="step"], .nav-utama button[aria-pressed="true"] { background: #1f3a6e; color: #fff; outline: 0; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1f3a6e; }
.data-tabs button[aria-pressed="true"] { outline-color: #1f3a6e; }
:focus-visible { outline: 3px solid #1f3a6e; outline-offset: 2px; }
.eyebrow { font-size: .875rem; }
.sesi-banner { background: #fff8e1; }

/* Rincian objek tampil di awal panel bawah, sebelum daftar panjang. */
.peta-panel h3 { margin: 0; font-size: 1rem; }
.peta-objek > .peta-panel:not([hidden]) { margin-bottom: .75rem; }
@media (max-width: 700px) {
  .peta-sisi { overscroll-behavior-y: contain; }
  .peta-objek > .peta-judul-grup { display: none; }
}

.event-panel-judul { margin: 0 0 .5rem; }

/* Pusat kendali (Linear/Stripe/Vercel): bilah atas tipis, tab status berjumlah, daftar berkolom. */
.shell { width: min(100% - 2rem, 1200px); padding-top: 0; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 1rem; margin: 0 -1rem 1rem; padding: .5rem 1rem; background: #ffffffee; border-bottom: 1px solid #e3e6ec; backdrop-filter: saturate(1.2); }
.merek { margin: 0; font-weight: 700; font-size: .95rem; letter-spacing: -.01em; white-space: nowrap; }
.topbar .nav-utama { margin: 0; flex: 1; }
.topbar .nav-utama button { flex: 0 0 auto; border-color: transparent; background: transparent; }
.nav-utama button[aria-pressed="true"] { background: #eaeef5; color: #1f3a6e; box-shadow: none; }
.akun { display: flex; align-items: center; gap: .5rem; }
.akun .muted { font-size: .875rem; white-space: nowrap; }
#peran-info { margin: 0 0 .75rem; }
.summary { gap: .25rem; margin: 0 0 .75rem; border-bottom: 1px solid #e3e6ec; }
.status-tab { background: transparent; color: #4a5565; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: .5rem .75rem; font-weight: 600; }
.status-tab b { margin-left: .25rem; padding: 0 .4rem; border-radius: 4px; background: #eceef1; color: #1b2230; font-variant-numeric: tabular-nums; font-size: .875rem; }
.status-tab[aria-pressed="true"] { color: #1f3a6e; border-bottom-color: #1f3a6e; }
.status-tab:hover { color: #1b2230; }
.toolbar label { flex: 1 1 18rem; max-width: 28rem; }
.rows-kepala { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr) minmax(0, 1.4fr) 7.5rem 4.5rem; gap: 1rem; padding: .5rem 0; color: #4a5565; font-size: .8125rem; font-weight: 600; border-bottom: 1px solid #d8dce3; }
.row { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr) minmax(0, 1.4fr) 7.5rem 4.5rem; align-items: center; padding: .7rem 0; transition: background-color 150ms ease-out; }
.row:hover { background: #f6f7f9; }
.row .label-kecil { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sel-tgl, .sel-lokasi { font-size: .9rem; color: #2b3443; font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere; }
.sel-tugas { display: block; color: #4a5565; font-size: .8125rem; }
.row .edit-row { justify-self: end; }
@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; position: static; }
  .topbar .nav-utama { order: 3; flex-basis: 100%; }
  .akun { margin-left: auto; }
}
@media (max-width: 760px) {
  .rows-kepala { display: none; }
  .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem .75rem; }
  .sel-nama { grid-column: 1 / -1; }
  .row .label-kecil { position: static; width: auto; height: auto; clip: auto; }
  .sel-tgl, .sel-lokasi { grid-column: 1; }
  .row .badge { grid-column: 2; grid-row: 2; margin: 0; }
  .row .edit-row { grid-column: 2; grid-row: 3; }
  .summary { overflow-x: auto; flex-wrap: nowrap; }
  .status-tab { flex: 0 0 auto; }
}
/* HP: bilah akun boleh turun baris; tab status bergulir di wadahnya sendiri; badge/Edit di kolom tetap agar lurus antar baris. */
@media (max-width: 760px) {
  .topbar { margin: 0 0 1rem; padding: .5rem 0; }
  .akun { flex-wrap: wrap; min-width: 0; max-width: 100%; }
  .akun .muted { flex-basis: 100%; white-space: normal; overflow-wrap: anywhere; }
  .summary { max-width: 100%; min-width: 0; overscroll-behavior-x: contain; }
  .row { grid-template-columns: minmax(0, 1fr) 7.5rem; }
  .row .badge { justify-self: stretch; align-self: start; }
  .row .edit-row { justify-self: stretch; }
}

/* ===== Tampilan v2 (umpan balik operator: "kurang menarik, jadul") =====
   Inter disajikan sendiri, ikon garis satu sprite, permukaan putih dengan pemisah tipis,
   satu aksen biru tua, status = titik warna + teks, HP memakai bilah navigasi bawah. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; src: url('/vendor/inter-5.3.0/inter-latin-wght-normal.woff2') format('woff2'); font-display: swap; }
:root {
  --bg: #f7f8fa; --surface: #ffffff; --garis: #e4e7ec; --garis-kuat: #d0d5dd;
  --ink: #101828; --ink-2: #475467; --ink-3: #5d6679;
  --aksen: #1f3a6e; --aksen-gelap: #172c55; --aksen-lembut: #eef2f9;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-feature-settings: 'cv11'; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
::selection { background: #d6e0f2; color: var(--ink); }
h1 { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.02em; }
h2 { font-weight: 650; letter-spacing: -0.01em; }
h3 { font-weight: 600; }
.muted { color: var(--ink-2); }
.hint { color: var(--ink-3); font-size: .8125rem; }
label { color: var(--ink); font-weight: 550; font-size: .875rem; }
input, select, textarea { border-color: var(--garis-kuat); border-radius: 8px; color: var(--ink); transition: border-color 120ms ease-out, box-shadow 120ms ease-out; }
input:focus, select:focus, textarea:focus { border-color: var(--aksen); box-shadow: 0 0 0 3px #1f3a6e2e; }

/* Ikon */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ikon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ikon-kecil { width: 1rem; height: 1rem; }

/* Tombol */
button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 8px; background: var(--aksen); font-weight: 600; transition: background-color 120ms ease-out, color 120ms ease-out, border-color 120ms ease-out; }
button:hover:not(:disabled) { background: var(--aksen-gelap); }
button.secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--garis-kuat); box-shadow: 0 1px 2px #1018280d; }
button.secondary:hover:not(:disabled) { background: #f9fafb; border-color: #98a2b3; }

/* Merek + login */
.merek { display: inline-flex; align-items: center; gap: .625rem; font-weight: 650; color: var(--ink); }
.merek-tanda { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 8px; background: var(--aksen); color: #fff; }
.merek-ikon { width: 1.125rem; height: 1.125rem; }
#login-view { max-width: 400px; margin: 12vh auto; padding: 2rem; border: 0; border-radius: 16px; text-align: center; background: var(--surface); box-shadow: 0 1px 3px #1018281a, 0 12px 32px -12px #1018282e; }
#login-view .merek-tanda { width: 3rem; height: 3rem; border-radius: 12px; margin-bottom: 1rem; }
#login-view .merek-ikon { width: 1.5rem; height: 1.5rem; }
#login-view h1 { font-size: 1.5rem; margin-bottom: .5rem; }
#login-view .muted { margin: 0 auto 1.5rem; max-width: 30ch; line-height: 1.5; }
.google-signin { display: flex; justify-content: center; }

/* Bilah atas */
.topbar { min-height: 3.5rem; background: #fffffff2; border-bottom: 1px solid var(--garis); }
.topbar .nav-utama button { gap: .5rem; color: var(--ink-2); box-shadow: none; border: 0; }
.topbar .nav-utama button:hover:not(:disabled) { background: #f2f4f7; color: var(--ink); }
.nav-utama button[aria-pressed="true"], .topbar .nav-utama button[aria-pressed="true"] { background: var(--aksen-lembut); color: var(--aksen); outline: 0; }
.tombol-ikon { padding: .5rem .75rem; }
#operator-name { color: var(--ink-2); }

/* Ringkasan penerbitan: baris status, bukan tautan bergaris bawah */
.rilis-ringkas a { display: flex; align-items: center; gap: .625rem; min-height: 44px; padding: .5rem .875rem; border: 1px solid var(--garis); border-radius: 10px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.rilis-ringkas a::before { content: ''; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: #667085; }
.rilis-ringkas a[data-keadaan="menunggu"]::before { background: #f79009; }
.rilis-ringkas a[data-keadaan="proses"]::before { background: #2e90fa; }
.rilis-ringkas a[data-keadaan="gagal"]::before { background: #d92d20; }
.rilis-ringkas a[data-keadaan="tayang"]::before { background: #17b26a; }
.rilis-ringkas a .ikon { margin-left: auto; color: var(--ink-3); }
.rilis-ringkas a:hover { border-color: var(--garis-kuat); }

/* Kartu kerja */
.card { border-color: var(--garis); border-radius: 12px; box-shadow: none; }
.daftar-kepala h2 { font-size: 1.25rem; }

/* Pencarian dengan ikon */
.cari { position: relative; }
.label-cari { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cari .ikon { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.cari input { width: 100%; padding-left: 2.5rem; }

/* Tab status */
.status-tab b { background: #f2f4f7; color: var(--ink-2); font-weight: 600; }
.status-tab[aria-pressed="true"] b { background: var(--aksen-lembut); color: var(--aksen); }

/* Status = titik warna + teks */
.badge { display: inline-flex; align-items: center; justify-content: flex-start; gap: .375rem; justify-self: start; width: max-content; max-width: 100%; padding: .125rem .5rem; border: 0; border-radius: 999px; background: #f2f4f7; color: var(--ink-2); font-size: .8125rem; font-weight: 600; }
.badge::before { content: ''; flex: none; width: .375rem; height: .375rem; border-radius: 50%; background: currentColor; }
.badge-draft { background: #fff6e5; color: #8a4b00; }
.badge-terverifikasi { background: #ecfdf3; color: #067647; }
.badge-arsip { background: #f2f4f7; color: var(--ink-2); }

/* Baris daftar: seluruh baris bisa diketuk (tombol Edit meregang lewat ::after) */
.rows-kepala, .row { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr) minmax(0, 1.5fr) 8rem 5.5rem; }
.rows-kepala { padding: .5rem; color: var(--ink-3); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; border-bottom-color: var(--garis); }
.row { position: relative; padding: .75rem .5rem; border-top-color: var(--garis); cursor: pointer; }
.rows .row:last-child { border-bottom-color: var(--garis); }
.row:hover { background: #f9fafb; }
.row strong { font-weight: 600; color: var(--ink); }
.sel-tugas { color: var(--ink-3); }
.sel-tgl, .sel-lokasi { display: inline-flex; align-items: center; gap: .375rem; color: var(--ink-2); }
.sel-tgl .ikon-kecil, .sel-lokasi .ikon-kecil { display: none; color: var(--ink-3); }
.row .edit-row { justify-self: end; background: transparent; border: 0; box-shadow: none; color: var(--ink-2); padding: .5rem .5rem .5rem .75rem; }
.row .edit-row::after { content: ''; position: absolute; inset: 0; }
.row .badge { align-self: center; }
.row:hover .edit-row, .row .edit-row:focus-visible { color: var(--aksen); background: transparent; }
.row .edit-row:focus-visible { outline: 0; }
.row:has(.edit-row:focus-visible) { outline: 3px solid var(--aksen); outline-offset: -3px; border-radius: 6px; }

/* Editor: tombol kembali ringan, langkah berjajar, daftar tugas berikon */
.editor { margin-top: 0; padding-top: 0; border-top: 0; }
button.kembali-daftar { background: transparent; border: 0; box-shadow: none; color: var(--ink-2); padding-left: .25rem; }
button.kembali-daftar:hover:not(:disabled) { background: #f2f4f7; color: var(--ink); }
.langkah { display: grid; gap: .5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.langkah li { min-width: 0; }
.langkah button { min-height: 52px; background: var(--surface); color: var(--ink-2); border: 1px solid var(--garis-kuat); box-shadow: none; font-weight: 600; text-align: center; }
.langkah .no { background: #f2f4f7; color: var(--ink-2); font-weight: 650; }
.langkah button[aria-current="step"] { background: var(--aksen); border-color: var(--aksen); color: #fff; box-shadow: none; outline: 0; }
.langkah button[aria-current="step"] .no { background: #ffffff; color: var(--aksen); }
.tugas-kartu { border-top: 0; }
.tugas-item { justify-content: flex-start; gap: .625rem; text-align: left; }
.tugas-item .tugas-nama { font-weight: 600; color: var(--ink); }
.tugas-item .tugas-status { margin-left: auto; font-weight: 500; }
.tugas-ikon.selesai { color: #079455; }
.tugas-ikon.belum { color: #667085; }
.tugas-status.belum { color: #8a4b00; }

/* HP: bilah navigasi bawah, bilah atas tipis, baris ringkas */
@media (max-width: 760px) {
  .nav-utama { background: #fff; }
  .merek .lambang { height: 30px; }
  :root, body { background: var(--surface); }
  #dashboard-view .card { border: 0; border-radius: 0; padding: 0; background: transparent; }
  .topbar { position: sticky; top: 0; z-index: 30; backdrop-filter: none; flex-wrap: nowrap; margin: 0 -1rem .75rem; padding: .5rem 1rem; }
  .akun { flex-wrap: nowrap; margin-left: auto; gap: .25rem; }
  .akun #operator-name, .akun .label-tombol { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .akun .tombol-ikon { width: 44px; height: 44px; padding: 0; border: 0; box-shadow: none; background: transparent; color: var(--ink-2); }
  .nav-utama { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: .25rem .5rem calc(.25rem + env(safe-area-inset-bottom)); background: #fffffff7; border-top: 1px solid var(--garis); }
  .topbar .nav-utama { order: 0; flex-basis: auto; }
  .topbar .nav-utama button { flex-direction: column; gap: .125rem; min-height: 56px; padding: .375rem .25rem; font-size: .8125rem; font-weight: 600; border-radius: 10px; }
  .topbar .nav-utama button[aria-pressed="true"] { background: transparent; color: var(--aksen); }
  .topbar .nav-utama button[aria-pressed="true"] .ikon { background: var(--aksen-lembut); border-radius: 999px; box-sizing: content-box; padding: .125rem 1rem; }
  #dashboard-view { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
  .daftar-kepala { flex-wrap: nowrap; }
  .daftar-kepala h2 { font-size: 1.375rem; }
  .row { grid-template-columns: minmax(0, 1fr) 2.75rem; gap: .25rem .5rem; padding: .875rem 0; }
  .row:hover { background: transparent; }
  .sel-nama { grid-column: 1; grid-row: 1; }
  .row .badge { grid-column: 1; grid-row: 2; justify-self: start; margin: .125rem 0; }
  .sel-tgl { grid-column: 1; grid-row: 3; }
  .sel-lokasi { grid-column: 1; grid-row: 4; }
  .sel-tgl, .sel-lokasi { font-size: .875rem; }
  .sel-tgl .ikon-kecil, .sel-lokasi .ikon-kecil { display: inline-block; }
  .row .label-kecil, .row .label-edit { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .row .edit-row { grid-column: 2; grid-row: 1 / span 4; align-self: center; justify-self: end; width: 44px; padding: 0; color: var(--ink-3); }
  .langkah button { flex-direction: column; gap: .25rem; min-height: 60px; padding: .5rem .25rem; font-size: .8125rem; line-height: 1.2; }
  .tugas-item { flex-wrap: wrap; }
  .tugas-item .tugas-status { margin-left: calc(1.25rem + .625rem); flex-basis: 100%; }
}
/* Sisa tata letak lama: .topbar button { margin-top: 1rem } (≤560 px) menurunkan ikon akun dan label navigasi bawah. */
.topbar button { margin-top: 0; }
.editor { gap: 1rem; }
.editor h2 { margin: 0; }

/* Perbaikan gerbang visual v2 */
/* Cincin fokus satu untuk semua kontrol; aturan "outline: 0" pada keadaan aktif tidak boleh memadamkannya. */
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--aksen) !important; outline-offset: 2px !important; }
.row:has(.edit-row:focus-visible) { outline: 0; background: var(--aksen-lembut); }
/* Tombol berlatar khusus mempertahankan warnanya saat disorot (sebelumnya aturan hover umum menimpa: teks putih di atas putih). */
.langkah button[aria-current="step"]:hover:not(:disabled) { background: var(--aksen-gelap); border-color: var(--aksen-gelap); color: #fff; }
.langkah button:not([aria-current]):hover:not(:disabled) { background: #f9fafb; color: var(--ink); }
.status-tab:hover:not(:disabled) { background: transparent; color: var(--ink); }
.status-tab[aria-pressed="true"]:hover:not(:disabled) { color: var(--aksen); }
.topbar .nav-utama button[aria-pressed="true"]:hover:not(:disabled) { background: var(--aksen-lembut); color: var(--aksen); }
/* Rincian teknis: penanda buka/tutup harus tampak (display:flex pada <summary> menghapusnya). */
.diagnostik > summary { display: list-item; padding: .625rem 0; color: var(--ink-2); }
/* Layar sentuh: sorotan "hover" menempel setelah diketuk, jadi kembalikan ke warna istirahat. Ditaruh paling akhir agar menang. */
@media (hover: none) {
  button:hover:not(:disabled) { background: var(--aksen); }
  button.secondary:hover:not(:disabled) { background: var(--surface); border-color: var(--garis-kuat); }
  .topbar .nav-utama button:hover:not(:disabled) { background: transparent; color: var(--ink-2); }
  .topbar .nav-utama button[aria-pressed="true"]:hover:not(:disabled) { background: transparent; color: var(--aksen); }
  .status-tab:hover:not(:disabled) { color: var(--ink-2); }
  .status-tab[aria-pressed="true"]:hover:not(:disabled) { color: var(--aksen); }
  .langkah button[aria-current="step"]:hover:not(:disabled) { background: var(--aksen); border-color: var(--aksen); }
  .langkah button:not([aria-current]):hover:not(:disabled) { background: var(--surface); color: var(--ink-2); }
  .row:hover { background: transparent; }
}

/* Lambang resmi Polresta Malang Kota, sama dengan microsite Info Makota. Tinggi tetap, lebar mengikuti rasio. */
.merek .lambang { height: 36px; width: auto; flex: none; }
#login-view .lambang { height: 60px; width: auto; margin: 0 auto 1rem; display: block; }

/* Regresi layar HP operator (3 Des): bilah atas buram penuh (tanpa blur, konten tembus terlihat di belakang judul),
   paragraf status kosong tidak memakan ruang, kolom tanggal selebar kolom (Chrome Android merendernya sempit). */
.topbar { background: #fff; }
#maps-result:empty, #flyer-drive-result:empty, #flyer-result:empty, #activity-status-teks:empty { display: none; }
input[type="date"] { width: 100%; min-width: 0; display: block; }

/* Pratinjau flyer dan opsi Google Drive untuk kegiatan. */
.flyer-pratinjau { margin: 0; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .25rem .75rem; align-items: center; }
.flyer-pratinjau img { grid-row: span 2; width: 4.5rem; height: 6rem; object-fit: cover; border: 1px solid var(--garis, #e3e6eb); border-radius: 6px; background: #f4f5f7; }
.flyer-pratinjau figcaption { font-size: .875rem; color: var(--teks-redup, #5b6472); overflow-wrap: anywhere; }
.flyer-pratinjau button { justify-self: start; }
#event-flyer-pratinjau img { object-fit: contain; }
#event-flyer-pratinjau figcaption { display: grid; gap: .25rem; }
.flyer-drive summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--teks-redup, #5b6472); }

/* Editor peta interaktif (Des 2026): petunjuk kontekstual, palet jenis titik, daftar bertanda, dialog panduan/tutup. */
.peta-pandu { display: flex; align-items: center; gap: .75rem; padding: .4rem .75rem; background: #fff; border-bottom: 1px solid #d8dce3; }
.peta-petunjuk { flex: 1; margin: 0; padding: .45rem .7rem; border-radius: 8px; border-left: 4px solid #98a2b3; background: #f2f4f7; color: #1b2230; font-size: .9375rem; line-height: 1.4; }
.peta-petunjuk[data-nada="aksi"] { border-left-color: #1f3a6e; background: #eef2f9; font-weight: 600; }
.peta-petunjuk[data-nada="pilih"] { border-left-color: #1f3a6e; }
.peta-petunjuk[data-nada="ingat"] { border-left-color: #8a5a00; background: #fff6e0; }
.peta-petunjuk[data-nada="mulai"] { border-left-color: #1b6b3a; background: #eaf5ee; }
.peta-pandu button { flex: none; }
.peta-palet { display: grid; gap: .5rem; padding: .6rem; border: 1px solid #c9d2e3; border-radius: 10px; background: #f7f9fc; }
.peta-palet[hidden] { display: none; }
.alat-tutup .peta-sisi > .peta-palet:not([hidden]) { display: grid; }
.peta-palet-judul { margin: 0; font-weight: 600; font-size: .9375rem; }
button.peta-tengah { grid-column: 1 / -1; font-weight: 500; }
.peta-palet-hint { margin: 0; }
.peta-palet-jenis { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.25rem, 1fr)); gap: .4rem; }
button.peta-jenis { justify-content: flex-start; padding: .4rem .6rem; font-weight: 500; text-align: left; }
button.peta-jenis[aria-pressed="true"] { border-color: #1f3a6e; box-shadow: inset 0 0 0 2px #1f3a6e; font-weight: 700; }
.peta-tanda { flex: none; display: inline-block; width: 16px; height: 16px; border: 2px solid #fff; box-shadow: 0 0 0 1px #1b2230; }
.peta-tanda.bentuk-titik { border-radius: 50%; }
.peta-tanda.bentuk-jalur { width: 20px; height: 6px; border: 0; border-radius: 3px; }
.peta-tanda.bentuk-area { border-radius: 3px; }
.peta-daftar button.peta-baris { display: flex; align-items: center; justify-content: flex-start; gap: .6rem; padding: .45rem .6rem; background: #fff; font-weight: 500; }
.peta-baris-isi { display: grid; min-width: 0; text-align: left; }
.peta-baris-isi > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.peta-baris-isi > small { color: #4a5565; font-size: .8125rem; font-weight: 400; }
.peta-daftar button.peta-baris[aria-pressed="true"] { outline: 0; border-color: #1f3a6e; box-shadow: inset 0 0 0 2px #1f3a6e; background: #eef2f9; }
.peta-kosong { margin: 0; font-size: .9375rem; }
.peta-terap { margin: 0; color: #1b6b3a; font-size: .875rem; }
.peta-terap:empty { display: none; }
button.peta-hapus { color: #8c1d18; border-color: #d9a3a0; }
.peta-editor button[hidden] { display: none; }
.peta-dialog { width: min(34rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; border: 0; border-radius: 12px; padding: 1.25rem; color: #1b2230; box-shadow: 0 20px 50px #10182840; }
.peta-dialog::backdrop { background: #10182873; }
.peta-dialog h3 { margin: 0 0 .75rem; font-size: 1.125rem; }
.peta-dialog h4 { margin: 1rem 0 .4rem; font-size: 1rem; }
.peta-dialog p { margin: 0; line-height: 1.5; }
.peta-langkah { margin: 0; padding-left: 1.25rem; display: grid; gap: .6rem; line-height: 1.5; }
.peta-langkah i { font-style: normal; font-weight: 600; color: #1f3a6e; }
.peta-pintasan { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .35rem .75rem; font-size: .9375rem; }
.peta-dialog kbd { display: inline-block; min-width: 1.6rem; padding: .05rem .4rem; border: 1px solid #98a2b3; border-bottom-width: 2px; border-radius: 5px; background: #f9fafb; font: inherit; font-size: .8125rem; text-align: center; }
.peta-dialog .form-actions { margin-top: 1rem; }
.peta-kendali { display: flex; gap: .4rem; }
.peta-kendali button { min-height: 44px; padding: .4rem .75rem; font-size: .875rem; box-shadow: 0 1px 4px #10182840; }
@media (max-width: 700px) {
  .peta-pandu { padding: .35rem .5rem; gap: .5rem; align-items: stretch; }
  .peta-petunjuk { font-size: .875rem; padding: .4rem .55rem; }
  .peta-pandu button { padding: .4rem .6rem; font-size: .8125rem; }
  .peta-palet { padding: .4rem; gap: .35rem; }
  .peta-palet-judul, .peta-palet-hint { display: none; }
  .peta-palet-jenis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
  button.peta-jenis, button.peta-tengah { padding: .3rem .45rem; font-size: .8125rem; line-height: 1.25; }
  button.peta-tengah { grid-column: auto; }
  .peta-mode-tambah #peta-gambar-jalur, .peta-mode-tambah #peta-gambar-area, .peta-mode-tambah #peta-alat-toggle { display: none; }
  .peta-pandu button { align-self: center; }
  .peta-bar button { flex: 1 1 20%; }
  .peta-bar #peta-kirim { flex: 2 1 44%; }
  .peta-kendali { flex-direction: column; align-items: flex-end; }
}

/* Formulir kegiatan: jam dan dampak lalu lintas dikelompokkan; pilihan dampak baku berupa tombol. */
.isian-grup { margin: 0; padding: .9rem 0 0; border: 0; border-top: 1px solid var(--garis, #e3e6ec); display: grid; gap: .75rem; min-width: 0; }
.isian-grup > legend { padding: 0; font-weight: 600; float: left; width: 100%; margin-bottom: .1rem; }
.isian-grup > legend + * { clear: both; }
.isian-grup .hint { margin: 0; }
.pilihan-baku { display: flex; flex-wrap: wrap; gap: .5rem; }
.pilihan-baku button { flex: 1 1 12rem; min-height: 44px; justify-content: flex-start; text-align: left; font-weight: 500; }
.pilihan-baku button[aria-pressed="true"] { border-color: var(--aksen, #1f3a6e); box-shadow: inset 0 0 0 2px var(--aksen, #1f3a6e); background: var(--aksen-lembut, #eef2f9); font-weight: 700; }
textarea[name="dampak"] { width: 100%; resize: vertical; }
input[type="time"] { width: 100%; min-width: 0; display: block; }
#jenis-usul[hidden] { display: none; }
.sel-tugas.sel-kurang { color: #8a4b00; font-weight: 600; }
.flyer-pratinjau img:not([src]) { display: none; }
.flyer-pratinjau:has(img:not([src])) { grid-template-columns: minmax(0, 1fr); }

/* Editor peta: lambang pilihan titik dan gambar titik. */
/* Dua kelas: leaflet.css (.leaflet-marker-icon { display: block }) setara satu kelas dan bisa menang urutan,
   sehingga lambang menempel di kiri atas pin. */
.leaflet-marker-icon.peta-titik, .peta-titik { display: flex; align-items: center; justify-content: center; color: #fff; }
.peta-titik svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.peta-tanda.ber-ikon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: #fff; }
.peta-tanda.ber-ikon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.peta-ikon > summary b { margin-left: .35rem; }
.peta-ikon .hint { margin: 0 0 .5rem; }
.peta-ikon-pilihan { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .4rem; padding-bottom: .5rem; }
button.peta-ikon-tombol { justify-content: flex-start; gap: .5rem; padding: .4rem .55rem; font-weight: 500; text-align: left; line-height: 1.25; }
button.peta-ikon-tombol svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
button.peta-ikon-tombol[aria-pressed="true"] { border-color: #1f3a6e; box-shadow: inset 0 0 0 2px #1f3a6e; background: #eef2f9; font-weight: 700; }
.peta-ikon-bawaan { flex: none; width: 18px; height: 18px; margin: 2px; border-radius: 50%; border: 2px dashed #5b6472; }
.peta-gambar .flyer-pratinjau { margin-top: .5rem; }
.flyer-pratinjau[hidden] { display: none; }

/* Dua tujuan publikasi peta acara: microsite dan Google My Maps. */
.tujuan-peta { margin: 0 0 1rem; padding: .75rem 0 0; border-top: 1px solid #e3e6ec; }
.tujuan-peta h4 { margin: 0 0 .35rem; font-size: 1rem; }
.tujuan-peta .form-actions { align-items: center; }
.tautan-luar { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .25rem; color: #0b5fa5; font-weight: 600; }
.panduan-mymaps { margin-top: .5rem; }
.panduan-mymaps > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: #0b5fa5; }
.panduan-mymaps > summary:focus-visible { outline: 3px solid #0b5fa5; outline-offset: 2px; }
.panduan-mymaps ol { margin: .25rem 0 .75rem; padding-left: 1.25rem; }
.panduan-mymaps li { margin: .25rem 0; }
#mymaps-ringkas:empty { display: none; }
