/* Xray: componentes del informe con los tokens de la plantilla concierge.help (base.css). */
.xr-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radio); padding: 22px 22px 18px; margin-bottom: 16px; }
.xr-block h2 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.xr-block h3 { font-size: 14.5px; font-weight: 700; margin: 20px 0 8px; }
.xr-block p { margin-bottom: 10px; color: var(--ink2); }
.xr-main { padding-top: 18px; padding-bottom: 30px; } /* los lados los pone .wrap: sin ellos el contenido toca el borde */
.loading { color: var(--mute); font-size: 14px; display: flex; align-items: center; gap: 10px; }
.loading::before { content: ""; width: 14px; height: 14px; border-radius: 999px; border: 2px solid var(--line); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.aviso { background: var(--bg); border-radius: var(--radio-s); padding: 12px 14px; font-size: 14px; color: var(--ink2); }
.muted { color: var(--mute); } .small { font-size: 13px; }
.bien { color: var(--ok); } .mal { color: #c2410c; } .medio { color: #a16207; }
.fuente { font-size: 12px; color: var(--mute); margin-top: 12px; }

.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 6px 0 14px; }
.kpi { background: var(--bg); border-radius: var(--radio-s); padding: 12px 14px; }
.kpi .eyebrow { display: block; color: var(--mute); }
.kpi .v { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.kpi .s { font-size: 12px; color: var(--mute); margin-top: 2px; }

.tabla { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 4px 0 6px; }
th { text-align: left; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 700; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
td.r, th.r { text-align: right; }
tr.yo td { font-weight: 700; background: rgba(26, 143, 209, .06); }

.barras .fila { display: grid; grid-template-columns: minmax(110px, 220px) 1fr 48px; gap: 12px; align-items: center; padding: 5px 0; font-size: 13.5px; }
.barra { height: 8px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.barra i { display: block; height: 100%; background: var(--brand2); border-radius: 999px; }
.r { text-align: right; }

.lista { list-style: none; }
.lista li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.lista li:last-child { border-bottom: 0; }
.cita { color: var(--mute); font-size: 13px; margin-top: 2px; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--bg); color: var(--ink2); margin-right: 6px; }
.pill.mal { background: #fff1e8; color: #c2410c; } .pill.medio { background: #fef6dc; color: #a16207; }

.score { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.score .num { font-size: 72px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.titular { font-size: 18px; font-weight: 600; color: var(--ink); margin: 8px 0 14px; }

.lead-box { background: var(--navy); color: #fff; border-radius: var(--radio); padding: 22px; }
.lead-box p { color: rgba(255, 255, 255, .85); }
.lead-box label { display: block; font-size: 12.5px; font-weight: 600; margin: 12px 0 5px; color: rgba(255, 255, 255, .85); }
.lead-box input[type=text], .lead-box input[type=email], .lead-box select { width: 100%; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); background: #fff; color: var(--ink); padding: 0 14px; font: inherit; }
.lead-box .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 14px 0 16px; }
.lead-box .btn-book { background: var(--gold); color: var(--navy); }
.lead-box .btn-book:hover { background: #ffcc33; }
.lead-box .btn-book[disabled] { opacity: .6; cursor: wait; }
.form-err { color: #fecaca; font-size: 13.5px; margin-top: 10px; }

.accion { border: 1px solid var(--line); border-radius: var(--radio-s); padding: 14px 16px; margin-bottom: 10px; }
.accion h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.accion p { font-size: 13.5px; margin: 4px 0; }

.calc { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 8px 0 14px; }
.calc label { font-size: 12.5px; font-weight: 600; color: var(--mute); }
.calc input { display: block; width: 100%; height: 44px; margin-top: 5px; border-radius: 12px; border: 1px solid var(--line); padding: 0 12px; font: inherit; font-size: 15px; }
.calc input:focus { outline: none; border-color: var(--brand2); box-shadow: 0 0 0 4px rgba(26, 143, 209, .15); }
svg.graf { width: 100%; height: auto; display: block; margin: 4px 0 10px; }

.page-hero .hero-pills { margin-top: 10px; }
.hero-note { font-size: 13px; opacity: .85; margin-top: 12px; }
.hero-note a { text-decoration: underline; }
.sr-item { cursor: pointer; }
@media (max-width: 600px) {
  .xr-block { padding: 18px 16px 14px; }
  .score .num { font-size: 56px; }
  .barras .fila { grid-template-columns: 100px 1fr 40px; }
}

/* formulario previo al informe, sobre el hero */
.gate { background: #fff; color: var(--ink); border-radius: var(--radio); padding: 20px; max-width: 760px; box-shadow: var(--sombra); }
.gate h2 { font-size: 22px; font-weight: 800; margin: 2px 0 4px; }
.gate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 6px; }
.gate label { font-size: 12.5px; font-weight: 600; color: var(--mute); }
.gate input[type=text], .gate input[type=email], .gate input[type=tel], .gate select { display: block; width: 100%; height: 46px; margin-top: 5px; border-radius: 12px; border: 1px solid var(--line); padding: 0 12px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; }
.gate input:focus, .gate select:focus { outline: none; border-color: var(--brand2); box-shadow: 0 0 0 4px rgba(26, 143, 209, .15); }
.gate .check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 12px; color: var(--ink2); font-weight: 500; }
.gate-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.gate .form-err { color: #c2410c; }
.gate .btn[disabled] { opacity: .6; cursor: wait; }
.xr-block .gate { box-shadow: none; border: 1px solid var(--line); max-width: none; }
.progreso { background: var(--navy); color: #fff; border-radius: var(--radio); padding: 14px 18px; margin-bottom: 16px; font-size: 14px; display: flex; gap: 12px; align-items: center; }
.progreso .barra { flex: 1; background: rgba(255,255,255,.15); } .progreso .barra i { background: var(--gold); transition: width .4s; }
.hist td, .hist th { font-size: 13px; }
.no-print { }
@media (max-width: 760px) { .gate-grid { grid-template-columns: 1fr; } }

/* PDF: el informe se imprime limpio, sin navegacion ni formularios */
@media print {
  .site-header, .drawer, .drawer-overlay, .bottom-nav, .site-footer, .breadcrumb, .no-print, .gate, .progreso, .skip-link { display: none !important; }
  body { background: #fff; padding: 0; font-size: 12px; }
  .page-hero { min-height: 0; color: #0f1b24; }
  .page-hero-media, .page-hero-scrim { display: none; }
  .page-hero-inner { padding: 0 0 10px; }
  .hero-pill { border-color: #ccc; background: none; }
  .xr-block { break-inside: avoid-page; border: 1px solid #ddd; box-shadow: none; }
  .kpi { background: #f4f5f6; }
  a { text-decoration: none; }
}

/* ===== evento 1-oct: tooltips, escaparate, espera ===== */
html, body { overflow-x: clip; }
.why { color: var(--mute); font-size: 14px; margin: -6px 0 14px; max-width: 760px; }
.kpi { position: relative; }
.tip { position: relative; display: inline-flex; margin-left: 6px; vertical-align: 1px; cursor: help; outline: none; }
.tip-i { width: 15px; height: 15px; border-radius: 999px; border: 1px solid var(--mute); color: var(--mute); font-size: 9.5px; font-weight: 800; letter-spacing: 0; display: grid; place-items: center; text-transform: none; font-style: normal; }
.tip-t { display: none; position: absolute; z-index: 40; top: 22px; left: -10px; width: min(270px, 78vw); background: var(--navy); color: #fff; padding: 10px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 500; line-height: 1.45; letter-spacing: 0; text-transform: none; box-shadow: var(--sombra); }
.tip:hover .tip-t, .tip:focus .tip-t, .tip:focus-within .tip-t { display: block; }
.tip:focus .tip-i { border-color: var(--brand2); color: var(--brand2); }
.kpis .kpi:nth-child(n+3) .tip-t { left: auto; right: -10px; }

.vitrina { display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: start; margin: 10px 0 14px; }
.vitrina figure { margin: 0; }
.vitrina figcaption { font-size: 12px; color: var(--mute); text-align: center; margin-top: 8px; font-weight: 600; }
.phone { background: #0b0f14; border-radius: 34px; padding: 10px; box-shadow: var(--sombra); }
.phone-in { background: #fff; border-radius: 26px; height: 520px; overflow: hidden; }
.laptop-in { background: #fff; border: 10px solid #1d232b; border-bottom-width: 14px; border-radius: 12px 12px 4px 4px; height: 400px; overflow: hidden; }
.laptop::after { content: ""; display: block; height: 10px; background: #c9ced3; border-radius: 0 0 14px 14px; margin: 0 -18px; }
.phone-shot img, .laptop-shot img { width: 100%; display: block; }
.g-bar { padding: 14px 12px 8px; border-bottom: 1px solid #ebebeb; }
.g-bar-d { display: flex; align-items: center; gap: 16px; }
.g-logo { font: 700 18px Arial, sans-serif; color: #5f6368; letter-spacing: -.5px; }
.g-q { margin-top: 8px; border: 1px solid #dfe1e5; border-radius: 999px; padding: 8px 14px; font: 13px Arial, sans-serif; color: #202124; }
.g-bar-d .g-q { margin: 0; flex: 1; max-width: 460px; }
.g-res { position: relative; padding: 12px 14px; border-bottom: 1px solid #f1f3f4; font-family: Arial, sans-serif; }
.g-own { background: #f2f8fd; box-shadow: inset 0 0 0 2px var(--brand2); }
.g-tag { position: absolute; right: 10px; top: 10px; background: var(--brand2); color: #fff; font: 700 10px Arial, sans-serif; padding: 3px 7px; border-radius: 999px; }
.g-site { display: flex; gap: 8px; align-items: center; font-size: 12px; color: #202124; line-height: 1.3; }
.g-fav { width: 24px; height: 24px; border-radius: 999px; background: #f1f3f4; display: grid; place-items: center; font-size: 11px; color: #5f6368; font-weight: 700; flex: none; }
.g-url { color: #4d5156; font-size: 11.5px; }
.g-title { color: #1a0dab; font-size: 16px; line-height: 1.3; margin: 6px 0 3px; }
.laptop .g-title { font-size: 18px; }
.g-desc { color: #4d5156; font-size: 12.5px; line-height: 1.45; }

.gate-hint { font-size: 12.5px; color: var(--ink2); background: #fef6dc; border-radius: 10px; padding: 8px 12px; margin: 6px 0 4px; }
.gate .check a { color: var(--brand); text-decoration: underline; }
.espera { background: #fff; color: var(--ink); border-radius: var(--radio); padding: 22px; max-width: 760px; box-shadow: var(--sombra); }
.espera h2 { font-size: 24px; font-weight: 800; margin: 4px 0 12px; }
.espera h2 span { color: var(--brand); }
.espera .barra { height: 10px; margin: 6px 0 10px; }
.espera.lista .barra i { background: var(--ok); }
.espera-mail { margin-top: 14px; font-size: 14px; background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.espera-cta { font-weight: 700; margin-top: 10px; }
.espera .lista li { font-size: 14.5px; }
.xr-block .espera { box-shadow: none; border: 1px solid var(--line); max-width: none; }
.xr-cta { background: var(--navy); color: #fff; border-color: var(--navy); }
.xr-cta h2, .xr-cta .eyebrow { color: #fff; }
.xr-cta p { color: rgba(255,255,255,.85); }
.xr-cta .btn-book { background: var(--gold); color: var(--navy); }
.xr-cta .bien { color: #86efac; }
@media (max-width: 860px) {
  .vitrina { grid-template-columns: 1fr; justify-items: center; }
  .vitrina .phone { width: min(300px, 100%); }
  .vitrina .laptop { width: 100%; }
  .laptop-in { height: 300px; }
}
@media print { .tip, .vitrina .laptop::after { display: none; } .phone, .laptop-in { box-shadow: none; } }
.g-solo { border-bottom: 0; padding-top: 16px; }
.phone .g-solo { padding: 16px 14px; }
.g-none { color: #b3261e; font-style: normal; }
.phone-in:has(.g-solo), .laptop-in:has(.g-solo) { height: auto; min-height: 0; padding-bottom: 14px; }

/* Informe a pantalla completa: el contenedor de la plantilla (1180 px) se queda corto para tablas, rejillas y capturas */
.wrap-wide { max-width: 1680px; padding-left: 28px; padding-right: 28px; }
.kpis { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.xr-block .why { max-width: none; }
.xr-block p { max-width: none; }
.vitrina { grid-template-columns: minmax(260px, 320px) 1fr; }
@media (max-width: 600px) { .wrap-wide { padding-left: 14px; padding-right: 14px; } }
@media (max-width: 600px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpi .v { font-size: 22px; } }

/* Tarjetas "Habla con el equipo": un clic desde cada bloque */
.ask { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; padding: 14px 16px;
  border-radius: var(--radio-s); background: #eef6fb; border: 1px solid #cfe4f2; }
.ask > div { flex: 1 1 360px; }
.ask b { font-size: 15px; }
.ask p { margin: 3px 0 0 !important; font-size: 13.5px; color: var(--ink2); }
.ask .btn { white-space: nowrap; }
.ask-ok { font-weight: 700; color: var(--ok); font-size: 14px; }
.btn-mini { padding: 7px 14px; font-size: 12.5px; }

/* Graficas de serie temporal */
.chart { position: relative; width: 100%; margin: 4px 0 16px; }
.chart svg { display: block; overflow: visible; }
.ch-ax { font: 11.5px var(--font); fill: var(--mute); }
.ch-lb { font: 600 12px var(--font); fill: var(--ink2); }
.ch-strong { font-weight: 800; fill: var(--ink); }
.ch-tip { position: absolute; pointer-events: none; background: var(--navy); color: #fff; border-radius: 8px; padding: 6px 10px; font-size: 12px; line-height: 1.3; white-space: nowrap; box-shadow: var(--sombra); }
.ch-tip b { display: block; font-size: 14px; }
.ch-tip span { opacity: .8; }

/* Agente: frecuencia en el formulario y banda dentro del informe */
.cad { border: 1px solid var(--line); border-radius: var(--radio-s); padding: 10px 14px 12px; margin: 12px 0 4px; }
.cad legend { font-size: 12.5px; font-weight: 600; color: var(--mute); padding: 0 6px; }
.cad label { display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; font-size: 14px; color: var(--ink); font-weight: 600; }
.agente { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 16px 0 4px; padding: 14px 16px; border-radius: var(--radio-s); background: var(--navy); color: #fff; }
.agente p { margin: 4px 0 0 !important; color: rgba(255,255,255,.85); font-size: 13.5px; }
.agente-sel { font-size: 12px; color: rgba(255,255,255,.8); display: flex; flex-direction: column; gap: 4px; }
.agente-sel select { border-radius: 10px; border: 0; padding: 9px 12px; font: inherit; font-size: 14px; background: #fff; color: var(--ink); }
.agente .bien { color: #86efac; }

/* ===== Resumen para direccion, palancas y calendario ===== */
.gate-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.gate input[type=number] { display: block; width: 100%; height: 46px; margin-top: 5px; border-radius: 12px; border: 1px solid var(--line); padding: 0 12px; font: inherit; font-size: 15px; }
.xr-resumen { border: 2px solid var(--navy); }
.res-top { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }
.res-num { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.res-calc { margin: 0; flex: 1 1 420px; max-width: 560px; }
.levers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 6px 0 18px; }
.lever { display: flex; flex-direction: column; gap: 4px; background: var(--bg); border-radius: var(--radio-s); padding: 12px 14px; color: var(--ink); text-decoration: none; border: 1px solid transparent; }
.lever:hover { border-color: var(--line); background: #fff; }
.lever b { font-size: 15px; }
.lever-eur { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.lunes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.lunes-i { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radio-s); padding: 12px 14px; }
.lunes-i .how-num { flex: none; margin: 0; }
.lunes-i b { font-size: 14.5px; line-height: 1.35; }
.lunes-i p { margin: 6px 0 0 !important; }
.muted { color: var(--mute); }
.palanca { background: var(--card); border: 1px solid var(--line); border-radius: var(--radio); margin-bottom: 12px; }
.palanca > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 110px 170px minmax(120px, 190px) 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; }
.palanca > summary::-webkit-details-marker { display: none; }
.palanca .sem { font-size: 12px; font-weight: 800; }
.palanca .sem::before { content: "● "; }
.palanca .p-t { font-size: 18px; font-weight: 800; }
.palanca .p-eur { font-weight: 800; }
.palanca .p-txt { font-size: 13.5px; color: var(--ink2); }
.palanca .p-more { font-size: 12.5px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.palanca[open] .p-more { visibility: hidden; }
.palanca > .xr-block { border: 0; border-top: 1px solid var(--line); border-radius: 0; margin: 0; background: transparent; }
.cal { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 6px 0 10px; }
.cal-d { border-radius: var(--radio-s); padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); }
.cal-me { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0; }
.cal-idx { font-size: 13px; font-weight: 700; margin-top: 6px; }
.cal-bajo { background: #eef6fb; border-color: #cfe4f2; } .cal-bajo .cal-idx { color: var(--brand); }
.cal-alto { background: #fff6ea; border-color: #f3dfbf; } .cal-alto .cal-idx { color: #a16207; }
.cal-ev { margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink2); }
.cal-ev::before { content: "📅 "; }
.cal-tip { margin-top: 8px; display: inline-block; background: var(--gold); color: var(--navy); font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 3px 9px; }
@media (max-width: 860px) {
  .palanca > summary { grid-template-columns: 1fr auto; grid-template-areas: "t sem" "eur eur" "txt txt"; gap: 4px 12px; }
  .palanca .p-t { grid-area: t; } .palanca .sem { grid-area: sem; } .palanca .p-eur { grid-area: eur; } .palanca .p-txt { grid-area: txt; } .palanca .p-more { display: none; }
}
@media print { .palanca > summary { display: none; } .palanca { border: 0; } .res-calc input { border: 0; } }

/* Embudo /analizar y area /mis-hoteles: una tarjeta centrada, pasos arriba */
.funnel { max-width: 560px; margin: 18px auto 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radio); padding: 26px 28px; box-shadow: var(--sombra-suave); }
.funnel h2 { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.pasos { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; counter-reset: p; }
.pasos li { flex: 1; font-size: 12px; font-weight: 700; color: var(--mute); padding-top: 8px; border-top: 3px solid var(--line); counter-increment: p; }
.pasos li::before { content: counter(p) ". "; }
.pasos li.on { color: var(--ink); border-color: var(--brand); }
.pasos li.ok { color: var(--brand); border-color: var(--brand); }
.funnel-hotel { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; background: var(--bg); padding: 12px 14px; margin-bottom: 20px; }
.funnel-hotel .eyebrow { width: 100%; margin: 0; }
.funnel-hotel a { margin-left: auto; color: var(--brand); text-decoration: underline; }
.funnel .gate, .funnel .espera { box-shadow: none; padding: 0; max-width: none; background: transparent; border: 0; }
.funnel .gate-grid { grid-template-columns: 1fr; }
.funnel .gate input[type=text], .funnel .gate input[type=tel] { border-radius: 0; }
.funnel .gate-actions .btn { width: 100%; justify-content: center; }
.funnel-free { margin-top: 10px; }
.funnel-note { text-align: center; }
.hoteles-l { list-style: none; padding: 0; margin: 0; }
.hoteles-l li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hoteles-l li b { flex: 1 1 60%; }
@media (max-width: 600px) { .funnel { padding: 20px 16px; margin-left: -20px; margin-right: -20px; border-radius: 0; border-left: 0; border-right: 0; } }
/* Campos de Clerk como los de Xray: rectos, altos y sin anillo de sombra */
.funnel .cl-formFieldInput { height: 46px; border-radius: 0; box-shadow: none; border: 1px solid var(--line); font-size: 15px; }
.funnel .cl-formFieldInput:focus { border-color: var(--brand2); box-shadow: 0 0 0 3px rgba(26, 143, 209, .15); }
.funnel .cl-formFieldLabel { font-size: 12.5px; font-weight: 600; color: var(--mute); }
#clerk { margin-top: 14px; }
.btn-entrar { height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 14px; }
@media (max-width: 760px) { .btn-entrar { display: none; } }
/* Tarjeta de Clerk tal cual, centrada. Sin caja nuestra alrededor. */
.funnel-clerk { background: transparent; border: 0; box-shadow: none; padding: 0; }
.clerk-box { display: flex; justify-content: center; }
.gate-clerk { text-align: center; padding: 0; }
.gate-hotel { display: inline-flex; align-items: center; gap: 10px; background: var(--bg); border-radius: 999px; padding: 8px 16px 8px 14px; margin: 0 0 8px; font-size: 14px; }
.gate-hotel .eyebrow { margin: 0; }
.gate-clerk-p { margin: 0 auto 14px; max-width: 460px; }
.gate-clerk .cl-rootBox { margin: 0 auto; width: 100%; max-width: 420px; }
.gate .cl-rootBox { width: 100%; max-width: 420px; }
.gate .cl-cardBox { width: 100%; }
.gate p.small a { color: var(--brand); text-decoration: underline; }
/* La tarjeta de Clerk dentro de la portada no hereda el h1 del hero */
.hero .cl-rootBox h1, .agent .cl-rootBox h1 { font-size: 20px; line-height: 1.25; color: inherit; margin: 0; }
.hero .cl-rootBox, .agent .cl-rootBox { color: var(--ink); text-shadow: none; }
/* Mis hoteles y admin sin sesion: la tarjeta de Clerk centrada en la pantalla, no pegada arriba */
.funnel-clerk { min-height: calc(100vh - 220px); display: flex; align-items: center; justify-content: center; margin-top: 0; }

/* Portada "agente" (24-sep-2026, referencia Klar): fondo blanco, todo centrado, saludo y una sola barra */
.agent { background: #fff; padding: 88px 0 72px; text-align: center; }
.agent-inner { max-width: 820px; }
.agent-mark { display: inline-flex; gap: 5px; margin-bottom: 26px; }
.agent-mark i { width: 7px; height: 7px; border-radius: 999px; background: var(--brand); opacity: .35; animation: agentPulse 1.6s ease-in-out infinite; }
.agent-mark i:nth-child(2) { animation-delay: .25s; } .agent-mark i:nth-child(3) { animation-delay: .5s; }
@keyframes agentPulse { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.agent h1 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 10px; }
.agent-sub { color: var(--ink2); font-size: 16px; max-width: 520px; margin: 0 auto 28px; }
.agent-row { display: flex; gap: 10px; align-items: stretch; justify-content: center; max-width: 720px; margin: 0 auto; }
.agent-bar { position: relative; flex: 1 1 auto; text-align: left; }
.agent-bar > svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--mute); pointer-events: none; }
.agent-bar input { width: 100%; height: 58px; border: 1px solid var(--line); border-radius: 999px; padding: 0 240px 0 46px; font: inherit; font-size: 15.5px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04); color: var(--ink); }
.agent-bar input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14, 58, 46, .08); }
.agent-bar input::placeholder { color: var(--mute); }
.agent-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60; margin-top: 0; }
.agent-google { flex: none; display: inline-flex; align-items: center; gap: 9px; height: 54px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.agent-google:hover { background: var(--bg); }
.agent-note { color: var(--mute); font-size: 13px; margin: 16px auto 0; max-width: 560px; }
.agent-note a { color: var(--brand); text-decoration: underline; }
.agent #gate-root { text-align: left; max-width: 720px; margin: 10px auto 0; }
.agent .gate, .agent .espera { margin: 0 auto; }
@media (max-width: 640px) { .agent { padding: 56px 0 48px; } .agent-row { flex-direction: column; } .agent-google { justify-content: center; } }
.agent-row[hidden] { display: none; }
.agent .gate-clerk .cl-rootBox { margin: 0 auto; }

/* Idiomas en la cabecera y cabecera con sesion */
.lang { position: relative; margin-right: 2px; }
.lang-btn { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 12px; font-weight: 700; color: var(--ink); letter-spacing: .04em; cursor: pointer; }
.lang-btn:hover { background: var(--bg); }
.lang-menu { display: none; position: absolute; left: 0; top: calc(100% + 6px); min-width: 180px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sombra); padding: 6px; z-index: 80; }
.lang.open .lang-menu { display: block; }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.lang-menu a:hover { background: var(--bg); } .lang-menu a.on { color: var(--brand); }
.hdr-user { display: flex; align-items: center; gap: 12px; }
.hdr-my { font-weight: 700; font-size: 14px; }
.hdr-user .cl-userButtonAvatarBox { width: 34px; height: 34px; }
.agent-google[hidden] { display: none; }
/* Mis hoteles */
.mh { max-width: 860px; margin: 8px auto 40px; }
.mh-head { margin: 18px 0 20px; } .mh-head h1 { font-size: 28px; font-weight: 800; margin: 0 0 4px; } .mh-head a { color: var(--brand); text-decoration: underline; }
.mh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-bottom: 16px; }
.mh-card h3 { font-size: 17px; margin: 4px 0 8px; } .mh-card .btn { margin-top: 12px; }
.mh-empty { text-align: center; padding: 44px 28px 36px; } .mh-empty h2 { font-size: 24px; font-weight: 800; margin: 0 0 6px; } .mh-empty .muted { margin: 0 auto 22px; max-width: 460px; }
.mh-empty .agent-mark { margin-bottom: 18px; }
.mh-bar { max-width: 560px; margin: 0 auto; }
.mh-new h3 { margin: 0 0 12px; font-size: 17px; } .mh-new .mh-bar { margin: 0; max-width: none; }
.mh #gate-root { margin-top: 18px; text-align: left; }
.mh .gate, .mh .espera { box-shadow: none; border: 1px solid var(--line); max-width: none; }
.mh-note { margin-top: 14px; }
@media (max-width: 760px) { .hdr-my { display: none; } }
.page-mh .hdr-my { display: none; }
@media (max-width: 760px) { .lang { display: none; } }
.gate-clerk .cl-rootBox h1 { font-size: 20px; line-height: 1.25; margin: 0; }
/* Mis hoteles: al elegir hotel, la caja de "sin informes" desaparece y queda solo el formulario */
.mh-picked > :not(#gate-root) { display: none; }
.mh-picked { padding: 0; border: 0; background: transparent; box-shadow: none; }
.mh-picked #gate-root { margin-top: 0; }
.mh .mh-picked .gate { border: 1px solid var(--line); background: #fff; }
.gate .cad label.pro { opacity: .6; }
.gate-price { font-size: 12.5px; color: var(--ink2); background: var(--bg); border-radius: 10px; padding: 8px 12px; margin: 6px 0 4px; }
.gate-confirm .gate-actions { margin-top: 6px; }
/* Pantalla de informe listo */
.ready-head { display: flex; gap: 18px; align-items: center; margin: 4px 0 14px; }
.ready-head h2 { margin: 0 0 4px; font-size: 22px; } .ready-head p { margin: 0; color: var(--ink2); }
.ready-score { flex: none; width: 92px; height: 92px; border-radius: 999px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; line-height: 1; gap: 2px; }
.ready-score b { font-size: 36px; font-weight: 800; } .ready-score span { font-size: 13px; opacity: .7; align-self: flex-end; margin-bottom: 22px; }
.espera-also { margin-top: 12px; }
.espera.lista .gate-actions { margin-top: 14px; }
/* Boton dentro de la barra: negro, apagado hasta elegir hotel */
.agent-go { position: absolute; right: 7px; top: 7px; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #1c1c1e; color: #fff; font: inherit; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; transition: opacity .2s, transform .15s; }
.agent-go:hover:not([disabled]) { transform: translateY(-1px); background: #000; }
.agent-go[disabled] { opacity: .35; cursor: not-allowed; }
.agent-go[hidden] { display: none; }
.agent-go .g[hidden] { display: none; }
.agent-bar input:read-only { background: var(--bg); }
@media (max-width: 640px) { .agent-bar input { padding-right: 16px; height: 54px; } .agent-go { position: static; width: 100%; justify-content: center; margin-top: 10px; height: 50px; } }
/* Letras del titular: del desenfoque al foco, una a una */
.agent h1 i { font-style: normal; display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(6px); animation: letterIn .7s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes letterIn { to { opacity: 1; filter: blur(0); transform: none; } }
@media (prefers-reduced-motion: reduce) { .agent h1 i { animation: none; opacity: 1; filter: none; transform: none; } }

/* ---------- /app: espacio de trabajo tipo ChatGPT ---------- */
.app-body { background: #fff; }
.app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.app-side { background: #f7f7f8; border-right: 1px solid var(--line); padding: 14px 12px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px; }
.side-burger { display: none; } .app-topbar { display: none; } .side-overlay { display: none; }
.side-new { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.side-new:hover { background: var(--bg); }
.side-h { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); font-weight: 700; margin: 0 0 4px 10px; }
.side-agents a, .side-hotel { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.side-agents a:hover, .side-hotel:hover { background: #fff; }
.side-agents a.on, .side-hotel.on { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.av { width: 28px; height: 28px; border-radius: 999px; color: #fff; font-size: 11px; font-weight: 800; display: inline-grid; place-items: center; flex: none; }
.av-big { width: 56px; height: 56px; font-size: 20px; }
.side-score { margin-left: auto; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--bg); }
.side-score.bien { color: var(--ok); } .side-score.medio { color: #b45309; } .side-score.mal { color: #c2410c; }
.side-hotel .ico { width: 28px; text-align: center; }
.side-upsell { margin-top: auto; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; background: var(--navy); color: #fff; }
.side-upsell .eyebrow { color: #fff; opacity: .7; margin: 0; } .side-upsell b { font-size: 15px; } .side-upsell .small { opacity: .85; }
.side-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; }
.side-foot .hdr-my { display: none; }
.app-main { padding: 26px 36px 60px; max-width: 1080px; width: 100%; }
.app-head h1 { font-size: 26px; font-weight: 800; margin: 2px 0 8px; }
.app-head .hero-pills { display: flex; flex-wrap: wrap; gap: 6px; } .app-head .hero-pill { background: var(--bg); color: var(--ink2); }
.agent-head { display: flex; align-items: center; gap: 16px; margin: 22px 0 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radio); }
.agent-head h2 { margin: 0 0 2px; font-size: 20px; } .agent-head p { margin: 0; }
.agent-score { margin-left: auto; display: flex; align-items: baseline; gap: 2px; } .agent-score b { font-size: 34px; font-weight: 800; } .agent-score span { color: var(--mute); font-size: 13px; }
.agent-score.bien b { color: var(--ok); } .agent-score.medio b { color: #b45309; } .agent-score.mal b { color: #c2410c; }
.pane { display: none; } .pane.on { display: block; }
#app-new { max-width: 640px; margin-top: 24px; } #app-new .gate, #app-new .espera { box-shadow: none; border: 1px solid var(--line); max-width: none; }
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .app-main { min-width: 0; overflow-x: clip; }
  .app-head .hero-pills { flex-wrap: wrap; } .app-head .hero-pill { white-space: normal; }
  .app-side { position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); z-index: 90; transform: translateX(-100%); transition: transform .2s; }
  .side-open .app-side { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.25); }
  .side-burger { display: inline-flex; flex-direction: column; gap: 4px; background: none; border: 0; padding: 8px; } .side-burger span { width: 20px; height: 2px; background: var(--ink); }
  .app-topbar { display: flex; align-items: center; gap: 6px; margin: -6px 0 10px -8px; }
  .side-open .side-overlay { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 80; }
  .app-main { padding: 14px 16px 60px; }
}
/* /app sin hotel: buscador arriba y tarjetas de hoteles */
.app-home #app-new { max-width: none; margin-top: 18px; }
.app-home .agent-row { max-width: none; margin: 0; }
.app-home .agent-note { text-align: left; margin: 10px 0 0; }
.app-home #gate-root { max-width: none; margin: 18px 0 0; }
.home-hotels { margin-top: 34px; } .home-hotels .side-h { margin-left: 0; margin-bottom: 12px; }
.mh-card { display: block; color: var(--ink); } .mh-card:hover { border-color: var(--brand); }
.mh-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 22px; }
.mh-card h3 { font-size: 16px; margin: 0 0 4px; } .mh-card .mh-open { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--brand); font-size: 13.5px; }
.agent-head[hidden], .agent-row[hidden], #app-new[hidden] { display: none; }
.side-hotel { align-items: flex-start; } .side-hotel-t { display: flex; flex-direction: column; min-width: 0; } .side-hotel-t > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-hotel-t small { font-size: 11.5px; color: var(--mute); font-weight: 500; margin-top: 1px; }
.side-hotel .side-score { margin-top: 2px; }
/* Configuracion por hotel: los supuestos salen del resumen y viven en su propia pantalla */
.app .res-calc { display: none; }
.side-config { margin-top: -6px; } .av-gear { background: var(--mute); }
.cfg-form { max-width: none; }
.cfg-row { padding: 18px 0; border-top: 1px solid var(--line); } .cfg-row:first-child { border-top: 0; padding-top: 4px; }
.cfg-row label { display: block; font-size: 15.5px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.cfg-why { font-size: 14px; color: var(--ink2); max-width: 780px; margin-bottom: 10px; }
.cfg-form input { display: block; width: 100%; max-width: 280px; height: 46px; border: 1px solid var(--line); border-radius: 0; padding: 0 12px; font: inherit; font-size: 17px; font-weight: 700; color: var(--ink); background: #fff; }
.cfg-form input:focus { outline: none; border-color: var(--brand2); box-shadow: 0 0 0 4px rgba(26, 143, 209, .15); }
.cfg-src { display: block; font-size: 12.5px; color: var(--mute); margin-top: 6px; } .cfg-src.mine { color: var(--brand); font-weight: 600; }
.cfg-rev { background: var(--bg); border-radius: var(--radio-s); padding: 12px 14px; font-size: 14px; margin: 6px 0 12px; max-width: 780px; } .cfg-rev b { font-size: 18px; }
#cfg-agente .agente { margin-top: 18px; }
.agent-head p a { color: var(--brand); font-weight: 600; text-decoration: underline; }
.side-hotel-t small .spin { display: inline-block; width: 9px; height: 9px; border-radius: 999px; border: 1.5px solid var(--line); border-top-color: var(--brand); animation: spin .8s linear infinite; margin-right: 5px; vertical-align: -1px; }
/* Pagina de demandcalendar.ai dentro del espacio de trabajo */
.dc-hero { margin: 8px 0 20px; } .dc-hero h2 { font-size: 30px; font-weight: 800; margin: 4px 0 10px; letter-spacing: -.01em; } .dc-lead { font-size: 16px; color: var(--ink2); max-width: 760px; }
.dc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 16px; } .dc-grid .xr-block { margin: 0; }
.dc-form .gate { box-shadow: none; padding: 0; max-width: none; } .dc-form h3 { margin: 2px 0 6px; }
.dc-msg { display: block; font-size: 12.5px; font-weight: 600; color: var(--mute); margin-top: 10px; }
.dc-msg textarea { display: block; width: 100%; margin-top: 5px; border: 1px solid var(--line); padding: 10px 12px; font: inherit; font-size: 15px; resize: vertical; }
.side-upsell.on { outline: 2px solid var(--gold); }
/* Planes por hotel (Configuracion): gratis, seguimiento, creditos */
.plans-h { font-size: 16px; margin: 22px 0 10px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.plan { border: 1px solid var(--line); border-radius: var(--radio); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.plan.on { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.plan > b { font-size: 22px; font-weight: 800; } .plan > p:not(.eyebrow) { font-size: 13.5px; color: var(--ink2); margin: 0; flex: 1; }
.plan .btn { align-self: flex-start; margin-top: 6px; } .plan .pill { align-self: flex-start; }
#cfg-freq .agente { margin-top: 10px; }
tr.grp td { background: var(--bg); padding-top: 12px; border-bottom: 0; } tr.grp .cita { max-width: none; }
.metodo { background: var(--bg); border-radius: var(--radio-s); padding: 14px 16px; margin: 6px 0 16px; } .metodo .eyebrow { margin-bottom: 4px; } .metodo .lista li { border-bottom: 0; padding: 4px 0; }
.side-credits { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink); margin-top: -4px; }
.side-credits:hover, .side-credits.on { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.av-credit { background: var(--gold); color: var(--navy); font-size: 13px; }
#pane-credits .plans { max-width: 900px; }
.app-main .progreso { margin: 10px 0 4px; }
#cfg-note { margin: -4px 0 10px; padding: 10px 14px; background: var(--bg); border-radius: var(--radio-s); }
.app #agente { display: none; }
/* Hoteles a tu alrededor: casilla "es mi competidor" y filas marcadas */
td.c, th.c { width: 34px; text-align: center; padding-right: 0; }
.chk-comp input { width: 16px; height: 16px; accent-color: var(--brand); cursor: pointer; }
tr.mio td { background: #f2f8fd; }
/* Acciones por agente, compartir, historial, onboarding, filtro lateral, CTA demandcalendar */
.agent-actions .ac-list { margin: 8px 0 6px; padding-left: 22px; } .agent-actions .ac-list li { margin: 0 0 10px; } .agent-actions .ac-list li b { display: block; } .agent-actions .ac-list li .small { display: block; margin: 2px 0 4px; }
.agent-right { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; } .agent-right .agent-score { margin-left: 0; }
.share-link { width: 100%; font: inherit; font-size: 12px; border: 1px solid var(--line); padding: 6px 8px; }
.hist-block .tabla { margin-top: 4px; }
.onb { background: var(--navy); color: #fff; border-radius: var(--radio); padding: 16px 18px; margin: 12px 0 16px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.onb .eyebrow { color: #fff; opacity: .7; width: 100%; margin: 0; } .onb b { font-size: 16px; } .onb .small { flex: 1 1 100%; margin: 0; opacity: .9; } .onb .btn { background: #fff; color: var(--navy); border-color: #fff; }
.side-filter { width: 100%; height: 34px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; font: inherit; font-size: 13px; margin: 0 0 6px; }
.dc-cta { margin-top: 16px; background: var(--bg); border-radius: var(--radio-s); padding: 12px 14px; font-size: 14px; } .dc-cta a { color: var(--brand); text-decoration: underline; font-weight: 600; }
@media (max-width: 640px) { .tabla { overflow-x: auto; -webkit-overflow-scrolling: touch; } .tabla table { min-width: 520px; } }
.trig { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; } .pill.bien { background: #e8f6ef; color: var(--ok); }
.pf h2 { font-size: 18px; margin: 0 0 4px; } .pf .gate { box-shadow: none; padding: 0; max-width: none; } .pf .gate-grid { grid-template-columns: 1fr 1fr; }
.gate select { display: block; width: 100%; height: 46px; margin-top: 5px; border-radius: 12px; border: 1px solid var(--line); padding: 0 12px; font: inherit; font-size: 15px; background: #fff; }
.cal-none { font-size: 13px; font-weight: 700; color: #c2410c; } .cal-sum { margin: 0 0 10px; }
/* Formulario de alta dentro de /app: a todo el ancho, tres columnas, Turnstile junto al boton */
.app .gate { padding: 24px 28px; }
.app .gate .gate-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1100px) { .app .gate .gate-grid { grid-template-columns: repeat(2, 1fr); } }
.app .gate .check { margin: 8px 0; }
.app .gate .gate-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.app .gate .ts { margin: 12px 0 0; }
.app .gate .btn-book { height: 50px; padding: 0 26px; font-size: 15px; }
.app .gate h2 { font-size: 24px; }
@media (max-width: 760px) { .app .gate .gate-grid { grid-template-columns: 1fr; } .app .gate { padding: 18px 16px; } }
/* Calendario de precio: tarjetas */
.cal { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.cal-d { border: 1px solid var(--line); border-radius: var(--radio-s); padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.cal-d.cal-bajo { border-color: #f3c9b8; background: #fff8f4; } .cal-d.cal-alto { border-color: #bfe3cf; background: #f2faf5; } .cal-d.cal-none-d { background: var(--bg); border-style: dashed; }
.cal-date { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--mute); }
.cal-me { display: flex; align-items: baseline; gap: 6px; } .cal-me b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; } .cal-me span { font-size: 12px; color: var(--mute); }
.cal-me-none { font-size: 15px; font-weight: 700; color: #c2410c; }
.cal-zone { font-size: 13px; color: var(--ink2); } .cal-zone b { font-weight: 700; }
.cal-delta { align-self: flex-start; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--bg); color: var(--ink2); }
.cal-delta.mal { background: #fde8de; color: #c2410c; } .cal-delta.bien { background: #e8f6ef; color: var(--ok); }
.cal-ev { font-size: 12.5px; color: var(--ink2); line-height: 1.35; margin-top: 2px; padding-left: 16px; position: relative; } .cal-ev::before { content: "📅"; position: absolute; left: 0; top: 0; font-size: 11px; }
.cal-tip { align-self: flex-start; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--gold); color: var(--navy); margin-top: auto; }
.gate input.miss, .gate select.miss { border-color: #c2410c; box-shadow: 0 0 0 3px rgba(194, 65, 12, .15); }
.locked-note { background: #fff8f4; color: var(--ink); border: 1px solid #f3c9b8; } .locked-note .eyebrow { color: #c2410c; opacity: 1; }
/* Checklist del plan y nombres de agentes */
.chk-done { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--mute); float: right; margin: 2px 0 0 12px; cursor: pointer; }
.chk-done input { width: 16px; height: 16px; accent-color: var(--ok); cursor: pointer; }
.accion.done { background: #f2faf5; border-color: #bfe3cf; } .accion.done h4 { text-decoration: line-through; color: var(--mute); }
.ac-list li.done b { text-decoration: line-through; color: var(--mute); }
.prog-row { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: 14px; } .prog-row .barra { flex: 1; } .prog-row .barra i { background: var(--ok); }
.side-agent-t { display: flex; flex-direction: column; line-height: 1.15; } .side-agent-t small { font-size: 11px; color: var(--mute); font-weight: 500; }
.agent-role { color: var(--mute); font-weight: 600; font-size: 16px; }

/* To-do (25-sep): el menu de idioma del pie de la barra abre hacia arriba, y la lista de acciones con casilla */
.side-foot .lang-menu { top: auto; bottom: calc(100% + 6px); }
.todo-list { list-style: none; padding: 0; margin: 14px 0 0; }
.todo-list li { border: 1px solid var(--line); border-radius: var(--radio-s); margin-bottom: 8px; }
.todo-list label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; cursor: pointer; }
.todo-list input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--brand); }
.todo-t { display: flex; flex-direction: column; gap: 3px; } .todo-t b { font-size: 15px; }
.todo-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--mute); margin-top: 4px; }
.todo-meta .av { width: 18px; height: 18px; font-size: 10px; }
.todo-list li.done { background: #f2faf5; border-color: #bfe3cf; } .todo-list li.done b { text-decoration: line-through; color: var(--mute); }

/* Plan de 12 informes: precio tachado y cuota mensual aclarada */
.plan-old { color: var(--mute); font-weight: 500; font-size: .7em; margin-right: 4px; }
.plan-month { margin: -4px 0 8px; }
.plan-list { margin: 8px 0 12px; font-size: 13.5px; }
.plan-list li { margin: 0; padding: 4px 0 4px 16px; border: 0; background: none; position: relative; }
.plan-list li::before { content: "·"; position: absolute; left: 4px; font-weight: 700; color: var(--brand); }

/* Calculadora de canal directo (25-sep) */
.calc-ota, .calc-adr { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 14px; }
.calc-ota label, .calc-adr label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--mute); }
.calc-ota input, .calc-adr input { height: 38px; border: 1px solid var(--line); padding: 0 10px; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); background: #fff; }
.ca-strat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 18px; padding: 12px 14px; background: var(--bg); border-radius: var(--radio-s); }

/* To-do compacto: pestañas de estado y tabla con menu por accion */
.todo-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 10px; }
.todo-tabs button { height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.todo-tabs button span { color: var(--mute); font-weight: 500; margin-left: 4px; }
.todo-tabs button.on { background: var(--brand); border-color: var(--brand); color: #fff; } .todo-tabs button.on span { color: rgba(255,255,255,.75); }
.todo-tbl td { vertical-align: middle; padding: 7px 8px; } .todo-tbl th { font-size: 11px; }
.todo-tbl .todo-n { display: inline-block; min-width: 22px; color: var(--mute); font-weight: 600; font-size: 12.5px; }
.todo-tbl .todo-t b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 560px; } .todo-tbl tr.open .todo-t b { white-space: normal; }
.todo-tbl .todo-how p { margin: 0 0 6px; font-size: 13px; color: var(--ink2); } .todo-tbl .todo-how p:last-child { margin-bottom: 0; }
.todo-agc .av { width: 22px; height: 22px; font-size: 10px; cursor: default; }
.imp { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink2); white-space: nowrap; } .imp i, .imp-dot { display: inline-block; width: 9px; height: 9px; border-radius: 999px; background: var(--mute); }
.imp-alto i, .imp-dot.imp-alto { background: #c2410c; } .imp-medio i, .imp-dot.imp-medio { background: #d6a800; } .imp-bajo i, .imp-dot.imp-bajo { background: #9aa4ab; } .imp-dot { margin-right: 6px; }
.todo-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: -2px 0 12px; } .todo-tools-l { font-size: 12px; font-weight: 700; color: var(--mute); text-transform: uppercase; letter-spacing: .04em; margin-left: 6px; } .todo-tools-l:first-child { margin-left: 0; }
.todo-chips { display: flex; gap: 4px; } .todo-chips button { height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; } .todo-chips button span { color: var(--mute); font-weight: 500; margin-left: 4px; }
.todo-chips button.on { background: var(--ink); border-color: var(--ink); color: #fff; } .todo-chips button.on span { color: rgba(255,255,255,.7); }
.todo-tbl tr.grp td { padding: 14px 8px 6px; cursor: pointer; user-select: none; } .todo-tbl tr.grp b { font-size: 13.5px; margin-right: 8px; } .todo-tbl tr.grp b small { font-weight: 500; color: var(--mute); margin-left: 4px; } .todo-tbl tr.grp .av { width: 18px; height: 18px; font-size: 9px; vertical-align: -4px; margin-right: 4px; }
.grp-arrow { display: inline-block; width: 16px; color: var(--mute); font-size: 12px; } .todo-tbl tr.grp.fold td { border-bottom: 1px solid var(--line); }
.todo-tbl input[type=checkbox] { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--brand); }
.todo-tbl .todo-t { cursor: pointer; min-width: 260px; } .todo-tbl .todo-t b { font-size: 14px; }
.todo-tbl .todo-why { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.todo-tbl tr.open .todo-why { -webkit-line-clamp: unset; } .todo-how { margin-top: 6px; padding: 8px 10px; background: var(--bg); border-radius: 8px; }
.todo-ag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--mute); margin-top: 4px; } .todo-ag .av { width: 16px; height: 16px; font-size: 9px; }
.todo-sel { height: 30px; border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; font: inherit; font-size: 12.5px; font-weight: 600; background: #fff; color: var(--ink); }
.todo-sel.st-interesante { border-color: #d6a800; color: #7a5b00; } .todo-sel.st-confirmado { border-color: var(--brand); color: var(--brand); } .todo-sel.st-descartado { color: var(--mute); }
.todo-tbl tr.done .todo-t b { text-decoration: line-through; color: var(--mute); } .todo-tbl tr.st-descartado .todo-t { opacity: .55; }

/* Gate (25-sep): campos rectos (regla de la casa), rejilla de 3, precio como nota discreta */
.gate input[type=text], .gate input[type=email], .gate input[type=tel], .gate select { border-radius: 0; height: 44px; }
.gate select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230f1b24' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 32px; }
.gate .check { margin: 8px 0; font-size: 13.5px; } .gate .check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--brand); }
.gate-price { background: none; padding: 0; margin: 10px 0 4px; font-size: 12.5px; color: var(--mute); }
.gate .ts:empty { display: none; }

/* Competidores y comparativa (25-sep) */
.rv-pick tr.have td { background: #f2faf5; } .rv-pick input { width: 17px; height: 17px; accent-color: var(--brand); }
.rv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 12px 0 22px; }
.rv-cmp-wrap { overflow-x: auto; margin-top: 8px; } .rv-cmp { border-collapse: separate; border-spacing: 0; }
.rv-cmp th, .rv-cmp td { min-width: 170px; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.rv-cmp th { letter-spacing: .08em; font-size: 11px; white-space: nowrap; padding-top: 6px; border-bottom: 2px solid var(--ink); }
.rv-cmp th:first-child, .rv-cmp td.rv-lbl { padding-left: 0; min-width: 150px; max-width: 170px; }
.rv-cmp .rv-lbl { font-weight: 600; color: var(--mute); font-size: 12.5px; }
.rv-cmp .yo { background: #f2f8f4; } .rv-cmp th.yo { border-radius: 10px 10px 0 0; } .rv-cmp tr:last-child td { border-bottom: 0; } .rv-cmp tr:last-child td.yo { border-radius: 0 0 10px 10px; }
.rv-cmp td .small.muted { display: block; margin-top: 3px; line-height: 1.4; } .rv-cmp td > b { font-size: 15px; }
.rv-acc { padding-left: 18px; margin: 0; } .rv-acc li { margin-bottom: 5px; line-height: 1.4; }

/* Perfil dentro de Clerk: una linea por campo */
.pf-form .pf-row { display: block; margin-bottom: 12px; max-width: 420px; }
.pf-form .pf-row span { display: block; font-size: 12.5px; font-weight: 600; color: var(--mute); margin-bottom: 4px; }
.pf-form .pf-row input, .pf-form .pf-row select { margin-top: 0; }

/* Tarjeta de usuario en el pie de la barra y barra plegable (25-sep) */
.hdr-user-card { flex: 1; min-width: 0; justify-content: flex-end; }
.hdr-who { display: flex; flex-direction: column; min-width: 0; text-align: right; line-height: 1.2; }
.hdr-who b { font-size: 13.5px; color: var(--ink); } .hdr-who span { font-size: 11.5px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.side-fold, .side-unfold { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--mute); display: grid; place-items: center; cursor: pointer; }
.side-fold:hover, .side-unfold:hover { color: var(--ink); background: var(--bg); }
.side-unfold { display: none; position: fixed; left: 12px; top: 14px; z-index: 60; }
@media (min-width: 761px) {
  body.side-folded .app { grid-template-columns: minmax(0, 1fr); } body.side-folded .app-side { display: none; } body.side-folded .side-unfold { display: grid; }
  body.side-folded .app-main { padding-left: 56px; }
}
@media (max-width: 760px) { .side-fold { display: none; } }

/* Competidores sin creditos: vender la comparativa */
.rv-sell { margin: 14px 0 4px; padding: 16px 18px; background: var(--bg); border-radius: var(--radio-s); max-width: 720px; } .rv-sell b { display: block; font-size: 15px; margin-bottom: 4px; } .rv-sell p { font-size: 14px; margin-bottom: 10px; }
/* Movil (25-sep-2026): dedos, no raton. Botones de 44px, casillas de 20px, to-do en tarjetas y tablas sin ancho minimo */
@media (max-width: 640px) {
  .app .btn-mini, .app .btn-ghost { padding: 11px 16px; font-size: 13.5px; min-height: 44px; }
  .app .side-burger { padding: 12px 10px; margin-left: -6px; }
  .todo-tbl input[type=checkbox], .rv-pick input[type=checkbox], .chk-comp input { width: 20px; height: 20px; }
  .todo-tbl .todo-sel { height: 40px; }
  .tabla table.todo-tbl, .tabla table.rv-pick { min-width: 0; width: 100%; }
  .todo-tbl tr:first-child { display: none; } .todo-tbl tr.grp { display: block; padding: 0; } .todo-tbl tr.grp td { display: block; }
  .todo-tbl tr { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .todo-tbl td { display: block; padding: 0; border: 0; } .todo-tbl td:first-child { grid-row: 1 / span 2; }
  .todo-tbl td:nth-child(2) { grid-column: 2; } .todo-tbl .todo-t { min-width: 0; }
  .todo-tbl td:nth-child(n+3) { grid-column: 2; display: inline-block; margin-right: 6px; }
  .rv-pick .g { display: none; } .rv-pick .fino { font-size: 12.5px; white-space: nowrap; }
  .rv-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; } .rv-actions .btn { width: 100%; justify-content: center; }
  .cfg-form input { max-width: none; } .cfg-block .gate-actions .btn { width: 100%; justify-content: center; }
  .agent-head { padding: 14px 16px; gap: 12px; } .agent-score b { font-size: 28px; }
}

/* Modal propio de confirmacion (gasto de creditos) */
.xmodal { position: fixed; inset: 0; background: rgba(15, 27, 36, .45); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 16px; }
.xmodal-card { background: #fff; border-radius: var(--radio); padding: 22px 24px; max-width: 460px; width: 100%; box-shadow: var(--sombra); }
.xmodal-card h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; } .xmodal-card p { color: var(--ink2); font-size: 14.5px; margin-bottom: 4px; }

/* Resumen ejecutivo (pagina principal del hotel) y comp set propio */
.rs-hero { border: 2px solid var(--navy); } .rs-hero h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.01em; }
.rs-top { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.rs-kpi { flex: 1 1 200px; background: var(--bg); border-radius: var(--radio-s); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-height: 108px; }
.rs-kpi .eyebrow { margin-bottom: 2px; }
.rs-kpi > b { font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; } .rs-kpi > b small { font-size: 14px; color: var(--mute); font-weight: 600; margin-left: 2px; }
.rs-kpi > b.rs-rivs { font-size: 15px; letter-spacing: 0; display: flex; flex-direction: column; gap: 2px; } .rs-riv i { font-style: normal; font-weight: 800; font-size: 16px; margin-left: 4px; }
.rs-kpi a.small { color: var(--brand); font-weight: 600; margin-top: auto; }
.rs-cta { font-size: 15px; font-weight: 700; color: var(--brand); text-decoration: underline; line-height: 1.35; } .rs-cta-muted { font-size: 14px; color: var(--mute); }
.rs-agents { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.rs-agent { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--radio-s); padding: 10px 12px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; }
.rs-agent:hover { border-color: var(--brand); background: var(--bg); } .rs-agent-t { display: flex; flex-direction: column; line-height: 1.15; } .rs-agent-t small { font-size: 11.5px; color: var(--mute); font-weight: 500; }
.rs-agent > b { margin-left: auto; font-size: 20px; font-weight: 800; }
.rs-list li { padding: 8px 0; } .rs-eyebrow2 { margin-top: 16px; }
.rs-lunes { margin-top: 6px; grid-template-columns: 1fr; gap: 0; } /* horizontal (Joan, 25-sep): una accion por fila, numero, titulo y porque, etiquetas a la derecha */
.rs-lunes .lunes-i { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 4px; align-items: center; }
.rs-lunes .lunes-i > div { flex: 1; display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; }
.rs-lunes .lunes-i > div > b { flex: 1 1 260px; font-size: 14.5px; } .rs-lunes .lunes-i > div > p.small { flex: 2 1 320px; margin: 0; }
.rs-lunes .lunes-i > div > p:last-child { flex: 0 0 auto; margin: 0; white-space: nowrap; margin-left: auto; }
.rs-lunes .lunes-i:last-child { border-bottom: 0; } .rs-lunes .lunes-i p { margin: 4px 0 0; } .rs-lunes .pill { margin-right: 6px; }
.rs-more { margin: 16px 0 0; }
#rs-block .xr-block:last-child { margin-bottom: 0; }
.rv-search { position: relative; max-width: 560px; margin: 8px 0 14px; }
.rv-search input { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 0; padding: 0 12px; font: inherit; font-size: 15px; background: #fff; }
.rv-search input:focus { outline: none; border-color: var(--brand2); box-shadow: 0 0 0 4px rgba(26, 143, 209, .15); }
.rv-search .search-results { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; }
.btn-x { border: 0; background: none; font-size: 15px; color: var(--mute); cursor: pointer; padding: 4px 8px; border-radius: 999px; } .btn-x:hover { background: var(--bg); color: var(--ink); }
.rv-pick td.nowrap { white-space: nowrap; }

@media (max-width: 640px) { .todo-tbl .todo-t b { white-space: normal; max-width: none; } .todo-tbl .todo-agc { display: none !important; } }

.todo-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.todo-pager .todo-chips button:disabled { opacity: .4; cursor: default; }

.au-list li b { text-transform: capitalize; }
#b-audit .kpi .v small { font-size: 13px; color: var(--mute); font-weight: 600; }

/* Resumen: las cifras en filas, no en tarjetas enfrentadas */
.rs-rows { margin-top: 14px; border-top: 1px solid var(--line); }
.rs-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rs-row .eyebrow { flex: 0 0 200px; margin: 0; }
.rs-row > b { font-size: 28px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; } .rs-row > b small { font-size: 13px; color: var(--mute); font-weight: 600; margin-left: 2px; }
.rs-row > b.rs-rivs { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; letter-spacing: 0; white-space: normal; } .rs-row .rs-riv i { font-style: normal; font-weight: 800; font-size: 17px; margin-left: 4px; }
.rs-row .small.muted { flex: 1 1 200px; } .rs-row a.small { margin-left: auto; color: var(--brand); font-weight: 600; white-space: nowrap; }
.rs-row .rs-cta-muted { flex: 1 1 260px; font-size: 14px; color: var(--ink2); } .rs-row .btn { margin-left: auto; white-space: nowrap; }
@media (max-width: 640px) { .rs-row .eyebrow { flex-basis: 100%; } .rs-row a.small, .rs-row .btn { margin-left: 0; } }

/* Sin sesion en la barra: Entrar y Crear cuenta, tambien en movil */
.app-side .btn-entrar { display: inline-flex; height: 40px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
.side-foot .side-auth { display: flex; gap: 6px; margin-left: auto; }

/* Comparativa: listas con viñeta en vez de texto separado por puntos (Joan, 25-sep) */
.rv-cmp .rv-ul { margin: 6px 0 0; padding-left: 16px; line-height: 1.45; } .rv-cmp .rv-ul li { margin-bottom: 2px; overflow-wrap: anywhere; }

/* To-do como rejilla (26-sep): cada fila es un bloque con las mismas columnas, sin celdas de tabla que se desalinean */
.todo-list2 { margin-top: 4px; border-top: 1px solid var(--line); }
.todo-hd, .todo-row { display: grid; grid-template-columns: 26px 28px minmax(0, 1fr) 30px 92px 96px 150px; align-items: center; column-gap: 10px; }
.todo-hd { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 700; padding: 10px 0 8px; border-bottom: 1px solid var(--line); }
.todo-row { padding: 9px 0; border-bottom: 1px solid var(--line); } .todo-row:hover { background: #fbfaf7; }
.td-meta { display: contents; }
.td-chk { display: flex; align-items: center; justify-content: center; margin: 0; } .td-chk input { width: 18px; height: 18px; accent-color: var(--brand); cursor: pointer; margin: 0; }
.td-num { font-size: 12.5px; color: var(--mute); font-weight: 600; text-align: right; }
.todo-row .todo-t { min-width: 0; cursor: pointer; } .todo-row .todo-t > b { display: block; font-size: 14px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .todo-row.open .todo-t > b { white-space: normal; }
.todo-row .todo-how { margin: 8px 0 2px; padding: 10px 12px; background: var(--bg); border-radius: 8px; } .todo-row .todo-how p { margin: 0 0 6px; font-size: 13px; color: var(--ink2); } .todo-row .todo-how p:last-child { margin: 0; }
.td-ag { display: flex; } .td-ag .av { width: 22px; height: 22px; font-size: 10px; cursor: default; }
.td-when { white-space: nowrap; } .td-st .todo-sel { width: 100%; }
.todo-row.done .todo-t > b { text-decoration: line-through; color: var(--mute); } .todo-row.st-descartado .todo-t { opacity: .55; }
.todo-grp { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; padding: 16px 0 6px; font-size: 13.5px; cursor: pointer; user-select: none; }
.todo-grp b { margin-right: 2px; } .todo-grp b small { font-weight: 500; color: var(--mute); margin-left: 4px; } .todo-grp .av { width: 18px; height: 18px; font-size: 9px; vertical-align: -4px; margin-right: 4px; }
.todo-grp.fold { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.todo-empty { padding: 16px 0; }
@media (max-width: 640px) {
  .todo-hd { display: none; }
  .todo-row { grid-template-columns: 26px 28px minmax(0, 1fr); row-gap: 8px; padding: 12px 0; }
  .todo-row .todo-t { grid-column: 3; } .todo-row .todo-t > b { white-space: normal; }
  .td-ag { display: none; }
  .td-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; grid-column: 3; }
  .td-st { flex: 1 1 100%; } .td-st .todo-sel { width: auto; min-width: 160px; }
  .td-chk input { width: 20px; height: 20px; }
}

/* To-do: seccion urgente fija arriba y selector de tamaño de pagina */
.todo-grp[data-fold="__urg"] { color: #c2410c; } .todo-grp[data-fold="__urg"] b small { color: #c2410c; opacity: .75; } .urg-flag { font-size: 13px; }
.todo-per { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--mute); margin-left: auto; }
.todo-per select { height: 30px; border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; font: inherit; font-size: 12.5px; font-weight: 600; background: #fff; color: var(--ink); }

/* Conversaciones: Reddit y Rabbit */
#b-social h3 { margin-top: 22px; } #b-social h3:first-of-type { margin-top: 6px; } .so-list li a { color: var(--ink); font-weight: 600; } .so-list li a:hover { color: var(--brand); }

/* Paginas legales (/legal/<seccion>): una columna, lectura comoda, formulario de contacto con campos rectos */
.legal { max-width: 760px; padding-top: 28px; padding-bottom: 64px; }
.legal .crumb { font-size: 13px; color: var(--mute); margin-bottom: 18px; } .legal .crumb a { color: var(--mute); }
.legal h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.legal-upd { font-size: 13px; color: var(--mute); margin-bottom: 18px; } .legal-intro { font-size: 17px; color: var(--ink2); margin-bottom: 8px; }
.legal h2 { font-size: 19px; font-weight: 800; margin: 30px 0 8px; } .legal p, .legal li { font-size: 15px; line-height: 1.65; color: var(--ink2); }
.legal ul { padding-left: 20px; margin: 6px 0 10px; } .legal li { margin-bottom: 6px; } .legal a { color: var(--brand); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal-nav a { font-size: 13.5px; font-weight: 600; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; }
.legal-nav a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.legal-form { display: grid; gap: 12px; margin-top: 22px; max-width: 560px; }
.legal-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: var(--ink); }
.legal-form input, .legal-form select, .legal-form textarea { border: 1px solid var(--line); border-radius: 0; padding: 11px 12px; font: inherit; font-size: 15px; background: #fff; color: var(--ink); }
.legal-form input:focus, .legal-form select:focus, .legal-form textarea:focus { outline: none; border-color: var(--brand2); box-shadow: 0 0 0 4px rgba(26, 143, 209, .15); }
.legal-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.legal-ok { font-size: 16px; font-weight: 700; color: var(--ok); padding: 16px 0; }
.side-legal { font-size: 11.5px; color: var(--mute); margin: 8px 4px 0; line-height: 1.6; } .side-legal a { color: var(--mute); }

/* Perfil pendiente: aviso discreto en la barra y formulario de perfil en modal */
.side-pending { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--mute); padding: 4px 10px; margin: -2px 0 2px; text-decoration: none; }
.side-pending[hidden] { display: none; } .side-pending:hover { color: var(--ink); }
.side-pending i { width: 7px; height: 7px; border-radius: 999px; background: #d6a800; flex: none; }
.pf-modal { position: relative; max-width: 520px; max-height: 90vh; overflow-y: auto; } .pf-close { position: absolute; top: 10px; right: 10px; }
.pf-modal .gate { box-shadow: none; padding: 0; } .pf-consent { font-size: 13px; font-weight: 500; color: var(--ink2); margin-top: 4px; }

/* Calendario de precio en filas (Joan, 29-sep): una fecha por fila, columnas alineadas: fecha, tu precio, zona, diferencia, evento, aviso */
.cal { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.cal .cal-d { display: grid; grid-template-columns: 96px 112px 104px max-content minmax(0, 1fr) auto; align-items: center; column-gap: 14px; row-gap: 4px;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 10px; background: #fff; }
.cal .cal-d.cal-bajo { background: #fff8f4; } .cal .cal-d.cal-alto { background: #f2faf5; } .cal .cal-d.cal-none-d { background: var(--bg); border-style: solid; }
.cal .cal-me b { font-size: 20px; } .cal .cal-delta, .cal .cal-tip { align-self: center; justify-self: start; margin: 0; }
.cal .cal-ev { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .cal .cal-tip { justify-self: end; white-space: nowrap; } .cal .cal-delta { white-space: nowrap; }
@media (max-width: 760px) {
  .cal .cal-d { grid-template-columns: 1fr auto; }
  .cal .cal-date { grid-column: 1 / -1; } .cal .cal-zone { justify-self: end; }
  .cal .cal-ev { grid-column: 1 / -1; } .cal .cal-tip { justify-self: start; grid-column: 1 / -1; }
}

/* Configuracion rapida tras el alta: tarjeta centrada, opciones como pastillas de un clic */
.qs-card { max-width: 520px; padding: 28px 30px 22px; } .qs-card h3 { font-size: 22px; margin-bottom: 4px; } .qs-card > p { margin-bottom: 18px; }
.qs-q { border: 0; padding: 0; margin: 0 0 16px; } .qs-q legend { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; padding: 0; }
.qs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.qs-chip { position: relative; cursor: pointer; } .qs-chip input { position: absolute; opacity: 0; pointer-events: none; }
.qs-chip span { display: inline-block; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink); background: #fff; }
.qs-chip:hover span { border-color: var(--ink); } .qs-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; } .qs-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(26, 143, 209, .3); }
.qs-go { width: 100%; justify-content: center; margin-top: 6px; } .qs-go:disabled { opacity: .45; cursor: default; }
.qs-skip { display: block; margin: 10px auto 0; background: none; border: 0; font: inherit; font-size: 13px; color: var(--mute); cursor: pointer; text-decoration: underline; }
