:root {
  --navy: #0b2236;
  --navy-2: #14344e;
  --red: #ef4438;
  --red-dark: #d8322a;
  --cream: #faf8f2;
  --surface: #ffffff;
  --surface-2: #eef1f3;
  --text: #263441;
  --muted: #64717e;
  --line: rgba(11, 34, 54, 0.14);
  --green: #17a56b;
  --shadow: 0 22px 60px rgba(11, 34, 54, 0.12);
  --font-text: "Causten", Inter, Arial, sans-serif;
  --font-heading: "Avenir Next", Avenir, "Causten", Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-text);
  line-height: 1.5;
}

.request-page {
  background:
    linear-gradient(180deg, #eef3f6 0%, #f5f7f4 52%, #faf8f2 100%);
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-height: 74px;
  padding: 8px clamp(20px, 5vw, 72px);
  background: rgba(250, 248, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  order: 1;
}

.brand img {
  display: block;
  width: clamp(126px, 11vw, 156px);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  order: 3;
  margin-left: auto;
}

.header-actions {
  display: contents;
}

.header-actions .ghost-link {
  order: 2;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-left: 2px;
  padding-left: 18px;
  border-left: 1px solid rgba(11, 34, 54, 0.16);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.header-actions .header-icon-link {
  order: 4;
}

.mobile-menu-panel {
  display: contents;
}

.main-nav a,
.ghost-link {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  transition: color 160ms ease;
}

.main-nav a:hover,
.ghost-link:hover {
  color: var(--red);
}

.header-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.header-icon-link:hover {
  color: var(--red);
  border-color: rgba(239, 68, 56, 0.28);
  transform: translateY(-1px);
}

.header-icon-link svg {
  display: block;
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.nav-dropdown {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  width: min(330px, calc(100vw - 40px));
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 18px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  background: #fbfcfd;
  border: 1px solid transparent;
  border-radius: 8px;
  line-height: 1.2;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  border-color: rgba(239, 68, 56, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 48px;
  min-width: max-content;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-secondary {
  background: var(--navy);
  color: #fff;
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
}

.btn-full {
  width: 100%;
  min-width: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  min-height: min(760px, calc(100vh - 74px));
  padding: clamp(42px, 6vw, 74px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(125deg, rgba(250, 248, 242, 0.94) 0%, rgba(250, 248, 242, 0.82) 48%, rgba(238, 241, 243, 0.96) 100%),
    repeating-linear-gradient(135deg, rgba(239, 68, 56, 0.08) 0 2px, transparent 2px 24px);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.panel-header h1,
.panel-card h2,
.panel-login h2 {
  font-family: var(--font-heading);
}

h1 {
  max-width: 740px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(40px, 5.3vw, 68px);
  line-height: 1;
}

h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

h3 {
  color: var(--navy);
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
  margin: 0;
}

.trust-strip div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(11, 34, 54, 0.05);
}

.trust-strip dt {
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
}

.trust-strip dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.quote-panel {
  position: relative;
  overflow: visible;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quote-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--red);
}

.panel-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--navy);
  font-weight: 800;
}

.panel-heading p {
  margin: 0;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(23, 165, 107, 0.12);
}

.delivery-form {
  display: grid;
  gap: 18px;
}

.delivery-form [hidden] {
  display: none !important;
}

.delivery-form label {
  display: grid;
  gap: 8px;
  color: #314253;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.field-help {
  margin-top: 2px;
  color: #7a8793;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.delivery-form input,
.delivery-form select,
.delivery-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(11, 34, 54, 0.14);
  border-radius: 10px;
  outline: none;
  font-size: 14px;
  font-weight: 650;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.delivery-form select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, #647382 50%),
    linear-gradient(135deg, #647382 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 52%,
    calc(100% - 13px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.delivery-form input::placeholder,
.delivery-form textarea::placeholder {
  color: #9aa5af;
  font-weight: 600;
}

.delivery-form textarea {
  min-height: 94px;
  resize: vertical;
  line-height: 1.5;
}

.detail-layout-compact textarea {
  min-height: 94px;
}

.autocomplete-field {
  position: relative;
  display: block;
}

.autocomplete-list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: none;
  max-height: 220px;
  overflow: auto;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(11, 34, 54, 0.14);
}

.autocomplete-list.is-open {
  display: grid;
  gap: 4px;
}

.autocomplete-option {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 10px 12px;
  color: var(--navy);
  background: #fbfcfd;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.autocomplete-option small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.autocomplete-status {
  padding: 12px;
  color: var(--muted);
  background: #fbfcfd;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.autocomplete-option:hover {
  color: var(--red);
  border-color: rgba(239, 68, 56, 0.26);
}

.delivery-form input:focus,
.delivery-form select:focus,
.delivery-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(239, 68, 56, 0.11);
}

.detail-form {
  max-width: 820px;
  gap: 12px;
}

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

.address-parts-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.address-block-title {
  margin: 14px 0 8px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.schedule-grid {
  max-width: 560px;
  margin-top: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.form-section {
  display: grid;
  gap: 14px;
  padding-top: 8px;
}

.form-section h3 {
  margin: 0;
}

.compact-section {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.request-form-card {
  padding: clamp(18px, 2.2vw, 30px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(11, 34, 54, 0.1);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(11, 34, 54, 0.08);
}

.route-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.route-card {
  display: grid;
  gap: 16px;
  padding: clamp(16px, 1.6vw, 22px);
  background: #fbfcfd;
  border: 1px solid rgba(11, 34, 54, 0.1);
  border-radius: 14px;
}

.route-card textarea {
  height: 98px;
  min-height: 98px;
  resize: vertical;
}

.route-card-head {
  display: block;
  padding-bottom: 2px;
}

.route-card-head h3,
.shipment-section h3 {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.2;
}

.route-card-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.route-identity-grid {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 14px;
}

.route-identity-grid label {
  grid-template-rows: auto auto;
  align-content: end;
}

.route-identity-grid input {
  align-self: end;
}

.label-row {
  display: block;
  line-height: 1.15;
}

.optional-label {
  display: inline;
  margin-left: 6px;
  color: #8a96a1;
  font-size: 11px;
  font-weight: 600;
}

.shipment-section {
  background: transparent;
}

.shipment-preferences {
  gap: 12px;
  padding: 2px 0 4px;
  background: transparent;
}

.shipment-preferences .option-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 12px;
  align-items: start;
}

.shipment-preferences .choice-group {
  gap: 8px;
  min-width: 0;
}

.shipment-preferences .choice-options {
  gap: 7px;
}

.shipment-preferences .compact-options span {
  min-height: 36px;
  padding: 0 13px;
  font-size: 12px;
}

.schedule-note-section {
  padding: 16px 0 0;
  border-top: 1px solid rgba(11, 34, 54, 0.08);
}

.schedule-note-grid {
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 16px;
  align-items: start;
}

.schedule-note-section .schedule-grid {
  max-width: 520px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
  gap: 12px;
}

.consent-box {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.consent-box label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.consent-box input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
}

.consent-box a {
  color: var(--red);
  font-weight: 800;
}

.field-error {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.choice-group {
  display: grid;
  gap: 10px;
  color: #556372;
  font-size: 12px;
  font-weight: 700;
}

.option-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
}

.choice-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.choice-options label {
  display: inline-flex;
}

.choice-options input {
  position: absolute;
  width: auto;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
}

.choice-options span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  color: var(--navy);
  background: #fbfcfd;
  border: 1px solid rgba(11, 34, 54, 0.12);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.choice-options input:checked + span {
  color: var(--navy);
  background: rgba(239, 68, 56, 0.1);
  border-color: rgba(239, 68, 56, 0.36);
  box-shadow: inset 0 0 0 1px rgba(239, 68, 56, 0.12);
}

.choice-options label:hover span,
.choice-options input:focus-visible + span {
  border-color: rgba(239, 68, 56, 0.32);
  box-shadow: 0 0 0 3px rgba(239, 68, 56, 0.08);
}

.compact-options span {
  min-height: 36px;
  padding: 0 11px;
  font-size: 13px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.price-estimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px;
  color: var(--muted);
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-estimate strong {
  color: var(--navy);
  white-space: nowrap;
}

.price-estimate small {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.fee-summary {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(2, minmax(170px, 0.8fr)) auto;
  gap: 12px;
  align-items: stretch;
  padding: 14px;
  background: linear-gradient(135deg, rgba(239, 68, 56, 0.09), rgba(255, 255, 255, 0.72) 46%, rgba(238, 241, 243, 0.72));
  border: 1px solid rgba(239, 68, 56, 0.22);
  border-radius: 8px;
}

.fee-summary > * {
  min-width: 0;
}

.fee-summary-main,
.fee-summary-route {
  display: grid;
  gap: 4px;
}

.fee-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.fee-summary strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.2;
}

.fee-summary-main strong {
  font-size: clamp(21px, 1.8vw, 28px);
}

.fee-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.fee-summary .btn {
  align-self: center;
  white-space: nowrap;
}

.service-band,
.solutions,
.workflow {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.why-section,
.faq-section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
  background: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.why-grid article {
  padding: 20px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.why-grid h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 18px;
}

.why-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

.faq-list details {
  padding: 16px 18px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.solutions .section-heading {
  max-width: none;
}

.solutions .section-heading h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  white-space: nowrap;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-card:hover {
  border-color: rgba(239, 68, 56, 0.3);
  box-shadow: 0 18px 42px rgba(11, 34, 54, 0.09);
  transform: translateY(-2px);
}

.service-card.featured {
  background: var(--navy);
  color: #fff;
}

.service-card.featured h3,
.service-card.featured strong {
  color: #fff;
}

.service-card p {
  color: var(--muted);
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.76);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  background: rgba(239, 68, 56, 0.12);
  color: var(--red);
  border-radius: 8px;
  font-weight: 800;
}

.service-card strong {
  display: block;
  margin-top: auto;
  color: var(--navy);
}

.service-note {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.solutions {
  background: var(--surface);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.solution-grid article {
  min-height: 172px;
  padding: 24px;
  background: var(--surface);
  transition: background 160ms ease;
}

.solution-grid article:hover {
  background: #fbfcfd;
}

.solution-card {
  color: inherit;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.process-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  min-height: 190px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(11, 34, 54, 0.05);
}

.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-weight: 800;
}

.process-card p {
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  position: relative;
  min-height: 172px;
  padding: 20px;
  background:
    linear-gradient(135deg, #fff 0%, #fbfcfd 100%);
  box-shadow: 0 14px 32px rgba(11, 34, 54, 0.07);
}

.contact-card::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  background: rgba(239, 68, 56, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.contact-card h3 {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 20px;
}

.contact-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
}

.contact-card p {
  max-width: 330px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.4;
}

.contact-card-wide {
  grid-column: 1 / -1;
  min-height: 144px;
}

.contact-card-wide p {
  max-width: 680px;
}

.solution-grid p,
.steps p,
.corporate-cta p,
.site-footer p {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(11, 34, 54, 0.05);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 26px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-weight: 800;
}

.corporate-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin: 0 clamp(20px, 5vw, 72px) clamp(58px, 8vw, 104px);
  padding: clamp(28px, 5vw, 48px);
  background: var(--navy);
  border-radius: 8px;
  color: #fff;
}

.corporate-cta > div {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.corporate-cta .btn {
  min-width: 132px;
}

.corporate-cta h2 {
  color: #fff;
  font-size: clamp(24px, 2.6vw, 36px);
  white-space: nowrap;
  margin: 0;
}

.corporate-cta p {
  max-width: 780px;
  margin: 0;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.corporate-cta .eyebrow {
  margin: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr 1.15fr;
  gap: 28px;
  padding: 42px clamp(20px, 5vw, 72px);
  background: #071827;
  color: #fff;
}

.site-footer p {
  max-width: 360px;
}

.footer-brand {
  width: fit-content;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.site-footer address,
.footer-links {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.site-footer a,
.site-footer span {
  color: rgba(255, 255, 255, 0.78);
}

.whatsapp-contact {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 16px 0 13px;
  color: #fff;
  background: #1fae5b;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(11, 34, 54, 0.22);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.whatsapp-contact:hover {
  color: #fff;
  background: #168e49;
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(11, 34, 54, 0.26);
}

.whatsapp-contact svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.process-card-whatsapp span {
  background: #1fae5b;
}

.contact-card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  color: var(--navy);
  font-weight: 900;
}

.contact-card-link:hover {
  color: var(--red);
}

.success-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 360px);
  padding: clamp(42px, 6vw, 78px) clamp(20px, 5vw, 72px);
}

.success-card {
  position: relative;
  width: min(100%, 780px);
  padding: clamp(28px, 5vw, 54px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.success-page-polished {
  align-items: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(239, 68, 56, 0.08), transparent 32%),
    linear-gradient(135deg, rgba(250, 248, 242, 0.96), rgba(244, 246, 247, 0.98));
}

.success-page-polished .success-card {
  display: grid;
  gap: 16px;
  max-width: 820px;
}

.success-page-polished h1 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.98;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(239, 68, 56, 0.24);
}

.success-card p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
}

.success-code {
  display: grid;
  gap: 4px;
  margin: 8px 0;
  padding: 16px;
  background: rgba(239, 68, 56, 0.08);
  border: 1px solid rgba(239, 68, 56, 0.22);
  border-radius: 8px;
}

.success-code span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.success-code strong {
  color: var(--navy);
  font-size: 28px;
}

.success-next {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.success-next article {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.success-next strong {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--red);
  background: rgba(239, 68, 56, 0.1);
  border-radius: 50%;
}

.success-next span {
  color: var(--navy);
  font-weight: 900;
}

.tracking-hero {
  padding-bottom: 30px;
}

.tracking-page {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px) clamp(56px, 7vw, 86px);
}

.tracking-form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: end;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(11, 34, 54, 0.08);
}

.tracking-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.tracking-form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--text);
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  font-weight: 800;
  text-transform: uppercase;
}

.tracking-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(239, 68, 56, 0.11);
}

.tracking-message {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 900;
}

.tracking-message-error {
  color: #8c342e;
  background: #fff0ee;
  border: 1px solid rgba(239, 68, 56, 0.22);
}

.tracking-result {
  display: grid;
  gap: 16px;
}

.tracking-card,
.tracking-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(11, 34, 54, 0.06);
}

.tracking-card {
  padding: 22px;
}

.tracking-card-main,
.tracking-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.tracking-card h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.tracking-code {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
}

.tracking-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tracking-grid article {
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 14px;
}

.tracking-grid span,
.tracking-card-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tracking-grid strong {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.25;
}

.tracking-timeline {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.tracking-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  background: #fbfcfd;
  border: 1px solid rgba(11, 34, 54, 0.09);
  border-radius: 8px;
}

.tracking-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(239, 68, 56, 0.1);
}

.tracking-timeline strong {
  color: var(--navy);
  font-size: 17px;
}

.tracking-timeline p {
  margin: 4px 0 0;
  color: var(--text);
}

.tracking-timeline time,
.tracking-empty {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.panel-body {
  background: #f4f6f7;
}

.panel-shell {
  display: flex;
  flex-direction: column;
  width: min(100%, 1240px);
  margin-inline: auto;
  padding: 28px clamp(16px, 4vw, 48px) 56px;
}

.panel-header,
.panel-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-header h1 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
}

.panel-login,
.panel-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(11, 34, 54, 0.08);
}

.btn-danger {
  color: #fff;
  background: #9c241c;
  border-color: #9c241c;
}

.panel-login {
  display: grid;
  gap: 14px;
  width: min(100%, 440px);
  margin-inline: auto;
}

.panel-login label,
.panel-card label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
}

.panel-login input,
.panel-filters input,
.panel-filters select,
.panel-edit-form input,
.panel-card input,
.panel-card select,
.panel-card textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel-login select,
.panel-filters select,
.panel-edit-form select,
.panel-card select {
  height: 46px;
  line-height: 1.2;
}

.panel-card textarea {
  min-height: 120px;
}

.panel-filters,
.panel-edit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.panel-filters {
  display: grid !important;
  grid-template-columns: 112px 128px 128px 128px 128px 128px 116px 150px auto auto;
  align-items: end;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel-filters label,
.panel-edit-grid label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.panel-filters label {
  min-width: 0;
  font-size: 11px;
}

.panel-filters label:first-child {
  min-width: 0;
}

.panel-filters input,
.panel-filters select {
  min-height: 34px;
  padding: 6px 9px;
  font-size: 13px;
}

.panel-filters .btn {
  align-self: end;
  min-height: 34px;
  padding: 7px 12px;
  white-space: nowrap;
}

.panel-alert {
  margin: 0;
  padding: 12px;
  color: var(--red-dark);
  background: rgba(239, 68, 56, 0.08);
  border: 1px solid rgba(239, 68, 56, 0.22);
  border-radius: 8px;
  font-weight: 800;
}

.panel-success {
  margin: 0 0 14px;
  padding: 12px;
  color: #0d6946;
  background: #dff8ec;
  border: 1px solid rgba(13, 105, 70, 0.2);
  border-radius: 8px;
  font-weight: 800;
}

.panel-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.panel-summary-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.panel-summary-grid span,
.panel-summary-grid strong {
  display: block;
}

.panel-summary-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.panel-summary-grid strong {
  margin-top: 6px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.panel-table-wrap {
  overflow-x: auto;
}

.panel-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1080px;
}

.panel-table th,
.panel-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.panel-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.panel-table a {
  color: var(--red);
  font-weight: 800;
}

.panel-table th:nth-child(1),
.panel-table td:nth-child(1) {
  width: 124px;
}

.panel-table th:nth-child(2),
.panel-table td:nth-child(2) {
  width: 92px;
}

.panel-table th:nth-child(6),
.panel-table td:nth-child(6),
.panel-table th:nth-child(7),
.panel-table td:nth-child(7),
.panel-table th:nth-child(8),
.panel-table td:nth-child(8),
.panel-table th:nth-child(9),
.panel-table td:nth-child(9) {
  width: 92px;
}

.panel-table th:nth-child(8),
.panel-table td:nth-child(8) {
  text-align: center;
}

.sort-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted) !important;
  white-space: nowrap;
}

.sort-link:hover,
.tracking-link:hover {
  color: var(--red-dark) !important;
}

.tracking-link {
  display: inline-block;
  max-width: 116px;
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.person-name {
  font-weight: 900;
}

.route-label {
  display: inline-block;
  min-width: 48px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.route-line {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.panel-table small,
.panel-log span {
  color: var(--muted);
}

.panel-status {
  display: inline-flex;
  padding: 5px 9px;
  color: var(--navy);
  background: #eef1f3;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.panel-status-new {
  color: #405467;
  background: #edf2f6;
}

.panel-status-called {
  color: #25536d;
  background: #dff2fb;
}

.panel-status-assigned {
  color: #314d8b;
  background: #e4ecff;
}

.panel-status-picked_up {
  color: #11645d;
  background: #dff3f1;
}

.panel-status-delivered {
  color: #1f684b;
  background: #def4e7;
}

.panel-status-cancelled {
  color: #8a2f2a;
  background: #f9dfdc;
}

.wa-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 18px !important;
  height: 18px !important;
  margin-left: 6px;
  color: #fff !important;
  background: #20b15a !important;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  vertical-align: middle;
  line-height: 1;
}

.panel-table .wa-icon svg,
.wa-icon svg {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  fill: currentColor !important;
}

.status-update-row {
  display: flex;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
}

.status-update-row label {
  width: 190px;
}

.status-update-row select {
  min-width: 0;
}

.status-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.status-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.status-choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--navy);
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.status-choice.is-selected span,
.status-choice input:checked + span {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(239, 68, 56, 0.16), 0 10px 24px rgba(11, 34, 54, 0.18);
}

.panel-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
  order: 3;
}

.panel-edit-form {
  order: 2;
  margin-bottom: 18px;
}

.panel-audit-card {
  order: 4;
}

.panel-edit-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.panel-edit-section {
  padding: 14px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel-edit-section h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.panel-edit-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}

.panel-edit-grid-address,
.panel-edit-grid-notes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}

.panel-edit-form textarea,
.panel-edit-grid-address textarea,
.panel-edit-grid-notes textarea {
  min-height: 58px;
}

.panel-edit-form input,
.panel-edit-form textarea {
  min-height: 38px;
  padding: 8px 10px;
}

.panel-icon-btn {
  min-height: 30px;
  padding: 5px 10px;
  color: var(--navy);
  background: #f1f4f6;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.panel-icon-btn.danger {
  color: #8c342e;
  background: #fbe5e2;
  border-color: #f2c6c0;
}

.panel-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(11, 34, 54, 0.42);
}

