:root {
  --bg: #F2EFE9; --surface: #FBFAF7; --ink: #141414; --muted: #6E6A64; --line: #DCD7CE;
  --pill-bg: #000000; --pill-ink: #FFFFFF; --sel-bg: #000000; --sel-ink: #FFFFFF; --sel-muted: #BDB8B0;
  --holo-a: #BFE6EC; --holo-b: #F1D9E6; --holo-c: #EDE6C8;
  --serif: "Instrument Serif", "Cambria", "Georgia", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono: "Space Mono", "Courier New", monospace;
  color-scheme: light; box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161517; --surface: #201F22; --ink: #EEEBE5; --muted: #A29D96; --line: #37353A;
    --pill-bg: #EEEBE5; --pill-ink: #161517; --sel-bg: #EEEBE5; --sel-ink: #161517; --sel-muted: #5E5A55;
    --holo-a: #2F5C63; --holo-b: #5A3549; --holo-c: #4F4A2E; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #161517; --surface: #201F22; --ink: #EEEBE5; --muted: #A29D96; --line: #37353A;
  --pill-bg: #EEEBE5; --pill-ink: #161517; --sel-bg: #EEEBE5; --sel-ink: #161517; --sel-muted: #5E5A55;
  --holo-a: #2F5C63; --holo-b: #5A3549; --holo-c: #4F4A2E; color-scheme: dark;
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
main { max-width: 560px; margin: 0 auto; padding: 0 20px 64px; position: relative; }
body.mode-quick main { padding-bottom: 150px; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.topbar { display: flex; align-items: center; gap: 12px; padding: 14px 0 12px; border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 15; background: var(--bg); }
.topback { display: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; align-items: center; justify-content: center; }
body:not(.mode-fork) .topback { display: inline-flex; }
.logo-btn { border: 0; background: none; padding: 6px 0; cursor: pointer; }
header { position: relative; text-align: center; padding: 40px 0 24px; }
.logo {
  --logo-mask: url("img/marca/logo-mask.png");
  display: block; width: 104px; aspect-ratio: 320 / 59; margin: 0; background: var(--ink);
  -webkit-mask-image: var(--logo-mask); mask-image: var(--logo-mask);
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
}
header::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 14px; width: 300px; height: 150px;
  transform: translateX(-62%) rotate(-24deg);
  background: linear-gradient(100deg, var(--holo-a), var(--holo-b) 50%, var(--holo-c));
  filter: blur(34px); opacity: .85; border-radius: 50%;
}
header h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 13vw, 64px); line-height: 1; margin: 0 0 12px; letter-spacing: -.01em; }
header p { margin: 0 auto; max-width: 34ch; color: var(--muted); }

.fork { display: grid; gap: 10px; }
.fork h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.15; text-align: center; margin: 0 0 8px; }
.fork-opt { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; cursor: pointer; display: grid; gap: 4px; }
.fork-opt:hover { border-color: var(--ink); }
.fork-opt b { font-size: 16px; }
.fork-opt span { color: var(--muted); font-size: 13.5px; }
.switch { display: block; margin: 0 auto 10px; background: none; border: 0; color: var(--muted); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px; }

