.lm-view {
    --brand-orange: #F0532D;
    --brand-orange-soft: #FCE9E1;
    --brand-orange-deep: #C13E1D;
    --ink: #191919;
    --ink-2: #2D2D2D;
    --subhead: #616161;
    --grey: #808080;
    --grey-light: #EEEEEE;
    --grey-semi: #E3E3E3;
    --surface: #ffffff;
    --bg: #FAFAF7;
    --bg-warm: #F5F1EC;
    --ok: #14B86A;
    --warn: #E08A00;
    --danger: #D93B3B;
    --info: #2D6BD6;
    --r: 12px;
    --r-lg: 18px;

    height: calc(100vh - 110px);
    background: var(--bg);
    display: flex; flex-direction: column;
    color: var(--ink);
}

.lm-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 22px 8px;
}
.lm-header-left .lm-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: 0.1em; color: var(--subhead);
    font-weight: 800;
    display: inline-flex; align-items: center; gap: 8px;
}
.lm-header-left .lm-eyebrow .lm-live-dot {
    width: 8px; height: 8px; border-radius: 999px; background: var(--ok);
    box-shadow: 0 0 8px var(--ok);
    animation: lm-pulse 1.6s ease-in-out infinite;
}
@keyframes lm-pulse { 0%,100% { opacity: 1;} 50% { opacity: 0.5;} }
.lm-header-left h1 {
    margin: 4px 0 0;
    font-family: 'Rift Soft', 'Nexa', sans-serif;
    font-size: 28px; font-weight: 700; letter-spacing: -0.01em;
}
.lm-header-right { display: flex; gap: 8px; }

.lm-subnav {
    display: flex; gap: 4px;
    padding: 0 22px;
    border-bottom: 1px solid var(--grey-semi);
}
.lm-subnav a {
    padding: 10px 14px;
    font-size: 13px; font-weight: 700;
    color: var(--subhead);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.lm-subnav a:hover { color: var(--ink); text-decoration: none; }
.lm-subnav a.active {
    color: var(--brand-orange-deep);
    border-bottom-color: var(--brand-orange);
}

.lm-body {
    flex: 1; min-height: 0;
    padding: 14px 22px 22px;
    display: grid;
    grid-template-columns: 340px 1fr 360px;
    gap: 14px;
}
.lm-body.lm-body-drawerless { grid-template-columns: 340px 1fr; }
.lm-body.lm-body-replay { grid-template-columns: 1fr 340px; }
.lm-body.lm-body-dispatch { grid-template-columns: 1fr; }

.lm-panel {
    background: var(--surface);
    border: 1px solid var(--grey-semi);
    border-radius: var(--r-lg);
    display: flex; flex-direction: column;
    overflow: hidden;
    min-height: 0;
}
.lm-panel-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--grey-semi);
    flex-shrink: 0;
}
.lm-panel-head h3 {
    margin: 0;
    font-family: 'Nexa', sans-serif; font-weight: 900;
    font-size: 14px; letter-spacing: -0.01em;
}
.lm-panel-head .meta { font-size: 11px; color: var(--subhead); font-weight: 700; }
.lm-panel-body { padding: 12px; overflow-y: auto; flex: 1; min-height: 0; }
.lm-panel-body.flush { padding: 0; }

.lm-fleet-summary {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 12px;
    border-bottom: 1px solid var(--grey-semi);
}
.lm-fleet-summary .cell {
    padding: 8px 10px;
    background: var(--bg);
    border-radius: 10px;
    border: 1px solid var(--grey-semi);
}
.lm-fleet-summary .cell .lbl {
    font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--subhead); font-weight: 700;
}
.lm-fleet-summary .cell .val {
    font-family: 'Rift Soft', sans-serif; font-size: 22px; line-height: 1;
    margin-top: 6px;
}
.lm-fleet-summary .cell .delta { font-size: 10px; color: var(--ok); font-weight: 700; }
.lm-fleet-summary .cell .delta.down { color: var(--danger); }

.lm-tabs {
    display: flex; gap: 4px;
    padding: 8px 12px 0;
    border-bottom: 1px solid var(--grey-semi);
}
.lm-tab {
    padding: 8px 12px; font-size: 12px; font-weight: 700; color: var(--subhead);
    cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
    background: transparent; border: none;
}
.lm-tab:hover { color: var(--ink); }
.lm-tab.active { color: var(--ink); border-bottom: 2px solid var(--brand-orange); }

