/* Zestia Delivery: action-first, light operational workspace. */
.zestia-ops-shell--rider .rider-scan-next { margin: 8px 0; padding: 10px 12px; border-radius: 9px; background: #fff4d9; color: #754710; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.zestia-ops-shell--rider .rider-scan-next[data-state="verified"] { background: #e9f9f1; color: #12664e; }
.zestia-ops-shell--rider .scan-progress [hidden] { display: none !important; }
.zestia-ops-shell--rider {
  --rider-mint: #0f766e;
  --rider-mint-soft: #ecfdf8;
  --rider-blue-soft: #eef4ff;
  --rider-amber-soft: #fff8e7;
}

.zestia-ops-shell--rider :where(
  #rider-dashboard-live,
  .rider-layout,
  .rider-layout > *,
  .rider-command-bar,
  .rider-command-bar > *,
  .panel,
  .card,
  .task-card,
  .task-meta,
  .cashbox,
  .scan-box
) {
  min-width: 0;
}

.zestia-ops-shell--rider :where(
  .rider-next-action,
  .task-meta,
  .route-workspace__notice,
  .history-card,
  .rider-feedback,
  .rider-empty-state
) {
  overflow-wrap: anywhere;
}

.ops-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.page-login .auth-standard {
  min-height: calc(100dvh - var(--zops-header-height) - 32px);
  padding: 16px 0;
}

.page-login .auth-standard__card {
  width: min(100%, 470px);
  min-width: 0;
  gap: 12px;
  padding: clamp(18px, 4vw, 26px);
  border: 1px solid var(--zops-line);
  border-radius: var(--zops-radius-lg);
  background: var(--zops-surface);
  box-shadow: var(--zops-shadow-raised);
}

.page-login .auth-standard__head h1 {
  font-size: clamp(32px, 9vw, 48px);
  line-height: .96;
  overflow-wrap: anywhere;
}

.page-login .auth-standard__card > label {
  min-width: 0;
  color: var(--zops-text);
  font-weight: 800;
}

.page-login .auth-standard__card > label input,
.page-login .auth-standard__card > button {
  width: 100%;
}

.page-login .qr-scan {
  display: block;
  margin-top: 4px;
  padding: 0;
  border: 1px solid var(--zops-line);
  border-radius: var(--zops-radius-md);
  background: var(--zops-surface-soft);
  overflow: hidden;
}

.page-login .qr-scan > summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  cursor: pointer;
  list-style: none;
}

.page-login .qr-scan > summary::-webkit-details-marker {
  display: none;
}

.page-login .qr-scan > summary::after {
  flex: 0 0 auto;
  color: var(--zops-muted);
  content: "+";
  font-size: 24px;
  line-height: 1;
}

.page-login .qr-scan[open] > summary::after {
  content: "−";
}

.page-login .qr-scan > summary span,
.page-login .qr-scan > summary :where(strong, small) {
  display: block;
  min-width: 0;
}

.page-login .qr-scan > summary small {
  margin-top: 2px;
  color: var(--zops-muted);
  font-size: 12px;
}

.page-login .qr-scan__body {
  display: grid;
  gap: 10px;
  padding: 12px 13px 13px;
  border-top: 1px solid var(--zops-line);
  background: var(--zops-surface);
}

.page-login .qr-scan__body p {
  margin: 0;
}

.page-login .qr-scan__body :where(button, .qr-video) {
  width: 100%;
  max-width: none;
}

.zestia-ops-shell--rider .rider-command-bar {
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  padding: 16px;
}

.zestia-ops-shell--rider .rider-command-bar h1 {
  font-size: clamp(28px, 3vw, 42px);
}

