/* Portal de clientes y brokers · misma línea gráfica del CRM, la disponibilidad y la ficha del cliente */
@font-face { font-family: "RM Neue"; src: url(fuentes/RMNeue-300.ttf) format("truetype"); font-weight: 300 500; font-display: swap; }
@font-face { font-family: "RM Neue"; src: url(fuentes/RMNeue-600.ttf) format("truetype"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Manner Pro"; src: url(fuentes/MannerPro-400.otf) format("opentype"); font-display: swap; }
:root {
  --navy: #002856; --navy2: #0B3D78; --cobalt: #0055B8; --celeste: #96DAEA; --petrol: #006068; --cream: #F1E4B2;
  --ink: #101820; --paper: #F4F8FA; --card: #fff; --muted: #5B7085; --muted2: #A9C4DC; --rule: #DCE7EE;
  --ok: #1B7F55; --ok-bg: #EAF6EF; --ojo: #8A5E0C; --ojo-bg: #FFF4DC; --mal: #B42318; --mal-bg: #FDECEA; --azul-bg: #E4F3F6;
  --serif: "Manner Pro", Georgia, serif; --sombra: 0 14px 40px rgba(0, 40, 86, .14); --sombra-s: 0 2px 10px rgba(0, 40, 86, .06);
  font-family: "RM Neue", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); }
body { font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-weight: 400; font-family: var(--serif); color: var(--navy); }
h1 { font-size: clamp(30px, 7vw, 42px); line-height: 1.05; letter-spacing: -.01em; }
h2 { font-size: 22px; line-height: 1.15; }
a { color: var(--cobalt); }
button { font: inherit; }

/* Botones */
.btn { font: inherit; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--cobalt); background: transparent; color: var(--cobalt);
  border-radius: 100px; padding: 10px 18px; cursor: pointer; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: background .15s, color .15s; }