.panel-modal[hidden] {
  display: none;
}

.panel-modal-card {
  width: min(100%, 460px);
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-modal-card p {
  color: var(--muted);
}

.panel-modal-card label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 900;
}

.panel-modal-card textarea {
  min-height: 92px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.panel-toast {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 90;
  padding: 12px 16px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
  animation: panelToast 3.4s ease forwards;
  font-weight: 900;
}

@keyframes panelToast {
  0% { opacity: 0; transform: translateY(-8px); }
  12% { opacity: 1; transform: translateY(0); }
  82% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}

.panel-detail-list {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 10px 14px;
}

.panel-detail-list dt {
  color: var(--muted);
  font-weight: 800;
}

.panel-detail-list dd {
  margin: 0;
}

.panel-detail-list-compact {
  grid-template-columns: 92px minmax(0, 1fr);
}

.panel-detail-list a {
  color: var(--red);
  font-weight: 800;
}

.panel-log {
  display: grid;
  gap: 12px;
}

.panel-log.status-log-scroll {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}

.panel-log p {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.panel-edit-form.is-readonly input,
.panel-edit-form.is-readonly textarea {
  background: #f8fafb;
  color: var(--ink);
}

.pricing-panel .panel-card-heading {
  align-items: start;
}

.pricing-panel .panel-card-heading p {
  margin: 6px 0 0;
  color: var(--muted);
}

.pricing-group {
  margin-top: 20px;
}

.pricing-group h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 12px;
}

.pricing-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pricing-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.pricing-input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-input input {
  min-width: 0;
}

.pricing-input em {
  min-width: 48px;
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
}

.user-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.user-actions form,
.password-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.password-inline input {
  width: 150px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.user-table {
  min-width: 900px;
}

.page-hero {
  padding: clamp(52px, 7vw, 92px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(125deg, rgba(250, 248, 242, 0.96) 0%, rgba(250, 248, 242, 0.88) 58%, rgba(238, 241, 243, 0.98) 100%),
    repeating-linear-gradient(135deg, rgba(239, 68, 56, 0.07) 0 2px, transparent 2px 24px);
}

.page-hero h1 {
  max-width: 920px;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.form-page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1324px);
  margin-inline: auto;
  padding: 20px clamp(20px, 5vw, 72px) 16px;
  background:
    linear-gradient(128deg, rgba(238, 243, 246, 0.98) 0%, rgba(250, 248, 242, 0.92) 62%, rgba(226, 233, 237, 0.96) 100%),
    repeating-linear-gradient(135deg, rgba(239, 68, 56, 0.055) 0 2px, transparent 2px 24px);
  border-bottom: 1px solid var(--line);
}

.form-page-heading h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 38px);
}