.lm-bike-list { padding: 4px; }
.lm-bike-row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.1s;
}
.lm-bike-row:hover { background: var(--bg); }
.lm-bike-row.selected { background: var(--brand-orange-soft); }
.lm-bike-row .av {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--bg-warm);
    display: grid; place-items: center;
    color: var(--ink-2);
    border: 1px solid var(--grey-semi);
    font-size: 16px;
}
.lm-bike-row .av.alert    { background: rgba(217,59,59,0.10);  border-color: var(--danger); color: var(--danger); }
.lm-bike-row .av.charging { background: rgba(45,107,214,0.08);  border-color: var(--info);   color: var(--info); }
.lm-bike-row .av.active   { background: rgba(20,184,106,0.08);  border-color: var(--ok);     color: var(--ok); }
.lm-bike-row .av.parked   { background: rgba(168,85,247,0.10);  border-color: #a855f7;       color: #7e22ce; }
.lm-bike-row .name { font-weight: 800; font-size: 13px; }
.lm-bike-row .meta { font-size: 11px; color: var(--subhead); margin-top: 2px; display: flex; gap: 8px; align-items: center; }
.lm-bike-row .right { text-align: right; }
.lm-bike-row .right .bat { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-2); font-weight: 700; }
.lm-bike-row .right .bat.low { color: var(--warn); }
.lm-bike-row .right .bat.crit { color: var(--danger); }
.lm-bike-row .right .time { font-size: 10px; color: var(--grey); margin-top: 2px; }

