/* FAC - ¿Sabes dónde está? */
.fac-ubi { margin: 28px auto; max-width: 1180px; padding: 0 16px; box-sizing: border-box; }
.fac-ubi-in { border: 1px solid #e3e8ec; border-radius: 16px; background: #fff; padding: 22px 20px; text-align: center; display: grid; gap: 8px; justify-items: center; }
.fac-ubi-ico svg { width: 34px; height: 34px; fill: none; stroke: #8e1b2c; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fac-ubi h2 { margin: 0; font-size: 1.35rem; color: #17324d; }
.fac-ubi p { margin: 0; max-width: 620px; color: #44525d; line-height: 1.55; }
.fac-ubi-acc { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.fac-ubi-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 10px; border: 1px solid #8e1b2c; background: #8e1b2c; color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; }
.fac-ubi-btn:hover { background: #741522; }
.fac-ubi-btn.sec { background: #fff; color: #8e1b2c; }
.fac-ubi-btn.sec:hover { background: #fbf2f3; }
.fac-ubi-btn[disabled] { opacity: .6; cursor: default; }
.fac-ubi-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html.fac-ubi-abierto, html.fac-ubi-abierto body { overflow: hidden; }
.fac-ubi-modal { position: fixed; inset: 0; z-index: 2147483000; background: #fff; display: grid; grid-template-rows: auto 1fr auto; }
.fac-ubi-modal[hidden] { display: none; }
.fac-ubi-cab { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid #e3e8ec; padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
.fac-ubi-mini { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; background: #eef1f4; flex: 0 0 54px; }
.fac-ubi-cabtxt { display: grid; min-width: 0; flex: 1; }
.fac-ubi-cabtxt strong { color: #17324d; }
.fac-ubi-cabtxt span { color: #44525d; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fac-ubi-cerrar { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: #44525d; }
.fac-ubi-cerrar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.fac-ubi-mapa { position: relative; min-height: 0; }
.fac-ubi-lienzo { position: absolute; inset: 0; }
.fac-ubi-diana { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -42px 0 0 -22px; z-index: 500; pointer-events: none; }
.fac-ubi-diana svg { width: 44px; height: 44px; fill: #8e1b2c; stroke: #fff; stroke-width: 1.4; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.fac-ubi-diana svg circle { fill: #fff; stroke: none; }
.fac-ubi-capas { position: absolute; z-index: 500; left: 10px; bottom: 10px; display: flex; background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); overflow: hidden; }
.fac-ubi-capas button { border: 0; background: #fff; padding: 8px 12px; font: inherit; font-size: 13px; font-weight: 700; color: #22405a; cursor: pointer; min-height: 36px; }
.fac-ubi-capas button[aria-pressed="true"] { background: #17324d; color: #fff; }
.fac-ubi-pie { padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #e3e8ec; display: grid; gap: 8px; max-height: 46vh; overflow: auto; }
.fac-ubi-pista { margin: 0; text-align: center; color: #44525d; font-size: 14.5px; }
.fac-ubi-fila { display: flex; justify-content: center; }
.fac-ubi-fila:empty { display: none; }
.fac-ubi-mas summary { cursor: pointer; text-align: center; color: #22405a; font-size: 14px; }
.fac-ubi-mas label { display: grid; gap: 4px; margin-top: 8px; font-size: 13px; color: #44525d; }
.fac-ubi-mas textarea, .fac-ubi-mas input { font: inherit; font-size: 15px; padding: 8px 10px; border: 1px solid #c9d3da; border-radius: 8px; width: 100%; box-sizing: border-box; }
.fac-ubi-trampa { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.fac-ubi-estado { margin: 0; text-align: center; font-size: 14px; min-height: 1px; }
.fac-ubi-estado.error { color: #a5281b; }
.fac-ubi-estado.ok { color: #1d6b3c; font-weight: 700; }
.fac-ubi-pie .fac-ubi-acc { margin-top: 0; }