.form-page-heading p:not(.eyebrow) {
  max-width: 470px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 15px;
}

.service-list {
  padding: clamp(50px, 7vw, 88px) clamp(20px, 5vw, 72px);
}

.all-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.all-services-grid .service-card {
  min-height: 245px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(50px, 7vw, 88px) clamp(20px, 5vw, 72px);
}

.detail-layout-compact {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 1324px);
  margin-inline: auto;
  padding-top: 18px;
  padding-bottom: 42px;
}

.detail-content {
  max-width: 850px;
}

.detail-layout-compact .detail-content {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
}

.detail-layout-compact .detail-form {
  max-width: none;
}

.identity-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.delivery-form .route-identity-grid {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
}

.detail-content h2 {
  margin-top: 34px;
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 38px);
}

.detail-layout-compact .detail-content h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: clamp(22px, 2vw, 28px);
}

.detail-content p,
.detail-content li {
  color: var(--muted);
  font-size: 17px;
}

.detail-content ul,
.detail-content ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.service-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.detail-layout-compact .service-aside {
  top: 90px;
}

.aside-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(11, 34, 54, 0.08);
}

.aside-card h2,
.aside-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.aside-card p {
  color: var(--muted);
}

.aside-links {
  display: grid;
  gap: 8px;
}

.aside-links a {
  padding: 10px 12px;
  color: var(--navy);
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.aside-links a:hover {
  color: var(--red);
  border-color: rgba(239, 68, 56, 0.3);
}

@media (max-width: 960px) {
  .site-header {
    position: sticky;
    flex-wrap: nowrap;
    gap: 8px 16px;
  }

  .brand {
    order: 0;
  }

  .main-nav {
    margin-left: 0;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .mobile-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: clamp(14px, 5vw, 28px);
    z-index: 40;
    display: none;
    width: min(330px, calc(100vw - 32px));
    padding: 10px;
    background: #eef3f5;
    border: 1px solid rgba(11, 34, 54, 0.14);
    border-radius: 10px;
    box-shadow: 0 22px 54px rgba(11, 34, 54, 0.18);
  }

  .site-header.is-open .mobile-menu-panel {
    display: grid;
    gap: 10px;
  }

  .mobile-menu-panel .main-nav,
  .mobile-menu-panel .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.is-open {
    align-items: center;
    overflow: visible;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-actions {
    display: grid;
    width: 100%;
    margin: 0;
    background: #f8fbfc;
    border: 1px solid rgba(11, 34, 54, 0.1);
    border-radius: 8px;
    box-shadow: none;
  }

  .site-header.is-open .main-nav {
    gap: 0;
    padding: 4px 12px;
  }

  .site-header.is-open .header-actions {
    grid-template-columns: minmax(0, 1fr) 42px 42px;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 12px;
    background: #f4f7f8;
    border-color: rgba(11, 34, 54, 0.1);
  }

  .site-header.is-open .main-nav > a,
  .site-header.is-open .nav-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    padding: 10px 2px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(11, 34, 54, 0.08);
    border-radius: 0;
    font-size: 14px;
    white-space: normal;
  }

  .site-header.is-open .main-nav > a:hover,
  .site-header.is-open .nav-trigger:hover {
    color: var(--red);
    background: rgba(239, 68, 56, 0.035);
  }

  .site-header.is-open .main-nav > a:focus-visible,
  .site-header.is-open .nav-trigger:focus-visible,
  .site-header.is-open .header-actions a:focus-visible {
    outline: 0;
    color: var(--red);
    background: rgba(239, 68, 56, 0.055);
  }

  .site-header.is-open .main-nav > a:last-child {
    border-bottom: 0;
  }

  .site-header.is-open .header-actions .ghost-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin-left: 0;
    padding: 0 10px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(11, 34, 54, 0.08);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
  }

  .site-header.is-open .header-actions .header-icon-link {
    width: 42px;
    height: 42px;
    min-height: 42px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(11, 34, 54, 0.08);
  }

  .site-header.is-open .header-actions .btn {
    width: 100%;
    min-height: 42px;
    min-width: 0;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 900;
  }

  .site-header.is-open .nav-dropdown.is-open .nav-trigger::after {
    transform: rotate(225deg) translate(-1px, -1px);
  }

  .site-header.is-open .dropdown-menu {
    position: static;
    display: none;
    grid-template-columns: 1fr;
    width: 100%;
    margin: 0;
    padding: 4px 0 8px 12px;
    gap: 2px;
    max-height: min(42dvh, 330px);
    overflow-y: auto;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(11, 34, 54, 0.1);
    border-radius: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }

  .site-header.is-open .nav-dropdown.is-open .dropdown-menu {
    display: grid;
  }

  .site-header.is-open .dropdown-menu a {
    padding: 7px 10px;
    color: #516171;
    background: transparent;
    border: 0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    white-space: normal;
  }

  .site-header.is-open .dropdown-menu a:hover {
    color: var(--red);
    background: rgba(239, 68, 56, 0.055);
  }

  .dropdown-menu::before {
    display: none;
  }

  .service-grid,
  .solution-grid,
  .all-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .route-contact-grid {
    grid-template-columns: 1fr;
  }

  .delivery-form .route-identity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
    padding-inline: 16px;
  }

  .brand img {
    width: 126px;
  }

  .hero,
  .service-band,
  .solutions,
  .workflow,
  .why-section,
  .faq-section,
  .form-page-heading {
    padding-inline: 16px;
  }

  .form-page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 24px;
    padding-bottom: 18px;
  }

  h1 {
    font-size: clamp(34px, 10.4vw, 46px);
    line-height: 1.04;
  }

  .hero-copy {
    font-size: 16px;
  }

  .form-page-heading h1 {
    font-size: clamp(29px, 9vw, 38px);
  }

  .trust-strip,
  .service-grid,
  .solution-grid,
  .why-grid,
  .all-services-grid,
  .detail-layout,
  .route-contact-grid,
  .tracking-form,
  .tracking-grid,
  .option-grid,
  .fee-summary,
  .identity-grid,
  .panel-detail-grid,
  .panel-filters,
  .panel-edit-sections,
  .panel-edit-grid,
  .panel-edit-grid-compact,
  .panel-edit-grid-address,
  .panel-edit-grid-notes,
  .pricing-grid,
  .status-update-row,
  .status-choice-grid,
  .process-grid,
  .form-grid,
  .steps,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .request-form-card,
  .route-card,
  .compact-section {
    padding: 14px;
  }

  .request-form-card {
    border-radius: 12px;
  }

  .shipment-preferences {
    padding: 0;
  }

  .shipment-preferences .option-grid {
    gap: 14px;
  }

  .choice-options {
    flex-wrap: wrap;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }

  .choice-options span {
    white-space: nowrap;
  }

  .schedule-note-grid,
  .schedule-note-section .schedule-grid {
    grid-template-columns: 1fr;
  }

  .route-identity-grid {
    grid-template-columns: 1fr;
  }

  .delivery-form .route-identity-grid {
    grid-template-columns: 1fr;
  }

  .schedule-grid {
    max-width: none;
  }

  .process-card {
    grid-template-columns: 1fr;
  }

  .service-aside {
    position: static;
  }

  .hero-actions,
  .corporate-cta,
  .tracking-card-main,
  .tracking-card-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .solutions .section-heading h2,
  .corporate-cta h2 {
    white-space: normal;
  }

  .hero-actions .btn,
  .corporate-cta .btn {
    width: 100%;
  }

  .whatsapp-contact {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 42px;
    padding: 0 13px 0 12px;
    font-size: 13px;
  }

  .whatsapp-contact svg {
    width: 20px;
    height: 20px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero > *,
  .quote-panel,
  .delivery-form,
  .delivery-form label,
  .autocomplete-field,
  .price-estimate {
    min-width: 0;
    max-width: 100%;
  }

  .quote-panel {
    width: 100%;
    overflow: hidden;
  }

  .price-estimate {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    justify-content: start;
    gap: 5px;
  }

  .price-estimate strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .delivery-form input,
  .delivery-form select,
  .delivery-form textarea,
  .delivery-form button,
  .btn,
  .btn-full {
    min-width: 0;
    max-width: 100%;
  }

  .btn,
  .btn-full {
    white-space: normal;
  }

  .corporate-cta {
    margin-inline: 16px;
  }
}

