/* RetroBay — Reparaciones. Presentacion del plugin integrada con el tema hijo. */

/* Mantiene el pie estable entre pasos cortos y largos del formulario. */
.nb-buyback-wizard--repair {
  --nb-bg: #292b2a;
  --nb-bg-soft: #232524;
  --nb-bg-muted: #1c1e1d;
  --nb-text: #f4f6f5;
  --nb-text-muted: #aab3af;
  --nb-text-soft: #7f8a85;
  --nb-border: rgba(255,255,255,.12);
  --nb-border-strong: rgba(101,198,183,.5);
  --nb-primary: #65c6b7;
  --nb-primary-hover: #73d2c3;
  --nb-on-primary: #0d1b18;
  --nb-accent: #65c6b7;
  --nb-accent-hover: #73d2c3;
  --nb-accent-soft: rgba(86,170,157,.13);
  --nb-accent-border: rgba(101,198,183,.32);
  --nb-radius: 10px;
  --nb-radius-sm: 7px;
  --nb-shadow-md: 0 16px 34px rgba(0,0,0,.18);
  --nb-shadow-lg: 0 24px 60px rgba(0,0,0,.24);
  --nb-font-display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nb-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  width: min(100% - 32px, 1180px);
  max-width: 1180px;
  min-height: max(680px, calc(100svh - 190px));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 76px) 0 80px;
}

.nb-buyback-wizard--repair .nb-loader {
  min-height: 420px;
  display: grid;
  place-items: center;
}

/* Loader compartido con Mi colección, aislado dentro del wizard de reparaciones. */
.nb-buyback-wizard--repair .rb-collection-loader {
  display: flex;
  width: 100%;
  min-height: 280px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #aab3af;
  text-align: center;
}
.nb-buyback-wizard--repair .rb-collection-loader__spinner {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 17px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: radial-gradient(circle, #79d8ca 0 3px, rgba(86,170,157,.13) 4px 10px, transparent 11px);
  box-shadow: 0 0 32px rgba(86,170,157,.13);
}
.nb-buyback-wizard--repair .rb-collection-loader__spinner i {
  position: absolute;
  inset: 6px;
  border: 2px solid transparent;
  border-top-color: #79d8ca;
  border-radius: 50%;
  animation: rb-loader-spin 1.05s linear infinite;
}
.nb-buyback-wizard--repair .rb-collection-loader__spinner i:nth-child(2) {
  inset: 13px;
  border-top-color: transparent;
  border-right-color: #65c6b7;
  animation-duration: .78s;
  animation-direction: reverse;
}
.nb-buyback-wizard--repair .rb-collection-loader__spinner i:nth-child(3) {
  inset: -1px;
  border-width: 1px;
  border-top-color: transparent;
  border-bottom-color: rgba(101,198,183,.5);
  animation-duration: 1.7s;
}
.nb-buyback-wizard--repair .rb-collection-loader strong {
  color: #f4f6f5;
  font-size: 15px;
  font-weight: 750;
}
.nb-buyback-wizard--repair .rb-collection-loader > span:last-child {
  margin-top: 4px;
  font-size: 12px;
}

@keyframes rb-loader-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .nb-buyback-wizard--repair .rb-collection-loader__spinner i { animation: none !important; }
}

.nb-buyback-wizard--repair .nb-wizard-home { gap: 26px; }
.nb-buyback-wizard--repair .nb-wizard-hero { max-width: 760px; padding: 0; text-align: left; }
.nb-buyback-wizard--repair .nb-wizard-hero::before {
  content: "Servicio técnico RetroBay";
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 11px;
  border: 1px solid rgba(101,198,183,.42);
  border-radius: 999px;
  color: #79d8ca;
  background: rgba(86,170,157,.1);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nb-buyback-wizard--repair .nb-wizard-hero h1 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 750;
  letter-spacing: -.045em;
}
.nb-buyback-wizard--repair .nb-wizard-hero p {
  max-width: 650px;
  margin: 0;
  color: #c5cdc9;
  font-size: clamp(15px, 1.8vw, 18px);
}
.nb-buyback-wizard--repair .nb-wizard-section-title {
  margin: 8px 0 -8px;
  color: #e8ecea;
  font-size: 14px;
  font-weight: 700;
}

.nb-buyback-wizard--repair .nb-category-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.nb-buyback-wizard--repair .nb-category-card {
  --rb-repair-card-image: linear-gradient(135deg, #303432, #171918);
  --rb-repair-card-position: center;
  --rb-repair-card-copy: "Diagnóstico y reparación especializada";
  position: relative;
  isolation: isolate;
  min-height: clamp(230px, 24vw, 290px);
  justify-content: flex-end;
  align-items: stretch;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  color: #f4f6f5;
  background: #202221;
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
  text-align: left;
}
.nb-buyback-wizard--repair .nb-category-card[data-slug="consolas"] {
  --rb-repair-card-image: url("https://retrobay.es/wp-content/uploads/2026/09/consolas-retrobay-reparaciones.webp");
  --rb-repair-card-position: center 48%;
  --rb-repair-card-copy: "PlayStation · Nintendo · Xbox";
}
.nb-buyback-wizard--repair .nb-category-card[data-slug="mandos"] {
  --rb-repair-card-image: url("https://retrobay.es/wp-content/uploads/2026/09/mandos-reparaciones-retrobay.webp");
  --rb-repair-card-position: center 52%;
  --rb-repair-card-copy: "Mandos y controladores";
}
.nb-buyback-wizard--repair .nb-category-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(7,9,8,.2) 0%, rgba(7,9,8,.3) 48%, rgba(7,9,8,.9) 100%),
    linear-gradient(90deg, rgba(7,9,8,.24), rgba(7,9,8,.08) 70%),
    var(--rb-repair-card-image);
  background-position: center, center, var(--rb-repair-card-position);
  background-size: cover;
  filter: none;
  pointer-events: none;
  transform: scale(1);
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.nb-buyback-wizard--repair .nb-category-card::after {
  content: "→";
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 24px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(101,198,183,.46);
  border-radius: 50%;
  color: #7addce;
  background: rgba(13,27,24,.7);
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
  font-size: 17px;
  line-height: 1;
  transition: color .2s ease, background .2s ease, transform .25s ease;
}
.nb-buyback-wizard--repair .nb-category-card:hover {
  border-color: rgba(101,198,183,.68);
  box-shadow: 0 24px 54px rgba(0,0,0,.34), 0 0 0 1px rgba(101,198,183,.12);
  transform: translateY(-4px);
}
.nb-buyback-wizard--repair .nb-category-card:hover::before {
  filter: none;
  transform: scale(1.045);
}
.nb-buyback-wizard--repair .nb-category-card:hover::after {
  color: #10201d;
  background: #65c6b7;
  transform: translateX(3px);
}
.nb-buyback-wizard--repair .nb-category-card:focus-visible {
  border-color: #65c6b7;
  outline: 3px solid rgba(101,198,183,.22);
  outline-offset: 3px;
}
.nb-buyback-wizard--repair .nb-category-card img {
  display: none;
}
.nb-buyback-wizard--repair .nb-category-card span {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3px;
  padding-right: 50px;
  color: #fff;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.15;
  letter-spacing: -.025em;
  text-shadow: 0 2px 14px rgba(0,0,0,.65);
}
.nb-buyback-wizard--repair .nb-category-card span::before {
  content: "Servicio especializado";
  color: #75d5c6;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.nb-buyback-wizard--repair .nb-category-card span::after {
  content: var(--rb-repair-card-copy);
  margin-top: 2px;
  color: rgba(239,244,242,.76);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
}