.lm-status-pill {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 8px; border-radius: 999px;
    font-size: 10px; font-weight: 800; letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--grey-light); color: var(--subhead);
}
.lm-status-pill.active { background: rgba(20,184,106,0.16); color: #0f8a4f; }
.lm-status-pill.parked { background: rgba(168,85,247,0.16); color: #7e22ce; }
.lm-status-pill.alert { background: rgba(217,59,59,0.16); color: var(--danger); }
.lm-status-pill.charging { background: rgba(45,107,214,0.16); color: var(--info); }
.lm-status-pill.offline { background: var(--grey-light); color: var(--grey); }

.lm-map-canvas {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--grey-semi);
    background: #f4f1ec;
    min-height: 100%;
}
.lm-map { position: absolute; inset: 0; width: 100%; height: 100%; }

.lm-overlay-tl, .lm-overlay-tr, .lm-overlay-bl, .lm-overlay-br {
    position: absolute; z-index: 10; pointer-events: none;
}
.lm-overlay-tl > *, .lm-overlay-tr > *, .lm-overlay-bl > *, .lm-overlay-br > * { pointer-events: auto; }
.lm-overlay-tl { top: 14px; left: 14px; }
.lm-overlay-tr { top: 14px; right: 14px; }
.lm-overlay-bl { bottom: 14px; left: 14px; }
.lm-overlay-br { bottom: 14px; right: 14px; }

/* Tuck MapLibre's attribution behind the NOW/LIVE card — legal text
 * stays reachable on hover, but the bottom-right pin is the time-card. */
.maplibregl-ctrl-bottom-right .maplibregl-ctrl-attrib { z-index: 1; opacity: 0.55; }
.maplibregl-ctrl-bottom-right .maplibregl-ctrl-attrib:hover { opacity: 1; }

.lm-search {
    background: var(--surface);
    border-radius: 999px;
    padding: 6px 14px;
    box-shadow: 0 6px 20px -8px rgba(0,0,0,0.25);
    display: flex; gap: 10px; align-items: center;
    min-width: 320px;
    font-size: 13px;
    border: 1px solid var(--grey-semi);
}
.lm-search input { border: 0; outline: 0; background: transparent; flex: 1; font-family: inherit; font-size: 13px; }
.lm-filters { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.lm-filter {
    background: var(--surface);
    border: 1px solid var(--grey-semi);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px; font-weight: 700;
    display: flex; gap: 6px; align-items: center;
    cursor: pointer; user-select: none;
}
.lm-filter .swatch { width: 8px; height: 8px; border-radius: 999px; }
.lm-filter.off { opacity: 0.5; }
.lm-filter:hover { border-color: var(--ink); }

.lm-tools {
    display: flex; flex-direction: column; gap: 6px;
    background: var(--surface);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 6px 20px -8px rgba(0,0,0,0.25);
    border: 1px solid var(--grey-semi);
}
.lm-tools .k-button { min-width: 36px !important; height: 36px !important; }

.lm-legend {
    background: var(--surface);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 6px 20px -8px rgba(0,0,0,0.25);
    border: 1px solid var(--grey-semi);
    font-size: 11px;
    min-width: 200px;
}
.lm-legend h5 {
    margin: 0 0 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--subhead); font-weight: 700;
}
.lm-legend-row { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.lm-legend-row .sw { width: 10px; height: 10px; border-radius: 999px; }
.lm-legend-row .label { flex: 1; color: var(--ink-2); font-weight: 700; font-size: 12px; }
.lm-legend-row .ct { color: var(--subhead); font-family: 'JetBrains Mono', monospace; font-size: 11px; }

.lm-time-card {
    background: var(--surface);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 8px 24px -8px rgba(0,0,0,0.3);
    border: 1px solid var(--grey-semi);
    display: flex; flex-direction: column; gap: 14px; align-items: stretch;
    justify-content: space-between;
    min-height: 168px;
    min-width: 168px;
}
.lm-time-card .k-icon-button { width: 100%; height: 44px; }
.lm-time-card .k-icon-button .k-svg-icon svg { width: 20px; height: 20px; }
.lm-time-card .lm-kicker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.12em; color: var(--subhead); font-weight: 700;
}
.lm-time-card .lm-time {
    font-family: 'Rift Soft', sans-serif;
    font-size: 28px; line-height: 1.15;
}

.lm-drawer-hero {
    position: relative;
    height: 140px;
    background: linear-gradient(135deg, #292017 0%, #1B1B1B 100%);
    display: grid; place-items: center;
}
.lm-drawer-hero .lm-id-badge {
    position: absolute; top: 12px; left: 12px;
    background: rgba(0,0,0,0.6); color: #fff;
    padding: 5px 10px; border-radius: 6px;
    font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.08em; font-weight: 700;
}
.lm-drawer-hero .lm-status-badge {
    position: absolute; bottom: 12px; right: 12px;
    padding: 4px 10px; border-radius: 999px;
    font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800;
    color: #fff;
    background: var(--ok);
}
.lm-drawer-hero .lm-status-badge.alert { background: var(--danger); }
.lm-drawer-hero .lm-status-badge.parked { background: #a855f7; }
.lm-drawer-hero .lm-status-badge.charging { background: var(--info); }
.lm-drawer-hero .lm-close {
    position: absolute; top: 12px; right: 12px;
    width: 30px; height: 30px; border-radius: 999px; border: 0;
    background: rgba(0,0,0,0.5); color: #fff;
    cursor: pointer;
    display: grid; place-items: center;
}

.lm-drawer-body { padding: 16px 18px; flex: 1; overflow-y: auto; }
.lm-drawer-title { font-family: 'Nexa', sans-serif; font-weight: 900; font-size: 20px; letter-spacing: -0.01em; }
.lm-drawer-sub { font-size: 12px; color: var(--subhead); margin-top: 2px; }

.lm-kv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.lm-kv {
    background: var(--bg);
    border-radius: 10px;
    padding: 10px 12px;
}
.lm-kv .l {
    font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--subhead); font-weight: 700;
}
.lm-kv .v {
    font-family: 'Rift Soft', sans-serif;
    font-size: 18px; line-height: 1.1; margin-top: 4px;
}
.lm-kv .v small { font-family: 'Nexa'; font-weight: 700; font-size: 11px; color: var(--subhead); margin-left: 4px; }

.lm-battery-bar { height: 6px; background: var(--grey-light); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.lm-battery-bar > span { display: block; height: 100%; background: var(--ok); border-radius: 999px; transition: width 0.2s; }
.lm-battery-bar > span.warn { background: var(--warn); }
.lm-battery-bar > span.crit { background: var(--danger); }

.lm-section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--subhead); font-weight: 700;
    margin: 18px 0 8px;
}

.lm-power-chip {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 1px 7px 1px 5px; margin-left: 6px;
    border-radius: 999px;
    font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
}
.lm-power-chip svg { width: 11px; height: 11px; }
.lm-power-chip.charging {
    color: #0E8C50; background: rgba(20,184,106,0.15);
    animation: lm-power-pulse 1.6s ease-in-out infinite;
}
.lm-power-chip.battery {
    color: #6B7280; background: rgba(107,114,128,0.15);
}
@keyframes lm-power-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(20,184,106,0.0); }
    50%      { box-shadow: 0 0 0 3px rgba(20,184,106,0.25); }
}