/* Kurye görev ekranı */
.courier-task-body {
  min-height: 100vh;
  margin: 0;
  color: var(--navy);
  background: #eef3f5;
}

.courier-task-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.courier-task-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid rgba(11, 34, 54, 0.1);
  border-radius: 8px;
}

.courier-task-header img {
  width: 112px;
  height: auto;
}

.courier-task-header h1 {
  margin: 2px 0 8px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.05;
}

.courier-task-notice,
.courier-task-error {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.courier-task-notice {
  color: #17613b;
  background: #e4f5eb;
  border: 1px solid #b7dfc8;
}

.courier-task-error {
  color: #8b2d26;
  background: #fbe8e6;
  border: 1px solid #efc1bd;
}

.courier-task-grid,
.courier-task-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.courier-task-card {
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(11, 34, 54, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(11, 34, 54, 0.06);
}

.courier-task-card h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.courier-task-card p {
  margin: 8px 0;
  color: #5c6c7b;
  line-height: 1.55;
}

.courier-task-card > a:not(.courier-task-map-link) {
  color: var(--navy);
  font-weight: 800;
}

.courier-task-shipment {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.courier-task-shipment p {
  margin-bottom: 0;
}

.courier-task-label {
  margin: 0 0 4px !important;
  color: var(--red) !important;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.courier-task-map-link {
  display: inline-flex;
  margin-top: 6px;
  color: var(--red);
  font-weight: 800;
}

.courier-task-form {
  display: grid;
  align-content: start;
  gap: 12px;
}

.courier-task-form label {
  display: grid;
  gap: 6px;
  color: #526271;
  font-size: 13px;
  font-weight: 800;
}

.courier-task-form input,
.courier-task-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--navy);
  background: #f8fafb;
  border: 1px solid rgba(11, 34, 54, 0.14);
  border-radius: 6px;
}

.courier-task-form textarea {
  min-height: 82px;
  resize: vertical;
}

.courier-task-form input[type="file"] {
  padding: 9px;
}

.courier-task-form .btn {
  width: 100%;
  min-height: 48px;
  margin-top: 2px;
}

.courier-task-form .btn:disabled,
.courier-task-form input:disabled,
.courier-task-form textarea:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.courier-task-proof-list {
  display: grid;
  gap: 12px;
}

.courier-task-proof-list > h2 {
  margin-bottom: 4px;
}

.courier-task-proof-list article,
.panel-proof-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.courier-task-proof-list img,
.panel-proof-item img {
  display: block;
  width: 96px;
  height: 76px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(11, 34, 54, 0.1);
}

.courier-task-proof-list article div,
.panel-proof-item div {
  display: grid;
  gap: 3px;
}

.courier-task-proof-list span,
.panel-proof-item span {
  color: #647483;
  font-size: 13px;
}

.panel-proof-location {
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.panel-proof-location:hover {
  text-decoration: underline;
}

.panel-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.panel-proof-item {
  padding: 12px;
  background: #f8fafb;
  border: 1px solid rgba(11, 34, 54, 0.08);
  border-radius: 6px;
}

@media (max-width: 720px) {
  .courier-task-shell {
    width: min(100% - 20px, 560px);
    padding-top: 10px;
  }

  .courier-task-header {
    gap: 12px;
    padding: 14px;
  }

  .courier-task-header img {
    width: 82px;
  }

  .courier-task-header h1 {
    font-size: 23px;
  }

  .courier-task-grid,
  .courier-task-actions,
  .courier-task-shipment,
  .panel-proof-grid {
    grid-template-columns: 1fr;
  }

  .courier-task-card {
    padding: 16px;
  }
}

/* Panel hardening layer: keeps admin pages independent from public-site typography. */
.panel-body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #f4f6f7 !important;
  font-size: 15px;
  line-height: 1.45;
}

.panel-body .panel-shell {
  display: block;
  width: min(100% - 40px, 1320px);
  margin-inline: auto;
  padding: 24px 0 56px;
}

.panel-body .panel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 0;
}

.panel-body .eyebrow {
  margin: 0 0 4px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.panel-body .panel-header h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.95;
  letter-spacing: 0;
}

.panel-body .panel-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.panel-body .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
}

