:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #f05243;
  --gold: #d6b45a;
  --paper: #fff7f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #f8fafc;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px 7vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--brand);
}

.brand img {
  width: 64px;
  height: auto;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  font-size: 14px;
}

.site-header nav form {
  margin: 0;
}

.site-header nav button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.staff-menu {
  position: relative;
}

.staff-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.staff-menu summary::-webkit-details-marker {
  display: none;
}

.staff-menu-icon {
  display: grid;
  width: 24px;
  gap: 4px;
}

.staff-menu-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.staff-menu-panel {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  width: min(88vw, 360px);
  max-height: min(72vh, 620px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.2);
}

.staff-menu-title {
  display: block;
  padding: 10px 12px 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.staff-menu-group {
  border-top: 1px solid var(--line);
  padding: 10px 4px;
}

.staff-menu-group-name {
  display: block;
  border-radius: 8px;
  padding: 8px;
  color: var(--brand);
  font-weight: 900;
}

.staff-menu-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.staff-menu-links a {
  border-radius: 8px;
  padding: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.staff-menu-group-name:hover,
.staff-menu-links a:hover {
  background: #fff0ed;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  background: url("../img/delivery-home-hero.3485b60b29dd.png") 70% center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 247, 243, 0.9), rgba(255, 247, 243, 0.72) 42%, rgba(255, 255, 255, 0.08)),
    linear-gradient(0deg, rgba(255, 247, 243, 0.76), rgba(255, 247, 243, 0.02) 45%);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 88px 40px 46px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.96;
  text-transform: uppercase;
}

.hero-copy h1 span {
  display: block;
  color: var(--brand);
}

.hero-copy h2 {
  margin: 22px 0 10px;
  color: #6f737a;
  font-size: 28px;
}

.hero-copy p {
  max-width: 620px;
  color: #334155;
  font-size: 18px;
  line-height: 1.6;
}

.tracking-form {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  max-width: 620px;
}

.tracking-form input,
.panel-form input,
.panel-form select,
.panel-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
}

.tracking-form button,
.panel-form button {
  border: 0;
  border-radius: 14px;
  padding: 14px 24px;
  background: #020617;
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.tracking-form .tracking-scan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 118px;
  border: 1px solid #2563eb;
  background: rgba(255, 255, 255, 0.94);
  color: #1d4ed8;
}

.tracking-form .tracking-scan-button:hover {
  background: #eff6ff;
}

.tracking-scanner-dialog {
  width: min(92vw, 520px);
  border: 0;
  border-radius: 20px;
  padding: 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.3);
}

.tracking-scanner-dialog::backdrop {
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(3px);
}

.tracking-scanner-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.tracking-scanner-header h2,
.tracking-scanner-header p {
  margin: 0;
}

.tracking-scanner-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #eef2f7;
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.tracking-scanner-help,
.tracking-scanner-status {
  margin: 12px 0;
  color: #475569;
}

.tracking-scanner-photo-actions {
  margin: 0 0 16px;
}

.tracking-scanner-photo-button {
  align-items: center;
  background: #eff6ff;
  border: 1px solid #3b82f6;
  border-radius: 10px;
  color: #174ea6;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
}

.tracking-scanner-photo-button:hover {
  background: #dbeafe;
}

.tracking-scanner-status.is-error {
  color: #b42318;
  font-weight: 700;
}

#tracking-qr-reader {
  overflow: hidden;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #020617;
}

#tracking-qr-reader video {
  border-radius: 12px;
}

.quick-actions,
.booking-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 620px;
  margin-top: 24px;
}

.quick-actions a,
.booking-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(240, 82, 67, 0.22);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.booking-links a {
  justify-content: space-between;
  padding: 0 16px;
  color: var(--ink);
  font-size: 14px;
}

