.cotizador-app {
  --blue: #0098f0;
  --blue-deep: #0b63c4;
  --navy: #102a43;
  --muted: #5b6f86;
  --line: #e4eef6;
  --paper: #f4f8fc;
  --orange: #ff8300;
  --orange-deep: #e67300;
  --cyan: #19a4e0;
  --purple: #6b5cff;
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(1200px 500px at 20% -10%, #e9f6ff 0%, transparent 55%), var(--paper);
  color: var(--navy);
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
}
.cotizador-app * { box-sizing: border-box; }
.cotizador-app [hidden] { display: none !important; }
.app { min-height: 100vh; display: flex; flex-direction: column; }
.app-header {
  position: sticky; top: 0; z-index: 30;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  min-height: 72px; padding: 10px 28px;
  background: #fff; border-bottom: 1px solid var(--line);
}
.brand img { display: block; height: 42px; width: auto; }
.app-header h1 {
  display: flex; align-items: center; gap: 10px;
  margin: 0; font-size: 20px; font-weight: 700; font-family: Nunito, sans-serif;
}
.app-header h1 strong { font-weight: 800; }
.title-icon {
  width: 34px; height: 34px; border-radius: 10px; color: var(--blue-deep);
  background: #eef7ff; display: grid; place-items: center;
}
.title-icon svg { width: 18px; height: 18px; }
.app-tools { display: flex; align-items: center; gap: 8px; }
.app-tools a, .app-tools button {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; background: transparent; color: var(--navy);
  font: 700 14px Nunito, sans-serif; text-decoration: none; cursor: pointer; padding: 8px 10px; border-radius: 999px;
}
.app-tools svg { width: 18px; height: 18px; }
.app-tools a:hover, .app-tools button:hover { background: #f3f8fd; }
.app-tools .exit, .app-tools .tool-reset { border: 1px solid var(--line); padding-inline: 14px; }
.app-body {
  flex: 1; width: min(1280px, calc(100% - 40px)); margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, .9fr);
  grid-template-areas: "steps steps" "stage cart";
  gap: 18px 24px;
  align-items: start;
  padding: 18px 0 48px;
}
.stage { grid-area: stage; min-width: 0; }
.cart { grid-area: cart; }
ol.stepper {
  grid-area: steps;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  list-style: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 8px 8px 12px;
  position: relative;
}
ol.stepper::before {
  content: "";
  position: absolute;
  left: calc(100% / 14);
  right: calc(100% / 14);
  top: 25px;
  height: 3px;
  background: #d7e7f4;
  z-index: 0;
}
ol.stepper li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #8aa0b5;
  text-align: center;
  cursor: pointer;
}
ol.stepper li span {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 3px solid #d7e7f4;
  color: #8aa0b5;
  font-size: 14px;
  font-weight: 800;
}
ol.stepper li small {
  display: block;
  max-width: 100%;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
ol.stepper li.is-current { color: var(--blue-deep); }
ol.stepper li.is-current span { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 6px #d6effc; }
ol.stepper li.is-done { color: var(--blue-deep); }
ol.stepper li.is-done span { background: var(--blue); border-color: var(--blue); color: #fff; }
.board, .cart {
  background: #fff; border: 1px solid #e8f1f8; border-radius: 28px;
  box-shadow: 0 18px 40px rgba(16, 42, 67, .06);
}
.board { padding: 28px 28px 18px; }
.hello { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.robot { flex: 0 0 92px; }
.robot svg { width: 92px; height: auto; display: block; }
.bubble {
  background: #f3f9ff; border-radius: 22px; padding: 18px 20px; color: var(--navy);
  box-shadow: inset 0 0 0 1px #e3f1fb;
}
.bubble p { margin: 0; font-size: 16px; line-height: 1.45; }
.ack {
  margin: 0 0 14px 108px; padding: 10px 14px; border-radius: 14px;
  background: #fff4e8; color: #9a4b00; font-weight: 700; font-size: 14px;
}
.ask {
  display: flex; gap: 14px; align-items: flex-start;
  background: #f7fbff; border-radius: 22px; padding: 16px 18px; margin-bottom: 18px;
}
.ask-ico {
  width: 42px; height: 42px; border-radius: 14px; background: #e7f4ff; color: var(--blue-deep);
  display: grid; place-items: center; flex: 0 0 42px;
}
.ask-ico svg { width: 22px; height: 22px; }
.ask h2 { margin: 0 0 4px; font-size: 22px; line-height: 1.25; font-family: Nunito, sans-serif; }
.ask p { margin: 0; color: var(--muted); }
.bands {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.bands.compact { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.band, .choice, .device, .offer {
  appearance: none; font: inherit; color: inherit; text-align: left; cursor: pointer;
  background: #fff; border: 1.5px solid #e4edf5; border-radius: 18px;
  transition: border-color .15s, box-shadow .15s, background .15s, transform .15s;
}
.band {
  position: relative; min-height: 124px; padding: 16px 12px 14px;
  display: grid; justify-items: center; align-content: center; gap: 2px;
}
.band .people { width: 36px; height: 36px; color: #9eb6cc; }
.band .people svg { width: 100%; height: 100%; }
.band strong { font-size: 18px; }
.band small { color: var(--muted); font-size: 13px; }
.band .check, .choice .check {
  position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange); color: #fff; display: none; place-items: center;
}
.band .check::after, .choice.is-on::after {
  content: ""; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.band.is-on, .choice.is-on, .device.is-on, .offer.is-on {
  border-color: var(--orange); background: #fff7ef; box-shadow: 0 8px 18px rgba(255, 131, 0, .12);
}
.band.is-on { color: var(--orange-deep); }
.band.is-on .people { color: var(--orange); }
.band.is-on .check { display: grid; }
.band:hover, .choice:hover, .device:hover { transform: translateY(-1px); border-color: #cfe3f3; }
.choices, .devices, .offers { display: grid; gap: 12px; margin: 0 0 16px; }
.choices { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.choice { position: relative; padding: 16px; display: grid; gap: 4px; }
.choice strong { font-size: 16px; }
.choice span { color: var(--muted); font-size: 13px; }
.choice.is-on::after {
  position: absolute; top: 12px; right: 14px; display: block;
}
.fields { display: grid; gap: 12px; margin-bottom: 12px; }
.fields.two { grid-template-columns: 1fr 1fr; }
.board label, .fields label {
  display: grid; gap: 6px; font-weight: 700; font-size: 14px; color: var(--navy);
}
.board input:not([type="checkbox"]):not([type="radio"]):not([data-otp-digit]),
.fields input:not([type="checkbox"]):not([type="radio"]) {
  width: 100%; min-height: 46px; border: 1px solid #d7e3ee; border-radius: 12px;
  padding: 10px 12px; font: 400 15px "Nunito Sans", sans-serif; background: #fff;
}
.board input:not([type="checkbox"]):not([type="radio"]):not([data-otp-digit]):focus,
.fields input:not([type="checkbox"]):not([type="radio"]):focus {
  outline: 3px solid #cfe8fb; border-color: var(--blue);
}
.optional { font-weight: 600; color: var(--muted); font-size: 12px; }
.label { margin: 8px 0 8px; font-weight: 800; }
.note {
  display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 13px; margin: 16px 0 8px;
}
.note span {
  flex: 0 0 22px; height: 22px; border-radius: 50%; background: #e8f3fb; color: var(--blue-deep);
  display: grid; place-items: center; font-weight: 800;
}
.offers { grid-template-columns: 1fr 1fr; }
.offer { padding: 18px; cursor: default; }
.offer h3 { margin: 0; font-size: 17px; }
.offer .price { margin: 6px 0 10px; font-size: 22px; font-weight: 800; color: var(--blue-deep); }
.offer .price small { font-size: 12px; color: var(--muted); font-weight: 700; }
.offer ul { margin: 0 0 12px; padding-left: 18px; color: var(--muted); }
.offer-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 16px;
}
.devices { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.device { padding: 14px; }
.device h3 { margin: 0 0 6px; font-size: 16px; }
.device p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.device .meta { color: var(--navy); }
.nav-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.nav-actions [data-next] { margin-left: auto; }
.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 14px;
  font: 800 15px Nunito, sans-serif;
}
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 10px 18px rgba(255, 131, 0, .22); }
.btn-orange:hover { background: var(--orange-deep); }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid #d7e3ee; }
.form-error { color: #9f1239; font-weight: 800; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 10px 0; }
.contact-submit {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px 20px; flex-wrap: wrap; margin: 4px 0 0;
}
.board label.consent,
.consent {
  display: flex; flex-direction: row; align-items: center; gap: 10px;
  flex: 1 1 240px; margin: 0; font-weight: 600; font-size: 14px; line-height: 1.4; color: var(--navy);
}
.consent span { display: block; }
.contact-submit .btn-orange {
  flex: 0 0 auto; margin-left: auto; white-space: nowrap;
}
.consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; min-width: 18px; height: 18px; min-height: 18px;
  margin: 0; padding: 0; flex: 0 0 18px;
  border: 1.5px solid #9eb6cc; border-radius: 5px; background: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.consent input[type="checkbox"]:checked {
  background: var(--blue); border-color: var(--blue);
}
.consent input[type="checkbox"]:checked::after {
  content: ""; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px);
}
.consent input[type="checkbox"]:focus-visible {
  outline: 3px solid #cfe8fb; outline-offset: 2px;
}
.verify-note {
  margin: 0 0 12px; padding: 12px 14px; border-radius: 14px;
  background: #f3f9ff; color: var(--navy); font-size: 14px; line-height: 1.45; font-weight: 600;
  box-shadow: inset 0 0 0 1px #e3f1fb;
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.composer {
  display: flex; gap: 8px; align-items: center; margin-top: 16px;
  background: #fff; border: 1px solid #e8f1f8; border-radius: 999px; padding: 6px 8px 6px 6px;
  box-shadow: 0 8px 24px rgba(16, 42, 67, .05);
}
.composer[hidden] { display: none !important; }
.composer input {
  flex: 1; border: 0; min-height: 42px; font: 400 15px "Nunito Sans", sans-serif; background: transparent;
}
.composer input:focus { outline: 0; }
.composer .ghost, .composer .send {
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; font-size: 16px;
}
.composer .ghost { background: #f3f8fd; color: var(--navy); }
.composer .send { background: var(--blue); color: #fff; }
.cart {
  position: sticky; top: 88px; padding: 18px 18px 16px;
  display: flex; flex-direction: column; max-height: calc(100vh - 110px);
}
.cart-head h2 {
  display: flex; align-items: center; gap: 10px; margin: 0 0 4px;
  font-size: 20px; font-family: Nunito, sans-serif;
}
.bag {
  min-width: 28px; height: 28px; padding: 0 7px; border-radius: 9px;
  background: var(--blue); color: #fff; font-size: 13px; display: inline-grid; place-items: center;
}
.cart-head p { margin: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.cart-lock {
  margin: 0 0 12px; padding: 10px 12px; border-radius: 12px;
  background: #fff7ef; color: #9a4b00; font-size: 13px; font-weight: 700;
}
.cart-body { flex: 1 1 auto; overflow: auto; min-height: 0; padding-right: 4px; }
.cart-foot { flex: 0 0 auto; }
.cart-group:not(:empty) {
  margin: 0 0 10px; padding: 10px 12px 8px;
  background: #f7fbff; border: 1px solid #e4eef6; border-radius: 16px;
}
.cart-group--discount:not(:empty) { background: #fff7ef; border-color: #ffe0bf; }
.cart-group--pending:not(:empty) { background: #f6f8fb; }
.cart-group-head {
  margin: 0 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; color: var(--blue-deep);
}
.cart-group--discount .cart-group-head { color: var(--orange-deep); }
.cart-item {
  display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 8px 10px; align-items: start;
  padding: 8px 0; border-bottom: 1px solid #e4eef6;
}
.cart-item:last-child { border-bottom: 0; }
.cart-item .pip {
  width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--cyan);
}
.cart-item--asistente .pip { background: var(--purple); }
.cart-item--svc .pip { background: #0b63c4; }
.cart-item--hw .pip { background: #1f8a70; }
.cart-item--discount .pip { background: var(--orange); }
.cart-item--server .pip { background: #5b6f86; }
.cart-item .mark { display: none; }
.cart-copy h3 { margin: 0; font-size: 13px; line-height: 1.3; font-weight: 800; }
.cart-copy small { display: block; margin-top: 2px; color: var(--muted); font-weight: 600; font-size: 12px; }
.cart-meta { display: flex; align-items: flex-start; gap: 2px; }
.cart-meta strong { font-size: 13px; white-space: nowrap; }
.cart-meta strong.is-pending { color: var(--muted); font-weight: 700; }
.cart-item .more { border: 0; background: transparent; color: #8aa0b5; cursor: pointer; font-size: 18px; line-height: 1; padding: 0 2px; }
.totals { display: grid; gap: 8px; margin-top: 4px; }
.total-block {
  padding: 12px 14px; border-radius: 14px; background: #102a43; color: #fff;
}
.total-kicker { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #9eb6cc; }
.total-value { margin: 4px 0 2px; font-size: 20px; font-weight: 800; }
.total-sub { margin: 0; font-size: 12px; color: #d7e3ee; }
.totals.is-locked {
  padding: 12px 14px; border-radius: 14px; background: #eef7ff; color: var(--navy);
}
.totals.is-locked p { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.4; }
.hint-card, .why {
  background: #f3f9ff; border-radius: 18px; padding: 14px; margin-top: 14px;
}
.hint-card strong, .why h3 { display: block; margin: 0 0 6px; font-size: 14px; }
.hint-card p, .why p { margin: 0; color: var(--muted); font-size: 13px; }
.cart-next { width: 100%; margin-top: 14px; }
.cart-reset {
  display: block; width: 100%; margin-top: 8px; padding: 8px;
  border: 0; background: transparent; cursor: pointer;
  color: var(--muted); font: 700 13px Nunito, sans-serif; text-align: center;
}
.cart-reset:hover { color: var(--navy); }
.why-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.why-grid article { background: #fff; border-radius: 14px; padding: 10px; }
.badge { display: inline-block; border-radius: 8px; padding: 3px 7px; color: #fff; font-size: 10px; font-weight: 800; margin-bottom: 6px; }
.badge.cyan { background: var(--cyan); }
.badge.purple { background: var(--purple); }
.plus { font-weight: 800; color: var(--blue); }
.ticket-dock, .sheet { display: none; }
.ticket-dock-copy { min-width: 0; }
.ticket-dock small {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ticket-dock strong {
  display: block;
  margin-top: 2px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}
.dock-toggle {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
}
.dock-toggle[aria-expanded="true"] {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #fff;
}
.help { border: 0; border-radius: 20px; padding: 24px; width: min(420px, 92vw); }
.help h2 { margin-top: 0; }
.help ul { color: var(--muted); }
.folio { font-weight: 800; color: var(--blue-deep); }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 1100px) {
  .bands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  ol.stepper li small { font-size: 12px; }
}
@media (max-width: 899px) {
  .app-header { grid-template-columns: 1fr auto; padding: 10px 14px; }
  .app-header h1 { display: none; }
  .app-body {
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
    grid-template-areas: "steps" "stage";
    padding-bottom: 96px;
  }
  ol.stepper { padding-inline: 0; }
  ol.stepper li small { display: none; }
  ol.stepper li.is-current small { display: block; white-space: nowrap; }
  .cart { display: none; }
  .board { padding: 18px 14px 12px; border-radius: 22px; }
  .hello { gap: 10px; }
  .robot { flex-basis: 72px; }
  .ack { margin-left: 0; }
  .bands, .offers, .fields.two { grid-template-columns: 1fr 1fr; }
  .ticket-dock {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    position: sticky; bottom: 0; z-index: 20; padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(16, 42, 67, 0.08);
  }
  .sheet {
    display: block; position: sticky; bottom: 58px; background: #fff;
    border-top: 1px solid var(--line); padding: 12px 16px; max-height: 45vh; overflow: auto;
  }
  .composer { position: static; margin-bottom: 12px; }
}
@media (max-width: 560px) {
  .bands { grid-template-columns: 1fr 1fr; }
  .app-tools a:not(.exit) span, .app-tools a:not(.exit) { font-size: 0; gap: 0; padding: 8px; }
  .app-tools a:not(.exit) svg { width: 20px; height: 20px; }
  .app-tools .tool-reset span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .app-tools .tool-reset { padding: 8px; }
  .app-tools .exit { font-size: 13px; }
}
.rec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.rec-card, .pack {
  position: relative; padding: 16px; border: 1.5px solid #e4edf5; border-radius: 20px; background: #fff;
}
.rec-card.is-on, .pack.is-on { border-color: var(--orange); background: #fff7ef; box-shadow: 0 8px 18px rgba(255, 131, 0, .12); }
.rec-card img, .device img {
  width: 100%; height: 140px; object-fit: cover; border-radius: 14px; margin-bottom: 10px; background: #eef6fc;
}
.rec-card h3 { margin: 0 0 6px; font-size: 18px; }
.rec-lead { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.rec-card ul { margin: 0 0 10px; padding-left: 18px; color: var(--muted); font-size: 13px; }
.rec-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.offer-actions .choice,
.rec-toggle .choice {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 52px; padding: 12px 14px; border-radius: 14px;
  gap: 2px; font-weight: 800; font-size: 15px;
}
.offer-actions .choice { white-space: nowrap; }
.rec-toggle .choice { min-height: 76px; }
.offer-actions .choice.is-on::after,
.rec-toggle .choice.is-on::after { display: none; }
.offer-actions .choice.is-on,
.rec-toggle .choice.is-on {
  background: var(--orange); color: #fff; border-color: var(--orange);
  box-shadow: 0 8px 18px rgba(255, 131, 0, .18);
}
.offer-actions .choice.is-on span,
.rec-toggle .choice.is-on span { color: rgba(255, 255, 255, .88); }
.rec-link {
  background: #f3f9ff; border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; color: var(--navy);
}
.rec-link p { margin: 0; font-size: 14px; line-height: 1.45; }
.rec-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 12px; }
.suggest-pill {
  display: inline-block; margin: 0 0 8px; padding: 4px 8px; border-radius: 999px;
  background: var(--orange); color: #fff; font-size: 11px; font-weight: 800;
}
.suggest-pill.muted { background: #d7e3ee; color: var(--muted); }
.packs { display: grid; gap: 12px; margin-bottom: 16px; }
.pack { appearance: none; text-align: left; cursor: pointer; font: inherit; width: 100%; color: inherit; }
.pack strong { display: block; font-size: 16px; margin-bottom: 4px; }
.pack span { color: var(--muted); font-size: 13px; }
.cart-empty { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.cart-item.is-suggest { opacity: .86; }
.cart-item.is-suggest h3 { font-weight: 700; }
.otp-card {
  padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: #fff;
}
.otp-sent {
  margin: 0 0 14px; padding: 10px 12px; border-radius: 12px;
  background: #eef7ff; color: var(--navy); font-size: 14px; font-weight: 700;
}
.otp-boxes { margin: 0; padding: 0; border: 0; min-width: 0; }
.otp-boxes legend {
  margin: 0 0 10px; font-size: 13px; font-weight: 800; color: var(--navy);
}
.otp-row { display: flex; justify-content: space-between; gap: 8px; }
.otp-row input {
  flex: 1 1 0; width: 100%; min-width: 0; min-height: 56px; margin: 0; padding: 0;
  text-align: center; font: 800 22px Nunito, sans-serif; color: var(--navy);
  border: 1.5px solid #d7e3ee; border-radius: 14px; background: #f7fbff;
}
.otp-row input:focus {
  outline: 3px solid #cfe8fb; border-color: var(--blue); background: #fff;
}
.otp-hint { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.otp-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.otp-actions .btn { min-height: 46px; }
@media (max-width: 899px) {
  .rec-grid, .offers { grid-template-columns: 1fr; }
  .rec-toggle, .offer-actions { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .band, .choice, .device { transition: none; }
}

.app.is-cierre .app-body {
  grid-template-columns: 1fr;
  grid-template-areas: "steps" "stage";
}
.app.is-cierre .cart,
.app.is-cierre .ticket-dock,
.app.is-cierre .sheet,
.app.is-cierre .ack,
.app.is-cierre .ask,
.app.is-cierre [data-next],
.app.is-cierre .composer { display: none !important; }
.app.is-cierre .hello { align-items: center; }
.app.is-cierre .cierre-kicker {
  display: block; margin: 0 0 6px; font-size: 22px; font-weight: 800; color: var(--blue-deep);
}
.app.is-cierre .bubble { background: linear-gradient(180deg, #eaf7ff, #f7fbff); }
.cierre {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr); gap: 18px; align-items: start;
}
.quote-meta {
  display: flex; justify-content: space-between; gap: 16px; align-items: flex-start;
  padding: 4px 0 12px; border-bottom: 1px solid var(--line);
}
.quote-meta h2 { margin: 0 0 4px; font-size: 22px; }
.quote-meta p { margin: 0; color: var(--muted); font-size: 14px; }
.quote-dates { text-align: right; }
.quote-status {
  display: inline-flex; margin: 12px 0 8px; padding: 4px 10px; border-radius: 999px;
  background: #eaf7ff; color: var(--blue-deep); font-size: 12px; font-weight: 800;
}
.quote-lines { display: grid; gap: 16px; }
.quote-group { border-radius: 18px; padding: 4px 0 8px; }
.quote-group h3 {
  margin: 12px 0 8px; padding: 8px 12px; border-radius: 12px;
  font-size: 15px; background: #f3f9ff;
}
.quote-group.is-implementations h3 { background: #f3efff; }
.quote-group.is-equipment h3 { background: #eefbf3; }
.quote-table { width: 100%; border-collapse: collapse; }
.quote-table th, .quote-table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.quote-table th { color: var(--muted); font-size: 12px; font-weight: 700; }
.quote-table td:last-child, .quote-table th:last-child { text-align: right; white-space: nowrap; font-weight: 800; }
.quote-table small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.quote-table tr.is-discount td:last-child { color: #1f8a70; }
.quote-table tr.is-pending td:last-child { color: var(--blue-deep); }
.quote-total {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  margin: 16px 0; padding: 16px 18px; border-radius: 18px;
  background: linear-gradient(90deg, #e7f4ff, #f7fbff);
}
.quote-total strong { display: block; font-size: 16px; }
.quote-total small { color: var(--muted); font-weight: 600; }
.quote-total p { margin: 0; font-size: 28px; font-weight: 800; color: var(--blue-deep); }
.cierre-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.side-card {
  background: #fff; border: 1px solid #e8f1f8; border-radius: 20px;
  padding: 16px; margin-bottom: 14px; box-shadow: 0 10px 24px rgba(16, 42, 67, .05);
}
.side-card h3 { margin: 0 0 12px; font-size: 16px; }
.side-card p { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-size: 14px; }
.side-card p strong { white-space: nowrap; }
.side-card .is-discount { color: #1f8a70; }
.side-card .is-total { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-weight: 800; }
.side-action {
  width: 100%; appearance: none; background: #fff; border: 1px solid #e4edf5;
  border-radius: 14px; padding: 12px 14px; margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
  font: 700 14px Nunito, sans-serif; color: var(--navy); cursor: pointer; text-align: left;
}
.side-action:hover { border-color: #cfe3f3; background: #f7fbff; }
.side-action .tag {
  min-width: 36px; border-radius: 8px; padding: 2px 6px; text-align: center;
  font-size: 11px; font-weight: 800; color: #fff;
}
.tag.pdf { background: #d92d20; }
.tag.xls { background: #1f8a4d; }
.side-note, .quote-note, .quote-warn, .quote-readonly {
  color: var(--muted); font-size: 13px; line-height: 1.45;
}
.quote-warn {
  background: #fff7ef; color: #9a4b00; border-radius: 12px; padding: 10px 12px; font-weight: 700;
}
.cierre-success {
  padding: 28px 8px 12px; text-align: center;
}
.cierre-success h2 { margin: 0 0 8px; }
.icon-copy {
  border: 0; background: transparent; cursor: pointer; color: var(--blue-deep); font-size: 14px;
}
.email-dialog, .help {
  width: min(520px, calc(100% - 24px)); border: 0; border-radius: 20px; padding: 22px;
}
.email-dialog::backdrop, .help::backdrop { background: rgba(16, 42, 67, .35); }
.email-dialog label { display: grid; gap: 6px; margin-bottom: 10px; font-weight: 700; }
.email-dialog input, .email-dialog textarea {
  width: 100%; border: 1px solid #d7e3ee; border-radius: 12px; padding: 10px 12px; font: inherit;
}
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.toast {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  background: #102a43; color: #fff; padding: 12px 16px; border-radius: 14px;
  font-weight: 700; box-shadow: 0 12px 24px rgba(16, 42, 67, .2);
}
.quote-public-body { grid-template-columns: 1fr; grid-template-areas: "stage"; }
.quote-sheet { width: min(860px, 100%); margin: 0 auto; }
.quote-contact { color: var(--muted); }
.quote-summary p { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.quote-summary .is-total { font-weight: 800; border-top: 1px solid var(--line); padding-top: 8px; }
.btn[disabled] { opacity: .6; cursor: wait; }
@media (max-width: 980px) {
  .cierre { grid-template-columns: 1fr; }
  .quote-dates { text-align: left; }
}
@media print {
  .app-tools, ol.stepper, .cart, .ticket-dock, .sheet, .composer, .nav-actions,
  .cierre-cta, .cierre-side, .side-card, .form-error, .toast, [data-help], .exit,
  [data-reset-quote], [data-reset-dialog], .email-dialog { display: none !important; }
  .app-body, .cierre { display: block; width: 100%; }
  .board, .cart { box-shadow: none; border: 0; }
  .hello { display: flex !important; }
  body { background: #fff; }
}