.panel-body .btn-secondary {
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
}

.panel-body .btn-primary {
  color: #fff;
  background: var(--red);
  border: 1px solid var(--red);
}

.panel-body .btn-danger {
  color: #fff;
  background: #9c241c;
  border: 1px solid #9c241c;
}

.panel-body .panel-card,
.panel-body .panel-login {
  padding: 22px;
  background: #fff;
  border: 1px solid #d8dee3;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(11, 34, 54, 0.07);
}

.panel-body .panel-card h2,
.panel-body .panel-login h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.05;
  letter-spacing: 0;
}

.panel-body .panel-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.panel-body .panel-card-heading h2 {
  margin: 0;
}

.panel-body .panel-card-heading span,
.panel-body .panel-card-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.panel-body .panel-login {
  display: grid;
  gap: 14px;
  width: min(100%, 430px);
  margin: 36px auto 0;
}

.panel-body label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.panel-body input,
.panel-body select,
.panel-body textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfd7dd;
  border-radius: 8px;
  font: inherit;
}

.panel-body textarea {
  min-height: 76px;
  resize: vertical;
}

.panel-body .panel-filter-toggle {
  display: none;
}

.panel-body .panel-filters {
  display: grid !important;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  margin: 0 auto 16px;
  padding: 12px;
  background: #f8fafb;
  border: 1px solid #dde4e9;
  border-radius: 8px;
  overflow: visible;
}

.panel-body .panel-filters label {
  min-width: 0;
  gap: 4px;
  font-size: 11px;
}

.panel-body .panel-filters input,
.panel-body .panel-filters select,
.panel-body .panel-filters .btn {
  width: 100%;
  min-height: 36px;
  padding-block: 7px;
  font-size: 13px;
}

.panel-body .panel-filters select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #687684 50%), linear-gradient(135deg, #687684 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 26px;
}

.panel-body .panel-filters .btn {
  white-space: nowrap;
  padding-inline: 12px;
}

.panel-body .panel-filters .filter-view,
.panel-body .panel-filters .filter-date,
.panel-body .panel-filters .filter-tracking,
.panel-body .panel-filters .filter-person,
.panel-body .panel-filters .filter-phone {
  grid-column: span 2;
}

.panel-body .panel-filters .filter-pickup {
  grid-column: 1 / span 5;
}

.panel-body .panel-filters .filter-dropoff {
  grid-column: 6 / span 5;
}

.panel-body .panel-filters .filter-actions {
  display: flex;
  gap: 8px;
  align-items: end;
  justify-content: flex-end;
  grid-column: 11 / span 4;
}

.panel-body .panel-filters .filter-actions .btn {
  width: auto;
  min-width: 112px;
  max-width: 132px;
}

.panel-body .panel-table-wrap {
  overflow-x: auto;
  border: 1px solid #dbe2e7;
  border-radius: 8px;
}

.list-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-top: 14px;
  padding: 10px 12px;
  color: var(--ink);
  background: #f8fafb;
  border: 1px solid #dbe2e7;
  border-radius: 8px;
}

.pagination-summary,
.pagination-controls,
.pagination-size label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pagination-summary strong {
  color: var(--navy);
  font-size: 13px;
}

.pagination-summary span,
.pagination-controls span,
.pagination-size label {
  color: #637281;
  font-size: 12px;
  font-weight: 800;
}

.pagination-size {
  margin: 0;
}

.pagination-size select {
  width: auto;
  min-width: 74px;
  min-height: 34px;
  padding: 6px 26px 6px 9px;
  font-size: 13px;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  color: var(--navy);
  background: #fff;
  border: 1px solid #d6dee5;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.pagination-link:hover {
  color: var(--red);
  border-color: #f4b4ae;
}

.pagination-link.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

.panel-body .panel-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  background: #fff;
  table-layout: fixed;
}