.hero-copy h3 {
  margin: 28px 0 0;
  color: #6f737a;
  font-size: 14px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.branch-card {
  align-self: end;
  transform: translateY(170px);
  border: 1px solid rgba(240, 82, 67, 0.14);
  background: rgba(255, 255, 255, 0.9);
  padding: 26px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

.branch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffc5bd;
  padding-bottom: 18px;
}

.branch-header h2 {
  margin: 0;
}

.branch-header a {
  border: 1px solid #ffc5bd;
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--brand);
  font-weight: 800;
}

.branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.branches article {
  border-left: 4px solid var(--brand);
  background: #fff9f6;
  padding: 16px;
}

.branches h4 {
  margin: 0 0 12px;
  text-transform: uppercase;
}

.branches p {
  color: #334155;
  line-height: 1.55;
}

.content-band,
.page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 70px 28px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-grid article,
.tracking-result,
.panel-form {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.panel-form {
  display: grid;
  gap: 12px;
  max-width: 720px;
}

.panel-form p {
  margin: 0;
}

.panel-form label {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
}

.panel-form ul {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.panel-form li label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.panel-form input[type="radio"],
.panel-form input[type="checkbox"] {
  width: auto;
}

.panel-form .helptext {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.form-warning {
  max-width: 720px;
  margin-bottom: 18px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.booking-page {
  max-width: 1060px;
  margin: 0 auto;
  padding: 64px 28px 90px;
}

.booking-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.booking-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.booking-hero > div:first-child > p:last-child {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.route-badge {
  min-width: 220px;
  border: 1px solid #fecaca;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #fff7f3);
  padding: 20px;
  box-shadow: 0 14px 34px rgba(240, 82, 67, 0.08);
}

.route-badge span,
.route-badge small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-badge strong {
  display: block;
  margin: 7px 0;
  color: var(--brand);
  font-size: 22px;
}

.professional-form {
  display: grid;
  gap: 22px;
}

.form-section {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  padding: 30px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.055);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.section-number {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: #fff0ed;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.section-heading h2 {
  margin: 0 0 4px;
  font-size: 21px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-grid,
.service-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field-group.full,
.choice-block.full {
  grid-column: 1 / -1;
}

.field-group label,
.choice-title {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 800;
}

.field-group label em,
.choice-title em {
  margin-left: 5px;
  color: var(--brand);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field-group label span {
  margin-left: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.professional-form input[type="text"],
.professional-form input[type="email"],
.professional-form input[type="number"],
.professional-form textarea,
.professional-form select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  outline: none;
  padding: 13px 14px;
  background: #fcfdff;
  color: var(--ink);
  font: inherit;
  transition: border-color 160ms, box-shadow 160ms, background 160ms;
}

.professional-form input:focus,
.professional-form textarea:focus,
.professional-form select:focus {
  border-color: var(--brand);
  background: white;
  box-shadow: 0 0 0 4px rgba(240, 82, 67, 0.1);
}

.choice-block {
  margin-bottom: 22px;
}

.choice-block > div + ul,
.choice-block > p + ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-choice-grid .choice-block > div + p + ul,
.service-choice-grid .choice-block > div + ul {
  grid-template-columns: 1fr;
}

.choice-block li label {
  display: flex;
  align-items: center;
  min-height: 48px;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px 13px;
  background: #f8fafc;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 160ms, background 160ms, transform 160ms;
}

.choice-block li label:hover {
  transform: translateY(-1px);
  border-color: #fca5a5;
  background: #fff7f3;
}

.choice-block input[type="radio"],
.choice-block input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--brand);
}

.field-note {
  margin: -3px 0 11px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.frozen-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 22px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 13px;
}

.frozen-notice strong {
  white-space: nowrap;
}

.errorlist {
  margin: 7px 0 0;
  padding: 0;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}

.form-alert {
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fef2f2;
  padding: 14px;
  color: #b91c1c;
}

.local-delivery-payment {
  border-color: #fcd34d;
  background: #fffbeb;
  color: #78350f;
  line-height: 1.6;
}

.local-delivery-success {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  border: 1px solid #86efac;
  background: #f0fdf4;
  color: #166534;
}

.form-submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 20px;
  background: #0f172a;
  padding: 24px 28px;
  color: white;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.2);
}

.form-submit-bar strong,
.form-submit-bar span {
  display: block;
}

.form-submit-bar > div > span {
  margin-top: 4px;
  color: #cbd5e1;
  font-size: 13px;
}

.form-submit-bar button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border: 0;
  border-radius: 12px;
  padding: 14px 20px;
  background: var(--brand);
  color: white;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.form-submit-bar button:hover {
  background: #dc4034;
}

.muted {
  color: var(--muted);
}

.standalone {
  margin-bottom: 24px;
}

.notice {
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 800;
}

.error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tracking-result dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.tracking-result dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tracking-result dd {
  margin: 5px 0 0;
  font-weight: 800;
}

.tracking-note {
  border-radius: 12px;
  background: #f8fafc;
  padding: 14px;
}

.recipient-tracking-result {
  overflow: hidden;
  padding: 0;
}

.recipient-tracking-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 30px 22px;
  background: linear-gradient(135deg, #071d4f 0%, #123f79 100%);
  color: #fff;
}

.recipient-tracking-header .eyebrow {
  margin: 0 0 7px;
  color: #b9d5ff;
}

.recipient-tracking-header h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
}

.recipient-tracking-number {
  margin: 8px 0 0;
  color: #dbeafe;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.tracking-share-button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  padding: 0 16px;
  background: #fff;
  color: #071d4f;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tracking-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 34px 36px 28px;
}

.tracking-progress-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
  color: #94a3b8;
  text-align: center;
}

.tracking-progress-step:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 14px;
  left: calc(50% + 15px);
  width: calc(100% - 30px);
  height: 4px;
  background: #dbe2ea;
  content: "";
}