.lm-fix-head {
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap;
}
.lm-fix-source {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 8px 3px 6px; border-radius: 999px;
    color: #fff; font-weight: 700; font-size: 11px;
    letter-spacing: 0.04em;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.lm-fix-source svg { width: 12px; height: 12px; }
.lm-fix-sats {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; font-weight: 700;
    color: var(--ink);
    background: var(--surface);
    padding: 2px 7px; border-radius: 4px;
    border: 1px solid var(--grey-semi);
}
.lm-fix-sats.muted { color: var(--subhead); font-weight: 600; }
.lm-fix-age {
    font-size: 11px; color: var(--subhead);
    margin-left: auto;
    font-variant-numeric: tabular-nums;
}

.lm-sensor {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    background: var(--surface);
    border: 1px solid var(--grey-semi);
    border-radius: 10px;
    margin-bottom: 8px;
}
.lm-sensor-icon {
    width: 28px; height: 28px;
    display: grid; place-items: center;
    border-radius: 8px;
    background: rgba(0,0,0,0.04);
    flex-shrink: 0;
}
.lm-sensor-icon svg { width: 16px; height: 16px; }
.lm-sensor-body { flex: 1; min-width: 0; }
.lm-sensor-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--subhead); font-weight: 700;
    margin-bottom: 2px;
}
.lm-sensor-value {
    font-family: 'Rift Soft', 'Nexa', sans-serif;
    font-size: 18px; font-weight: 700; color: var(--ink);
    line-height: 1.1;
}
.lm-sensor-value-muted {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--subhead);
    line-height: 1.2;
}
.lm-sensor-unit {
    font-family: 'Nexa', sans-serif;
    font-size: 11px; color: var(--subhead);
    font-weight: 700; margin-left: 2px;
}
.lm-sensor-pill {
    font-family: 'Nexa', sans-serif;
    font-size: 11px; font-weight: 800;
    padding: 4px 10px; border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}

.lm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lm-actions .k-button { width: 100%; }

.lm-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--subhead);
    font-size: 13px;
}

.lm-replay-controls {
    background: var(--surface);
    border-top: 1px solid var(--grey-semi);
    padding: 14px 18px;
    display: flex; gap: 14px; align-items: center;
}
.lm-replay-controls .lm-time-stamp {
    font-family: 'Rift Soft', sans-serif;
    font-size: 22px;
    color: var(--ink);
}
.lm-replay-controls .k-slider { flex: 1; }