.zestia-ops-shell--rider .rider-next-action {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label action"
    "title action"
    "meta action";
  min-height: 106px;
  padding: 14px 16px;
  border-color: #b7e4d9;
  background: linear-gradient(135deg, #effcf8 0%, #f7fffd 100%);
}

.zestia-ops-shell--rider .rider-next-action > span {
  grid-area: label;
}

.zestia-ops-shell--rider .rider-next-action > strong {
  grid-area: title;
  font-size: clamp(17px, 1.5vw, 22px);
}

.zestia-ops-shell--rider .rider-next-action > small {
  grid-area: meta;
  color: #176c61;
  font-weight: 750;
}

.zestia-ops-shell--rider .rider-next-action__button {
  white-space: nowrap;
}

.rider-next-action__actions {
  grid-area: action;
  display: flex;
  align-self: center;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.zestia-ops-shell--rider .rider-next-action__handoff {
  border-color: var(--rider-mint);
  background: var(--rider-mint);
  color: #fff;
  white-space: nowrap;
}

.zestia-ops-shell--rider .rider-layout {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 320px);
  align-items: start;
}

.zestia-ops-shell--rider .rider-layout > .stack:first-child {
  order: 2;
  position: sticky;
  top: calc(var(--zops-header-height) + 12px);
}

.zestia-ops-shell--rider .rider-layout > .stack:nth-child(2) {
  order: 1;
}

.rider-feedback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-left: 5px solid #5b75d6;
  background: linear-gradient(135deg, var(--rider-blue-soft), #fff);
}

.rider-feedback--success {
  border-left-color: var(--rider-mint);
  background: linear-gradient(135deg, var(--rider-mint-soft), #fff);
}

.rider-feedback--support {
  border-left-color: #d89b25;
  background: linear-gradient(135deg, var(--rider-amber-soft), #fff);
}

.rider-feedback__eyebrow {
  color: var(--zops-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rider-feedback h2 {
  margin: 3px 0 2px;
  font-size: 18px;
}

.rider-feedback p {
  margin: 0;
  color: var(--zops-text);
  line-height: 1.42;
}

.rider-feedback__metric {
  flex: 0 0 auto;
  color: var(--rider-mint);
  font-family: var(--zops-font-data);
  font-size: 19px;
  white-space: nowrap;
}

.zestia-ops-shell--rider .rider-deliveries-panel {
  padding: 0;
  overflow: hidden;
}

.zestia-ops-shell--rider .rider-deliveries-panel > .panel-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--zops-line);
}

.zestia-ops-shell--rider .route-workspace {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--zops-text);
}

.route-workspace__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border-bottom: 1px solid var(--zops-line);
  background: #fbfcfe;
}

.route-workspace__header h3 {
  margin: 3px 0 8px;
  color: var(--zops-ink);
  font-size: clamp(20px, 2vw, 28px);
}

.route-workspace__metrics,
.route-workspace__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.route-workspace__metrics span {
  padding: 5px 9px;
  border: 1px solid var(--zops-line);
  border-radius: 999px;
  background: #fff;
  color: var(--zops-muted);
  font-size: 12px;
  font-weight: 750;
}

.route-workspace__metrics strong {
  color: var(--zops-ink);
}

.route-workspace__actions {
  justify-content: flex-end;
}

.route-workspace__body {
  display: grid;
  grid-template-columns: minmax(380px, 1.28fr) minmax(340px, .72fr);
  min-height: 390px;
  max-height: min(620px, calc(100dvh - 230px));
}

.route-map-panel,
.route-itinerary {
  display: grid;
  min-width: 0;
  min-height: 0;
  margin: 0;
  background: #fff;
}

.route-map-panel {
  grid-template-rows: auto minmax(0, 1fr);
  border-right: 1px solid var(--zops-line);
}

.route-map-panel__bar,
.route-itinerary__header {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--zops-line);
  background: #f8fafc;
}

.route-map-panel__bar strong,
.route-itinerary__header strong {
  color: var(--zops-ink);
  font-size: 13px;
}

.route-map-panel__bar span,
.route-itinerary__header span {
  overflow: hidden;
  color: var(--zops-muted);
  font-family: var(--zops-font-data);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-itinerary {
  grid-template-rows: auto minmax(0, 1fr);
}

.route-stop-list {
  display: grid;
  align-content: start;
  gap: 0;
  margin: 0;
  padding: 8px 14px;
  list-style: none;
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.route-stop {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--zops-line);
}

.route-stop:last-child {
  border-bottom: 0;
}

.route-stop.is-next {
  color: #0c5f52;
}

.route-stop__index {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--zops-ink);
  color: #fff;
  font-family: var(--zops-font-data);
  font-weight: 900;
}

.route-stop.is-next .route-stop__index {
  background: var(--rider-mint);
  box-shadow: 0 0 0 5px #dff8f1;
}

.route-stop__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.route-stop__copy strong,
.route-stop__copy small {
  overflow-wrap: anywhere;
  white-space: normal;
}

.route-stop__copy small {
  color: var(--zops-muted);
}

.route-stop__actions {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.route-stop__navigate {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border: 1px solid #9fd9cc;
  border-radius: 9px;
  background: #f0fdfa;
  color: #0c6659;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.route-stop__navigate:hover {
  border-color: var(--rider-mint);
  background: #dff8f1;
}

.route-stop__navigate:focus-visible {
  outline: 3px solid #087a70;
  outline-offset: 2px;
}

.zestia-ops-shell--rider .route-map {
  width: 100%;
  height: 100%;
  min-height: 340px;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  background: #edf2f7;
}

.route-map-fallback {
  display: grid;
  min-height: 340px;
  margin: 0;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, .08), transparent 52%),
    #f4f7fb;
  color: var(--zops-muted);
  font-weight: 750;
  text-align: center;
}