.tracking-progress-step.is-complete:not(:last-child)::after {
  background: #f15a43;
}

.tracking-progress-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 4px solid #dbe2ea;
  border-radius: 50%;
  background: #fff;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.tracking-progress-step.is-complete,
.tracking-progress-step.is-current {
  color: #0f172a;
}

.tracking-progress-step.is-complete .tracking-progress-marker,
.tracking-progress-step.is-current .tracking-progress-marker {
  border-color: #f15a43;
  background: #f15a43;
}

.tracking-progress-step.is-current .tracking-progress-marker {
  box-shadow: 0 0 0 6px rgba(241, 90, 67, 0.17);
}

.tracking-progress-label {
  max-width: 140px;
  font-size: 14px;
  font-weight: 800;
}

.estimated-delivery-card {
  display: grid;
  gap: 5px;
  margin: 0 30px 26px;
  border-left: 5px solid #f15a43;
  border-radius: 10px;
  padding: 15px 18px;
  background: #fff5f2;
}

.estimated-delivery-card span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.estimated-delivery-card strong {
  font-size: 19px;
}

.recipient-tracking-result > dl,
.recipient-tracking-result > .tracking-note,
.recipient-tracking-result > .tracking-history-card,
.recipient-tracking-result > .staff-tracking-details,
.recipient-tracking-result > .book-again-action {
  margin-right: 30px;
  margin-left: 30px;
}

.tracking-history-card {
  margin-top: 26px;
  border-top: 1px solid #e2e8f0;
  padding-top: 22px;
}

.tracking-history-card h3 {
  margin: 0 0 20px;
}

.tracking-history-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tracking-history-list li {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding-bottom: 22px;
}

.tracking-history-list li:not(:last-child)::before {
  position: absolute;
  top: 12px;
  bottom: 0;
  left: 6px;
  width: 2px;
  background: #cbd5e1;
  content: "";
}

.tracking-history-dot {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #f15a43;
  box-shadow: 0 0 0 2px #f15a43;
}

.tracking-history-list strong,
.tracking-history-list span,
.tracking-history-list time {
  display: block;
}

.tracking-history-list span,
.tracking-history-list time {
  margin-top: 4px;
  color: #64748b;
}

.tracking-history-list p {
  margin: 5px 0 0;
}

.tracking-history-list time {
  font-size: 13px;
}

