/* PWA de monitoreo · diseño «Día · Cielo y coral» (rediseño 2026-11-08 de la app Flutter).
   Los colores salen SOLO de estas variables (AppColors de la app). */
:root {
  --background: #F1F5FD;
  --surface: #FFFFFF;
  --primary: #1759D1;
  --primary-soft: #E8F0FD;
  --primary-track: #D3E1FA;
  --ink: #0B1F42;
  --muted: #5A6B8C;
  --coral: #F16C63;
  --header-top: #1E66DE;
  --header-bottom: #0E3E9C;
  --hero-deep: #0F2A7A;
  --success-fg: #15803D; --success-bg: #DCFCE7;
  --warning-fg: #B45309; --warning-bg: #FEF3C7;
  --orange-fg: #C2410C;  --orange-bg: #FFEDD5;
  --danger-fg: #D9402B;  --danger-bg: #FFE4E0;
  --info-fg: #1D4ED8;    --info-bg: #DBEAFE;
  --moving: #19B96D; --stopped: #F59E0B; --offline: #F16C63;
  --state-moving: #19B96D; --state-idle: #1759D1; --state-off: #DC2626; --state-nogps: #EAB308; --state-noreport: #111827;
  --chart-blue: #1F6FD6; --chart-red: #D92D20; --chart-green: #12915B; --chart-amber: #D98A00;
  --chart-purple: #7C3AED; --chart-cyan: #0891B2; --chart-gray: #8493A8; --chart-dark: #7A1212;
  --card-shadow: 0 4px 14px rgba(23, 89, 209, .08);
  --floating-shadow: 0 8px 28px rgba(11, 31, 66, .16);
  --divider: #E4EBF8;
  --read-bg: #E9F0FD;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --nav-h: 74px;
  --nav-clear: calc(var(--nav-h) + 12px + var(--sab));
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink); background: #0E3E9C;
  font-size: 14px; line-height: 1.35;
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: var(--primary); }
img { display: block; }

