    /* === Reset & Base === */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html, body { height: 100%; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
    :root {
      --app-viewport-height: 100vh;
      --landing-chat-top-gap: max(clamp(16px, 6vh, 56px), calc(env(safe-area-inset-top, 0px) + 12px));
    }

    /* === Map (full screen) === */
    #map { position: fixed; inset: 0; }

    /* Push MapLibre controls below top bar and above time bar */
    .maplibregl-ctrl-top-right    { top: 72px !important; right: 16px !important; }
    .maplibregl-ctrl-bottom-left  { bottom: 68px !important; left: 16px !important; }

    /* === Top Bar === */
    #top-bar {
      position: fixed; top: 12px; left: 12px;
      width: calc(100% - 24px); max-width: 520px;
      display: flex; align-items: center; gap: 8px;
      background: #fff; border-radius: 14px;
      box-shadow: 0 2px 14px rgba(0,0,0,0.15);
      padding: 8px 12px; z-index: 100;
    }
    #top-logo { display: flex; align-items: center; flex-shrink: 0; color: #aaa; }
    #search-wrap { flex: 1; display: flex; align-items: center; position: relative; }
    #search-input {
      flex: 1; border: none; outline: none;
      font-size: 15px; background: transparent; color: #111;
      padding: 4px 0; min-width: 0;
    }
    #search-input::placeholder { color: #bbb; }
    #btn-clear {
      display: none; background: none; border: none; cursor: pointer;
      color: #aaa; font-size: 18px; line-height: 1;
      padding: 8px 10px; margin: -8px -6px -8px 0; flex-shrink: 0;
    }
    #btn-clear:hover { color: #777; }
    #search-wrap.has-value #btn-clear { display: block; }
    #btn-filtros {
      width: 36px; height: 36px; border: none; background: #f2f2f7;
      border-radius: 10px; cursor: pointer; display: flex;
      align-items: center; justify-content: center; flex-shrink: 0;
      transition: background 0.15s;
    }
    #btn-filtros:hover { background: #e5e5ea; }
    #btn-filtros svg { display: block; }
    #btn-localizacao {
      width: 36px; height: 36px; border: none; background: #f2f2f7;
      border-radius: 10px; cursor: pointer; display: flex;
      align-items: center; justify-content: center; flex-shrink: 0;
      transition: background 0.15s;
    }
    #btn-localizacao:hover { background: #e5e5ea; }
    #btn-localizacao svg { display: block; }
    #btn-localizacao.loading svg { animation: spin 1s linear infinite; }
    #btn-localizacao.locked { background: #007aff; }
    #btn-localizacao.locked:hover { background: #0066dd; }
    #btn-localizacao.locked svg { filter: brightness(0) invert(1); }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* Search results dropdown — positioned relative to #top-bar (position:fixed = containing block) */
    #search-results {
      position: absolute; top: calc(100% + 16px); left: -12px; right: -12px;
      background: #fff; border-radius: 12px;
      box-shadow: 0 4px 18px rgba(0,0,0,0.14);
      overflow: hidden; z-index: 110;
      max-height: 260px; overflow-y: auto;
    }
    .search-item {
      padding: 10px 16px; cursor: pointer; font-size: 13px; color: #222;
      border-bottom: 1px solid #f0f0f0;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      display: flex; align-items: center; gap: 8px;
    }
    .search-item-icon { flex-shrink: 0; }
    .search-item-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .search-item:last-child { border-bottom: none; }
    .search-item:hover { background: #f5f5f7; }
    .search-item.no-result { color: #999; cursor: default; }
    .search-item-clear-hist { color: #999; font-size: 12px; text-align: center; }
    .search-item-clear-hist:hover { color: #e74c3c; background: #fff5f5; }
    .search-marker {
      width: 18px; height: 18px; background: #007aff;
      border-radius: 50%; border: 3px solid #fff;
      box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }

    /* === Stats Badge === */
    #stats-badge {
      position: fixed; top: 72px; left: 12px;
      width: calc(100% - 24px); max-width: 520px;
      display: flex; justify-content: center;
      z-index: 99; pointer-events: none;
    }
    #stats-pill {
      background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
      border-radius: 20px; padding: 4px 16px;
      font-size: 12px; color: #555;
      box-shadow: 0 1px 8px rgba(0,0,0,0.1);
      white-space: nowrap;
    }

    /* === Local Card === */
    #local-card {
      position: fixed; top: 108px; left: 12px;
      width: calc(100% - 24px); max-width: 520px;
      background: rgba(255,255,255,0.97); backdrop-filter: blur(8px);
      border-radius: 14px; box-shadow: 0 2px 14px rgba(0,0,0,0.15);
      z-index: 98; overflow: hidden;
      animation: card-in 0.22s ease;
    }
    @keyframes card-in { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
    #local-card-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 10px 14px 8px; border-bottom: 1px solid #f0f0f0;
      font-weight: 600; font-size: 13px; color: #111;
    }
    #local-card-subtitle { font-size: 11px; font-weight: 400; color: #999; margin-top: 1px; }
    #local-card-close { background: none; border: none; cursor: pointer; color: #888; font-size: 14px; padding: 2px 4px; flex-shrink: 0; }
    #local-card-body { padding: 10px 14px 14px; max-height: 240px; overflow-y: auto; }
    .lc-year-header {
      display: flex; justify-content: space-between;
      font-size: 12px; font-weight: 700; color: #333;
      margin: 10px 0 4px; padding-bottom: 3px;
      border-bottom: 1px solid #f0f0f0;
    }
    .lc-year-header:first-child { margin-top: 0; }
    .lc-tipo-row { display: flex; align-items: center; gap: 8px; padding: 2px 4px; font-size: 12px; color: #444; }
    .lc-tipo-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
    .lc-tipo-nome { flex: 1; }
    .lc-tipo-total { font-variant-numeric: tabular-nums; color: #666; min-width: 36px; text-align: right; }
    .lc-sem-dados { padding: 8px 0; font-size: 12px; color: #aaa; text-align: center; }

    /* === Toast === */
    #toast-container {
      position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
      display: flex; flex-direction: column; align-items: center; gap: 8px;
      z-index: 300; pointer-events: none;
    }
    #toast-container.toast-container-elevated { z-index: 330; }
    .toast {
      background: rgba(28,28,30,0.88); backdrop-filter: blur(10px);
      color: #fff; padding: 9px 20px; border-radius: 22px; font-size: 13px;
      white-space: normal; max-width: min(420px, calc(100vw - 32px)); text-align: center;
      animation: toast-in 0.3s ease, toast-out 0.4s ease 3.6s forwards;
    }
    .toast-persistente {
      background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
      color: #444; border: 1px solid rgba(0,0,0,0.08);
      box-shadow: 0 2px 12px rgba(0,0,0,0.08);
      padding: 8px 18px; border-radius: 22px; font-size: 13px; cursor: pointer; pointer-events: auto;
      white-space: normal; width: max-content; max-width: min(220px, calc(100vw - 80px)); text-align: center; animation: toast-in 0.3s ease;
    }
    @keyframes toast-in  { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
    @keyframes toast-out { to   { opacity:0; transform:translateY(8px); } }

    /* === Panel Overlay === */
    #panel-overlay {
      display: none; position: fixed; inset: 0;
      background: rgba(0,0,0,0.22); z-index: 199;
    }
    body.panel-open #panel-overlay { display: block; }

    /* === Filter Panel === */
    #panel-progress {
      position: absolute; top: 0; left: 0; right: 0; height: 3px;
      overflow: hidden; opacity: 0; transition: opacity 0.2s;
      pointer-events: none; z-index: 1;
    }
    #panel-progress.ativo { opacity: 1; }
    #panel-progress::after {
      content: ''; position: absolute; top: 0; height: 100%;
      width: 40%; background: #007aff;
      border-radius: 0 2px 2px 0;
      animation: panel-progress-slide 1.1s ease-in-out infinite;
    }
    @keyframes panel-progress-slide {
      0%   { left: -40%; }
      100% { left: 140%; }
    }

    #filter-panel {
      position: fixed; top: 0; left: 0; bottom: 0; width: 300px;
      background: #fff; z-index: 200;
      transform: translateX(-100%);
      transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
      display: flex; flex-direction: column;
      box-shadow: 4px 0 28px rgba(0,0,0,0.12);
    }
    body.panel-open #filter-panel { transform: translateX(0); }

    #panel-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 20px 16px 14px; border-bottom: 1px solid #f0f0f0;
      font-weight: 600; font-size: 17px; color: #111;
    }
    #btn-fechar-panel {
      background: #f2f2f7; border: none; border-radius: 50%;
      width: 28px; height: 28px; cursor: pointer; font-size: 14px;
      display: flex; align-items: center; justify-content: center;
      color: #555; transition: background 0.15s;
    }
    #btn-fechar-panel:hover { background: #e5e5ea; }

    #panel-body {
      flex: 1; overflow-y: auto; padding: 16px;
      display: flex; flex-direction: column; gap: 10px;
    }
    .panel-section-label {
      font-size: 11px; color: #999; text-transform: uppercase;
      letter-spacing: 0.6px; font-weight: 500; margin-top: 6px;
    }

    #panel-total {
      text-align: center; font-size: 13px; color: #555; font-weight: 500;
      padding: 8px 16px 6px; min-height: 20px;
    }

    /* === Panel footer === */
    #panel-footer {
      padding: 12px 16px; border-top: 1px solid #f0f0f0; text-align: center; flex-shrink: 0;
    }
    #btn-saiba-mais {
      background: none; border: none; cursor: pointer; color: #aaa;
      font-size: 13px; display: inline-flex; align-items: center; gap: 5px;
    }
    #btn-saiba-mais:hover { color: #555; }

    /* === Saiba Mais bottom sheet === */
    #saiba-mais-overlay {
      display: none; position: fixed; inset: 0; z-index: 300;
      background: rgba(0,0,0,0); align-items: flex-end; justify-content: center;
      transition: background 0.3s;
    }
    #saiba-mais-overlay.open { background: rgba(0,0,0,0.4); }
    #saiba-mais-sheet {
      background: #fff; width: 100%; max-width: 540px; max-height: 85vh; overflow-y: auto;
      border-radius: 16px 16px 0 0;
      transform: translateY(100%); transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
    }
    #saiba-mais-overlay.open #saiba-mais-sheet { transform: translateY(0); }
    #saiba-mais-header {
      position: sticky; top: 0; background: #fff; z-index: 1;
      display: flex; align-items: center; justify-content: space-between;
      padding: 20px 20px 14px; border-bottom: 1px solid #f0f0f0;
      font-weight: 600; font-size: 17px; color: #111;
    }
    #btn-fechar-saiba-mais {
      background: #f2f2f7; border: none; border-radius: 50%;
      width: 28px; height: 28px; cursor: pointer; font-size: 14px;
      display: flex; align-items: center; justify-content: center; color: #555;
    }
    #saiba-mais-body { padding: 20px; display: flex; flex-direction: column; gap: 20px; }
    .sm-section h3 {
      font-size: 11px; color: #999; text-transform: uppercase;
      letter-spacing: 0.6px; font-weight: 500; margin: 0 0 8px 0;
    }
    .sm-section p, .sm-section li { font-size: 14px; color: #333; line-height: 1.6; margin: 0 0 4px 0; }
    .sm-section ul { margin: 0; padding-left: 18px; }
    .sm-apoiar {
      background: #f5f5f7; border-radius: 12px; padding: 16px;
      display: flex; flex-direction: column; gap: 10px;
    }
    .sm-apoiar-row { display: flex; align-items: center; gap: 10px; }
    .sm-apoiar-label { font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: 0.5px; }
    .sm-apoiar-value { font-size: 14px; color: #111; font-weight: 500; }
    .sm-apoiar a { color: #007aff; text-decoration: none; font-size: 14px; }

    /* === Crime Toggles === */
    #crime-toggles { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0; }
    .crime-toggle {
      display: inline-flex; align-items: center; gap: 5px;
      padding: 4px 10px; border-radius: 20px;
      cursor: pointer; transition: opacity 0.15s;
      font-size: 13px; font-weight: 600; user-select: none;
    }
    .crime-toggle.hidden { opacity: 0.28; }

    /* === Filtros Avançados === */
    #filtros-avancados-toggle {
      display: flex; align-items: center; justify-content: space-between;
      cursor: pointer; padding: 4px 2px; user-select: none; border-radius: 6px;
    }
    #filtros-avancados-toggle:hover .panel-section-label { color: #666; }
    #filtros-avancados-badge {
      font-size: 11px; font-weight: 600; color: #fff;
      background: #007aff; border-radius: 10px;
      padding: 1px 7px; display: none;
    }
    #filtros-avancados-badge.active { display: inline; }
    #filtros-avancados-body {
      display: none; flex-direction: column; gap: 8px; padding-top: 2px;
    }
    #filtros-avancados-body.open { display: flex; }
    #filtro-sem-endereco-row {
      display: flex; flex-direction: column; gap: 8px; padding: 10px 0 2px;
    }
    .advanced-toggle {
      display: inline-flex; align-items: center; gap: 12px;
      width: 100%;
      border: none; background: none; padding: 0; cursor: pointer;
      color: #1c1c1e; text-align: left; font: inherit;
    }
    .advanced-toggle-track {
      width: 32px; height: 18px; border-radius: 999px;
      background: #d1d1d6; position: relative; flex-shrink: 0;
      transition: background 0.18s ease;
    }
    .advanced-toggle-thumb {
      position: absolute; top: 2px; left: 2px;
      width: 14px; height: 14px; border-radius: 50%;
      background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.18);
      transition: transform 0.18s ease;
    }
    .advanced-toggle[aria-pressed="true"] .advanced-toggle-track { background: #007aff; }
    .advanced-toggle[aria-pressed="true"] .advanced-toggle-thumb { transform: translateX(14px); }
    .chips-row { display: flex; flex-wrap: wrap; gap: 6px; }
    .btn-toggle-chips {
      font-size: 11px; color: #999; background: none; border: none; cursor: pointer;
      font-weight: 500; padding: 0; text-transform: uppercase; letter-spacing: 0.6px;
    }
    .chip {
      padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 500;
      border: none; cursor: pointer; background: #007aff; color: #fff;
      transition: background 0.15s, color 0.15s, opacity 0.15s; user-select: none;
    }
    .chip.inactive { background: #f0f0f5; color: #999; }
    .date-range-row { display: flex; align-items: center; gap: 8px; }
    .date-range-row input[type=date] {
      flex: 1; border: 1px solid #e5e5ea; border-radius: 8px;
      padding: 6px 8px; font-size: 12px; color: #333; background: #fafafa;
      outline: none; min-width: 0; font-family: inherit;
    }
    .date-range-row input[type=date]:focus { border-color: #007aff; }
    .date-range-row span { color: #bbb; flex-shrink: 0; font-size: 14px; }

    /* === iOS Drum Picker === */
    .picker {
      position: relative; height: 128px; overflow: hidden;
      border-radius: 12px; background: #f5f5f7;
    }
    .picker-highlight {
      position: absolute; top: 50%; transform: translateY(-50%);
      left: 8px; right: 8px; height: 44px;
      background: rgba(0,0,0,0.07); border-radius: 8px;
      pointer-events: none; z-index: 1;
    }
    .picker-fade-top, .picker-fade-bottom {
      position: absolute; left: 0; right: 0; height: 40%;
      z-index: 2; pointer-events: none;
    }
    .picker-fade-top    { top: 0;    background: linear-gradient(to bottom, #f5f5f7 10%, transparent); }
    .picker-fade-bottom { bottom: 0; background: linear-gradient(to top,   #f5f5f7 10%, transparent); }
    .picker-track {
      height: 100%; overflow-y: scroll; scroll-snap-type: y mandatory;
      scrollbar-width: none; -ms-overflow-style: none;
      cursor: grab; user-select: none;
    }
    .picker-track.dragging { cursor: grabbing; }
    .picker-track::-webkit-scrollbar { display: none; }
    .picker-pad  { height: 42px; flex-shrink: 0; }
    .picker-item {
      height: 44px; display: flex; align-items: center; justify-content: center;
      scroll-snap-align: center; font-size: 18px; color: #555;
      cursor: pointer; user-select: none; font-weight: 500;
    }

    @media (max-width: 480px) {
      .picker-item { height: 36px; font-size: 14px; }
      #pickers-row.date-range-ativo .picker-group::after { font-size: 14px; }
      .picker      { height: 108px; }
      .picker-pad  { height: 36px; } /* (108 - 36) / 2 */
      .picker-highlight { height: 36px; }
      #pickers-row { display: flex; gap: 8px; }
      #pickers-row .picker-group { flex: 1; min-width: 0; }
    }

    /* === Popup === */
    #popup {
      position: fixed; z-index: 150; display: none;
      background: #fff; color: #111; border-radius: 10px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.18);
      min-width: 200px; max-width: 280px;
      font-size: 13px; line-height: 1.5; overflow: hidden;
    }
    .popup-header {
      display: flex; align-items: flex-start; justify-content: space-between;
      padding: 10px 12px 10px; border-bottom: 1px solid #eee; gap: 8px;
    }
    .popup-header-left { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; flex: 1; min-width: 0; }
    .popup-chip {
      display: inline-flex; align-items: center; gap: 4px;
      padding: 3px 9px; border-radius: 20px; font-size: 13px; font-weight: 600; white-space: nowrap;
    }
    .popup-chip-detalhe { background: #f2f2f7; color: #555; font-weight: 500; }
    .popup-actions { display: flex; gap: 2px; flex-shrink: 0; }
    .popup-btn {
      background: none; border: none; cursor: pointer; padding: 2px 6px;
      border-radius: 6px; color: #888; font-size: 14px; line-height: 1;
    }
    .popup-btn:hover { background: #f0f0f0; color: #333; }
    .popup-body { padding: 10px 12px 8px; display: flex; flex-direction: column; gap: 7px; }
    .popup-row { display: flex; align-items: flex-start; gap: 7px; font-size: 13px; color: #333; line-height: 1.45; }
    .popup-icon { flex-shrink: 0; font-size: 14px; margin-top: 1px; }
    .popup-addr-main { font-weight: 500; }
    .popup-addr-sub  { font-size: 12px; color: #888; margin-top: 1px; }
    .popup-tipolocal { padding-left: 21px; margin-top: 2px; }
    .popup-sep { border: none; border-top: 1px solid #f0f0f0; margin: 0; }
    .popup-linha { font-size: 13px; color: #333; line-height: 1.45; }
    .popup-local { color: #888; font-size: 12px; }
    .popup-detalhe { font-size: 12px; color: #aaa; margin-top: 4px; }
    .popup-scroll { max-height: 200px; overflow-y: auto; padding: 4px 0; }
    .popup-scroll table { padding: 0 12px; display: block; width: 100%; box-sizing: border-box; }
    .popup-scroll td { padding: 3px 4px; vertical-align: top; font-size: 13px; }
    .popup-scroll td:first-child { color: #999; white-space: nowrap; font-size: 12px; }
    .popup-item { cursor: pointer; }
    .popup-item:hover td { background: #f5f5f7; }
    .popup-hint { padding: 4px 12px 8px; font-size: 11px; color: #bbb; font-style: italic; }

    /* === Time Bar === */
    #time-bar {
      position: fixed; bottom: 12px; left: 12px;
      width: calc(100% - 24px); max-width: 520px;
      background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
      border-radius: 14px; padding: 8px 10px;
      display: flex; align-items: center; gap: 6px;
      box-shadow: 0 2px 14px rgba(0,0,0,0.12); z-index: 90;
    }
    #btn-play {
      background: #f2f2f7; border: none; border-radius: 8px;
      width: 32px; height: 32px; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; transition: background 0.15s;
    }
    #btn-play:hover { background: #e5e5ea; }
    #btn-heatmap {
      background: #f2f2f7; border: none; border-radius: 8px;
      width: 32px; height: 32px; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; transition: background 0.15s;
    }
    #btn-heatmap:hover { background: #e5e5ea; }
    #btn-heatmap.active { background: #007aff; }
    #btn-heatmap.active circle { stroke: #fff !important; fill: none; }
    #btn-heatmap.active circle:last-child { fill: #fff !important; }
    #btn-todos {
      background: #f2f2f7; border: none; border-radius: 8px;
      padding: 0 10px; height: 32px; cursor: pointer; font-size: 12px;
      white-space: nowrap; flex-shrink: 0; color: #555;
      transition: background 0.15s, color 0.15s;
    }
    #btn-todos:hover { background: #e5e5ea; }
    #btn-todos.active { background: #007aff; color: #fff; }
    #btn-todos.date-range-ativo { background: #f2f2f7 !important; color: #bbb !important; }
    #pickers-row.date-range-ativo .picker-item { color: transparent; }
    #pickers-row.date-range-ativo .picker-highlight { opacity: 0; }
    #pickers-row.date-range-ativo .picker-fade-top,
    #pickers-row.date-range-ativo .picker-fade-bottom { opacity: 0; }
    #pickers-row.date-range-ativo .picker-group { position: relative; cursor: pointer; }
    #pickers-row.date-range-ativo .picker-group::after {
      content: 'Reset'; position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px; font-weight: 500; color: #555;
      pointer-events: none; z-index: 3;
    }
    #mes-track {
      flex: 1; overflow-x: auto; scrollbar-width: none;
    }
    #mes-track::-webkit-scrollbar { display: none; }
    #mes-inner {
      display: flex; align-items: center; justify-content: space-evenly;
      position: relative; min-width: 100%; width: max-content; padding: 0 2px;
    }
    .track-line {
      position: absolute; left: 2px; right: 2px; top: 50%; height: 2px;
      background: #e0e0e0; transform: translateY(-50%); z-index: 0; border-radius: 1px;
    }
    .mes-btn {
      display: flex; flex-direction: column; align-items: center; gap: 2px;
      background: none; border: none; cursor: pointer; padding: 4px 5px;
      flex-shrink: 0; z-index: 1; position: relative;
    }
    .mes-btn .dot {
      width: 9px; height: 9px; border-radius: 50%;
      background: #c8c8c8; border: 2px solid #fff;
      box-shadow: 0 0 0 1.5px #c8c8c8;
      transition: background 0.2s, box-shadow 0.2s;
    }
    .mes-btn span { font-size: 9px; color: #888; line-height: 1; }
    .mes-btn.active .dot { background: #007aff; box-shadow: 0 0 0 1.5px #007aff; }
    .mes-btn.active span { color: #007aff; font-weight: 700; }
    .mes-btn.sem-dados .dot { background: #eee; box-shadow: 0 0 0 1.5px #e0e0e0; }
    .mes-btn.sem-dados span { color: #ccc; }
    .mes-btn:hover:not(.sem-dados) .dot { background: #444; box-shadow: 0 0 0 1.5px #444; }

    /* === Assistente Virtual === */
    #btn-assistente {
      position: fixed; bottom: 72px; right: 16px;
      width: 52px; height: 52px;
      background: #e8f0fe; border: 4px solid #fff; border-radius: 12px;
      cursor: pointer; z-index: 95;
      box-shadow: 0 2px 12px rgba(0,0,0,0.15);
      display: flex; align-items: center; justify-content: center;
      transition: transform 0.18s, box-shadow 0.18s;
    }
    #btn-assistente:hover { transform: scale(1.08); box-shadow: 0 4px 18px rgba(0,0,0,0.2); }
    #btn-assistente:active { transform: scale(0.95); }

    /* ── Landing overlay ──────────────────────────────────────────────── */
    #landing-overlay {
      position: fixed; inset: 0; z-index: 500;
      background: rgba(10,28,65,0.52);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      padding: max(16px, env(safe-area-inset-top, 16px)) 16px
               max(16px, env(safe-area-inset-bottom, 16px));
      box-sizing: border-box;
      transition: opacity 0.38s ease, transform 0.38s ease;
    }
    #landing-overlay.saindo {
      opacity: 0; transform: translateY(30px); pointer-events: none;
    }
    #landing-overlay.oculto { display: none; }
    #landing-chat-wrap {
      width: 100%; max-width: 480px;
      background: #fff; border-radius: 24px;
      box-shadow: 0 12px 48px rgba(0,0,0,0.22);
      display: flex; flex-direction: column;
      overflow: hidden;
      max-height: calc(var(--app-viewport-height) - 32px);
      animation: landing-sheet-in 1s cubic-bezier(0.18,0.88,0.24,1);
    }
    /* Header */
    #landing-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 16px 18px 12px; border-bottom: 1px solid #f0f0f0; flex-shrink: 0;
    }
    #landing-header-brand { display: flex; align-items: center; gap: 10px; }
    .landing-brand-name { font-weight: 700; font-size: 16px; color: #1c1c1e; }
    .landing-brand-sub  { font-size: 11.5px; color: #888; margin-top: 1px; }
    #landing-ver-mapa-btn {
      background: none; border: none; cursor: pointer;
      font-size: 13px; color: #007aff; font-weight: 600;
      padding: 6px 10px; border-radius: 8px;
      transition: background 0.15s; flex-shrink: 0;
    }
    #landing-ver-mapa-btn:hover { background: #f0f6ff; }
    #landing-messages {
      flex: 1; overflow-y: auto; padding: 16px 16px 8px;
      display: flex; flex-direction: column; gap: 10px; min-height: 0;
    }
    #landing-messages::-webkit-scrollbar { display: none; }
    /* Opções */
    #landing-options {
      padding: 4px 14px 4px;
      display: flex; flex-direction: column; gap: 8px; flex-shrink: 0;
    }
    #landing-options .chat-option-btn:first-child {
      background: #007aff; color: #fff; font-weight: 600;
    }
    #landing-options .chat-option-btn:first-child:hover { background: #0066d6; }
    /* Rodapé SSP */
    #landing-ssp-footer {
      display: flex; align-items: center; gap: 6px;
      padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px));
      font-size: 11px; color: #aaa; flex-shrink: 0;
    }

    #assistente-backdrop {
      position: fixed; inset: 0; z-index: 400;
      background: rgba(0,0,0,0); transition: background 0.3s;
    }
    #assistente-backdrop.open { background: rgba(0,0,0,0.4); }

    #assistente-chat {
      position: fixed; bottom: 0; left: 0; right: 0; z-index: 401;
      max-width: 540px; margin: 0 auto;
      background: #fff; border-radius: 20px 20px 0 0;
      box-shadow: 0 -4px 32px rgba(0,0,0,0.14);
      display: flex; flex-direction: column;
      min-height: 0; overflow: hidden;
      max-height: min(75vh, calc(var(--app-viewport-height) - max(12px, env(safe-area-inset-top, 0px))));
      transform: translateY(100%); transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
    }
    #assistente-chat.open { transform: translateY(0); }

    .assistente-header {
      display: flex; align-items: center; justify-content: space-between;
      gap: 12px;
      padding: 16px 18px 12px; border-bottom: 1px solid #f0f0f0; flex-shrink: 0;
    }
    .assistente-header-title {
      display: flex; align-items: center; gap: 8px;
      min-width: 0; font-weight: 600; font-size: 15px; color: #111;
    }
    .assistente-header-title .shield-icon { display: block; flex-shrink: 0; }
    .assistente-header-title span {
      min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    #btn-fechar-assistente {
      background: #f2f2f7; border: none; border-radius: 50%;
      width: 28px; height: 28px; cursor: pointer; font-size: 14px;
      display: flex; align-items: center; justify-content: center; color: #555;
      flex-shrink: 0; transition: background 0.15s;
    }
    #btn-fechar-assistente:hover { background: #e5e5ea; }

    #assistente-messages {
      flex: 1; overflow-y: auto; padding: 14px 16px 8px;
      display: flex; flex-direction: column; gap: 10px; min-height: 0;
      scrollbar-width: none;
    }
    #assistente-messages::-webkit-scrollbar { display: none; }

    .chat-msg {
      max-width: 82%; padding: 9px 13px; border-radius: 16px;
      font-size: 13.5px; line-height: 1.55; white-space: pre-wrap;
      animation: toast-in 0.2s ease;
    }
    .chat-bot {
      background: #f2f2f7; color: #111; align-self: flex-start;
      border-bottom-left-radius: 5px;
    }
    .chat-user {
      background: #007aff; color: #fff; align-self: flex-end;
      border-bottom-right-radius: 5px;
    }

    .chat-loading {
      display: flex; align-items: center; gap: 5px; padding: 12px 16px;
    }
    .chat-loading .dot {
      width: 7px; height: 7px; border-radius: 50%; background: #aaa;
      animation: chat-bounce 1.2s ease infinite;
    }
    .chat-loading .dot:nth-child(2) { animation-delay: 0.18s; }
    .chat-loading .dot:nth-child(3) { animation-delay: 0.36s; }
    @keyframes chat-bounce {
      0%, 60%, 100% { transform: translateY(0); }
      30% { transform: translateY(-5px); }
    }

    #assistente-options {
      padding: 8px 12px calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column;
      gap: 8px; flex-shrink: 0;
    }
    .chat-option-btn {
      background: #f2f2f7; border: none; border-radius: 12px;
      padding: 11px 16px; font-size: 13.5px; color: #111; text-align: left;
      cursor: pointer; transition: background 0.15s; font-family: inherit;
      -webkit-appearance: none; -webkit-tap-highlight-color: transparent;
    }
    .chat-option-btn:hover { background: #e5e5ea; }
    .chat-option-btn:active { background: #d8d8dc; }
    .chat-option-btn:focus,
    .chat-option-btn:focus-visible { outline: none; box-shadow: none; background: #f2f2f7; }
    .chat-option-secondary { color: #555; }
    .chat-option-ver-mapa {
      background: #007aff; color: #fff; text-align: center; font-weight: 600;
    }
    .chat-option-ver-mapa:hover { background: #0066dd; }
    .chat-search-wrap { display: flex; flex-direction: column; gap: 8px; }
    .chat-option-enter {
      opacity: 0;
      transform: translateY(12px);
      animation: chat-option-rise 0.28s cubic-bezier(0.22,1,0.36,1) forwards;
    }
    @keyframes chat-option-rise {
      from { opacity: 0; transform: translateY(12px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .chat-search-input {
      border: 1.5px solid #d1d1d6; border-radius: 12px;
      padding: 11px 14px; font-size: 14px; font-family: inherit;
      outline: none; background: #f9f9fb; color: #1c1c1e;
      transition: border-color 0.15s;
    }
    .chat-search-input:focus { border-color: #007aff; background: #fff; }
    @keyframes landing-sheet-in {
      from { opacity: 0; transform: translateY(800px) scale(0.982); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
    /* ═══ Botão ajuda tutorial ════════════════════════════════════ */
    #btn-ajuda-tutorial {
      background: #f2f2f7; border: none; border-radius: 50%;
      width: 28px; height: 28px; cursor: pointer; font-size: 14px;
      display: flex; align-items: center; justify-content: center;
      color: #555; transition: background 0.15s;
    }
    #btn-ajuda-tutorial:hover { background: #e5e5ea; }

    /* ═══ Tutorial Overlay ════════════════════════════════════════ */
    #tutorial-overlay {
      position: fixed; inset: 0; z-index: 600;
      display: none; pointer-events: none;
    }
    #tutorial-overlay.ativo { display: block; pointer-events: none; }
    #tutorial-spotlight {
      position: fixed; z-index: 601; pointer-events: none;
      border-radius: 14px;
      box-shadow: 0 0 0 9999px rgba(0,0,0,0.68);
      outline: 2px solid rgba(255,255,255,0.35);
      transition: left 0.35s cubic-bezier(0.4,0,0.2,1),
                  top 0.35s cubic-bezier(0.4,0,0.2,1),
                  width 0.35s cubic-bezier(0.4,0,0.2,1),
                  height 0.35s cubic-bezier(0.4,0,0.2,1);
    }
    #tutorial-card {
      position: fixed; left: 50%; transform: translateX(-50%);
      bottom: 24px;
      width: min(380px, calc(100vw - 32px));
      background: #fff; border-radius: 18px; padding: 20px 20px 16px;
      box-shadow: 0 8px 40px rgba(0,0,0,0.25);
      z-index: 602; pointer-events: auto;
    }
    #tutorial-card-header {
      display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px;
    }
    #tutorial-step-label {
      font-size: 11px; color: #aaa; text-transform: uppercase;
      letter-spacing: 0.5px; font-weight: 500;
    }
    #btn-pular-tutorial {
      background: none; border: none; color: #bbb; cursor: pointer;
      font-size: 12px; padding: 0;
    }
    #btn-pular-tutorial:hover { color: #888; }
    #tutorial-title { font-size: 16px; font-weight: 700; color: #111; margin-bottom: 8px; }
    #tutorial-text-body { font-size: 14px; color: #555; line-height: 1.55; margin-bottom: 16px; }
    #tutorial-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .tut-nav-btn {
      width: 40px; height: 40px; border-radius: 50%; border: none;
      background: #f2f2f7; cursor: pointer; font-size: 18px;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.15s; flex-shrink: 0;
    }
    .tut-nav-btn:hover:not(:disabled) { background: #e5e5ea; }
    .tut-nav-btn:disabled { opacity: 0.25; cursor: default; }
    .tut-nav-btn.primario { background: #007aff; color: #fff; }
    .tut-nav-btn.primario:hover { background: #0066d6; }
    #tutorial-dots { display: flex; gap: 6px; align-items: center; }
    .tut-dot {
      width: 6px; height: 6px; border-radius: 50%; background: #ddd;
      transition: background 0.2s, transform 0.2s;
    }
    .tut-dot.ativo { background: #007aff; transform: scale(1.4); }
    #tutorial-end-check {
      display: flex; align-items: center; gap: 8px;
      font-size: 13px; color: #888; margin-bottom: 14px; cursor: pointer;
    }
    #tutorial-end-check input { cursor: pointer; accent-color: #007aff; }
    /* Click ripple */
    #tut-click-anim {
      position: fixed; pointer-events: none; z-index: 603;
      width: 44px; height: 44px;
      transform: translate(-50%, -50%);
      display: none;
    }
    #tut-click-anim.ativo { display: block; }
    #tut-click-anim::before, #tut-click-anim::after {
      content: ''; position: absolute; inset: 6px;
      border-radius: 50%; border: 2.5px solid rgba(0,122,255,0.85);
      animation: tutRipple 0.9s ease-out forwards;
    }
    #tut-click-anim::after { animation-delay: 0.22s; }
    @keyframes tutRipple {
      from { transform: scale(0.3); opacity: 1; }
      to   { transform: scale(2.4); opacity: 0; }
    }

    /* ── Radar / pulse do ponto ativo ─────────────────────────────────────── */
    .radar-marker {
      position: relative;
      width: 0; height: 0;
      pointer-events: none;
    }
    .radar-ring {
      position: absolute;
      width: 18px; height: 18px;
      border-radius: 50%;
      border: 2px solid var(--radar-color, #e17055);
      top: 50%; left: 50%;
      transform: translate(-50%, -50%) scale(0.5);
      opacity: 0;
      animation: radarPulse 2s ease-out infinite;
    }
    .radar-ring:nth-child(2) { animation-delay: 0.6s; }
    .radar-ring:nth-child(3) { animation-delay: 1.2s; }
    @keyframes radarPulse {
      0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 0.9; }
      100% { transform: translate(-50%, -50%) scale(4);   opacity: 0;   }
    }

    /* === Report Modal === */
    #report-overlay {
      position: fixed; inset: 0; z-index: 310;
      background: rgba(0,0,0,0.35); backdrop-filter: blur(2px);
      display: flex; align-items: flex-end; justify-content: center;
    }
    #report-overlay[hidden] { display: none; }
    #report-modal {
      background: #fff; border-radius: 18px 18px 0 0;
      width: 100%; max-width: 520px;
      padding: 0 0 env(safe-area-inset-bottom,0);
      box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
      animation: sheet-in 0.22s ease;
    }
    @keyframes sheet-in {
      from { transform: translateY(100%); }
      to   { transform: translateY(0); }
    }
    #report-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 16px 18px 12px;
      font-size: 15px; font-weight: 600; color: #111;
      border-bottom: 1px solid #f0f0f0;
    }
    #report-close {
      background: none; border: none; cursor: pointer;
      font-size: 18px; color: #aaa; padding: 4px 8px; margin: -4px -8px;
    }
    #report-body { padding: 16px 18px 20px; }
    #report-tipo-row {
      display: flex; flex-direction: column; gap: 8px;
    }
    .report-tipo-btn {
      background: #f2f2f7; border: none; border-radius: 12px;
      padding: 12px 16px; font-size: 14px; color: #111;
      cursor: pointer; text-align: left; transition: background 0.15s;
    }
    .report-tipo-btn:hover { background: #e5e5ea; }
    .report-tipo-btn.active { background: #e8f0fe; color: #1a73e8; font-weight: 500; }
    #report-form { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
    .report-label { font-size: 12px; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
    #report-coords-row { display: flex; gap: 8px; }
    #report-coords-row input {
      flex: 1; border: 1px solid #e0e0e0; border-radius: 10px;
      padding: 9px 12px; font-size: 14px; outline: none; min-width: 0;
    }
    #report-coords-row input:focus { border-color: #007aff; }
    #report-coords-section:not([hidden]) {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    #report-btn-apontar {
      background: none; border: 1px solid #e0e0e0; border-radius: 10px;
      padding: 8px 14px; font-size: 13px; color: #555; cursor: pointer;
      text-align: left; width: fit-content;
    }
    #report-btn-apontar:hover { background: #f5f5f7; }
    #report-btn-apontar:disabled {
      background: #f5f5f7;
      color: #a3a3a3;
      border-color: #e7e7e7;
      cursor: not-allowed;
    }
    #report-coords-section.report-coords-locked #report-coords-row,
    #report-coords-section.report-coords-locked #report-btn-apontar {
      opacity: 0.45;
    }
    #report-sem-coords-label {
      display: flex; align-items: flex-start; gap: 12px;
      font-size: 13px; color: #555; line-height: 1.4;
      margin-top: 2px;
    }
    #report-sem-coords {
      margin-top: 2px; width: 18px; height: 18px; flex-shrink: 0;
      accent-color: #007aff;
    }
    #report-sem-coords-label span {
      display: block;
      padding-top: 1px;
    }
    #report-coords-row input:disabled {
      background: #f5f5f7;
      color: #a3a3a3;
      border-color: #e7e7e7;
      cursor: not-allowed;
    }
    #report-texto {
      width: 100%; border: 1px solid #e0e0e0; border-radius: 10px;
      padding: 10px 12px; font-size: 14px; font-family: inherit;
      resize: none; outline: none;
    }
    #report-texto:focus { border-color: #007aff; }
    .report-hint { font-size: 13px; color: #777; line-height: 1.5; }
    #report-submit {
      background: #007aff; color: #fff; border: none; border-radius: 12px;
      padding: 13px; font-size: 15px; font-weight: 600; cursor: pointer;
      width: 100%; transition: background 0.15s;
    }
    #report-submit:hover { background: #0066dd; }
    #report-submit:disabled { background: #b0c8f0; cursor: default; }
    .popup-report-link {
      display: block; text-align: center; font-size: 12px; color: #bbb;
      margin-top: 2px; cursor: pointer; padding: 6px 0 8px;
      text-decoration: none; border-top: 1px solid #f5f5f5;
    }
    .popup-report-link:hover { color: #888; }
    .popup-report-link-disabled {
      color: #c58b18;
      cursor: default;
      font-weight: 600;
    }
    .popup-report-link-disabled:hover { color: #c58b18; }

    /* === Pick-on-map overlay === */
    #pick-map-overlay {
      position: fixed; inset: 0; z-index: 320;
      pointer-events: none;
      display: flex; flex-direction: column;
      align-items: center; justify-content: flex-start;
      padding-top: 80px; gap: 12px;
    }
    #pick-map-overlay[hidden] { display: none; }
    #pick-map-hint {
      background: rgba(0,0,0,0.72); color: #fff;
      border-radius: 20px; padding: 8px 20px;
      font-size: 14px; pointer-events: none;
    }
    #pick-map-cancel {
      pointer-events: all; background: #fff; border: none;
      border-radius: 12px; padding: 9px 20px;
      font-size: 14px; font-weight: 500; cursor: pointer;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
    .report-target-marker {
      position: relative;
      width: 0; height: 0;
      pointer-events: none;
    }
    .report-target-dot {
      position: absolute;
      width: 14px; height: 14px;
      border-radius: 50%;
      background: var(--report-target-color, #007aff);
      border: 3px solid #fff;
      box-shadow: 0 4px 14px rgba(0,0,0,0.22);
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
    }
    .report-target-label {
      position: absolute;
      left: 50%; bottom: 18px;
      transform: translateX(-50%);
      white-space: nowrap;
      background: rgba(17,17,17,0.88);
      color: #fff;
      font-size: 12px; font-weight: 600;
      padding: 6px 10px;
      border-radius: 999px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    }

    /* === Admin Toggle Button === */
    #admin-toggle-btn {
      position: fixed; top: 72px; left: 12px;
      width: 36px; height: 36px; border: none; background: #fff;
      border-radius: 10px; cursor: pointer; display: flex;
      align-items: center; justify-content: center;
      box-shadow: 0 2px 10px rgba(0,0,0,0.15); z-index: 201;
      transition: background 0.15s;
    }
    #admin-toggle-btn[hidden] { display: none; }
    #admin-toggle-btn:hover { background: #f2f2f7; }
    #admin-toggle-btn.active { background: #111; }
    #admin-toggle-btn.active svg { stroke: #fff; }

    /* === Admin Login Overlay === */
    #admin-login-overlay {
      position: fixed; inset: 0; z-index: 500;
      background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
      display: flex; align-items: center; justify-content: center;
    }
    #admin-login-overlay[hidden] { display: none; }
    #admin-login-box {
      background: #fff; border-radius: 18px;
      padding: 32px 28px; width: 300px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.2);
      display: flex; flex-direction: column; gap: 12px;
    }
    #admin-login-title {
      font-size: 17px; font-weight: 700; color: #111; text-align: center;
    }
    #admin-password-input {
      border: 1px solid #e0e0e0; border-radius: 10px;
      padding: 11px 14px; font-size: 15px; outline: none; width: 100%;
    }
    #admin-password-input:focus { border-color: #007aff; }
    #admin-login-error {
      font-size: 13px; color: #e53935; text-align: center;
    }
    #admin-login-error[hidden] { display: none; }
    #admin-login-btn {
      background: #111; color: #fff; border: none; border-radius: 12px;
      padding: 13px; font-size: 15px; font-weight: 600; cursor: pointer;
    }
    #admin-login-btn:hover { background: #333; }

    /* === Admin Panel === */
    #admin-panel {
      position: fixed; top: 0; right: 0; bottom: 0;
      width: 320px; background: #fff;
      box-shadow: -4px 0 20px rgba(0,0,0,0.12);
      z-index: 200; display: flex; flex-direction: column;
      transform: translateX(0); transition: transform 0.25s ease;
    }
    #admin-panel[hidden] { display: none; }
    #admin-panel-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 16px 14px 12px;
      font-size: 15px; font-weight: 700; color: #111;
      border-bottom: 1px solid #f0f0f0; flex-shrink: 0;
    }
    #admin-filter-tabs { display: flex; gap: 4px; }
    .admin-tab {
      background: #f2f2f7; border: none; border-radius: 8px;
      padding: 5px 12px; font-size: 12px; font-weight: 500;
      color: #555; cursor: pointer;
    }
    .admin-tab.active { background: #111; color: #fff; }
    #admin-logout-btn {
      background: none; border: none; cursor: pointer;
      font-size: 18px; color: #aaa; padding: 4px 6px;
    }
    #admin-logout-btn:hover { color: #555; }
    #admin-reports-list {
      flex: 1; overflow-y: auto; padding: 8px 0;
    }
    #admin-panel-footer {
      padding: 10px 12px; border-top: 1px solid #f0f0f0; flex-shrink: 0;
    }
    #admin-btn-freestyle {
      width: 100%; border: none; border-radius: 10px;
      padding: 10px; font-size: 13px; font-weight: 600; cursor: pointer;
      transition: background 0.15s;
    }
    #admin-btn-freestyle.admin-freestyle-off { background: #f2f2f7; color: #555; }
    #admin-btn-freestyle.admin-freestyle-on  { background: #111; color: #fff; }
    /* Freestyle context popup */
    #admin-freestyle-popup {
      position: fixed; z-index: 300;
      background: #fff; border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.2);
      padding: 6px; min-width: 180px;
      display: flex; flex-direction: column; gap: 2px;
    }
    #admin-freestyle-popup[hidden] { display: none; }
    .admin-fp-btn {
      background: none; border: none; border-radius: 8px;
      padding: 9px 14px; font-size: 13px; text-align: left; cursor: pointer;
      color: #111;
    }
    .admin-fp-btn:hover { background: #f5f5f7; }
    .admin-fp-btn.danger { color: #e53935; }
    .admin-fp-btn.danger:hover { background: #fde8e8; }
    .admin-report-item {
      padding: 12px 14px; border-bottom: 1px solid #f5f5f5;
      cursor: pointer; transition: background 0.1s;
    }
    .admin-report-item:hover { background: #f9f9fb; }
    .admin-report-item.selected { background: #e8f0fe; }
    .admin-report-tipo {
      font-size: 12px; font-weight: 600; color: #888;
      text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 3px;
    }
    .admin-report-endereco {
      font-size: 13px; color: #111; font-weight: 500;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .admin-report-meta {
      font-size: 11px; color: #bbb; margin-top: 2px;
    }
    .admin-report-status {
      display: inline-block; font-size: 10px; font-weight: 600;
      padding: 1px 7px; border-radius: 8px; margin-left: 6px;
      text-transform: uppercase; letter-spacing: 0.4px;
    }
    .admin-report-status.pendente  { background: #fff3cd; color: #856404; }
    .admin-report-status.aplicado  { background: #d4edda; color: #155724; }
    .admin-report-status.rejeitado { background: #f8d7da; color: #721c24; }
    #admin-reports-list .vazio {
      padding: 32px 16px; text-align: center; font-size: 13px; color: #bbb;
    }

    /* === Admin Action Bar === */
    #admin-action-bar {
      position: fixed; bottom: 70px; left: 12px; right: 12px;
      background: #fff; border-radius: 16px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.18);
      padding: 12px 16px; z-index: 201;
      display: flex; flex-direction: column; gap: 10px;
    }
    #admin-action-bar[hidden] { display: none; }
    #admin-action-close {
      position: absolute; top: 8px; right: 8px;
      width: 28px; height: 28px; border: none; border-radius: 999px;
      background: #f2f2f7; color: #666; cursor: pointer;
      font-size: 14px; line-height: 1;
      display: flex; align-items: center; justify-content: center;
    }
    #admin-action-close:hover { background: #e6e6eb; color: #111; }
    #admin-action-info {
      font-size: 12px; color: #555; padding-right: 36px;
    }
    .admin-info-header { font-weight: 600; color: #1c1c1e; font-size: 13px; margin-bottom: 2px; }
    .admin-info-sub    { color: #666; font-size: 11px; line-height: 1.4; }
    .admin-info-coords { font-size: 11px; color: #555; margin-top: 4px; font-family: monospace; line-height: 1.6; }
    .admin-info-texto  { font-size: 11px; color: #555; margin-top: 4px; font-style: italic; }
    .admin-coord-label { display: inline-block; width: 54px; font-weight: 600; font-style: normal; color: #888; }
    .admin-coord-novo  { color: #007aff; }
    .admin-coord-btn {
      background: none; border: none; padding: 0; cursor: pointer;
      font-family: monospace; font-size: 11px; color: #555;
      text-decoration: underline dotted; text-underline-offset: 2px;
    }
    .admin-coord-btn:hover { color: #1c1c1e; }
    .admin-coord-btn-novo { color: #007aff; }
    .admin-coord-btn-novo:hover { color: #0056cc; }
    #admin-action-btns { display: flex; gap: 8px; flex-wrap: wrap; }
    .admin-btn {
      border: none; border-radius: 10px; padding: 10px 0;
      font-size: 13px; font-weight: 600; cursor: pointer;
      flex: 1; min-width: 80px; text-align: center;
    }
    .admin-btn-aplicar  { background: #34a853; color: #fff; }
    .admin-btn-rejeitar { background: #f2f2f7; color: #555; }
    .admin-btn-resolver { background: #34a853; color: #fff; }
    .admin-btn-ignorar  { background: #f2f2f7; color: #555; }
    .admin-btn-drag     { background: #007aff; color: #fff; }