.panel-body .panel-table th,
.panel-body .panel-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e2e7eb;
  vertical-align: top;
  text-align: left;
}

.panel-body .panel-table th {
  color: #687684;
  background: #f8fafb;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-body .panel-table tbody tr:hover {
  background: #fbfcfd;
}

.panel-body .manual-price-note {
  display: inline-flex;
  align-items: center;
  color: #7a4d16;
  font-size: 12px;
  font-weight: 900;
}

.panel-body .status-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
}

.panel-body .status-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel-body .status-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  color: var(--navy);
  background: #eef1f3;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.panel-body .status-filter.is-active {
  border-color: currentColor;
  box-shadow: 0 0 0 3px rgba(11, 34, 54, 0.08);
}

.panel-body .status-filter-all {
  color: #445463;
  background: #eef1f3;
}

.panel-body .panel-table th:nth-child(1),
.panel-body .panel-table td:nth-child(1) {
  width: 136px;
}

.panel-body .panel-table th:nth-child(2),
.panel-body .panel-table td:nth-child(2),
.panel-body .panel-table th:nth-child(4),
.panel-body .panel-table td:nth-child(4) {
  width: 122px;
}

.panel-body .panel-table th:nth-child(6),
.panel-body .panel-table td:nth-child(6),
.panel-body .panel-table th:nth-child(7),
.panel-body .panel-table td:nth-child(7),
.panel-body .panel-table th:nth-child(8),
.panel-body .panel-table td:nth-child(8),
.panel-body .panel-table th:nth-child(9),
.panel-body .panel-table td:nth-child(9) {
  width: 86px;
}

.panel-body .panel-table th:nth-child(7),
.panel-body .panel-table td:nth-child(7),
.panel-body .panel-table th:nth-child(8),
.panel-body .panel-table td:nth-child(8),
.panel-body .panel-table th:nth-child(9),
.panel-body .panel-table td:nth-child(9) {
  text-align: center;
}

.panel-body .request-table {
  min-width: 1240px;
}

.panel-body .request-table th,
.panel-body .request-table td {
  padding: 13px 14px;
}

.panel-body .request-table th:nth-child(1),
.panel-body .request-table td:nth-child(1) {
  width: 132px;
}

.panel-body .request-table th:nth-child(2),
.panel-body .request-table td:nth-child(2),
.panel-body .request-table th:nth-child(3),
.panel-body .request-table td:nth-child(3) {
  width: 140px;
}

.panel-body .request-table th:nth-child(4),
.panel-body .request-table td:nth-child(4) {
  width: 320px;
  padding-right: 24px;
}

.panel-body .request-table th:nth-child(5),
.panel-body .request-table td:nth-child(5) {
  width: 96px;
}

.panel-body .request-table th:nth-child(6),
.panel-body .request-table td:nth-child(6) {
  width: 108px;
}

.panel-body .request-table th:nth-child(7),
.panel-body .request-table td:nth-child(7) {
  width: 100px;
}

.panel-body .request-table th:nth-child(8),
.panel-body .request-table td:nth-child(8) {
  width: 86px;
}

.panel-body .request-table th:nth-child(9),
.panel-body .request-table td:nth-child(9) {
  width: 64px;
}

.panel-body .request-table th:nth-child(7),
.panel-body .request-table td:nth-child(7),
.panel-body .request-table th:nth-child(8),
.panel-body .request-table td:nth-child(8),
.panel-body .request-table th:nth-child(9),
.panel-body .request-table td:nth-child(9) {
  text-align: center;
}

