/* =========================================================
   Antenaz — hoja de estilos única (tema claro por defecto)
   ========================================================= */
:root {
  --bg: #eef2f6;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --surface-3: #eef2f7;
  --glass: rgba(255, 255, 255, .92);
  --line: #e7ebf1;
  --line-2: #dfe4ec;
  --text: #0f1728;
  --text-2: #344054;
  --muted: #667085;
  --blue: #1766ff;
  --blue-600: #0f55e0;
  --blue-soft: #e9f1ff;
  --green: #12b76a;
  --green-soft: #e7f8ef;
  --red: #f04438;
  --red-soft: #feeceb;
  --yellow: #f5b100;
  --yellow-soft: #fff6db;
  --purple: #7a3cf0;
  --gray: #667085;
  --shadow: 0 10px 30px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-lg: 0 20px 50px rgba(16, 24, 40, .14);
  --r: 20px;
  --r-sm: 12px;
  --dock-h: 84px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0b1220;
  --surface: #121a2b;
  --surface-2: #172136;
  --surface-3: #1d2942;
  --glass: rgba(18, 26, 43, .92);
  --line: #223050;
  --line-2: #2a3a5c;
  --text: #eef2f8;
  --text-2: #c9d2e3;
  --muted: #8b98b3;
  --blue-soft: #16264a;
  --green-soft: #0f2d22;
  --red-soft: #3a1717;
  --yellow-soft: #3a2f0f;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, .5);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px; line-height: 1.45; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .4em; letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: 28px; } h2 { font-size: 21px; } h3 { font-size: 17px; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; background: var(--surface-3); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.ic { flex: none; display: inline-block; vertical-align: middle; }
[hidden] { display: none !important; }
:root:not([data-theme="dark"]) .only-dark, :root[data-theme="dark"] .only-light { display: none; }

/* ---------- Botones y formularios ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1 Inter, sans-serif; cursor: pointer; white-space: nowrap; transition: .15s;
  background: var(--surface-3); color: var(--text);
}
.btn:hover { filter: brightness(.97); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(23, 102, 255, .28); }
.btn-primary:hover { background: var(--blue-600); filter: none; }
.btn-soft { background: var(--blue-soft); color: var(--blue); }
.btn-ghost { background: transparent; border-color: var(--line-2); }
.btn-danger { background: var(--red-soft); color: var(--red); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; font-weight: 500; cursor: pointer; }

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.field small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 5px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=search],
input[type=datetime-local], input[type=date], input[type=month], input[type=color], select, textarea {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--text); font: 15px Inter, sans-serif; outline: none; transition: border .15s, box-shadow .15s;
}
input[type=color] { padding: 4px; width: 64px; }
textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23, 102, 255, .12); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; margin: 8px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stack > * + * { margin-top: 12px; }

/* ---------- Tarjetas ---------- */
.card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; border: 1px solid var(--line); }
.card.narrow { max-width: 440px; margin: 0 auto; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h2, .card-head h3 { margin: 0; }
.glass { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--gray); }
.chip-online { background: var(--green-soft); color: #067647; } .chip-online i { background: var(--green); }
.chip-offline { background: var(--red-soft); color: #b42318; } .chip-offline i { background: var(--red); }
.chip-lastpos { background: var(--yellow-soft); color: #9a6700; } .chip-lastpos i { background: var(--yellow); }
.chip-inactive i { background: var(--gray); }
:root[data-theme="dark"] .chip-online { color: #6ce9a6; } :root[data-theme="dark"] .chip-offline { color: #fda29b; } :root[data-theme="dark"] .chip-lastpos { color: #fec84b; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--surface-3); color: var(--text-2); }
.pill-blue { background: var(--blue-soft); color: var(--blue); }
.pill-green { background: var(--green-soft); color: #067647; }
.pill-red { background: var(--red-soft); color: #b42318; }
.pill-yellow { background: var(--yellow-soft); color: #9a6700; }

.toast { position: fixed; z-index: 90; left: 50%; top: 18px; transform: translateX(-50%); padding: 12px 18px; border-radius: 14px; background: var(--text); color: var(--surface); font-weight: 600; box-shadow: var(--shadow-lg); animation: toastIn .25s ease; max-width: calc(100vw - 32px); }
.toast-ok { background: #067647; color: #fff; } .toast-err { background: #b42318; color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -10px); } }

/* ---------- Tablas ---------- */
.table-wrap { overflow-x: auto; margin: 0 -22px; padding: 0 22px; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--surface-2); }
.t-actions { display: flex; gap: 6px; justify-content: flex-end; }
.empty { text-align: center; padding: 36px 16px; color: var(--muted); }
.empty.small { padding: 18px; font-size: 14px; }
.pager { display: flex; gap: 6px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.pager a { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--surface-3); color: var(--text); font-weight: 600; }
.pager a.active { background: var(--blue); color: #fff; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; font-weight: 800; font-size: 27px; letter-spacing: -.04em; color: var(--text); flex: none; min-width: 0; }
.logo img { display: block; height: var(--logo-h, 34px); width: auto; max-width: var(--logo-maxw, 260px); object-fit: contain; object-position: left center; }
.logo .l-dark, .logo .l-icon { display: none; }
.logo .l-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Tema oscuro: usa el logo para fondo oscuro; si no hay, pone el logo sobre una placa clara */
:root[data-theme="dark"] .logo.has-dark .l-light, .logo.on-dark.has-dark .l-light { display: none; }
:root[data-theme="dark"] .logo.has-dark .l-dark, .logo.on-dark.has-dark .l-dark { display: block; }
:root[data-theme="dark"] .logo.has-img:not(.has-dark) .l-light, .logo.on-dark.has-img:not(.has-dark) .l-light { background: #fff; border-radius: 10px; padding: 5px 10px; box-sizing: content-box; }
.logo.on-dark .l-text { color: #fff; }

/* =========================================================
   Barra superior de la app
   ========================================================= */
.topbar { position: relative; z-index: 30; display: flex; align-items: center; gap: 20px; padding: 16px 24px; }
.topbar.floating { position: fixed; top: 0; left: 0; right: 0; pointer-events: none; }
.topbar.floating > * { pointer-events: auto; }
.topbar .logo { min-width: 150px; text-shadow: 0 1px 12px rgba(255,255,255,.7); }
:root[data-theme="dark"] .topbar .logo { text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.searchbar {
  flex: 1; max-width: 690px; margin: 0 auto; height: 46px; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 16px;
  border-radius: 14px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow); color: var(--muted); font: 14px Inter, sans-serif; cursor: text; text-align: left;
}
.searchbar span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
kbd { font: 600 12px Inter, sans-serif; background: var(--surface-3); color: var(--text-2); border-radius: 8px; padding: 5px 8px; letter-spacing: .1em; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { position: relative; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text); box-shadow: var(--shadow); background: var(--glass); }
.badge-dot { position: absolute; top: 9px; right: 10px; min-width: 10px; height: 10px; border-radius: 99px; background: var(--red); border: 2px solid var(--surface); }
.account-btn { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 12px 0 6px; border-radius: 16px; border: 1px solid var(--line); cursor: pointer; color: var(--text); box-shadow: var(--shadow); font: inherit; text-align: left; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: #13233f; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex: none; }
.acc-text { display: flex; flex-direction: column; line-height: 1.2; }
.acc-text b { font-size: 14px; font-weight: 600; } .acc-text small { color: var(--muted); font-size: 12.5px; }

.dropdown { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 250px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 60; }
.dropdown.open .menu { display: block; }
.menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text); font-weight: 500; font-size: 14px; }
.menu a:hover { background: var(--surface-2); }
.menu-user { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; display: flex; flex-direction: column; }
.menu-user small { color: var(--muted); }
.menu-wide { width: 380px; padding: 0; }
.menu-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.menu-list { max-height: 380px; overflow-y: auto; padding: 6px; }
.menu-foot { justify-content: center; border-top: 1px solid var(--line); border-radius: 0 0 16px 16px !important; color: var(--blue) !important; }

/* ---------- Dock inferior ---------- */
.dock {
  position: fixed; z-index: 30; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 26px;
  background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.dock-item { width: 86px; height: 66px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--muted); font-size: 12.5px; font-weight: 500; transition: .15s; }
.dock-item:hover { color: var(--text); }
.dock-item.active { background: var(--blue-soft); color: var(--blue); }
.dock-plus { width: 60px; height: 60px; margin: 0 28px; border-radius: 50%; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(23, 102, 255, .45); transition: transform .15s; }
.dock-plus:hover { transform: scale(1.06); }

/* =========================================================
   Mapa principal
   ========================================================= */
.mode-app.map-page { overflow: hidden; height: 100vh; height: 100dvh; }
#map { position: fixed; inset: 0; z-index: 1; background: #e9eef2; }
.float { position: fixed; z-index: 20; }

.stats-card { left: 24px; top: 88px; width: 380px; padding: 20px 20px 18px; }
.stats-top { display: flex; align-items: flex-start; justify-content: space-between; }
.stats-top h3 { font-size: 16px; margin-bottom: 8px; }
.stats-total { display: flex; align-items: center; gap: 10px; }
.stats-total b { font-size: 34px; font-weight: 700; letter-spacing: -.03em; }
.trend { display: inline-flex; align-items: center; gap: 4px; background: var(--green-soft); color: #067647; font-size: 13px; font-weight: 700; padding: 3px 8px; border-radius: 8px; }
.donut-wrap { display: flex; align-items: center; gap: 10px; }
.donut { width: 76px; height: 76px; }
.round-btn { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--text-2); background: var(--surface-2); border: 0; cursor: pointer; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.stat { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: 13.5px; color: var(--text-2); cursor: pointer; border: 1px solid transparent; transition: .15s; }
.stat:hover, .stat.on { border-color: var(--line-2); background: var(--surface); }
.stat i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.stat span { flex: 1; }
.stat b { font-size: 13px; padding: 2px 8px; border-radius: 8px; background: var(--surface); }
.stat.s-online i { background: var(--green); } .stat.s-online b { background: var(--green-soft); color: #067647; }
.stat.s-offline i { background: var(--red); } .stat.s-offline b { background: var(--red-soft); color: #b42318; }
.stat.s-lastpos i { background: var(--yellow); } .stat.s-lastpos b { background: var(--yellow-soft); color: #9a6700; }
.stat.s-inactive i { background: var(--gray); } .stat.s-inactive b { background: var(--surface-3); }

.devlist { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; max-height: 34vh; overflow-y: auto; margin-right: -8px; padding-right: 8px; }
.devrow { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; cursor: pointer; }
.devrow:hover, .devrow.sel { background: var(--surface-2); }
.devrow .dname { flex: 1; min-width: 0; }
.devrow .dname b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.devrow .dname small { color: var(--muted); font-size: 12.5px; }
.devrow .spd { font-size: 12.5px; font-weight: 600; color: var(--text-2); }

.map-tools { left: 24px; top: 50%; transform: translateY(-20%); display: flex; flex-direction: column; gap: 12px; }
.tool { width: 48px; height: 48px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text); }
.tool-group { background: var(--surface); box-shadow: var(--shadow); border-radius: 14px; border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.tool-group .tool { box-shadow: none; border: 0; border-radius: 0; }
.tool-group .tool + .tool { border-top: 1px solid var(--line); }

.style-switch { left: 24px; bottom: 90px; display: flex; align-items: center; gap: 14px; padding: 6px 16px 6px 6px; border-radius: 16px; cursor: pointer; }
.style-switch .thumb { width: 70px; height: 60px; border-radius: 12px; background-size: cover; background-position: center; }
.style-switch b { font-weight: 500; font-size: 15px; }
.style-menu { position: absolute; bottom: calc(100% + 8px); left: 0; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 190px; border: 1px solid var(--line); }
.style-menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; border: 0; background: none; color: var(--text); font: 500 14px Inter, sans-serif; cursor: pointer; }
.style-menu button:hover, .style-menu button.on { background: var(--blue-soft); color: var(--blue); }

/* Panel derecho */
.right-col { right: 22px; top: 88px; width: 370px; display: flex; flex-direction: column; gap: 14px; max-height: calc(100dvh - 110px); }
.detail-card { padding: 16px; overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.detail-head { display: flex; align-items: center; gap: 14px; padding: 2px 2px 14px; }
.dev-ico { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue); flex: none; }
.detail-head h3 { font-size: 18px; margin: 0 0 4px; }
.detail-head .x { margin-left: auto; align-self: flex-start; background: none; border: 0; cursor: pointer; color: var(--text-2); padding: 4px; }
.tabs { display: flex; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 12px; margin-bottom: 8px; }
.tabs button { flex: 1; height: 38px; border: 0; background: none; border-radius: 9px; font: 500 14px Inter, sans-serif; color: var(--text-2); cursor: pointer; position: relative; }
.tabs button.on { color: var(--blue); background: var(--surface); box-shadow: 0 1px 3px rgba(16,24,40,.08); }
.tab-body { overflow-y: auto; min-height: 0; }
.info-row { display: flex; align-items: center; gap: 16px; padding: 11px 8px; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ii { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--text-2); flex: none; }
.info-row small { display: block; color: var(--muted); font-size: 13px; }
.info-row b { font-size: 15.5px; font-weight: 600; }
.info-split { display: grid; grid-template-columns: 1fr 1fr; }
.info-split .info-row { border-bottom: 0; }
.detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 14px; }
.detail-actions .btn { height: 48px; }

.alerts-card { padding: 18px 16px 10px; }
.alerts-card .card-head { margin-bottom: 8px; padding: 0 4px; }
.alerts-card .card-head a { font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.alert-row { display: flex; align-items: flex-start; gap: 12px; padding: 9px 4px; border-radius: 12px; cursor: pointer; }
.alert-row:hover { background: var(--surface-2); }
.alert-ico { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; }
.alert-time { font-size: 13.5px; color: var(--text-2); width: 44px; flex: none; padding-top: 5px; }
.alert-body { flex: 1; min-width: 0; }
.alert-body b { display: block; font-size: 14px; font-weight: 600; }
.alert-body small { display: block; color: var(--text-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alert-row.unread .alert-body b::after { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin-left: 6px; vertical-align: middle; }
.ev-danger .alert-ico { background: var(--red); } .ev-danger b { color: var(--red); }
.ev-warn .alert-ico { background: var(--yellow); }
.ev-info .alert-ico { background: #3b6cf6; }
.ev-ok .alert-ico { background: var(--green); } .ev-ok b { color: #079455; }

/* Marcadores del mapa */
.mk { position: absolute; display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; background: var(--surface); border-radius: 16px; box-shadow: 0 6px 18px rgba(16,24,40,.16); cursor: pointer; white-space: nowrap; border: 2px solid transparent; transition: border-color .15s; }
.mk.sel { border-color: var(--blue); }
.mk-ico { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; box-shadow: 0 4px 10px rgba(0,0,0,.18); position: relative; }
.mk-ico .dir { position: absolute; top: -7px; left: 50%; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 7px solid currentColor; transform-origin: 50% 28px; margin-left: -5px; }
.mk-txt b { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--text); }
.mk-txt b i { width: 8px; height: 8px; border-radius: 50%; background: var(--gray); }
.mk-txt small { display: block; color: var(--text-2); font-size: 13px; line-height: 1.25; }
.mk.st-online .mk-txt b i { background: var(--green); } .mk.st-offline .mk-txt b i { background: var(--red); } .mk.st-lastpos .mk-txt b i { background: var(--yellow); }
.mk.compact { padding: 3px; border-radius: 50%; }
.mk.compact .mk-txt { display: none; }
.mk.approx .mk-ico { outline: 2px dashed var(--text-2); outline-offset: 3px; opacity: .85; }
.mk.approx .mk-ico::after { content: "≈"; position: absolute; right: -6px; bottom: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); color: var(--text-2); font: 700 13px/18px system-ui; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.approx-note { display: block; color: var(--yellow-d, #b7791f); font-weight: 600; margin-top: 2px; }
.mk.compact .mk-ico { width: 34px; height: 34px; }
.mk-pulse::before { content: ''; position: absolute; left: 6px; top: 6px; width: 42px; height: 42px; border-radius: 50%; background: currentColor; opacity: .3; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .35; } 100% { transform: scale(1.9); opacity: 0; } }
.fence-label { background: var(--red); color: #fff; padding: 7px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 600; box-shadow: 0 6px 16px rgba(240, 68, 56, .3); line-height: 1.25; white-space: nowrap; }
.fence-label small { display: block; font-weight: 400; opacity: .9; font-size: 12.5px; }
.fence-label.blue { background: var(--blue); box-shadow: 0 6px 16px rgba(23, 102, 255, .3); }
.fence-pin { width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; box-shadow: 0 0 0 6px rgba(240,68,56,.2); }
.fence-pin.blue { background: none; box-shadow: none; color: var(--blue); }
.maplibregl-ctrl-attrib { font-size: 10px; }
.maplibregl-ctrl-bottom-right { bottom: 0; }

/* Paleta de búsqueda */
.palette { position: fixed; inset: 0; z-index: 100; background: rgba(15, 23, 40, .35); display: flex; justify-content: center; align-items: flex-start; padding-top: 12vh; }
.palette-box { width: min(640px, calc(100vw - 32px)); background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.palette-input input { border: 0; box-shadow: none !important; height: 36px; padding: 0; font-size: 16px; }
.palette-list { max-height: 50vh; overflow-y: auto; padding: 8px; }
.pal-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; color: var(--text); }
.pal-item.on, .pal-item:hover { background: var(--blue-soft); }
.pal-item small { color: var(--muted); display: block; font-size: 12.5px; }
.pal-group { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 10px 12px 4px; }

/* =========================================================
   Páginas internas de la app
   ========================================================= */
.mode-app:not(.map-page) { background: var(--bg) radial-gradient(circle at 20% 0%, rgba(23,102,255,.06), transparent 40%); min-height: 100vh; }
.page { max-width: 1240px; margin: 0 auto; padding: 8px 24px calc(var(--dock-h) + 48px); }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 10px 0 20px; flex-wrap: wrap; }
.page-head h1 { margin: 0; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 380px 1fr; gap: 20px; align-items: start; }
.map-box { height: 560px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); position: relative; border: 1px solid var(--line); }
.map-box .inner { position: absolute; inset: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.kpi { background: var(--surface); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.kpi small { color: var(--muted); font-size: 13px; display: block; }
.kpi b { font-size: 24px; letter-spacing: -.02em; }
.dev-cell { display: flex; align-items: center; gap: 12px; }
.dev-cell .ci { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.dev-cell b { display: block; } .dev-cell small { color: var(--muted); }
.int-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.int-card { background: var(--surface); border-radius: 16px; border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.int-card .row b { font-size: 15px; }
.int-card .ic-wrap { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue); flex: none; }
.int-card p { font-size: 13.5px; color: var(--text-2); margin: 0; }
.int-card .models { font-size: 12.5px; color: var(--muted); }
label.int-pick { cursor: pointer; }
label.int-pick input { display: none; }
label.int-pick:has(input:checked) .int-card { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,102,255,.15); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 40px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.copy-box { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px dashed var(--line-2); padding: 10px 12px; border-radius: 12px; font-family: ui-monospace, monospace; font-size: 14px; }
.copy-box span { flex: 1; word-break: break-all; }
.section-title { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin: 18px 0 10px; }
.tabs-line { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs-line a { padding: 10px 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs-line a.on { color: var(--blue); border-color: var(--blue); }
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(15,23,40,.4); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal .card { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; }
.playback { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.playback input[type=range] { flex: 1; accent-color: var(--blue); }

/* =========================================================
   Público: landing, login
   ========================================================= */
.mode-plain { background: var(--bg); }
.center-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; overflow: hidden; background: #0b1b3a; color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side .logo { color: #fff; }
.auth-side h2 { font-size: 34px; max-width: 420px; }
.auth-side p { color: #c9d6f2; max-width: 440px; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 32px; }
.auth-form .box { width: min(420px, 100%); }
.auth-form h1 { font-size: 30px; }
.divider { text-align: center; color: var(--muted); font-size: 13px; margin: 16px 0; }

.lp-nav { max-width: 1200px; margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lp-nav nav { display: flex; gap: 22px; align-items: center; }
.lp-nav nav a:not(.btn) { color: var(--text-2); font-weight: 500; }
.hero { max-width: 1200px; margin: 0 auto; padding: 40px 24px 20px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 58px; line-height: 1.02; letter-spacing: -.045em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p.lead { font-size: 19px; color: var(--text-2); max-width: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 18px; }
.hero-cta .btn { height: 52px; padding: 0 24px; font-size: 16px; }
.hero-art { position: relative; height: 520px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.hero-art #heroMap { position: absolute; inset: 0; }
.hero-art .mini { position: absolute; z-index: 5; }
.lp-section { max-width: 1200px; margin: 0 auto; padding: 60px 24px; }
.lp-section h2 { font-size: 36px; letter-spacing: -.035em; text-align: center; }
.lp-section > p.sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 34px; font-size: 17px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.feat .ic-wrap { width: 46px; height: 46px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feat p { color: var(--text-2); margin: 0; font-size: 14.5px; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.logos-row span { background: var(--surface); border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--text-2); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.plan { background: var(--surface); border-radius: 22px; border: 1px solid var(--line); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.hl { border: 2px solid var(--blue); }
.plan .price { font-size: 36px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 12px 0 22px; flex: 1; }
.plan li { display: flex; gap: 8px; padding: 6px 0; color: var(--text-2); font-size: 14.5px; }
.plan li .ic { color: var(--green); }
.lp-foot { border-top: 1px solid var(--line); padding: 30px 24px; text-align: center; color: var(--muted); font-size: 14px; }

/* =========================================================
   Admin
   ========================================================= */
.admin { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { background: var(--surface); border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 20px; }
.side-top .logo { font-size: 23px; }
.side nav { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
.side a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text-2); font-weight: 500; font-size: 14.5px; }
.side a:hover { background: var(--surface-2); color: var(--text); }
.side a.active { background: var(--blue-soft); color: var(--blue); }
.side-foot { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.side-foot small { padding: 8px 12px 0; overflow: hidden; text-overflow: ellipsis; }
.admin-main { padding: 28px 32px 60px; min-width: 0; }
.admin-main .page-head { margin-top: 0; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cols-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.logbox { background: #0b1220; color: #d7e1f5; border-radius: 14px; padding: 14px; font: 12.5px/1.5 ui-monospace, monospace; max-height: 420px; overflow: auto; white-space: pre-wrap; word-break: break-all; }
.dropzone { display: block; border: 2px dashed var(--line-2); border-radius: 18px; padding: 32px; text-align: center; cursor: pointer; transition: .15s; background: var(--surface-2); }
.dropzone:hover, .dropzone.over { border-color: var(--blue); background: var(--blue-soft); }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1180px) {
  .right-col { width: 340px; }
  .stats-card { width: 340px; }
  .dock-item { width: 72px; }
}
@media (max-width: 980px) {
  .split, .cols-2, .cols-2-1, .hero, .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 42px; }
  .hero-art { height: 380px; }
  .admin { grid-template-columns: 1fr; }
  .side { position: static; height: auto; }
  .side nav { flex-direction: row; overflow-x: auto; }
  .side-foot { display: none; }
  .admin-main { padding: 20px 16px 60px; }
  .acc-text { display: none; }
  .searchbar span { font-size: 13px; }
  .searchbar kbd { display: none; }
  .topbar .logo { min-width: 0; font-size: 22px; }
  .right-col { left: 12px; right: 12px; width: auto; top: auto; bottom: 102px; max-height: 52dvh; }
  .right-col .alerts-card { display: none; }
  .stats-card { left: 12px; right: 12px; width: auto; top: 76px; padding: 14px; }
  .stats-card .devlist, .stats-card .donut-wrap { display: none; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
  .stat { flex-direction: column; gap: 4px; padding: 8px 4px; font-size: 11px; text-align: center; }
  .stat span { display: none; }
  .map-tools { left: auto; right: 12px; top: 250px; transform: none; }
  .style-switch { left: 12px; bottom: 100px; }
  .style-switch .thumb { width: 44px; height: 40px; }
  .topbar { padding: 12px; gap: 10px; }
  .top-actions { gap: 8px; }
  .icon-btn { width: 42px; height: 42px; }
  .account-btn { height: 46px; padding: 0 6px; gap: 4px; }
  .account-btn .ic { display: none; }
  .dock { left: 8px; right: 8px; transform: none; justify-content: space-between; bottom: 10px; padding: 6px; }
  .dock-item { width: auto; flex: 1; font-size: 11px; height: 58px; }
  .dock-plus { margin: 0 6px; width: 52px; height: 52px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .page { padding: 4px 14px calc(var(--dock-h) + 40px); }
  .menu-wide { width: min(360px, calc(100vw - 24px)); right: -60px; }
  .lp-nav nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .feat-grid, .kpis { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .searchbar { display: none; }
  .topbar .top-actions { margin-left: auto; }
}

.only-mobile { display: none; }
@media (max-width: 980px) { .only-mobile { display: block; } }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
.maplibregl-popup-content { border-radius: 12px; font: 13px Inter, sans-serif; color: #0f1728; }

/* ---------- Botón de pánico ---------- */
.sos-wrap { max-width: 560px; display: flex; flex-direction: column; gap: 16px; }
.sos-card { text-align: center; padding: 28px 22px; }
.sos-head h1 { margin-bottom: 6px; }
.sos-btn { position: relative; width: 230px; height: 230px; margin: 22px auto 16px; border-radius: 50%; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #ff6b5f, #e5251a 60%, #b8160d); color: #fff; box-shadow: 0 18px 40px rgba(240,68,56,.45), inset 0 -8px 20px rgba(0,0,0,.18);
  -webkit-user-select: none; user-select: none; touch-action: none; -webkit-touch-callout: none; transition: transform .15s; }
.sos-btn::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; background: rgba(240,68,56,.18); animation: sosPulse 2s infinite; z-index: -1; }
@keyframes sosPulse { 0% { transform: scale(.92); opacity: 1; } 100% { transform: scale(1.12); opacity: 0; } }
.sos-btn.holding { transform: scale(.96); }
.sos-label { font-size: 56px; font-weight: 800; letter-spacing: .04em; line-height: 1; }
.sos-btn small { font-size: 14px; opacity: .9; margin-top: 8px; font-weight: 500; }
.sos-ring { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); transform: rotate(-90deg); pointer-events: none; }
.sos-ring circle { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; }
.sos-btn.holding .sos-ring circle { transition: stroke-dashoffset 2s linear; stroke-dashoffset: 0; opacity: .95; }
.sos-btn.sending { opacity: .75; pointer-events: none; }
.sos-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); background: var(--surface-2); padding: 8px 14px; border-radius: 999px; }
.sos-status.ok { color: #067647; background: var(--green-soft); }
.sos-done { padding: 10px 0; }
.sos-ok { width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.sos-fab { left: 12px; bottom: 170px; width: 60px; height: 60px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; letter-spacing: .03em; box-shadow: 0 10px 24px rgba(240,68,56,.45); }
@media (min-width: 981px) { .sos-fab { left: auto; right: 410px; bottom: 30px; } }

/* ---------- Páginas legales ---------- */
.legal-wrap { max-width: 860px; margin: 0 auto; padding: 10px 24px 40px; }
.legal { padding: 36px 40px; line-height: 1.65; font-size: 15.5px; color: var(--text-2); }
.legal h1 { font-size: 32px; color: var(--text); margin-bottom: 18px; }
.legal h2 { font-size: 20px; color: var(--text); margin: 28px 0 10px; }
.legal h3 { font-size: 17px; color: var(--text); margin: 20px 0 8px; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 1em; }
.legal li { margin: 4px 0; }
.legal blockquote { margin: 0 0 1em; padding: 10px 16px; border-left: 4px solid var(--blue); background: var(--surface-2); border-radius: 0 10px 10px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: 14px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--surface-2); color: var(--text); }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.legal-others { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.legal-others a { background: var(--surface); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.lp-foot a { color: var(--muted); }
.lp-foot a:hover { color: var(--blue); }
.auth-legal { margin-top: 18px; font-size: 12.5px; color: var(--muted); text-align: center; }
.auth-legal a { color: var(--muted); text-decoration: underline; }
.editor { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.editor-bar { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; background: var(--surface-2); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
.editor-bar button { min-width: 34px; height: 34px; border: 0; background: none; border-radius: 8px; cursor: pointer; color: var(--text); font: 600 15px Inter, sans-serif; }
.editor-bar button:hover, .editor-bar button.on { background: var(--surface); box-shadow: 0 1px 2px rgba(16,24,40,.08); }
.editor-bar .sep { width: 1px; background: var(--line-2); margin: 6px 4px; }
.editor-bar .ed-html { margin-left: auto; font-family: ui-monospace, monospace; font-size: 13px; }
.editor-area { min-height: 480px; max-height: 70vh; overflow-y: auto; padding: 22px 26px; outline: none; background: var(--surface); }
.editor-src { width: 100%; min-height: 480px; border: 0; border-radius: 0; font: 13px/1.5 ui-monospace, monospace; padding: 16px; }
@media (max-width: 700px) { .legal { padding: 22px 18px; } .legal h1 { font-size: 26px; } }
.dropdown-inline { position: relative; }
.dropdown-inline > summary { list-style: none; }
.inline-pop { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding: 12px; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); text-align: left; }
.inline-pop select, .inline-pop input { height: 36px; font-size: 14px; }
.menu .menu-legal { border-top: 1px solid var(--line); margin-top: 6px; padding: 8px 6px 2px; display: flex; flex-wrap: wrap; gap: 2px 10px; }
.menu .menu-legal a { padding: 2px 0; font-size: 12px; color: var(--muted); font-weight: 400; background: none !important; }

/* ---------- Logo por pantalla ---------- */
.side-top .logo { --logo-maxw: 150px; }
.side-top .logo img { height: min(var(--logo-h, 34px), 34px); }
.lp-nav .logo img { height: calc(var(--logo-h, 34px) * 1.1); }
.auth-side .logo img { height: calc(var(--logo-h, 34px) * 1.15); --logo-maxw: 300px; }
.legal-wrap .logo img, .center-page .logo img { margin: 0 auto; }
@media (max-width: 980px) {
  .topbar .logo { --logo-maxw: 42vw; }
  .topbar .logo img { height: min(var(--logo-h, 34px), 30px); }
  .side-top .logo img { height: min(var(--logo-h, 34px), 28px); }
  .lp-nav .logo img { height: min(var(--logo-h, 34px), 32px); --logo-maxw: 55vw; }
}
@media (max-width: 560px) {
  /* En celular, si hay ícono, se muestra el ícono en lugar del logo horizontal */
  .topbar .logo.has-icon .l-light, .topbar .logo.has-icon .l-dark, .lp-nav .logo.has-icon .l-light, .lp-nav .logo.has-icon .l-dark { display: none !important; }
  .topbar .logo.has-icon .l-icon, .lp-nav .logo.has-icon .l-icon { display: block; height: 38px; width: 38px; border-radius: 10px; background: none; padding: 0; }
  .topbar .logo { --logo-maxw: 38vw; }
  .topbar .logo img { height: min(var(--logo-h, 34px), 26px); }
}

/* ---------- Admin → Marca ---------- */
.brand-slot { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.brand-slot:last-child { border-bottom: 0; }
.brand-prev { width: 170px; height: 84px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 12px;
  background: #fff; border: 1px solid var(--line); background-image: linear-gradient(45deg, #f1f3f6 25%, transparent 25%), linear-gradient(-45deg, #f1f3f6 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f1f3f6 75%), linear-gradient(-45deg, transparent 75%, #f1f3f6 75%); background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; }
.brand-prev.dark { background: #0b1b3a; border-color: #0b1b3a; }
.brand-prev.square { width: 84px; }
.brand-prev img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-info { flex: 1; min-width: 0; }
.brand-info p { margin: 4px 0 10px; }
.pv-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin: 16px 0 6px; }
.pv { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #eef2f6; border: 1px solid var(--line); overflow: hidden; }
.pv-top .logo { min-width: 0; }
.pv-fake { flex: 1; height: 30px; border-radius: 10px; background: #fff; margin-left: 12px; max-width: 280px; }
.pv-dot { width: 30px; height: 30px; border-radius: 10px; background: #fff; flex: none; }
.pv-dark { background: #0b1220; border-color: #223050; }
.pv-dark .pv-fake, .pv-dark .pv-dot { background: #172136; }
.pv-phone { width: 260px; padding: 10px; }
.pv-phone .logo img.ph-logo { height: min(var(--logo-h, 34px), 26px); max-width: 150px; }
.pv-phone .ph-icon { display: none; height: 34px; width: 34px; border-radius: 9px; }
.pv-phone.show-icon .ph-logo { display: none; }
.pv-phone.show-icon .ph-icon { display: block; }
.pv-phone .pv-dot { width: 26px; height: 26px; }
.pv-side { background: #fff; width: 210px; }
.pv-auth { min-height: 0; padding: 22px; background: #0b1b3a; border-color: #0b1b3a; display: flex; }
.pv-appicon { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.pv-appicon img { width: 58px; height: 58px; border-radius: 50%; box-shadow: var(--shadow); }
.pv-appicon.ios img { border-radius: 14px; }
.pv-tab { display: flex; align-items: center; gap: 8px; background: #dfe4ec; border-radius: 10px 10px 0 0; padding: 8px 12px; font-size: 12.5px; max-width: 180px; }
.pv-tab img { width: 16px; height: 16px; }
.pv-tab span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-notif { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 10px 12px; font-size: 13px; position: relative; }
.pv-notif .pv-nicon { width: 36px; height: 36px; border-radius: 8px; }
.pv-notif small { display: block; color: var(--muted); }
.pv-badge { position: absolute; top: -8px; left: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; }
.pv-badge img { width: 14px; height: 14px; }
@media (max-width: 700px) { .brand-slot { flex-direction: column; } .brand-prev { width: 100%; } }

/* ---------- Cuentas de familia ---------- */
.fam-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.fam-card { align-items: flex-start; }
.fam-card .ic-wrap { width: 48px; height: 48px; border-radius: 14px; }
.fam-card b { font-size: 16px; margin-top: 4px; }
.more-opts > summary { cursor: pointer; font-weight: 600; color: var(--blue); padding: 6px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip-btn { border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); border-radius: 999px; padding: 5px 12px; font: 500 13px Inter, sans-serif; cursor: pointer; }
.chip-btn:hover { border-color: var(--blue); color: var(--blue); }
.kind-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 14px; }
.kind-pick label { cursor: pointer; }
.kind-pick input { display: none; }
.kind-pick .kc { border: 2px solid var(--line-2); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 4px; background: var(--surface); height: 100%; }
.kind-pick .kc b { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.kind-pick .kc small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.kind-pick input:checked + .kc { border-color: var(--blue); background: var(--blue-soft); }
.plan-tabs { max-width: 440px; margin: 0 auto 24px; }
.chan { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.chan .check { flex: 1; min-width: 220px; }
.chan .check .ic { color: var(--muted); }

/* =========================================================
   Reportes · recorrido a pantalla completa
   ========================================================= */
.rt-card { left: 24px; top: 88px; width: 360px; padding: 14px 16px 12px; }
.rt-views { display: flex; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 12px; margin-bottom: 14px; }
.rt-views a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; border-radius: 9px; font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.rt-views a.on { background: var(--surface); color: var(--blue); box-shadow: 0 1px 3px rgba(16,24,40,.08); }
.rt-dev { position: relative; display: flex; align-items: center; gap: 12px; padding: 6px 10px 6px 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.rt-dev-ico { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.rt-dev select { flex: 1; min-width: 0; border: 0; background: none; box-shadow: none; padding: 0 24px 0 0; height: 40px; font: 600 16px Inter, sans-serif; color: var(--text); appearance: none; -webkit-appearance: none; cursor: pointer; }
.rt-dev select:focus { outline: none; }
.rt-dev-chev { position: absolute; right: 12px; pointer-events: none; color: var(--muted); }
.rt-range { display: flex; gap: 6px; margin-top: 10px; }
.rt-range button { flex: 1; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font: 500 13px Inter, sans-serif; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; }
.rt-range button.on { background: var(--blue-soft); border-color: transparent; color: var(--blue); font-weight: 600; }
.rt-custom { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; margin-top: 10px; }
.rt-custom label span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.rt-custom input { height: 36px; font-size: 12.5px; padding: 0 6px; width: 100%; }
.rt-custom .btn { height: 36px; }
.rt-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.rt-kpis div { background: var(--surface-2); border-radius: 12px; padding: 9px 12px; }
.rt-kpis small { display: block; font-size: 12px; color: var(--muted); }
.rt-kpis b { font-size: 18px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.rt-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.rt-foot .link { display: inline-flex; align-items: center; gap: 5px; }

.rt-tools { left: auto; right: 414px; top: 88px; transform: none; }
.rt-menu { left: auto; right: 58px; top: 0; min-width: 250px; }
.rt-menu .menu-title { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 6px 8px 4px; }
.rt-menu .check { padding: 7px 8px; }
.rt-styles { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 0 4px 6px; }
.rt-styles button { height: 32px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font: 500 13px Inter, sans-serif; cursor: pointer; }
.rt-styles button.on { background: var(--blue-soft); color: var(--blue); border-color: transparent; }
.rt-legend { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 0 8px 6px 34px; font-size: 12px; color: var(--text-2); }
.rt-legend span::before { content: ""; display: inline-block; width: 14px; height: 4px; border-radius: 2px; background: var(--c); margin-right: 5px; vertical-align: middle; }

.rt-side { right: 22px; top: 88px; bottom: 112px; width: 370px; padding: 16px 10px 10px 16px; display: flex; flex-direction: column; }
.rt-side .card-head { margin: 0 6px 8px 0; }
.rt-side h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.rt-count { font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--text-2); border-radius: 8px; padding: 2px 8px; }
.rt-count:empty { display: none; }
.rt-side-x { display: none; background: none; border: 0; color: var(--text-2); cursor: pointer; }
.rt-list { overflow-y: auto; min-height: 0; flex: 1; padding-right: 6px; }
.rt-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; cursor: pointer; }
.rt-item:hover { background: var(--surface-2); }
.rt-item.cur { background: var(--blue-soft); }
.rt-item b { font-size: 14px; display: block; }
.rt-item small { color: var(--muted); font-size: 12.5px; }
.rt-i-ico { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; font-size: 12.5px; font-weight: 700; }
.rt-i-stop { background: var(--surface); color: var(--c); border: 2px solid var(--c); }
.rt-i-a { background: #12b76a; color: #fff; } .rt-i-b { background: #101828; color: #fff; }
.rt-ev { padding: 0; } .rt-ev .rt-evrow { flex: 1; padding: 8px; margin: 0; border: 0; }

.rt-player { left: 24px; right: 414px; bottom: 112px; padding: 12px 16px 8px; margin: 0 auto; max-width: 820px; }
.rt-p-row { display: flex; align-items: center; gap: 14px; }
.rt-play { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; box-shadow: 0 8px 20px rgba(23,102,255,.35); transition: transform .12s; }
.rt-play:hover { transform: scale(1.05); }
.rt-play svg { fill: currentColor; }
.rt-p-now { min-width: 0; flex: 1; }
.rt-p-now b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rt-p-now small { color: var(--text-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.rt-p-ctrl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.rt-chip, .rt-p-ctrl select { height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font: 500 13px Inter, sans-serif; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; width: auto; }
.rt-follow input { margin: 0; width: 15px; height: 15px; accent-color: var(--blue); }
.rt-list-btn { display: none; }
.rt-timeline { position: relative; margin-top: 8px; cursor: pointer; touch-action: none; user-select: none; }
.rt-timeline canvas { display: block; width: 100%; height: 46px; }
.rt-tl-labels { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 1px; }

/* Unidad en reproducción */
.rt-veh { position: relative; width: 44px; height: 44px; }
.rt-dot { position: absolute; inset: 4px; border-radius: 50%; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.28); }
.rt-arrow { position: absolute; inset: -10px; transition: transform .25s linear; }
.rt-arrow::before { content: ""; position: absolute; left: 50%; top: 0; margin-left: -8px; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 12px solid var(--c); filter: drop-shadow(0 1px 1px rgba(0,0,0,.3)); }
.rt-veh.stopped .rt-arrow { opacity: .35; }
.rt-tip { position: absolute; bottom: calc(100% + 14px); left: 50%; transform: translateX(-50%); background: var(--surface); color: var(--text); font: 600 12.5px Inter, sans-serif; padding: 5px 10px; border-radius: 10px; white-space: nowrap; box-shadow: 0 4px 14px rgba(16,24,40,.18); font-variant-numeric: tabular-nums; }
.rt-tip:empty { display: none; }
.rt-pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; color: #fff; border: 2px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.25); cursor: pointer; }
.rt-pin svg { transform: rotate(45deg); }
.rt-pin-a { background: #12b76a; } .rt-pin-b { background: #101828; }
.rt-stop { width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--c); border: 2.5px solid var(--c); font: 700 11.5px Inter, sans-serif; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.2); cursor: pointer; }

@media (max-width: 1180px) {
  .rt-card { width: 330px; }
  .rt-side { width: 330px; }
  .rt-tools { right: 372px; }
  .rt-player { right: 372px; }
}
@media (max-width: 980px) {
  .rt-card { left: 10px; right: 10px; width: auto; top: 72px; padding: 10px; }
  .rt-views { margin-bottom: 8px; } .rt-views a { height: 30px; font-size: 12.5px; }
  .rt-dev { padding: 4px 8px 4px 4px; } .rt-dev-ico { width: 34px; height: 34px; } .rt-dev select { height: 34px; font-size: 15px; }
  .rt-range { margin-top: 8px; } .rt-range button { height: 32px; font-size: 12.5px; }
  .rt-custom { grid-template-columns: 1fr 1fr; } .rt-custom .btn { grid-column: span 2; }
  .rt-kpis { grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 8px; }
  .rt-kpis div { padding: 6px 7px; } .rt-kpis small { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rt-kpis b { font-size: 13.5px; }
  .rt-foot { display: none; }
  .rt-tools { right: 10px; top: auto; bottom: 250px; gap: 8px; }
  .rt-tools .tool { width: 42px; height: 42px; }
  .rt-player { left: 8px; right: 8px; bottom: 92px; padding: 10px 12px 6px; }
  .rt-play { width: 46px; height: 46px; }
  .rt-p-now b { font-size: 17px; }
  .rt-p-row { gap: 10px; }
  .rt-follow { display: none; }
  .rt-list-btn { display: inline-flex; }
  .rt-side { display: none; left: 8px; right: 8px; width: auto; top: auto; bottom: 92px; max-height: 62dvh; z-index: 30; box-shadow: var(--shadow-lg); }
  .rt-side-x { display: block; }
  .rt-list-open .rt-side { display: flex; }
}
@media (max-width: 560px) {
  #pRestart { display: none; }
  .rt-p-ctrl select { padding: 0 6px; }
}
.rt-i-ev { color: #fff; } .rt-i-ev.ev-danger { background: var(--red); } .rt-i-ev.ev-warn { background: var(--yellow); } .rt-i-ev.ev-info { background: #7a3cf0; } .rt-i-ev.ev-ok { background: var(--green); }
.rt-item small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* =========================================================
   Geocercas · mapa a pantalla completa
   ========================================================= */
.gf-card { left: 24px; top: 88px; width: 370px; max-height: calc(100dvh - 200px); padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.gf-card > div, .gf-card > form { display: flex; flex-direction: column; min-height: 0; }
.gf-card [hidden] { display: none !important; }
.gf-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 16px 16px 10px; }
.gf-head h3 { margin: 0; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.gf-head p { margin: 3px 0 0; }
#gForm .gf-head { align-items: center; border-bottom: 1px solid var(--line); padding: 10px 12px; }
#gForm .gf-head h3 { flex: 1; }
.gf-back, .gf-del { width: 36px; height: 36px; border-radius: 10px; border: 0; background: var(--surface-2); color: var(--text-2); display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.gf-del:hover { background: var(--red-soft); color: var(--red); }
.gf-filter { display: flex; align-items: center; gap: 8px; margin: 0 16px 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.gf-filter input { border: 0; height: 38px; padding: 0; background: none; box-shadow: none; }
.gf-rows { overflow-y: auto; padding: 0 8px 10px; min-height: 0; }
.gf-row { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 12px; cursor: pointer; }
.gf-row:hover, .gf-row.sel { background: var(--surface-2); }
.gf-ico { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.gf-txt { flex: 1; min-width: 0; }
.gf-txt b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-txt small { color: var(--muted); font-size: 12.5px; }
.gf-red { color: var(--red); font-weight: 600; }
.gf-in { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 700; color: #067647; background: var(--green-soft); padding: 3px 8px; border-radius: 8px; }
.gf-go { color: var(--muted); display: flex; }
.gf-empty { text-align: center; padding: 18px 16px 22px; }
.gf-empty-ico { width: 56px; height: 56px; border-radius: 18px; background: var(--blue-soft); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.gf-empty b { display: block; font-size: 15.5px; }
.gf-empty p { margin: 6px 0 14px; }
.gf-body { overflow-y: auto; padding: 14px 16px 6px; min-height: 0; }
.gf-body .field { margin-bottom: 12px; }
.gf-body .tabs button { font-size: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.gf-rad { background: var(--surface-2); border-radius: 14px; padding: 12px 14px; margin: 6px 0 12px; }
.gf-rad-top { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--text-2); }
.gf-rad-top b { color: var(--text); font-size: 15px; }
.gf-rad input[type=range] { width: 100%; accent-color: var(--blue); margin: 8px 0 6px; }
.gf-presets { display: flex; gap: 6px; }
.gf-presets button { flex: 1; height: 30px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); font: 500 12.5px Inter, sans-serif; color: var(--text-2); cursor: pointer; }
.gf-presets button:hover { border-color: var(--blue); color: var(--blue); }
.gf-colors { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.gf-colors .muted { margin-right: 4px; }
.gf-colors button { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--surface); background: var(--c); box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.gf-colors button.on { box-shadow: 0 0 0 2px var(--c); }
.gf-opts .check { padding: 5px 0; }
.gf-foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 12px 16px 14px; border-top: 1px solid var(--line); }

.gf-search { left: 410px; top: 88px; width: min(380px, calc(100vw - 530px)); display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 48px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); color: var(--muted); }
.gf-search input { border: 0; background: none; box-shadow: none; padding: 0; height: 46px; font-size: 14.5px; }
.gf-results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; max-height: 320px; overflow-y: auto; }
.gf-results button { display: flex; align-items: flex-start; gap: 10px; width: 100%; text-align: left; padding: 9px 10px; border: 0; background: none; border-radius: 10px; color: var(--text); font: 400 13.5px/1.35 Inter, sans-serif; cursor: pointer; }
.gf-results button:hover { background: var(--surface-2); }
.gf-results svg { flex: none; color: var(--muted); margin-top: 1px; }
.gf-tools { left: auto; right: 24px; top: 88px; transform: none; }

.gf-hint { left: 50%; transform: translateX(-50%); bottom: 116px; display: flex; align-items: center; gap: 10px; background: #101828; color: #fff; padding: 8px 10px 8px 8px; border-radius: 14px; font-size: 13.5px; box-shadow: var(--shadow-lg); max-width: calc(100vw - 40px); }
.gf-hint-ico { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; flex: none; }
.gf-hint.ok .gf-hint-ico { background: var(--green); }
.gf-hint #polyTools { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; }
.gf-hint #polyTools[hidden] { display: none; }
.gf-hint .muted { color: #98a2b3; white-space: nowrap; }
.gf-hint .rt-chip { height: 30px; background: rgba(255,255,255,.1); border-color: transparent; color: #fff; }

.gf-label { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); color: var(--text); padding: 4px 10px 4px 8px; border-radius: 10px; font: 600 12.5px Inter, sans-serif; box-shadow: 0 3px 10px rgba(16,24,40,.16); white-space: nowrap; cursor: pointer; }
.gf-label i { width: 9px; height: 9px; border-radius: 50%; }
.gf-label b { background: var(--green-soft); color: #067647; border-radius: 6px; padding: 0 6px; font-size: 11.5px; }
.gf-label.off { opacity: .55; }
.gf-dev { opacity: .92; }
.gf-editing .gf-dev { opacity: .5; pointer-events: none; }
.gf-handle { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--c); box-shadow: 0 2px 6px rgba(0,0,0,.3); cursor: grab; }
.gf-handle.center { width: 22px; height: 22px; background: var(--c); border-color: #fff; }
.gf-handle.edge { cursor: ew-resize; }
.gf-handle.vertex.first { width: 22px; height: 22px; }
.gf-handle:active { cursor: grabbing; }

@media (max-width: 1180px) {
  .gf-card { width: 340px; }
  .gf-search { left: 378px; width: min(340px, calc(100vw - 470px)); }
}
@media (max-width: 980px) {
  .gf-search { left: 10px; right: 64px; width: auto; top: 72px; height: 44px; }
  .gf-tools { right: 10px; top: 72px; gap: 8px; }
  .gf-tools .tool { width: 42px; height: 42px; }
  .gf-tools #btnFit { display: none; }
  .gf-card { left: 8px; right: 8px; width: auto; top: auto; bottom: 92px; max-height: 44dvh; box-shadow: var(--shadow-lg); }
  .gf-editing .gf-card { max-height: 56dvh; }
  .gf-hint { top: 124px; bottom: auto; left: 10px; right: 10px; transform: none; font-size: 12.5px; flex-wrap: wrap; }
  .gf-head { padding: 12px 14px 8px; }
  .gf-head p { display: none; }
}
.gf-editing .gf-label { pointer-events: none; }
@media (max-width: 980px) {
  .gf-editing .gf-card { max-height: 46dvh; }
  .gf-hint { right: 62px; top: 124px; padding: 6px 8px; gap: 8px; }
  .gf-hint-ico { width: 26px; height: 26px; }
  .gf-min .gf-body { display: none; }
  .gf-min #gForm .gf-head::after { content: "Toca para ver opciones"; font-size: 12px; color: var(--muted); white-space: nowrap; }
  .gf-min #gForm .gf-head h3 { font-size: 15px; }
}
