:root {
  --orange: #ff6b00;
  --orange-dark: #df5700;
  --black: #101114;
  --text: #20242b;
  --muted: #667085;
  --line: #e7e8ec;
  --bg: #f6f7f9;
  --card: #ffffff;
  --green: #0f9f6e;
  --blue: #ff6b00;
  --danger: #d92d20;
  --shadow: 0 18px 50px rgba(16, 17, 20, .08);
  --radius: 22px;
}

[hidden] { display: none !important; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}
img { max-width: 100%; }
a { color: inherit; }

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 56px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-logo { height: 40px; width: auto; object-fit: contain; }
.brand-express { color: var(--orange); font-size: 26px; font-weight: 950; letter-spacing: -.04em; white-space: nowrap; }
.top-nav { display: flex; align-items: center; gap: 10px; }
.nav-link { text-decoration: none; font-weight: 850; padding: 10px 14px; border-radius: 999px; color: var(--text); }
.nav-link:hover { background: #fff2e9; color: var(--orange-dark); }

main { max-width: 1320px; margin: 0 auto; padding: 28px 56px 0; }
.hero {
  display: grid;
  grid-template-columns: 96px 1fr 320px;
  gap: 22px;
  align-items: center;
  padding: 12px 0 26px;
}
.hero-mark {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: var(--orange);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px rgba(255,107,0,.22);
}
.hero-mark img { width: 72px; height: 72px; object-fit: contain; }
.hero-copy h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: .98; letter-spacing: -.06em; color: var(--black); }
.hero-copy p { margin: 10px 0 0; color: var(--muted); font-size: 18px; line-height: 1.35; }
.hero-badge {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.hero-badge strong { display: block; color: var(--orange-dark); font-size: 19px; }
.hero-badge span { display: block; color: var(--muted); margin-top: 5px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.layout, .tracking-layout { display: grid; grid-template-columns: 1fr 352px; gap: 22px; align-items: start; }
.form-card { overflow: hidden; }
.card-title {
  display: flex;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.split-title { justify-content: space-between; align-items: flex-start; gap: 16px; }
.title-icon { font-size: 30px; color: var(--orange); }
h2 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.card-title p { margin: 4px 0 0; color: var(--muted); }
.form-section { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.form-section:last-of-type { border-bottom: 0; }
h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 17px; }
h3 span {
  width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff;
  display: inline-grid; place-items: center; font-size: 14px; flex: 0 0 auto;
}
h3 small { color: var(--muted); font-weight: 600; }
.section-help { margin: -8px 0 16px; color: var(--muted); line-height: 1.4; }
.grid { display: grid; gap: 14px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2-mobile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-address { grid-template-columns: 1.4fr .6fr 1fr; }
.align-end { align-items: end; margin-top: 14px; }
label, .field-title { display: grid; gap: 7px; font-weight: 850; font-size: 13px; color: #252833; }
input, textarea, select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d9dce4;
  border-radius: 13px;
  padding: 0 13px;
  font: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px; background-repeat: no-repeat; }
input:focus, textarea:focus, select:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,0,.12); }
textarea { min-height: 100px; resize: vertical; padding: 12px; }

.upload-profile {
  margin-top: 14px;
  border: 1px dashed #bfc5d2;
  border-radius: 16px;
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  background: #fbfcff;
  position: relative;
  overflow: hidden;
}
.upload-profile input, .dropzone input { display: none; }
.upload-profile .upload-icon { font-size: 28px; }
.upload-profile small { color: var(--muted); font-weight: 650; }
.upload-profile img, .dropzone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shipment-list { display: grid; gap: 10px; margin-bottom: 16px; }
.shipment-card {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  padding: 10px;
}
.shipment-card img { width: 82px; height: 64px; object-fit: cover; border-radius: 12px; background: #eef0f4; }
.shipment-card strong { display: block; font-size: 15px; }
.shipment-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.remove-shipment { border: 0; border-radius: 999px; background: #fff0f0; color: var(--danger); padding: 9px 12px; font-weight: 850; cursor: pointer; }
.shipment-editor {
  border: 1px solid #ffd6b8;
  background: linear-gradient(180deg, #fffaf6, #fff);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 14px;
}
.shipment-editor-head strong { display: block; font-size: 17px; }
.shipment-editor-head small { display: block; color: var(--muted); margin-top: 3px; }
.shipment-measures { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.item-photo-zone { min-height: 134px; position: relative; overflow: hidden; }
.inline-error { background: #fff0f0; color: #b42318; border: 1px solid #ffd0d0; border-radius: 12px; padding: 10px 12px; font-weight: 800; }
.address-block { border: 1px solid #eef0f4; border-radius: 16px; padding: 14px; margin-bottom: 14px; background: #fcfcfd; }
.address-block > strong { display: block; margin-bottom: 10px; }

.vehicles { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.vehicle-option {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid #d9dce4;
  border-radius: 13px;
  padding: 0 12px;
  cursor: pointer;
  background: #fff;
  font-size: 13px;
}
.vehicle-option input { display: none; }
.vehicle-option.active, .vehicle-option:has(input:checked) { border-color: var(--orange); color: var(--orange-dark); background: #fff6ef; }
.notice-box { margin: 14px 0; padding: 14px 16px; border-radius: 16px; background: #fff7ed; border: 1px solid #ffd8ba; }
.notice-box strong { display: block; color: var(--orange-dark); margin-bottom: 4px; }
.notice-box p { margin: 0; color: #61330d; line-height: 1.42; }
.radio-block { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.radio-block .field-title { width: 100%; }
.radio-block label { display: inline-flex; align-items: center; gap: 7px; }
.radio-block input { width: auto; min-height: auto; accent-color: var(--orange); }
.dropzone {
  min-height: 132px;
  border: 1.5px dashed #bfc5d2;
  border-radius: 18px;
  background: #fbfcff;
  display: grid;
  place-items: center;
  text-align: center;
  cursor: pointer;
}
.drop-icon { font-size: 32px; }
.dropzone small { color: var(--muted); font-weight: 650; }

.primary-btn, .secondary-btn, .primary-link {
  border: 0;
  border-radius: 14px;
  min-height: 52px;
  padding: 0 18px;
  font-weight: 950;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.primary-btn { background: linear-gradient(135deg, #ff7a00, var(--orange)); color: #fff; box-shadow: 0 12px 24px rgba(255,107,0,.26); }
.primary-btn:disabled { opacity: .65; cursor: not-allowed; }
.form-card > .primary-btn { width: calc(100% - 48px); margin: 0 24px 24px; }
.secondary-btn { border: 1px solid #d9dce4; background: #fff; color: var(--black); min-height: 44px; }
.secondary-btn:hover { border-color: var(--orange); color: var(--orange-dark); }
.secondary-btn.wide { width: 100%; }
.message { margin: 0 24px 18px; border-radius: 14px; padding: 12px 14px; font-weight: 850; }
.error { background: #fff0f0; color: #b42318; border: 1px solid #ffd0d0; }
.side-column { display: grid; gap: 16px; }
.info-card, .trust-card, .follow-card, .help-card, .selected-card, .request-card { padding: 22px; }
.step { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.step:first-of-type { margin-top: 16px; }
.step b { width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; }
.step strong { display: block; }
.step span { color: var(--muted); font-size: 14px; }
.trust-green { margin: 16px 0; padding: 16px; background: #ecfdf5; border: 1px solid #b7f4d5; color: #05603a; border-radius: 16px; font-weight: 850; }
.mini-grid { display: grid; grid-template-columns: 1fr; gap: 8px; color: var(--muted); font-weight: 750; }
.footer { margin-top: 44px; min-height: 82px; background: #0f1115; color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 56px; }
.footer img { height: 34px; filter: invert(1) grayscale(1) brightness(4); }
.footer span { color: var(--orange); font-weight: 950; }

.tracking-main { padding-top: 30px; }
.tracking-hero { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 22px; }
.tracking-hero h1 { margin: 0; font-size: clamp(32px, 5vw, 52px); letter-spacing: -.05em; }
.tracking-hero p { color: var(--muted); margin: 8px 0 0; }
.pill { background: #fff0e7; color: var(--orange-dark); border: 1px solid #ffd2b3; padding: 8px 12px; border-radius: 999px; font-weight: 950; display: inline-flex; margin-bottom: 12px; }
.live-box { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; min-width: 190px; box-shadow: var(--shadow); }
.live-box span { display: block; color: var(--muted); font-weight: 850; }
.live-box strong { display: block; font-size: 34px; color: var(--orange); }
.live-timer { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.live-timer small { color: var(--muted); font-weight: 850; }
.live-timer b { font-size: 28px; color: var(--black); letter-spacing: -.04em; }
.live-timer b.danger, #stageTimer.danger { color: var(--danger); }
.live-timer em { color: var(--muted); font-style: normal; font-size: 12px; line-height: 1.35; }
.express-progress { border: 1px solid #ffd6b8; background: linear-gradient(180deg, #fff8f1, #fff); border-radius: 18px; padding: 16px; }
.express-progress.search { border-color: #fed7aa; background: linear-gradient(180deg, #fff7ed, #fff); }
.express-progress.select { border-color: #fed7aa; background: linear-gradient(180deg, #fff7ed, #fff); }
.express-progress.confirm { border-color: #ffd6b8; background: linear-gradient(180deg, #fff8f1, #fff); }
.express-progress-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.express-progress-head strong { display: block; color: var(--black); font-size: 18px; }
.express-progress-head span { display: block; color: var(--muted); font-weight: 850; margin-top: 3px; }
.express-progress-head b { color: var(--orange); font-size: 30px; letter-spacing: -.04em; white-space: nowrap; }
.express-progress-bar { height: 10px; border-radius: 999px; background: #ffe7d3; overflow: hidden; margin: 14px 0 10px; }
.express-progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, #ff9a3d, var(--orange)); border-radius: inherit; transition: width .35s ease; }
.express-progress.select .express-progress-bar { background: #ffe7d3; }
.express-progress.select .express-progress-bar span { background: linear-gradient(90deg, #ff9a3d, var(--orange)); }
.express-progress p { margin: 0; color: var(--muted); font-weight: 750; line-height: 1.4; }
.center-card { min-height: 280px; display: grid; place-items: center; text-align: center; padding: 38px; }
.spinner { width: 54px; height: 54px; border: 5px solid #ffe1cc; border-top-color: var(--orange); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.status-strip { margin-bottom: 16px; padding: 14px 18px; border-radius: 18px; font-weight: 950; }
.status-strip.open { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }
.status-strip.match { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }
.status-strip.done { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.offers-card { min-height: 420px; overflow: hidden; }
.offers-list { padding: 18px 22px 22px; display: grid; gap: 14px; }
.offer-card { border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; }
.offer-card.suggested { border-color: #ffb26b; background: linear-gradient(90deg, #fff7ef, #fff); }
.offer-photo { width: 96px; height: 72px; border-radius: 14px; object-fit: cover; background: #eef0f4; border: 1px solid var(--line); }
.offer-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.offer-title h3 { margin: 0; display: block; font-size: 18px; }
.suggested-pill { background: var(--orange); color: #fff; border-radius: 999px; padding: 5px 9px; font-size: 11px; font-weight: 950; }
.offer-meta { color: var(--muted); margin-top: 6px; font-weight: 750; line-height: 1.4; }
.offer-price { text-align: right; }
.offer-price strong { display: block; font-size: 26px; color: var(--black); }
.offer-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; flex-wrap: wrap; }
.offer-actions .primary-btn { width: auto; margin: 0; min-height: 42px; font-size: 14px; }
.empty-offers { padding: 44px 22px; text-align: center; color: var(--muted); }
.empty-offers .spinner { margin: 0 auto 16px; display: block; }
.empty-offers .primary-btn, .empty-offers .primary-link { margin-top: 14px; }
.selected-card.blue { border-color: #fed7aa; background: #fff7ed; }
.selected-card.green { border-color: #a7f3d0; background: #ecfdf5; }
.selected-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.selected-photos img { width: 100%; height: 98px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: #eef0f4; }
.selected-photos.single { grid-template-columns: 1fr; }
.selected-photos.single img { height: 150px; object-fit: cover; }
.selected-clean-head, .selected-inline-head { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; }
.selected-clean-head img, .selected-inline-head img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; border: 1px solid var(--line); background: white; }
.selected-clean-head h2 { margin: 0 0 4px; }
.selected-clean-head strong, .selected-inline-head strong { display: block; font-size: 19px; color: var(--black); }
.selected-clean-head span, .selected-inline-head span { display: block; color: var(--muted); font-weight: 800; margin-top: 2px; }
.selected-inline-head b { color: var(--orange); font-size: 22px; white-space: nowrap; }
.selected-price-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.selected-price-row span { color: var(--muted); font-weight: 850; }
.selected-price-row strong { color: var(--orange); font-size: 26px; }
.whatsapp-btn.full { display: flex; justify-content: center; align-items: center; width: 100%; }
.selected-inline-card { border: 1px solid #fed7aa; background: linear-gradient(180deg, #fff7ed, #fff); border-radius: 18px; padding: 18px; display: grid; gap: 14px; }
.selected-inline-text { margin: 0; color: var(--muted); font-weight: 800; line-height: 1.45; }
.request-card dl { display: grid; grid-template-columns: 120px 1fr; gap: 9px 12px; }
.request-card dt { color: var(--muted); font-weight: 850; }
.request-card dd { margin: 0; font-weight: 850; word-break: break-word; }
.request-photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.request-photos img { width: 92px; height: 70px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.whatsapp-btn { background: #25d366; color: white; border-radius: 12px; padding: 12px 14px; display: inline-flex; text-decoration: none; font-weight: 950; margin-top: 12px; }
.modal { position: fixed; inset: 0; background: rgba(15,17,21,.62); display: grid; place-items: center; z-index: 100; padding: 20px; }
.modal-box { width: min(480px, 100%); background: #fff; border-radius: 24px; padding: 24px; position: relative; box-shadow: var(--shadow); }
.modal-close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.stars { display: flex; gap: 6px; margin: 18px 0; }
.stars button { border: 0; background: #f2f4f7; color: #98a2b3; font-size: 32px; width: 56px; height: 56px; border-radius: 14px; cursor: pointer; }
.stars button.active { color: #ffb800; background: #fff7cc; }
.stars + textarea { width: 100%; }

@media (max-width: 1050px) {
  .topbar { padding: 12px 20px; }
  main { padding: 24px 20px 0; }
  .hero { grid-template-columns: 90px 1fr; }
  .hero-badge { grid-column: 1 / -1; }
  .layout, .tracking-layout { grid-template-columns: 1fr; }
  .express-side { order: -1; }
  .grid-4, .grid-3, .shipment-measures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { background: #fff; }
  main { padding: 18px 12px 0; }
  .topbar { min-height: 62px; padding: 10px 12px; align-items: center; }
  .brand-logo { height: 32px; }
  .brand-express { font-size: 21px; }
  .nav-link { padding: 8px 10px; font-size: 13px; }
  .mobile-hide { display: none; }
  .hero { grid-template-columns: 62px 1fr; text-align: left; gap: 12px; padding: 8px 0 16px; }
  .hero-mark { width: 62px; height: 62px; border-radius: 16px; }
  .hero-mark img { width: 48px; height: 48px; }
  .hero-copy h1 { font-size: 31px; line-height: 1; }
  .hero-copy p { font-size: 14px; }
  .card { border-radius: 18px; box-shadow: 0 10px 28px rgba(16,17,20,.07); }
  .card-title, .form-section { padding: 16px; }
  .card-title { gap: 10px; }
  h2 { font-size: 21px; }
  .grid-4, .grid-3, .grid-2-mobile, .grid-address, .shipment-measures { grid-template-columns: 1fr; }
  .shipment-card { grid-template-columns: 72px 1fr; }
  .shipment-card img { width: 72px; height: 58px; }
  .remove-shipment { grid-column: 1 / -1; width: 100%; }
  .vehicles { display: grid; grid-template-columns: 1fr; }
  .vehicle-option { width: 100%; justify-content: center; }
  .address-block { padding: 12px; }
  .form-card > .primary-btn { width: calc(100% - 32px); margin: 0 16px 16px; }
  .sticky-submit { position: sticky; bottom: 10px; z-index: 8; }
  .side-column { gap: 12px; }
  .info-card, .trust-card, .follow-card, .help-card, .selected-card, .request-card { padding: 16px; }
  .footer { padding: 22px; flex-direction: column; gap: 12px; text-align: center; margin-top: 28px; }
  .tracking-main { padding-top: 18px; }
  .tracking-hero { align-items: stretch; flex-direction: column; gap: 12px; }
  .live-box { width: 100%; }
  .offer-card { grid-template-columns: 1fr; }
  .offer-photo { width: 100%; height: 168px; }
  .offer-price { text-align: left; }
  .offer-actions { justify-content: stretch; }
  .offer-actions .primary-btn, .offer-actions .secondary-btn { width: 100%; }
  .request-card dl { grid-template-columns: 1fr; gap: 2px; }
  .request-card dd { margin-bottom: 8px; }
  .selected-photos { grid-template-columns: 1fr; }
  .modal { padding: 10px; align-items: end; }
  .modal-box { border-radius: 24px 24px 0 0; }
  .stars button { width: 48px; height: 48px; }
}
.offer-mini-photos { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.offer-mini-photos img { width: 74px; height: 54px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #eef0f4; }
.suggested-pill.particular { background: #344054; }
.chosen-label { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 12px; border-radius: 12px; background: #ecfdf5; color: #047857; font-weight: 950; }
.request-detail { margin-top: 14px; padding: 12px; border-radius: 14px; background: #f8fafc; border: 1px solid var(--line); }
.request-detail p { margin: 8px 0 0; line-height: 1.45; color: var(--text); }
@media (max-width: 720px) {
  .offer-mini-photos img { width: 80px; height: 58px; }
}

@media (max-width: 720px) {
  .express-progress-head { flex-direction: column; }
  .express-progress-head b { font-size: 28px; }
}

/* FLETSUR V17 - tarjetas legibles para errores y avisos */
.message, .inline-error { padding: 0; background: transparent; border: 0; color: inherit; }
.message-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: flex-start;
  border-radius: 18px;
  padding: 14px 15px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15, 17, 21, .06);
}
.message-card.error { background: #fff1f1; border: 1px solid #ffb4b4; color: #0f1115; }
.message-card.success { background: #eaf7ee; border: 1px solid #b7e1c2; color: #0f1115; }
.message-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 950;
}
.message-card.error .message-card-icon { background: rgba(211, 47, 47, .12); color: #d32f2f; }
.message-card.success .message-card-icon { background: rgba(22, 138, 58, .12); color: #168a3a; }
.message-card strong { display: block; font-size: 15px; margin-bottom: 3px; }
.message-card p { margin: 0; color: #667085; line-height: 1.4; font-size: 13px; }
.toast-card {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 9999;
  animation: toastIn .18s ease-out;
}
@keyframes toastIn { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* V18 - circuito Express escalonado */
.express-wizard-form .card-title .title-copy { display: flex; gap: 14px; align-items: flex-start; }
.express-stepper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  padding: 18px 22px 8px;
  border-bottom: 1px solid var(--line);
}
.express-step { position: relative; display: grid; justify-items: center; gap: 7px; color: #5f6673; font-weight: 850; text-align: center; }
.express-step::before { content: ''; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: #d9dce4; z-index: 0; }
.express-step:first-child::before { display: none; }
.express-step b { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: #fff; border: 2px solid #c6cad3; color: #737b88; }
.express-step span { font-size: 12px; line-height: 1.15; min-height: 28px; }
.express-step.active, .express-step.done { color: var(--orange); }
.express-step.active b, .express-step.done b { background: var(--orange); border-color: var(--orange); color: #fff; }
.express-step.done b { font-size: 0; }
.express-step.done b::after { content: '✓'; font-size: 17px; line-height: 1; }
.express-step.active::before, .express-step.done::before { background: var(--orange); }
.express-step.muted { opacity: .72; }
.wizard-heading { font-size: clamp(26px, 4vw, 40px); margin: 0 0 18px; letter-spacing: -.04em; }
.vehicle-card-list { display: grid; gap: 14px; }
.vehicle-card {
  min-height: 150px;
  display: grid;
  grid-template-columns: minmax(120px, 230px) 1fr 34px;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1.4px solid #dfe3eb;
  border-radius: 22px;
  background: #fff;
}
.vehicle-card input { display: none; }
.vehicle-card img { width: 100%; height: 118px; object-fit: contain; }
.vehicle-card strong { font-size: 25px; color: var(--black); letter-spacing: -.035em; }
.vehicle-card small { display: block; margin-top: 6px; color: var(--muted); font-size: 16px; line-height: 1.35; }
.vehicle-card i { width: 31px; height: 31px; border-radius: 999px; border: 2px solid #8e96a3; display: block; }
.vehicle-card.active, .vehicle-card:has(input:checked) { border-color: var(--orange); background: #fff6ef; box-shadow: 0 12px 32px rgba(255,107,0,.12); }
.vehicle-card.active i, .vehicle-card:has(input:checked) i { border-color: var(--orange); box-shadow: inset 0 0 0 6px #fff; background: var(--orange); }
.route-visual {
  height: 150px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  background:
    linear-gradient(35deg, transparent 47%, rgba(255,107,0,.12) 48%, rgba(255,107,0,.12) 51%, transparent 52%),
    linear-gradient(115deg, transparent 48%, #e8edf5 49%, #e8edf5 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, #e8edf5 49%, #e8edf5 51%, transparent 52%),
    radial-gradient(circle at 20% 22%, #eaf7ee 0 13%, transparent 14%),
    radial-gradient(circle at 78% 74%, #eaf7ee 0 14%, transparent 15%),
    #fbfcff;
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}
.route-line { position: absolute; left: 13%; right: 13%; top: 55%; height: 6px; background: var(--orange); transform: skewY(-8deg); border-radius: 999px; box-shadow: 0 0 0 5px rgba(255,255,255,.9); }
.route-dot { position: absolute; left: 12%; top: calc(55% - 11px); width: 25px; height: 25px; border-radius: 50%; border: 5px solid var(--orange); background: #fff; }
.route-pin { position: absolute; right: 10%; top: 32%; font-size: 42px; filter: drop-shadow(0 8px 14px rgba(255,107,0,.25)); }
.contact-block { border: 1px solid #eef0f4; border-radius: 16px; padding: 14px; margin-bottom: 14px; background: #fcfcfd; }
.contact-block > strong { display:block; margin-bottom:10px; }
.express-summary { display: grid; gap: 12px; }
.summary-card { border: 1px solid #e5e7eb; border-radius: 18px; padding: 14px; background: #fff; display: grid; gap: 10px; }
.summary-photo { width: 100%; max-height: 210px; object-fit: cover; border-radius: 16px; background: #f3f4f6; }
.summary-row { display: grid; grid-template-columns: 112px 1fr; gap: 10px; border-top: 1px solid #eef0f4; padding-top: 10px; }
.summary-row:first-of-type { border-top: 0; padding-top: 0; }
.summary-row b { color: var(--black); }
.summary-row span { color: #444b56; }
.summary-shipments { margin: 0; padding-left: 20px; color: #444b56; display: grid; gap: 6px; }
.summary-shipments li span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.soft-info { background: #fff6ef; }
.wizard-actions { display: grid; gap: 10px; padding: 0 24px 24px; }
.wizard-actions .primary-btn, .wizard-actions .secondary-btn { width: 100%; }

@media (max-width: 740px) {
  .express-stepper { padding-inline: 12px; gap: 2px; }
  .express-step b { width: 29px; height: 29px; font-size: 13px; }
  .express-step span { font-size: 10.5px; }
  .vehicle-card { grid-template-columns: 1fr 1fr 30px; padding: 12px; gap: 8px; }
  .vehicle-card img { height: 104px; }
  .vehicle-card strong { font-size: 20px; }
  .vehicle-card small { font-size: 13px; }
}

/* V20 - Transportista de Fletsur destacado y cancelación Express */
.offer-card.suggested {
  border: 2px solid var(--orange);
  background: linear-gradient(90deg, #fff2e6, #ffffff);
  box-shadow: 0 16px 34px rgba(255, 107, 0, .18);
  position: relative;
}
.suggested-pill.fletsur {
  background: linear-gradient(135deg, #ff7a00, var(--orange));
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 107, 0, .25);
  letter-spacing: .01em;
}
.danger-link-btn {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid #fecaca;
  background: #fff5f5;
  color: #b42318;
  font-weight: 950;
  cursor: pointer;
  margin: 0 0 4px;
}
.danger-link-btn:hover { background: #fee2e2; }
.danger-link-btn:disabled { opacity: .65; cursor: not-allowed; }
.selected-fletsur-badge {
  display: inline-flex !important;
  width: fit-content;
  margin-top: 6px !important;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff !important;
  font-size: 11px;
  font-weight: 950;
}
.selected-rating {
  display: block !important;
  margin-top: 4px !important;
  color: var(--black) !important;
  font-size: 12px;
  font-weight: 850;
}

/* V21 - Limpieza visual Express solicitada: sin ayuda, sin panel lateral informativo, sin footer */
.topbar-simple {
  justify-content: flex-start;
}

.express-layout-single {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.express-layout-single .form-card {
  width: 100%;
}

.express-layout-single .express-side {
  display: none !important;
}

@media (max-width: 1050px) {
  .express-layout-single {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 980px;
  }
}
