/* Tipografías alojadas en Reservito (licencia SIL OFL), juego latino: sin conexiones a servicios externos */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/static/fonts/bricolage-grotesque.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/static/fonts/figtree.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/static/fonts/jetbrains-mono.woff2") format("woff2"); }
:root {
  --bg: #EEF1F4; --surface: #FFFFFF; --ink: #13202C; --muted: #5B6B79; --line: #D8DFE6;
  --accent: #1F4FD8; --accent-ink: #FFFFFF; --soft: #E3EAFB; --taken: #E9ECF0;
  --ok: #1B7F4B; --ok-soft: #DDF2E6; --bad: #B4322A; --bad-soft: #FBE4E1; --warn: #8A5A00; --warn-soft: #FDF0D5;
  --f-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E151C; --surface: #16202A; --ink: #E8EDF2; --muted: #93A3B2; --line: #26323E;
    --accent: #6E95FF; --accent-ink: #0B1220; --soft: #1C2A45; --taken: #1C2530;
    --ok: #5ACB8C; --ok-soft: #173326; --bad: #FF8A80; --bad-soft: #3A1C1A; --warn: #F5C46B; --warn-soft: #3A2E14;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--f-body); }
a { color: var(--accent); }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2 { font-family: var(--f-display); letter-spacing: -.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(24px, 4vw, 32px); line-height: 1.1; }
h2 { font-size: 19px; font-weight: 600; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin: 0; }
.note { font-size: 13px; color: var(--muted); margin: 0; }

.top { background: var(--surface); border-bottom: 1px solid var(--line); padding: 0 16px; }
.top-in { max-width: 560px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; flex-wrap: wrap; }
.top-in.wide, main.wide { max-width: 1040px; }
.top nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.top nav a:not(.btn), .link { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14px; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.top nav form { margin: 0; }
.brand { font-family: var(--f-display); font-weight: 800; font-size: 22px; color: var(--ink); text-decoration: none; letter-spacing: -.03em; }
.brand span { color: var(--accent); }
main { max-width: 560px; margin: 0 auto; padding: 24px 16px 56px; display: flex; flex-direction: column; gap: 18px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 600 15px var(--f-body); border-radius: 12px; padding: 12px 18px;
  cursor: pointer; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.small { padding: 7px 12px; font-size: 13.5px; border-radius: 10px; }
.btn.ghost { background: transparent; color: var(--muted); }
.btn.grow { flex: 1; }
.btn:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.card.narrow { max-width: 440px; width: 100%; margin: 12px auto 0; }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 13.5px; }
.field small { color: var(--muted); font-size: 12.5px; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; min-width: 0; }
input[type=checkbox] { width: auto; accent-color: var(--accent); }
.flash { margin: 0; padding: 11px 14px; border-radius: 12px; font-size: 14px; }
.flash.err { background: var(--bad-soft); color: var(--bad); }
.flash.ok { background: var(--ok-soft); color: var(--ok); }
.banner { padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; }
.banner.warn { background: var(--warn-soft); color: var(--warn); }
.banner.bad { background: var(--bad-soft); color: var(--bad); }
.banner-pay { margin: 6px 0 0; font-weight: 500; }
.banner a { color: inherit; font-weight: 700; }

/* Landing */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 24px 0 12px; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin: 10px 0 16px; }
.hero .lead { font-size: 17px; color: var(--muted); max-width: 52ch; margin: 0 0 22px; }
.hero .note { margin-top: 12px; }
.phone { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 24px 60px -30px rgba(19, 32, 44, .35); max-width: 340px; justify-self: center; width: 100%; }
.ph-shop { display: flex; gap: 10px; align-items: center; padding-bottom: 6px; }
.ph-shop small { display: block; color: var(--muted); font-size: 12px; }
.ph-logo { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font: 800 15px var(--f-display); }
.ph-opt { display: flex; justify-content: space-between; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: 14px; }
.ph-opt small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.ph-opt.sel { border-color: var(--accent); background: var(--soft); }
.ph-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-slots i { font: 500 13px var(--f-mono); font-style: normal; text-align: center; border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 0; }
.ph-slots i.off { background: var(--taken); color: var(--muted); border-color: transparent; text-decoration: line-through; }
.ph-slots i.sel { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.ph-btn { background: var(--accent); color: var(--accent-ink); text-align: center; border-radius: 12px; padding: 11px; font-weight: 600; font-size: 14px; }
.how { display: flex; flex-direction: column; gap: 18px; padding-top: 24px; }
.how h2 { font-size: 28px; font-weight: 800; }
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.steps-list li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.steps-list li::before { content: counter(s); font: 800 26px var(--f-display); color: var(--accent); }
.steps-list span { color: var(--muted); font-size: 14px; }
.cta-band { margin-top: 24px; background: var(--ink); color: var(--bg); border-radius: 22px; padding: 32px 28px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta-band h2 { font-size: 26px; font-weight: 800; max-width: 22ch; }

/* Panel */
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.share { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 0 1 460px; }
.share label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.copy { display: flex; gap: 6px; }
.copy input { font-family: var(--f-mono); font-size: 13px; padding: 8px 10px; }
.setup ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.setup li { display: flex; gap: 10px; align-items: center; }
.setup li a { color: var(--ink); font-weight: 500; }
.setup li.done a { color: var(--muted); text-decoration: line-through; }
.tick { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ok); }
.setup li.done .tick { background: var(--ok-soft); border-color: transparent; }
.day-group { display: flex; flex-direction: column; gap: 10px; }
.day-group h2 { font-size: 17px; }
.list-card { padding: 4px 20px; gap: 0; }
.appt { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.appt:first-child { border-top: 0; }
.appt-main { min-width: 0; display: flex; flex-direction: column; }
.appt-main small { color: var(--muted); overflow-wrap: anywhere; }
.appt.cancel { opacity: .55; }
.appt.cancel strong { text-decoration: line-through; }
.cancel-form { margin: 0; }
.pill { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--taken); color: var(--muted); white-space: nowrap; }
.empty p { margin: 0; color: var(--muted); }

/* Configurar */
.config-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.svc-row, .staff-row { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; margin: 0; }
.svc-row > input { flex: 1 1 180px; }
.staff-row > input { flex: 1 1 160px; }
.svc-row.add, .staff-row.add { padding-top: 12px; border-top: 1px dashed var(--line); }
.mini { display: flex; flex-direction: column; font-size: 11.5px; color: var(--muted); font-weight: 600; gap: 2px; width: 88px; }
.mini input { padding: 9px 8px; }
.hour-row { display: grid; grid-template-columns: 88px auto 1fr auto 1fr; gap: 8px; align-items: center; }
.hour-row input[type=time] { padding: 8px; }
.day-name { font-weight: 600; font-size: 14px; }
.chk { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.prefix { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); overflow: hidden; }
.prefix span { padding-left: 12px; color: var(--muted); font: 13px var(--f-mono); white-space: nowrap; }
.prefix input { border: 0; padding-left: 2px; font-family: var(--f-mono); font-size: 13.5px; }

/* Página pública de reservas */
.book { width: 100%; display: flex; flex-direction: column; gap: 16px; }
.shop { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; gap: 16px; align-items: center; }
.shop p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.shop .desc { color: var(--ink); }
.logo { flex: none; width: 60px; height: 60px; border-radius: 14px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font: 800 22px var(--f-display); }
.steps { display: flex; gap: 6px; }
.steps i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.steps i.on { background: var(--accent); }
.list { display: flex; flex-direction: column; gap: 8px; }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; color: inherit; background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; }
.opt:hover { border-color: var(--accent); }
.opt strong { display: block; font-weight: 600; }
.opt small { color: var(--muted); }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.day { flex: none; width: 58px; border: 1.5px solid var(--line); background: var(--surface); color: inherit; border-radius: 12px; padding: 8px 0; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; }
.day b { font: 600 20px/1.1 var(--f-display); }
.day small { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.day[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.day[aria-pressed="true"] small { color: var(--accent-ink); }
.day:disabled { opacity: .4; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.slot { font-size: 14px; border: 1.5px solid var(--line); background: var(--surface); color: inherit; border-radius: 10px; padding: 9px 0; cursor: pointer; }
.slot:hover { border-color: var(--accent); background: var(--soft); }
.summary { background: var(--soft); border-radius: 12px; padding: 14px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 14px; margin: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.done { align-items: flex-start; }
.done form { margin: 0; }
.check { width: 52px; height: 52px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-size: 26px; font-weight: 700; }
.foot { text-align: center; font-size: 12.5px; color: var(--muted); }
.foot a { color: var(--ink); font-family: var(--f-display); font-weight: 800; text-decoration: none; }

.table-wrap { overflow-x: auto; padding: 8px 12px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
td form { margin: 0; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .steps-list { grid-template-columns: 1fr 1fr; }
  .config-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .steps-list { grid-template-columns: 1fr; }
  .hour-row { grid-template-columns: 1fr auto; }
  .hour-row .muted { display: none; }
  .hour-row input[type=time] { grid-column: span 1; }
  .appt { grid-template-columns: 50px 1fr; }
  .appt > form, .appt > .pill { grid-column: 2; justify-self: start; }
  .cta-band { padding: 24px 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .card, .opt, .slot, .day { transition: border-color .15s, background .15s; }
}
.rubros { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rubros li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 500; }
.rubros li:last-child { background: var(--soft); border-color: transparent; color: var(--accent); }
/* Celular de la portada: los ejemplos se apilan en la misma celda y rotan cada 4 s (4 ejemplos = 16 s) */
.ph-deck { display: grid; }
.ph-card { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; opacity: 0; }
.ph-card:first-child { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .ph-card { animation: ph-rotate 16s infinite; animation-delay: calc(var(--i) * 4s - 16s); }
  .ph-card:first-child { animation-delay: 0s; }
}
@keyframes ph-rotate { 0%, 22% { opacity: 1; } 25%, 97% { opacity: 0; } 100% { opacity: 1; } }
/* Reserva a mano (panel) */
.manual { padding: 14px 18px; }
.manual summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; cursor: pointer; list-style: none; }
.manual summary::-webkit-details-marker { display: none; }
.manual[open] summary { margin-bottom: 14px; }
.manual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.manual-grid .wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .manual-grid { grid-template-columns: 1fr; } }
/* Bloqueos */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.appt.block { opacity: .8; }
.appt.block strong { color: var(--muted); }
.block-list { list-style: none; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 8px; }
.block-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.block-list small { display: block; color: var(--muted); }
.block-list form { margin: 0; }
[hidden] { display: none !important; }
.appt-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.appt-actions form { margin: 0; }
@media (max-width: 560px) { .appt > .appt-actions { grid-column: 2; justify-content: flex-start; } }
.winback-stats { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.winback-stats b { color: var(--ink); }
.demo-note { background: var(--soft); color: var(--ink); border-radius: 14px; padding: 12px 16px; font-size: 14px; }
.demo-note a { font-weight: 700; }
.ref-note { background: var(--ok-soft); color: var(--ink); border-radius: 12px; padding: 10px 14px; margin: 0; }
.invite .copy { margin: 12px 0 0; }
.invite .copy { flex-wrap: wrap; } .invite .copy input { flex: 1 1 220px; min-width: 0; }
.banner .btn.primary { color: var(--accent-ink); font-weight: 600; }
.site-foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 32px 16px 28px; font-size: 14px; color: var(--muted); }
.sf-in { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; }
.sf-brand p { margin: 8px 0 0; max-width: 32ch; }
.sf-col { display: flex; flex-direction: column; gap: 8px; }
.sf-col b { color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.site-foot a:not(.brand) { color: var(--muted); text-decoration: none; }
.site-foot a:not(.brand):hover { color: var(--ink); text-decoration: underline; }
.sf-copy { max-width: 1080px; margin: 24px auto 0; font-size: 12.5px; }
@media (max-width: 760px) { .sf-in { grid-template-columns: 1fr 1fr; } .sf-brand { grid-column: 1 / -1; } }
.foot a.foot-link { font-family: inherit; font-weight: 400; color: var(--muted); }
.legal { max-width: 760px; margin: 0 auto; line-height: 1.6; }
.legal h2 { font-size: 18px; margin: 22px 0 6px; }
.legal p, .legal ul { margin: 0 0 10px; }

/* Portada: beneficios, precio, preguntas y botón de ayuda */
.benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.benefits li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.benefits b { font-size: 16px; }
.benefits li > span:last-child { color: var(--muted); font-size: 14px; }
.b-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 4px; }
.b-icon svg, .help-bubble svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.price-card { background: var(--surface); border: 2px solid var(--accent); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.price { margin: 0; font-size: 16px; color: var(--muted); }
.price span { font: 800 44px var(--f-display); color: var(--ink); letter-spacing: -.03em; }
.checks { list-style: none; padding: 0; margin: 6px 0 8px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.price-why { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.price-why p { margin: 0; }
.roi { background: var(--ok-soft); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.roi b { font: 800 20px var(--f-display); letter-spacing: -.01em; }
.roi span { color: var(--muted); font-size: 14px; }
.faq { display: flex; flex-direction: column; gap: 8px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font: 800 20px var(--f-display); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }
.help-bubble { position: fixed; right: 16px; bottom: 16px; z-index: 20; display: inline-flex; align-items: center; gap: 8px; background: #1FA855; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 11px 16px; border-radius: 999px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); }
.help-bubble:hover { background: #18914a; }
@media (max-width: 860px) { .benefits { grid-template-columns: 1fr 1fr; } .pricing { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } .site-foot { padding-bottom: 80px; } }

/* Opiniones */
.reviews { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.reviews li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.reviews p { margin: 0; font-size: 15px; }
.reviews footer { display: flex; gap: 10px; align-items: center; margin-top: auto; }
.reviews footer small { display: block; color: var(--muted); font-size: 12.5px; }
.r-logo { width: 36px; height: 36px; border-radius: 9px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font: 800 13px var(--f-display); flex: none; }
.stars { color: #F5B83D; letter-spacing: 2px; font-size: 17px; }
.stars span { color: var(--line); }
.opinion summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.opinion summary::-webkit-details-marker { display: none; }
.opinion summary h2 { font-size: 18px; }
.opinion[open] summary { margin-bottom: 14px; }
.opinion .pill { margin: 0; }
.ok-pill { background: var(--ok-soft); color: var(--ok); }
.label { font-weight: 600; font-size: 13.5px; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 30px; line-height: 1; color: var(--line); cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #F5B83D; }
.star-input input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 4px; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reviews { grid-template-columns: 1fr; } }
.opinion.invited { border-color: var(--accent); }
/* Tarjeta de fidelidad */
.loyalty-note { margin: 0; background: var(--warn-soft); color: var(--ink); border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.loyalty-card { display: flex; flex-direction: column; gap: 2px; background: var(--warn-soft); border-radius: 14px; padding: 14px 16px; text-align: left; }
.loy-dots { color: #E0A21B; font-size: 20px; letter-spacing: 3px; }
.loyalty-card small { color: var(--muted); }
.pill.prize { background: var(--warn-soft); color: var(--warn); vertical-align: middle; }
.rubros a { color: inherit; text-decoration: none; }
.rubros li:has(a):hover { border-color: var(--accent); }
.rubro-hero { grid-template-columns: 1fr; max-width: 820px; }

/* Configurar: menú lateral + una columna */
.config-lead { margin: -6px 0 6px; }
.config-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; align-items: start; }
.config-nav { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 2px; }
.config-nav b { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 14px 0 4px 10px; }
.config-nav b:first-child { margin-top: 0; }
.config-nav a { padding: 7px 10px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 14.5px; }
.config-nav a:hover { background: var(--surface); }
.config-nav a.on { background: var(--soft); color: var(--accent); font-weight: 600; }
.config-main { display: flex; flex-direction: column; gap: 16px; max-width: 780px; min-width: 0; }
.config-main > section { scroll-margin-top: 16px; }
.config-group { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 -4px; font-family: var(--f-body); font-weight: 700; }
.config-group:first-child { margin-top: 0; }
/* Filas compactas: nombre, minutos, precio y botones en una línea */
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) 84px 100px auto auto; gap: 8px; align-items: end; }
.svc-row.add { grid-template-columns: minmax(0, 1fr) 84px 100px auto; }
.svc-row .mini { width: auto; }
.staff-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; }
.staff-row.add { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 860px) {
  .config-layout { grid-template-columns: 1fr; gap: 12px; }
  .config-nav { flex-direction: row; overflow-x: auto; gap: 6px; padding: 8px 0; top: 0; z-index: 5; background: var(--bg); scrollbar-width: none; }
  .config-nav b { display: none; }
  .config-nav a { white-space: nowrap; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; }
  .config-main > section { scroll-margin-top: 64px; }
}
@media (max-width: 560px) {
  .svc-row, .svc-row.add { grid-template-columns: 1fr 1fr; }
  .svc-row > input { grid-column: 1 / -1; }
}
/* Aviso flotante de Configurar */
.flash.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 30; max-width: min(520px, calc(100vw - 32px));
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .5); font-weight: 600; transition: opacity .4s, transform .4s; }
.flash.toast.hide { opacity: 0; transform: translate(-50%, 12px); pointer-events: none; }
.flash.err.toast { animation: none; }
/* App y notificaciones */
.app-card p { margin: 0 0 10px; }
.app-card.compact { position: relative; border-color: var(--accent); }
.app-card.compact h2 { font-size: 17px; }
.app-close { position: absolute; top: 10px; right: 12px; border: 0; background: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.ios-steps { margin: 0 0 10px; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.app-msg:empty { display: none; }
.app-tip { font-size: 13.5px; }
/* Agenda en vivo: reservas nuevas destacadas */
.appt.new { background: var(--soft); border-radius: 12px; padding-left: 10px; padding-right: 10px; margin: 0 -10px; }
.appt.new strong::after { content: "Nueva"; margin-left: 8px; font-size: 11px; font-weight: 700; color: var(--accent-ink); background: var(--accent); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
@media (prefers-reduced-motion: no-preference) { .appt.new { animation: tn-glow 2.4s ease-out 2; } }
@keyframes tn-glow { 0% { box-shadow: 0 0 0 0 var(--accent); } 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
/* Clientes y Números */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.page-head p.muted { margin: 4px 0 0; }
.list-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.list-tools input[type=search] { flex: 1 1 260px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14px; white-space: nowrap; }
.chip span { color: var(--muted); margin-left: 2px; }
.chip.on { background: var(--soft); border-color: var(--accent); color: var(--accent); font-weight: 600; }
table.clients td small { display: block; color: var(--muted); font-size: 12.5px; }
table.clients a { color: var(--ink); text-decoration: none; }
table.clients a:hover b { text-decoration: underline; }
.warn-pill { background: var(--warn-soft); color: var(--warn); }
.client-link { color: inherit; text-decoration: none; }
.client-link:hover { text-decoration: underline; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tile b { font: 800 24px var(--f-display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.tile span { color: var(--muted); font-size: 13.5px; }
.tile small { color: var(--muted); font-size: 12px; }
.client-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 760px) { .client-grid { grid-template-columns: 1fr; } }
/* Barras: una serie, extremo redondeado arriba anclado a la base, 2px entre barras */
.bars { display: flex; align-items: flex-end; gap: 2px; height: 180px; padding-top: 20px; border-bottom: 1px solid var(--line); }
.bar { flex: 1 1 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; outline: none; }
.bar-fill { width: min(70%, 34px); background: var(--accent); border-radius: 4px 4px 0 0; }
.bar-val { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.bar-val.dim { visibility: hidden; }
.bar-x { position: absolute; bottom: -22px; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.bars + .as-table { margin-top: 30px; }
.bar-tip { position: absolute; bottom: calc(100% + 2px); background: var(--ink); color: var(--bg); font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 2; }
.bar:hover .bar-tip, .bar:focus .bar-tip { opacity: 1; }
.bar:hover .bar-fill, .bar:focus .bar-fill { filter: brightness(1.12); }
.as-table summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.as-table table { margin-top: 8px; font-size: 14px; }
/* Compartir */
.share-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.share-top .copy input, .channel .copy input { flex: 1 1 auto; min-width: 0; }
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.channel h3 { margin: 0; font-size: 17px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.steps-mini { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.steps-mini b { color: var(--ink); font-weight: 600; }
.qr { background: #fff; border-radius: 12px; padding: 12px; width: max-content; max-width: 100%; }
.qr svg { display: block; width: 180px; height: 180px; }
@media (max-width: 760px) { .share-top { grid-template-columns: 1fr; } }
/* Afiche imprimible */
.poster { max-width: 560px; margin: 24px auto; padding: 40px 32px; background: #fff; color: #13202C; border-radius: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.poster h1 { font: 800 40px var(--f-display); letter-spacing: -.03em; margin: 0; color: #13202C; }
.poster-logo { width: 72px; height: 72px; border-radius: 16px; background: #13202C; color: #EEF1F4; display: grid; place-items: center; font: 800 28px var(--f-display); }
.poster-lead { font: 700 24px var(--f-display); color: #1F4FD8; margin: 6px 0; }
.poster-qr { padding: 0; }
.poster-qr svg { width: 300px; height: 300px; }
.poster-steps { font-size: 16px; margin: 8px 0 0; }
.poster-url { font: 600 16px var(--f-mono); margin: 0; }
.poster-foot { font-size: 13px; color: #5B6B79; margin: 4px 0 0; }
.poster-actions { display: flex; gap: 10px; margin-top: 16px; }
@media print {
  body { background: #fff !important; }
  .poster { margin: 0 auto; box-shadow: none; }
  .poster-actions { display: none; }
  @page { margin: 16mm; }
}

/* ===== Portada v2: más clara y llamativa ===== */
.center { text-align: center; }
.how h2.center { margin-top: -6px; }
.btn.big { padding: 14px 22px; font-size: 16px; }
.hero-v2 { position: relative; padding: 36px 0 20px; }
.hero-v2::before { content: ""; position: absolute; inset: -40px -20vw auto; height: 520px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 75% 40%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
              radial-gradient(ellipse 40% 50% at 10% 10%, color-mix(in srgb, var(--ok) 12%, transparent), transparent 70%); }
.hero-v2 h1 .hl { color: var(--accent); }
.hero-v2 .lead { font-size: 18px; }
.trust { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 600; }
.trust li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 6px; }
.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 360px; }
.hero-visual .phone { max-width: 320px; margin: 0 auto; }
.notif { position: absolute; display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .55); font-size: 13.5px; width: 240px; left: -40px; top: 18px; }
.notif b { display: block; }
.notif small { color: var(--muted); }
.notif-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.notif-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notif-icon.ok { background: var(--ok-soft); color: var(--ok); font-weight: 800; }
.notif-2 { top: auto; bottom: 26px; left: auto; right: -34px; width: 220px; }
@media (prefers-reduced-motion: no-preference) {
  .notif { animation: tn-pop 7s ease-in-out infinite; }
  .notif-2 { animation-delay: 3.5s; }
}
@keyframes tn-pop { 0%, 8% { opacity: 0; transform: translateY(8px) scale(.97); } 14%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-6px); } }
/* Franja de datos */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 28px 0 8px; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.facts b { font: 800 30px var(--f-display); color: var(--accent); letter-spacing: -.02em; }
.facts span { color: var(--muted); font-size: 13.5px; }
/* Antes / con Reservito */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cmp { border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); }
.cmp h3 { margin: 0; font: 800 20px var(--f-display); }
.cmp.before { background: var(--surface); }
.cmp.after { background: var(--soft); border-color: var(--accent); }
.chat { display: flex; flex-direction: column; gap: 6px; }
.msg { margin: 0; max-width: 82%; padding: 8px 12px; border-radius: 12px 12px 12px 4px; background: var(--bg); font-size: 14px; }
.msg small { color: var(--muted); font-size: 11px; margin-left: 6px; }
.booked { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: 14px; padding: 12px 14px; border: 1px solid var(--line); }
.booked small { display: block; font-size: 13px; color: var(--ink); }
.booked small.muted { color: var(--muted); }
.booked-check { width: 36px; height: 36px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.x-list, .ok-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.x-list li::before { content: "✕"; color: var(--bad); font-weight: 800; margin-right: 8px; }
.ok-list li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 8px; }
.ok-list.small { font-size: 14px; }
/* 3 pasos */
.steps3 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.steps3 li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.steps3 .n { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 800 20px var(--f-display); margin-bottom: 4px; }
.steps3 b { font-size: 17px; }
.steps3 li > span:last-child { color: var(--muted); font-size: 14.5px; }
/* Beneficios con color */
.benefits.colorful .c1 .b-icon { background: var(--ok-soft); color: var(--ok); }
.benefits.colorful .c2 .b-icon { background: var(--warn-soft); color: var(--warn); }
/* Por dentro */
.two-views { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.view-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.view-card h3 { margin: 0; font: 800 19px var(--f-display); }
.mini-flow { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; counter-reset: f; }
.mini-flow li { counter-increment: f; position: relative; padding: 0 0 16px 40px; display: flex; flex-direction: column; }
.mini-flow li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--soft); color: var(--accent); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.mini-flow li::after { content: ""; position: absolute; left: 12px; top: 28px; bottom: 2px; width: 2px; background: var(--line); }
.mini-flow li:last-child::after { display: none; }
.mini-flow li.done::before { content: "✓"; background: var(--ok); color: #fff; }
.mini-flow small { color: var(--muted); font-size: 13px; }
.agenda-mock { border: 1px solid var(--line); border-radius: 14px; padding: 6px 14px; background: var(--bg); }
.ag-day { margin: 8px 0 4px; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ag-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ag-row time { font: 600 13px var(--f-mono); }
.ag-row small { display: block; color: var(--muted); font-size: 12.5px; }
.ag-row em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.ag-row.prize em { background: var(--warn-soft); color: var(--warn); }
.ag-row.new { background: var(--soft); margin: 0 -14px; padding: 10px 14px; }
.center-list { justify-content: center; }
/* CTA final y barra fija en celular */
.cta-v2 { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #7c3aed)); color: #fff; }
.cta-v2 h2 { color: #fff; }
.cta-v2 p { margin: 6px 0 0; opacity: .9; }
.cta-v2 .btn.primary { background: #fff; color: #13202C; border-color: #fff; }
.btn.ghost-light { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.sticky-cta { display: none; }
@media (max-width: 860px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare, .two-views, .steps3 { grid-template-columns: 1fr; }
  .notif { left: -6px; }
  .notif-2 { right: -6px; }
}
@media (max-width: 560px) {
  .hero-v2 .hero-ctas .btn { flex: 1 1 100%; }
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 19; }
  .sticky-cta .btn { width: 100%; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
  .help-bubble { bottom: 74px; }
  .site-foot { padding-bottom: 96px; }
}
/* El resplandor de la portada se extiende fuera del contenido: sin desbordar hacia los lados */
html, body { overflow-x: clip; }
#preguntas .faq { margin: 0 auto; width: 100%; }

/* Portada v3: selector de rubro, comparación animada, calculadora y reserva de prueba */
.rubro-pick { margin-top: 22px; }
.rubro-pick p { margin: 0 0 8px; font-weight: 700; font-size: 14.5px; }
.rubro-pick small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 13.5px var(--f-body); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ph-deck.fixed .ph-card { opacity: 1; animation: none; }

.cmp-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag.bad { background: var(--bad-soft); color: var(--bad); }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.wa { --wa-bg: #EFE7DD; --wa-in: #FFFFFF; --wa-out: #D9FDD3; background: var(--wa-bg); border-radius: 16px; padding: 0 12px 14px; display: flex; flex-direction: column; gap: 7px; overflow: hidden; color: #111B21; }
.wa-top { margin: 0 -12px 4px; padding: 9px 14px; background: #075E54; color: #fff; display: flex; flex-direction: column; font-size: 14px; }
.wa-top small { color: #CFE9E4; font-size: 11.5px; }
.wa .msg { background: var(--wa-in); color: #111B21; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.wa .msg small { color: #667781; }
.wa .msg.out { align-self: flex-end; background: var(--wa-out); border-radius: 12px 12px 4px 12px; }
.lost, .won { margin: 4px 0 0; align-self: center; font-size: 13.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; display: inline-flex; gap: 8px; }
.lost { background: #FBE4E1; color: #B4322A; }
.won { background: var(--ok-soft); color: var(--ok); }
@media (prefers-color-scheme: dark) {
  .wa { --wa-bg: #0B141A; --wa-in: #202C33; --wa-out: #005C4B; color: #E9EDEF; }
  .wa-top { background: #202C33; }
  .wa .msg { color: #E9EDEF; }
  .wa .msg small { color: #8696A0; }
  .lost { background: var(--bad-soft); color: var(--bad); }
}
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.timeline li { display: grid; grid-template-columns: 44px 34px 1fr; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.timeline time { font: 600 12.5px var(--f-mono); color: var(--muted); }
.timeline b { display: block; font-size: 14.5px; }
.timeline small { color: var(--muted); font-size: 13px; }
.t-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; }
.t-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.t-icon.ok { background: var(--ok-soft); color: var(--ok); }
.compare.wait :is(.msg, .lost, .timeline li, .won) { opacity: 0; transform: translateY(8px); }
.compare.play :is(.msg, .lost, .timeline li, .won) { animation: cmp-in .45s ease-out forwards; animation-delay: calc(var(--d) * .7s + .2s); }
@keyframes cmp-in { to { opacity: 1; transform: none; } }

.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; max-width: 980px; margin: 0 auto; }
.calc-in { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 22px; }
.calc-in label { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: start; font-weight: 600; font-size: 15px; }
.calc-in output { font: 800 22px var(--f-display); color: var(--accent); min-width: 2ch; text-align: right; }
.calc-in input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); height: 28px; padding: 0; border: 0; background: none; }
.calc-out { border-radius: 20px; padding: 24px; background: linear-gradient(140deg, #1F4FD8, #6A3DE8); color: #fff; display: flex; flex-direction: column; gap: 6px; }
.calc-out p { margin: 0; }
.calc-label { font-weight: 600; opacity: .9; }
.calc-big { font: 800 clamp(38px, 6vw, 54px)/1.05 var(--f-display); letter-spacing: -.02em; }
.calc-sub { opacity: .85; margin-bottom: 10px !important; }
.calc-gain { background: rgba(255,255,255,.12); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.calc-row { display: flex; justify-content: space-between; gap: 10px; }
.calc-row.total { border-top: 1px solid rgba(255,255,255,.3); padding-top: 8px; font-size: 17px; }
.calc-row.total b { color: #9DF5C2; }
.calc-row.total.neg b { color: #FFD2CC; }
.calc-note { font-size: 14px; opacity: .9; margin: 6px 0 8px !important; }
.calc-out .btn.primary { background: #fff; color: #1F3FB0; border-color: #fff; font-weight: 700; align-self: flex-start; }
.small-note { font-size: 13px; margin-top: 10px; }

.try { display: flex; flex-direction: column; gap: 14px; }
.try-shop { display: flex; gap: 10px; align-items: center; }
.try-shop small { display: block; color: var(--muted); font-size: 12.5px; }
.try-step { display: none; flex-direction: column; gap: 8px; }
.try[data-step="1"] [data-s="1"], .try[data-step="2"] [data-s="2"], .try[data-step="3"] [data-s="3"], .try[data-step="4"] [data-s="4"] { display: flex; animation: cmp-in .3s ease-out both; }
.try-q { margin: 0; font-weight: 700; }
.try-svcs { display: flex; flex-direction: column; gap: 8px; }
.try-svcs .opt { display: flex; justify-content: space-between; align-items: center; text-align: left; width: 100%; font: inherit; color: inherit; cursor: pointer; }
.try-svcs .opt small { display: block; color: var(--muted); font-size: 12.5px; }
.try-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.try-slots .slot { font: 600 14px var(--f-mono); cursor: pointer; color: inherit; }
.try-slots .slot:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.try-name { gap: 8px; flex-wrap: nowrap; }
.try-name input { flex: 1; min-width: 0; }
.try-done { align-items: center; text-align: center; padding: 10px 0; }
.try-done small { font-size: 14px; }
.try-done .btn { margin-top: 6px; }
.view-card { position: relative; }
.ag-row.mine { animation: cmp-in .4s ease-out both; }
.agenda-toast { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: var(--ink); color: var(--bg); font-size: 13.5px; font-weight: 600; padding: 10px 14px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.2); width: max-content; max-width: calc(100% - 28px); animation: cmp-in .3s ease-out both; }

@media (max-width: 760px) {
  .calc { grid-template-columns: 1fr; }
  .try-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .timeline li { grid-template-columns: 40px 30px 1fr; gap: 8px; }
}
.year-offer { margin: -4px 0 0; font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.year-offer span { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }

/* Portada: sección para el cliente final */
.lead.center.narrow { max-width: 640px; margin: 0 auto 22px; text-align: center; color: var(--muted); }
.fc-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; max-width: 1040px; margin: 0 auto; }
.fc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fc-list li { display: flex; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.fc-list b { display: block; margin-bottom: 3px; }
.fc-list span:not(.fc-icon) { color: var(--muted); font-size: 14px; }
.fc-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--warn-soft); display: grid; place-items: center; font-size: 20px; flex: none; }
.fc-inbox { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: 0 18px 40px -24px rgba(16, 32, 60, .35); }
.fc-inbox-title { margin: 2px 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fc-mail { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; padding: 12px 6px; border-top: 1px solid var(--line); align-items: start; }
.fc-mail b { display: block; font-size: 14.5px; }
.fc-mail small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.fc-mail time { font-size: 12px; color: var(--muted); }
.fc-from { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font: 800 13px var(--f-display); }
.fc-btn { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--accent-ink); background: var(--accent); padding: 5px 10px; border-radius: 8px; }
@media (max-width: 860px) { .fc-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fc-list { grid-template-columns: 1fr; } }

/* Chat de ayuda */
.chat-panel { position: fixed; right: 16px; bottom: 76px; z-index: 30; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 110px)); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(135deg, #1F4FD8, #6A3DE8); color: #fff; }
.chat-head small { display: block; opacity: .85; font-size: 12px; }
.chat-head div { flex: 1; }
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #1F4FD8; display: grid; place-items: center; font: 800 16px var(--f-display); }
.chat-close { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); }
.chat-msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; animation: cmp-in .25s ease-out both; }
.chat-msg.bot { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.me { background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-msg.typing { color: var(--muted); letter-spacing: 2px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 0; background: var(--surface); border-top: 1px solid var(--line); max-height: 96px; overflow-y: auto; }
.chat-quick .chip { font-size: 12.5px; padding: 6px 10px; }
.chat-input { display: flex; gap: 8px; padding: 10px 12px 12px; background: var(--surface); }
.chat-input input { flex: 1; min-width: 0; }
.chat-input .btn { padding: 0 14px; }
.chat-contact { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.chat-contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.chat-wa { font-size: 13px; text-align: center; }
@media (max-width: 760px) {
  .chat-panel { right: 8px; left: 8px; width: auto; bottom: 8px; height: min(600px, calc(100vh - 16px)); z-index: 40; }
  body.chat-open .sticky-cta, body.chat-open .help-bubble { display: none; }
}

/* Agenda: resumen, semana y accesos rápidos */
.ov { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ov-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; color: var(--ink); text-decoration: none; min-width: 0; }
a.ov-tile:hover { border-color: var(--accent); }
.ov-tile small { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ov-tile b { font: 800 22px/1.2 var(--f-display); overflow-wrap: anywhere; }
.ov-tile span { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-tile.accent { background: linear-gradient(135deg, #1F4FD8, #6A3DE8); border-color: transparent; color: #fff; }
.ov-tile.accent small, .ov-tile.accent span { color: rgba(255,255,255,.85); }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.wk { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 4px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; }
.wk:hover { border-color: var(--accent); }
.wk small { font-size: 12px; color: var(--muted); font-weight: 600; }
.wk b { font: 800 20px var(--f-display); }
.wk span { font-size: 11.5px; color: var(--muted); }
.wk.has span { color: var(--accent); font-weight: 700; }
.wk.today { border-color: var(--accent); background: var(--soft); }
.wk.closed { opacity: .55; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.qa { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.qa:hover { border-color: var(--accent); }
.day-group { scroll-margin-top: 80px; }
.first-steps { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.first-steps li { display: flex; gap: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.first-steps li > span { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; flex: none; }
.first-steps div { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.first-steps small { color: var(--muted); font-size: 13.5px; }
.first-steps .btn { margin-top: 6px; }
@media (max-width: 860px) {
  .ov { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .first-steps { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .week { gap: 4px; }
  .wk { padding: 8px 2px; }
  .wk b { font-size: 17px; }
  .wk span { font-size: 10px; }
}

/* Mi Reservito (admin) */
.bad-pill { background: var(--bad-soft); color: var(--bad); }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-grid .card h2 { font-size: 17px; margin: 0 0 10px; }
.vchart { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; height: 150px; align-items: end; }
.vbar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 3px; }
.vbar i { display: block; width: 100%; min-height: 2px; background: var(--accent); opacity: .55; border-radius: 4px 4px 0 0; }
.vbar.today i { opacity: 1; }
.vbar span { font-size: 11px; color: var(--muted); }
.vbar small { font-size: 11px; color: var(--muted); }
.small-print { font-size: 12.5px; margin: 10px 0 0; }
.funnel { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.funnel li { display: flex; align-items: baseline; gap: 10px; background: var(--soft); border-radius: 12px; padding: 10px 14px; }
.funnel li:nth-child(2) { margin: 0 6%; }
.funnel li:nth-child(3) { margin: 0 12%; }
.funnel b { font: 800 22px var(--f-display); color: var(--accent); }
.funnel span { color: var(--muted); font-size: 14px; }
.hint-box { margin: 12px 0 0; background: var(--warn-soft); color: var(--ink); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.kv { list-style: none; padding: 0; margin: 0; }
.kv li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.kv li:first-child { border-top: 0; }
@media (max-width: 760px) { .admin-grid { grid-template-columns: 1fr; } }

/* Buscador de locales */
.seek-link { margin: 12px 0 0; font-size: 14.5px; color: var(--muted); }
.seek-link a { font-weight: 700; }
.nav-seek { font-weight: 600; }
.seek-hero { padding: 28px 0 8px; max-width: 860px; }
.seek-hero h1 { font: 800 clamp(30px, 4.6vw, 48px)/1.08 var(--f-display); letter-spacing: -.02em; margin: 6px 0 12px; }
.seek-form { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 10px; margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: 0 18px 40px -28px rgba(16, 32, 60, .45); }
.seek-form input, .seek-form select { min-width: 0; }
.seek-chips { margin-top: 14px; }
.seek-chips .chip { text-decoration: none; }
.seek-results { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 28px; }
.biz-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.biz-grid.one { max-width: 380px; margin: 0 auto; width: 100%; }
.biz { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.biz.is-demo { border-style: dashed; }
.biz-top { display: flex; gap: 10px; align-items: center; }
.biz-top > div { flex: 1; min-width: 0; }
.biz-top b { display: block; font-size: 16px; }
.biz-top small { color: var(--muted); font-size: 13px; }
.biz-desc { margin: 0; color: var(--muted); font-size: 14px; }
.biz-svcs { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.biz-svcs li { display: flex; justify-content: space-between; gap: 10px; }
.biz-meta { margin: 0; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.on { background: #22B35E; box-shadow: 0 0 0 3px rgba(34, 179, 94, .2); }
.biz-addr { margin: 0; font-size: 13px; color: var(--muted); }
.biz .btn { margin-top: auto; text-align: center; }
.seek-empty { display: flex; flex-direction: column; gap: 10px; }
.seek-empty h2 { margin: 0; }
@media (max-width: 680px) {
  .seek-form { grid-template-columns: 1fr; }
  .nav-seek { display: none; }
}
.seek-hero h1 .hl { color: var(--accent); }

/* Mis reservas (cliente) */
.my-list { display: flex; flex-direction: column; gap: 10px; }
.my-appt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; padding: 14px 16px; }
.my-appt b { display: block; }
.my-appt small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.my-when b { font: 800 18px var(--f-display); }
.my-actions { display: flex; gap: 8px; align-items: center; }
.my-loyal { margin: 0; font-size: 14px; }
.my-loyal .mono { color: var(--accent); letter-spacing: 2px; margin-right: 6px; }
@media (max-width: 720px) { .my-appt { grid-template-columns: 1fr; } }

/* Buscador: facilidades para quien reserva */
.chips-label { font-size: 13px; color: var(--muted); font-weight: 600; align-self: center; margin-right: 2px; }
.seek-last { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.seek-last[hidden] { display: none; }
.seek-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.seek-filters .chip { text-decoration: none; }
.seek-my { margin-left: auto; font-weight: 700; font-size: 14px; }
.seek-mine { margin-top: 18px; }
.seek-mine h2 { font-size: 17px; margin: 0 0 8px; }
.mine-chip { text-decoration: none; }
.biz-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.biz-slots .slot { text-align: center; text-decoration: none; padding: 7px 0; font-size: 13.5px; }
.biz-slots-note { font-size: 12.5px; margin-top: -4px; }

/* Opiniones con estrellas, cambiar de hora y lista de espera */
.rv-stars { letter-spacing: 1px; white-space: nowrap; }
.rv-stars i { font-style: normal; color: var(--line); }
.rv-stars i.on { color: #F5A623; }
.rv-line { margin: 4px 0 0; font-size: 14px; }
.rv-line a { color: inherit; text-decoration: none; }
.rv-badge { display: inline-block; margin-top: 3px; font-size: 13px; font-weight: 700; color: #B7791F; }
.rv-badge small { color: var(--muted); font-weight: 500; }
.rv-list { display: flex; flex-direction: column; gap: 12px; }
.rv-item { border-top: 1px solid var(--line); padding-top: 10px; }
.rv-item:first-of-type { border-top: 0; padding-top: 0; }
.rv-item p { margin: 4px 0; }
.rv-item small { color: var(--muted); font-size: 13px; }
.rv-own { border: 1px solid var(--line); border-radius: 14px; }
a.day { text-decoration: none; color: inherit; }
span.day[aria-disabled="true"] { opacity: .4; }
.slots form { display: contents; }
.wait-box { margin-top: 12px; background: var(--soft); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.wait-box small { color: var(--muted); font-size: 13.5px; }
.wait-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 480px) { .wait-row { grid-template-columns: 1fr; } }

/* Abono al reservar */
.deposit-note { background: var(--soft); border-radius: 12px; padding: 12px 14px; font-size: 14px; margin: 0; }
.mini-input { width: 90px; display: inline-block; padding: 6px 8px; margin: 0 4px; }

/* Cierre del día */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.close-day h2 { display: flex; align-items: center; gap: 8px; }
.cd-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.cd-who b { display: block; }
.cd-who small { color: var(--muted); font-size: 13px; }
.cd-pay { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.cd-pay input[name=amount] { width: 96px; }
.cd-pay select { width: auto; }
.cd-code { width: 140px; }
@media (max-width: 760px) { .cd-row { grid-template-columns: 1fr; } }

/* Paquetes y gift cards */
.shop-vouchers { display: flex; flex-direction: column; gap: 8px; }
a.opt, label.opt { text-decoration: none; }
.voucher-code { font-size: 28px; font-weight: 800; letter-spacing: 3px; margin: 6px 0 4px; color: var(--accent); }
.pack-form { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 10px; align-items: end; }
@media (max-width: 760px) { .pack-form { grid-template-columns: 1fr; } }
label.chip input { margin: 0 4px 0 0; }

/* Tienda */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.prod { display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--surface); }
.prod:hover { border-color: var(--accent); }
.prod.out { opacity: .55; }
.prod small { color: var(--bad); font-weight: 700; }
.prod-img { aspect-ratio: 1; border-radius: 10px; background: var(--bg); display: grid; place-items: center; font-size: 34px; overflow: hidden; }
.prod-img img, .prod-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-img.small { width: 52px; height: 52px; font-size: 22px; flex: none; }
.prod-row { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.prod-row.off { opacity: .6; }
.prod-photo { width: 64px; height: 64px; border-radius: 12px; border: 1px dashed var(--line); display: grid; place-items: center; font-size: 22px; cursor: pointer; overflow: hidden; }
.prod-photo.loading { opacity: .4; }
.prod-form { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; align-items: center; }
.prod-form input[name=description] { grid-column: 1 / 3; }
.prod-new { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 10px; align-items: end; margin-top: 12px; }
.cart { display: flex; flex-direction: column; gap: 10px; }
.cart-row { display: grid; grid-template-columns: 52px 1fr 76px; gap: 10px; align-items: center; }
.cart-row small { display: block; color: var(--muted); font-size: 13px; }
.cart-row.out { opacity: .55; }
.cart-total { font-size: 17px; margin: 8px 0; text-align: right; }
@media (max-width: 760px) { .prod-form, .prod-new { grid-template-columns: 1fr; } .prod-form input[name=description] { grid-column: auto; } }

/* Precio: selector mensual / anual */
.plan-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.plan-switch button { font: 700 14px var(--f-body); padding: 8px 10px; border-radius: 999px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.plan-switch button span { display: block; font-size: 11px; font-weight: 700; color: var(--ok); }
.plan-switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.price[hidden], .year-offer[hidden] { display: none; }

/* Ajustes para celular: opciones del abono y cierre del día */
.dep-opt { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; text-align: left; justify-content: flex-start; }
.dep-opt input[type=radio] { width: auto; flex: none; margin: 0; }
.dep-opt .mini-input { margin: 0; }
@media (max-width: 760px) {
  .cd-row { display: flex; flex-wrap: wrap; gap: 8px; }
  .cd-who { width: 100%; }
  .cd-pay { flex: 1 1 auto; }
  .cd-pay input[name=amount] { width: 88px; }
  .cd-pay select { flex: 1; min-width: 110px; }
}

/* Facilidades para el dueño: déjamela lista, imagen para historias, aviso de cuenta ajena */
.imp-bar { background: #F5A623; color: #13202C; font-size: 14px; padding: 8px 16px; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.imp-bar .btn { background: #fff; border-color: #fff; color: #13202C; }
.help-card { border: 1px solid var(--accent); }
.help-card textarea { width: 100%; }
.help-text { white-space: pre-wrap; margin: 6px 0; font-size: 14px; background: var(--bg); border-radius: 10px; padding: 8px 10px; }
.help-setup { border: 1px dashed var(--line); border-radius: 12px; padding: 10px 12px; }
.help-setup summary { cursor: pointer; font-weight: 600; }
.days-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.days-pick .chip input { margin: 0 4px 0 0; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.story-card { display: grid; grid-template-columns: 1fr 180px; gap: 18px; align-items: center; }
.story-preview { width: 180px; height: 320px; border-radius: 16px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.4); }
label.btn.loading { opacity: .5; }
@media (max-width: 600px) { .story-card { grid-template-columns: 1fr 120px; } .story-preview { width: 120px; height: 213px; } }
