/* SPASIGO — tata letak: peta penuh layar; HP = lembar bawah + tab bar, tablet lanskap/PC = rel + panel samping. */
/* Tema SPASICO: krem #FFFAE6, koral #C75757, oker #BE9A07 */
:root {
  --bg: #f6eedb;          /* krem lebih tua sebagai dasar */
  --surface: #fffcf2;
  --surface-2: #fbf4e1;
  --surface-3: #f1e6ca;
  --ink: #2f2422;
  --ink-2: #4e3f3b;
  --muted: #7a6a60;
  --line: #eadfc3;
  --line-2: #d6c5a0;
  --accent: #b94d4d;      /* koral SPASICO, sedikit lebih gelap agar teks putih terbaca */
  --accent-ink: #ffffff;
  --accent-soft: #f6dcd5;
  --brand-coral: #c75757;
  --brand-ochre: #be9a07;
  --brand-cream: #fffae6;
  --gps: #1769d4;
  --ok: #2c7a4b;
  --ok-soft: #dcefdc;
  --warn: #866a00;
  --warn-soft: #f6ebc2;
  --bad: #b8322f;
  --bad-soft: #f8dcd6;
  --map-bg: #efe6cd;
  --scrim: rgba(47, 36, 34, .42);
  --shadow: 0 1px 2px rgba(60, 40, 30, .10), 0 8px 24px rgba(60, 40, 30, .14);
  --shadow-sm: 0 1px 2px rgba(60, 40, 30, .12), 0 2px 8px rgba(60, 40, 30, .08);
  --f-ui: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r: 12px; --r-sm: 8px; --tap: 44px;
  --rail-w: 76px; --panel-w: 392px; --tab-h: 62px;
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px); --sar: env(safe-area-inset-right, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1b1614; --surface: #241d1b; --surface-2: #2c2421; --surface-3: #372d29; --ink: #f7efe0; --ink-2: #e2d5c3; --muted: #ab9b8b;
    --line: #3d322d; --line-2: #54463e; --accent: #e8807c; --accent-ink: #2a1010; --accent-soft: #4a2524; --gps: #5b9dff;
    --brand-coral: #e8807c; --brand-ochre: #d9b53a;
    --ok: #63cf8f; --ok-soft: #183424; --warn: #e3bf45; --warn-soft: #3b3010; --bad: #ff7f7f; --bad-soft: #3f1a1a; --map-bg: #26201c;
    --scrim: rgba(0, 0, 0, .55); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .45); --shadow-sm: 0 1px 3px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #1b1614; --surface: #241d1b; --surface-2: #2c2421; --surface-3: #372d29; --ink: #f7efe0; --ink-2: #e2d5c3; --muted: #ab9b8b;
    --line: #3d322d; --line-2: #54463e; --accent: #e8807c; --accent-ink: #2a1010; --accent-soft: #4a2524; --gps: #5b9dff;
    --brand-coral: #e8807c; --brand-ochre: #d9b53a;
    --ok: #63cf8f; --ok-soft: #183424; --warn: #e3bf45; --warn-soft: #3b3010; --bad: #ff7f7f; --bad-soft: #3f1a1a; --map-bg: #26201c;
    --scrim: rgba(0, 0, 0, .55); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .45); --shadow-sm: 0 1px 3px rgba(0, 0, 0, .5);
    color-scheme: dark;
}
/* Mode Lapangan: kontras maksimum untuk terik matahari */
:root[data-contrast="high"] {
  --bg: #ffffff; --surface: #ffffff; --surface-2: #ffffff; --surface-3: #eeeeee; --ink: #000000; --ink-2: #000000; --muted: #2b2b2b;
  --line: #000000; --line-2: #000000; --accent: #9e3434; --accent-ink: #ffffff; --accent-soft: #fbe0dc; --gps: #0046b8; color-scheme: light;
}
:root[data-contrast="high"] .btn, :root[data-contrast="high"] .ctrl, :root[data-contrast="high"] .card, :root[data-contrast="high"] .panel { border-width: 2px; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; overflow: hidden; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-ui); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.i { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.i.sm { width: 18px; height: 18px; }
.mono, .num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Kerangka ---------- */
.app { position: fixed; inset: 0; }
.stage { position: absolute; left: 0; right: 0; top: 0; bottom: calc(var(--tab-h) + var(--sab)); background: var(--map-bg); }
#map { position: absolute; inset: 0; background: var(--map-bg); z-index: 0; isolation: isolate; }
.rail { display: none; }
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--tab-h) + var(--sab)); z-index: 900;
  padding: 0 max(6px, var(--sar)) var(--sab) max(6px, var(--sal));
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: var(--surface); border-top: 1px solid var(--line);
}
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 100%; border: 0; background: none; color: var(--muted); font-size: 11.5px; font-weight: 600; font-stretch: 90%; letter-spacing: .01em; }
.tab[aria-current="true"] { color: var(--ink); }
.tab[aria-current="true"] .i { stroke: var(--accent); stroke-width: 2.2; }
.tab-fab { justify-self: center; width: 58px; height: 58px; border-radius: 18px; border: 0; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: var(--shadow); transform: translateY(-14px); }
.tab-fab .i { width: 28px; height: 28px; stroke-width: 2.4; }
.badge-dot { position: absolute; transform: translate(12px, -10px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 10.5px; font-weight: 700; display: grid; place-items: center; font-family: var(--f-mono); }
.tab .ico-wrap { position: relative; display: grid; place-items: center; }

/* Panel: lembar bawah di HP */
.panel {
  position: absolute; left: 0; right: 0; bottom: calc(var(--tab-h) + var(--sab)); z-index: 800;
  height: var(--sheet-h, 52%); max-height: calc(100% - var(--tab-h) - var(--sab) - var(--sat) - 8px);
  display: flex; flex-direction: column; background: var(--surface); border-radius: 18px 18px 0 0;
  box-shadow: 0 -6px 30px rgba(10, 20, 15, .18); transition: height .26s cubic-bezier(.2, .8, .2, 1), transform .26s cubic-bezier(.2, .8, .2, 1);
}
.panel[data-sheet="closed"] { transform: translateY(110%); }
.panel[data-sheet="full"] { --sheet-h: 100%; }
.panel.dragging { transition: none; }
.sheet-handle { flex: none; height: 22px; display: grid; place-items: center; touch-action: none; cursor: grab; }
.sheet-handle span { width: 42px; height: 5px; border-radius: 3px; background: var(--line-2); }
.panel-head { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 max(12px, var(--sar)) 10px max(16px, var(--sal)); border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; flex: 1; min-width: 0; font-size: 19px; font-weight: 760; font-stretch: 108%; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 14px max(16px, var(--sar)) 28px max(16px, var(--sal)); }

@media (min-width: 900px) {
  .app { display: grid; grid-template-columns: var(--rail-w) var(--panel-w) 1fr; }
  .app.panel-collapsed { grid-template-columns: var(--rail-w) 0 1fr; }
  .tabbar { display: none; }
  .rail {
    display: flex; flex-direction: column; align-items: center; gap: 4px; z-index: 900;
    padding: calc(12px + var(--sat)) 0 calc(12px + var(--sab)) var(--sal); background: var(--surface); border-right: 1px solid var(--line);
  }
  .rail .brand { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 10px; background: var(--ink); color: var(--bg); }
  .rail .tab { height: 62px; width: 66px; border-radius: 12px; flex: none; }
  .rail .tab:hover { background: var(--surface-2); color: var(--ink); }
  .rail .tab[aria-current="true"] { background: var(--accent-soft); }
  .rail .spacer { flex: 1; }
  .panel { position: relative; inset: auto; height: auto; max-height: none; border-radius: 0; box-shadow: none; border-right: 1px solid var(--line); transform: none !important; min-width: 0; overflow: hidden; padding-top: var(--sat); }
  .app.panel-collapsed .panel { visibility: hidden; }
  .sheet-handle { display: none; }
  .panel-head { padding: 16px 12px 14px 20px; }
  .panel-body { padding: 16px 20px 32px; }
  .stage { position: relative; inset: auto; bottom: auto; height: 100%; }
}

/* ---------- Kontrol peta ---------- */
.topbar { position: absolute; z-index: 700; top: calc(10px + var(--sat)); left: max(10px, var(--sal)); right: calc(66px + var(--sar)); display: flex; gap: 8px; align-items: center; pointer-events: none; }
.topbar > * { pointer-events: auto; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 10px; border-radius: 21px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); font-weight: 650; font-stretch: 94%; max-width: 100%; min-width: 0; }
.chip-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip-btn .proj-mark { width: 24px; height: 24px; border-radius: 7px; background: var(--ink); color: var(--bg); display: grid; place-items: center; flex: none; }
.ctrl-col { position: absolute; z-index: 700; top: calc(10px + var(--sat)); right: max(10px, var(--sar)); display: flex; flex-direction: column; gap: 8px; }
.ctrl { width: var(--tap); height: var(--tap); border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); position: relative; }
.ctrl:hover { background: var(--surface-2); }
.ctrl[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ctrl.gps-on { color: var(--gps); }
.ctrl.gps-follow { background: var(--gps); color: #fff; border-color: var(--gps); }
.ctrl.rec { background: var(--bad); color: #fff; border-color: var(--bad); }
.ctrl-group { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.ctrl-group .ctrl { border: 0; border-radius: 0; box-shadow: none; }
.ctrl-group .ctrl + .ctrl { border-top: 1px solid var(--line); }
.desktop-only { display: none !important; }
@media (min-width: 900px) { .desktop-only { display: flex !important; } .mobile-only { display: none !important; } }

.status {
  position: absolute; text-align: left; cursor: pointer; z-index: 650; left: max(10px, var(--sal)); bottom: 10px; max-width: calc(100% - 20px - var(--sal) - var(--sar));
  display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(6px); box-shadow: var(--shadow-sm);
  font-family: var(--f-mono); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden;
}
.status .src { font-family: var(--f-ui); font-weight: 700; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-stretch: 88%; }
.status .src.gps { color: var(--gps); }
.status .acc { color: var(--muted); }
.status .acc.bad { color: var(--bad); }
.status .coord { overflow: hidden; text-overflow: ellipsis; }
.leaflet-bottom.leaflet-left .leaflet-control-scale { margin-left: max(10px, var(--sal)); margin-bottom: 52px; }
.leaflet-control-scale-line { background: color-mix(in srgb, var(--surface) 80%, transparent); color: var(--ink); border-color: var(--ink); font-family: var(--f-mono); font-size: 11px; }
.leaflet-control-attribution { font-size: 10px; background: color-mix(in srgb, var(--surface) 75%, transparent) !important; color: var(--muted); }
.leaflet-control-attribution a { color: var(--muted); }
.leaflet-container { font-family: var(--f-ui); background: var(--map-bg); }
.fab-desk { position: absolute; z-index: 700; right: max(14px, var(--sar)); bottom: 14px; height: 54px; padding: 0 22px 0 16px; border-radius: 16px; border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 750; font-stretch: 104%; font-size: 16px; display: none; align-items: center; gap: 8px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .fab-desk { display: inline-flex; } }

.crosshair { position: absolute; z-index: 640; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; pointer-events: none; }
.crosshair svg { width: 100%; height: 100%; overflow: visible; }
.crosshair .xh-o { stroke: #fff; stroke-width: 5; fill: none; }
.crosshair .xh-i { stroke: var(--accent); stroke-width: 2; fill: none; }

.banner { position: absolute; z-index: 660; left: 50%; transform: translateX(-50%); top: calc(60px + var(--sat)); display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 600; max-width: calc(100% - 140px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.banner .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; }
.banner.off .dot { background: var(--warn); }
.navbar { position: absolute; z-index: 720; left: max(10px, var(--sal)); right: calc(66px + var(--sar)); top: calc(60px + var(--sat)); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border-radius: 14px; background: var(--ink); color: var(--bg); box-shadow: var(--shadow); }
.navbar .arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.navbar .nb-main { flex: 1; min-width: 0; }
.navbar .nb-dist { font-family: var(--f-mono); font-size: 20px; font-weight: 600; line-height: 1.1; }
.navbar .nb-sub { font-size: 12.5px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.navbar button { border: 0; background: transparent; color: inherit; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }

/* Kartu mengambang (alat, fitur) */
.float-card { position: absolute; z-index: 760; left: max(10px, var(--sal)); right: max(10px, var(--sar)); bottom: 52px; max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 12px 12px 14px; }
@media (min-width: 900px) { .float-card { left: 16px; right: auto; width: 460px; margin: 0; bottom: 56px; } }
.fc-head { display: flex; align-items: flex-start; gap: 10px; }
.fc-title { flex: 1; min-width: 0; }
.fc-title h3 { margin: 0; font-size: 16.5px; font-weight: 740; line-height: 1.25; text-wrap: balance; overflow-wrap: anywhere; }
.fc-title .sub { font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 2px; }
.fc-stats { display: flex; gap: 18px; flex-wrap: wrap; margin: 10px 0 2px; }
.stat { min-width: 0; }
.stat b { display: block; font-family: var(--f-mono); font-weight: 600; font-size: 19px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; font-stretch: 88%; }
.fc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.fc-attrs { margin: 10px 0 0; display: grid; grid-template-columns: minmax(90px, auto) 1fr; gap: 4px 12px; font-size: 13.5px; max-height: 160px; overflow: auto; }
.fc-attrs dt { color: var(--muted); }
.fc-attrs dd { margin: 0; overflow-wrap: anywhere; }
.photo-strip { display: flex; gap: 6px; overflow-x: auto; margin-top: 10px; }
.photo-strip img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); flex: none; cursor: zoom-in; }

/* ---------- Komponen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: var(--tap); padding: 0 14px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 650; font-stretch: 96%; font-size: 14.5px; white-space: nowrap; }
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.danger { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, var(--line)); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.sm { min-height: 36px; padding: 0 11px; font-size: 13.5px; border-radius: 9px; }
.btn.icon { width: var(--tap); padding: 0; }
.btn.sm.icon { width: 36px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row > .fld.grow { flex: 1 1 110px; }
.grow { flex: 1; min-width: 0; }
.sec { margin: 0 0 22px; }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; }
.sec-h h3, .label-caps { margin: 0; font-size: 11.5px; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-stretch: 88%; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; min-height: 58px; border: 0; background: transparent; text-align: left; width: 100%; }
.li + .li { border-top: 1px solid var(--line); }
button.li:hover, .li.clickable:hover { background: var(--surface-2); }
.li .main { flex: 1; min-width: 0; }
.li .t { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li .s { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.geo-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; color: #fff; }
.geo-ic .i { width: 19px; height: 19px; stroke-width: 2.2; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 11.5px; font-weight: 700; font-stretch: 92%; white-space: nowrap; background: var(--surface-3); color: var(--ink-2); }
.pill.draft { background: var(--warn-soft); color: var(--warn); }
.pill.done { background: var(--ok-soft); color: var(--ok); }
.pill.out { background: var(--accent-soft); color: var(--accent); }
.pill.exp { background: var(--surface-3); color: var(--muted); }
.seg { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--surface-3); gap: 2px; max-width: 100%; overflow-x: auto; }
.seg button { border: 0; background: transparent; min-height: 36px; padding: 0 12px; border-radius: 8px; font-weight: 650; font-size: 13.5px; font-stretch: 94%; color: var(--ink-2); white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.seg.block { display: flex; }
.seg.block button { flex: 1; }
.switch { position: relative; width: 46px; height: 28px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 14px; background: var(--line-2); transition: background .15s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s; }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }
input[type=range] { accent-color: var(--accent); width: 100%; }
.empty { text-align: center; padding: 28px 16px; border: 1.5px dashed var(--line-2); border-radius: var(--r); color: var(--muted); }
.empty h4 { margin: 8px 0 4px; color: var(--ink); font-size: 16px; }
.empty p { margin: 0 0 14px; font-size: 13.5px; }
.contour-art { width: 64px; height: 48px; color: var(--accent); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-family: var(--f-mono); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.big-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.big-stats .card { padding: 12px 14px; }
.big-stats b { display: block; font-family: var(--f-mono); font-size: 24px; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.big-stats small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-stretch: 88%; }
.hint { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.note-box { padding: 10px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.note-box.warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); }

/* Kartu peta (pustaka) */
.map-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.map-card { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 10px; align-items: start; }
.map-card .thumb { width: 92px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--surface-3); border: 1px solid var(--line); position: relative; cursor: pointer; padding: 0; }
.map-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-card .thumb .here { position: absolute; left: 6px; bottom: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gps); border: 2px solid #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--gps) 35%, transparent); }
.map-card .mt { font-weight: 700; overflow-wrap: anywhere; line-height: 1.25; }
.map-card .ms { font-size: 12.5px; color: var(--muted); margin-top: 2px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.map-card .mrow { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.map-card .op { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); min-width: 0; }

/* ---------- Modal ---------- */
.modal-back { position: fixed; inset: 0; z-index: 2000; background: var(--scrim); display: flex; align-items: flex-end; justify-content: center; animation: fade .18s ease-out; }
.modal { width: 100%; max-height: calc(100% - var(--sat) - 18px); display: flex; flex-direction: column; background: var(--surface); border-radius: 20px 20px 0 0; box-shadow: var(--shadow); animation: up .24s cubic-bezier(.2, .8, .2, 1); }
.modal.tall { height: calc(100% - var(--sat) - 18px); }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 14px max(10px, var(--sar)) 12px max(18px, var(--sal)); border-bottom: 1px solid var(--line); flex: none; }
.modal-head h2 { flex: 1; min-width: 0; margin: 0; font-size: 18px; font-weight: 760; font-stretch: 106%; line-height: 1.2; text-wrap: balance; }
.modal-head .sub { font-size: 12.5px; color: var(--muted); font-weight: 500; font-stretch: 100%; display: block; margin-top: 2px; }
.modal-body { flex: 1; min-height: 0; overflow: auto; padding: 16px max(18px, var(--sar)) 22px max(18px, var(--sal)); overscroll-behavior: contain; }
.modal-foot { flex: none; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; padding: 12px max(14px, var(--sar)) calc(12px + var(--sab)) max(14px, var(--sal)); border-top: 1px solid var(--line); background: var(--surface); }
.modal-foot .btn { flex: 1 1 auto; }
@media (min-width: 640px) {
  .modal-back { align-items: center; padding: 24px; }
  .modal { width: min(580px, 100%); max-height: min(88vh, 900px); border-radius: 18px; }
  .modal.wide { width: min(760px, 100%); }
  .modal.tall { height: auto; }
  .modal-foot { padding-bottom: 12px; }
  .modal-foot .btn { flex: 0 0 auto; }
}
@keyframes up { from { transform: translateY(40px); opacity: .6; } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Formulir ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld > label, .fld > .lbl { font-weight: 650; font-size: 14.5px; }
.fld .req { color: var(--accent); margin-left: 3px; }
.fld .hint { margin: -2px 0 0; }
.fld .err { color: var(--bad); font-size: 12.5px; font-weight: 600; display: none; }
.fld.invalid .err { display: block; }
.fld.invalid .inp { border-color: var(--bad); }
.inp { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--surface); font-size: 16px; }
.inp:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.inp { min-height: 88px; resize: vertical; }
select.inp { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border-radius: 21px; border: 1.5px solid var(--line-2); font-weight: 600; font-size: 14px; background: var(--surface); }
.choice input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.stars { display: flex; gap: 4px; }
.stars label { cursor: pointer; }
.stars input { position: absolute; opacity: 0; }
.stars svg { width: 34px; height: 34px; stroke: var(--line-2); stroke-width: 1.6; fill: var(--surface-3); }
.stars label.lit svg { fill: #f2a50c; stroke: #c98400; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.photos .ph { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-3); max-width: 100%; }
.photos .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photos .ph button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; display: grid; place-items: center; }
.photos .add { aspect-ratio: 1; border-radius: 10px; border: 1.5px dashed var(--line-2); background: var(--surface-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.sig-prev { height: 110px; border-radius: 10px; border: 1.5px dashed var(--line-2); background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.sig-prev img { max-height: 100%; background: #fff; }
.sig-pad { width: 100%; height: 240px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; touch-action: none; display: block; }
.geo-box { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.geo-box .main { flex: 1; min-width: 0; font-size: 13px; }
.geo-box .main b { display: block; font-family: var(--f-mono); font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.form-sec { padding-top: 6px; border-top: 2px solid var(--ink); margin-top: 4px; }
.form-sec:first-child, .geo-box + .form-sec { border-top: 0; padding-top: 0; }
.form-sec h3 { margin: 4px 0 0; font-size: 13px; font-weight: 780; text-transform: uppercase; letter-spacing: .08em; font-stretch: 92%; color: var(--ink); }
.inp.calc { background: var(--surface-2); border-style: dashed; font-family: var(--f-mono); font-size: 15px; color: var(--ink-2); }
.form-note { padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--surface-2); border-radius: 0 10px 10px 0; font-size: 14px; }

/* Perancang formulir */
.fb-list .li { min-height: 54px; }
.fb-type { font-size: 12px; color: var(--muted); }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatches button { width: 38px; height: 38px; border-radius: 50%; border: 3px solid transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .65); }
.swatches button[aria-pressed="true"] { border-color: var(--ink); }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 8px; }
.tpl { text-align: left; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 4px; }
.tpl[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.tpl b { font-size: 14.5px; }
.tpl small { color: var(--muted); font-size: 12.5px; }

/* ---------- Toast ---------- */
.toasts { position: fixed; z-index: 3000; left: 50%; transform: translateX(-50%); top: calc(var(--sat) + 60px); display: flex; flex-direction: column; gap: 8px; width: min(520px, calc(100% - 24px)); pointer-events: none; }
@media (min-width: 900px) { .toasts { top: 16px; left: calc(50% + (var(--rail-w) + var(--panel-w)) / 2); } }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); box-shadow: var(--shadow); font-size: 14px; animation: up .2s ease-out; }
.toast .msg { flex: 1; min-width: 0; }
.toast button { border: 0; background: transparent; color: var(--accent); font-weight: 750; padding: 6px 8px; border-radius: 8px; }
:root[data-theme="dark"] .toast button { color: var(--accent); }
.progress { height: 4px; border-radius: 2px; background: var(--surface-3); overflow: hidden; margin-top: 10px; }
.progress span { display: block; height: 100%; background: var(--accent); width: 0; transition: width .2s; }

/* ---------- Lapisan peta (Leaflet) ---------- */
.lp-affine { position: absolute; left: 0; top: 0; transform-origin: 0 0; max-width: none !important; image-rendering: auto; pointer-events: none; user-select: none; }
.gps-marker { position: relative; width: 22px; height: 22px; }
.gps-marker .dot { position: absolute; inset: 3px; border-radius: 50%; background: var(--gps); border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 2px 6px rgba(0, 0, 0, .35); }
.gps-marker .cone { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-origin: 0 0; }
.gps-marker .cone::before { content: ""; position: absolute; left: -22px; top: -46px; width: 44px; height: 46px; background: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--gps) 55%, transparent), transparent 70%); clip-path: polygon(50% 100%, 0 0, 100% 0); }
.gps-marker.sim .dot { background: #8a5cf6; }
.lp-label { background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line); color: var(--ink); font-family: var(--f-ui); font-weight: 650; font-size: 11.5px; padding: 1px 6px; border-radius: 6px; box-shadow: none; }
.lp-label::before { display: none; }
.vx-handle { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.vx-handle.move { width: 40px; height: 40px; background: var(--ink); display: grid; place-items: center; color: var(--bg); }
.goto-pin { width: 30px; height: 40px; }
.compass-dial { width: 180px; height: 180px; margin: 6px auto 0; position: relative; }
.compass-dial svg { width: 100%; height: 100%; transition: transform .2s linear; }
.grid-canvas { position: absolute; left: 0; top: 0; pointer-events: none; }
.leaflet-tooltip.lp-label { white-space: nowrap; }

/* Tabel titik batas */
.tb-wrap { max-height: 260px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.tb { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: 13px; }
.tb th { position: sticky; top: 0; background: var(--surface-3); color: var(--ink-2); font-family: var(--f-ui); font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; text-align: left; padding: 7px 10px; }
.tb td { padding: 5px 10px; border-top: 1px solid var(--line); }
.tb td:first-child, .tb th:first-child { width: 48px; text-align: right; color: var(--muted); }
/* Kesepakatan batas */
.sp-list { display: flex; flex-direction: column; gap: 6px; }
.sp-head, .sp-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) 84px 36px; gap: 6px; align-items: center; }
.sp-head { font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-stretch: 90%; padding: 0 2px; }
.sp-row .inp { min-height: 42px; padding: 8px 10px; }
.sp-ttd { width: 84px; height: 42px; padding: 0 6px; gap: 4px; }
.sp-ttd.has { background: #fff; border-color: var(--ok); padding: 2px; }
.sp-ttd img { max-width: 100%; max-height: 100%; display: block; }
@media (max-width: 380px) { .sp-head, .sp-row { grid-template-columns: 58px minmax(0, 1fr) 64px 32px; } .sp-ttd { width: 64px; } .sp-ttd span { display: none; } }
.inp.up { text-transform: uppercase; }
.inp.up::placeholder { text-transform: none; }
/* Tombol ubah pertanyaan di kepala formulir */
.mh-edit span { display: none; }
@media (min-width: 520px) { .mh-edit span { display: inline; } }
/* Perancang formulir */
.fb-row { gap: 4px; padding-right: 6px; }
.fb-main { border: 0; background: none; text-align: left; padding: 4px 6px 4px 0; cursor: pointer; border-radius: 8px; min-height: 44px; }
.fb-main:hover .t { color: var(--accent); }
.fb-sec { text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; }
.btn.icon.danger { color: var(--bad); }

/* Saat dialog terbuka, notifikasi pindah ke bawah agar tidak menutupi kepala formulir */
body:has(.modal-back) .toasts { top: auto; bottom: calc(84px + var(--sab)); }

/* Kartu templat dengan tombol ubah */
.tpl-wrap { position: relative; min-width: 0; display: flex; }
.tpl-wrap .tpl { flex: 1; min-width: 0; padding-right: 46px; }
.tpl-edit { position: absolute; top: 6px; right: 6px; }

/* Menu peta dasar */
.bm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 8px; margin-bottom: 16px; }
.bm-tile { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 6px 6px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); min-width: 0; }
.bm-tile[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.bm-tile b { font-size: 14px; padding: 4px 4px 0; overflow-wrap: anywhere; }
.bm-tile small { font-size: 12px; color: var(--muted); padding: 0 4px; }
.bm-thumb { position: relative; display: block; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 8px; overflow: hidden; background: var(--surface-3); }
.bm-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.bm-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }

.photos .ph-geo { position: absolute; left: 4px; bottom: 4px; display: inline-flex; align-items: center; gap: 2px; padding: 1px 6px 1px 3px; border-radius: 10px; background: rgba(0,0,0,.62); color: #fff; font: 600 11px var(--f-mono); }
.photos .ph-geo .i { width: 13px; height: 13px; stroke: #ff9a5c; }

/* ---------- Layar pembuka SPASIGO ---------- */
.splash {
  position: fixed; inset: 0; z-index: 5000; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(24px + var(--sat)) max(16px, var(--sar)) calc(20px + var(--sab)) max(16px, var(--sal));
  background: #fffae6; color: #4a3633; text-align: center; cursor: pointer; outline: none; overflow-y: auto;
  transition: opacity .35s ease, visibility .35s;
}
.splash.out { opacity: 0; visibility: hidden; }
.splash-inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; max-width: 34rem; min-height: min-content; }
.splash-logo { width: clamp(128px, 27vmin, 230px); aspect-ratio: 1; max-width: 100%; border-radius: 50%; background: #ffffff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 3px #be9a07, 0 14px 40px rgba(120, 80, 40, .22); animation: splashIn .7s cubic-bezier(.2, .8, .2, 1) both; }
.splash-logo img { width: 100%; height: 100%; object-fit: contain; }
.splash-title { margin: 22px 0 0; font-family: var(--f-ui); font-weight: 800; font-stretch: 112%; font-size: clamp(32px, 7.4vmin, 66px); letter-spacing: .06em; line-height: 1.05; color: #c75757; }
.splash-tag { margin: 12px 0 0; font-size: clamp(19px, 3.7vmin, 32px); line-height: 1.3; color: #8a6d00; font-weight: 600; }
.splash-sub { margin: 12px 0 0; font-size: clamp(13px, 2.1vmin, 18px); color: #6b4c47; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; font-stretch: 94%; }
.splash-by { margin-top: clamp(28px, 5vmin, 48px); display: flex; flex-direction: column; gap: 4px; font-size: clamp(15px, 2.2vmin, 19px); color: #5a4440; }
.splash-by p { margin: 0; }
.splash-by b { font-weight: 800; letter-spacing: .05em; color: #c75757; }
.splash-motto { font-size: clamp(13.5px, 1.9vmin, 17px); color: #7a625c; max-width: 36ch; margin: 0 auto !important; text-wrap: balance; line-height: 1.45; }
.splash-tap { flex: none; margin: 24px 0 0; font-size: clamp(15px, 2vmin, 18px); color: #8a6f66; animation: splashPulse 2.2s ease-in-out infinite; }
@keyframes splashIn { from { transform: scale(.86); opacity: 0; } }
@keyframes splashPulse { 50% { opacity: .45; } }
.rail .brand { background: #ffffff !important; overflow: hidden; border-radius: 50% !important; box-shadow: 0 0 0 1px var(--line); }
.rail .brand img { width: 100%; height: 100%; object-fit: contain; }
.about-card { display: flex; align-items: center; gap: 12px; padding: 12px; }
.about-card img { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid var(--line); flex: none; object-fit: contain; }

.splash-decor { position: absolute; width: clamp(84px, 22vmin, 210px); aspect-ratio: 1; max-width: 40%; pointer-events: none; opacity: .95; }
.splash-decor.tr { top: calc(14px + var(--sat)); right: max(14px, var(--sar)); }
.splash-decor.bl { bottom: calc(14px + var(--sab)); left: max(14px, var(--sal)); transform: rotate(180deg); opacity: .55; }
.splash-inner, .splash-tap { position: relative; z-index: 1; }

/* ---------- Layar instal (HP) ---------- */
.install-gate {
  position: fixed; inset: 0; z-index: 1500; overflow-y: auto; -webkit-overflow-scrolling: touch;
  display: flex; justify-content: center; align-items: flex-start;
  padding: calc(28px + var(--sat)) max(18px, var(--sar)) calc(28px + var(--sab)) max(18px, var(--sal));
  background: #fffae6 url(../icons/kontur.png) no-repeat right -36px top -36px / 150px auto; color: #4a3633;
  animation: fade .25s ease-out; outline: none;
}
.ig-inner { width: 100%; max-width: 26rem; display: flex; flex-direction: column; align-items: center; text-align: center; margin: auto 0; }
.ig-icon { width: 92px; height: 92px; border-radius: 24px; background: #fff; object-fit: contain; box-shadow: 0 0 0 2px #be9a07, 0 10px 28px rgba(120, 80, 40, .2); }
.install-gate h1 { margin: 18px 0 0; font-weight: 800; font-stretch: 110%; font-size: 26px; letter-spacing: .03em; color: #c75757; line-height: 1.15; }
.ig-lead { margin: 8px 0 0; font-size: 16px; color: #5a4440; text-wrap: balance; }
.ig-why { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; width: 100%; text-align: left; }
.ig-why li { position: relative; padding: 0 0 0 30px; font-size: 15px; line-height: 1.4; color: #4a3633; }
.ig-why li::before { content: ""; position: absolute; left: 4px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #be9a07 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.ig-card { width: 100%; margin-top: 20px; padding: 18px 16px; border-radius: 18px; background: #ffffff; border: 1px solid #ecdcb8; box-shadow: 0 6px 22px rgba(120, 80, 40, .1); text-align: left; font-size: 15px; line-height: 1.45; }
.ig-card > b:first-child { display: block; font-size: 16.5px; color: #2f2422; margin-bottom: 8px; }
.ig-card p { margin: 6px 0 0; }
.ig-card ol { margin: 0; padding: 0 0 0 22px; display: grid; gap: 9px; }
.ig-card ol li::marker { font-weight: 800; color: #c75757; }
.ig-card .ig-small, .ig-small { font-size: 13.5px; color: #7a625c; margin-top: 10px; }
.ig-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 0 20px; border: 0; border-radius: 16px; background: #b94d4d; color: #fff; font: inherit; font-weight: 800; font-size: 17px; letter-spacing: .06em; text-decoration: none; cursor: pointer; box-shadow: 0 8px 20px rgba(185, 77, 77, .32); }
.ig-btn .i { stroke: #fff; }
.ig-btn:active { transform: translateY(1px); }
.ig-btn.ig-alt { background: #fff; color: #b94d4d; border: 2px solid #b94d4d; box-shadow: none; min-height: 50px; font-size: 15.5px; }
.ig-card[data-platform="android"] .ig-btn + .ig-small { text-align: center; }
.ig-row { display: grid; gap: 10px; margin-top: 14px; }
.ig-key { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 4px; border-radius: 6px; background: #f6eedb; border: 1px solid #ddc9a0; font-weight: 800; line-height: 1; vertical-align: -2px; }
.ig-share { display: inline-block; width: 20px; height: 20px; vertical-align: -4px; fill: none; stroke: #1c7ed6; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ig-note { margin: 16px 0 0; font-size: 14px; color: #6b4c47; }
.ig-bypass { margin-top: 14px; padding: 10px 12px; border: 0; background: none; color: #8a6f66; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ig-arrow { position: fixed; left: 50%; bottom: calc(6px + var(--sab)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; color: #1c7ed6; animation: igBounce 1.6s ease-in-out infinite; pointer-events: none; }
.ig-arrow .ig-share { width: 26px; height: 26px; }
.ig-arrow::after { content: ""; width: 0; height: 0; border: 9px solid transparent; border-top: 11px solid #1c7ed6; border-bottom: 0; }
@keyframes igBounce { 50% { transform: translate(-50%, 6px); } }
@media (prefers-reduced-motion: reduce) { .ig-arrow { animation: none; } }
@media (min-height: 760px) { .install-gate { align-items: center; } }