/* El contenedor de la app: a lo ancho en el teléfono, centrado en una pantalla grande. */
#raiz { position: relative; height: 100%; max-width: 560px; margin: 0 auto; overflow: hidden; background: var(--background); }
@media (min-width: 600px) { #raiz { box-shadow: 0 0 60px rgba(0,0,0,.35); } }
#app { position: absolute; inset: 0; }
#capas { position: absolute; inset: 0; pointer-events: none; z-index: 50; }
#capas > * { pointer-events: auto; }

/* Íconos (Material Symbols redondeados, trazo fino como en la app). */
.mi {
  font-family: 'Material Symbols Rounded'; font-weight: 400; font-style: normal; font-size: 24px; line-height: 1;
  letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; user-select: none; flex: none;
}
.mi.fill { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

.splash { position: absolute; inset: 0; background: var(--primary); display: grid; place-items: center; }

/* ---------- Pantallas ---------- */
.screen { position: absolute; inset: 0; background: var(--background); display: flex; flex-direction: column; overflow: hidden; }
.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.capa { position: absolute; inset: 0; background: var(--background); transform: translateX(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); box-shadow: -8px 0 24px rgba(11,31,66,.12); }
.capa.visible { transform: none; }
.capa.saliendo { transform: translateX(100%); }
.pad { padding-left: 20px; padding-right: 20px; }
.nav-clear { height: var(--nav-clear); flex: none; }
.bottom-clear { height: calc(24px + var(--sab)); flex: none; }

/* ---------- Cabecera azul ---------- */
.blue-header { background: linear-gradient(180deg, var(--header-top), var(--header-bottom)); color: #fff; flex: none; }
.blue-header .bh-content { padding: calc(12px + var(--sat)) 20px 18px; }
.blue-header .bh-curve { height: 26px; background: var(--background); border-radius: 28px 28px 0 0; }
.blue-header.rounded { border-radius: 0 0 28px 28px; }
.bh-title { font-size: 26px; font-weight: 800; letter-spacing: -.6px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.bh-sub { font-size: 13px; font-weight: 500; color: #D6E4FF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bh-row { display: flex; align-items: center; gap: 12px; }
.bh-row .grow { flex: 1; min-width: 0; }

/* ---------- Tarjetas y piezas comunes ---------- */
.card { background: var(--surface); border-radius: 22px; box-shadow: var(--card-shadow); padding: 16px; position: relative; overflow: hidden; }
.card.tap { cursor: pointer; transition: background-color .15s; }
.card.tap:active { filter: brightness(.97); }
.card.read { background: var(--read-bg); }
.icon-badge { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.icon-badge .mi { font-size: 22px; }
.circle-btn { width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: var(--card-shadow); display: grid; place-items: center; position: relative; color: var(--ink); flex: none; }
.circle-btn:active { filter: brightness(.94); }
.circle-btn .mi { font-size: 22px; }
.circle-btn .dot { position: absolute; top: 10px; right: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); border: 2px solid #fff; }
.row { display: flex; align-items: center; }
.col { display: flex; flex-direction: column; }
.grow { flex: 1; min-width: 0; }
.gap8 { gap: 8px; } .gap10 { gap: 10px; } .gap12 { gap: 12px; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.muted { color: var(--muted); }
.t11 { font-size: 11px; } .t12 { font-size: 12px; } .t13 { font-size: 13px; } .t14 { font-size: 14px; } .t15 { font-size: 15px; } .t17 { font-size: 17px; } .t20 { font-size: 20px; }
.w600 { font-weight: 600; } .w700 { font-weight: 700; } .w800 { font-weight: 800; }
.section-title { font-size: 17px; font-weight: 800; }
.divider { height: 1px; background: var(--divider); margin: 8px 0; }
.list { display: flex; flex-direction: column; gap: 8px; }

/* Chips de filtro (píldora 44 px). */
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; }
.pills::-webkit-scrollbar { display: none; }
.pill { height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; box-shadow: 0 1px 3px rgba(23,89,209,.12); flex: none; }
.pill.sel { background: var(--primary); color: #fff; box-shadow: none; }
.pill .pdot { width: 8px; height: 8px; border-radius: 50%; }

/* Resumen por estado (cantidad grande y nombre). */
.state-count { min-width: 82px; min-height: 60px; padding: 8px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--primary-track); display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.state-count.sel { border-width: 2px; padding: 7px 9px; }
.state-count b { font-size: 20px; font-weight: 800; line-height: 1.1; }
.state-count span { font-size: 11px; font-weight: 600; color: var(--muted); margin-top: 2px; white-space: nowrap; }

/* Insignia de estado. */
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }

/* Botones. */
.btn { min-height: 56px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 22px; width: 100%; }
.btn:disabled { opacity: .55; cursor: default; }
.btn:not(:disabled):active { filter: brightness(.92); }
.btn.soft { background: var(--primary-soft); color: var(--info-fg); }
.btn.white { background: #fff; color: var(--ink); }
.btn.danger { background: var(--danger-bg); color: var(--danger-fg); }
.btn.sm { min-height: 44px; font-size: 13px; }
.btn.md { min-height: 48px; font-size: 14px; }
.btn.auto { width: auto; }
.text-btn { color: var(--primary); font-weight: 700; padding: 10px 8px; border-radius: 12px; }
.text-btn:active { background: var(--primary-soft); }

/* Campos. */
.field-label { font-size: 12px; font-weight: 700; color: var(--muted); padding: 0 0 8px 8px; display: block; }
.input { width: 100%; height: 54px; border-radius: 27px; border: 2px solid transparent; background: #fff; padding: 0 22px; outline: none; font-size: 15px; color: var(--ink); }
.input::placeholder { color: #6B7B9A; }
.input:focus { border-color: var(--primary); }
.input:disabled { opacity: .7; }
textarea.input { height: auto; min-height: 96px; padding: 14px 22px; border-radius: 22px; resize: vertical; }
select.input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 26px) 50%, calc(100% - 20px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.search { position: relative; }
.search .mi { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search .input { padding-left: 52px; }
.search .search-action { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.search .search-action .bdot { position: absolute; top: 9px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
.form-error { color: var(--danger-fg); font-size: 13px; font-weight: 600; padding: 0 8px 12px; }

/* Interruptor. */
.switch { width: 64px; height: 48px; display: grid; place-items: center; flex: none; }
.switch .track { width: 50px; height: 30px; border-radius: 15px; background: #C9D6EE; position: relative; transition: background .2s; }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .2s; }
.switch.on .track { background: var(--primary); }
.switch.on .knob { left: 23px; }
.switch:disabled { opacity: .5; }

/* Segmentado (periodos). */
.segmented { display: flex; background: #fff; border-radius: 999px; padding: 4px; box-shadow: var(--card-shadow); }
.segmented button { flex: 1; height: 40px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); }
.segmented button.sel { background: var(--primary); color: #fff; }
.blue-header .segmented { background: rgba(255,255,255,.14); box-shadow: none; }
.blue-header .segmented button { color: #fff; }
.blue-header .segmented button.sel { background: #fff; color: var(--primary); }

/* Fila de alerta. */
.alert-tile { display: flex; align-items: center; gap: 12px; padding: 14px 12px; }
.alert-tile .at-time { font-size: 12px; font-weight: 600; color: var(--muted); }
.alert-tile .at-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); margin-top: 8px; }
.alert-tile .at-dot.none { background: transparent; }

/* Estados de carga, error y vacío. */
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 4px solid var(--primary-track); border-top-color: var(--primary); animation: girar .8s linear infinite; }
.spinner.sm { width: 20px; height: 20px; border-width: 2.5px; }
.spinner-white { border-color: rgba(255,255,255,.3); border-top-color: #fff; }
@keyframes girar { to { transform: rotate(360deg); } }
.state-loading { padding: 48px 0; display: grid; place-items: center; }
.state-error { padding: 40px 12px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; color: var(--muted); }
.state-error .mi { font-size: 36px; }
.state-empty { padding: 48px 12px; text-align: center; color: var(--muted); }

/* ---------- Barra inferior ---------- */
.navbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-radius: 24px 24px 0 0; box-shadow: 0 -4px 18px rgba(11,31,66,.10); padding: 8px 8px calc(8px + var(--sab)); display: flex; height: calc(var(--nav-h) + var(--sab)); }
.navbar button { flex: 1; margin: 0 3px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #3B4A66; transition: background-color .2s; min-width: 0; }
.navbar button span:last-child { font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.navbar button.sel { background: var(--primary); color: #fff; }
.navbar button.sel span:last-child { font-weight: 800; }
.tab-pane { position: absolute; inset: 0; display: none; }
.tab-pane.visible { display: block; }

/* Aviso para activar notificaciones o instalar. */
.banner { margin: 0 16px 12px; padding: 12px 12px 12px 16px; background: #fff; border-radius: 18px; box-shadow: var(--card-shadow); display: flex; align-items: center; gap: 12px; }
.banner .mi { color: var(--primary); }

/* ---------- Menú lateral ---------- */
.velo { position: absolute; inset: 0; background: rgba(11,31,66,.45); opacity: 0; transition: opacity .25s; z-index: 60; }
.velo.visible { opacity: 1; }
.drawer { position: absolute; top: 0; bottom: 0; left: 0; width: min(304px, 84%); background: var(--background); border-radius: 0 32px 32px 0; transform: translateX(-100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); z-index: 61; display: flex; flex-direction: column; overflow: hidden; }
.drawer.visible { transform: none; }
.drawer-head { background: var(--primary); border-radius: 0 32px 0 0; padding: calc(24px + var(--sat)) 20px 22px; color: #fff; }
.logo-banner { width: 100%; height: 110px; background: #fff; border-radius: 20px; padding: 12px 16px; display: grid; place-items: center; }
.logo-banner img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-banner .mi { color: var(--primary); font-size: 55px; }
.menu-item { display: flex; align-items: center; gap: 16px; min-height: 54px; padding: 0 24px; font-size: 15px; font-weight: 700; color: var(--ink); width: 100%; text-align: left; }
.menu-item:active { background: var(--primary-soft); }
.menu-item.danger { color: var(--danger-fg); }

/* Avatar del usuario (logo de la compañía). */
.avatar { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: contain; padding: 18%; }
.avatar .mi { color: var(--primary); font-size: 26px; }

/* ---------- Hojas inferiores, diálogos y avisos ---------- */
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 71; background: var(--background); border-radius: 32px 32px 0 0; padding: 12px 20px calc(16px + var(--sab)); transform: translateY(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); max-height: 88%; display: flex; flex-direction: column; }
.sheet.visible { transform: none; }
.sheet .handle { width: 44px; height: 5px; border-radius: 3px; background: var(--primary-track); margin: 0 auto 14px; flex: none; }
.sheet .sheet-title { font-size: 20px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 10px; }
.sheet .sheet-body { overflow-y: auto; flex: 1; min-height: 0; }
.velo.sheet-velo { z-index: 70; }
.dialog-wrap { position: absolute; inset: 0; z-index: 81; display: grid; place-items: center; padding: 24px; pointer-events: none; }
.dialog { background: #fff; border-radius: 28px; padding: 24px; width: 100%; max-width: 400px; box-shadow: var(--floating-shadow); pointer-events: auto; transform: scale(.94); opacity: 0; transition: transform .2s, opacity .2s; }
.dialog.visible { transform: none; opacity: 1; }
.dialog h3 { margin: 0 0 12px; font-size: 20px; font-weight: 800; }
.dialog p { margin: 0 0 8px; color: #3A4A68; font-size: 14px; line-height: 1.5; }
.dialog .acciones { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.velo.dialog-velo { z-index: 80; }
.snackbar { position: absolute; left: 12px; right: 12px; bottom: calc(var(--nav-clear) + 4px); z-index: 90; background: #23324F; color: #fff; padding: 14px 16px; border-radius: 14px; box-shadow: var(--floating-shadow); font-size: 14px; white-space: pre-line; transform: translateY(16px); opacity: 0; transition: transform .25s, opacity .25s; display: flex; align-items: center; gap: 12px; }
.snackbar.visible { transform: none; opacity: 1; }
.snackbar.sin-barra { bottom: calc(16px + var(--sab)); }
.snackbar .grow { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.snackbar button { color: #9DC0FF; font-weight: 700; }

/* ---------- Mapa ---------- */
.map { position: absolute !important; inset: 0; background: #E8EFFB; z-index: 0; }
.leaflet-container { font-family: inherit; background: #E8EFFB; }
.leaflet-control-attribution { font-size: 10px; background: rgba(255,255,255,.7) !important; }
.map-cluster { width: 46px; height: 46px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: var(--card-shadow); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.leaflet-marker-icon.sin-fondo, .leaflet-div-icon.sin-fondo { background: none; border: 0; }
.veh-icon { width: 36px; height: 36px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 3px 8px rgba(11,31,66,.25); display: grid; place-items: center; color: #fff; }
.veh-icon .mi { font-size: 18px; }
.veh-icon.truck .mi { font-size: 16px; }
.veh-sel-halo { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; }
.veh-sel-halo .veh-icon { width: 40px; height: 40px; }
.veh-sel-halo .veh-icon .mi { font-size: 20px; }
.map-label { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-weight: 800; }
.map-label.filled { padding: 5px 11px; border-radius: 10px; border: 2px solid #fff; font-size: 13px; box-shadow: 0 2px 6px rgba(11,31,66,.2); }
.map-label.outline { padding: 4px 10px; border-radius: 13px; background: #fff; font-size: 12px; color: var(--ink); border: 1.5px solid var(--primary); }
.marker-wrap { position: relative; width: 46px; height: 46px; display: grid; place-items: center; }
.marker-wrap .map-label { bottom: calc(100% + 0px); }
.map-overlay { position: absolute; z-index: 10; }
.veh-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.veh-dot i { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid #fff; display: block; }
.ruta-hito { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid #fff; color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(11,31,66,.25); }

/* Hoja fija sobre el mapa (detalle, recorrido, geocercas). */
.bottom-panel { position: absolute; left: 0; right: 0; bottom: 0; background: var(--background); border-radius: 32px 32px 0 0; box-shadow: 0 -6px 22px rgba(11,31,66,.10); display: flex; flex-direction: column; z-index: 5; }
.bottom-panel .handle { width: 44px; height: 5px; border-radius: 3px; background: var(--primary-track); margin: 10px auto 6px; flex: none; }
.float-top { position: absolute; top: calc(12px + var(--sat)); left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; z-index: 8; pointer-events: none; }
.float-top > * { pointer-events: auto; }

/* Tarjetas de datos pequeñas. */
.stat-label { font-size: 11px; font-weight: 600; color: var(--muted); }
.stat-value { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-card { background: #fff; border-radius: 18px; box-shadow: var(--card-shadow); padding: 10px 12px; min-width: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

/* Gráficas SVG. */
.chart { width: 100%; display: block; overflow: visible; }
.chart text { font-family: inherit; }
.leyenda { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); font-weight: 600; }
.leyenda i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* Barras de un Top 10. */
.rank-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.rank-row .rk-n { width: 22px; height: 22px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 11px; font-weight: 800; display: grid; place-items: center; flex: none; }
.rank-row .rk-bar { height: 6px; border-radius: 3px; background: var(--primary-track); margin-top: 5px; overflow: hidden; }
.rank-row .rk-bar i { display: block; height: 100%; border-radius: 3px; background: var(--primary); }

@media (prefers-reduced-motion: reduce) {
  .capa, .drawer, .sheet, .velo, .dialog, .snackbar { transition: none; }
}

/* Control deslizante (barra de tiempo del recorrido). */
.rango { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; margin: 0; }
.rango::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--primary-track); }
.rango::-moz-range-track { height: 6px; border-radius: 3px; background: var(--primary-track); }
.rango::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--primary); }
.rango::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(11,31,66,.25); margin-top: -8px; }
.rango::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(11,31,66,.25); }

/* Deslizar para actualizar. */
.ptr { position: absolute; top: calc(var(--sat) - 8px); left: 50%; margin-left: -20px; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--floating-shadow); display: grid; place-items: center; opacity: 0; z-index: 5; transition: transform .2s, opacity .2s; pointer-events: none; }

/* Opción en píldora pequeña (ChoiceChip). */
.choice { height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid #C2CDE0; background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.choice.sel { background: var(--primary-soft); border-color: var(--primary-soft); color: var(--info-fg); }
.choice:disabled { opacity: .4; }