.nb-buyback-wizard--repair .nb-trust-row {
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: #c9d0cd;
  background: rgba(255,255,255,.025);
}
.nb-buyback-wizard--repair .nb-trust-row > div {
  min-height: 64px;
  padding: 13px 15px;
  border-right: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
}
.nb-buyback-wizard--repair .nb-trust-row > div:last-child { border-right: 0; }
.nb-buyback-wizard--repair .nb-trust-icon { color: #65c6b7; }

.nb-buyback-wizard--repair .nb-wizard-grid {
  grid-template-columns: minmax(240px, 300px) minmax(0,1fr);
  gap: clamp(24px, 5vw, 58px);
  min-height: 560px;
  padding: 12px 0 48px;
}
.nb-buyback-wizard--repair .nb-wizard-left { top: 140px !important; gap: 14px; }
body.admin-bar .nb-buyback-wizard--repair .nb-wizard-left { top: 172px !important; }
.nb-buyback-wizard--repair .nb-wizard-right {
  display: flex;
  min-height: 440px;
  padding: 0;
  flex-direction: column;
  align-items: stretch;
}
.nb-buyback-wizard--repair .nb-back {
  color: #bdc6c2;
  text-decoration: none;
}
.nb-buyback-wizard--repair .nb-back:hover { color: #79d8ca; }
body .nb-buyback-wizard.nb-buyback-wizard--repair .nb-wizard-right > .nb-question {
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.nb-buyback-wizard--repair .nb-wizard-right > .nb-question + .nb-conf-card {
  margin-top: 0;
}
.nb-buyback-wizard--repair .nb-help { color: #aeb8b4; }

.nb-buyback-wizard--repair .nb-summary,
.nb-buyback-wizard--repair .nb-summary.nb-summary-empty {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 9px;
  color: #eef2f0;
  background: linear-gradient(145deg, rgba(43,45,44,.98), rgba(35,37,36,.98));
  box-shadow: 0 16px 36px rgba(0,0,0,.15);
}
.nb-buyback-wizard--repair .nb-summary h4 { color: #8f9b96; }
.nb-buyback-wizard--repair .nb-summary-row { border-color: rgba(255,255,255,.09); }
.nb-buyback-wizard--repair .nb-summary-row dt { color: #99a49f; }
.nb-buyback-wizard--repair .nb-summary-row dd { color: #fff; overflow-wrap: anywhere; }
.nb-buyback-wizard--repair .nb-summary-empty p { color: #99a49f; }

.nb-buyback-wizard--repair .nb-customer-form,
.nb-buyback-wizard--repair .nb-conf-card,
.nb-buyback-wizard--repair .nb-photo-uploader,
.nb-buyback-wizard--repair .nb-login-required,
.nb-buyback-wizard--repair .nb-error {
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 10px;
  color: #eef2f0;
  background: linear-gradient(145deg, rgba(43,45,44,.98), rgba(35,37,36,.98));
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
}
.nb-buyback-wizard--repair .nb-customer-form {
  max-width: 760px;
  margin-right: 0;
  margin-left: 0;
  padding: clamp(20px, 4vw, 32px);
}
.nb-buyback-wizard--repair #nb-repair-legal-form > .nb-conf-card:first-child {
  margin-top: 0;
}
.nb-buyback-wizard--repair .nb-customer-form h2,
.nb-buyback-wizard--repair .nb-customer-form h3,
.nb-buyback-wizard--repair .nb-conf-card h3 { color: #fff; }
.nb-buyback-wizard--repair .nb-customer-form > label,
.nb-buyback-wizard--repair .nb-form-row label { color: #c7cfcb; font-weight: 650; }

/* Ritmo uniforme entre cada etiqueta y su control en el paso de dispositivo. */
.nb-buyback-wizard--repair #nb-repair-device-form > .nb-help {
  margin: 0 0 6px;
}
.nb-buyback-wizard--repair #nb-repair-device-form .nb-brand-chips,
.nb-buyback-wizard--repair #nb-repair-device-form .nb-tag-cloud {
  margin-top: 0;
  margin-bottom: 16px;
}
.nb-buyback-wizard--repair #nb-repair-device-form > label > textarea {
  margin-top: 6px;
}
.nb-buyback-wizard--repair .nb-form-row input,
.nb-buyback-wizard--repair textarea,
.nb-buyback-wizard--repair select {
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 7px;
  color: #fff;
  background: rgba(6,9,8,.42);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.16);
}
.nb-buyback-wizard--repair textarea { padding: 12px 14px; }
.nb-buyback-wizard--repair .nb-form-row input:focus,
.nb-buyback-wizard--repair textarea:focus,
.nb-buyback-wizard--repair select:focus {
  border-color: #65c6b7;
  outline: 3px solid rgba(86,170,157,.14);
  box-shadow: none;
}
.nb-buyback-wizard--repair .nb-tag {
  border-color: rgba(255,255,255,.14);
  color: #dce2df;
  background: rgba(255,255,255,.035);
}
.nb-buyback-wizard--repair .nb-tag:hover { border-color: rgba(101,198,183,.65); color: #fff; }
.nb-buyback-wizard--repair .nb-tag.is-active { border-color: #65c6b7; color: #10201d; background: #65c6b7; }
.nb-buyback-wizard--repair .nb-char-count { color: #89948f; }
.nb-buyback-wizard--repair .nb-repair-addon {
  display: flex;
  margin-top: 18px;
  padding: 15px 16px;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid rgba(101,198,183,.35);
  border-radius: 8px;
  color: #fff;
  background: rgba(86,170,157,.08);
  cursor: pointer;
}
.nb-buyback-wizard--repair .nb-repair-addon input { margin-top: 4px; flex: 0 0 auto; accent-color: #65c6b7; }
.nb-buyback-wizard--repair .nb-repair-addon span { display: grid; gap: 3px; }
.nb-buyback-wizard--repair .nb-repair-addon strong { color: #fff; }
.nb-buyback-wizard--repair .nb-repair-addon small { color: #c8cfcc; font-weight: 400; line-height: 1.45; }
.nb-buyback-wizard--repair .nb-summary-addon { margin-top: 14px; padding: 11px 12px; border-left: 3px solid #65c6b7; background: rgba(86,170,157,.08); }
.nb-buyback-wizard--repair .nb-photo-uploader { background: rgba(255,255,255,.025); }
.nb-buyback-wizard--repair .nb-photo-add { border-color: rgba(255,255,255,.18); color: #aeb8b4; background: rgba(0,0,0,.12); }
.nb-buyback-wizard--repair .nb-photo-add:hover { border-color: #65c6b7; color: #79d8ca; background: rgba(86,170,157,.08); }
.nb-buyback-wizard--repair .nb-photo-status { color: #aeb8b4; }
.nb-buyback-wizard--repair .nb-photo-status:empty { display: none; }
.nb-buyback-wizard--repair .nb-photo-status.is-error,
.rb-account-shell .nb-info-photos-status.is-error {
  padding: 10px 12px;
  border: 1px solid rgba(239,164,164,.5);
  border-radius: 7px;
  color: #fff !important;
  background: rgba(105,25,25,.3);
}
.nb-buyback-wizard--repair .nb-legal-check { border-color: rgba(255,255,255,.11); color: #dce2df; background: rgba(0,0,0,.12); }
.nb-buyback-wizard--repair .nb-legal-check a { color: #79d8ca; }
.nb-buyback-wizard--repair .nb-conf-card p,
.nb-buyback-wizard--repair .nb-conf-card li { color: #c8cfcc; }
.nb-buyback-wizard--repair .nb-conf-card strong { color: #fff; }
.nb-buyback-wizard--repair .nb-btn-primary,
.nb-buyback-wizard--repair .nb-btn-secondary {
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}
.nb-buyback-wizard--repair .nb-btn-primary { border-color: #65c6b7; color: #0d1b18; background: linear-gradient(135deg,#6dd0c0,#50aa9c); }
.nb-buyback-wizard--repair .nb-btn-secondary { border-color: rgba(255,255,255,.18); color: #eef2f0; background: rgba(255,255,255,.035); }
.nb-buyback-wizard--repair .nb-btn-secondary:hover { border-color: rgba(101,198,183,.55); color: #fff; background: rgba(86,170,157,.1); }
.nb-buyback-wizard--repair .nb-confirmation {
  position: relative;
  display: flex;
  width: min(100%, 820px);
  max-width: 820px;
  min-height: 0;
  margin: 28px auto 70px;
  padding: clamp(30px, 5vw, 48px);
  align-items: center;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0, rgba(101,198,183,.13), transparent 38%),
    linear-gradient(145deg, rgba(43,45,44,.98), rgba(31,33,32,.98));
  box-shadow: 0 26px 70px rgba(0,0,0,.28);
  text-align: center;
}
.nb-buyback-wizard--repair .nb-confirmation::before {
  content: "✓";
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(101,198,183,.52);
  border-radius: 50%;
  color: #10201d;
  background: linear-gradient(135deg,#75d7c8,#54b3a5);
  box-shadow: 0 0 0 8px rgba(86,170,157,.09), 0 14px 30px rgba(0,0,0,.2);
  font-size: 28px;
  font-weight: 800;
}
.nb-buyback-wizard--repair .nb-confirmation h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(30px,4vw,42px);
  letter-spacing: -.035em;
}
.nb-buyback-wizard--repair .nb-confirmation > p {
  max-width: 650px;
  margin: 0;
  color: #c7cfcb;
  line-height: 1.65;
}
.nb-buyback-wizard--repair .nb-confirmation .nb-conf-card {
  width: 100%;
  margin: 30px 0 0;
  padding: clamp(22px,4vw,30px);
  border-color: rgba(255,255,255,.11);
  border-radius: 11px;
  background: rgba(7,10,9,.2);
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.nb-buyback-wizard--repair .nb-confirmation .nb-conf-card h3 {
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  font-size: 17px;
}
.nb-buyback-wizard--repair .nb-confirmation .nb-conf-card ol { gap: 0; }
.nb-buyback-wizard--repair .nb-confirmation .nb-conf-card ol li {
  min-height: 36px;
  margin-bottom: 16px;
  padding: 0 0 16px 46px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nb-buyback-wizard--repair .nb-confirmation .nb-conf-card ol li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.nb-buyback-wizard--repair .nb-confirmation .nb-conf-card ol li::before {
  width: 30px;
  height: 30px;
  border-color: rgba(101,198,183,.4);
  color: #79d8ca;
  background: rgba(86,170,157,.09);
}
.nb-buyback-wizard--repair .nb-confirmation > .nb-conf-card + p {
  display: inline-flex;
  max-width: 100%;
  margin-top: 22px;
  padding: 9px 14px;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(0,0,0,.15);
  font-size: 13px;
}
.nb-buyback-wizard--repair .nb-confirmation code {
  color: #fff;
  background: transparent;
}
.nb-buyback-wizard--repair .nb-conf-actions {
  display: flex;
  margin: 22px 0 0;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.nb-buyback-wizard--repair .nb-conf-actions .nb-btn-primary,
.nb-buyback-wizard--repair .nb-conf-actions .nb-btn-secondary { min-width: 180px; }

/* Dashboard general: usa la misma tabla que los pedidos. */
.rb-account-shell .rb-repairs-overview__heading > div { min-width: 0; }
.rb-account-shell .rb-repairs-overview__heading p { margin: 3px 0 0; color: var(--rb-muted); font-size: 11px; }
.rb-account-shell .rb-repairs-overview__table code,
.rb-account-shell .nb-repairs-table code {
  padding: 3px 7px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 4px;
  color: #dce2df;
  background: rgba(0,0,0,.16);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
}
.rb-account-shell .rb-repair-status,
.rb-account-shell .nb-repair-status {
  display: inline-flex;
  padding: 4px 8px;
  border: 1px solid rgba(101,198,183,.3) !important;
  border-radius: 999px;
  color: #7bdbcc !important;
  background: rgba(86,170,157,.12) !important;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
.rb-account-shell .nb-repair-status--gray { color: #c5ceca !important; border-color: rgba(255,255,255,.16) !important; background: rgba(255,255,255,.06) !important; }
.rb-account-shell .rb-repair-status--created,
.rb-account-shell .rb-repair-status--label_pending,
.rb-account-shell .rb-repair-status--label_created,
.rb-account-shell .rb-repair-status--device_waived { color: #c5ceca !important; border-color: rgba(255,255,255,.16) !important; background: rgba(255,255,255,.06) !important; }
.rb-account-shell .nb-repair-status--blue,
.rb-account-shell .rb-repair-status--approved_for_shipping,
.rb-account-shell .rb-repair-status--in_transit,
.rb-account-shell .rb-repair-status--received,
.rb-account-shell .rb-repair-status--diagnosis { color: #80c0ff !important; border-color: rgba(77,157,235,.36) !important; background: rgba(45,115,185,.17) !important; }
.rb-account-shell .nb-repair-status--yellow,
.rb-account-shell .rb-repair-status--pending_review,
.rb-account-shell .rb-repair-status--needs_customer_info,
.rb-account-shell .rb-repair-status--waiting_customer_approval,
.rb-account-shell .rb-repair-status--waiting_for_parts { color: #f1ca76 !important; border-color: rgba(223,171,58,.34) !important; background: rgba(150,104,17,.17) !important; }
.rb-account-shell .nb-repair-status--red,
.rb-account-shell .rb-repair-status--declined_before_shipping,
.rb-account-shell .rb-repair-status--quote_rejected,
.rb-account-shell .rb-repair-status--cancelled,
.rb-account-shell .rb-repair-status--quote_expired,
.rb-account-shell .rb-repair-status--irreparable_returned,
.rb-account-shell .rb-repair-status--return_to_customer,
.rb-account-shell .rb-repair-status--expired_unsent,
.rb-account-shell .rb-repair-status--awaiting_return_payment,
.rb-account-shell .rb-repair-status--abandoned { color: #efa4a4 !important; border-color: rgba(219,92,92,.34) !important; background: rgba(160,51,51,.16) !important; }
.rb-account-shell .rb-repairs-overview__empty {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.rb-account-shell .rb-repairs-overview__empty p { margin: 3px 0 0; }
.rb-account-shell .rb-repairs-overview__empty strong { color: #fff; font-size: 13px; }
.rb-account-shell .rb-repairs-overview__empty-icon,
.rb-account-shell .nb-repairs-empty__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--rb-accent-bright);
  background: var(--rb-accent-soft);
}
.rb-account-shell .rb-repairs-overview__empty-icon svg,
.rb-account-shell .nb-repairs-empty__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Endpoint dedicado de reparaciones. */
.rb-account-shell .nb-buyback-myaccount {
  --nb-font-display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nb-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  width: 100%;
  margin: 0;
  color: var(--rb-text);
  background: transparent;
}
.rb-account-shell .nb-buyback-myaccount--repairs-list {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.rb-account-shell .nb-repairs-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
  padding: 19px;
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  background: linear-gradient(125deg, rgba(86,170,157,.13), rgba(255,255,255,.025) 62%);
}
.rb-account-shell .nb-buyback-myaccount--repairs-list .nb-repairs-eyebrow { display: block; margin-bottom: 5px; color: var(--rb-accent-bright) !important; font-size: 10px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.rb-account-shell .nb-repairs-header .nb-myaccount-title { margin: 0 0 5px; color: #fff !important; font-size: 24px; letter-spacing: -.025em; }
.rb-account-shell .nb-repairs-header p { max-width: 610px; margin: 0; color: var(--rb-muted) !important; font-size: 12px; }
.rb-account-shell .nb-repairs-new { flex: 0 0 auto; gap: 7px; }
.rb-account-shell .nb-repairs-new span { color: inherit !important; font-size: 18px; font-weight: 400; line-height: 1; }
.rb-account-shell .nb-repairs-table-wrap {
  overflow: hidden;
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  background: linear-gradient(145deg,rgba(42,44,43,.97),rgba(35,37,36,.97));
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}
.rb-account-shell .nb-repairs-table,
.rb-account-shell .nb-repairs-table th,
.rb-account-shell .nb-repairs-table td {
  color: #dce2df !important;
  background: transparent !important;
}
.rb-account-shell .nb-repairs-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; }
.rb-account-shell .nb-repairs-table th,
.rb-account-shell .nb-repairs-table td { padding: 13px 15px; border: 0; border-bottom: 1px solid rgba(255,255,255,.075); text-align: left; vertical-align: middle; }
.rb-account-shell .nb-repairs-table th { color: var(--rb-muted) !important; font-size: 10px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.rb-account-shell .nb-repairs-table td { font-size: 12px; }
.rb-account-shell .nb-repairs-table tbody tr:last-child td { border-bottom: 0; }
.rb-account-shell .nb-repairs-table tbody tr:hover { background: rgba(255,255,255,.025); }
.rb-account-shell .nb-repairs-table tbody tr.is-highlight { background: rgba(86,170,157,.08); }
.rb-account-shell .nb-repairs-table small { color: var(--rb-muted) !important; }
.rb-account-shell .nb-buyback-myaccount--repairs-list .nb-repairs-table strong {
  color: #f2f5f4 !important;
}
.rb-account-shell .nb-buyback-myaccount--repairs-list .nb-repairs-table .nb-repair-status {
  color: #7bdbcc !important;
}
.rb-account-shell .nb-buyback-myaccount--repairs-list .nb-repairs-table .nb-repair-status--gray {
  color: #c5ceca !important;
}
.rb-account-shell .nb-buyback-myaccount--repairs-list .nb-repairs-table .nb-repair-status--blue {
  color: #80c0ff !important;
}
.rb-account-shell .nb-buyback-myaccount--repairs-list .nb-repairs-table .nb-repair-status--yellow {
  color: #f1ca76 !important;
}
.rb-account-shell .nb-buyback-myaccount--repairs-list .nb-repairs-table .nb-repair-status--red {
  color: #efa4a4 !important;
}
.rb-account-shell .nb-repairs-empty {
  display: grid;
  min-height: 330px;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 36px 20px;
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  background: linear-gradient(145deg,rgba(42,44,43,.97),rgba(35,37,36,.97));
  text-align: center;
}
.rb-account-shell .nb-buyback-myaccount--repairs-list .nb-repairs-empty__icon { color: var(--rb-accent-bright) !important; }
.rb-account-shell .nb-repairs-empty h3 { margin: 5px 0 0; color: #fff !important; font-size: 18px; }
.rb-account-shell .nb-repairs-empty p { max-width: 480px; margin: 0 0 8px; color: var(--rb-muted) !important; font-size: 13px; }

/* Detalle: neutraliza las antiguas tarjetas blancas inline sin tocar IDs ni JS. */
.rb-account-shell .nb-buyback-myaccount--repair-detail > header,
.rb-account-shell .nb-buyback-myaccount--repair-detail > section,
.rb-account-shell .nb-buyback-myaccount--repair-detail > div > section,
.rb-account-shell .nb-repair-timeline {
  border-color: var(--rb-line) !important;
  color: var(--rb-text) !important;
  background: linear-gradient(145deg,rgba(43,45,44,.98),rgba(35,37,36,.98)) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.15) !important;
}
.rb-account-shell .nb-buyback-myaccount--repair-detail h2,
.rb-account-shell .nb-buyback-myaccount--repair-detail h3,
.rb-account-shell .nb-buyback-myaccount--repair-detail h4 { color: #fff !important; }
.rb-account-shell .nb-buyback-myaccount--repair-detail p,
.rb-account-shell .nb-buyback-myaccount--repair-detail li,
.rb-account-shell .nb-buyback-myaccount--repair-detail dd,
.rb-account-shell .nb-buyback-myaccount--repair-detail td,
.rb-account-shell .nb-buyback-myaccount--repair-detail strong,
.rb-account-shell .nb-buyback-myaccount--repair-detail span:not(.nb-tl-num):not(.nb-repair-status) { color: #fff !important; }
.rb-account-shell .nb-buyback-myaccount--repair-detail dt,
.rb-account-shell .nb-buyback-myaccount--repair-detail label,
.rb-account-shell .nb-buyback-myaccount--repair-detail small,
.rb-account-shell .nb-buyback-myaccount--repair-detail em,
.rb-account-shell .nb-buyback-myaccount--repair-detail legend { color: #fff !important; }
.rb-account-shell .nb-buyback-myaccount--repair-detail code { color: #fff; background: rgba(0,0,0,.15); }
.rb-account-shell .nb-buyback-myaccount--repair-detail a:not(.button) { color: var(--rb-accent-bright) !important; }
.rb-account-shell .nb-repair-detail-header { align-items: center !important; padding: 20px !important; }
.rb-account-shell .nb-repair-detail-header > div { min-width: 0; }
.rb-account-shell .nb-repair-detail-header p { color: #fff !important; }
.rb-account-shell .nb-repair-timeline { padding: 16px !important; }
.rb-account-shell .nb-repair-timeline__step { border-top-color: rgba(255,255,255,.13) !important; }
.rb-account-shell .nb-repair-timeline__step.is-done { border-top-color: var(--rb-accent-bright) !important; }
.rb-account-shell .nb-repair-timeline__step .nb-tl-num { color: #fff !important; background: rgba(255,255,255,.09) !important; }
.rb-account-shell .nb-repair-timeline__step.is-done .nb-tl-num { color: #10201d !important; background: var(--rb-accent-bright) !important; }
.rb-account-shell .nb-repair-detail-grid {
  display: grid;
  grid-template-columns: minmax(250px,.85fr) minmax(360px,1.35fr);
  gap: 24px;
  align-items: start;
}
.rb-account-shell .nb-repair-detail-grid.without-shipping .nb-repair-card--device,
.rb-account-shell .nb-repair-card--quote,
.rb-account-shell .nb-repair-card--history { grid-column: 1 / -1; }
.rb-account-shell .nb-repair-card { padding: 24px !important; }
.rb-account-shell .nb-repair-detail-grid > .nb-repair-card > h3 {
  margin: 0 0 20px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 19px;
  line-height: 1.25;
}
.rb-account-shell .nb-repair-card--device dl { gap: 17px !important; }
.rb-account-shell .nb-repair-detail-grid.without-shipping .nb-repair-card--device dl {
  grid-template-columns: repeat(3,minmax(0,1fr));
  column-gap: 28px !important;
}
.rb-account-shell .nb-repair-detail-grid.without-shipping .nb-repair-card--device dl > div:last-child {
  grid-column: 1 / -1;
}
.rb-account-shell .nb-repair-card--device dt { margin-bottom: 6px !important; }
.rb-account-shell .nb-repair-card--device dd { line-height: 1.5; }

/* Presupuesto: jerarquia visual de documento comercial, sin alterar importes. */
.rb-account-shell .nb-repair-card--quote {
  position: relative;
  overflow: hidden;
  padding: 30px !important;
}
.rb-account-shell .nb-repair-card--quote::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg,var(--rb-accent-bright),rgba(101,198,183,.08) 72%);
  content: "";
}
.rb-account-shell .nb-repair-quote-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 22px;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.rb-account-shell .nb-repair-quote-heading h3 {
  margin: 4px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: clamp(22px,2vw,28px) !important;
  letter-spacing: -.02em;
}
.rb-account-shell .nb-buyback-myaccount--repair-detail .nb-repair-quote-eyebrow,
.rb-account-shell .nb-buyback-myaccount--repair-detail .nb-repair-quote-summary__label {
  display: block;
  color: var(--rb-accent-bright) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.rb-account-shell .nb-repair-quote-reference {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  color: #fff !important;
  background: rgba(0,0,0,.16);
  font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  font-size: 11px;
  letter-spacing: .03em;
}
.rb-account-shell .nb-repair-quote-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 24px;
  padding: 20px 22px;
  border: 1px solid rgba(101,198,183,.28);
  border-radius: 10px;
  background: linear-gradient(110deg,rgba(86,170,157,.13),rgba(0,0,0,.12));
}
.rb-account-shell .nb-repair-quote-summary__amount {
  color: #fff !important;
  font-size: clamp(27px,3vw,36px);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}
.rb-account-shell .nb-repair-quote-summary__amount > [data-nb-quote-total],
.rb-account-shell .nb-repair-quote-summary__amount small {
  margin: 0;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: 0;
}
.rb-account-shell .nb-repair-quote-breakdown {
  margin: 0 0 12px;
  padding: 0 2px;
}
.rb-account-shell .nb-repair-quote-breakdown h4 {
  margin: 0 0 7px !important;
  color: var(--rb-accent-bright) !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.rb-account-shell .nb-repair-quote-table {
  width: 360px;
  max-width: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0;
  background: transparent !important;
}
.rb-account-shell .nb-repair-quote-table td {
  padding: 5px 0 !important;
  border: 0 !important;
  color: #fff !important;
  font-size: 13px;
  line-height: 1.4;
}
.rb-account-shell .nb-repair-quote-table__concept {
  padding-right: 24px !important;
  font-weight: 500;
  opacity: .82;
}
.rb-account-shell .nb-repair-quote-table__amount {
  width: 112px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.rb-account-shell .nb-repair-quote-fiscal {
  margin: 0 0 18px;
  padding: 15px 2px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.rb-account-shell .nb-repair-quote-fiscal__title {
  display: block;
  margin: 0 0 7px;
  color: var(--rb-accent-bright) !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.rb-account-shell .nb-repair-quote-fiscal dl {
  max-width: 360px;
  margin: 0;
}
.rb-account-shell .nb-repair-quote-fiscal dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 5px 0;
}
.rb-account-shell .nb-repair-quote-fiscal dt,
.rb-account-shell .nb-repair-quote-fiscal dd {
  margin: 0;
  color: #fff !important;
  font-size: 13px;
  line-height: 1.4;
}
.rb-account-shell .nb-repair-quote-fiscal dt {
  font-weight: 500;
  opacity: .82;
}
.rb-account-shell .nb-repair-quote-fiscal dd {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.rb-account-shell .nb-repair-card--quote .nb-repair-quote-diagnosis {
  margin: 3px 0 18px !important;
  padding: 7px 0 7px 14px !important;
  border: 0 !important;
  border-left: 2px solid rgba(101,198,183,.36) !important;
  border-radius: 0 !important;
  color: rgba(255,255,255,.78) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px;
  line-height: 1.55;
}
.rb-account-shell .nb-buyback-myaccount--repair-detail .nb-repair-quote-callout-title {
  margin-bottom: 3px;
  color: rgba(255,255,255,.58) !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.rb-account-shell .nb-repair-card--quote .nb-repair-quote-diagnosis > div:last-child {
  color: rgba(255,255,255,.78) !important;
}
.rb-account-shell .nb-repair-quote-notes {
  margin: 0 0 18px;
  padding: 0 2px;
}
.rb-account-shell .nb-repair-quote-notes > strong { display: block; margin-bottom: 5px; }
.rb-account-shell .nb-repair-quote-notes p { margin: 0; line-height: 1.55; }
.rb-account-shell .nb-repair-quote-validity {
  margin: 20px 0 12px !important;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #fff !important;
  font-size: 13px;
}
.rb-account-shell .nb-repair-quote-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.rb-account-shell .nb-repair-quote-actions .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 148px;
  min-width: 148px;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 18px !important;
  line-height: 1.2 !important;
  text-align: center;
}
.rb-account-shell .nb-repair-quote-actions .button-primary {
  border-color: var(--rb-accent-bright) !important;
  color: #10201d !important;
  background: var(--rb-accent-bright) !important;
  box-shadow: 0 8px 20px rgba(86,170,157,.16) !important;
  filter: none !important;
  font-weight: 800;
  line-height: 1.2 !important;
  text-align: center;
  vertical-align: middle;
  transform: none !important;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease !important;
}
.rb-account-shell .nb-repair-quote-actions .button-primary:hover,
.rb-account-shell .nb-repair-quote-actions .button-primary:focus-visible {
  border-color: #78d4c6 !important;
  background: #78d4c6 !important;
  box-shadow: 0 9px 24px rgba(86,170,157,.24) !important;
  filter: none !important;
  transform: none !important;
}
.rb-account-shell .nb-repair-quote-actions .button-primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.rb-account-shell .nb-repair-quote-actions .button-primary:active {
  border-color: #56aa9d !important;
  background: #56aa9d !important;
  box-shadow: 0 4px 12px rgba(86,170,157,.18) !important;
  filter: none !important;
  transform: none !important;
}
.rb-account-shell .nb-repair-quote-actions #nb-repair-reject-quote {
  border-color: rgba(255,255,255,.2) !important;
  color: rgba(255,255,255,.82) !important;
  background: rgba(255,255,255,.035) !important;
  box-shadow: none !important;
  font-weight: 650;
}
.rb-account-shell .nb-repair-quote-actions #nb-repair-reject-quote:hover,
.rb-account-shell .nb-repair-quote-actions #nb-repair-reject-quote:focus-visible {
  border-color: rgba(239,164,164,.42) !important;
  color: #fff !important;
  background: rgba(105,25,25,.2) !important;
}
.rb-account-shell .nb-repair-quote-payment-pending {
  flex: 1 1 100%;
  margin: 0 0 2px !important;
}
.rb-account-shell .nb-repair-quote-result {
  margin: 20px 0 0 !important;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  font-weight: 700;
}
.rb-account-shell .nb-repair-quote-result.is-accepted { border-color: rgba(101,198,183,.3); background: rgba(86,170,157,.1); }
.rb-account-shell .nb-repair-quote-result.is-rejected,
.rb-account-shell .nb-repair-quote-result.is-expired { border-color: rgba(239,164,164,.25); background: rgba(105,25,25,.18); }

/* Tras responder, el presupuesto queda como resumen consultable. El documento
   completo permanece intacto dentro del desplegable. */
.rb-account-shell .nb-repair-card--quote.is-compact { padding: 0 !important; }
.rb-account-shell .nb-repair-quote-details { margin: 0; }
.rb-account-shell .nb-repair-quote-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  color: #fff;
  cursor: pointer;
  list-style: none;
}
.rb-account-shell .nb-repair-quote-compact::-webkit-details-marker { display: none; }
.rb-account-shell .nb-repair-quote-compact::marker { display: none; content: ""; }
.rb-account-shell .nb-repair-quote-compact:focus-visible {
  outline: 2px solid var(--rb-accent-bright);
  outline-offset: -4px;
}
.rb-account-shell .nb-repair-quote-compact__identity,
.rb-account-shell .nb-repair-quote-compact__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.rb-account-shell .nb-repair-quote-compact__identity > strong {
  overflow: hidden;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rb-account-shell .nb-repair-quote-compact .nb-repair-quote-eyebrow { display: none !important; }
.rb-account-shell .nb-repair-quote-compact__status {
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.06);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.rb-account-shell .nb-repair-quote-compact__status.is-paid {
  border-color: rgba(101,198,183,.38);
  background: rgba(86,170,157,.14);
}
.rb-account-shell .nb-repair-quote-compact__status.is-rejected,
.rb-account-shell .nb-repair-quote-compact__status.is-expired {
  border-color: rgba(239,164,164,.3);
  background: rgba(105,25,25,.2);
}
.rb-account-shell .nb-repair-quote-compact__amount {
  color: #fff;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}
.rb-account-shell .nb-repair-quote-compact__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--rb-accent-bright);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.rb-account-shell .nb-repair-quote-compact__toggle::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}
.rb-account-shell .nb-repair-quote-compact__close { display: none; }
.rb-account-shell .nb-repair-quote-details[open] .nb-repair-quote-compact__open { display: none; }
.rb-account-shell .nb-repair-quote-details[open] .nb-repair-quote-compact__close { display: inline; }
.rb-account-shell .nb-repair-quote-details[open] .nb-repair-quote-compact__toggle::after { transform: rotate(225deg) translate(-2px,-2px); }
.rb-account-shell .nb-repair-quote-details__body {
  padding: 26px 30px 30px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.rb-account-shell .nb-repair-quote-details__body > .nb-repair-quote-heading { display: none; }

@media (max-width: 600px) {
  .rb-account-shell .nb-repair-card--quote.is-compact { padding: 0 !important; }
  .rb-account-shell .nb-repair-quote-compact {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }
  .rb-account-shell .nb-repair-quote-compact__identity,
  .rb-account-shell .nb-repair-quote-compact__summary {
    justify-content: space-between;
    width: 100%;
  }
  .rb-account-shell .nb-repair-quote-compact__identity { flex-wrap: wrap; }
  .rb-account-shell .nb-repair-quote-compact__identity > strong {
    flex: 1 1 190px;
    font-size: 17px;
    white-space: normal;
  }
  .rb-account-shell .nb-repair-quote-compact__summary { flex-wrap: wrap; }
  .rb-account-shell .nb-repair-quote-compact__amount { margin-left: auto; font-size: 22px; }
  .rb-account-shell .nb-repair-quote-compact__toggle { flex: 1 0 100%; justify-content: flex-end; }
  .rb-account-shell .nb-repair-quote-details__body { padding: 22px 20px 20px; }
}

/* Historial de cara al cliente: linea temporal clara, sin nomenclatura tecnica. */
.rb-account-shell .nb-repair-card--history { padding: 30px !important; }
.rb-account-shell .nb-repair-history-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 24px;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.rb-account-shell .nb-buyback-myaccount--repair-detail .nb-repair-history-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--rb-accent-bright) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.rb-account-shell .nb-repair-history-heading h3 {
  margin: 0 0 7px !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: clamp(21px,2vw,26px) !important;
  letter-spacing: -.02em;
}
.rb-account-shell .nb-repair-history-heading p {
  margin: 0 !important;
  color: #fff !important;
  font-size: 13px;
  line-height: 1.5;
  opacity: .82;
}
.rb-account-shell .nb-repair-history-count {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #fff !important;
  background: rgba(255,255,255,.04);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.rb-account-shell .nb-repair-history-timeline {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.rb-account-shell .nb-repair-card--history .nb-repair-history-item {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0,1fr);
  gap: 14px;
  margin: 0 !important;
  padding: 0 0 16px !important;
  border: 0;
  line-height: 1.5;
}
.rb-account-shell .nb-repair-card--history .nb-repair-history-item:last-child { padding-bottom: 0 !important; }
.rb-account-shell .nb-repair-history-item:not(:last-child)::before {
  position: absolute;
  top: 22px;
  bottom: -2px;
  left: 12px;
  width: 1px;
  background: rgba(255,255,255,.13);
  content: "";
}
.rb-account-shell .nb-repair-history-marker {
  position: relative;
  z-index: 1;
  display: block;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: #292c2b;
}
.rb-account-shell .nb-repair-history-marker::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.62);
  content: "";
  transform: translate(-50%,-50%);
}
.rb-account-shell .nb-repair-history-item.is-latest .nb-repair-history-marker {
  border-color: var(--rb-accent-bright);
  background: rgba(86,170,157,.16);
  box-shadow: 0 0 0 4px rgba(86,170,157,.08);
}
.rb-account-shell .nb-repair-history-item.is-latest .nb-repair-history-marker::after { background: var(--rb-accent-bright); }
.rb-account-shell .nb-repair-history-content {
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 9px;
  background: rgba(0,0,0,.105);
}
.rb-account-shell .nb-repair-history-item.is-latest .nb-repair-history-content {
  border-color: rgba(101,198,183,.24);
  background: linear-gradient(110deg,rgba(86,170,157,.09),rgba(0,0,0,.1));
}
.rb-account-shell .nb-repair-history-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 6px;
}
.rb-account-shell .nb-repair-history-meta strong {
  color: #fff !important;
  font-size: 15px;
  line-height: 1.35;
}
.rb-account-shell .nb-repair-history-meta time {
  flex: 0 0 auto;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  opacity: .72;
}
.rb-account-shell .nb-repair-history-content p {
  margin: 0 !important;
  color: #fff !important;
  font-size: 13px;
  line-height: 1.55;
  opacity: .88;
}
.rb-account-shell .nb-repair-history-customer-note {
  margin-top: 11px;
  padding: 2px 0 2px 11px;
  border-left: 2px solid rgba(101,198,183,.5);
}
.rb-account-shell .nb-repair-history-customer-note > span {
  display: block;
  margin-bottom: 3px;
  color: var(--rb-accent-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.rb-account-shell .nb-repair-history-customer-note > p {
  color: rgba(255,255,255,.94) !important;
  opacity: 1;
}
.rb-account-shell .nb-buyback-myaccount--repair-detail .nb-repair-history-state {
  display: inline-flex;
  margin-top: 10px;
  padding: 4px 8px;
  border: 1px solid rgba(101,198,183,.25);
  border-radius: 999px;
  color: var(--rb-accent-bright) !important;
  background: rgba(86,170,157,.08);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.rb-account-shell .nb-repair-card--action { border-left: 3px solid var(--rb-accent) !important; }
.rb-account-shell .nb-repair-card table { color: #dce2df; background: transparent; }
.rb-account-shell .nb-repair-card table td { border-color: rgba(255,255,255,.09) !important; }
.rb-account-shell .nb-repair-callout,
.rb-account-shell #nb-return-locker > div {
  border-color: rgba(255,255,255,.1) !important;
  color: #fff !important;
  background: rgba(0,0,0,.14) !important;
}
.rb-account-shell .nb-repair-callout--accent { border-color: rgba(101,198,183,.26) !important; background: rgba(86,170,157,.08) !important; }
.rb-account-shell .nb-repair-callout-dot { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: var(--rb-accent-bright, #65c6b7); vertical-align: middle; }
.rb-account-shell .nb-repair-callout div { color: #fff !important; }
.rb-account-shell .nb-repair-callout--accent > div:first-child { color: var(--rb-accent-bright) !important; }
.rb-account-shell .nb-repair-package {
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid rgba(101,198,183,.2);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(86,170,157,.07), rgba(0,0,0,.1));
}
.rb-account-shell .nb-repair-package__heading { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.rb-account-shell .nb-repair-package__icon { display: grid; flex: 0 0 34px; height: 34px; place-items: center; border: 1px solid rgba(101,198,183,.18); border-radius: 7px; color: var(--rb-accent-bright, #65c6b7); background: rgba(86,170,157,.1); }
.rb-account-shell .nb-repair-package__heading h4 { margin: 0; color: #f4f6f5; font-size: 14px; font-weight: 700; line-height: 1.35; }
.rb-account-shell .nb-repair-package__specs { display: grid; gap: 12px; margin: 0; }
.rb-account-shell .nb-repair-package__spec { min-width: 0; padding-left: 11px; border-left: 2px solid rgba(101,198,183,.4); }
.rb-account-shell .nb-repair-package__spec dt { margin: 0 0 3px; color: var(--rb-muted, #aab3af); font-size: 11px; font-weight: 500; line-height: 1.4; }
.rb-account-shell .nb-repair-package__spec dd { margin: 0; color: #f4f6f5; font-size: 15px; font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
.rb-account-shell .nb-repair-package__note { margin: 15px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); color: var(--rb-muted, #aab3af); font-size: 11px; font-weight: 400; line-height: 1.65; }
.rb-account-shell .nb-repair-quote-cleaning { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin: 16px 0; padding: 16px; border: 1px solid rgba(101,198,183,.3); border-radius: 8px; background: rgba(86,170,157,.08); cursor: pointer; }
.rb-account-shell .nb-repair-quote-cleaning input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--rb-accent-bright, #65c6b7); cursor: pointer; }
.rb-account-shell .nb-repair-quote-cleaning input:focus-visible { outline: 2px solid var(--rb-accent-bright, #65c6b7); outline-offset: 3px; }
.rb-account-shell .nb-repair-quote-cleaning__text { flex: 1 1 170px; min-width: 0; }
.rb-account-shell .nb-repair-quote-cleaning strong { display: block; color: #f4f6f5; font-size: 14px; line-height: 1.4; }
.rb-account-shell .nb-repair-quote-cleaning small { display: block; margin-top: 5px; color: var(--rb-muted, #aab3af); font-size: 12px; font-weight: 400; line-height: 1.5; }
.rb-account-shell .nb-repair-quote-cleaning__price { margin-left: auto; color: var(--rb-accent-bright, #65c6b7); font-size: 16px; font-weight: 700; text-align: right; }
.rb-account-shell .nb-repair-quote-table__item.is-excluded { display: none !important; }
.rb-account-shell #nb-repair-nif-error,
.rb-account-shell .nb-buyback-myaccount--repair-detail .is-error { color: #efa4a4 !important; }
.rb-account-shell .nb-buyback-myaccount--repair-detail input:not([type="checkbox"]):not([type="radio"]),
.rb-account-shell .nb-buyback-myaccount--repair-detail textarea,
.rb-account-shell .nb-buyback-myaccount--repair-detail select {
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--rb-line-strong) !important;
  border-radius: 6px;
  color: #fff !important;
  background: rgba(5,8,7,.46) !important;
}
.rb-account-shell .nb-buyback-myaccount--repair-detail input::placeholder,
.rb-account-shell .nb-buyback-myaccount--repair-detail textarea::placeholder { color: #fff !important; opacity: .78; }
.rb-account-shell .nb-buyback-myaccount--repair-detail input:focus,
.rb-account-shell .nb-buyback-myaccount--repair-detail textarea:focus,
.rb-account-shell .nb-buyback-myaccount--repair-detail select:focus { border-color: var(--rb-accent) !important; outline: 3px solid rgba(86,170,157,.13); }

/* Todos los formularios del detalle aprovechan el ancho disponible. */
.rb-account-shell .nb-buyback-myaccount--repair-detail form {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
}
.rb-account-shell .nb-repair-acceptance-form {
  display: grid;
  gap: 14px;
}
.rb-account-shell .nb-repair-address-row {
  display: grid;
  width: 100%;
  gap: 12px;
}
.rb-account-shell .nb-repair-address-row--street { grid-template-columns: minmax(0,2fr) minmax(150px,1fr); }
.rb-account-shell .nb-repair-address-row--location { grid-template-columns: minmax(150px,1fr) minmax(0,2fr); }
.rb-account-shell .nb-repair-acceptance-form label,
.rb-account-shell .nb-repair-acceptance-form fieldset { min-width: 0; }
.rb-account-shell .nb-repair-acceptance-form fieldset {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
}

/* Solicitud de información adicional: formulario y fotos a todo el ancho. */
.rb-account-shell .nb-repair-info-form {
  display: grid;
  width: 100%;
  max-width: none;
  gap: 22px;
}
.rb-account-shell .nb-repair-info-field {
  display: grid;
  width: 100%;
  gap: 7px;
}
.rb-account-shell .nb-repair-info-label { margin: 0 !important; }
.rb-account-shell .nb-repair-info-field > input,
.rb-account-shell .nb-repair-info-field > textarea { width: 100% !important; }
.rb-account-shell .nb-repair-info-field--message textarea {
  min-height: 132px;
  resize: vertical;
}
.rb-account-shell .nb-info-photo-uploader {
  width: 100%;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--rb-line-strong);
  border-radius: 10px;
  background: rgba(0,0,0,.1);
}
.rb-account-shell .nb-info-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(140px,1fr));
  gap: 12px;
}
.rb-account-shell .nb-info-photo-add,
.rb-account-shell .nb-info-photo-thumb {
  position: relative;
  display: flex;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
}
.rb-account-shell .nb-info-photo-add {
  padding: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border: 2px dashed rgba(255,255,255,.2);
  color: #bdc7c3 !important;
  background: rgba(0,0,0,.14);
  cursor: pointer;
  text-align: center;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.rb-account-shell .nb-info-photo-add:hover,
.rb-account-shell .nb-info-photo-add:focus-within,
.rb-account-shell .nb-info-photo-add:focus-visible {
  border-color: var(--rb-accent-bright);
  color: var(--rb-accent-bright) !important;
  background: rgba(86,170,157,.08);
  outline: none;
}
.rb-account-shell .nb-info-photo-add .nb-photo-add-icon {
  color: currentColor !important;
  font-size: 29px;
  font-weight: 300;
  line-height: 1;
}
.rb-account-shell .nb-info-photo-add .nb-photo-add-label {
  color: currentColor !important;
  font-size: 13px;
  font-weight: 700;
}
.rb-account-shell .nb-info-photo-thumb {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.2);
}
.rb-account-shell .nb-info-photo-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rb-account-shell .nb-info-photo-state {
  position: absolute;
  right: 7px;
  bottom: 7px;
  left: 7px;
  padding: 5px 7px;
  border-radius: 5px;
  color: #fff !important;
  background: rgba(5,8,7,.78);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}
.rb-account-shell .nb-info-photo-thumb.is-uploading img { opacity: .55; }
.rb-account-shell .nb-info-photo-thumb.is-ready { border-color: rgba(101,198,183,.55); }
.rb-account-shell .nb-info-photo-thumb.is-error { border-color: rgba(239,164,164,.58); }
.rb-account-shell .nb-info-photo-thumb.is-error .nb-info-photo-state { background: rgba(105,25,25,.88); }
.rb-account-shell .nb-info-photos-status {
  min-height: 18px;
  margin: 10px 0 0;
  color: #fff !important;
  font-size: 12px;
}
.rb-account-shell .nb-info-photos-status:empty { display: none; }
.rb-account-shell .nb-repair-info-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rb-account-shell .nb-repair-shipping-actions,
.rb-account-shell .nb-return-decision { scroll-margin-top: 110px; }
.rb-account-shell .nb-repair-free-shipping-note {
  display: grid;
  grid-template-columns: 32px minmax(0,1fr);
  margin-top: 14px;
  padding: 13px 14px;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid rgba(101,198,183,.48);
  border-radius: 8px;
  color: #fff;
  background: rgba(86,170,157,.13);
}
.rb-account-shell .nb-repair-free-shipping-note__icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #10201d;
  background: #65c6b7;
  font-weight: 900;
}
.rb-account-shell .nb-repair-free-shipping-note strong {
  display: block;
  margin: 0 0 4px;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}
.rb-account-shell .nb-repair-free-shipping-note small {
  display: block;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
}
.rb-account-shell .nb-return-decision,
.rb-account-shell .nb-return-waiver-receipt { margin-block: 24px; }
.rb-account-shell .nb-return-decision > h3 { margin: 0 0 8px; }
.rb-account-shell .nb-return-decision__intro { margin: 0 0 18px; }
.rb-account-shell .nb-return-decision__options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.rb-account-shell .nb-return-decision__option {
  display: flex;
  min-width: 0;
  padding: 18px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 9px;
  background: rgba(0,0,0,.13);
}
.rb-account-shell .nb-return-decision__option.is-primary { border-color: rgba(101,198,183,.42); }
.rb-account-shell .nb-return-decision__option h4 { margin: 5px 0 8px; color: #fff; font-size: 17px; }
.rb-account-shell .nb-return-decision__option p { margin: 0 0 14px; color: #fff; }
.rb-account-shell .nb-return-decision__eyebrow { color: #65c6b7; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rb-account-shell .nb-return-decision__price { display: block; margin: auto 0 3px; color: #fff; font-size: 25px; }
.rb-account-shell .nb-return-decision__option small { margin-bottom: 12px; color: #fff; }
.rb-account-shell .nb-return-decision__option .button { margin-top: auto; }
.rb-account-shell .nb-return-decision__pending { font-size: 13px; }
.rb-account-shell .nb-return-waiver {
  margin: 24px 0 0;
  padding: 24px;
  border: 1px solid rgba(217,119,6,.58);
  border-radius: 9px;
  background: rgba(120,53,15,.12);
}
.rb-account-shell .nb-return-waiver[hidden] { display: none !important; }
.rb-account-shell .nb-return-destination {
  display: grid;
  gap: 6px;
  width: 100%;
  margin: 6px 0 18px;
  padding: 14px;
  border: 1px solid rgba(101,198,183,.25);
  border-radius: 8px;
  background: rgba(86,170,157,.07);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}
.rb-account-shell .nb-return-destination__label { color: var(--rb-muted, #aab3af); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.rb-account-shell .nb-return-destination strong { color: #fff; font-size: 14px; }
.rb-account-shell .nb-return-destination a { justify-self: start; color: var(--rb-accent-bright, #65c6b7); font-weight: 600; text-underline-offset: 3px; }
.rb-account-shell .nb-return-destination a:hover,
.rb-account-shell .nb-return-destination a:focus-visible { color: #fff !important; text-decoration: underline; }
.rb-account-shell .nb-return-saved { display: flex; align-items: flex-start; gap: 8px; }
.rb-account-shell .nb-return-saved__icon { flex: 0 0 20px; margin-top: 2px; color: var(--rb-accent-bright, #65c6b7) !important; }
.rb-account-shell #nb-return-picker:focus-visible { outline: 2px solid var(--rb-accent-bright, #65c6b7); outline-offset: 4px; }
.rb-account-shell .nb-return-waiver h4 { margin: 0 0 8px; color: #fff; }
.rb-account-shell .nb-return-waiver p { color: #fff; }
.rb-account-shell .nb-return-waiver > label { display: block; margin-top: 12px; color: #fff; font-weight: 700; }
.rb-account-shell .nb-return-waiver > label input[type="text"] { width: 100%; margin-top: 6px; }
.rb-account-shell .nb-return-waiver__checks { display: grid; gap: 16px; margin-block: 24px; }
.rb-account-shell .nb-return-waiver__checks > label { margin: 0; color: #fff; }
.rb-account-shell .nb-return-waiver__check { display: flex !important; gap: 9px; align-items: flex-start; }
.rb-account-shell .nb-return-waiver__check input { margin-top: 4px; }
.rb-account-shell .nb-return-waiver__identity { display: grid; gap: 12px; margin: 16px 0; padding: 16px; border: 1px solid rgba(101,198,183,.25); border-radius: 8px; background: rgba(86,170,157,.07); }
.rb-account-shell .nb-return-waiver__identity dt { margin: 0 0 3px; color: var(--rb-muted, #aab3af); font-size: 11px; }
.rb-account-shell .nb-return-waiver__identity dd { margin: 0; color: #fff; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.rb-account-shell .nb-return-waiver__terms { padding: 16px; border: 1px solid var(--rb-line); border-radius: 8px; background: rgba(0,0,0,.12); }
.rb-account-shell .nb-return-waiver__terms h5 { margin: 20px 0 7px; color: var(--rb-accent-bright, #65c6b7); font-size: 14px; line-height: 1.4; }
.rb-account-shell .nb-return-waiver__terms p { margin: 0; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
.rb-account-shell .nb-return-waiver__terms > small { color: var(--rb-muted, #aab3af); }
.rb-account-shell .nb-return-waiver__check span { font-size: 13px; font-weight: 400; line-height: 1.6; }
.rb-account-shell .nb-return-waiver__check input { flex: 0 0 18px; width: 18px; height: 18px; accent-color: var(--rb-accent-bright, #65c6b7); }
.rb-account-shell .nb-return-waiver .nb-return-waiver__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 24px; padding-top: 16px; border-top: 1px solid var(--rb-line); color: var(--rb-muted, #aab3af); font-size: 12px; line-height: 1.6; }
.rb-account-shell .nb-return-waiver__links a { color: var(--rb-accent-bright, #65c6b7); text-decoration: none; }
.rb-account-shell .nb-return-waiver__links a:hover,
.rb-account-shell .nb-return-waiver__links a:focus-visible { text-decoration: underline; }
.rb-account-shell .nb-return-waiver-receipt > p { margin: 0 0 14px; line-height: 1.65; }
.rb-account-shell .nb-return-waiver-receipt > .button { display: inline-flex; margin-top: 10px; }
.rb-account-shell .nb-return-waiver-receipt details { margin-top: 24px; }
.rb-account-shell .nb-return-waiver-receipt summary { color: var(--rb-accent-bright, #65c6b7); cursor: pointer; }
.rb-account-shell .nb-return-waiver-receipt pre { padding: 16px; border: 1px solid var(--rb-line); border-radius: 8px; color: #e6e9ec; background: rgba(0,0,0,.15); font-family: inherit; font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.rb-account-shell .nb-return-waiver__actions { display: flex; margin-top: 16px; gap: 10px; flex-wrap: wrap; }
.rb-account-shell #nb-return-waiver-status { margin: 10px 0 0; color: #fff; }
.rb-account-shell #nb-return-waiver-status:empty { display: none; }
.rb-account-shell #nb-return-waiver-status.is-error { color: #ffc5c5; }

@media (max-width: 860px) {
  .nb-buyback-wizard--repair { min-height: max(620px, calc(100svh - 150px)); padding-top: 32px; }
  .nb-buyback-wizard--repair .nb-wizard-grid { grid-template-columns: 1fr; min-height: 0; gap: 20px; }
  .nb-buyback-wizard--repair .nb-wizard-left { position: static; }
  .rb-account-shell .nb-repair-detail-grid { grid-template-columns: 1fr; gap: 16px; }
  .rb-account-shell .nb-repair-detail-grid > .nb-repair-card { grid-column: 1; }
  .rb-account-shell .nb-repair-detail-grid.without-shipping .nb-repair-card--device dl { grid-template-columns: 1fr; }
  .rb-account-shell .nb-repair-detail-grid.without-shipping .nb-repair-card--device dl > div:last-child { grid-column: 1; }
  .nb-buyback-wizard--repair .nb-trust-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nb-buyback-wizard--repair .nb-trust-row > div:nth-child(2) { border-right: 0; }
  .nb-buyback-wizard--repair .nb-trust-row > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
}

@media (max-width: 600px) {
  .nb-buyback-wizard--repair { width: min(100% - 40px,1180px); padding: 26px 0 56px; }
  .nb-buyback-wizard--repair .nb-mobile-stacked-steps li,
  .nb-buyback-wizard--repair .nb-confirmation .nb-conf-card .nb-mobile-stacked-steps li {
    min-height: 0;
    margin-bottom: 16px;
    padding: 42px 0 16px !important;
    text-align: center;
  }
  .nb-buyback-wizard--repair .nb-conf-card ol.nb-mobile-stacked-steps li::before,
  .nb-buyback-wizard--repair .nb-confirmation .nb-conf-card ol.nb-mobile-stacked-steps li::before {
    top: 0;
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%);
  }
  .rb-account-shell .nb-repair-address-row--street,
  .rb-account-shell .nb-repair-address-row--location { grid-template-columns: 1fr; }
  .nb-buyback-wizard--repair .nb-confirmation { margin-top: 12px; padding: 26px 18px; }
  .nb-buyback-wizard--repair .nb-confirmation .nb-conf-card { padding: 20px 16px; }
  .nb-buyback-wizard--repair .nb-confirmation .nb-conf-card h3 { text-align: center; }
  .nb-buyback-wizard--repair .nb-repair-legal-title {
    margin: 0 0 18px;
    text-align: center;
    line-height: 1.18;
  }
  .nb-buyback-wizard--repair #nb-repair-legal-form {
    padding: 18px;
  }
  .nb-buyback-wizard--repair #nb-repair-legal-form > .nb-conf-card {
    margin: 0 0 20px;
    padding: 20px 16px;
  }
  .nb-buyback-wizard--repair #nb-repair-legal-form > .nb-conf-card h3 {
    margin: 0 0 18px;
    text-align: center;
    line-height: 1.3;
  }
  .nb-buyback-wizard--repair .nb-conf-actions { display: grid; width: 100%; grid-template-columns: 1fr; }
  .nb-buyback-wizard--repair .nb-conf-actions .nb-btn-primary,
  .nb-buyback-wizard--repair .nb-conf-actions .nb-btn-secondary { width: 100%; min-width: 0; }
  .nb-buyback-wizard--repair .nb-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .nb-buyback-wizard--repair .nb-category-card { min-height: 190px; padding: 15px; }
  .nb-buyback-wizard--repair .nb-category-card::after { right: 15px; bottom: 17px; width: 30px; height: 30px; }
  .nb-buyback-wizard--repair .nb-category-card span { padding-right: 40px; font-size: 16px; }
  .nb-buyback-wizard--repair .nb-trust-row { grid-template-columns: 1fr; }
  .nb-buyback-wizard--repair .nb-trust-row > div { min-height: 52px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nb-buyback-wizard--repair .nb-trust-row > div:last-child { border-bottom: 0; }
  .nb-buyback-wizard--repair .nb-customer-form { padding: 18px; }
  .nb-buyback-wizard--repair .nb-form-actions,
  .nb-buyback-wizard--repair .nb-photo-actions { display: grid; grid-template-columns: 1fr; }
  .nb-buyback-wizard--repair .nb-form-actions button,
  .nb-buyback-wizard--repair .nb-photo-actions button { width: 100%; }
  .rb-account-shell .rb-repairs-overview__empty { grid-template-columns: auto 1fr; }
  .rb-account-shell .rb-repairs-overview__empty .rb-account-button { grid-column: 1 / -1; width: 100%; }
  .rb-account-shell .nb-repairs-header { align-items: stretch; flex-direction: column; }
  .rb-account-shell .nb-repairs-new { width: 100%; }
  .rb-account-shell .nb-repairs-table-wrap { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .rb-account-shell .nb-repairs-table,
  .rb-account-shell .nb-repairs-table tbody,
  .rb-account-shell .nb-repairs-table tr,
  .rb-account-shell .nb-repairs-table td { display: block; width: 100%; }
  .rb-account-shell .nb-repairs-table thead { display: none; }
  .rb-account-shell .nb-repairs-table tr { margin-bottom: 10px; padding: 11px 14px; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: linear-gradient(145deg,rgba(42,44,43,.97),rgba(35,37,36,.97)); }
  .rb-account-shell .nb-repairs-table td { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border: 0; text-align: right; }
  .rb-account-shell .nb-repairs-table td[data-title]::before { content: attr(data-title); color: var(--rb-muted); text-align: left; }
  .rb-account-shell .nb-repair-card--quote { padding: 20px !important; }
  .rb-account-shell .nb-repair-quote-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .rb-account-shell .nb-repair-quote-summary { align-items: flex-start; flex-direction: column; gap: 10px; padding: 17px; }
  .rb-account-shell .nb-repair-quote-table td { padding: 5px 0 !important; }
  .rb-account-shell .nb-repair-quote-table__amount { width: 112px; }
  .rb-account-shell .nb-repair-quote-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .rb-account-shell .nb-repair-quote-actions .button { width: 100%; text-align: center; }
  .rb-account-shell .nb-repair-quote-actions #nb-repair-quote-status,
  .rb-account-shell .nb-repair-quote-actions .nb-repair-quote-payment-pending { grid-column: 1 / -1; }
  .rb-account-shell .nb-repair-card--history { padding: 20px !important; }
  .rb-account-shell .nb-repair-history-heading { flex-direction: column; gap: 12px; margin-bottom: 18px; }
  .rb-account-shell .nb-repair-history-meta { align-items: flex-start; flex-direction: column; gap: 3px; }
  .rb-account-shell .nb-repair-history-meta time { white-space: normal; }
  .rb-account-shell .nb-repair-history-content { padding: 13px 14px; }
  .rb-account-shell .nb-return-decision__options { grid-template-columns: 1fr; }
  .rb-account-shell .nb-return-waiver__actions { display: grid; grid-template-columns: 1fr; }
  .rb-account-shell .nb-return-waiver__actions .button { width: 100%; }
}

/* Compensa la cabecera movil superpuesta en todos los pasos de reparaciones. */
@media (max-width: 780px) {
  .nb-buyback-wizard--repair {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-top: 35px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  /* Solo la portada necesita un poco más de aire bajo la cabecera móvil. */
  .nb-buyback-wizard--repair .nb-wizard-home {
    padding-top: 15px;
  }

  .rb-account-shell .nb-repair-timeline {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch !important;
    gap: 4px !important;
    width: 100%;
    max-width: 100%;
    padding: 12px 8px !important;
    overflow-x: hidden !important;
  }

  .rb-account-shell .nb-repair-timeline__step {
    display: flex;
    min-width: 0 !important;
    width: auto;
    flex-direction: column;
    align-items: center;
    padding-top: 6px !important;
    text-align: center;
  }

  .rb-account-shell .nb-repair-timeline__step .nb-tl-num {
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px;
    font-size: 11px;
  }

  .rb-account-shell .nb-repair-timeline__step p {
    width: 100%;
    margin: 6px 0 0 !important;
    color: #fff !important;
    font-size: clamp(8px, 2.45vw, 11px) !important;
    line-height: 1.18;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nb-buyback-wizard--repair *,
  .rb-account-shell .nb-buyback-myaccount * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Los textos de estado de Mi cuenta son siempre blancos. El color se comunica
   mediante fondo y borde, nunca mediante texto azul u oscuro. */
body .rb-account-shell .rb-order-status,
body .rb-account-shell .rb-repair-status,
body .rb-account-shell .nb-buyback-myaccount .nb-repair-status,
body .rb-account-shell .nb-buyback-myaccount--repairs-list .nb-repairs-table .nb-repair-status,
body .rb-account-shell .nb-buyback-myaccount--repair-detail .nb-repair-status {
  color: #fff !important;
}