.panel-body .tracking-link {
  color: var(--navy);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.panel-body .tracking-link:hover {
  color: var(--red) !important;
}

.panel-body .request-row-new { background: #f6f8fa; box-shadow: inset 4px 0 #9aa9b5; }
.panel-body .request-row-called { background: #eef8fc; box-shadow: inset 4px 0 #6aa8c7; }
.panel-body .request-row-assigned { background: #f0f5ff; box-shadow: inset 4px 0 #7893d9; }
.panel-body .request-row-picked_up { background: #edf9f8; box-shadow: inset 4px 0 #65b8ae; }
.panel-body .request-row-delivered { background: #eefaf2; box-shadow: inset 4px 0 #69b989; }
.panel-body .request-row-cancelled { background: #fff1f0; box-shadow: inset 4px 0 #df7d75; }

.panel-body .request-row-new:hover { background: #eef3f6; }
.panel-body .request-row-called:hover { background: #dff1f8; }
.panel-body .request-row-assigned:hover { background: #e6eeff; }
.panel-body .request-row-picked_up:hover { background: #e0f3f1; }
.panel-body .request-row-delivered:hover { background: #e0f5e8; }
.panel-body .request-row-cancelled:hover { background: #f9dfdc; }

.panel-body .person-name {
  font-weight: 900;
}

.panel-body .panel-table small {
  color: #62717f;
  font-size: 12px;
}

.panel-body .route-line {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  max-width: 100%;
  min-width: 0;
  white-space: nowrap;
}

.panel-body .route-line + .route-line {
  margin-top: 7px;
}

.panel-body .route-label {
  min-width: 0;
  color: #687684;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-body .route-cell {
  min-width: 0;
}

.panel-body .route-text {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel-body .wa-icon {
  width: 16px !important;
  height: 16px !important;
  margin-left: 4px;
  color: #fff !important;
  background: #22a85a !important;
  border-radius: 50%;
}

.panel-body .wa-icon svg {
  width: 12px !important;
  height: 12px !important;
}

.panel-body .panel-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.panel-body .panel-status-new { color: #405467; background: #edf2f6; }
.panel-body .panel-status-called { color: #25536d; background: #dff2fb; }
.panel-body .panel-status-assigned { color: #314d8b; background: #e4ecff; }
.panel-body .panel-status-picked_up { color: #11645d; background: #dff3f1; }
.panel-body .panel-status-delivered { color: #1f684b; background: #def4e7; }
.panel-body .panel-status-cancelled { color: #8a2f2a; background: #f9dfdc; }

.panel-body .panel-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  color: var(--navy);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.panel-body .panel-icon-btn svg {
  display: block;
  fill: currentColor;
}

.panel-body .panel-icon-btn.danger {
  color: var(--navy);
}

.panel-body .panel-icon-btn.danger:hover {
  color: #8c342e;
  background: #fbe5e2;
  border-color: #f2c6c0;
}

.panel-body .panel-icon-btn.cancel {
  color: #6f4a05;
}

.panel-body .panel-icon-btn.cancel:hover {
  color: #5b3c04;
  background: #fff1c9;
  border-color: #ead18a;
}

.panel-body .panel-icon-btn:disabled {
  color: #8d99a4;
  background: #edf1f4;
  border-color: #dbe2e7;
  cursor: not-allowed;
  opacity: 1;
}

.panel-body .panel-icon-btn.edit-action {
  color: #24495c;
  background: #eef4f6;
  border-color: #dbe7eb;
}

.panel-body .panel-icon-btn.edit-action:hover {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.panel-body .courier-dispatch-btn {
  color: #24495c !important;
  background: #e8f3f5;
  border-color: #cfe2e7;
  text-decoration: none;
}

.panel-body .courier-dispatch-btn:hover {
  color: #123246 !important;
  background: #dceff3;
  border-color: #b9d7df;
}

.panel-body .courier-dispatch-btn.is-disabled {
  color: #8c99a4 !important;
  background: #eef1f3;
  border-color: #dde4e9;
  cursor: not-allowed;
}

.panel-body .panel-icon-btn.courier-detail-dispatch {
  color: #178d4e;
  background: #eaf8f0;
  border-color: #ccebd8;
  text-decoration: none;
}

.panel-body .panel-icon-btn.courier-detail-dispatch:hover {
  color: #0f6f3c;
  background: #ddf4e7;
  border-color: #acdcbf;
}

.panel-body .panel-icon-btn.courier-detail-dispatch:disabled {
  color: #8d99a4;
  background: #edf1f4;
  border-color: #dbe2e7;
}

.panel-body .courier-current,
.panel-body .panel-help-text {
  margin: 8px 0 0;
  color: #687684;
  font-size: 13px;
  font-weight: 800;
}

.panel-body .courier-table {
  min-width: 620px;
}

.panel-body .courier-create-card {
  justify-content: space-between;
}

.panel-body .courier-create-card .panel-edit-grid {
  align-items: end;
}

.panel-body .courier-create-card select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  color: var(--navy);
  background: #fff;
  border: 1px solid #dbe2e7;
  border-radius: 8px;
  font: inherit;
}

.panel-body .compact-table-wrap .panel-table th,
.panel-body .compact-table-wrap .panel-table td {
  padding: 10px;
}

.panel-body .courier-management-grid {
  align-items: stretch;
}

.request-detail-page .panel-shell {
  display: flex;
  flex-direction: column;
}

.request-detail-page .panel-header h1 {
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.05;
}

.request-detail-page .panel-header-actions .panel-status {
  border: 1px solid currentColor;
  box-shadow: 0 0 0 3px rgba(11, 34, 54, 0.05);
}

.request-detail-page .panel-edit-form {
  order: 2;
  margin-bottom: 16px;
}

.request-detail-page .panel-detail-grid {
  order: 1;
}

.request-detail-page .panel-audit-card {
  order: 3;
}

.panel-body .panel-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.request-detail-page .panel-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel-body .status-update-row {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-bottom: 12px;
}

.panel-body .status-update-row label {
  width: 190px;
}

.panel-body .panel-edit-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.panel-body .panel-edit-section {
  padding: 14px;
  background: #f8fafb;
  border: 1px solid #dde4e9;
  border-radius: 8px;
}

.panel-body .panel-edit-section h3,
.panel-body .pricing-group h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.2;
}

.panel-body .panel-edit-grid,
.panel-body .panel-edit-grid-compact,
.panel-body .panel-edit-grid-address,
.panel-body .panel-edit-grid-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.panel-body .panel-edit-grid-address label:nth-child(n+3),
.panel-body .panel-edit-grid-notes label {
  grid-column: span 1;
}

.panel-body .edit-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #dde4e9;
}

.panel-body .edit-confirm-actions .btn:disabled {
  color: #7a8792;
  background: #e4e9ed;
  border-color: #d5dde3;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 1;
}

.panel-body .panel-edit-form input,
.panel-body .panel-edit-form textarea,
.panel-body .panel-edit-form select {
  min-height: 36px;
  padding: 7px 9px;
  font-size: 13px;
}

.panel-body .panel-edit-form textarea {
  min-height: 58px;
}

.panel-body .panel-address-autocomplete {
  width: 100%;
}

.panel-body .panel-address-autocomplete .autocomplete-list {
  z-index: 40;
  min-width: min(420px, 100%);
}

.panel-body .panel-address-autocomplete .autocomplete-option {
  font-size: 13px;
}

.panel-body .panel-edit-form select {
  width: 100%;
  border: 1px solid #cfd7dd;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font: inherit;
}

.panel-body .panel-edit-form.is-readonly select:disabled {
  color: #53616e;
  background: #eef2f4;
  opacity: 1;
}

.panel-body .panel-inline-actions {
  display: flex;
  align-items: end;
}

.panel-body .pricing-panel {
  max-width: 1180px;
  margin-inline: auto;
}

.panel-body .pricing-group {
  margin-top: 18px;
}

.panel-body .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.panel-body .pricing-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 14px;
  background: #f8fafb;
  border: 1px solid #dde4e9;
  border-radius: 8px;
}

.panel-body .pricing-item strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}

.panel-body .pricing-item small {
  display: block;
  margin-top: 3px;
  color: #687684;
  font-size: 12px;
  font-weight: 700;
}

.panel-body .pricing-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px;
}

.panel-body .pricing-input em {
  color: #687684;
  font-style: normal;
  font-weight: 900;
}

.panel-body .user-create-card .panel-edit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}

.panel-body .user-create-card {
  min-height: 0;
}

.panel-body .user-create-card .btn {
  width: fit-content;
  margin-top: 14px;
}

.panel-body .user-create-card select,
.panel-body .user-create-card input {
  height: 46px;
  min-height: 46px;
  padding: 11px 14px;
}

.panel-body .panel-user-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-body .panel-user-stack .panel-card {
  display: flex;
  flex-direction: column;
}

.panel-body .panel-detail-list {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 8px 12px;
}

.panel-body .panel-detail-list dt {
  color: #687684;
  font-weight: 900;
}

.panel-body .panel-detail-list dd {
  margin: 0;
}

.panel-body .user-table {
  min-width: 980px;
}

.panel-body .user-actions,
.panel-body .password-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel-body .user-table-singleline {
  min-width: 1180px;
}

.panel-body .user-table-singleline th,
.panel-body .user-table-singleline td {
  vertical-align: middle;
  white-space: nowrap;
}

.panel-body .user-table-singleline th:nth-child(1),
.panel-body .user-table-singleline td:nth-child(1) {
  width: 170px;
}

.panel-body .user-table-singleline th:nth-child(2),
.panel-body .user-table-singleline td:nth-child(2) {
  width: 210px;
}

.panel-body .user-table-singleline th:nth-child(3),
.panel-body .user-table-singleline td:nth-child(3),
.panel-body .user-table-singleline th:nth-child(4),
.panel-body .user-table-singleline td:nth-child(4) {
  width: 130px;
}

.panel-body .user-table-singleline th:nth-child(5),
.panel-body .user-table-singleline td:nth-child(5) {
  width: 155px;
}

.panel-body .user-table-singleline th:nth-child(6),
.panel-body .user-table-singleline td:nth-child(6) {
  width: 170px;
}

.panel-body .user-table-singleline th:nth-child(7),
.panel-body .user-table-singleline td:nth-child(7) {
  width: 124px;
  text-align: right;
}

.panel-body .user-table-singleline .user-actions,
.panel-body .user-table-singleline .password-inline {
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.panel-body .panel-icon-btn.save {
  color: #0d6946;
}

.panel-body .panel-icon-btn.save:hover {
  background: #dff8ec;
  border-color: rgba(13, 105, 70, 0.22);
}

.panel-body .nowrap {
  white-space: nowrap;
}

.panel-body .audit-table {
  min-width: 960px;
}

.panel-body .audit-table th:nth-child(1),
.panel-body .audit-table td:nth-child(1),
.panel-body .audit-table th:nth-child(4),
.panel-body .audit-table td:nth-child(4),
.panel-body .audit-table th:nth-child(5),
.panel-body .audit-table td:nth-child(5) {
  width: 120px;
}

.panel-body .table-edit-label {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
  color: #687684;
  font-size: 11px;
  font-weight: 900;
}

.panel-body .user-table input,
.panel-body .user-table select {
  width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid #dbe2e7;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 13px;
}

.panel-body .customer-create-card,
.panel-body .manual-request-form {
  margin-bottom: 18px;
}

.panel-body .customer-form-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.panel-body .invoice-form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel-body .invoice-payment-form {
  min-width: 118px;
}

.panel-body .invoice-payment-form select {
  width: 100%;
  min-height: 36px;
  padding: 6px 28px 6px 10px;
  color: var(--navy);
  background: #fff;
  border: 1px solid #dbe2e7;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.panel-body .invoice-payment-form select:focus {
  border-color: rgba(243, 66, 54, 0.55);
  outline: 3px solid rgba(243, 66, 54, 0.12);
}

.panel-body .manual-request-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.panel-body .manual-request-form .panel-detail-grid {
  margin: 18px 0;
}

.panel-body .panel-subcard {
  padding: 18px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel-body .panel-subcard h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.panel-body .panel-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.panel-body .customer-table {
  min-width: 1320px;
}

.panel-body .customer-table th:nth-child(1),
.panel-body .customer-table td:nth-child(1) {
  width: 210px;
}

.panel-body .customer-table th:nth-child(2),
.panel-body .customer-table td:nth-child(2) {
  width: 410px;
}

.panel-body .customer-table th:nth-child(3),
.panel-body .customer-table td:nth-child(3),
.panel-body .customer-table th:nth-child(4),
.panel-body .customer-table td:nth-child(4) {
  width: 118px;
}

.panel-body .customer-table th:nth-child(5),
.panel-body .customer-table td:nth-child(5),
.panel-body .customer-table th:nth-child(6),
.panel-body .customer-table td:nth-child(6) {
  width: 132px;
}

.panel-body .customer-table th:nth-child(7),
.panel-body .customer-table td:nth-child(7) {
  width: 170px;
  text-align: right;
}

.panel-body .customer-contact-inline {
  display: grid;
  grid-template-columns: minmax(190px, 1.3fr) minmax(130px, 0.7fr);
  gap: 8px;
  align-items: center;
}

.panel-body .customer-table .user-actions {
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.panel-body .customer-table .user-actions form {
  flex: 0 0 auto;
}

.panel-body .customer-table td:nth-child(2) input + input {
  margin-top: 0;
}

.panel-body .customer-history-table {
  min-width: 980px;
}

.panel-body .customer-address-table {
  min-width: 1040px;
}

.panel-body .customer-address-table th:nth-child(1),
.panel-body .customer-address-table td:nth-child(1) {
  width: 150px;
}

.panel-body .customer-address-table th:nth-child(2),
.panel-body .customer-address-table td:nth-child(2) {
  width: 170px;
}

.panel-body .customer-address-table th:nth-child(3),
.panel-body .customer-address-table td:nth-child(3) {
  width: 220px;
}

.panel-body .customer-address-table th:nth-child(5),
.panel-body .customer-address-table td:nth-child(5) {
  width: 110px;
  text-align: center;
}

.panel-body .password-inline input {
  width: 190px;
}

.panel-body .panel-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(11, 34, 54, 0.42);
}

.panel-body .panel-modal[hidden] {
  display: none;
}

.panel-body .panel-modal-card {
  width: min(100%, 460px);
  padding: 22px;
  background: #fff;
  border: 1px solid #d8dee3;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-body .panel-modal-card h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.panel-body .panel-modal-card p {
  color: #687684;
}

.panel-body .panel-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.panel-body .panel-toast {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 90;
  padding: 12px 16px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
  animation: panelToast 3.4s ease forwards;
  font-weight: 900;
}

@media (max-width: 900px) {
  .panel-body .panel-shell {
    width: min(100% - 24px, 1320px);
  }

  .panel-body .panel-header,
  .panel-body .panel-card-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .panel-body .panel-filters {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .panel-body .panel-filters .filter-pickup,
  .panel-body .panel-filters .filter-dropoff,
  .panel-body .panel-filters .filter-actions {
    grid-column: auto;
  }

  .panel-body .panel-filters .filter-actions {
    justify-content: flex-start;
  }

  .panel-body .panel-detail-grid,
  .panel-body .panel-edit-sections,
  .success-next,
  .panel-body .pricing-grid,
  .panel-body .user-create-card .panel-edit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .panel-body .panel-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    margin: 0 0 10px;
    padding: 10px 12px;
    color: var(--navy);
    background: #fff;
    border: 1px solid #dbe2e7;
    border-radius: 8px;
    font: inherit;
    font-weight: 900;
  }

  .panel-body .panel-filter-toggle strong {
    color: #687684;
    font-size: 12px;
  }

  .panel-body .panel-filters {
    grid-template-columns: 1fr;
  }

  .panel-body .panel-filters:not(.is-open) {
    display: none !important;
  }

  .panel-body .panel-filters .filter-actions {
    flex-wrap: wrap;
  }
}

.account-body {
  min-height: 100vh;
  background: linear-gradient(180deg, #fbfaf6 0%, #eef2f5 100%);
}

.account-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(250, 248, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.account-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.account-nav a {
  padding: 9px 12px;
  color: var(--navy);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
}

.account-nav a:hover,
.account-nav a.is-active {
  color: #fff;
  background: var(--navy);
}

.account-shell {
  width: min(100% - 32px, 1240px);
  margin: 0 auto;
  padding: 34px 0 56px;
}

.account-hero,
.account-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.account-hero h1,
.account-page-head h1,
.account-auth h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}

.account-hero p,
.account-page-head p,
.account-auth p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.account-stat,
.account-card {
  background: #fff;
  border: 1px solid #dbe2e7;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(11, 34, 54, 0.08);
}

.account-stat {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.account-stat span {
  color: var(--muted);
  font-weight: 800;
}

.account-stat strong {
  color: var(--navy);
  font-size: 34px;
  line-height: 1;
}

.account-card {
  padding: clamp(18px, 3vw, 28px);
}

.account-card h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.08;
}

.account-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-card-head a,
.account-muted a {
  color: var(--red);
  font-weight: 900;
}

.account-list {
  display: grid;
  gap: 10px;
}

.account-list-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(100px, 0.7fr) minmax(220px, 2fr) minmax(110px, auto);
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  background: #fbfcfd;
  border: 1px solid #e3e8ec;
  border-radius: 8px;
}

.account-list-row strong {
  color: var(--navy);
  font-weight: 900;
}

.account-list-row span {
  color: var(--red);
  font-weight: 850;
}

.account-list-row small,
.account-list-row em,
.account-muted,
.account-empty {
  color: var(--muted);
  font-style: normal;
}

.account-address-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
}

.account-address-row > span,
.account-address-row > small {
  grid-column: 1 / -1;
}

.account-address-row small {
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.account-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.account-form {
  display: grid;
  gap: 14px;
}

.account-form-link {
  margin: -4px 0 0 !important;
  text-align: right;
  font-size: 14px !important;
}

.account-form-link a {
  color: var(--red);
  font-weight: 900;
}

.account-form-grid,
.account-grid-2,
.account-auth {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.account-auth {
  align-items: start;
}

.account-auth .eyebrow {
  margin-bottom: 10px;
}

.account-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 850;
}

.account-form input,
.account-form select,
.account-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 13px;
  color: var(--navy);
  background: #fff;
  border: 1px solid #d6dee4;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
}

.account-form select {
  appearance: auto;
  padding-right: 34px;
}

.account-form textarea {
  min-height: 104px;
  resize: vertical;
}

.account-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.account-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px !important;
}

.account-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.account-alert {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 850;
}

.account-alert-success {
  color: #0e6b4d;
  background: #e6f7ef;
}

.account-alert-error {
  color: #9d2e27;
  background: #fff0ef;
}

.account-detail-list {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  margin: 0;
}

.account-detail-list dt {
  color: var(--muted);
  font-weight: 900;
}

.account-detail-list dd {
  margin: 0;
  color: var(--navy);
  font-weight: 850;
}

.account-timeline {
  display: grid;
  gap: 12px;
}

.account-timeline div {
  padding-left: 14px;
  border-left: 3px solid var(--red);
}

.account-timeline strong,
.account-timeline span {
  display: block;
}

.account-timeline span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.account-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 26px;
  color: #dce6ee;
  background: var(--navy);
}

.account-site-footer {
  margin-top: 22px;
}

.account-footer a,
.account-footer span {
  font-weight: 850;
}

.account-inline-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  padding: 14px;
  background: #f8fbfc;
  border: 1px solid #dbe2e7;
  border-radius: 8px;
}

.account-inline-cta div {
  display: grid;
  gap: 2px;
  flex: 1 1 280px;
}

.account-inline-cta strong {
  color: var(--navy);
  font-weight: 900;
}

.account-inline-cta span {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .account-header,
  .account-hero,
  .account-page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-nav {
    width: 100%;
  }

  .account-nav a {
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.62);
  }

  .account-stats,
  .account-form-grid,
  .account-grid-2,
  .account-auth {
    grid-template-columns: 1fr;
  }

  .account-list-row,
  .account-address-row {
    grid-template-columns: 1fr;
  }
}