.staff-tracking-details {
  margin-top: 22px;
  border: 1px solid #93c5fd;
  border-radius: 14px;
  background: #f8fbff;
  padding: 18px;
}

.staff-tracking-heading {
  margin-bottom: 14px;
  border-bottom: 1px solid #bfdbfe;
  padding-bottom: 12px;
}

.staff-tracking-heading h3,
.staff-tracking-heading p {
  margin: 0;
}

.staff-tracking-heading h3 {
  margin-top: 4px;
}

.staff-payment-form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.staff-payment-form label {
  flex: 1 0 100%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-payment-form select,
.staff-payment-form button {
  min-height: 42px;
  border-radius: 9px;
  padding: 8px 12px;
  font: inherit;
}

.staff-payment-form select {
  min-width: 210px;
  border: 1px solid #94a3b8;
  background: #fff;
}

.staff-payment-form button {
  border: 0;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.staff-payment-success {
  margin-bottom: 14px;
  border: 1px solid #86efac;
  background: #f0fdf4;
  color: #166534;
}

.staff-tracking-details .staff-tracking-wide {
  grid-column: 1 / -1;
}

.staff-tracking-details dd {
  overflow-wrap: anywhere;
}

.book-again-action {
  margin: 22px 0 0;
}

.tracking-result .button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: 210px;
  min-height: 52px;
  border-radius: 12px;
  padding: 0 24px;
  background: #b5524b;
  color: white;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(181, 82, 75, 0.2);
}

.tracking-result .button-link:hover {
  background: #98443e;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .site-header,
  .site-header nav {
    flex-wrap: wrap;
  }

  .hero-content,
  .branches,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .branch-card {
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand span,
  .staff-menu-label {
    display: none;
  }

  .brand img {
    width: 54px;
  }

  .site-header nav {
    gap: 17px;
  }

  .staff-menu-panel {
    position: fixed;
    top: 74px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100vh - 92px);
  }

  .tracking-form,
  .quick-actions,
  .booking-links {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .tracking-page h1 {
    margin: 0 0 12px;
  }

  .tracking-page {
    padding-top: 22px;
  }

  .tracking-page .tracking-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    gap: 12px;
    margin-top: 18px;
  }

  .tracking-page .tracking-form .tracking-scan-button {
    width: 58px;
    min-width: 58px;
    padding: 0;
    aspect-ratio: 1;
  }

  .tracking-page .tracking-form button[type="submit"] {
    grid-column: 1 / -1;
  }

  .hero-content {
    padding: 46px 18px 28px;
  }

  .booking-page {
    padding: 38px 16px 60px;
  }

  .booking-hero,
  .form-submit-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .route-badge {
    min-width: 0;
  }

  .form-section {
    padding: 22px 18px;
  }

  .form-grid,
  .service-choice-grid,
  .choice-block > div + ul,
  .choice-block > p + ul {
    grid-template-columns: 1fr;
  }

  .frozen-notice {
    align-items: flex-start;
    flex-direction: column;
  }

  .recipient-tracking-header {
    align-items: stretch;
    flex-direction: column;
    padding: 24px 20px;
  }

  .tracking-share-button {
    width: 100%;
  }

  .tracking-progress {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 26px 22px;
  }

  .tracking-progress-step {
    grid-template-columns: 34px 1fr;
    justify-items: start;
    gap: 12px;
    min-height: 58px;
    text-align: left;
  }

  .tracking-progress-step:not(:last-child)::after {
    top: 31px;
    bottom: 0;
    left: 14px;
    width: 4px;
    height: 27px;
  }

  .tracking-progress-label {
    align-self: center;
  }

  .estimated-delivery-card,
  .recipient-tracking-result > dl,
  .recipient-tracking-result > .tracking-note,
  .recipient-tracking-result > .tracking-history-card,
  .recipient-tracking-result > .staff-tracking-details,
  .recipient-tracking-result > .book-again-action {
    margin-right: 20px;
    margin-left: 20px;
  }

  .tracking-result dl {
    grid-template-columns: 1fr;
  }
}