.route-map-fallback[hidden] {
  display: none;
}

.route-workspace__notice {
  margin: 0;
  padding: 9px 16px;
  border-top: 1px solid #f3d59a;
  background: var(--rider-amber-soft);
  color: #805313;
  font-size: 12px;
}

.zestia-ops-shell--rider .task-card {
  scroll-margin-top: calc(var(--zops-header-height) + 12px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.zestia-ops-shell--rider .task-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 14px;
}

.rider-empty-state {
  display: grid;
  min-height: 96px;
  place-content: center;
  gap: 4px;
  padding: 18px;
  border: 1px dashed var(--zops-line-strong);
  border-radius: var(--zops-radius-md);
  background: var(--zops-surface-soft);
  color: var(--zops-muted);
  text-align: center;
}

.rider-empty-state strong {
  color: var(--zops-ink);
  font-size: 17px;
}

.scan-manual__field {
  flex: 1 1 180px;
  min-width: 0;
}

.scan-manual__field input {
  width: 100%;
  max-width: none;
}

.cashbox__paid-field,
.payment-field {
  display: grid;
  min-width: 0;
  gap: 4px;
  color: var(--zops-muted);
  font-size: 11px;
  font-weight: 850;
}

.cashbox__paid-field {
  flex: 1 1 150px;
}

.cashbox__paid-field .cashbox__paid {
  width: 100%;
  max-width: none;
}

.cash-change-callout {
  margin-top: 0.65rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--ops-accent, #d8aa58) 42%, transparent);
  border-radius: 0.8rem;
  background: color-mix(in srgb, var(--ops-accent, #d8aa58) 12%, transparent);
  font-variant-numeric: tabular-nums;
}

.scan-box--handoff {
  margin-top: 0.85rem;
  border-color: color-mix(in srgb, var(--ops-success, #32c48d) 45%, transparent);
}

.payment-controls {
  display: grid;
  grid-template-columns: minmax(150px, .65fr) minmax(180px, 1fr) auto;
  align-items: end;
  gap: 9px;
}

.payment-field select,
.payment-controls > button {
  width: 100%;
}

.payment-confirm {
  display: flex;
  min-height: 48px;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--zops-line);
  border-radius: var(--zops-radius-sm);
  background: var(--zops-surface-soft);
  color: var(--zops-text);
  font-weight: 800;
}

.payment-confirm input {
  width: 22px;
  min-height: 22px;
  flex: 0 0 22px;
  margin: 0;
}

.rider-mobile-dock {
  display: none;
}

@media (max-width: 1080px) {
  .zestia-ops-shell--rider .rider-command-bar {
    grid-template-columns: 1fr;
  }

  .zestia-ops-shell--rider .rider-layout {
    grid-template-columns: 1fr;
  }

  .zestia-ops-shell--rider .rider-layout > .stack:first-child {
    order: 2;
    position: static;
  }

  .route-workspace__body {
    grid-template-columns: minmax(340px, 1.12fr) minmax(320px, .88fr);
  }
}

@media (max-width: 820px) {
  .route-workspace__body {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .route-map-panel {
    border-right: 0;
    border-bottom: 1px solid var(--zops-line);
  }

  .route-stop-list {
    overflow: visible;
  }

  .payment-controls {
    grid-template-columns: 1fr 1fr;
  }

  .payment-controls > button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .zestia-ops-shell--rider .rider-command-bar {
    margin-bottom: 10px;
    padding: 11px;
    border-radius: 14px;
  }

  .zestia-ops-shell--rider .rider-command-bar__title {
    min-height: 30px;
  }

  .zestia-ops-shell--rider .rider-command-bar__title :where(.rider-command-bar__eyebrow, p) {
    display: none;
  }

  .zestia-ops-shell--rider .rider-command-bar__title h1 {
    margin: 0;
    font-size: 21px;
  }

  .zestia-ops-shell--rider .rider-next-action {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "meta"
      "action";
    gap: 5px 10px;
    padding: 9px;
    min-height: 0;
  }

  .zestia-ops-shell--rider .rider-next-action > span {
    display: none;
  }

  .zestia-ops-shell--rider .rider-next-action > small {
    align-self: center;
    text-align: left;
  }

  .rider-next-action__actions {
    width: 100%;
    margin-top: 2px;
  }

  .rider-next-action__actions :where(.button, a) {
    flex: 1 1 0;
    min-height: 44px;
    text-align: center;
  }

  .zestia-ops-shell--rider .rider-deliveries-panel > .panel-header {
    min-height: 56px;
    padding: 10px 12px;
    gap: 8px;
  }

  .zestia-ops-shell--rider .rider-deliveries-panel > .panel-header .panel-title { font-size: 18px; }
  .zestia-ops-shell--rider .rider-deliveries-panel > .panel-header .badge { font-size: 11px; }
  /* Keep the scan guard and whole-route action, without a large introduction
     ahead of the first order. Nothing is collapsed or conditionally removed. */
  .zestia-ops-shell--rider [aria-label="Salidas completas pendientes"] .route-box { padding: 12px; }
  .zestia-ops-shell--rider [aria-label="Salidas completas pendientes"] .route-box > .row { gap: 8px; align-items: center; flex-wrap: nowrap; }
  .zestia-ops-shell--rider [aria-label="Salidas completas pendientes"] .route-box > .row > div { min-width: 0; flex: 1 1 0; overflow-wrap: break-word; }
  .zestia-ops-shell--rider [aria-label="Salidas completas pendientes"] .route-box > .row > form { min-width: 0; flex: 1 1 0; }
  .zestia-ops-shell--rider [aria-label="Salidas completas pendientes"] button[data-pickup-route] { width: 100%; min-height: 44px; padding: 8px; font-size: 13px; white-space: normal; }
  .zestia-ops-shell--rider [aria-label="Salidas completas pendientes"] .route-box > p { margin: 8px 0 0; font-size: 13px; line-height: 1.4; }

  .zestia-ops-shell--rider .rider-deliveries-panel > .panel-header .panel-sub {
    display: none;
  }

  .rider-feedback {
    align-items: flex-start;
    flex-direction: column;
  }

  .route-workspace__header {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
    padding: 11px 12px;
  }

  .route-workspace__header .rider-feedback__eyebrow {
    display: none;
  }

  .route-workspace__header h3 {
    margin: 0 0 7px;
    font-size: 20px;
  }

  .route-workspace__metrics {
    flex-wrap: wrap;
  }

  .route-workspace__metrics span {
    flex: 0 1 auto;
  }

  .route-workspace__actions {
    justify-content: flex-start;
  }

  .route-workspace__actions :where(.button, button) {
    width: 100%;
    text-align: center;
  }

  .route-workspace__body {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .route-stop-list {
    overflow: visible;
  }

  .route-map-panel {
    border-right: 0;
    border-bottom: 1px solid var(--zops-line);
  }

  .zestia-ops-shell--rider .route-map,
  .route-map-fallback {
    min-height: 220px;
    max-height: 240px;
  }

  .route-stop {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .route-stop__actions {
    grid-column: 2;
    grid-auto-flow: column;
    align-items: center;
    justify-content: space-between;
    justify-items: start;
  }

  .zestia-ops-shell--rider .task-meta {
    grid-template-columns: 1fr;
  }

  .zestia-ops-shell--rider .task-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .zestia-ops-shell--rider .task-actions,
  .zestia-ops-shell--rider .task-actions > :where(form, a),
  .zestia-ops-shell--rider .task-actions :where(button, .button) {
    width: 100%;
  }

  .zestia-ops-shell--rider .scan-manual,
  .zestia-ops-shell--rider .scan-manual > :where(label, button) {
    width: 100%;
  }

  .payment-controls {
    grid-template-columns: 1fr;
  }

  .payment-controls > button {
    grid-column: auto;
  }

  .page-login .auth-standard {
    min-height: 0;
    padding: 4px 0 18px;
  }

  .page-login .auth-standard__card {
    border-radius: 16px;
    box-shadow: var(--zops-shadow-surface);
  }

  .rider-mobile-dock {
    position: fixed;
    z-index: 140;
    right: calc(10px + env(safe-area-inset-right, 0px));
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    left: calc(10px + env(safe-area-inset-left, 0px));
    display: flex;
    min-height: 60px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 8px 7px 13px;
    border: 1px solid #b7e4d9;
    border-radius: 15px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .2);
    backdrop-filter: blur(12px);
  }

  .rider-mobile-dock[hidden] {
    display: none;
  }

  .zestia-ops-shell--rider.has-rider-mobile-dock .zestia-ops-main {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .rider-mobile-dock span {
    display: grid;
  }

  .rider-mobile-dock .rider-mobile-dock__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .rider-mobile-dock small {
    color: var(--zops-muted);
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
  }

  .rider-mobile-dock strong {
    font-family: var(--zops-font-data);
    font-size: 20px;
  }

  .rider-mobile-dock .button {
    min-width: 0;
    border-color: var(--rider-mint);
    background: var(--rider-mint);
    color: #fff;
    text-align: center;
  }

  .rider-mobile-dock .button.ghost {
    background: #fff;
    color: var(--rider-mint);
  }
}

.shift-close,
.shift-receipt {
  margin-inline: auto;
  max-width: 980px;
}

.shift-close__hero,
.shift-receipt__hero {
  border-left: 6px solid var(--rider-mint, #0f8f78);
}

.shift-close__hero h1,
.shift-receipt__hero h1 {
  margin: 0.35rem 0 0.45rem;
}

.shift-close__hero p,
.shift-receipt__hero p,
.shift-close__confirm p {
  margin-bottom: 0;
}

.shift-close__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shift-close__confirm,
.shift-receipt__actions {
  display: grid;
  gap: 1rem;
}

.shift-receipt__paper {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  color: #111;
  font: 700 15px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  margin: 0 auto;
  max-width: 420px;
  overflow-wrap: anywhere;
  padding: 1.4rem 1rem;
  white-space: pre-wrap;
  width: 100%;
}

.shift-receipt__actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shift-receipt__actions [disabled] {
  cursor: not-allowed;
  opacity: 0.55;
}

@media (max-width: 760px) {
  .shift-close__grid,
  .shift-receipt__actions {
    grid-template-columns: 1fr;
  }
}

@media print {
  .page-rider_shift_receipt .zestia-ops-header,
  .page-rider_shift_receipt .zops-skip-link,
  .page-rider_shift_receipt .shift-receipt__hero,
  .page-rider_shift_receipt .shift-receipt__actions,
  .page-rider_shift_receipt .shift-receipt > .muted {
    display: none;
  }

  .page-rider_shift_receipt,
  .page-rider_shift_receipt .zestia-ops-main {
    background: #fff;
    margin: 0;
    padding: 0;
  }

  .page-rider_shift_receipt .shift-receipt__paper {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 11px;
    max-width: none;
    padding: 0;
  }
}
.delivery-app-download {
  display: grid;
  min-height: min(70vh, 760px);
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem) 0;
}

.delivery-app-download__card {
  align-items: center;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e6e2da);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(35, 29, 22, 0.12);
  display: grid;
  gap: clamp(1.4rem, 4vw, 3rem);
  grid-template-columns: minmax(120px, 220px) minmax(0, 1fr);
  max-width: 900px;
  padding: clamp(1.4rem, 5vw, 3.5rem);
  width: 100%;
}

.delivery-app-download__brand {
  align-items: center;
  aspect-ratio: 1;
  background: #171511;
  border-radius: 30%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.delivery-app-download__brand img {
  height: 72%;
  object-fit: contain;
  width: 72%;
}

.delivery-app-download__brand span {
  color: #fff;
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 800;
}

.delivery-app-download__copy h1 {
  margin: 0 0 0.65rem;
}

.delivery-app-download__eyebrow {
  color: var(--muted, #716b62);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0 0 0.55rem;
  text-transform: uppercase;
}

.delivery-app-download__details {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.4rem 0;
}

.delivery-app-download__details div {
  background: rgba(20, 18, 15, 0.045);
  border-radius: 14px;
  min-width: 0;
  padding: 0.8rem;
}

.delivery-app-download__details dt {
  color: var(--muted, #716b62);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.delivery-app-download__details dd {
  font-weight: 700;
  margin: 0.2rem 0 0;
  overflow-wrap: anywhere;
}

.delivery-app-download details code {
  display: block;
  font-size: 0.72rem;
  margin-top: 0.6rem;
  overflow-wrap: anywhere;
}

.delivery-app-download__note {
  color: var(--muted, #716b62);
  font-size: 0.82rem;
  margin: 1.2rem 0 0;
}

@media (max-width: 680px) {
  .delivery-app-download__card {
    grid-template-columns: 1fr;
  }

  .delivery-app-download__brand {
    max-width: 132px;
  }

  .delivery-app-download__details {
    grid-template-columns: 1fr;
  }
}
.route-workspace__details > summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-top: 1px solid var(--line, #d7e0e8);
  gap: 8px;
  font-weight: 800;
  color: var(--ink, #111827);
}
.route-workspace__details > summary::before { content: "+"; font-size: 20px; }
.route-workspace__details[open] > summary::before { content: "−"; }
.route-workspace__details > summary:focus-visible { outline: 3px solid #16645b; outline-offset: -3px; }
.route-workspace__details[open] > summary { border-bottom: 1px solid var(--line, #d7e0e8); }