.btn:hover { background: var(--cobalt); color: #fff; }
.btn-primario { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-primario:hover { background: var(--navy2); border-color: var(--navy2); }
.btn-claro { background: var(--celeste); border-color: var(--celeste); color: var(--navy); }
.btn-claro:hover { background: #B8E7F2; color: var(--navy); }
.btn-texto { border: 0; padding: 6px 8px; min-height: 0; }
.btn-grande { min-height: 52px; width: 100%; font-size: 12.5px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
input, select { font: inherit; font-size: 16px; border: 1px solid var(--rule); border-radius: 10px; padding: 11px 14px; width: 100%; min-height: 48px; background: #fff; color: var(--ink); }
input:focus, select:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(0, 85, 184, .15); }

/* Idiomas: tres botones, no un menú */
.idiomas { display: inline-flex; border: 1px solid rgba(255, 255, 255, .28); border-radius: 100px; padding: 2px; }
.idiomas button { border: 0; background: transparent; color: var(--muted2); font-size: 11px; font-weight: 600; letter-spacing: .08em; padding: 5px 9px; border-radius: 100px; cursor: pointer; min-width: 34px; }
.idiomas button.on { background: rgba(150, 218, 234, .18); color: #fff; }

/* ===== Entrada ===== */
.entrada { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative;
  background: radial-gradient(120% 70% at 50% 0%, #0E4A8C 0%, var(--navy2) 38%, var(--navy) 100%);
  padding: 72px max(20px, env(safe-area-inset-left)) calc(24px + env(safe-area-inset-bottom)); color: #fff; }
.idiomas-entrada { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; }
.entrada-caja { width: 100%; max-width: 380px; text-align: center; }
.entrada-logo { height: 30px; width: auto; display: block; margin: 0 auto; }
.entrada-eyebrow { margin: 22px 0 0; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--celeste); }
.entrada-titulo { color: #fff; margin-top: 18px; font-size: clamp(36px, 10vw, 46px); }
.entrada-texto { color: #CDE4F5; margin: 12px auto 26px; max-width: 320px; }
.entrada form { display: grid; gap: 12px; text-align: left; }
.entrada-campo { display: grid; gap: 8px; }
.entrada-campo span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted2); }
.entrada-campo input { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .26); color: #fff; }
.entrada-campo input::placeholder { color: rgba(205, 228, 245, .55); }
.entrada-campo input:focus { border-color: var(--celeste); box-shadow: 0 0 0 3px rgba(150, 218, 234, .2); }
.entrada-aviso { min-height: 1.5em; margin: 16px 0 0; color: var(--cream); font-size: 14px; }
.entrada-aviso.bien { color: var(--celeste); }
.entrada-seg { display: flex; gap: 8px; align-items: flex-start; justify-content: center; max-width: 360px; margin: 40px auto 0; color: #7F9CB8; font-size: 12px; text-align: left; }
.entrada-seg svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ===== Barra ===== */
.vista-previa { background: var(--cream); color: var(--navy); font-size: 13px; padding: 9px 16px; display: flex; gap: 10px; align-items: center; justify-content: center; text-align: center; position: sticky; top: 0; z-index: 5; }
.vista-previa b { font-weight: 600; }
.barra { background: var(--navy); color: #fff; padding: 12px max(16px, env(safe-area-inset-left)); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.marca { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.marca img { height: 18px; width: auto; max-width: 190px; object-fit: contain; object-position: left center; display: block; }
.marca img.ocean { height: 16px; }
.marca-fila { display: flex; align-items: center; gap: 12px; min-width: 0; }
.marca-sep { width: 1px; height: 24px; background: rgba(255, 255, 255, .35); flex-shrink: 0; }
.marca img.agencia { height: 26px; max-width: 120px; flex-shrink: 1; min-width: 0; }
@media (max-width: 420px) { .marca-fila { gap: 10px; } .marca img.agencia { height: 22px; max-width: 96px; } }
.marca small { font-size: 8.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--celeste); font-weight: 600; }
.usuario { display: flex; align-items: center; gap: 10px; }
.btn-salir { border: 0; background: transparent; color: var(--celeste); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; padding: 8px 4px; }

/* ===== Página ===== */
.vista { max-width: 1040px; margin: 0 auto; padding: 0 16px 56px; }
.cargando { display: grid; place-items: center; padding: 80px 0; }
.cargando i { width: 28px; height: 28px; border: 3px solid var(--rule); border-top-color: var(--petrol); border-radius: 50%; animation: gira .8s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.pie { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); font-size: 12px; padding: 0 16px calc(24px + env(safe-area-inset-bottom)); text-align: center; }

/* Bienvenida: banda azul con la esquina redonda, como la ficha del cliente */
.hero { background: linear-gradient(170deg, var(--navy) 0%, var(--navy2) 70%, #0E4A8C 100%); color: #fff; margin: 0 calc(50% - 50vw); padding: 26px max(22px, calc(50vw - 504px)) 62px; border-radius: 0 0 28px 28px; position: relative; }
.hero.corto { padding-bottom: 24px; }
.hero h1 { color: #fff; }
.eyebrow { margin: 0 0 10px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--celeste); }
.hero-sub { color: #CDE4F5; margin: 10px 0 0; }
.frase { display: inline-flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; margin-top: 16px; background: rgba(150, 218, 234, .12); border: 1px solid rgba(150, 218, 234, .28); border-radius: 12px; padding: 10px 14px; font-size: 13px; color: #CDE4F5; }
.frase b { color: #fff; font-weight: 600; }
.sobre { margin-top: -40px; position: relative; z-index: 1; }
@media (min-width: 860px) { .hero { padding-top: 34px; padding-bottom: 70px; } .hero.corto { padding-bottom: 30px; } }
.sobre.llano { margin-top: 6px; }
html { overflow-x: clip; }

/* Tarjetas */
.tarjeta { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 20px; margin-bottom: 14px; box-shadow: var(--sombra-s); }
.tarjeta > h2 { margin-bottom: 14px; }
.nota { color: var(--muted); font-size: 12.5px; }
.vacio { color: var(--muted); text-align: center; padding: 18px 0; margin: 0; }
.et { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted); }

/* ===== Cliente ===== */
.unidad { background: var(--card); border-radius: 16px; box-shadow: var(--sombra); padding: 22px; margin-bottom: 14px; }
.unidad-cab { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.unidad-cod { font-family: var(--serif); font-size: clamp(48px, 13vw, 64px); line-height: .95; color: var(--navy); }
.unidad-det { color: var(--muted); margin-top: 6px; font-size: 14px; }
.estado-chip { flex-shrink: 0; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; padding: 5px 11px; border-radius: 100px; background: var(--azul-bg); color: var(--petrol); white-space: nowrap; }
.avance-pago { margin-top: 20px; }
.avance-pago .fila { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.avance-pago .fila b { color: var(--navy); font-weight: 600; }
.riel { height: 8px; background: #E6EEF3; border-radius: 4px; overflow: hidden; }
.riel i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--petrol), #12808A); border-radius: 4px; transition: width .6s ease; }
.cifras { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
.cifra { padding: 0 14px 0 0; }
.cifra + .cifra { padding-left: 14px; border-left: 1px solid var(--rule); }
.cifra b { display: block; font-family: var(--serif); font-weight: 400; font-size: 25px; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.2; margin-top: 2px; }
.cifra.mal b { color: var(--mal); }
.entrega { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; padding: 12px 14px; background: var(--paper); border-radius: 10px; }
.entrega b { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--petrol); line-height: 1; }
.entrega span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 520px) {
  .cifras { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .cifra:nth-child(odd) { padding-left: 0; border-left: 0; }
  .cifra:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--rule); }
}
.rej { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 860px) { .rej { grid-template-columns: minmax(0, 1fr); } }

/* Próxima cuota */
.proxima { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--ojo-bg); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.proxima b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--navy); line-height: 1.15; }
.proxima .cuando { text-align: right; font-size: 13px; color: var(--ojo); }

/* Plan de pagos: tabla en escritorio, lista en el teléfono */
.plan { width: 100%; border-collapse: collapse; font-size: 14px; }
.plan th { text-align: left; font-size: 9.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; padding: 8px 6px; border-bottom: 2px solid var(--navy); }
.plan td { padding: 11px 6px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.der { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.est { font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 100px; background: #E6ECF1; color: var(--muted); white-space: nowrap; display: inline-block; }
.est.pagada { background: var(--ok-bg); color: var(--ok); } .est.vencida { background: var(--mal-bg); color: var(--mal); } .est.parcial { background: var(--azul-bg); color: var(--petrol); }
tr.fila-pago td { background: var(--paper); font-size: 12.5px; padding-top: 7px; padding-bottom: 7px; color: #33475B; }
@media (max-width: 600px) {
  .plan thead { display: none; }
  .plan, .plan tbody { display: block; }
  .plan tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .plan td { padding: 0; border: 0; }
  .plan .c-con { font-weight: 600; color: var(--navy); }
  .plan .c-ven { grid-column: 1; grid-row: 2; color: var(--muted); font-size: 13px; }
  .plan .c-mon { grid-column: 2; grid-row: 1; text-align: right; }
  .plan .c-est { grid-column: 2; grid-row: 2; text-align: right; }
  .plan tr.fila-pago { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; margin: 0 0 0 10px; border-bottom: 0; background: var(--paper); border-radius: 8px; margin-top: -6px; margin-bottom: 8px; }
  .plan tr.fila-pago td { background: none; padding: 0; }
  .plan tr.fila-pago td:empty { display: none; }
}

/* Listas (recibos, clientes reportados) */
.lista { list-style: none; margin: 0; padding: 0; }
.lista li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--rule); }
.lista li:first-child { border-top: 0; padding-top: 0; }
.lista .btn { min-height: 36px; padding: 7px 14px; font-size: 10.5px; flex-shrink: 0; }

/* Avance de obra */
.linea { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--rule); }
.linea li { position: relative; padding: 0 0 18px 14px; }
.linea li::before { content: ""; position: absolute; left: -24px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--petrol); }
.linea small { color: var(--muted); display: block; }
.fotos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.fotos img { width: 110px; height: 80px; object-fit: cover; border-radius: 8px; cursor: pointer; background: var(--rule); }

/* Plano de la unidad (103) */
.plano img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 10px; }
.plano-areas { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.plano-areas b { color: var(--ink); font-weight: 600; }
.plano p { margin: 12px 0 0; }

/* Aviso flotante (en vez de ventanas del navegador) */
.aviso { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 100px; font-size: 14px; box-shadow: var(--sombra); z-index: 20; max-width: calc(100% - 32px); text-align: center; }
.aviso.mal { background: var(--mal); }

/* ===== Portal del broker (107) · primero el teléfono ===== */
.pb-resumen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.pb-resumen button { text-align: left; border: 1px solid rgba(150, 218, 234, .26); background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 10px 12px; color: #fff; cursor: pointer; min-height: 64px; }
.pb-resumen button span { display: block; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted2); }
.pb-resumen button b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; margin-top: 2px; font-variant-numeric: tabular-nums; }
.pb-resumen button.alerta b { color: var(--cream); }
@media (max-width: 600px) { .pb-resumen { grid-template-columns: 1fr 1fr; } }
.pb-pest { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 14px; padding: 10px 16px; position: sticky; top: 0; z-index: 3; background: var(--paper);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 24px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 24px), transparent 100%); }
.pb-pest::-webkit-scrollbar { display: none; }
.pb-pest button { font-size: 13px; font-weight: 600; white-space: nowrap; border: 1px solid var(--rule); background: #fff; color: var(--navy); border-radius: 100px; padding: 8px 14px; flex-shrink: 0; min-height: 40px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; box-shadow: var(--sombra-s); }
.pb-pest button b { font-size: 11px; background: var(--azul-bg); color: var(--petrol); border-radius: 100px; padding: 1px 7px; }
.pb-pest button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.pb-pest button.on b { background: var(--celeste); color: var(--navy); }
.vista-previa ~ .barra + .vista .pb-pest { top: 38px; }
.pb-cuerpo { display: grid; gap: 12px; }
@media (min-width: 760px) { .pb-cuerpo { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } .pb-cuerpo > .vacio, .pb-cuerpo > .nota, .pb-cuerpo > .pb-total, .pb-cuerpo > .tarjeta, .pb-cuerpo > .pb-solo { grid-column: 1 / -1; } }
.pb-card { background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 18px; margin: 0; box-shadow: var(--sombra-s); }
.pb-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pb-cod { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--navy); }
.pb-linea { margin: 12px 0 0; }
.pb-chip { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; padding: 5px 10px; border-radius: 100px; background: #E6ECF1; color: var(--muted); text-align: center; max-width: 60%; }
.pb-chip.ok { background: var(--ok-bg); color: var(--ok); } .pb-chip.ojo { background: var(--ojo-bg); color: var(--ojo); }
.pb-chip.mal { background: var(--mal-bg); color: var(--mal); } .pb-chip.azul { background: var(--azul-bg); color: var(--petrol); }
.pb-ancho { width: 100%; margin-top: 14px; min-height: 48px; font-size: 12px; }
.pb-aviso { margin-top: 14px; display: grid; gap: 10px; border-top: 1px solid var(--rule); padding-top: 14px; }
.pb-et { display: grid; gap: 6px; font-size: 12px; font-weight: 600; color: var(--navy); }
.pb-arch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pb-arch .btn { min-height: 48px; text-align: center; }
.pb-elegido { margin: 0; word-break: break-all; }
.pb-botones { display: flex; justify-content: flex-end; gap: 8px; }
.pb-err { color: var(--mal); font-size: 13px; margin: 0; }
.pb-err:empty { display: none; }
.pb-ok { color: var(--ok); font-size: 13px; margin: 0; font-weight: 600; }
.pb-listo { background: var(--ok-bg); color: var(--ok); padding: 12px; border-radius: 10px; margin: 0; }
.pb-aviso-mal { color: var(--mal); font-size: 13px; }
.pb-barra { height: 6px; background: #E6EEF3; border-radius: 3px; overflow: hidden; margin-top: 14px; }
.pb-barra i { display: block; height: 100%; width: 0; background: var(--petrol); border-radius: 3px; }
.pb-cifras { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin-top: 12px; }
.pb-cifras span { display: block; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pb-cifras b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--navy); font-variant-numeric: tabular-nums; }
.pb-cifras .mal b { color: var(--mal); }
.pb-total { background: var(--navy); border-radius: 14px; padding: 16px 18px; margin: 0; }
.pb-total span { color: var(--muted2); } .pb-total b { color: #fff; }
.pb-ir { margin-top: 8px; padding-left: 0; }
.pb-intro { margin: 0; }
.pb-grupo { margin-top: 12px; }
.pb-quien { font-size: 11.5px; font-weight: 600; color: var(--petrol); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.pb-doc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--rule); }
.pb-doc > span:first-child { flex: 1 1 140px; }
.pb-doc select { width: auto; min-height: 40px; padding: 6px 10px; font-size: 14px; }
.pb-doc .btn { min-height: 40px; }
.pb-doc .btn.ocupado { opacity: .6; pointer-events: none; }
.pb-doc.hecho > span:first-child { color: var(--muted); text-decoration: line-through; }
.pb-reportar { display: grid; gap: 10px; }
.pb-reportar h2 { margin: 0; }
.pb-reportar .nota { margin: 0; }
.pb-o { margin-top: 4px !important; }
.pb-der { text-align: right; flex-shrink: 0; }
.pb-solo { background: var(--ojo-bg); color: var(--ojo); border-radius: 12px; padding: 12px 14px; font-size: 13px; margin: 0; }

@media (max-width: 480px) { body { font-size: 15px; } .tarjeta, .unidad { padding: 18px 16px; } .barra { padding: 10px 16px; } }

/* (196) Código de cliente, debajo de la frase */
.frase.cod-cliente { display: flex; width: fit-content; max-width: 100%; margin-top: 8px; }
.frase.cod-cliente b { letter-spacing: .06em; font-variant-numeric: tabular-nums; }

/* (267) Cuotas y recibos: las 3 primeras; el resto con «Ver…» */
.tarjeta:not(.abierta) .oc { display: none !important; }
.btn.ver-mas { margin-top: 14px; width: 100%; justify-content: center; }

/* (505) Informe de obra: portada con la foto, edificio por edificio, antes y ahora, galería con foto grande e historial */
.io-caja { margin: 0 0 14px; container-type: inline-size; }
.io-vista { padding-top: 12px; }
.io-hero { position: relative; border-radius: 14px; overflow: hidden; background: var(--navy) center / cover no-repeat; color: #fff; min-height: 380px; display: flex; align-items: flex-end; box-shadow: var(--sombra-s); }
.io-hero-velo { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 40, 86, .2) 0%, rgba(0, 40, 86, .55) 38%, rgba(0, 32, 70, .96) 100%); }
.io-hero-t { text-shadow: 0 1px 12px rgba(0, 20, 50, .35); }
.io-hero-t { position: relative; padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.io-eye { font-size: 12.5px; font-weight: 600; color: var(--cream); letter-spacing: .02em; }
.io-hero h2 { color: #fff; font-size: clamp(34px, 6vw, 52px); line-height: 1.02; }
.io-hero p { margin: 0; font-size: 15px; line-height: 1.55; color: #E6F0FB; }
.io-cifras { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 6px; }
.io-cifras div { display: flex; flex-direction: column; }
.io-cifras b { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; }
.io-cifras span { font-size: 12px; color: #CFE3F2; margin-top: 4px; }
.io-hero-b { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.io-btn { font: inherit; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border-radius: 100px; padding: 10px 18px; min-height: 44px; cursor: pointer; border: 1px solid transparent; }
.io-btn-claro { background: var(--celeste); color: var(--navy); }
.io-btn-linea { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.io-btn-texto { background: transparent; color: var(--cobalt); border: 0; padding: 6px 8px; min-height: 36px; }
.io-cuerpo { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.io-tarjeta { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 20px; box-shadow: var(--sombra-s); }
.io-tarjeta h3 { font-size: 22px; margin: 0 0 12px; }
.io-tit { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.io-tit span { font-size: 12.5px; color: var(--muted); }
.io-edif { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; }
.io-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 12px; }
.io-chip { flex: none; height: 38px; min-width: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #C9D6E4; background: #fff; color: var(--navy); font: inherit; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.io-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.io-pila { display: flex; flex-direction: column; gap: 6px; }
.io-niv { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); }
.io-niv.io-hecho > span, .io-niv.io-curso > span, .io-niv.io-mio > span { color: var(--navy); font-weight: 600; }
.io-niv-b { position: relative; height: 34px; border-radius: 3px; background: #F4F8FA; border: 1px solid #C9D6E4; overflow: hidden; display: flex; align-items: center; }
.io-niv-b i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--cobalt); transition: width .5s cubic-bezier(.16, 1, .3, 1); }
.io-niv-b em { position: relative; font-style: normal; padding: 0 12px; font-size: 11.5px; color: var(--navy); }
.io-niv.io-hecho .io-niv-b { background: var(--navy); border-color: var(--navy); }
.io-niv.io-hecho .io-niv-b i { background: var(--navy); }
.io-niv.io-hecho .io-niv-b em { color: #fff; }
.io-niv.io-curso .io-niv-b { border-color: var(--cobalt); background: #E8F0F9; justify-content: flex-end; }
.io-niv.io-mio .io-niv-b { border: 2px solid #B5811A; background: #FBF6E4; justify-content: flex-start; }
.io-niv.io-mio .io-niv-b em { color: #4A3600; font-weight: 600; }
.io-et { margin: 0; font-size: 12.5px; color: var(--muted); }
.io-fase { margin: 2px 0 8px; font-family: var(--serif); font-size: 30px; line-height: 1.08; color: var(--navy); }
.io-det { margin: 0; font-size: 14.5px; line-height: 1.55; }
.io-pct { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.io-pct b { white-space: nowrap; font-family: var(--serif); font-weight: 400; font-size: 34px; color: var(--navy); }
.io-pct span { font-size: 12px; color: var(--muted); }
.io-riel { height: 6px; background: #EEF3F6; margin-top: 6px; overflow: hidden; }
.io-riel i { display: block; height: 6px; width: 0; background: var(--cobalt); transition: width .6s cubic-bezier(.16, 1, .3, 1); }
.io-macro { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.io-macro li { display: flex; flex-direction: column; gap: 6px; font-size: 10.5px; color: var(--muted); line-height: 1.25; }
.io-macro i { display: block; height: 6px; background: var(--rule); }
.io-macro .io-hecho i { background: var(--cobalt); }
.io-macro .io-hecho { color: var(--navy); }
.io-macro .io-curso i { background: #B5811A; }
.io-macro .io-curso { color: var(--navy); font-weight: 600; }
.io-arena { background: var(--cream); padding: 14px 18px; margin-top: 16px; display: flex; flex-direction: column; gap: 2px; }
.io-arena span { font-size: 12px; color: #4A3600; }
.io-arena b { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--navy); }
.io-aa { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #DCE7EE; }
.io-aa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.io-aa-antes { position: absolute; inset: 0; }
.io-aa-linea { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 40, 86, .25); }
.io-aa-et { position: absolute; top: 12px; background: rgba(0, 40, 86, .78); color: #fff; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.io-aa-a { left: 12px; } .io-aa-h { right: 12px; }
.io-desliza { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.io-desliza input { flex: 1; accent-color: var(--navy); min-height: 32px; }
.io-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.io-foto { position: relative; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: #DCE7EE; aspect-ratio: 4 / 3; text-align: left; }
.io-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.io-foto:hover img { transform: scale(1.03); }
.io-foto span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; font-size: 12px; color: #fff; background: linear-gradient(180deg, rgba(0, 40, 86, 0), rgba(0, 32, 70, .85)); }
.io-hist { list-style: none; padding: 0; margin: 0; }
.io-hist li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 60px auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.io-hist li.on b { color: var(--cobalt); }
.io-hist b { color: var(--navy); }
.io-hist span { color: var(--muted); min-width: 0; }
.io-hist em { font-style: normal; }
.io-nuevo { background: var(--cream); color: #4A3600; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; justify-self: start; }
.io-hist-b { display: flex; gap: 4px; justify-content: flex-end; }
.io-lb { border: 0; padding: 0; background: #001A3A; color: #fff; max-width: min(1100px, 96vw); width: 96vw; max-height: 94vh; border-radius: 12px; }
.io-lb::backdrop { background: rgba(0, 16, 36, .82); }
.io-lb img { display: block; width: 100%; max-height: 74vh; object-fit: contain; background: #000; }
.io-lb p { margin: 0; padding: 12px 18px 0; font-size: 14px; }
.io-lb-b { display: flex; justify-content: space-between; gap: 8px; padding: 12px 18px 16px; }
.io-viejos { margin-top: 6px; }
@container (max-width: 760px) {
  .io-hero { min-height: 460px; } .io-hero-t { padding: 20px; }
  .io-edif { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .io-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .io-hist li { grid-template-columns: minmax(0, 1fr) auto; } .io-hist li > span:not(.io-hist-b) { grid-column: 1 / -1; } .io-hist em { display: none; }
  .io-macro { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; } .io-macro li { font-size: 11px; }
}
/* (507) Objetivos de obra */
.io-obj-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.io-obj ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; }
.io-obj li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.io-obj li > i { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; font-weight: 700; box-sizing: border-box; margin-top: 1px; }
.io-o-ok > i { background: var(--navy); color: #fff; }
.io-o-curso > i { border: 2px solid var(--cobalt); background: linear-gradient(90deg, var(--cobalt) 0 50%, #fff 50%); }
.io-o-meta > i { border: 1.5px dashed #9FB3C6; }
.io-obj li b { display: block; font-weight: 600; font-size: 14px; color: var(--navy); }
.io-obj li small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.io-o-ok small { color: var(--ok); }
.io-o-mio b::after { content: " ★"; color: #B5811A; }
@container (max-width: 760px) { .io-obj-col { grid-template-columns: minmax(0, 1fr); } }
/* (508) Avance del mes en palabras, sin % */
.io-obj li em { display: block; font-style: normal; font-size: 12.5px; color: var(--ink); margin-top: 3px; line-height: 1.45; }
.io-lg { margin: 0 0 8px; font-size: 14px; color: var(--ok); font-weight: 600; }
.io-redes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.io-redes h3 { margin-bottom: 8px; }
.io-btn-osc { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; text-decoration: none; }
a.io-btn { text-decoration: none; display: inline-flex; align-items: center; }
@container (max-width: 760px) { .io-redes { grid-template-columns: minmax(0, 1fr); } }
@container (max-width: 760px) { .io-cifras { gap: 14px; flex-wrap: nowrap; } .io-cifras div { flex: 1 1 0; min-width: 0; } .io-cifras b { font-size: 24px; } .io-cifras span { font-size: 11px; } }
/* (509) Cada edificio piso por piso, en palabras */
.io-pila { gap: 5px; }
.io-piso { height: 36px; display: flex; align-items: center; padding: 0 14px; border-radius: 3px; font-size: 13px; background: #F4F8FA; border: 1px dashed #C9D6E4; color: #9AA8B6; }
.io-piso.io-hecho { background: var(--navy); border: 1px solid var(--navy); color: #fff; }
.io-piso.io-curso { background: #E8F0F9; border: 1.5px solid var(--cobalt); color: var(--navy); font-weight: 600; }
.io-piso.io-mio { background: #FBF6E4; border: 2px solid #B5811A; color: #4A3600; font-weight: 600; }

/* ===================================================================
   (685) Portal de brokers: Inicio, Disponibles, Ventas, Comisiones y Más
   Teléfono: barra de secciones abajo. Computadora: arriba, fija al bajar.
   =================================================================== */
.pb2 { padding-bottom: 92px; }
.pb2-hero { position: relative; overflow: hidden; }
.pb2-saldo { margin-top: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(150,218,234,.28); border-radius: 18px; padding: 16px; display: grid; gap: 12px; max-width: 560px; }
.pb2-saldo-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pb2-saldo-cab > div { display: grid; gap: 2px; min-width: 0; }
.pb2-et { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted2); }
.pb2-grande { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 8vw, 38px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.pb2-sub { font-size: 12px; color: var(--muted2); }
.pb2-ver { border: 0; background: none; color: var(--celeste); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 6px 0; white-space: nowrap; }
.pb2-barra { height: 6px; border-radius: 6px; background: rgba(255,255,255,.14); overflow: hidden; }
.pb2-barra i { display: block; height: 100%; width: 0; background: var(--celeste); border-radius: 6px; transition: width .6s; }
.pb2-dos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pb2-dos > div { display: grid; gap: 2px; min-width: 0; }
.pb2-dos span { font-size: 11px; color: var(--muted2); }
.pb2-dos b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pb2-dos small { font-size: 11px; color: var(--muted2); }

/* La barra de secciones */
.pb2-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: space-around; background: rgba(255,255,255,.97); border-top: 1px solid var(--rule);
  padding: 6px 4px calc(8px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -6px 20px rgba(0,40,86,.06); }
.pb2-nav button { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 10.5px; font-weight: 600; padding: 6px 0; min-height: 52px; cursor: pointer; }
.pb2-nav button.on { color: var(--navy); }
.pb2-nav button.on svg { stroke-width: 2.4; }
.pb2-punto { position: absolute; top: 2px; left: calc(50% + 6px); background: #B42318; color: #fff; font-size: 10px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 5px; }
@media (min-width: 900px) {
  .pb2 { padding-bottom: 0; }
  .pb2-nav { position: sticky; top: 0; bottom: auto; justify-content: flex-start; gap: 6px; margin: 0 -16px 16px; padding: 10px 16px; border-top: 0; border-bottom: 1px solid var(--rule); background: rgba(244,248,250,.96); box-shadow: none; }
  .pb2-nav button { flex: 0 0 auto; flex-direction: row; gap: 8px; font-size: 13px; padding: 8px 16px; min-height: 42px; border-radius: 100px; }
  .pb2-nav button.on { background: var(--navy); color: #fff; }
  .pb2-punto { position: static; }
  .vista-previa ~ .barra + .vista .pb2-nav { top: 38px; }
}

/* Lo que te toca */
.pb2-tit { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.pb2-tit h2 { margin: 0; }
.pb2-tarea { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--rule); }
.pb2-tarea:first-of-type { border-top: 0; }
.pb2-tarea b { font-size: 14.5px; }
.pb2-tarea p { margin: 2px 0 0; }
.pb2-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--azul-bg); color: var(--petrol); }
.pb2-ic.ojo { background: var(--ojo-bg); color: var(--ojo); } .pb2-ic.mal { background: var(--mal-bg); color: var(--mal); }
.pb2-acc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pb2-acc .btn, .pb2-acc label.btn { min-height: 40px; }
.pb2-vacio { display: flex; align-items: center; gap: 8px; color: var(--ok); margin: 6px 0 4px; }
.pb2-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pb2-mini button { text-align: left; border: 1px solid var(--rule); background: #fff; border-radius: 14px; padding: 12px; display: grid; gap: 2px; cursor: pointer; box-shadow: var(--sombra-s); font: inherit; color: var(--ink); min-width: 0; }
.pb2-mini span { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.pb2-mini b { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--navy); line-height: 1.1; }
.pb2-mini small { font-size: 11px; color: var(--muted); }
.pb2-obra { padding: 0; overflow: hidden; }
.pb2-obra-foto { position: relative; height: 170px; background: linear-gradient(180deg, #9fc3d6 0%, #d9e7ee 60%, #c7b89a 100%) center / cover no-repeat; }
.pb2-obra-et { position: absolute; left: 12px; top: 12px; background: rgba(0,40,86,.86); color: #fff; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: 5px 10px; border-radius: 100px; }
.pb2-obra-n { position: absolute; right: 12px; bottom: 10px; background: #fff; color: var(--navy); font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 100px; }
.pb2-obra-txt { padding: 14px 16px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.pb2-nov { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; cursor: pointer; font: inherit; color: var(--ink); }
.pb2-nov > span:first-child { display: grid; gap: 2px; }
.pb2-nov > span:last-child { color: var(--cobalt); font-size: 20px; }

/* Disponibles */
.pb2-seg { display: flex; gap: 6px; background: #E6EEF4; border-radius: 100px; padding: 4px; }
.pb2-seg button { flex: 1; border: 0; background: transparent; border-radius: 100px; min-height: 40px; font: inherit; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); cursor: pointer; }
.pb2-seg button.on { background: var(--navy); color: #fff; }
.pb2-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pb2-chips button { border: 1px solid var(--rule); background: #fff; border-radius: 100px; min-height: 38px; padding: 0 14px; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.pb2-chips button b { font-size: 11px; color: var(--muted); font-weight: 600; }
.pb2-chips button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.pb2-chips button.on b { color: var(--celeste); }
.pb2-unidad { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; position: relative; overflow: hidden; }
.pb2-u-plano { border-radius: 12px; background: #EEF4F8; color: var(--navy2); display: grid; place-items: center; min-height: 92px; }
.pb2-u-dat { display: grid; gap: 4px; min-width: 0; align-content: start; }
.pb2-u-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pb2-cod { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--navy); line-height: 1; }
.pb2-precio { font-size: 17px; font-variant-numeric: tabular-nums; }
.pb2-com { justify-self: start; font-size: 12px; font-weight: 600; color: var(--petrol); background: var(--azul-bg); border-radius: 100px; padding: 3px 10px; font-variant-numeric: tabular-nums; }
.pb2-u-acc { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-top: 12px; align-items: center; }
.pb2-u-acc .btn { flex: 1 1 140px; min-height: 42px; }
.pb2-volver { border: 0; background: none; color: var(--cobalt); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 6px 0; justify-self: start; }
.pb2-resu { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 14px; }
.pb2-form { display: grid; gap: 12px; }
.pb2-docfila { display: flex; gap: 8px; flex-wrap: wrap; }
.pb2-docfila select { min-height: 44px; border: 1px solid var(--rule); border-radius: 10px; padding: 0 10px; font: inherit; background: #fff; }
.pb2-docfila .btn { flex: 1 1 120px; min-height: 44px; }
.pb2-explica { margin: 0; background: var(--azul-bg); color: #00474d; border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.5; }
.pb2-pasos { list-style: none; margin: 10px 0 16px; padding: 0; display: grid; gap: 14px; counter-reset: p; }
.pb2-pasos li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; counter-increment: p; }
.pb2-pasos li::before { content: counter(p); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: #EEF4F8; color: var(--muted); }
.pb2-pasos li.si::before { content: "✓"; background: var(--ok); color: #fff; }

/* Ventas y ficha del cliente */
.pb2-h { font-size: 20px; margin: 8px 0 0; }
.pb2-hitos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 14px 0 4px; }
.pb2-hitos > div { display: flex; flex-direction: column; gap: 5px; font-size: 10.5px; color: var(--muted); line-height: 1.2; min-width: 0; }
.pb2-hitos i { display: block; height: 5px; border-radius: 5px; background: var(--rule); }
.pb2-hitos .si { color: var(--ink); } .pb2-hitos .si i { background: var(--petrol); }
.pb2-hitos .medio i { background: linear-gradient(90deg, var(--petrol) var(--p, 50%), var(--rule) var(--p, 50%)); }
.pb2-lista { list-style: none; margin: 0; padding: 0; }
.pb2-lista li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.pb2-lista li:first-child { border-top: 0; }
.pb2-lista li > span:first-child { min-width: 0; }
.pb2-cli-cab { display: flex; gap: 14px; align-items: center; }
.pb2-cli-cab h2 { margin: 0; }
.pb2-avatar { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--celeste); color: var(--navy); display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.pb2-alerta { background: var(--mal-bg); border-color: #F3C4BE; display: grid; gap: 4px; color: #7a1f16; }
.pb2-alerta b { color: var(--mal); }
.pb2-centro { text-align: center; }

/* Comisiones */
.pb2-com-res { background: linear-gradient(170deg, var(--navy) 0%, var(--navy2) 100%); color: #fff; border: 0; display: grid; gap: 14px; }
.pb2-com-res > div:first-child { display: grid; gap: 2px; }
.pb2-com-res .nota { color: var(--muted2); }
.pb2-com-res .pb2-dos > div { background: rgba(255,255,255,.08); border-radius: 12px; padding: 10px 12px; }
.pb2-com-res .pb2-dos > div.debe { background: rgba(150,218,234,.16); border: 1px solid rgba(150,218,234,.4); }
.pb2-graf { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; height: 170px; align-items: end; border-bottom: 1px solid var(--rule); padding-top: 18px; }
.pb2-graf > div { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; font-size: 10.5px; color: var(--muted); min-width: 0; }
.pb2-graf i { display: block; width: 100%; background: var(--petrol); border-radius: 4px 4px 0 0; }
.pb2-graf i.cero { background: var(--rule); }
.pb2-gv { font-weight: 600; color: var(--petrol); font-variant-numeric: tabular-nums; }
.pb2-monto { font-size: 16px; font-variant-numeric: tabular-nums; }
.pb2-tramos { list-style: none; margin: 12px 0 0; padding: 0; }
.pb2-tramos li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 11px 0; border-top: 1px solid var(--rule); }
.pb2-tramos li > i { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; background: var(--rule); }
.pb2-tramos li > i.ok { background: var(--ok); } .pb2-tramos li > i.ojo { background: #B5811A; } .pb2-tramos li > i.azul { background: var(--petrol); }
.pb2-tramos li > div:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.pb2-docs { display: flex; gap: 4px; flex-wrap: wrap; }
.pb2-prevista { background: transparent; border-style: dashed; box-shadow: none; }

/* Más */
.pb2-embudo { display: grid; gap: 9px; font-variant-numeric: tabular-nums; }
.pb2-embudo > div { display: grid; grid-template-columns: 128px minmax(0, 1fr) 30px; gap: 10px; align-items: center; font-size: 13px; }
.pb2-embudo i { display: block; height: 22px; border-radius: 6px; background: var(--petrol); min-width: 3px; }
.pb2-embudo i.oro { background: #B5811A; }
.pb2-mat { list-style: none; margin: 0; padding: 0; }
.pb2-mat li { border-top: 1px solid var(--rule); }
.pb2-mat li:first-child { border-top: 0; }
.pb2-mat button { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.pb2-mat button > span:nth-child(2) { display: grid; gap: 1px; }
.pb2-mat button > span:last-child { color: var(--cobalt); }
.pb2-mi { width: 40px; height: 40px; border-radius: 10px; background: #EEF4F8; color: var(--navy2); display: grid; place-items: center; }

/* Temporada de Navidad (las mismas fechas que el recibo de Navidad) */
.pb2-guirnalda { position: absolute; left: 0; top: 0; width: 100%; height: 56px; pointer-events: none; }
.pb2-lazo { position: absolute; right: max(14px, calc(50vw - 520px)); top: 40px; width: 56px; height: 50px; pointer-events: none; }
.pb2-nav-on h1 { padding-right: 60px; }
.pb2-navidad .hero .eyebrow { color: #E8C766; }
.pb2-nieve i { position: absolute; top: 0; width: 4px; height: 4px; border-radius: 50%; background: #fff; opacity: 0; animation: pb2nieve 8s linear infinite; pointer-events: none; }
.pb2-nieve i:nth-child(1) { left: 8%; } .pb2-nieve i:nth-child(2) { left: 24%; animation-delay: 2.4s; width: 3px; height: 3px; } .pb2-nieve i:nth-child(3) { left: 43%; animation-delay: 4.1s; }
.pb2-nieve i:nth-child(4) { left: 61%; animation-delay: 1.2s; width: 3px; height: 3px; } .pb2-nieve i:nth-child(5) { left: 78%; animation-delay: 3.3s; } .pb2-nieve i:nth-child(6) { left: 92%; animation-delay: 5.2s; width: 3px; height: 3px; }
@keyframes pb2nieve { 0% { transform: translateY(-10px); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(320px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pb2-nieve { display: none; } }
.pb2-navidad .pb2-unidad.navidad::after { content: ""; position: absolute; right: 0; top: 0; width: 54px; height: 54px; background: linear-gradient(225deg, #C9A227 0 22%, #E8C766 22% 28%, transparent 28%); pointer-events: none; }
.pb2-navtag { margin: 0; padding: 12px 14px; border-radius: 12px; background: linear-gradient(90deg, #1F5A3A, #2E7D50); color: #FFF4D6; font-size: 13.5px; font-weight: 600; }
@media (max-width: 380px) { .pb2-embudo > div { grid-template-columns: 100px minmax(0, 1fr) 26px; } .pb2-unidad { grid-template-columns: 72px minmax(0, 1fr); } }
@media (max-width: 899px) { body:has(.pb2-nav) .pie { padding-bottom: 96px; } }
.pb2 .pb-cifras b { font-family: inherit; font-size: 15.5px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pb2 .pb-cifras { gap: 8px; }
.pb2-lista .pb-chip, .pb2-tramos .pb-chip { max-width: none; white-space: nowrap; }
.pb2-lista li > span:first-child::first-letter { text-transform: uppercase; }
.pb2-lista .pb-der { text-align: right; flex: none; }
.pb2-monto { white-space: nowrap; }

/* ===== Portal del broker en computadora (686): ancho, cifras arriba y dos columnas ===== */
.pb2 .pb-cuerpo { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.pb2-tabla .pb-chip { white-space: nowrap; max-width: none; }
.pb2-seg button { white-space: nowrap; }
.pb2-g, .pb2-a, .pb2-b { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pb2-grilla { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
.pb2-pc, .pb2-kpis { display: none; }
.pb2-sec { flex-direction: column; gap: 14px; }
.pb2-link { border: 0; background: none; color: var(--cobalt); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; padding: 6px 0; white-space: nowrap; }
.pb2-link:hover { color: var(--navy); }
.pb2-kpi { text-align: left; font: inherit; color: #fff; cursor: pointer; background: rgba(255,255,255,.07); border: 1px solid rgba(150,218,234,.24); border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; align-content: start; min-width: 0; transition: background .15s; }
.pb2-kpi:hover { background: rgba(255,255,255,.12); }
.pb2-kpi.pri { background: rgba(150,218,234,.16); border-color: rgba(150,218,234,.5); }
.pb2-kpi span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--celeste); }
.pb2-kpi b { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pb2-kpi small { font-size: 12px; color: var(--muted2); line-height: 1.35; }
.pb2-tabla-caja { overflow-x: auto; }
.pb2-tabla { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pb2-tabla th { text-align: left; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 12px 8px 0; }
.pb2-tabla td { padding: 11px 12px 11px 0; border-top: 1px solid var(--rule); vertical-align: middle; }
.pb2-tabla td:last-child { padding-right: 0; text-align: right; }
.pb2-mb { display: block; width: 110px; height: 6px; border-radius: 6px; background: var(--rule); overflow: hidden; margin-bottom: 4px; }
.pb2-mb i { display: block; height: 100%; width: 0; background: var(--petrol); }
@media (min-width: 760px) {
  .pb2-grilla { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
}
@media (min-width: 1000px) {
  .vista:has(.pb2) { max-width: 1280px; }
  .pb2 .hero { padding-left: max(22px, calc(50vw - 624px)); padding-right: max(22px, calc(50vw - 624px)); padding-bottom: 30px; }
  .pb2-hero h1 { font-size: 46px; }
  .pb2-hero .pb2-saldo { display: none; }
  .pb2-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
  .pb2 .pb-cuerpo { gap: 22px; }
  .pb2-g { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; align-items: start; }
  .pb2-a, .pb2-b { gap: 18px; }
  .pb2-g-com { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .pb2-g-cli, .pb2-g-mas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pb2-pc { display: block; }
  .pb2-sec.pb2-pc { display: flex; }
  .pb2-movil { display: none; }
  .pb2-grilla { gap: 18px; }
  .pb2 .pb-card { padding: 20px 22px; }
  .pb2-cli-cab, .pb2-alerta { max-width: none; }
}
@media (min-width: 1000px) and (max-width: 1180px) { .pb2-kpi b { font-size: 24px; } }
@media (min-width: 1000px) { .pb2-g:not(:has(> .pb2-b > :not(.pb2-movil))) { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1000px) { .pb2-seg { align-self: flex-start; min-width: 380px; } .pb2-b .pb2-obra-foto { height: 220px; } }
.pb2-volver { align-self: flex-start; }
.pb2 .pb-card > h2 + .pb2-embudo { margin-top: 14px; }

/* ===== (688) Disponibles como el sitio de disponibilidad: bloques, niveles y una casilla por unidad ===== */
.pb3-resumen { display: flex; gap: 22px; align-items: baseline; flex-wrap: wrap; }
.pb3-resumen div { display: flex; align-items: baseline; gap: 6px; }
.pb3-resumen b { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--navy); line-height: 1; }
.pb3-resumen span { font-size: 12.5px; color: var(--muted); }
.pb3-bloques { display: flex; flex-direction: column; gap: 12px; }
.pb3-bloque { background: #fff; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.pb3-cab { background: var(--petrol); color: #fff; padding: 9px 14px 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pb3-cab h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 25px; letter-spacing: .05em; line-height: 1.1; }
.pb3-cab span { font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--celeste); font-weight: 600; }
.pb3-pila { padding: 6px 12px 10px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pb3-fila { display: flex; align-items: stretch; gap: 6px; padding: 3px 0; width: max-content; min-width: 100%; }
.pb3-fila + .pb3-fila { border-top: 1px dashed var(--rule); }
.pb3-nivel { flex: 0 0 56px; padding-left: 12px; display: flex; flex-direction: column; justify-content: center; font-size: 8.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); position: sticky; left: 0; z-index: 2; background: #fff; box-shadow: 7px 0 9px -7px rgba(0,40,86,.2); }
.pb3-nivel b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--navy); line-height: 1; letter-spacing: 0; }
.pb3-celdas { display: flex; gap: 6px; flex: 1; min-width: 0; }
.pb3-celda { flex: 1 1 0; min-width: 108px; }
.pb3-u { width: 100%; height: 100%; min-height: 62px; text-align: left; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-top: 2px solid var(--petrol); border-radius: 4px; padding: 6px 8px 7px; display: flex; flex-direction: column; gap: 1px; }
button.pb3-u { cursor: pointer; transition: border-color .12s, box-shadow .12s; }
button.pb3-u:hover { border-color: var(--cobalt); box-shadow: 0 1px 8px rgba(0,40,86,.15); }
button.pb3-u:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 1px; }
.pb3-id { font-weight: 600; font-size: 12.5px; color: var(--navy); letter-spacing: .04em; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.pb3-id i { font-style: normal; font-size: 10px; letter-spacing: .04em; color: var(--petrol); background: #E4F3F6; border-radius: 100px; padding: 2px 7px; white-space: nowrap; text-transform: uppercase; }
.pb3-m2 { font-size: 10px; color: var(--muted); }
.pb3-pr { font-size: 13px; font-weight: 600; margin-top: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pb3-st { font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-top: auto; }
.pb3-u.taken { background: #FBF5E6; border-top-color: #DCC98A; }
.pb3-u.taken .pb3-id, .pb3-u.taken .pb3-st { color: #9A7A1E; }
.pb3-u.taken .pb3-id i { background: rgba(255,255,255,.6); color: #9A7A1E; }
.pb3-u.off { background: #EDF1F4; border-top-color: #C3CFD8; }
.pb3-u.off .pb3-id, .pb3-u.off .pb3-st { color: var(--muted); }
.pb3-u.off .pb3-id i { background: rgba(255,255,255,.7); color: var(--muted); }
.pb3-u.cons { background: #F4F7FA; border-top-color: #9FB4C7; }
.pb3-u.fuera { opacity: .3; }
.pb3-u.pedida { box-shadow: inset 0 0 0 1px var(--cobalt); }
.pb2-navidad .pb3-cab { background: linear-gradient(90deg, var(--petrol), #0B5C49); }
/* Panel de la unidad */
body.pb3-quieto { overflow: hidden; }
.pb3-velo { position: fixed; inset: 0; z-index: 80; background: rgba(0,24,52,.55); display: flex; align-items: flex-end; justify-content: center; }
.pb3-panel { background: #fff; width: 100%; max-width: 640px; max-height: 92vh; overflow-y: auto; border-radius: 20px 20px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 -10px 40px rgba(0,24,52,.3); }
.pb3-p-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pb3-p-cab > div { display: grid; gap: 2px; }
.pb3-x { border: 1px solid var(--rule); background: #fff; color: var(--muted); width: 38px; height: 38px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; flex: 0 0 auto; }
.pb3-x:hover { color: var(--navy); border-color: var(--navy2); }
.pb3-plano { background: #F4F8FA; border-radius: 12px; min-height: 180px; display: grid; place-items: center; overflow: hidden; padding: 8px; }
.pb3-lienzo { display: block; width: 100%; height: auto; border-radius: 6px; background: #fff; }
.pb3-cargando { animation: pb3Pulso 1.2s ease-in-out infinite; }
@keyframes pb3Pulso { 50% { opacity: .45; } }
.pb3-p-dat { display: grid; gap: 4px; }
.pb3-p-acc { display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-top: 12px; align-items: center; }
.pb3-p-acc .btn { flex: 1 1 160px; min-height: 44px; }
@media (min-width: 760px) {
  .pb3-velo { align-items: center; padding: 24px; }
  .pb3-panel { border-radius: 20px; padding: 22px 24px; }
}
@media (min-width: 1000px) {
  .pb3-celda { min-width: 0; }
  .pb3-pila { overflow: visible; }
  .pb3-fila { width: auto; }
  .pb3-nivel { position: static; box-shadow: none; }
  .pb3-bloque[data-cols="9"] .pb3-celda, .pb3-bloque[data-cols="8"] .pb3-celda { min-width: 0; }
  .pb3-bloque[data-cols="9"] .pb3-pr, .pb3-bloque[data-cols="8"] .pb3-pr { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .pb3-cargando { animation: none; } }
/* La tarjeta de unidad ya no lleva el icono del plano */
.pb2-unidad { grid-template-columns: minmax(0, 1fr); }
.pb3-cab h3 { color: #fff; }
@media (min-width: 1000px) { .pb3-celda { max-width: 210px; } }

/* (529) Cuenta donde se paga la comisión: solo para ver */
.pb2-cuenta { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.pb2-cuenta > div { display: grid; gap: 3px; min-width: 0; }
.pb2-cuenta-n { font-size: 15.5px; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pb2-cuenta .nota { line-height: 1.45; }
.pb2-cuenta.falta .pb2-mi { background: #FFF4DC; color: #8A5E0C; }

/* ===================================================================
   (695) Portal V2: Inicio cálido (foto de Ocean, sus familias, su semana), Comisiones y los caminos
   =================================================================== */
.pb4-hero { overflow: hidden; padding-top: 18px; padding-bottom: 26px; background: var(--navy); }
.pb4-foto { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,40,86,.12) 0%, rgba(0,40,86,.5) 20%, rgba(0,40,86,.9) 40%, #002856 58%), url(marca/ocean-hero.jpg) 50% 30% / cover no-repeat, var(--navy); }
.pb4-in { position: relative; display: flex; flex-direction: column; gap: 16px; }
.pb4-fila { margin-top: 92px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.pb4-saludo { display: grid; gap: 4px; min-width: 0; }
.pb4-saludo .eyebrow { color: var(--celeste); margin: 0; }
.pb4-saludo h1 { font-size: clamp(32px, 8.6vw, 44px); text-wrap: balance; }
.pb4-accs-pc, .pb4-chips, .pb4-tile { display: none; }
.pb4-tiles { display: grid; gap: 12px; }
.pb4-fam { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pb4-acomp { font-family: var(--serif); font-size: 22px; line-height: 1.25; color: #fff; text-wrap: balance; }
.pb4-acomp b { font-weight: 400; color: var(--celeste); }
.pb4-fam-l { display: flex; flex-direction: column; gap: 8px; }
.pb4-fam-f { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; text-align: left; font: inherit; color: #fff; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid rgba(150,218,234,.22); border-radius: 14px; padding: 9px 12px; }
.pb4-fam-f:hover { background: rgba(255,255,255,.13); }
.pb4-fam-f > span:nth-child(2) { min-width: 0; }
.pb4-fam-f b { font-size: 13.5px; font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb4-fs { display: block; font-size: 11.5px; color: var(--muted2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb4-av { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; flex: 0 0 auto; font-weight: 700; font-size: 13px; color: var(--navy); background: var(--celeste); }
.pb4-av.c1 { background: #F1E4B2; } .pb4-av.c2 { background: #C9E6D6; } .pb4-av.c3 { background: #E4D4F4; } .pb4-av.c4 { background: #FFD9C2; }
.pb4-av.p { width: 28px; height: 28px; font-size: 11px; }
.pb4-av.g { width: 52px; height: 52px; font-size: 18px; }
.pb4-chip { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; white-space: nowrap; background: rgba(150,218,234,.2); color: var(--celeste); }
.pb4-chip.mal { background: rgba(245,181,174,.2); color: #FFD3CD; }
.pb4-chip.ojo { background: rgba(232,199,102,.2); color: #E8C766; }
.pb4-fam-mas { align-self: flex-start; border: 0; background: none; color: var(--celeste); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 4px 2px; }
.pb4-accs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding-top: 4px; }
.pb4-acc { display: flex; flex-direction: column; align-items: center; gap: 7px; border: 0; background: none; color: #fff; font: inherit; font-size: 11px; font-weight: 600; text-align: center; line-height: 1.2; cursor: pointer; padding: 0; }
.pb4-acc > span { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(150,218,234,.3); display: grid; place-items: center; }
.pb4-acc:hover > span { background: rgba(255,255,255,.2); }

/* Navidad: la portada de los correos, las estrellas y el dorado */
.pb4-nav { background: #001A3A; }
.pb4-portada { display: block; width: 100vw; max-width: none; margin: 8px calc(50% - 50vw) 0; height: auto; }
.pb4-nav .pb4-fila { margin-top: 18px; }
.pb4-estrellas { position: absolute; left: 50%; top: -8px; transform: translateX(-50%); width: 300px; max-width: 80%; opacity: .9; pointer-events: none; }
.pb4-nav .pb4-saludo .eyebrow, .pb4-nav .pb4-acomp b { color: #E8C766; }
.pb4-nav .pb4-fam-f { border-color: rgba(232,199,102,.28); background: rgba(255,255,255,.07); }

/* El cuerpo del Inicio */
.pb4-ini { display: flex; flex-direction: column; gap: 16px; }
.pb4-et { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.pb4-et.oro { color: #E8C766; } .pb4-et.cel { color: var(--celeste); }
.pb4-mom { position: relative; overflow: hidden; border-radius: 20px; padding: 18px 18px 16px; background: linear-gradient(135deg, #002856 0%, #0B3D78 70%, #0E4E8F 100%); color: #fff; display: flex; flex-direction: column; gap: 8px; }
.pb4-mom > * { position: relative; }
.pb4-mom.nav { background: #001A3A; overflow: visible; margin-top: 18px; padding-top: 22px; }
.pb4-mom-lazo { position: absolute !important; right: 14px; top: -26px; width: 66px; height: auto; }
.pb4-mom-tit { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.15; text-wrap: balance; }
.pb4-mom-txt { font-size: 13.5px; line-height: 1.5; color: #D5DFEA; }
.pb4-mom-firma { font-size: 12px; color: var(--celeste); }
.pb4-conf { position: absolute !important; inset: 0; pointer-events: none; overflow: hidden; border-radius: 20px; }
.pb4-conf i { position: absolute; top: 0; width: 6px; height: 10px; border-radius: 2px; animation: pb4cae 3.6s ease-in infinite; opacity: .9; }
.pb4-conf i:nth-child(1) { left: 12%; background: #E8C766; } .pb4-conf i:nth-child(2) { left: 30%; background: var(--celeste); animation-delay: 1.1s; }
.pb4-conf i:nth-child(3) { left: 52%; background: var(--cream); animation-delay: .5s; } .pb4-conf i:nth-child(4) { left: 74%; background: #E8C766; animation-delay: 1.7s; }
.pb4-conf i:nth-child(5) { left: 90%; background: var(--celeste); animation-delay: .9s; }
@keyframes pb4cae { 0% { transform: translateY(-12px) rotate(0); } 100% { transform: translateY(170px) rotate(220deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pb4-conf i { animation: none; display: none; } }
.pb4-sem { background: #FFFDF6; box-shadow: var(--sombra-s), inset 0 0 0 1px var(--cream); border-color: transparent; }
.pb4-sem-l { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.pb4-sem-l li { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 13.5px; line-height: 1.5; color: #26323d; }
.pb4-sem-l li i { width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); transform: translateY(-2px); }
.pb4-sem-l b { font-weight: 600; color: var(--navy); }
.pb4-linea { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 0; background: none; font: inherit; font-size: 13px; color: #26323d; text-align: left; padding: 2px 4px; cursor: pointer; }
.pb4-linea b { color: var(--navy); font-weight: 600; }
.pb4-ver { color: var(--cobalt); font-weight: 600; white-space: nowrap; }
.pb4-obra-pct { display: flex; align-items: center; gap: 10px; }
.pb4-obra-pct .pb2-mb { flex: 1; width: auto; margin: 0; height: 8px; }
.pb4-obra-pct b { font-variant-numeric: tabular-nums; color: var(--navy); }

/* Sus ventas en camino (computadora) */
.pb4-ven-f { display: grid; grid-template-columns: 70px minmax(0, 1fr) 150px; gap: 14px; align-items: center; width: 100%; border: 0; border-top: 1px solid var(--rule); background: none; font: inherit; text-align: left; padding: 14px 0; cursor: pointer; color: inherit; }
.pb2-tit + .pb4-ven-f { border-top: 0; }
.pb4-ven-f:hover .pb4-ven-u { color: var(--cobalt); }
.pb4-ven-u { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--navy); }
.pb4-ven-f > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.pb4-ven-f > span:nth-child(2) > b { font-size: 14px; font-weight: 600; }
.pb4-ven-f .nota b { color: var(--ink); font-weight: 600; }
.pb4-pasos { display: flex; gap: 3px; }
.pb4-pasos i { flex: 1; height: 5px; border-radius: 5px; background: var(--rule); }
.pb4-pasos i.si { background: var(--petrol); }
.pb4-pasos i.medio { background: linear-gradient(90deg, var(--petrol) 0 var(--p, 0%), var(--rule) var(--p, 0%)); }
.pb4-ven-ley { display: flex; justify-content: flex-end; gap: 10px; font-size: 11px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 12px; margin-top: 2px; }

/* Comisiones */
.pb4-seg { display: flex; gap: 8px; }
.pb4-seg button { font: inherit; font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: 100px; background: #fff; color: var(--navy); border: 1px solid var(--rule); cursor: pointer; min-height: 36px; }
.pb4-seg button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pb4-graf { display: flex; align-items: flex-end; gap: 4px; margin-top: 18px; border-bottom: 1px solid var(--rule); padding: 30px 0 6px; }
.pb4-col { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: none; font: inherit; font-size: 10.5px; color: var(--muted); cursor: pointer; padding: 0; }
.pb4-col[disabled] { cursor: default; }
.pb4-col.hoy > span:last-child { color: var(--navy); font-weight: 600; }
.pb4-barra { width: 22px; height: 120px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; }
.pb4-barra i { display: block; border-radius: 4px 4px 0 0; min-height: 3px; }
.pb4-barra i + i { border-radius: 0; }
.pb4-barra i.c, .pb4-ley i.c { background: var(--petrol); }
.pb4-barra i.a, .pb4-ley i.a { background: #B5811A; }
.pb4-barra i.e, .pb4-ley i.e { background: repeating-linear-gradient(135deg, #E8C766 0 5px, #F7EDCE 5px 10px); }
.pb4-tip { display: none; position: absolute; bottom: calc(100% - 22px); left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; border-radius: 8px; padding: 5px 8px; font-size: 10.5px; white-space: nowrap; text-align: center; line-height: 1.3; z-index: 2; text-transform: uppercase; letter-spacing: .04em; }
.pb4-tip b { display: block; font-size: 12px; text-transform: none; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.pb4-col.sel .pb4-tip { display: block; }
@media (hover: hover) { .pb4-col:not([disabled]):hover .pb4-tip { display: block; } }
.pb4-ley { list-style: none; margin: 10px 0 0; padding: 0; }
.pb4-ley li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.pb4-ley li:first-child { border-top: 0; }
.pb4-ley i { width: 12px; height: 12px; border-radius: 3px; }
.pb4-ley b { font-variant-numeric: tabular-nums; font-weight: 600; }
.pb4-pv h2 { margin-bottom: 4px; }
.pb4-pv-f { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; border: 0; border-top: 1px solid var(--rule); background: none; font: inherit; text-align: left; padding: 13px 0; cursor: pointer; color: inherit; }
.pb4-pv h2 + .pb4-pv-f { border-top: 0; }
.pb4-pv-f.prev { opacity: .78; }
.pb4-pv-f > span:first-child { display: grid; gap: 2px; min-width: 0; }
.pb4-pv-f > span:first-child > b { font-size: 15px; font-weight: 600; }
.pb4-pv-d { display: grid; gap: 2px; text-align: right; }
.pb4-pv-d b { font-variant-numeric: tabular-nums; font-weight: 600; }
.pb4-pv-e { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.pb4-pv-e.oro { color: #B5811A; } .pb4-pv-e.ok { color: var(--petrol); } .pb4-pv-e.azul { color: var(--cobalt); }
.pb4-minis { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.pb4-mini { display: flex; gap: 3px; }
.pb4-mini i { width: 22px; height: 4px; border-radius: 4px; background: var(--rule); }
.pb4-mini i.si { background: var(--petrol); } .pb4-mini i.ya { background: #B5811A; }

/* El camino de la comisión y el de la venta */
.pb4-angosto { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 760px; }
.pb4-cab { background: linear-gradient(170deg, #002856 0%, #0B3D78 100%); color: #fff; border-radius: 20px; padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.pb4-cifra { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 10vw, 46px); line-height: 1.05; font-variant-numeric: tabular-nums; }
.pb4-cab-sub { font-size: 12.5px; color: var(--muted2); }
.pb4-cab .pb2-barra { margin-top: 8px; }
.pb4-cab-dos { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted2); }
.pb4-cab-dos b { color: #fff; font-variant-numeric: tabular-nums; font-weight: 600; }
.pb4-tr-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 15px; }
.pb4-tr-cab b:last-child { font-variant-numeric: tabular-nums; }
.pb4-tp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; margin-top: 14px; }
.pb4-tp.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pb4-tp::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 11px; height: 2px; background: #C9D6E4; }
.pb4-tp.n3::before { left: 16.7%; right: 16.7%; }
.pb4-tp > div { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 11.5px; line-height: 1.25; color: var(--muted); }
.pb4-tp > div > b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #C9D6E4; color: #fff; }
.pb4-tp > div.si { color: var(--ink); }
.pb4-tp > div.si > b { background: var(--petrol); border-color: var(--petrol); }
.pb4-tp > div.ahora { color: #8A5E0C; font-weight: 600; }
.pb4-tp > div.ahora > b { border-color: #B5811A; box-shadow: 0 0 0 4px rgba(181,129,26,.15); }
.pb4-tp small { font-size: 10.5px; color: var(--muted); font-weight: 400; }
.pb4-aviso-oro { background: var(--ojo-bg); border-radius: 12px; padding: 12px 14px; margin: 16px 0 0; font-size: 13px; color: #6E4A08; line-height: 1.45; }
.pb4-links { display: flex; gap: 16px; margin-top: 12px; }
.pb4-resta { display: grid; gap: 4px; }
.pb4-cv-q { display: flex; gap: 14px; align-items: center; }
.pb4-cv-q h2 { color: #fff; font-size: clamp(24px, 7vw, 30px); line-height: 1.05; }
.pb4-tres { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin-top: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(150,218,234,.25); border-radius: 14px; padding: 12px; }
.pb4-tres span { display: block; font-size: 10.5px; color: var(--muted2); }
.pb4-tres b { font-size: 14px; font-variant-numeric: tabular-nums; font-weight: 600; }
.pb4-tres .mal span { color: #F5B5AE; } .pb4-tres .mal b { color: #FFD3CD; }
.pb4-sigue { background: var(--navy); color: #fff; border-radius: 18px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; }
.pb4-sig-ic { width: 30px; height: 30px; border-radius: 50%; background: #B5811A; display: grid; place-items: center; flex: 0 0 auto; }
.pb4-sigue b { font-size: 14px; font-weight: 600; display: block; }
.pb4-sigue div > span { font-size: 13px; color: #D5DFEA; line-height: 1.45; display: block; margin-top: 2px; }
.pb4-tl h2 { margin-bottom: 14px; }
.pb4-p { display: grid; grid-template-columns: 58px 26px minmax(0, 1fr); gap: 10px; }
.pb4-pf { font-size: 11px; color: var(--muted); text-align: right; padding-top: 4px; line-height: 1.3; }
.pb4-pf.ahora { color: var(--cobalt); font-weight: 600; }
.pb4-pd { display: flex; flex-direction: column; align-items: center; }
.pb4-pd b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: #fff; border: 2px solid #C9D6E4; color: #fff; }
.pb4-pd b.ok { background: var(--petrol); border-color: var(--petrol); }
.pb4-pd b.ahora { border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(0,85,184,.12); }
.pb4-pd i { flex: 1; width: 2px; background: var(--rule); min-height: 22px; }
.pb4-p:has(b.ok) + .pb4-p .pb4-pd i, .pb4-pd:has(b.ok) i { background: var(--petrol); }
.pb4-p:last-child .pb4-pd i { display: none; }
.pb4-pt { padding: 2px 0 18px; min-width: 0; }
.pb4-pt > b { font-size: 14.5px; font-weight: 600; }
.pb4-pt > span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.pb4-pmb { width: 100%; height: 6px; margin-top: 8px; }
.pb4-exp { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pb4-exp > div { display: grid; gap: 2px; min-width: 0; }
.pb4-exp b { font-size: 14px; font-weight: 600; }

@media (min-width: 1000px) {
  .pb4-hero { padding-top: 6px; padding-bottom: 30px; }
  .pb4-foto { background: linear-gradient(90deg, #002856 0%, #002856 40%, rgba(0,40,86,.78) 62%, rgba(0,40,86,.35) 100%), linear-gradient(0deg, #002856 0%, rgba(0,40,86,0) 45%), url(marca/ocean-hero.jpg) right 38% / 62% auto no-repeat, var(--navy); }
  .pb4-in { gap: 22px; }
  .pb4-fila { margin-top: 18px; }
  .pb4-saludo h1 { font-size: 46px; }
  .pb4-accs-pc { display: flex; flex-wrap: wrap; gap: 8px; }
  .pb4-acc-pc { font: inherit; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(150,218,234,.3); border-radius: 100px; padding: 10px 16px; cursor: pointer; }
  .pb4-acc-pc:hover { background: rgba(255,255,255,.18); }
  .pb4-accs, .pb4-fam-l { display: none; }
  .pb4-tiles { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); }
  .pb4-fam { background: rgba(255,255,255,.08); border: 1px solid rgba(150,218,234,.3); border-radius: 16px; padding: 16px 18px; gap: 10px; }
  .pb4-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .pb4-chipf { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 0; border-radius: 100px; padding: 4px 12px 4px 4px; font: inherit; font-size: 12.5px; color: #fff; cursor: pointer; }
  .pb4-chipf:hover { background: rgba(255,255,255,.16); }
  .pb4-tile { display: grid; gap: 2px; align-content: start; text-align: left; font: inherit; color: #fff; cursor: pointer; background: rgba(255,255,255,.07); border: 1px solid rgba(150,218,234,.24); border-radius: 16px; padding: 16px 18px; }
  .pb4-tile:hover { background: rgba(255,255,255,.12); }
  .pb4-tile .pb4-et { color: var(--muted2); }
  .pb4-tile b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; }
  .pb4-tn { font-size: 12px; color: var(--muted2); }
  .pb4-portada { width: 100%; margin: 6px 0 0; max-height: 360px; object-fit: cover; border-radius: 18px; }
  .pb4-ini-pc .pb4-linea { background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 16px 22px; font-size: 14px; box-shadow: var(--sombra-s); }
  .pb4-cv { flex-direction: row; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
  .pb4-cv .pb4-tres { margin-top: 0; min-width: 420px; }
}
@media (min-width: 1000px) { .pb4-ini.pb2-movil { display: none; } }
.pb2-obra-txt .pb4-obra-pct { flex: 1 1 140px; min-width: 120px; }
/* Las estrellas van entre la portada y el saludo, sin taparlo */
.pb4-nav .pb4-estrellas { position: relative; left: auto; top: auto; transform: none; display: block; margin: -4px auto -6px; }
.pb4-nav .pb4-fila { margin-top: 0; }
/* El azul de la Navidad es el mismo del fondo de las estrellas (así no se ve el recuadro del GIF) */
.pb4-nav { background: #012855; }
.pb4-mom.nav { background: #012855; }
.pb4-nav .pb4-estrellas { clip-path: inset(3px 0 0 0); }
@media (min-width: 1000px) { .pb4-portada { width: auto; height: 340px; max-height: none; margin: 8px auto 0; object-fit: contain; border-radius: 18px; } }
/* (562) Reintentar sin perder la sesión */
.entrada-reintentar{margin-left:6px;padding:8px 14px;min-height:40px;border:1px solid currentColor;border-radius:8px;background:transparent;color:inherit;font:inherit;font-weight:600;cursor:pointer}

/* (568) Portal del cliente: «Tu camino» y «Tus documentos» */
.pc-par { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 14px; align-items: start; }
.pc-par > .tarjeta { margin-bottom: 14px; min-width: 0; }
.pc-par h2 { margin-bottom: 2px; }
.pc-sub { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.pc-l { list-style: none; margin: 0; padding: 0; }
.pc-l li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; position: relative; padding-bottom: 18px; }
.pc-l li:last-child { padding-bottom: 0; }
.pc-l li::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; width: 2px; background: var(--rule); }
.pc-l li.hecho::before { background: #1E7A4C; }
.pc-l li:last-child::before { display: none; }
.pc-l i { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--rule); background: var(--card); display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); position: relative; z-index: 1; }
.pc-l .hecho i { background: #1E7A4C; border-color: #1E7A4C; color: #fff; }
.pc-l .aqui i { border-color: var(--cobalt); color: var(--cobalt); box-shadow: 0 0 0 5px #E8F0FB; }
.pc-l b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.pc-l span { display: block; font-size: 13px; line-height: 1.5; color: var(--muted); }
.pc-l .falta b { color: var(--muted); font-weight: 500; }
.pc-caja { background: #E8F0FB; border-radius: 12px; padding: 12px 14px; margin-top: -4px; }
.pc-l .pc-et { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--cobalt); margin-bottom: 2px; }
.pc-l .pc-sigue { color: var(--ink); margin-top: 4px; }
.pc-d { list-style: none; margin: 0; padding: 0; }
.pc-d li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 13px 0; border-top: 1px solid var(--rule); }
.pc-d li:first-child { border-top: 0; padding-top: 2px; }
.pc-ic { flex: none; width: 38px; height: 46px; border-radius: 6px; background: #E4F3F6; color: #006068; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.pc-t { flex: 1 1 180px; min-width: 0; }
.pc-t b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.pc-t span { display: block; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.pc-d .btn { min-height: 44px; padding: 9px 16px; font-size: 10.5px; flex-shrink: 0; }
.pc-grupo { margin: 14px 0 0; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.pc-nota { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--rule); font-size: 12.5px; color: var(--muted); }
@media (max-width: 520px) { .pc-d .btn { width: 100%; justify-content: center; } }
/* (834) Sus pagos suelen llegar sin nombre: que envíe siempre el comprobante */
.frase.nota-comp { display: flex; width: fit-content; max-width: 100%; margin-top: 8px; background: rgba(241, 228, 178, .14); border-color: rgba(241, 228, 178, .45); color: #F1E4B2; line-height: 1.5; }
/* (849) Entrada del portal: foto oficial de Ocean + panel de acceso */
.entrada.ent2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(380px, 1fr); align-items: stretch; justify-content: stretch; padding: 0; min-height: 100vh; min-height: 100dvh; background: #04172F; }
.ent-foto { position: relative; overflow: hidden; min-height: 100%; }
.ent-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: entZoom 24s ease-out forwards; }
@keyframes entZoom { from { transform: scale(1.12); } to { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .ent-bg { animation: none; } }
.ent-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,23,47,.55) 0%, rgba(4,23,47,0) 28%, rgba(4,23,47,0) 52%, rgba(4,23,47,.88) 100%); }
.ent-top { position: absolute; z-index: 2; top: max(30px, env(safe-area-inset-top)); left: 40px; right: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ent-top img { height: 26px; width: auto; }
.ent-top span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.ent-cap { position: absolute; z-index: 2; left: 40px; right: 40px; bottom: 40px; }
.ent-ocean { height: 30px; width: auto; margin-bottom: 18px; }
.ent-lema { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; color: #fff; margin: 0 0 18px; max-width: 580px; }
.ent-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ent-pills > span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; font-size: 13px; }
.ent-pills i { width: 7px; height: 7px; border-radius: 50%; background: var(--celeste, #96DAEA); }
.ent-pills b { font-weight: 400; }
.ent-panel { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 72px clamp(28px, 5vw, 76px) 84px; background: radial-gradient(120% 80% at 100% 0%, #0E3A6B 0%, #04172F 60%); }
.ent2 .idiomas-entrada { top: max(26px, env(safe-area-inset-top)); right: 30px; }
.ent-caja { width: 100%; max-width: 460px; text-align: left; animation: entSube .6s ease-out both; }
@keyframes entSube { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ent2 .entrada-eyebrow { margin: 0 0 16px; color: #96DAEA; font-size: 11px; letter-spacing: .24em; }
.ent2 .entrada-titulo { margin: 0 0 14px; font-size: clamp(42px, 5vw, 64px); line-height: 1; color: #fff; }
.ent2 .entrada-texto { margin: 0 0 30px; max-width: 420px; color: #B9CBDA; font-size: 16px; line-height: 1.6; }
.ent2 .entrada-texto b { color: #fff; font-weight: 600; word-break: break-all; }
.ent2 .entrada-campo > span:first-child { color: #9FB4C7; font-size: 11px; letter-spacing: .18em; }
.ent-input { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 18px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22); transition: border-color .2s, box-shadow .2s; }
.ent-input:focus-within { border-color: #96DAEA; box-shadow: 0 0 0 4px rgba(150,218,234,.14); }
.ent-input.mal { border-color: #F2A7A7; box-shadow: 0 0 0 4px rgba(242,167,167,.14); }
.ent-input svg { width: 22px; height: 22px; flex: none; fill: none; stroke: #96DAEA; stroke-width: 1.6; }
.ent-input input { flex: 1; min-width: 0; height: 100%; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; color: #fff; font-size: 17px; outline: none; }
.ent-input input::placeholder { color: rgba(205,228,245,.5); }
.ent-btn { position: relative; margin-top: 2px; width: 100%; height: 60px; border: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  background: linear-gradient(180deg, #F4E9C2, #E6D49A); color: #04172F; font: inherit; font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 14px 34px -12px rgba(230,212,154,.55); transition: transform .15s, box-shadow .2s, filter .2s; }
.ent-btn:hover { filter: brightness(1.04); box-shadow: 0 18px 40px -12px rgba(230,212,154,.7); }
.ent-btn:active { transform: translateY(1px); }
.ent-btn:disabled { cursor: progress; }
.ent-flecha { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.ent-btn:hover .ent-flecha { transform: translateX(3px); }
.ent-rueda { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(4,23,47,.25); border-top-color: #04172F; animation: entGira .8s linear infinite; }
.ent-btn.trabajando .ent-rueda { display: inline-block; } .ent-btn.trabajando .ent-flecha { display: none; }
@keyframes entGira { to { transform: rotate(360deg); } }
.ent2 .entrada-aviso { margin: 14px 0 0; text-align: left; }
.ent2 .entrada-seg { justify-content: flex-start; max-width: 460px; margin: 22px 0 0; color: #8FA6BA; font-size: 13px; line-height: 1.5; }
.ent2 .entrada-seg b { color: #D6E4EE; font-weight: 600; }
.ent-pasos { list-style: none; margin: 36px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 460px; }
.ent-pasos li { font-size: 12.5px; line-height: 1.4; color: #9FB4C7; }
.ent-pasos b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; color: #fff; margin-bottom: 2px; }
.ent-sobre { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(150,218,234,.12); border: 1px solid rgba(150,218,234,.35); margin-bottom: 24px; animation: entLlega 1.2s ease-out both; }
.ent-sobre svg { width: 30px; height: 30px; fill: none; stroke: #96DAEA; stroke-width: 1.6; }
@keyframes entLlega { 0% { transform: translateY(10px) scale(.9); opacity: 0; } 60% { transform: translateY(-3px) scale(1.03); opacity: 1; } 100% { transform: none; } }
.ent-mini { color: #8FA6BA; font-size: 13.5px; line-height: 1.55; margin: -14px 0 26px; }
.ent-acc { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.ent-btn2 { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.24); box-shadow: none; }
.ent-btn2:hover { box-shadow: none; background: rgba(255,255,255,.12); }
.ent-btn2 .ent-rueda { border-color: rgba(255,255,255,.25); border-top-color: #fff; }
.ent-link { background: none; border: 0; color: #96DAEA; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 8px; }
.ent-pie { position: absolute; left: clamp(28px, 5vw, 76px); right: clamp(28px, 5vw, 76px); bottom: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: #6F879C; margin: 0; }
@media (max-width: 860px) {
  .entrada.ent2 { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .ent-foto { height: 50vh; height: 50svh; min-height: 360px; }
  .ent-foto::after { background: linear-gradient(180deg, rgba(4,23,47,.5) 0%, rgba(4,23,47,0) 30%, rgba(4,23,47,.25) 62%, #04172F 100%); }
  .ent-top { top: max(18px, env(safe-area-inset-top)); left: 20px; right: 120px; } .ent-top span { display: none; } .ent-top img { height: 22px; }
  .ent-cap { left: 20px; right: 20px; bottom: 16px; } .ent-ocean { display: none; } .ent-lema { font-size: 30px; margin-bottom: 12px; }
  .ent-pills > span { font-size: 12px; padding: 7px 11px; }
  .ent-panel { justify-content: flex-start; padding: 26px 20px max(36px, env(safe-area-inset-bottom)); background: #04172F; position: static; }
  .ent2 .idiomas-entrada { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; z-index: 3; background: rgba(4,23,47,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 999px; }
  .entrada.ent2 { position: relative; }
  .ent2 .entrada-titulo { font-size: 44px; }
  .ent-pie { position: static; margin-top: 32px; flex-direction: column; gap: 4px; }
}

/* (850) Menos información: logo de Ocean pequeño, sin cuadros ni pasos */
.ent-ocean { height: 18px; margin-bottom: 14px; opacity: .9; }
.ent2 .ent-lema { margin-bottom: 0; }
@media (max-width: 860px) { .ent-ocean { display: block; height: 14px; margin-bottom: 10px; } }

/* (853) Constancia de visita por aceptar */
.pv-visita { border: 2px solid var(--petrol); margin: 0 0 18px; }
.pv-visita .et { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--petrol); font-weight: 700; margin-bottom: 4px; }
.pv-visita h2 { margin: 0 0 6px; }
.pv-items { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 10px; }
.pv-items li { border-bottom: 1px solid var(--rule); padding-bottom: 10px; }
.pv-items li b { display: block; } .pv-items li span { color: var(--muted); font-size: 13px; }
.pv-obs { background: #F6F8FB; border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; }
.pv-dec { font-size: 12.5px; line-height: 1.55; color: #33465E; background: #F6F8FB; border-radius: 10px; padding: 12px 14px; }
.pv-lab { display: block; font-size: 13px; color: var(--muted); margin: 10px 0; }
.pv-lab textarea { display: block; width: 100%; margin-top: 6px; border: 1px solid var(--rule); border-radius: 10px; padding: 10px; font: inherit; box-sizing: border-box; }
.pv-visita [data-aceptar] { width: 100%; justify-content: center; min-height: 48px; }
.pv-gracias { margin: 0; padding: 8px 0; font-weight: 600; color: var(--petrol); }
.rueda { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: gira .8s linear infinite; vertical-align: -2px; }