/* Pasos resueltos */
.done { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.done .k { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.done .v { font-weight: 700; font-size: 14px; }
.done .v small { font-weight: 400; color: var(--muted); }
.done button { background: none; border: 0; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px 0; }

/* Paso actual */
.cur { margin-top: 28px; }
.cur h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 8.5vw, 40px); line-height: 1.12; margin: 0 0 6px; outline: none; }
.cur .sub { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.cur h2 + .opts, .cur h2 + .seg { margin-top: 16px; }
.seg { display: grid; grid-template-columns: repeat(5, auto); overflow-x: auto; scrollbar-width: none; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 12px; background: var(--surface); }
.seg button { white-space: nowrap; font-size: 12.5px; padding-left: 4px; padding-right: 4px; font-weight: 500; border: 0; border-radius: 999px; padding: 9px 7px; background: transparent; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-ink); }
.opts { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.opt { width: 100%; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 1px 16px; align-items: center; padding: 14px 16px; cursor: pointer; background: transparent; border: 0; }
.opt + .opt { border-top: 1px solid var(--line); }
.opt:hover { background: var(--bg); }
.opt[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-ink); }
.opt .name { font-weight: 700; font-size: 14.5px; }
.opt .name small { font-weight: 400; opacity: .7; }
.opt .meta { font-size: 12.5px; color: var(--muted); grid-column: 1; }
.opt[aria-pressed="true"] .meta { color: var(--sel-muted); }
.opt .price { grid-column: 2; grid-row: 1 / span 2; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.opt:focus-visible { outline-offset: -4px; }

/* Galería */
.level { margin-top: 22px; }
.level:first-of-type { margin-top: 0; }
.level-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.level-h b { font-size: 15px; }
.level-h span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.level p { margin: 2px 0 10px; color: var(--muted); font-size: 13.5px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0; overflow: hidden; cursor: pointer; text-align: left; display: flex; flex-direction: column; }
.tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; cursor: zoom-in; }
.viewer { position: fixed; inset: 0; z-index: 20; background: rgba(0, 0, 0, .78); display: flex; align-items: center; justify-content: center; padding: calc(16px + env(safe-area-inset-top, 0px)) 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
.viewer-box { background: var(--surface); color: var(--ink); border-radius: 14px; padding: 12px; width: min(440px, 100%); max-height: 100%; display: flex; flex-direction: column; }
.viewer-box img { width: 100%; min-height: 0; flex: 1 1 auto; max-height: 64vh; object-fit: contain; border-radius: 8px; background: var(--bg); }
.viewer-cap { margin: 10px 2px 0; color: var(--muted); font-size: 13px; }
.viewer-acts { display: grid; gap: 8px; margin-top: 10px; }
.tile .tp { padding: 8px 10px; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.tile .tp small { display: block; font-weight: 400; font-size: 11.5px; color: var(--muted); }
.tile.text { padding: 14px 12px; justify-content: center; min-height: 72px; }
.tile.text .tp { padding: 0; }
.tile:hover { border-color: var(--ink); }
.test-banner { margin: 12px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--holo-b); color: var(--ink); font-size: 13px; font-weight: 600; text-align: center; }
.fork .switch + .switch { margin-top: 4px; }
.times-res { margin-top: 24px; background: var(--surface); border: 1.25px solid var(--ink); border-radius: 16px; padding: 18px; }
.times-res small { display: block; font-size: 13px; color: var(--muted); }
.times-res .tr-h { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin: 2px 0 8px; }
.times-res .tr-h b { font-size: 18px; }
.times-res .tr-h span { font-weight: 700; font-size: 18px; white-space: nowrap; }
.times-res p { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.times-res .primary { width: 100%; text-align: center; }
.tile { position: relative; }
.tile .cap { display: block; padding: 6px 8px 8px; font-size: 11.5px; line-height: 1.35; color: var(--muted); text-align: left; }
.tile .badge { position: absolute; top: 8px; left: 8px; background: var(--sel-bg); color: var(--sel-ink); font-family: "Space Mono", ui-monospace, monospace; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.tile.mine { border: 1.5px dashed var(--ink); cursor: default; }
.mine-cap { border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; width: 100%; }
.stylechips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 12px; }
.schip { font: inherit; font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.schip[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-ink); border-color: var(--sel-bg); }
.compare { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 2px; padding: 8px 14px; border: 1px dashed var(--ink); border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; }
.compare::before { content: "+"; font-size: 16px; }
.compare-note { font-size: 12px; color: var(--muted); margin: 6px 0 12px; }
.tiles.carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 2px; scrollbar-width: none; }
.tiles.carousel::-webkit-scrollbar { display: none; }
.tiles.carousel .tile { flex: 0 0 72%; scroll-snap-align: start; }
.tiles.carousel.big .tile { flex-basis: 100%; }
.tiles.carousel.big .tile img { aspect-ratio: auto; height: 37vh; object-fit: cover; background: var(--surface); }
.car-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.car-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.car-count { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.car-hint { font-size: 12.5px; color: var(--muted); flex-basis: 100%; }
.gal-head.sticky { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 6; background: var(--bg); padding: 10px 0 6px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.cmp-mine { position: relative; margin-bottom: 8px; }
.cmp-mine .badge { position: absolute; top: 8px; left: 8px; background: var(--sel-bg); color: var(--sel-ink); font-family: "Space Mono", ui-monospace, monospace; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.cmp-mine-old img { display: block; width: 100%; height: 34vh; object-fit: contain; background: var(--surface); border: 1.5px dashed var(--ink); border-radius: 12px; }
.cmp-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; font-size: 13px; font-weight: 600; }
.cmp-bar .acts { display: flex; gap: 14px; }
.cmp-bar label, .cmp-bar button { font: inherit; font-weight: 500; color: var(--muted); text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; }
.mine-frame { position: relative; height: 37vh; overflow: hidden; border: 1.5px dashed var(--ink); border-radius: 12px; background: var(--surface); touch-action: none; cursor: grab; }
.mine-frame img { position: absolute; max-width: none; transform-origin: center; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.mine-zoom { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 6px; }
.zbtn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 17px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.cmp-tip { font-weight: 500; color: var(--muted); }
.cmp-desc { font-size: 14px; color: var(--muted); margin-top: 6px; }
.panel-cmp .lvhd { margin-top: 14px; }
.how { background: var(--surface); border: 1.25px solid var(--ink); border-radius: 14px; padding: 14px 16px; margin: 0 0 18px; }
.how > b { display: block; margin-bottom: 8px; }
.how-row { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.how-k { font-weight: 700; }
.how-v { color: var(--muted); }
.breakdown .hdsub { padding: 0 16px 10px; font-size: 13px; color: var(--muted); }
.lenchips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 12px; }
.lenchip { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.lenchip span { color: var(--muted); font-size: 14px; }
.lenchip[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-ink); border-color: var(--sel-bg); }
.lenchip[aria-pressed="true"] span { color: var(--sel-ink); }
.sug { background: var(--surface); border: 1.25px solid var(--ink); border-radius: 12px; padding: 12px 14px; margin: 0 0 10px; }
.sug > b { display: block; font-size: 15px; }
.sug-q { font-size: 14px; color: var(--muted); margin: 10px 0 6px; }
.sug-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.sug-list { display: grid; gap: 6px; }
.sug-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 10px 12px; font: inherit; font-size: 14px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.sug-opt span { font-size: 12.5px; color: var(--muted); }
.sug-opt[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-ink); border-color: var(--sel-bg); }
.sug-opt[aria-pressed="true"] span { color: var(--sel-ink); }
.sug-done { margin: 0; font-size: 14px; }
.sug-done span { color: var(--muted); }
.price-pill { display: flex; align-items: center; gap: 8px; width: max-content; margin: 12px auto 0; padding: 10px 18px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: transparent; border: 1px solid var(--ink); border-radius: 999px; cursor: pointer; }
.price-pill:hover { background: var(--surface); }
.recur { display: none; }
body.mode-fork .recur { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; position: fixed; z-index: 20; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(520px, calc(100% - 40px)); padding: 14px 18px; text-align: left; font: inherit; color: var(--ink); cursor: pointer; border: 1.25px solid var(--ink); border-radius: 18px; background: linear-gradient(120deg, var(--holo-a), var(--holo-b) 55%, var(--holo-c)); box-shadow: 0 10px 28px rgba(0, 0, 0, .14); }
.recur-tag { grid-column: 1; justify-self: start; font-family: "Space Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; border: 1px solid var(--ink); border-radius: 999px; padding: 2px 9px; margin-bottom: 6px; }
.recur b { grid-column: 1; font-size: 17px; }
.recur-sub { grid-column: 1; font-size: 13px; opacity: .75; }
.recur-arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-size: 22px; }
body.mode-fork .fork { padding-bottom: 150px; }
.times-res .tr-plus { font-weight: 700; font-size: 18px; text-align: right; margin: -4px 0 10px; }
.times-warn { background: var(--surface); border: 1.25px solid var(--ink); border-left-width: 5px; border-radius: 12px; padding: 12px 14px; margin: 0 0 20px; }
.times-warn p { margin: 0 0 6px; font-size: 14px; }
.tile[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.tiles-hint { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.level-cta { width: 100%; margin-top: 16px; }
.first-link { display: block; margin: 16px auto 0; font-size: 14px; }
.lvchip.is-chosen:not([aria-pressed="true"]) { border-color: var(--ink); font-weight: 600; }
.level-chosen { margin: 16px 0 0; padding: 10px 14px; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature { margin-top: 14px; background: var(--surface); border: 1px solid var(--ink); border-radius: 12px; }
.feature .eyebrow { font-size: 12.5px; color: var(--muted); }
.feature-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.feature-h b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.feature-h span { font-weight: 700; font-size: 14px; white-space: nowrap; }
.feature-t { font-size: 13.5px; }
.feature-p { font-size: 12.5px; color: var(--muted); }
.videolink { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); text-decoration: none; }
.videolink:hover { border-color: var(--ink); }
.vthumb { position: relative; flex-shrink: 0; width: 56px; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vthumb::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; filter: drop-shadow(0 0 3px rgba(0,0,0,.6)); }
.vtext { display: grid; gap: 2px; }
.vtext b { font-size: 14px; }
.vtext span { font-size: 12.5px; color: var(--muted); }
.lvchips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px 12px; scrollbar-width: none; }
.lvchip { flex-shrink: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font-weight: 500; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.lvchip[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-ink); border-color: var(--sel-bg); }
.feature-main { width: 100%; text-align: left; background: none; border: 0; padding: 16px 16px 6px; cursor: pointer; display: grid; gap: 6px; }
.feature-price { display: grid; gap: 2px; margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); }
.fp-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--muted); }
.fp-row span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.feature-more { padding: 0 16px 14px; }
.feature-more summary { cursor: pointer; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
.feature-more p { margin: 8px 0 0; }
.feature.on { box-shadow: inset 0 0 0 2px var(--ink); }
body:not(.mode-fork) header { padding: 18px 0 6px; }
body:not(.mode-fork) header h1 { font-size: 30px; margin: 0; }
body:not(.mode-fork) header p { display: none; }
body:not(.mode-fork) header::before { width: 180px; height: 70px; top: 0; }
.g-nav { flex-wrap: wrap; gap: 8px 16px; }
.budget { margin-top: 8px; }
.unsure + .unsure { margin-top: 8px; }
.form { margin-top: 24px; display: grid; gap: 12px; }
.form h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 0; }
.form .fine { margin: -6px 0 2px; }
.fld { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 15px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.fld [aria-invalid="true"] { border-color: #B3261E; }
.keyfigs { margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.kf { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; font-size: 14px; }
.kf + .kf { border-top: 1px solid var(--line); }
.kf span { color: var(--muted); }
.kf b { text-align: right; font-variant-numeric: tabular-nums; }
.kf.strong { background: var(--pill-bg); color: var(--pill-ink); border-radius: 0 0 9px 9px; }
.kf.strong span { color: inherit; opacity: .8; }
.kf.strong b { font-size: 16px; }
.review, .refbox, .altbox { margin-top: 10px; border-radius: 10px; padding: 12px 16px; display: grid; gap: 4px; font-size: 13.5px; }
.review { border: 1px solid var(--ink); margin-top: 10px; }
.review ul { margin: 2px 0; padding-left: 18px; }
.refbox, .altbox { background: var(--surface); border: 1px solid var(--line); }
.altbox { margin-top: 14px; }
.altbox .linkbtn { justify-self: start; }
.sent { margin-top: 14px; border: 1px solid var(--ink); border-radius: 12px; padding: 16px; display: grid; gap: 10px; font-size: 14px; }
.sent ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.sent pre { white-space: pre-wrap; font: inherit; font-size: 13px; background: var(--bg); border-radius: 8px; padding: 10px; margin: 8px 0 0; }
.sent summary { cursor: pointer; font-size: 13px; color: var(--muted); text-decoration: underline; }
.slot-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.slot-chips[aria-invalid="true"] .lvchip { border-color: #B3261E; }
.fld small { font-size: 12px; color: var(--muted); }
.answers img { width: 100%; max-height: 200px; object-fit: cover; border-radius: 8px; margin-top: 8px; }
.trail { border-bottom: 1px solid var(--line); padding: 10px 0; }
.trail-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; color: var(--muted); }
.trail-line span { flex: 1; }
.trail .done:last-child { border-bottom: 0; }
.backbtn { display: block; margin-top: 18px; }
.desglose { margin-top: 10px; }
.desglose summary { cursor: pointer; font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.notes { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.notes b { color: var(--ink); font-size: 13.5px; }
.notes ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.minisum { color: var(--muted); font-size: 13.5px; margin: 0 0 6px; }
.err { color: #B3261E; font-size: 12.5px; }
.testbanner { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--pill-bg); color: var(--pill-ink); font-size: 13px; }
.notice { font-size: 12.5px; color: var(--ink); }
.notice:empty { display: none; }
.fld select + input { margin-top: 6px; }
.err:empty { display: none; }
.more { margin-top: 8px; display: grid; gap: 8px; }
.more .sub { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.lvchips.fade { -webkit-mask-image: linear-gradient(to right, #000 80%, transparent); mask-image: linear-gradient(to right, #000 80%, transparent); }
.sent .primary { text-align: center; }
.unsure { margin-top: 22px; width: 100%; text-align: left; background: transparent; border: 1px dashed var(--muted); border-radius: 10px; padding: 14px 16px; cursor: pointer; }
.unsure b { display: block; font-size: 14.5px; }
.unsure span { color: var(--muted); font-size: 13px; }
.unsure[aria-pressed="true"] { border-style: solid; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.yn button, .answers button { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 15px 16px; cursor: pointer; display: grid; gap: 2px; }
.yn button:hover, .answers button:hover { border-color: var(--ink); }
.answers { display: grid; gap: 8px; }
.answers b { font-size: 15px; }
.answers span { color: var(--muted); font-size: 13px; }
.ex-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; }
.ex-lbl { display: flex; align-items: center; gap: 12px; }
.ex-img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ex-row + .ex-row { border-top: 1px solid var(--line); }
.ex-row .name { font-weight: 700; font-size: 14px; }
.ex-row .meta { display: block; font-size: 12.5px; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; flex-shrink: 0; }
.stepper button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--pill-bg); color: var(--pill-ink); font-size: 16px; line-height: 1; cursor: pointer; }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 56px; text-align: center; font-weight: 700; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.toggle { font-weight: 700; font-size: 13px; border: 1px solid var(--ink); background: transparent; border-radius: 999px; padding: 7px 14px; cursor: pointer; white-space: nowrap; }
.toggle[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-ink); border-color: var(--sel-bg); }
.primary { font-weight: 700; background: var(--pill-bg); color: var(--pill-ink); border: 0; border-radius: 999px; padding: 13px 18px; cursor: pointer; text-align: center; text-decoration: none; display: block; }
.secondary { font-weight: 500; background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: 12px 18px; cursor: pointer; text-align: center; text-decoration: none; display: block; }
.actions { display: grid; gap: 8px; margin-top: 22px; }
.g-nav { display: flex; justify-content: space-between; margin-top: 18px; }
.linkbtn { background: none; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 0; font-size: 13.5px; }

/* Resumen */
.breakdown { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); margin-top: 16px; }
.breakdown .ln { display: grid; grid-template-columns: 1fr auto; gap: 1px 16px; padding: 12px 16px; }
.breakdown .ln + .ln { border-top: 1px solid var(--line); }
.breakdown .hd b { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.breakdown .ft span { color: var(--ink); font-size: 13px; }
.breakdown .ft i { grid-row: auto; }
.breakdown + .breakdown { margin-top: 10px; }
.breakdown .ln b { font-size: 14px; }
.breakdown .ln span { font-size: 12.5px; color: var(--muted); grid-column: 1; }
.breakdown .ln i { font-style: normal; font-weight: 700; grid-column: 2; grid-row: 1 / span 2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.grand { margin-top: 10px; background: var(--pill-bg); color: var(--pill-ink); border-radius: 10px; padding: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.grand .amount { font-family: var(--serif); font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.grand small { opacity: .72; font-size: 13px; }
.fine { color: var(--muted); font-size: 13px; margin: 14px 0 0; }
.rec-k { color: var(--muted); font-size: 13.5px; margin: 0; }
.rec-n { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 11vw, 52px); line-height: 1.05; margin: 2px 0 8px; outline: none; }
.why { margin: 0; }
.progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin: 4px 0 24px; }
.progress div { height: 100%; background: var(--ink); width: 0; transition: width .3s ease; }

.total { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--pill-bg); color: var(--pill-ink); padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); }
.total-inner { max-width: 560px; margin: 0 auto; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.total .lbl { font-size: 12.5px; opacity: .72; }
.total .amount { font-family: var(--serif); font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.total .amount small { font-family: var(--sans); font-size: 12.5px; opacity: .72; margin-left: 6px; }
.toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); background: var(--surface); color: var(--ink); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; font-size: 13px; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 6; }
.toast.show { opacity: 1; }
.fallback { margin-top: 16px; }
.fallback textarea { width: 100%; min-height: 160px; font: inherit; font-size: 13px; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.offer s { color: var(--muted); font-weight: 400; margin-right: 2px; }
.offer em { font-style: normal; font-size: 12px; font-weight: 700; background: var(--sel-bg); color: var(--sel-ink); border-radius: 999px; padding: 2px 7px; margin-left: 4px; vertical-align: 2px; }