.livemap-pin-wrap {
    position: relative;
    width: 30px; height: 30px;
    /* No CSS transform: would override MapLibre's anchor offset. */
    cursor: pointer;
    --pin-color: #F0532D;
    --pin-bg: #ffffff;
    transition: transform .12s ease-out;
    will-change: transform;
}
.livemap-pin-wrap:active { transform: scale(0.94); }
.livemap-pin-wrap.status-active   { --pin-color: #14B86A; }
.livemap-pin-wrap.status-parked   { --pin-color: #a855f7; }
.livemap-pin-wrap.status-alert    { --pin-color: #D93B3B; }
.livemap-pin-wrap.status-charging { --pin-color: #2D6BD6; }
.livemap-pin-wrap.status-offline  { --pin-color: #b0b0b0; --pin-bg: #f4f4f4; }
.livemap-pin-wrap.selected        { z-index: 5; }

/* Subtle quality ring around the pin (kept gentle so the side badges read first). */
.livemap-pin-wrap.quality-gps  .livemap-pin { box-shadow: 0 0 0 2px rgba(20,184,106,0.55), 0 4px 10px -2px rgba(0,0,0,0.25); }
.livemap-pin-wrap.quality-wifi .livemap-pin { box-shadow: 0 0 0 2px rgba(45,107,214,0.45), 0 4px 10px -2px rgba(0,0,0,0.25); }
.livemap-pin-wrap.quality-cell .livemap-pin { box-shadow: 0 0 0 2px rgba(232,141,46,0.45), 0 4px 10px -2px rgba(0,0,0,0.25); }

/* Quality badge — top-right corner. */
.livemap-pin-quality {
    position: absolute;
    top: -6px; right: -6px;
    width: 16px; height: 16px;
    border-radius: 999px;
    background: #fff;
    display: grid; place-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25), 0 0 0 1.5px currentColor;
    pointer-events: none;
}
.livemap-pin-quality svg { width: 10px; height: 10px; }
.livemap-pin-quality.quality-gps  { color: #14B86A; }
.livemap-pin-quality.quality-wifi { color: #2D6BD6; }
.livemap-pin-quality.quality-cell { color: #E88D2E; }
.livemap-pin-wrap.quality-gps  .livemap-pin-quality {
    animation: livemap-q-pulse 2.6s ease-in-out infinite;
}

/* Power badge — same side as quality, sitting just below it on the right edge. */
.livemap-pin-power {
    position: absolute;
    top: 12px; right: -6px;
    width: 16px; height: 16px;
    border-radius: 999px;
    background: #fff;
    display: grid; place-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25), 0 0 0 1.5px currentColor;
    pointer-events: none;
}
.livemap-pin-power svg { width: 10px; height: 10px; }
.livemap-pin-power.charging { color: #14B86A; animation: livemap-pwr-pulse 1.6s ease-in-out infinite; }
.livemap-pin-power.battery  { color: #808080; }

@keyframes livemap-q-pulse {
    0%, 100% { box-shadow: 0 1px 3px rgba(0,0,0,0.25), 0 0 0 1.5px currentColor, 0 0 0 2px rgba(20,184,106,0.0); }
    50%      { box-shadow: 0 1px 3px rgba(0,0,0,0.25), 0 0 0 1.5px currentColor, 0 0 0 5px rgba(20,184,106,0.25); }
}
@keyframes livemap-pwr-pulse {
    0%, 100% { box-shadow: 0 1px 3px rgba(0,0,0,0.25), 0 0 0 1.5px currentColor, 0 0 0 2px rgba(20,184,106,0.0); }
    50%      { box-shadow: 0 1px 3px rgba(0,0,0,0.25), 0 0 0 1.5px currentColor, 0 0 0 5px rgba(20,184,106,0.35); }
}

.livemap-pin {
    width: 100%; height: 100%;
    border-radius: 999px;
    background: var(--pin-bg);
    border: 2px solid var(--pin-color);
    color: var(--pin-color);
    display: grid; place-items: center;
    box-shadow: 0 4px 10px -2px rgba(0,0,0,0.25);
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.livemap-pin-wrap.selected .livemap-pin {
    background: var(--pin-color);
    color: #fff;
    transform: scale(1.18);
    box-shadow: 0 6px 18px -2px rgba(0,0,0,0.4);
}
.livemap-pin-wrap:hover .livemap-pin {
    transform: scale(1.15);
    box-shadow: 0 6px 18px -2px rgba(0,0,0,0.4);
}
.livemap-pin svg { width: 16px; height: 16px; }

.livemap-pin-ping {
    position: absolute; inset: -4px;
    border-radius: 999px;
    border: 2px solid var(--pin-color);
    pointer-events: none;
    animation: livemap-ping 1.8s ease-out infinite;
}
.livemap-pin-wrap.status-alert .livemap-pin-ping {
    inset: -6px;
    animation-duration: 1.2s;
}
@keyframes livemap-ping {
    0%   { transform: scale(0.75); opacity: 0.8; }
    80%  { transform: scale(1.8);  opacity: 0; }
    100% { transform: scale(1.8);  opacity: 0; }
}

.livemap-pin-label {
    position: absolute;
    top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
    background: #191919; color: #fff;
    font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
    padding: 3px 8px; border-radius: 4px;
    white-space: nowrap; pointer-events: none;
    opacity: 0; transition: opacity 0.15s;
    font-family: 'JetBrains Mono', monospace;
}
.livemap-pin-wrap:hover .livemap-pin-label { opacity: 1; }

.livemap-wake {
    position: absolute; top: -6px; right: -6px;
    width: 16px; height: 16px; line-height: 16px;
    text-align: center; font-size: 11px;
    background: #FACC15; color: #1F2937;
    border: 1px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
    pointer-events: none;
}

.lm-fence-filter {
    margin-top: 8px;
    display: flex; gap: 4px;
    align-items: center;
    background: rgba(255,255,255,0.92);
    padding: 4px 6px;
    border-radius: 999px;
    border: 1px solid var(--grey-semi);
    font-size: 11px; font-weight: 700;
    width: fit-content;
    box-shadow: 0 6px 20px -8px rgba(0,0,0,0.25);
}
.lm-fence-filter .lm-fence-label {
    padding: 0 8px;
    color: var(--subhead);
    font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
}
.lm-fence-filter .lm-fence-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: transparent;
    color: var(--ink-2);
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 11px;
}
.lm-fence-filter .lm-fence-pill.active {
    background: var(--brand-orange);
    color: #fff;
}