:root {
  --orange: #e85d2a;
  --orange-dark: #c7481a;
  --orange-soft: #fff0e7;
  --blue: #2f66c9;
  --blue-dark: #142f58;
  --ink: #101828;
  --muted: #667085;
  --line: #ead7cb;
  --surface: #ffffff;
  --soft: #fff7f1;
  --green: #16a37b;
  --green-soft: #e8f7f1;
  --coral: #e85d2a;
  --gold: #f7b955;
  --font: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 26px 72px rgba(84, 45, 24, 0.13);
  --tight-shadow: 0 18px 46px rgba(84, 45, 24, 0.1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fffdfb;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 13px clamp(18px, 4vw, 60px);
  background: rgba(255, 252, 249, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(234, 223, 215, 0.86);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.brand strong {
  color: var(--orange);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.staff-header-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: max-content;
}

.staff-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(234, 215, 203, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.staff-lang-toggle button {
  min-height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.staff-lang-toggle button.active {
  background: var(--blue-dark);
  color: #fff;
}

.track-order-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(20, 47, 88, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: none;
  box-shadow: none;
}

.track-order-link:hover {
  border-color: rgba(20, 47, 88, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 244, 235, 1)),
    #fffaf6;
  color: var(--orange-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--orange-dark);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover {
  color: var(--blue-dark);
}

.nav-links a,
.track-order-link,
.header-action,
.primary-button,
.secondary-button,
.pay-button,
.secondary-action {
  text-decoration: none;
}

.header-action,
.primary-button,
.pay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border: 0;
  border-radius: 8px;
  background: var(--orange-dark);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(199, 72, 26, 0.2);
  cursor: pointer;
}

.header-action:hover,
.primary-button:hover,
.pay-button:hover {
  background: #a93a13;
}

.primary-button:disabled,
.pay-button:disabled {
  background: #d9d3cf;
  color: #766f6a;
  box-shadow: none;
  cursor: not-allowed;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(47, 102, 201, 0.42);
  outline-offset: 3px;
}

.secondary-button,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf6;
  color: var(--blue-dark);
  font-weight: 900;
  cursor: pointer;
}

.hero {
  --hero-pad-y: clamp(46px, 6vw, 82px);
  --hero-pad-x: clamp(18px, 4vw, 56px);
  --hero-frame-y: clamp(14px, 2.5vw, 30px);
  --hero-frame-x: clamp(14px, 3vw, 34px);
  --hero-pane-gutter-x: calc(var(--hero-pad-x) - var(--hero-frame-x));
  --hero-pane-gutter-y: calc(var(--hero-pad-y) - var(--hero-frame-y));
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(500px, 1.02fr);
  grid-template-areas:
    "copy quote";
  gap: clamp(34px, 4.8vw, 74px);
  align-content: center;
  align-items: center;
  width: 100%;
  max-width: 1580px;
  min-height: calc(90svh - 73px);
  margin: 0 auto;
  padding: var(--hero-pad-y) var(--hero-pad-x);
}

.hero::before {
  content: "";
  position: absolute;
  inset: var(--hero-frame-y) var(--hero-frame-x);
  z-index: -2;
  border: 1px solid rgba(232, 93, 42, 0.09);
  border-radius: 20px;
  background: #fff9f5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.hero-quote-stage {
  grid-area: quote;
  position: relative;
  z-index: 0;
  display: grid;
  align-items: center;
  align-self: stretch;
  min-width: 0;
}

.hero-quote-stage::before {
  content: "";
  position: absolute;
  top: calc(0px - var(--hero-pane-gutter-y));
  right: calc(0px - var(--hero-pane-gutter-x));
  bottom: calc(0px - var(--hero-pane-gutter-y));
  left: calc(0px - var(--hero-pane-gutter-x));
  z-index: -1;
  border-left: 1px solid rgba(47, 102, 201, 0.08);
  border-radius: 0 20px 20px 0;
  background: #f5f8ff;
}

.hero-copy {
  grid-area: copy;
  display: grid;
  justify-items: start;
  width: 100%;
  min-width: 0;
  max-width: 700px;
  text-align: left;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--blue-dark);
}

.hero-eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: clamp(56px, 5.25vw, 82px);
  line-height: 1;
  font-weight: 950;
  text-shadow: none;
}

#hero-title {
  white-space: nowrap;
}

.hero-subtitle {
  display: grid;
  gap: 5px;
  width: 100%;
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(102, 112, 133, 0.94);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.45;
}

.hero-subtitle span {
  display: block;
}

.hero-subtitle span:first-child {
  color: var(--blue-dark);
  font-weight: 800;
}

.hero-subtitle span:last-child {
  color: rgba(102, 112, 133, 0.96);
}

.hero-trustline {
  display: grid;
  grid-template-columns: 0.9fr 1.18fr 1.12fr;
  gap: 0;
  width: 100%;
  max-width: 100%;
  margin-top: 22px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(234, 215, 203, 0.8);
  border-radius: 0;
  background: transparent;
  color: rgba(20, 47, 88, 0.84);
  font-size: 11px;
  font-weight: 900;
  box-shadow: none;
}

.hero-trustline span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 1 auto;
  min-height: 24px;
  max-width: 100%;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid rgba(20, 47, 88, 0.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  white-space: nowrap;
}

.hero-trustline span + span {
  border-left: 0;
}

.hero-trustline span:first-child {
  padding-left: 0;
}

.hero-trustline span:last-child {
  padding-right: 0;
  border-right: 0;
}

.hero-trustline span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: none;
}

.hero-trustline span:nth-child(2)::before {
  background: var(--green);
}

.hero-trustline span:nth-child(3)::before {
  background: var(--blue);
}

.hero-journey-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: min(100%, 660px);
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(47, 102, 201, 0.13);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  background: #fbfcff;
  box-shadow: 0 14px 34px rgba(20, 47, 88, 0.06);
}

.hero-journey-card::before {
  display: none;
}

.journey-bag {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #eaf1ff;
  border: 1px solid rgba(47, 102, 201, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.journey-bag::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 36px;
  border: 3px solid var(--orange-dark);
  border-radius: 10px 10px 8px 8px;
  background: rgba(255, 250, 246, 0.96);
}

.journey-bag::after {
  content: "";
  position: absolute;
  top: 15px;
  width: 17px;
  height: 11px;
  border: 3px solid var(--orange-dark);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.journey-bag span {
  position: relative;
  z-index: 1;
  display: block;
  width: 13px;
  height: 3px;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--orange-dark);
}

.hero-journey-card strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--blue-dark);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.12;
  font-weight: 950;
}

.hero-journey-card p {
  position: relative;
  z-index: 1;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.step-pill,
.tiny-note,
.soft-pill,
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 31px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #eef4ff;
  border: 1px solid #d6e4ff;
  font-size: 12px;
  font-weight: 900;
}

.tiny-note {
  color: #087255;
  background: var(--green-soft);
  border-color: #c8ecde;
  white-space: nowrap;
}

.badge.attention {
  margin-left: 6px;
  color: #9f3413;
  background: #fff0e7;
  border-color: #ffcbb4;
}

.instant-quote,
.flow-panel,
.support {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(234, 223, 215, 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.instant-quote {
  grid-area: auto;
  align-self: center;
  position: relative;
  overflow: visible;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: clamp(24px, 3vw, 38px);
  background: #fff;
  border-color: rgba(232, 93, 42, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(84, 45, 24, 0.11);
}

.instant-quote::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--orange) 0 48%, var(--gold) 48% 72%, var(--blue) 72% 100%);
}

.quote-topline,
.panel-heading,
.section-head,
.site-footer,
.support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.instant-quote h2,
.panel-heading h2,
.section-head h2,
.trust h2,
.support h2,
.faq h2,
.how h2 {
  margin: 0;
}

.instant-quote h2 {
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--blue-dark);
}

.instant-quote .quote-topline {
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(47, 102, 201, 0.12);
}

.route-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
  margin-top: 18px;
}

.route-form label {
  min-width: 0;
}

.route-form input,
.route-form select {
  min-width: 0;
  border-color: rgba(20, 47, 88, 0.18);
  background: #fff;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 800;
}

.route-form label > span:first-child {
  color: var(--blue-dark);
}

.route-form .primary-button {
  grid-column: auto;
  min-width: 0;
  min-height: 58px;
  padding-inline: 16px;
  font-size: 17px;
}

.route-field input {
  padding-left: 14px;
}

.route-field {
  position: relative;
}

.seo-answer-hub {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(18px, 3vw, 38px);
  width: min(1500px, calc(100% - 44px));
  margin: clamp(34px, 6vw, 78px) auto;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid rgba(232, 93, 42, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 246, 239, 0.88)),
    repeating-linear-gradient(135deg, rgba(232, 93, 42, 0.022) 0 1px, transparent 1px 24px);
  box-shadow: 0 22px 54px rgba(84, 45, 24, 0.08);
}

.seo-faq-mini {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.seo-topic-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-topic-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(232, 93, 42, 0.2);
  border-radius: 999px;
  background: rgba(255, 250, 246, 0.9);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.seo-topic-links a:hover {
  border-color: rgba(232, 93, 42, 0.44);
  color: var(--orange-dark);
}

.seo-faq-mini details {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid rgba(234, 223, 215, 0.95);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.seo-faq-mini summary {
  color: var(--blue-dark);
  cursor: pointer;
  font-weight: 950;
  line-height: 1.25;
}

.seo-faq-mini p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.48;
}

.seo-answer-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
}

.seo-answer-copy h2,
.guide-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(34px, 4vw, 66px);
  line-height: 1.02;
  font-weight: 950;
  text-shadow: none;
}

.seo-answer-copy p,
.guide-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
}

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

.seo-answer-grid article,
.guide-grid article,
.guide-faq details {
  min-width: 0;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid rgba(234, 223, 215, 0.95);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
}

.seo-answer-grid h3,
.guide-grid h2 {
  margin: 0 0 9px;
  color: var(--blue-dark);
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.14;
}

.guide-grid h2 a {
  color: inherit;
  text-decoration: none;
}

.guide-grid h2 a:hover {
  color: var(--orange-dark);
}

.seo-answer-grid p,
.guide-grid p,
.guide-faq p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.guide-page {
  width: min(1380px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 76px) 0;
}

.guide-hero {
  display: grid;
  justify-items: center;
  gap: 16px;
  min-height: 44svh;
  padding: clamp(34px, 6vw, 72px) clamp(20px, 5vw, 80px);
  border: 1px solid rgba(232, 93, 42, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 241, 231, 0.6)),
    repeating-linear-gradient(135deg, rgba(232, 93, 42, 0.026) 0 1px, transparent 1px 24px);
  text-align: center;
}

.guide-hero h1 {
  font-size: clamp(52px, 7vw, 96px);
}

.guide-cta {
  margin-top: 8px;
}

.guide-review-note {
  max-width: none !important;
  color: var(--blue-dark) !important;
  font-size: 13px !important;
  font-weight: 800;
  line-height: 1.4 !important;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(24px, 4vw, 44px);
}

.guide-grid article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(232, 93, 42, 0.12);
  color: var(--orange-dark);
  font-weight: 950;
}

.guide-faq {
  display: grid;
  gap: 12px;
  margin-top: clamp(24px, 4vw, 44px);
}

.guide-topic-links {
  margin-top: clamp(24px, 4vw, 44px);
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(232, 93, 42, 0.14);
  border-radius: 14px;
  background: rgba(255, 250, 246, 0.82);
}

.guide-topic-links h2 {
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.05;
}

.guide-faq h2 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.04;
}

.guide-faq summary {
  color: var(--blue-dark);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.guide-faq details p {
  margin-top: 12px;
}

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

.bag-mix-field {
  position: relative;
}

.bag-mix-trigger {
  position: relative;
  display: grid;
  align-content: center;
  width: 100%;
  min-height: 52px;
  padding: 10px 42px 10px 14px;
  border: 1px solid #dfcfc4;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: none;
  text-align: left;
}

.bag-mix-trigger::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-62%) rotate(45deg);
  opacity: 0.75;
}

.bag-mix-trigger span {
  overflow: hidden;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 900;
  word-spacing: 0.08em;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bag-mix-trigger small {
  overflow: hidden;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bag-mix-trigger:hover,
.bag-mix-trigger[aria-expanded="true"] {
  border-color: rgba(232, 93, 42, 0.48);
  background: #fffaf6;
}

.bag-mix-popover {
  position: absolute;
  z-index: 95;
  top: calc(100% + 10px);
  right: 0;
  width: min(440px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(232, 93, 42, 0.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(41, 24, 9, 0.18);
}

.bag-mix-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(232, 93, 42, 0.14);
}

.bag-mix-popover-head strong {
  color: var(--ink);
  font-size: 18px;
}

.bag-mix-popover-head span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: var(--orange-soft);
  font-weight: 900;
}

.bag-mix-popover-list {
  display: grid;
  max-height: 410px;
  overflow: auto;
}

.bag-mix-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(19, 47, 86, 0.08);
  background: #fff;
}

.bag-mix-option.active {
  background: #fff6ef;
}

.bag-mix-option strong {
  display: block;
  color: var(--ink);
  font-weight: 900;
}

.bag-mix-option p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.22;
}

.bag-mix-option > div:first-child {
  min-width: 0;
}

.item-stepper.compact {
  grid-template-columns: 34px 24px 34px;
  gap: 6px;
}

.item-stepper.compact button {
  width: 34px;
  height: 34px;
  min-height: 34px;
}

.bag-mix-popover-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 18px;
  color: var(--muted);
  background: #fff8f3;
}

.bag-mix-popover-footer p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.32;
}

.bag-mix-popover-footer button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--orange);
  font-weight: 900;
}

.bag-mix-popover-footer button:hover {
  background: var(--orange-dark);
}

.location-suggest-panel {
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: min(360px, 92vw);
  overflow: hidden;
  border: 1px solid rgba(234, 215, 203, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 64px rgba(84, 45, 24, 0.18);
}

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

.location-suggest-option {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid rgba(234, 215, 203, 0.72);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.location-suggest-option:last-child {
  border-bottom: 0;
}

.location-suggest-option:hover,
.location-suggest-option.active {
  background: #fff3eb;
}

.location-suggest-option > span:last-child {
  min-width: 0;
}

.location-suggest-option strong,
.location-suggest-option small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-suggest-option strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.location-suggest-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.location-pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--orange-soft);
}

.location-pin::before {
  width: 12px;
  height: 16px;
  border: 2px solid var(--orange-dark);
  border-radius: 10px 10px 12px 12px;
  content: "";
}

.location-pin::after {
  position: absolute;
  top: 13px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--orange-dark);
  content: "";
}

.route-assist-bar,
.route-assist-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.route-assist-bar {
  margin-top: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(234, 215, 203, 0.86);
  border-radius: 8px;
  background: rgba(255, 250, 246, 0.82);
}

.instant-quote .route-assist-bar {
  align-items: center;
}

.route-assist-card {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(234, 215, 203, 0.9);
  border-radius: 8px;
  background: #fffaf6;
}

.instant-quote .route-assist-bar.ready {
  gap: 8px;
  margin-top: 9px;
  padding: 2px 0;
  border: 0;
  background: transparent;
}

.instant-quote .route-assist-bar.ready p {
  display: none;
}

.route-assist-bar strong,
.route-assist-card strong {
  display: block;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
}

.route-assist-bar p,
.route-assist-card p {
  margin: 2px 0 0;
}

.route-assist-bar.estimate,
.route-assist-card.estimate {
  border-color: rgba(54, 102, 196, 0.2);
  background: rgba(244, 248, 255, 0.92);
}

.route-assist-bar.estimate .route-assist-icon,
.route-assist-card.estimate .route-assist-icon {
  border-color: var(--blue);
}

.route-assist-bar.estimate .route-assist-icon::before,
.route-assist-bar.estimate .route-assist-icon::after,
.route-assist-card.estimate .route-assist-icon::before,
.route-assist-card.estimate .route-assist-icon::after {
  background: var(--blue);
}

.route-form input[aria-invalid="true"] {
  border-color: #c63722;
  box-shadow: 0 0 0 3px rgba(198, 55, 34, 0.1);
}

.quote-draft-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(31, 126, 94, 0.22);
  border-radius: 8px;
  background: #f4fbf8;
  color: var(--blue-dark);
  font-size: 13px;
}

.quote-draft-notice[hidden],
.route-panel-internal[hidden] {
  display: none !important;
}

.quote-draft-icon {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 2px solid #1b8f6b;
  border-radius: 50%;
}

.quote-draft-icon::after {
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #1b8f6b;
  border-bottom: 2px solid #1b8f6b;
  content: "";
  transform: rotate(42deg);
}

.quote-draft-actions {
  display: inline-flex;
  gap: 6px;
  margin-left: auto;
}

.quote-draft-actions button,
.button-link {
  border: 0;
  color: var(--orange-dark);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.quote-draft-actions button {
  min-height: 34px;
  padding: 4px 9px;
  border-radius: 6px;
}

.quote-draft-actions button:hover,
.button-link:hover {
  background: rgba(232, 93, 42, 0.07);
}

.instant-quote .route-assist-bar p {
  overflow: visible;
  max-width: 100%;
  text-overflow: clip;
  white-space: normal;
}

.route-assist-icon {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  background: #fff;
}

.route-assist-icon::before,
.route-assist-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  background: var(--orange);
  transform: translateX(-50%);
}

.route-assist-icon::before {
  top: 4px;
  width: 4px;
  height: 8px;
  border-radius: 3px;
}

.route-assist-icon::after {
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.route-assist-bar.ready .route-assist-icon,
.route-assist-card.ready .route-assist-icon {
  border-color: #17916f;
}

.route-assist-bar.ready .route-assist-icon::before {
  top: 5px;
  left: 46%;
  width: 5px;
  height: 10px;
  border-right: 3px solid #17916f;
  border-bottom: 3px solid #17916f;
  border-radius: 0;
  background: transparent;
  transform: translateX(-50%) rotate(42deg);
}

.route-assist-bar.ready .route-assist-icon::after,
.route-assist-card.ready .route-assist-icon::after {
  display: none;
}

.route-assist-card.ready .route-assist-icon::before {
  top: 5px;
  left: 46%;
  width: 5px;
  height: 10px;
  border-right: 3px solid #17916f;
  border-bottom: 3px solid #17916f;
  border-radius: 0;
  background: transparent;
  transform: translateX(-50%) rotate(42deg);
}

.quote-flowline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(234, 215, 203, 0.82);
  color: rgba(20, 47, 88, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.quote-flowline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 32px;
  padding: 0 4px;
  text-align: center;
  white-space: normal;
}

.quote-flowline strong {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--orange-dark);
  background: rgba(232, 93, 42, 0.1);
  font-size: 11px;
  line-height: 1;
}

.quote-flowline em {
  font-style: normal;
  line-height: 1.15;
}

.quote-flowline i {
  display: none;
}

label span,
legend {
  display: block;
  margin-bottom: 8px;
  color: #342c27;
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #e0d1c6;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

textarea {
  min-height: 104px;
  padding: 13px 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(232, 93, 42, 0.13);
}

.mini-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.quote-proof,
.hero-proofline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
}

.quote-proof {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(234, 215, 203, 0.88);
  color: #4e4139;
  font-size: 13px;
  font-weight: 900;
}

.quote-proof span,
.hero-proofline span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.quote-proof span::before,
.hero-proofline span::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.hero-proofline {
  grid-area: proof;
  color: #62544b;
  font-size: 14px;
  font-weight: 850;
}

.experience-layer {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
  max-width: 1240px;
  margin: clamp(12px, 3vw, 28px) auto clamp(44px, 6vw, 72px);
  padding: 0 clamp(18px, 4vw, 56px);
}

.experience-copy h2 {
  max-width: 520px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.04;
  font-weight: 950;
}

.experience-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.experience-panel {
  display: grid;
  gap: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.experience-panel-head {
  display: grid;
  gap: 6px;
  max-width: 620px;
}

.experience-panel-head strong {
  color: var(--ink);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.12;
}

.experience-panel-head span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

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

.experience-grid article {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 17px;
  background: rgba(255, 250, 246, 0.8);
  border: 1px solid rgba(234, 215, 203, 0.92);
  border-radius: 8px;
  box-shadow: none;
}

.experience-grid article span {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 950;
}

.experience-grid strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.18;
}

.experience-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.quote-flow,
.how,
.knowledge-base,
.faq {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 56px) clamp(54px, 7vw, 86px);
}

.quote-flow {
  scroll-margin-top: 96px;
  padding-bottom: clamp(50px, 6vw, 74px);
}

.quote-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.progress-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.step-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 7px 10px;
  border: 1px solid rgba(234, 215, 203, 0.78);
  border-radius: 8px;
  background: rgba(255, 250, 246, 0.68);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  min-width: 0;
}

.step-tab span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.step-tab strong {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.step-tab.active {
  color: var(--ink);
  border-color: rgba(232, 93, 42, 0.28);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(232, 93, 42, 0.08);
}

.step-tab.active span {
  color: #fff;
  background: var(--orange-dark);
}

.flow-panel {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: clamp(22px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(232, 93, 42, 0.15);
  box-shadow: 0 18px 48px rgba(84, 45, 24, 0.09);
}

.step-panel {
  display: none;
}

.step-panel.active {
  display: grid;
  gap: 24px;
}

#quoteForm,
.step-panel,
.panel-heading,
.rate-grid,
.panel-actions {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.field-grid {
  display: grid;
  gap: 14px;
}

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

.trap-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

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

.field-grid.compact-address {
  grid-template-columns: 1.2fr 0.7fr 0.9fr 0.7fr;
}

.field-grid.dimensions {
  grid-template-columns: 0.8fr repeat(4, 1fr);
}

.size-edit {
  overflow: hidden;
  border: 1px solid rgba(234, 215, 203, 0.92);
  border-radius: 8px;
  background: #fffaf6;
}

.size-edit summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  color: var(--blue-dark);
  font-weight: 950;
  cursor: pointer;
  list-style-position: inside;
}

.size-edit summary::marker {
  color: var(--orange-dark);
}

.size-edit summary em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  text-align: right;
}

.size-edit[open] summary {
  border-bottom: 1px solid rgba(234, 215, 203, 0.92);
  background: #fff;
}

.size-edit > .dimension-guide,
.size-edit > .field-grid,
.size-edit > .unit-note {
  margin: 14px;
}

.size-edit > .dimension-guide {
  margin-bottom: 12px;
}

.item-mix-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(232, 93, 42, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 244, 236, 0.78), rgba(255, 255, 255, 0.96)),
    #fff;
  box-shadow: 0 18px 50px rgba(41, 24, 9, 0.06);
}

.item-mix-head,
.item-mix-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.item-mix-head strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.item-mix-head p,
.item-mix-footer span {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.item-mix-head > span {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: var(--orange-soft);
  font-weight: 900;
}

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

.item-mix-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid #eadbd0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.item-mix-row.active {
  border-color: rgba(232, 93, 42, 0.46);
  background: #fff8f2;
  box-shadow: 0 10px 24px rgba(232, 93, 42, 0.08);
}

.item-mix-row strong,
.item-mix-footer strong {
  color: var(--ink);
  font-weight: 900;
}

.item-mix-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.25;
}

.item-stepper {
  display: grid;
  grid-template-columns: 40px 28px 40px;
  align-items: center;
  gap: 8px;
}

.item-stepper button {
  width: 40px;
  height: 40px;
  min-height: 40px;
  border: 1px solid rgba(19, 47, 86, 0.22);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: none;
  font-size: 1.25rem;
  font-weight: 900;
}

.item-stepper button:not(:disabled):hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.item-stepper button:disabled {
  color: #c5bcb5;
  background: #f6f1ed;
  cursor: not-allowed;
}

.item-stepper span {
  color: var(--ink);
  text-align: center;
  font-weight: 900;
}

.item-mix-footer {
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(232, 93, 42, 0.16);
}

.mix-summary-line {
  margin-top: 8px;
  color: var(--orange-dark);
  font-weight: 900;
}

.legacy-item-tabs {
  display: none;
}

.item-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.item-tabs.legacy-item-tabs {
  display: none;
}

.item-tabs legend {
  grid-column: 1 / -1;
}

.item-tabs label {
  cursor: pointer;
}

.item-tabs input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
}

.item-tabs label span {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 122px;
  margin: 0;
  border: 1px solid #e4d6cc;
  border-radius: 8px;
  color: var(--muted);
  background: #fffaf6;
  text-align: center;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.item-tabs label:hover span {
  border-color: rgba(232, 93, 42, 0.34);
  transform: translateY(-1px);
}

.item-icon {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  color: var(--orange-dark);
  background: var(--orange-soft);
  box-shadow: inset 0 0 0 1px rgba(232, 93, 42, 0.08);
}

.item-icon::before,
.item-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.item-icon-suitcase::before {
  left: 12px;
  top: 20px;
  width: 30px;
  height: 23px;
  border: 4px solid currentColor;
  border-radius: 8px;
}

.item-icon-suitcase::after {
  left: 19px;
  top: 11px;
  width: 16px;
  height: 13px;
  border: 4px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.item-icon-box::before {
  left: 13px;
  top: 15px;
  width: 28px;
  height: 28px;
  border: 4px solid currentColor;
  border-radius: 7px;
}

.item-icon-box::after {
  left: 25px;
  top: 16px;
  width: 4px;
  height: 27px;
  border-radius: 99px;
  background: currentColor;
}

.item-icon-golf::before {
  left: 16px;
  top: 11px;
  width: 20px;
  height: 34px;
  border: 4px solid currentColor;
  border-radius: 14px 14px 10px 10px;
  transform: rotate(-8deg);
}

.item-icon-golf::after {
  right: 10px;
  top: 8px;
  width: 4px;
  height: 38px;
  border-radius: 99px;
  background: currentColor;
  transform: rotate(16deg);
}

.item-icon-skis::before,
.item-icon-skis::after {
  top: 8px;
  width: 5px;
  height: 39px;
  border-radius: 99px;
  background: currentColor;
  transform: rotate(-18deg);
}

.item-icon-skis::before {
  left: 20px;
}

.item-icon-skis::after {
  left: 30px;
}

.item-icon-snowboard::before {
  left: 8px;
  top: 21px;
  width: 38px;
  height: 14px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-12deg);
}

.item-icon-snowboard::after {
  left: 21px;
  top: 22px;
  width: 5px;
  height: 10px;
  border-radius: 99px;
  background: var(--orange-soft);
  box-shadow: 10px 0 0 var(--orange-soft);
  transform: rotate(-12deg);
}

.item-tabs em {
  font-style: normal;
  font-weight: 900;
}

.item-tabs input:checked + span {
  border-color: var(--orange-dark);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(232, 93, 42, 0.1);
}

.item-tabs input:checked + span .item-icon {
  color: #fff;
  background: var(--orange-dark);
  box-shadow: none;
}

.item-tabs input:checked + span .item-icon-snowboard::after {
  background: var(--orange-dark);
  box-shadow: 10px 0 0 var(--orange-dark);
}

.dimension-guide {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(232, 93, 42, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #fffaf6, rgba(255, 240, 231, 0.75));
}

.dimension-guide strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.dimension-guide p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.dimension-box {
  position: relative;
  width: 132px;
  height: 88px;
  color: var(--orange-dark);
}

.dimension-box svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.dimension-front,
.dimension-top,
.dimension-side {
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linejoin: round;
}

.dimension-front {
  fill: rgba(255, 255, 255, 0.88);
}

.dimension-top,
.dimension-side {
  fill: rgba(232, 93, 42, 0.1);
}

.dimension-edge,
.dimension-line,
.dimension-cap {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dimension-edge {
  stroke-width: 2.2;
  opacity: 0.58;
}

.dimension-line,
.dimension-cap {
  stroke-width: 2.8;
}

.dimension-text {
  fill: currentColor;
  font-size: 13px;
  font-weight: 950;
  font-family: var(--font);
}

.size-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(232, 93, 42, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 240, 231, 0.82), rgba(255, 250, 246, 0.98));
}

.size-summary strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.size-summary-metrics {
  min-width: 250px;
  text-align: right;
}

.size-summary p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

@media (max-width: 720px) {
  .size-summary-metrics {
    min-width: 0;
    text-align: left;
  }
}

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

.ai-guidance {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(47, 102, 201, 0.18);
  border-radius: 8px;
  background: #f7fbff;
}

.mode-card,
.recommendation-card,
.protection-panel,
.photo-help,
.contents-panel {
  display: grid;
  gap: 6px;
  padding: 15px;
  border: 1px solid rgba(232, 93, 42, 0.16);
  border-radius: 8px;
  background: var(--orange-soft);
}

.mode-card.international {
  border-color: rgba(22, 163, 123, 0.28);
  background: #f4fbf8;
}

.roundtrip-assist,
.save-item-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(260px, 0.72fr);
  align-items: center;
  gap: 15px;
  padding: 16px;
  border: 1px solid rgba(232, 93, 42, 0.18);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 250, 246, 0.96), rgba(255, 240, 231, 0.52)),
    #fff;
}

.roundtrip-assist h3,
.save-item-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.18;
}

.roundtrip-assist p:not(.eyebrow),
.save-item-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.roundtrip-icon,
.save-item-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: var(--orange-dark);
  background: rgba(232, 93, 42, 0.1);
}

.roundtrip-icon::before,
.roundtrip-icon::after {
  content: "";
  position: absolute;
  border: 3px solid currentColor;
  border-radius: 999px;
}

.roundtrip-icon::before {
  width: 30px;
  height: 19px;
  border-right-color: transparent;
  transform: rotate(18deg);
}

.roundtrip-icon::after {
  width: 30px;
  height: 19px;
  border-left-color: transparent;
  transform: rotate(198deg);
}

.save-item-icon::before {
  content: "";
  width: 26px;
  height: 24px;
  border: 4px solid currentColor;
  border-radius: 8px;
  box-shadow: inset 0 -8px 0 rgba(232, 93, 42, 0.14);
}

.save-item-icon::after {
  content: "";
  position: absolute;
  top: 11px;
  width: 17px;
  height: 8px;
  border: 4px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.roundtrip-controls,
.save-item-controls {
  display: grid;
  gap: 10px;
}

.mini-check {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid rgba(234, 215, 203, 0.85);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.mini-check input {
  width: 18px;
  min-height: 18px;
}

.contents-panel.international {
  border-color: rgba(22, 163, 123, 0.28);
  background: #f4fbf8;
}

.mode-card strong,
.recommendation-card strong,
.protection-panel h3,
.photo-help h3,
.contents-panel h3,
.contents-summary strong {
  color: var(--ink);
  font-size: 15px;
}

.mode-card span,
.recommendation-card p,
.protection-panel p,
.photo-help p,
.contents-panel p,
.contents-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.recommendation-card {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
}

.recommendation-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: var(--orange-dark);
  font-size: 12px;
  font-weight: 950;
}

.secondary-button.compact {
  min-height: 38px;
  padding: 0 13px;
  font-size: 13px;
}

.photo-help {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.photo-icon {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #fffaf6;
  border: 1px dashed rgba(199, 72, 26, 0.38);
}

.photo-icon::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 13px;
  width: 30px;
  height: 24px;
  border: 3px solid var(--orange-dark);
  border-radius: 7px;
}

.photo-icon::after {
  content: "?";
  position: absolute;
  left: 19px;
  top: 14px;
  color: var(--orange-dark);
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
}

.upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf6;
  color: var(--blue-dark);
  font-weight: 900;
  cursor: pointer;
}

.upload-button span {
  margin: 0;
  color: inherit;
}

.upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-status {
  grid-column: 2 / -1;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contents-panel {
  gap: 14px;
}

.contents-panel.collapsed {
  gap: 8px;
  border-color: var(--line);
  background: #fffaf6;
}

.contents-panel.collapsed label,
.contents-panel.collapsed .contents-summary {
  display: none;
}

.contents-panel.collapsed .contents-heading {
  align-items: center;
}

.contents-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.contents-summary {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.customs-draft-head span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #087255;
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 950;
}

.customs-original,
.customs-review-note {
  padding: 10px 12px;
  border-radius: 8px;
}

.contents-summary .customs-original {
  color: var(--ink);
  background: rgba(255, 250, 246, 0.92);
}

.contents-summary .customs-review-note {
  color: var(--muted);
  background: rgba(232, 93, 42, 0.07);
  font-size: 13px;
}

.contents-summary ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contents-summary li {
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #eef4ff;
  font-size: 13px;
  font-weight: 900;
}

.ai-guidance .note {
  color: #3d342f;
  font-size: 14px;
  line-height: 1.45;
}

.ai-guidance strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

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

.rate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.rate-card {
  position: relative;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 0;
  padding: 19px;
  border: 1px solid rgba(234, 215, 203, 0.94);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.rate-card:hover {
  border-color: rgba(232, 93, 42, 0.34);
  box-shadow: 0 14px 34px rgba(84, 45, 24, 0.08);
  transform: translateY(-1px);
}

.rate-card.selected {
  border-color: var(--orange);
  background: linear-gradient(180deg, #fff, #fff8f3);
  box-shadow: 0 0 0 4px rgba(232, 93, 42, 0.12), 0 20px 46px rgba(84, 45, 24, 0.12);
}

.rate-card.estimated {
  border-color: rgba(54, 102, 196, 0.24);
  background: linear-gradient(180deg, #fff, #f8faff);
}

.rate-card.estimated.selected {
  border-color: var(--blue);
  background: linear-gradient(180deg, #fff, #f3f7ff);
  box-shadow: 0 0 0 4px rgba(54, 102, 196, 0.1), 0 20px 46px rgba(28, 54, 104, 0.1);
}

.rate-card.estimated .price {
  color: var(--blue-dark);
  font-size: clamp(26px, 3vw, 40px);
  white-space: nowrap;
}

.rate-status-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(234, 215, 203, 0.92);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 250, 246, 0.9);
  font-size: 14px;
  line-height: 1.35;
}

.rate-status-strip span {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(232, 93, 42, 0.12);
}

.rate-status-strip strong {
  color: var(--ink);
  font-weight: 900;
}

.rate-status-strip small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.rate-status-strip.estimate {
  border-color: rgba(54, 102, 196, 0.2);
  background: rgba(244, 248, 255, 0.92);
}

.rate-status-strip.estimate span {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(54, 102, 196, 0.12);
}

.rate-status-strip.live {
  border-color: rgba(26, 164, 117, 0.22);
  background: rgba(240, 252, 247, 0.92);
}

.rate-status-strip.live span {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(26, 164, 117, 0.12);
}

.rate-status-strip.loading span {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(54, 102, 196, 0.12);
}

.international-charge-note {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  grid-column: 1 / -1;
  align-items: start;
  gap: 12px;
  padding: 12px 2px;
  border-top: 1px solid rgba(234, 215, 203, 0.86);
  border-bottom: 1px solid rgba(234, 215, 203, 0.86);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.international-charge-note strong,
.checkout-international-note strong {
  color: var(--blue-dark);
  font-weight: 950;
}

.rate-empty,
.checkout-rate-required {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 22px;
  border: 1px solid rgba(234, 215, 203, 0.94);
  border-radius: 8px;
  background: #fffaf6;
}

.rate-empty.loading {
  grid-template-columns: auto minmax(0, 1fr);
}

.rate-empty-icon {
  position: relative;
  width: 46px;
  height: 46px;
  border: 2px solid var(--orange);
  border-radius: 12px;
  background: #fff;
}

.rate-empty-icon::before,
.rate-empty-icon::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
}

.rate-empty-icon::before {
  top: 15px;
}

.rate-empty-icon::after {
  top: 25px;
}

.rate-empty.loading .rate-empty-icon {
  border-color: var(--blue);
  animation: rate-pulse 1.2s ease-in-out infinite;
}

.rate-empty strong,
.checkout-rate-required strong {
  display: block;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
}

.rate-empty p,
.checkout-rate-required p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.rate-empty-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.rate-empty-actions .secondary-button {
  min-height: 46px;
  padding: 0 18px;
}

.rate-empty-actions .text-link {
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.checkout-rate-required {
  grid-template-columns: auto minmax(0, 1fr);
  background: #fff;
}

.checkout-estimate-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(54, 102, 196, 0.2);
  border-radius: 8px;
  background: rgba(244, 248, 255, 0.92);
}

.checkout-estimate-notice .rate-empty-icon {
  border-color: var(--blue);
}

.checkout-estimate-notice .rate-empty-icon::before,
.checkout-estimate-notice .rate-empty-icon::after {
  background: var(--blue);
}

.checkout-estimate-notice strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.checkout-estimate-notice p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

@keyframes rate-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.rate-visual {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--orange-dark);
  background: var(--orange-soft);
}

.rate-visual::before,
.rate-visual::after {
  content: "";
  position: absolute;
  display: block;
}

.rate-visual-bestValue::before {
  left: 11px;
  top: 13px;
  width: 26px;
  height: 20px;
  border: 4px solid currentColor;
  border-radius: 7px;
}

.rate-visual-bestValue::after {
  left: 17px;
  top: 33px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 14px 0 0 currentColor;
}

.rate-visual-popular::before {
  left: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background:
    linear-gradient(currentColor 0 0) 8px 5px / 8px 4px no-repeat,
    linear-gradient(currentColor 0 0) 6px 13px / 12px 4px no-repeat,
    linear-gradient(currentColor 0 0) 4px 21px / 16px 4px no-repeat;
  border: 3px solid currentColor;
}

.rate-visual-popular::after {
  right: 8px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.rate-visual-fastest::before {
  left: 8px;
  top: 20px;
  width: 30px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow:
    -4px -10px 0 -2px currentColor,
    -4px 10px 0 -2px currentColor;
}

.rate-visual-fastest::after {
  right: 8px;
  top: 14px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 14px solid currentColor;
}

.rate-visual-fedexAccountRate {
  color: var(--blue-dark);
  background: #eef5ff;
}

.rate-visual-fedexAccountRate::before {
  left: 11px;
  top: 10px;
  width: 25px;
  height: 30px;
  border: 3px solid currentColor;
  border-radius: 6px;
  background:
    linear-gradient(currentColor 0 0) 6px 8px / 13px 3px no-repeat,
    linear-gradient(currentColor 0 0) 6px 15px / 13px 3px no-repeat,
    linear-gradient(currentColor 0 0) 6px 22px / 9px 3px no-repeat,
    #fff;
}

.rate-visual-fedexAccountRate::after {
  right: 8px;
  bottom: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  color: #fff;
  background:
    linear-gradient(#fff 0 0) 4px 7px / 7px 2px no-repeat,
    linear-gradient(#fff 0 0) 7px 4px / 2px 7px no-repeat,
    var(--green);
  box-shadow: 0 0 0 3px #eef5ff;
}

.rate-visual-estimateBadge::before {
  left: 10px;
  top: 11px;
  width: 28px;
  height: 25px;
  border: 3px solid currentColor;
  border-radius: 8px;
  background:
    linear-gradient(currentColor 0 0) 6px 7px / 16px 3px no-repeat,
    linear-gradient(currentColor 0 0) 6px 14px / 11px 3px no-repeat,
    #fff;
}

.rate-visual-estimateBadge::after {
  right: 7px;
  bottom: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    linear-gradient(#fff 0 0) 4px 6px / 6px 2px no-repeat,
    linear-gradient(#fff 0 0) 6px 4px / 2px 6px no-repeat,
    var(--orange-dark);
  box-shadow: 0 0 0 3px var(--orange-soft);
}

.rate-date {
  display: grid;
  gap: 4px;
}

.rate-date strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.16;
}

.rate-date span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

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

.carrier h3 {
  margin: 0;
  font-size: 18px;
}

.carrier-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue-dark);
  font-size: 12px;
  font-weight: 950;
}

.carrier-mark.ups {
  background: #4b3424;
}

.price {
  margin: 0;
  color: var(--orange-dark);
  font-size: 36px;
  line-height: 1;
  font-weight: 950;
}

.meta {
  grid-column: 3 / 5;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.rate-source {
  grid-column: 3 / 5;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: var(--orange-soft);
  font-size: 12px;
  font-weight: 900;
}

.select-line {
  grid-column: 1 / -1;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 950;
}

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

.addon {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf6;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.addon:hover {
  border-color: rgba(232, 93, 42, 0.34);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.addon.selected {
  border-color: rgba(232, 93, 42, 0.72);
  background: var(--orange-soft);
  box-shadow: 0 0 0 4px rgba(232, 93, 42, 0.1);
}

.addon input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
}

.addon-icon {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 12px;
  color: var(--orange-dark);
  background: var(--orange-soft);
}

.addon-icon::before,
.addon-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.addon-icon-packingKit::before {
  left: 10px;
  top: 12px;
  width: 22px;
  height: 20px;
  border: 3px solid currentColor;
  border-radius: 6px;
}

.addon-icon-packingKit::after {
  left: 20px;
  top: 13px;
  width: 3px;
  height: 19px;
  border-radius: 99px;
  background: currentColor;
}

.addon-icon-frontPorchPickup::before {
  left: 9px;
  top: 15px;
  width: 24px;
  height: 17px;
  border: 3px solid currentColor;
  border-radius: 3px 3px 7px 7px;
}

.addon-icon-frontPorchPickup::after {
  left: 8px;
  top: 9px;
  width: 25px;
  height: 20px;
  border-left: 3px solid currentColor;
  border-top: 3px solid currentColor;
  transform: rotate(45deg);
  border-radius: 3px;
}

.addon-icon-aiConcierge::before {
  left: 10px;
  top: 11px;
  width: 22px;
  height: 22px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.addon-icon-aiConcierge::after {
  left: 17px;
  top: 18px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 8px 0 0 currentColor, 4px 9px 0 -1px currentColor;
}

.addon-icon-noPrinter::before {
  left: 10px;
  top: 10px;
  width: 22px;
  height: 26px;
  border: 3px solid currentColor;
  border-radius: 6px;
  background:
    linear-gradient(currentColor 0 0) 5px 7px / 12px 3px no-repeat,
    linear-gradient(currentColor 0 0) 5px 15px / 12px 3px no-repeat;
}

.addon-icon-noPrinter::after {
  right: 5px;
  bottom: 4px;
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
  transform: rotate(-38deg);
}

.addon input:focus-visible + .addon-icon {
  outline: 3px solid rgba(47, 102, 201, 0.3);
  outline-offset: 3px;
}

.addon.selected .addon-icon {
  color: #fff;
  background: var(--orange-dark);
}

.addon h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 950;
}

.addon p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.addon > span:not(.addon-icon):not(.addon-meta) {
  margin: 0;
}

.addon-price {
  display: block;
  font-weight: 950;
  white-space: nowrap;
}

.addon-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: 70px;
}

.addon-meta em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  min-width: 58px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: var(--orange-soft);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.addon.selected .addon-meta em {
  color: #087255;
  background: var(--green-soft);
}

.protection-panel {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr);
  align-items: center;
}

.value-slider {
  display: grid;
  gap: 8px;
}

.value-slider span {
  margin-bottom: 0;
}

.value-slider input {
  min-height: 28px;
  padding: 0;
  accent-color: var(--orange-dark);
}

.value-slider strong {
  color: var(--blue-dark);
  font-size: 22px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  align-items: start;
}

.checkout-stack {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 96px;
}

.checkout-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(232, 93, 42, 0.22);
  border-radius: 12px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 250, 246, 0.96), rgba(255, 255, 255, 0.98)),
    #fff;
  box-shadow: 0 24px 68px rgba(84, 45, 24, 0.12);
}

.checkout-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--orange-dark), var(--orange), var(--gold));
}

.checkout-brand-panel,
.checkout-receipt {
  border-radius: 10px;
}

.checkout-brand-panel {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 16px;
  min-height: 300px;
  padding: clamp(20px, 3vw, 30px);
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 255, 255, 0.52), transparent 26%),
    radial-gradient(circle at 16% 14%, rgba(255, 205, 148, 0.64), transparent 28%),
    linear-gradient(150deg, #fff4ec 0%, #f37a3d 52%, #c9481a 100%);
}

.checkout-brand-panel::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -48px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}

.checkout-lockup {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 7px 11px 7px 7px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.56), 0 12px 28px rgba(84, 45, 24, 0.1);
  font-weight: 950;
}

.checkout-lockup img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.checkout-lockup strong {
  color: var(--orange-dark);
}

.checkout-card .eyebrow {
  position: relative;
  z-index: 1;
  color: var(--orange-dark);
}

.checkout-card .checkout-note {
  color: var(--muted);
}

.checkout-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(33px, 4.2vw, 54px);
  line-height: 0.98;
}

.checkout-brand-copy {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: 0;
  color: rgba(20, 47, 88, 0.78);
  font-size: 15px;
  line-height: 1.5;
}

.checkout-checks {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkout-checks span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(20, 47, 88, 0.12);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 900;
}

.checkout-receipt {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: clamp(16px, 2.4vw, 24px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 241, 0.98)),
    #fff;
  border: 1px solid rgba(234, 215, 203, 0.95);
}

.review-next-steps {
  display: grid;
  gap: 11px;
  padding: 16px;
  border: 1px solid rgba(232, 93, 42, 0.16);
  border-radius: 12px;
  background: rgba(255, 250, 246, 0.92);
}

.review-next-steps strong {
  color: var(--ink);
  font-size: 16px;
}

.review-next-steps ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.checkout-lines {
  display: grid;
  gap: 0;
  margin: 0;
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  color: #342c27;
  border-bottom: 1px solid rgba(234, 215, 203, 0.92);
  font-size: 16px;
  font-weight: 750;
}

.checkout-line strong {
  color: var(--blue-dark);
  font-weight: 950;
}

.checkout-line.total {
  align-items: end;
  margin-top: 4px;
  padding: 18px 0 12px;
  border-bottom: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
}

.checkout-line.total strong {
  color: var(--orange-dark);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.98;
}

.checkout-line.total.estimate-total strong {
  color: var(--blue-dark);
  font-size: clamp(28px, 4vw, 42px);
  white-space: nowrap;
}

.checkout-international-note {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid rgba(234, 215, 203, 0.92);
  border-bottom: 1px solid rgba(234, 215, 203, 0.92);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.pay-button {
  width: 100%;
  min-height: 58px;
  margin-top: 12px;
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  box-shadow: 0 16px 32px rgba(199, 72, 26, 0.24);
}

.checkout-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.order-request-panel {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(232, 93, 42, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(140deg, rgba(255, 250, 246, 0.98), rgba(255, 255, 255, 0.98)),
    #fff;
  box-shadow: 0 20px 50px rgba(84, 45, 24, 0.09);
}

.order-request-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.order-request-head h3,
.order-section h4 {
  margin: 0;
  color: var(--ink);
}

.order-request-head h3 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.03;
}

.order-request-head p:not(.eyebrow) {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.order-section {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(234, 215, 203, 0.9);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.trap-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.order-section h4 {
  font-size: 18px;
}

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

.checkout-layout .order-request-panel .field-grid.three,
.checkout-layout .address-columns {
  grid-template-columns: 1fr;
}

.checkout-layout .field-grid.compact-address {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.consent-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(232, 93, 42, 0.22);
  border-radius: 10px;
  background: rgba(255, 240, 231, 0.58);
  cursor: pointer;
}

.consent-card input {
  width: 20px;
  min-height: 20px;
  margin-top: 3px;
  accent-color: var(--orange-dark);
}

.consent-card span {
  margin: 0;
  color: #4a403b;
  font-size: 14px;
  line-height: 1.45;
}

.order-ready-check {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(234, 215, 203, 0.95);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
}

.order-ready-check.ready {
  border-color: rgba(22, 163, 123, 0.3);
  background: linear-gradient(180deg, rgba(232, 247, 241, 0.72), rgba(255, 255, 255, 0.94));
}

.order-ready-check.needs-work {
  border-color: rgba(232, 93, 42, 0.22);
  background: linear-gradient(180deg, rgba(255, 240, 231, 0.62), rgba(255, 255, 255, 0.96));
}

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

.order-ready-head span {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-ready-head strong {
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 950;
  text-align: right;
}

.order-ready-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-ready-list span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(234, 215, 203, 0.95);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}

.order-ready-list i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(102, 112, 133, 0.45);
}

.order-ready-list span.ok {
  color: #087255;
  border-color: rgba(22, 163, 123, 0.22);
  background: var(--green-soft);
}

.order-ready-list span.ok i {
  background: var(--green);
}

.order-ready-list span.todo {
  color: var(--orange-dark);
  border-color: rgba(232, 93, 42, 0.2);
  background: rgba(255, 240, 231, 0.72);
}

.order-ready-list span.todo i {
  background: var(--orange);
}

.order-ready-check p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.order-submit-row {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.order-submit-row .pay-button {
  margin-top: 0;
}

.pay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font: inherit;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.pay-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.order-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.order-status.error {
  color: #b42318;
  font-weight: 850;
}

.order-status.loading,
.order-status.success {
  color: var(--orange-dark);
  font-weight: 850;
}

.admin-page,
.staff-page {
  display: grid;
  gap: 22px;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px) clamp(18px, 4vw, 56px) clamp(54px, 7vw, 86px);
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  align-items: end;
}

.admin-hero h1 {
  max-width: 720px;
  font-size: clamp(42px, 6vw, 82px);
}

.admin-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.admin-auth-card,
.staff-login-card,
.admin-toolbar,
.admin-order,
.empty-state {
  border: 1px solid rgba(232, 93, 42, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--tight-shadow);
}

.admin-auth-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.supervisor-session-card {
  align-content: center;
  min-height: 210px;
  padding: clamp(18px, 2.6vw, 28px);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 246, 0.94)),
    #fffaf6;
}

.supervisor-session-card > span {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.supervisor-session-card strong {
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.12;
}

.supervisor-session-card .primary-button {
  width: max-content;
  min-width: 190px;
  margin-top: 4px;
}

.staff-page {
  --staff-font: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: calc(100vh - 92px);
  align-content: center;
  max-width: none;
  padding: clamp(24px, 4vw, 52px);
  font-family: var(--staff-font);
  background:
    radial-gradient(circle at 18% 12%, rgba(232, 93, 42, 0.13), transparent 34%),
    radial-gradient(circle at 82% 22%, rgba(246, 177, 76, 0.16), transparent 30%),
    linear-gradient(180deg, #fff9f4 0%, #fff 100%);
}

.staff-body .site-header {
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.staff-body .brand {
  font-weight: 800;
}

.staff-body .header-action {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
}

.staff-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.62fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: center;
  max-width: 1180px;
  min-height: 620px;
  margin: 0 auto;
  padding: clamp(30px, 5.5vw, 70px);
  border: 1px solid rgba(232, 93, 42, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 241, 231, 0.72)),
    repeating-linear-gradient(135deg, rgba(232, 93, 42, 0.035) 0 1px, transparent 1px 30px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 30px 90px rgba(84, 45, 24, 0.1);
}

.staff-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -150px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(232, 93, 42, 0.1);
}

.staff-hero::after {
  content: "";
  position: absolute;
  left: 42%;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(246, 177, 76, 0.13);
}

.staff-copy,
.staff-console {
  position: relative;
  z-index: 1;
}

.staff-copy h1 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(50px, 6.2vw, 88px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.staff-copy p:not(.eyebrow) {
  max-width: 590px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 500;
  line-height: 1.65;
}

.staff-copy .eyebrow {
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.staff-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.staff-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(232, 93, 42, 0.18);
  border-radius: 999px;
  color: var(--orange-dark);
  background: rgba(255, 250, 246, 0.84);
  font-size: 13px;
  font-weight: 800;
}

.staff-console {
  display: grid;
  gap: 16px;
}

.staff-flow {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(232, 93, 42, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(20, 31, 55, 0.96), rgba(31, 48, 82, 0.94)),
    #14213d;
  box-shadow: 0 24px 54px rgba(20, 31, 55, 0.2);
}

.staff-flow-route {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
}

.staff-flow-route i {
  display: block;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(246, 177, 76, 0.85));
}

.staff-flow-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 110px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.staff-bag-icon {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.1);
}

.staff-bag-icon::before {
  content: "";
  position: absolute;
  left: 17px;
  top: -10px;
  width: 28px;
  height: 24px;
  border: 6px solid #fff3e9;
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
}

.staff-bag-icon span {
  position: absolute;
  left: 18px;
  top: 30px;
  width: 26px;
  height: 6px;
  border-radius: 99px;
  background: #fff3e9;
}

.staff-flow-card strong {
  display: block;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.staff-flow-card p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 600;
}

.staff-flow-card em {
  align-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  color: #44230f;
  background: var(--gold);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-transform: none;
}

.staff-login-card {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  border-color: rgba(232, 93, 42, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 54px rgba(84, 45, 24, 0.11);
}

.staff-login-card label > span {
  color: #3f352f;
  font-size: 13px;
  font-weight: 700;
}

.staff-login-card input {
  font-size: 16px;
  font-weight: 650;
}

.staff-login-card input::placeholder {
  color: #9b8a80;
  font-weight: 500;
}

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

.staff-backup-access {
  padding: 12px 14px;
  border: 1px solid rgba(234, 215, 203, 0.9);
  border-radius: 14px;
  background: #fffaf6;
}

.staff-backup-access summary {
  color: var(--orange-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.staff-backup-access .staff-identity-grid {
  margin-top: 12px;
}

.staff-token-tools {
  display: flex;
  justify-content: flex-end;
  margin-top: -6px;
}

.token-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #8b776a;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.token-link:hover {
  color: var(--orange-dark);
}

.staff-card-head {
  display: grid;
  gap: 5px;
  margin-bottom: 2px;
}

.staff-card-head span {
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.staff-card-head strong {
  color: var(--ink);
  font-size: clamp(25px, 2.5vw, 31px);
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
}

.staff-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.staff-actions .primary-button,
.staff-actions .secondary-button {
  width: 100%;
  min-height: 52px;
  font-size: 15px;
  font-weight: 800;
}

.staff-actions .primary-button {
  grid-column: 1 / -1;
}

.admin-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.admin-status.error {
  color: #b42318;
  font-weight: 850;
}

.admin-status.loading,
.admin-status.success {
  color: var(--orange-dark);
  font-weight: 850;
}

/* FedEx label validation is deliberately a compact, internal-only utility. */
.internal-tool-label {
  margin-left: auto;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fedex-test-page {
  display: grid;
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 62px) clamp(18px, 4vw, 52px) 80px;
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, sans-serif;
}

.fedex-test-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: end;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(232, 93, 42, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, #fffdfb, #fff4ed);
  box-shadow: 0 18px 54px rgba(84, 45, 24, 0.08);
}

.fedex-test-hero h1,
.fedex-test-form h2,
.fedex-test-result h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

.fedex-test-hero h1 {
  max-width: 630px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
}

.fedex-test-hero > div > p:not(.eyebrow) {
  max-width: 630px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.fedex-test-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
}

.fedex-test-rules li,
.fedex-test-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(232, 93, 42, 0.16);
  border-radius: 999px;
  color: var(--orange-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
}

.fedex-test-access {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(232, 93, 42, 0.16);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
}

.fedex-test-access strong {
  font-size: 16px;
  font-weight: 900;
}

.fedex-test-access p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.fedex-test-access .primary-button {
  width: fit-content;
  min-height: 42px;
  margin-top: 4px;
  padding: 0 14px;
  text-decoration: none;
}

.fedex-test-form,
.fedex-test-result {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3.5vw, 38px);
  border: 1px solid rgba(232, 93, 42, 0.17);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 42px rgba(84, 45, 24, 0.07);
}

.fedex-test-form-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.fedex-test-form h2,
.fedex-test-result h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.05;
}

.fedex-test-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(226, 207, 193, 0.92);
  border-radius: 12px;
}

.fedex-test-form legend {
  padding: 0 7px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 900;
}

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

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

.fedex-test-grid label {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.fedex-test-grid label > span {
  color: #443a34;
  font-size: 12px;
  font-weight: 850;
}

.fedex-test-grid input,
.fedex-test-grid select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(205, 181, 164, 0.84);
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}

.fedex-test-grid input:focus,
.fedex-test-grid select:focus {
  outline: 3px solid rgba(232, 93, 42, 0.16);
  border-color: var(--orange-dark);
}

.fedex-test-confirm {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 15px 16px;
  border: 1px solid rgba(232, 93, 42, 0.16);
  border-radius: 12px;
  color: var(--ink);
  background: #fffaf6;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.fedex-test-confirm input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--orange-dark);
}

.fedex-test-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.fedex-test-submit .primary-button {
  min-width: 270px;
}

.fedex-test-result {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
  align-items: center;
  background: linear-gradient(135deg, #fffdfb, #f7fff9);
}

.fedex-test-result > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.fedex-test-result-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 12px;
  align-items: baseline;
  padding: 14px;
  border: 1px solid rgba(15, 123, 89, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.fedex-test-result-meta span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fedex-test-result-meta strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.fedex-test-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.fedex-test-downloads .secondary-button {
  min-height: 44px;
}

.fedex-test-result-note {
  grid-column: 1 / -1;
}

/* Staff entry V2: calm internal workspace instead of a decorative landing page. */
.staff-page {
  max-width: none;
  min-height: calc(100vh - 92px);
  padding: clamp(24px, 4vw, 52px);
  background:
    linear-gradient(135deg, rgba(255, 245, 238, 0.9), rgba(255, 255, 255, 0.96) 48%, rgba(255, 249, 244, 0.92)),
    repeating-linear-gradient(135deg, rgba(232, 93, 42, 0.026) 0 1px, transparent 1px 34px);
}

.staff-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 420px);
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
  max-width: 1060px;
  min-height: auto;
  padding: clamp(28px, 4.4vw, 50px);
  border-color: rgba(232, 93, 42, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 241, 0.88) 58%, rgba(255, 255, 255, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 22px 70px rgba(84, 45, 24, 0.09);
}

.staff-hero::before,
.staff-hero::after {
  display: none;
}

.staff-copy h1 {
  max-width: 480px;
  font-size: clamp(42px, 5.2vw, 64px);
  font-weight: 900;
  line-height: 0.98;
}

.staff-copy p:not(.eyebrow) {
  max-width: 500px;
  margin-top: 16px;
  font-size: clamp(16px, 1.55vw, 19px);
  font-weight: 600;
  line-height: 1.5;
}

.staff-copy .eyebrow,
.staff-card-head span {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.staff-ops-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 620px;
  margin-top: 24px;
}

.staff-ops-grid article {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(232, 93, 42, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.staff-ops-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: rgba(232, 93, 42, 0.08);
  font-size: 12px;
  font-weight: 950;
}

.staff-ops-grid strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.staff-ops-grid p {
  display: none;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.staff-console {
  align-content: center;
  gap: 12px;
}

.staff-console-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid rgba(232, 93, 42, 0.16);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 250, 246, 0.84);
}

.staff-console-note span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #7b3519;
  background: rgba(232, 93, 42, 0.1);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.staff-console-note strong {
  font-size: 15px;
  font-weight: 900;
}

.staff-login-card {
  gap: 16px;
  width: min(100%, 420px);
  padding: clamp(22px, 2.8vw, 30px);
  border-color: rgba(232, 93, 42, 0.17);
  border-radius: 20px;
  box-shadow: 0 22px 58px rgba(84, 45, 24, 0.11);
}

.staff-card-head {
  gap: 8px;
  margin-bottom: 4px;
}

.staff-card-head strong {
  max-width: 15ch;
  font-size: clamp(26px, 2.5vw, 32px);
  font-weight: 900;
  line-height: 1.05;
}

.staff-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.48;
}

.staff-login-card label {
  display: grid;
  gap: 8px;
}

.staff-login-card [hidden] {
  display: none !important;
}

.staff-login-card #staffCodeField.staff-code-visible {
  display: grid !important;
}

.staff-login-card label > span {
  color: #4b4039;
  font-size: 12px;
  font-weight: 900;
}

.staff-login-card input {
  min-height: 56px;
  border-radius: 14px;
  font-size: 16px;
}

.staff-login-card > .primary-button {
  width: 100%;
  min-height: 56px;
  border-radius: 14px;
  font-size: 16px;
}

.staff-login-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -4px;
}

.staff-helper {
  margin: 0;
  color: #89786d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.staff-backup-access {
  padding: 12px 14px;
  border-color: rgba(232, 93, 42, 0.18);
  border-style: dashed;
  background: rgba(255, 250, 246, 0.75);
}

.staff-backup-access summary {
  color: #7b3519;
  font-size: 12px;
  font-weight: 900;
}

.staff-token-tools {
  justify-content: flex-start;
  margin-top: -4px;
}

.staff-actions {
  gap: 10px;
}

.staff-shortcuts {
  padding-top: 10px;
  border-top: 1px solid rgba(234, 215, 203, 0.72);
}

.staff-actions .primary-button,
.staff-actions .secondary-button {
  min-height: 48px;
  border-radius: 12px;
}

.staff-actions .primary-button {
  grid-column: 1 / -1;
}

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

.admin-summary article {
  display: grid;
  gap: 7px;
  min-height: 94px;
  padding: 16px;
  border: 1px solid rgba(234, 215, 203, 0.92);
  border-radius: 12px;
  background: #fffaf6;
}

.admin-summary span,
.admin-order-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-summary strong {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.admin-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
}

.admin-toolbar label {
  width: min(260px, 100%);
}

.admin-orders {
  display: grid;
  gap: 14px;
}

.empty-state {
  padding: 26px;
  color: var(--muted);
  text-align: center;
  font-weight: 850;
}

.admin-order {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.admin-order-main {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.admin-order h2 {
  margin: 10px 0 6px;
  color: var(--ink);
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.1;
}

.admin-order p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.admin-order-total {
  color: var(--orange-dark);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

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

.admin-order-grid > div {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(234, 215, 203, 0.9);
  border-radius: 10px;
  background: #fffaf6;
}

.admin-order-grid strong {
  display: block;
  margin: 6px 0 4px;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.admin-risk-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-risk-flags span,
.admin-risk-flags a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #eef4ff;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.admin-risk-flags a:hover,
.admin-risk-flags a:focus-visible {
  color: var(--orange-dark);
  background: #fff0e7;
}

.tracking-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tracking-shortcuts a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(234, 215, 203, 0.9);
  border-radius: 8px;
  color: var(--blue-dark);
  background: #fff;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.tracking-shortcuts a:hover,
.tracking-shortcuts a:focus-visible {
  border-color: rgba(232, 93, 42, 0.42);
  color: var(--orange-dark);
  background: #fff8f3;
}

.admin-order-actions {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto auto;
  align-items: end;
  gap: 10px;
}

.portal-page,
.supervisor-page {
  display: grid;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 4.4vw, 54px) clamp(18px, 4vw, 50px) clamp(54px, 7vw, 86px);
}

.supervisor-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 18px;
  align-items: end;
}

.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  min-height: 500px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(232, 93, 42, 0.15);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 241, 231, 0.62)),
    repeating-linear-gradient(135deg, rgba(232, 93, 42, 0.035) 0 1px, transparent 1px 28px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 26px 68px rgba(84, 45, 24, 0.08);
}

.portal-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.portal-hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(50px, 5.4vw, 88px);
  line-height: 0.98;
  text-wrap: balance;
}

.supervisor-hero h1 {
  max-width: 780px;
  font-size: clamp(42px, 5.4vw, 78px);
}

.portal-hero p:not(.eyebrow) {
  max-width: 540px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.42;
}

.supervisor-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.portal-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.portal-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(232, 93, 42, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #62544b;
  font-size: 13px;
  font-weight: 900;
}

.portal-account-preview {
  display: grid;
  gap: 10px;
  width: min(100%, 540px);
  margin-top: 28px;
  padding: 10px;
  border: 1px solid rgba(232, 93, 42, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.portal-preview-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(234, 215, 203, 0.78);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.88);
}

.portal-preview-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(232, 93, 42, 0.22);
  border-radius: 12px;
  background: #fff0e7;
}

.portal-preview-mark::before {
  position: absolute;
  inset: 11px 9px;
  display: grid;
  place-items: center;
  border: 2px solid var(--orange);
  border-radius: 8px;
  color: var(--orange-dark);
  content: "AI";
  font-size: 10px;
  font-weight: 950;
}

.portal-preview-row small,
.portal-preview-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.portal-preview-row strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.portal-preview-row em {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: #14745d;
}

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

.portal-preview-grid span {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(232, 93, 42, 0.12);
  border-radius: 12px;
  background: rgba(255, 250, 246, 0.72);
  color: #62544b;
  font-size: 12px;
  font-weight: 950;
}

.portal-signed-in .portal-hero {
  min-height: 250px;
  grid-template-columns: 1fr;
}

.portal-signed-in .portal-account-preview {
  display: none;
}

.portal-signed-in .portal-copy {
  max-width: 720px;
}

.portal-signed-in .portal-hero h1 {
  font-size: clamp(42px, 4.6vw, 68px);
}

.portal-login-card,
.portal-toolbar,
.portal-order,
.supervisor-toolbar,
.pipeline-column,
.supervisor-detail,
.detail-card {
  border: 1px solid rgba(232, 93, 42, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--tight-shadow);
}

.portal-login-card {
  position: relative;
  display: grid;
  gap: 15px;
  justify-self: end;
  width: min(100%, 420px);
  padding: clamp(20px, 2.4vw, 28px);
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 246, 0.96)),
    #fff;
  box-shadow: 0 24px 60px rgba(84, 45, 24, 0.12);
}

.portal-login-card::before {
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  content: "";
}

.portal-login-card[hidden] {
  display: none;
}

.portal-login-head {
  display: grid;
  gap: 6px;
}

.portal-login-kicker {
  display: inline-flex;
  width: max-content;
  min-height: 28px;
  align-items: center;
  margin: 0;
  padding: 0 10px;
  border: 1px solid rgba(232, 93, 42, 0.16);
  border-radius: 999px;
  background: #fff0e7;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.portal-login-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(25px, 2.1vw, 32px);
  line-height: 1.08;
  text-wrap: balance;
}

.portal-login-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.portal-login-card label {
  display: grid;
  gap: 8px;
}

.portal-login-card label span {
  color: #3f352e;
  font-size: 13px;
  font-weight: 950;
}

.portal-login-card input {
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(234, 215, 203, 0.96);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
}

.portal-login-card input:focus {
  outline: 3px solid rgba(232, 93, 42, 0.14);
  border-color: rgba(232, 93, 42, 0.58);
}

.portal-login-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.portal-login-actions [hidden] {
  display: none !important;
}

.portal-login-actions .primary-button {
  width: 100%;
  min-height: 54px;
  border-radius: 12px;
}

.portal-login-actions .secondary-button {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  background: #fffaf6;
}

.portal-legacy-login {
  display: grid;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(234, 215, 203, 0.72);
}

.link-button {
  display: inline-flex;
  width: max-content;
  min-height: 30px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--orange-dark);
  cursor: pointer;
  font-size: 14px;
  font-weight: 950;
}

.portal-login-card .admin-status {
  min-height: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 240, 231, 0.72);
  font-size: 13px;
}

.portal-login-card .admin-status:empty {
  display: none;
}

.portal-login-card .admin-status.error {
  background: #fff1f0;
}

.portal-login-card .admin-status.success,
.portal-login-card .admin-status.loading {
  background: #fff4eb;
}

.portal-legacy-fields {
  display: grid;
  gap: 10px;
}

.portal-legacy-fields[hidden],
.portal-code-field[hidden] {
  display: none;
}

.portal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  box-shadow: 0 14px 34px rgba(84, 45, 24, 0.08);
}

.portal-account-details {
  display: grid;
  gap: 4px;
}

.portal-account-details .eyebrow {
  margin: 0;
  font-size: 11px;
}

.portal-toolbar strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  overflow-wrap: anywhere;
}

.portal-toolbar > div:last-child {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.portal-account-hub {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(232, 93, 42, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 250, 246, 0.98), rgba(255, 240, 230, 0.76)),
    #fffaf6;
  box-shadow: 0 18px 46px rgba(84, 45, 24, 0.09);
}

.portal-account-hub[hidden] {
  display: none;
}

.account-hub-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.account-hub-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.02;
}

.account-hub-head p:not(.eyebrow) {
  max-width: 640px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.account-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.account-quick-actions .primary-button,
.account-quick-actions .secondary-button {
  min-height: 48px;
  padding: 0 16px;
}

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

.account-nav a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(232, 93, 42, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
}

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

.account-summary article {
  display: grid;
  gap: 7px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(234, 215, 203, 0.86);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

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

.account-summary strong {
  color: var(--ink);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.account-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr minmax(270px, 0.82fr);
  gap: 12px;
  align-items: stretch;
}

.account-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(234, 215, 203, 0.92);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.account-card h3 {
  margin: 3px 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.12;
}

.account-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.account-icon {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.address-icon::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 10px;
  width: 18px;
  height: 22px;
  border: 4px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.address-icon::after {
  content: "";
  position: absolute;
  left: 19px;
  bottom: 9px;
  width: 11px;
  height: 4px;
  border-radius: 99px;
  background: currentColor;
  box-shadow: -10px 0 0 -1px currentColor, 10px 0 0 -1px currentColor;
}

.item-icon-mini::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 16px;
  width: 25px;
  height: 22px;
  border-radius: 8px;
  background: currentColor;
}

.item-icon-mini::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 9px;
  width: 13px;
  height: 11px;
  border: 4px solid var(--orange-dark);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.card-icon::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 14px;
  width: 28px;
  height: 20px;
  border: 4px solid currentColor;
  border-radius: 7px;
}

.card-icon::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 22px;
  width: 18px;
  height: 4px;
  border-radius: 99px;
  background: currentColor;
}

.saved-list {
  display: grid;
  gap: 9px;
}

.saved-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(234, 215, 203, 0.78);
}

.saved-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.saved-row strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.18;
}

.saved-row p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.saved-row small {
  display: inline-block;
  margin-top: 4px;
  color: var(--orange-dark);
  font-weight: 900;
}

.saved-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.saved-actions button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(232, 93, 42, 0.26);
  border-radius: 8px;
  background: #fffaf6;
  color: var(--orange-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 950;
}

.saved-actions button:hover {
  border-color: rgba(232, 93, 42, 0.6);
  background: var(--orange-soft);
}

.saved-empty {
  padding-top: 2px;
  font-size: 14px;
}

.payment-vault {
  align-content: start;
}

#paymentVault {
  min-width: 0;
}

.payment-vault .secondary-button {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 2px;
}

.portal-orders {
  display: grid;
  gap: 14px;
  scroll-margin-top: 94px;
}

.portal-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 2px;
}

.portal-section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.04;
}

.portal-order {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
}

.portal-order-head,
.detail-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.portal-order-head h2,
.detail-head h2 {
  margin: 10px 0 6px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
}

.portal-order-head p,
.detail-head p,
.portal-order-grid p,
.detail-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.portal-order-head strong,
.detail-head strong {
  color: var(--orange-dark);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.portal-order-price {
  display: grid;
  gap: 5px;
  justify-items: end;
  text-align: right;
}

.portal-order-price small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.portal-order-price strong {
  white-space: nowrap;
}

.portal-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: #fff7f1;
  border: 1px solid rgba(234, 215, 203, 0.9);
}

.portal-timeline span {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.portal-timeline i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-style: normal;
  border: 1px solid rgba(234, 215, 203, 0.9);
}

.portal-timeline .active {
  color: var(--orange-dark);
}

.portal-timeline .active i {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.portal-timeline.cancelled {
  background: #fff1f0;
}

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

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

.portal-order-grid > div,
.detail-grid > div,
.portal-next-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(234, 215, 203, 0.9);
  border-radius: 10px;
  background: #fffaf6;
}

.portal-order-grid span,
.detail-grid span,
.detail-form span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.portal-order-grid strong,
.detail-grid strong {
  display: block;
  margin: 6px 0 4px;
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.portal-next-card {
  display: grid;
  gap: 10px;
  background:
    linear-gradient(135deg, rgba(232, 93, 42, 0.08), rgba(255, 250, 246, 0.96)),
    #fffaf6;
}

.portal-next-card h3 {
  margin: 0;
  font-size: 20px;
}

.portal-next-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.tracking-panel {
  display: grid;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(232, 93, 42, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 240, 231, 0.72), rgba(255, 255, 255, 0.96)),
    #fffaf6;
}

.tracking-panel h3 {
  margin: 0;
  font-size: 22px;
}

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

.tracking-panel li {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 0 0 18px 30px;
}

.tracking-panel li:last-child {
  padding-bottom: 0;
}

.tracking-panel li::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d8c8bd;
  box-shadow: 0 0 0 5px #fff7f1;
}

.tracking-panel li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 22px;
  bottom: 3px;
  width: 2px;
  background: rgba(234, 215, 203, 0.95);
}

.tracking-panel li.current::before {
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(232, 93, 42, 0.12);
}

.tracking-panel span {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.tracking-panel strong {
  color: var(--ink);
}

.tracking-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.portal-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portal-service-request {
  padding-top: 14px;
  border-top: 1px solid rgba(234, 215, 203, 0.9);
}

.portal-service-request summary {
  width: fit-content;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.portal-service-request form {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(260px, 1.45fr);
  gap: 12px;
  margin-top: 14px;
}

.portal-service-request label {
  display: grid;
  gap: 7px;
}

.portal-service-request label > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-service-request select,
.portal-service-request textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(211, 184, 168, 0.9);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.portal-service-request select {
  min-height: 48px;
  padding: 0 12px;
}

.portal-service-request textarea {
  min-height: 96px;
  padding: 12px;
  resize: vertical;
}

.portal-service-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-service-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.supervisor-focus {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(232, 93, 42, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 245, 238, 0.8)),
    #fffaf6;
  box-shadow: 0 18px 44px rgba(84, 45, 24, 0.08);
}

.focus-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 2px 2px 0;
}

.focus-head span {
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.focus-head strong {
  display: block;
  margin-top: 4px;
  color: var(--blue-dark);
  font-size: 17px;
  line-height: 1.2;
}

.focus-chip-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.focus-chip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(234, 215, 203, 0.92);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.focus-chip:hover,
.focus-chip.active {
  border-color: rgba(232, 93, 42, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 240, 231, 0.82)),
    #fffaf6;
  box-shadow: 0 14px 30px rgba(84, 45, 24, 0.1);
}

.focus-chip span {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.15;
}

.focus-chip strong {
  display: grid;
  min-width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 14px;
  line-height: 1;
}

.focus-chip small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.3;
}

.focus-chip.active small {
  color: #62544b;
}

.system-health {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.system-health article {
  display: grid;
  gap: 7px;
  min-height: 96px;
  padding: 14px;
  border: 1px solid rgba(234, 215, 203, 0.92);
  border-radius: 12px;
  background: rgba(255, 250, 246, 0.92);
}

.system-health span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.system-health strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1;
  text-transform: capitalize;
}

.system-health p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.health-card.ok {
  border-color: rgba(32, 164, 118, 0.28);
  background: #f3fbf7;
}

.health-card.ok strong {
  color: #137253;
}

.health-card.manual {
  border-color: rgba(232, 93, 42, 0.24);
  background: #fff7f1;
}

.health-card.manual strong {
  color: var(--orange-dark);
}

.health-card.owner,
.health-card.manager,
.health-card.ops,
.health-card.support,
.health-card.viewer,
.health-card.beta {
  border-color: rgba(232, 93, 42, 0.24);
  background: #fff8f3;
}

.health-card.owner strong,
.health-card.manager strong,
.health-card.ops strong,
.health-card.support strong,
.health-card.viewer strong,
.health-card.beta strong {
  color: var(--orange-dark);
}

.health-card.missing {
  border-color: rgba(180, 35, 24, 0.22);
  background: #fff6f5;
}

.health-card.missing strong {
  color: #b42318;
}

.supervisor-summary article {
  display: grid;
  gap: 7px;
  min-height: 94px;
  padding: 16px;
  border: 1px solid rgba(234, 215, 203, 0.92);
  border-radius: 12px;
  background: #fffaf6;
}

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

.supervisor-summary strong {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.supervisor-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(220px, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding: 14px;
}

.supervisor-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.supervisor-board {
  display: grid;
  gap: 14px;
}

.order-queue {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(234, 215, 203, 0.92);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 246, 0.98)),
    #fff;
  box-shadow: 0 18px 52px rgba(84, 45, 24, 0.08);
}

.order-queue-head,
.order-queue-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-queue-head {
  padding: 4px 2px 12px;
  border-bottom: 1px solid rgba(234, 215, 203, 0.92);
}

.order-queue-head div,
.order-queue-selected {
  min-width: 0;
}

.order-queue-head span,
.order-queue-selected span {
  display: block;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-queue-head strong,
.order-queue-selected strong {
  display: block;
  color: var(--ink);
  line-height: 1.12;
}

.order-queue-head em {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(232, 93, 42, 0.22);
  border-radius: 999px;
  color: var(--orange-dark);
  background: var(--orange-soft);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.order-queue-selected {
  padding: 11px 12px;
  border: 1px solid rgba(234, 215, 203, 0.86);
  border-radius: 12px;
  background: #fffaf6;
}

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

.pipeline-column {
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 12px;
  align-content: start;
}

.pipeline-column header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(234, 215, 203, 0.92);
}

.pipeline-column header strong {
  color: var(--blue-dark);
}

.pipeline-column header span {
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: var(--orange-dark);
  background: var(--orange-soft);
  font-weight: 950;
}

.pipeline-column > div {
  display: grid;
  gap: 9px;
}

.pipeline-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  width: 100%;
  padding: 13px;
  border: 1px solid rgba(234, 215, 203, 0.92);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.pipeline-card.active,
.pipeline-card:hover {
  border-color: rgba(232, 93, 42, 0.5);
  box-shadow: 0 14px 34px rgba(84, 45, 24, 0.1);
  transform: translateY(-1px);
}

.pipeline-card span {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.pipeline-card strong {
  grid-column: 1 / -1;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.pipeline-card small,
.pipeline-card em,
.pipeline-card b,
.pipeline-empty {
  color: var(--muted);
  line-height: 1.4;
}

.pipeline-card em {
  justify-self: end;
  color: var(--blue-dark);
  font-style: normal;
  font-weight: 850;
}

.pipeline-card i {
  justify-self: start;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: var(--orange-soft);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  text-transform: capitalize;
}

.pipeline-card b {
  justify-self: end;
  font-size: 12px;
}

.pipeline-card i.ready {
  color: #137253;
  background: #eaf8f1;
}

.pipeline-next {
  grid-column: 1 / -1;
  margin-top: 2px;
  padding-top: 9px;
  border-top: 1px solid rgba(234, 215, 203, 0.82);
  color: #62544b !important;
  font-size: 12px;
  font-weight: 850;
}

.pipeline-empty {
  margin: 0;
  padding: 10px;
  font-size: 13px;
}

.supervisor-detail {
  position: sticky;
  top: 92px;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.detail-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(232, 93, 42, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(84, 45, 24, 0.08);
}

.detail-card .detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(234, 215, 203, 0.92);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 250, 246, 0.98), rgba(255, 255, 255, 0.98)),
    #fffaf6;
}

.detail-card .detail-head > div {
  min-width: 0;
}

.detail-card .detail-head h2 {
  max-width: 540px;
  margin: 8px 0 8px;
  font-size: clamp(28px, 3.1vw, 42px);
  letter-spacing: 0;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.detail-card .detail-head > strong {
  align-self: start;
  color: var(--orange-dark);
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1;
  white-space: nowrap;
}

.detail-card .detail-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.detail-card .detail-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card .detail-grid > div,
.detail-card .ops-next,
.detail-card .ops-action-strip,
.detail-card .payment-readiness,
.detail-card .customer-message-card,
.detail-card .carrier-ops {
  border-radius: 14px;
}

.detail-form {
  display: grid;
  gap: 12px;
}

.ops-snapshot {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.ops-snapshot div,
.ops-next {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(234, 215, 203, 0.92);
  border-radius: 12px;
  background: #fffaf6;
}

.ops-snapshot span,
.ops-next span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ops-snapshot strong,
.ops-next strong {
  display: block;
  color: var(--blue-dark);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.ops-next {
  background:
    linear-gradient(135deg, rgba(255, 240, 231, 0.92), rgba(255, 250, 246, 0.98)),
    #fffaf6;
}

.ops-action-strip {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(232, 93, 42, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 244, 236, 0.96), rgba(255, 255, 255, 0.98)),
    #fffaf6;
}

.ops-action-strip span {
  display: block;
  margin-bottom: 5px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ops-action-strip strong {
  color: var(--blue-dark);
  font-size: 15px;
  line-height: 1.25;
}

.ops-action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ops-action-buttons .primary-button,
.ops-action-buttons .secondary-button,
.secondary-button.compact {
  min-height: 38px;
  padding: 0 12px;
  font-size: 12px;
}

.payment-readiness {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(234, 215, 203, 0.92);
  border-radius: 12px;
  background: #fffaf6;
}

.payment-readiness.ready {
  border-color: rgba(32, 164, 118, 0.3);
  background: #f3fbf7;
}

.payment-readiness.blocked {
  border-color: rgba(232, 93, 42, 0.22);
}

.payment-readiness span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.payment-readiness strong {
  color: var(--ink);
  line-height: 1.2;
}

.payment-readiness.ready strong {
  color: #137253;
}

.payment-readiness ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.customer-message-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(20, 47, 88, 0.1);
  background:
    linear-gradient(135deg, rgba(238, 244, 255, 0.76), rgba(255, 255, 255, 0.98)),
    #fff;
}

.customer-message-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.customer-message-card strong {
  color: var(--blue-dark);
  line-height: 1.2;
}

body.supervisor-body {
  background:
    linear-gradient(180deg, #fffaf6 0%, #ffffff 42%, #fffaf7 100%);
}

body.supervisor-body .site-header {
  min-height: 64px;
}

body.supervisor-body .supervisor-page {
  max-width: 1360px;
  gap: 14px;
  padding: clamp(20px, 3vw, 34px) clamp(16px, 3vw, 34px) clamp(42px, 5vw, 64px);
}

body.supervisor-body .supervisor-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: stretch;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(234, 215, 203, 0.85);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 46px rgba(84, 45, 24, 0.06);
}

body.supervisor-body .supervisor-hero > div:first-child {
  display: grid;
  align-content: center;
  min-height: 164px;
  padding: 8px 10px;
}

body.supervisor-body .supervisor-hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.96;
}

body.supervisor-body .supervisor-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 10px;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.42;
}

body.supervisor-body .supervisor-session-card {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 164px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

body.supervisor-body .supervisor-session-card.connected {
  border-color: rgba(32, 164, 118, 0.22);
  background:
    linear-gradient(135deg, rgba(243, 251, 247, 0.96), rgba(255, 255, 255, 0.98)),
    #fff;
}

body.supervisor-body .supervisor-session-card strong {
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.04;
}

body.supervisor-body .supervisor-session-card .primary-button[hidden] {
  display: none;
}

body.supervisor-body .system-health {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(234, 215, 203, 0.82);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
}

body.supervisor-body .health-strip-head {
  display: grid;
  gap: 2px;
  min-width: 142px;
}

body.supervisor-body .health-strip-head span,
body.supervisor-body .system-health span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.supervisor-body .health-strip-head strong {
  color: var(--blue-dark);
  font-size: 14px;
  line-height: 1.15;
  text-transform: none;
}

body.supervisor-body .health-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

body.supervisor-body .system-health article,
body.supervisor-body .health-pill {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 4px 8px;
  align-items: center;
  min-height: 0;
  padding: 8px 10px;
  border-radius: 999px;
  background: #fff;
}

body.supervisor-body .health-pill::before {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #b7c2d2;
  content: "";
}

body.supervisor-body .health-pill.ok::before,
body.supervisor-body .health-pill.owner::before,
body.supervisor-body .health-pill.manager::before,
body.supervisor-body .health-pill.ops::before,
body.supervisor-body .health-pill.support::before,
body.supervisor-body .health-pill.viewer::before {
  background: #20a476;
}

body.supervisor-body .health-pill.manual::before,
body.supervisor-body .health-pill.beta::before {
  background: var(--orange);
}

body.supervisor-body .health-pill.missing::before {
  background: #b42318;
}

body.supervisor-body .health-pill span {
  grid-column: 2;
}

body.supervisor-body .health-pill strong {
  grid-column: 2;
  color: var(--blue-dark);
  font-size: 13px;
  line-height: 1;
  text-transform: capitalize;
}

body.supervisor-body .health-pill p {
  display: none;
}

body.supervisor-body .supervisor-summary {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

body.supervisor-body .supervisor-summary article {
  min-height: 64px;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
}

body.supervisor-body .supervisor-summary span {
  font-size: 10px;
  letter-spacing: 0.06em;
}

body.supervisor-body .supervisor-summary strong {
  font-size: clamp(20px, 2vw, 27px);
}

body.supervisor-body .supervisor-focus {
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

body.supervisor-body .focus-head {
  padding: 0 2px;
}

body.supervisor-body .focus-head strong {
  font-size: 15px;
}

body.supervisor-body .focus-chip-row {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

body.supervisor-body .focus-chip {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 54px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 250, 246, 0.74);
}

body.supervisor-body .focus-chip strong {
  grid-row: 1 / 3;
}

body.supervisor-body .focus-chip span {
  font-size: 13px;
}

body.supervisor-body .focus-chip small {
  display: none;
}

body.supervisor-body .supervisor-toolbar {
  grid-template-columns: minmax(160px, 220px) minmax(220px, 1fr) auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(234, 215, 203, 0.82);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
}

body.supervisor-body .supervisor-grid {
  grid-template-columns: minmax(330px, 400px) minmax(0, 1fr);
  gap: 14px;
}

body.supervisor-body .order-queue,
body.supervisor-body .detail-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 42px rgba(84, 45, 24, 0.06);
}

body.supervisor-body .pipeline-card {
  gap: 5px 10px;
  padding: 12px;
  border-radius: 13px;
}

body.supervisor-body .pipeline-card strong {
  font-size: 17px;
  line-height: 1.12;
}

body.supervisor-body .pipeline-card small,
body.supervisor-body .pipeline-next {
  font-size: 12px;
}

body.supervisor-body .detail-card {
  gap: 12px;
  padding: 14px;
}

body.supervisor-body .detail-card .detail-head {
  padding: 16px;
  border-radius: 14px;
  background: #fff;
}

body.supervisor-body .detail-card .detail-head h2 {
  max-width: 640px;
  font-size: clamp(28px, 3.3vw, 48px);
  line-height: 1.02;
}

body.supervisor-body .detail-card .detail-head > strong {
  font-size: clamp(32px, 3vw, 46px);
}

body.supervisor-body .ops-snapshot {
  grid-template-columns: repeat(5, minmax(120px, 1fr));
}

body.supervisor-body .ops-snapshot div,
body.supervisor-body .ops-next,
body.supervisor-body .payment-readiness,
body.supervisor-body .customer-message-card,
body.supervisor-body .detail-card .detail-grid > div,
body.supervisor-body .carrier-ops {
  border-radius: 13px;
  background-color: rgba(255, 250, 246, 0.68);
}

body.supervisor-body .ops-snapshot strong,
body.supervisor-body .ops-next strong,
body.supervisor-body .detail-card strong,
body.supervisor-body .detail-card p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.supervisor-body .ops-action-strip {
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 246, 240, 0.96), rgba(255, 255, 255, 0.98));
}

body.supervisor-body:not(.staff-session-ready) .supervisor-focus,
body.supervisor-body:not(.staff-session-ready) .supervisor-summary,
body.supervisor-body:not(.staff-session-ready) .supervisor-toolbar,
body.supervisor-body:not(.staff-session-ready) .supervisor-grid {
  display: none;
}

.customer-message-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.carrier-ops {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(232, 93, 42, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 240, 231, 0.86), rgba(255, 255, 255, 0.96)),
    #fffaf6;
}

.carrier-ops > div:first-child {
  display: grid;
  gap: 5px;
}

.carrier-ops strong {
  color: var(--ink);
  line-height: 1.25;
}

.carrier-ops p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

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

.carrier-actions .secondary-button {
  min-height: 44px;
  padding-inline: 10px;
  font-size: 13px;
}

.carrier-advanced {
  border-top: 1px solid rgba(232, 93, 42, 0.14);
  padding-top: 10px;
}

.carrier-advanced summary {
  width: fit-content;
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.carrier-advanced > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.carrier-result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 20px;
  margin: 0;
}

.carrier-result .secondary-button {
  width: auto;
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
}

.confirmation-page {
  display: grid;
  min-height: calc(100vh - 90px);
  place-items: center;
  padding: clamp(30px, 7vw, 90px) 20px;
}

.confirmation-card {
  display: grid;
  gap: 22px;
  width: min(760px, 100%);
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(232, 93, 42, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(140deg, rgba(255, 250, 246, 0.98), rgba(255, 255, 255, 0.98)),
    #fff;
  box-shadow: 0 24px 68px rgba(84, 45, 24, 0.13);
}

.confirmation-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  font-size: 30px;
  font-weight: 950;
}

.confirmation-card h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 0.95;
}

.confirmation-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.bag-passport {
  position: relative;
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(232, 93, 42, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 240, 231, 0.92), rgba(255, 255, 255, 0.96)),
    #fffaf6;
}

.bag-passport::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--orange-dark), var(--orange), var(--gold), var(--blue));
}

.bag-passport-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  min-height: 42px;
  padding: 5px 13px 5px 5px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 950;
}

.bag-passport-brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.bag-passport > strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.02;
}

.bag-passport > p {
  max-width: 560px;
  font-size: 15px;
}

.passport-stamps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.passport-stamps span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(20, 47, 88, 0.13);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 950;
}

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

.confirmation-details div {
  padding: 14px;
  border: 1px solid rgba(234, 215, 203, 0.95);
  border-radius: 8px;
  background: #fffaf6;
}

.confirmation-details span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.confirmation-details strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 18px;
}

.confirmation-next {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(232, 93, 42, 0.16);
  border-radius: 10px;
  background: #fffaf6;
}

.confirmation-next strong {
  color: var(--ink);
  font-size: 17px;
}

.confirmation-next ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.confirmation-actions .primary-button,
.confirmation-actions .secondary-button,
.confirmation-actions .pay-button {
  width: auto;
  min-height: 52px;
  padding: 0 18px;
}

.section-head.centered {
  display: block;
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-head.centered p:not(.eyebrow) {
  max-width: 610px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.how h2,
.knowledge-base h2,
.faq h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

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

.steps article,
.trust-grid article,
.knowledge-grid article,
.faq-grid article {
  padding: 22px;
  box-shadow: none;
}

.steps article {
  border-top: 2px solid rgba(232, 93, 42, 0.22);
}

.step-visual {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: var(--orange-dark);
  background: var(--orange-soft);
}

.step-visual::before,
.step-visual::after {
  content: "";
  position: absolute;
  display: block;
}

.step-visual-route::before {
  left: 17px;
  top: 10px;
  width: 20px;
  height: 20px;
  border: 4px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.step-visual-route::after {
  left: 20px;
  bottom: 10px;
  width: 14px;
  height: 4px;
  border-radius: 99px;
  background: currentColor;
  box-shadow: -12px 0 0 -1px currentColor, 12px 0 0 -1px currentColor;
}

.step-visual-rates::before {
  left: 12px;
  top: 14px;
  width: 30px;
  height: 24px;
  border: 4px solid currentColor;
  border-radius: 8px;
}

.step-visual-rates::after {
  left: 20px;
  top: 20px;
  width: 4px;
  height: 14px;
  border-radius: 99px;
  background: currentColor;
  box-shadow: 8px -4px 0 currentColor, 16px 3px 0 currentColor;
}

.step-visual-support::before {
  left: 14px;
  top: 13px;
  width: 26px;
  height: 22px;
  border: 4px solid currentColor;
  border-radius: 14px;
}

.step-visual-support::after {
  left: 28px;
  bottom: 12px;
  width: 10px;
  height: 4px;
  border-radius: 99px;
  background: currentColor;
  box-shadow: -16px -10px 0 -1px currentColor, 0 -10px 0 -1px currentColor;
}

.steps .step-number {
  display: inline-block;
  margin-top: 14px;
  color: var(--coral);
  font-weight: 950;
}

.steps h3,
.trust-grid h3,
.knowledge-grid h3,
.faq-grid h3 {
  margin: 12px 0 8px;
}

.steps p,
.trust-grid p,
.knowledge-grid p,
.faq-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.how,
.trust,
.knowledge-base,
.faq {
  scroll-margin-top: 96px;
}

.knowledge-grid article {
  min-height: 150px;
  border: 1px solid rgba(234, 215, 203, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.knowledge-grid h3 {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.16;
}

.trust {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
  max-width: none;
  margin: 0 0 clamp(54px, 7vw, 86px);
  padding: clamp(34px, 5vw, 58px) clamp(18px, 7vw, 96px);
  color: #fff;
  background: #101828;
  border-radius: 0;
}

.trust h2,
.support h2 {
  max-width: 560px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
}

.trust h2,
.trust-grid h3 {
  color: #fff;
}

.trust .eyebrow {
  color: var(--gold);
}

.trust-grid {
  grid-template-columns: 1fr;
}

.trust-grid article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.trust-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.support {
  max-width: none;
  margin: 0;
  padding: clamp(22px, 4vw, 42px);
  color: #fff;
  background: #c7481a;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.support .eyebrow {
  color: var(--gold);
}

.support h2 {
  color: #fff;
}

.secondary-action {
  min-width: max-content;
  color: var(--blue-dark);
  background: #fffaf6;
  box-shadow: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 4vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}

.site-footer a {
  color: var(--blue-dark);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--orange-dark);
}

.policy-page {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  padding: clamp(34px, 7vw, 84px) clamp(18px, 5vw, 78px);
  background:
    linear-gradient(135deg, rgba(255, 247, 241, 0.96), rgba(255, 255, 255, 0.98)),
    var(--warm);
}

.policy-hero {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.policy-hero h1 {
  max-width: 860px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(46px, 8vw, 94px);
  line-height: 0.95;
}

.policy-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.3vw, 25px);
  line-height: 1.45;
}

.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.policy-nav a {
  padding: 10px 14px;
  border: 1px solid rgba(232, 93, 42, 0.24);
  border-radius: 999px;
  color: var(--blue-dark);
  background: #fffaf6;
  font-weight: 900;
  text-decoration: none;
}

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

.policy-card {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(234, 215, 203, 0.95);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(84, 45, 24, 0.07);
}

.policy-card span,
.checklist-row span:first-child {
  color: var(--orange-dark);
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.02;
}

.policy-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.checklist-table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(234, 215, 203, 0.95);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(84, 45, 24, 0.08);
}

.checklist-row {
  display: grid;
  grid-template-columns: 0.75fr 1.4fr 1.2fr;
  gap: 14px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(234, 215, 203, 0.8);
}

.checklist-row:last-child {
  border-bottom: 0;
}

.checklist-row.head {
  color: #fff;
  background: var(--blue-dark);
  font-weight: 950;
}

.checklist-row.head span:first-child {
  color: #fff;
}

.checklist-row span {
  min-width: 0;
  line-height: 1.45;
}

@media (max-width: 1500px) {
  .route-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-form label:nth-of-type(3),
  .route-form label:nth-of-type(4) {
    grid-column: auto;
  }

  .route-form label:nth-of-type(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .route-form .primary-button {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 1060px) {
  .quote-shell,
  .experience-layer,
  .trust,
  .checkout-layout,
  .admin-hero,
  .admin-order-grid,
  .portal-hero,
  .staff-hero,
  .supervisor-hero,
  .supervisor-grid {
    grid-template-columns: 1fr;
  }

  .checkout-stack {
    position: static;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "quote";
    min-height: auto;
    padding-block: 42px;
  }

  .hero-quote-stage::before {
    display: none;
  }

  .hero-copy {
    justify-items: center;
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
  }

  #hero-title {
    max-width: 760px;
    white-space: normal;
  }

  .hero-subtitle {
    max-width: 620px;
  }

  .hero-trustline {
    display: flex;
    justify-content: center;
  }

  .hero-journey-card {
    max-width: 620px;
  }

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

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

  .progress-rail {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .step-tab {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .rate-grid,
  .steps,
  .faq-grid,
  .admin-summary,
  .supervisor-summary,
  .system-health,
  .account-grid,
  .portal-order-grid,
  .detail-grid,
  .detail-grid.two {
    grid-template-columns: 1fr;
  }

  .supervisor-board,
  .detail-card .detail-grid,
  .detail-card .detail-grid.two {
    grid-template-columns: 1fr;
  }

  .ops-action-strip {
    grid-template-columns: 1fr;
  }

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

  .ops-action-buttons {
    justify-content: flex-start;
  }

  .focus-chip-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .supervisor-detail {
    position: static;
  }

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

  .route-form .primary-button {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .portal-login-card {
    justify-self: stretch;
    width: 100%;
  }

  .portal-account-preview {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 16px;
  }

  .nav-links {
    display: none;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .header-actions {
    gap: 8px;
  }

  .staff-header-tools {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
  }

  .staff-header-tools .header-action {
    min-width: 0;
    max-width: 148px;
    white-space: normal;
    text-align: center;
    line-height: 1.05;
  }

  .track-order-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .track-order-text {
    font-size: 0;
  }

  .track-order-text::after {
    content: "Track";
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding: 22px 16px 34px;
    gap: 18px;
  }

  .hero::before {
    inset: 8px;
    border-radius: 14px;
    background: #fff9f5;
  }

  .hero-copy {
    justify-items: start;
    text-align: left;
  }

  h1 {
    font-size: 42px;
    line-height: 1;
  }

  .hero-eyebrow {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .hero-subtitle {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.42;
  }

  .hero-trustline {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 7px 14px;
    margin-top: 14px;
    padding: 12px 0 0;
    border-top: 1px solid rgba(234, 215, 203, 0.8);
    background: transparent;
    box-shadow: none;
    font-size: 11px;
  }

  .hero-trustline span {
    min-height: 22px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    white-space: normal;
  }

  .hero-trustline span + span {
    border-left: 0;
  }

  .hero-trustline span::before {
    width: 5px;
    height: 5px;
    box-shadow: 0 0 0 3px rgba(232, 93, 42, 0.1);
  }

  .hero-journey-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    margin-top: 15px;
    padding: 14px;
    border-radius: 8px;
  }

  .hero-journey-card::after {
    display: none;
  }

  .journey-bag {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .instant-quote {
    padding: 20px 16px;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(84, 45, 24, 0.1);
  }

  .bag-mix-popover {
    position: fixed;
    inset: auto 12px 12px;
    width: auto;
    max-height: calc(100svh - 90px);
    overflow: auto;
    border-radius: 8px;
  }

  .bag-mix-popover-footer {
    position: sticky;
    bottom: 0;
  }

  .bag-mix-popover-list {
    max-height: calc(100svh - 250px);
  }

  .bag-mix-trigger span,
  .bag-mix-trigger small {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .bag-mix-trigger span {
    font-size: 14px;
    line-height: 1.15;
  }

  .quote-draft-notice {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .quote-draft-actions {
    width: 100%;
    margin-left: 30px;
  }

  .location-suggest-panel {
    max-height: min(420px, 52svh);
    overflow-y: auto;
  }

  .journey-bag::before {
    width: 26px;
    height: 32px;
    border-width: 3px;
    border-radius: 9px 9px 7px 7px;
  }

  .journey-bag::after {
    top: 14px;
    width: 15px;
    height: 10px;
    border-width: 3px;
  }

  .journey-bag span {
    width: 12px;
    height: 3px;
    margin-top: 15px;
  }

  .hero-journey-card strong {
    font-size: 13px;
  }

  .hero-journey-card p {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.38;
  }

  .experience-copy h2 {
    font-size: 30px;
    line-height: 1.06;
  }

  .experience-copy p:not(.eyebrow),
  .experience-panel-head span,
  .experience-grid p,
  .knowledge-grid p {
    font-size: 13px;
    line-height: 1.46;
  }

  .experience-panel {
    gap: 12px;
  }

  .experience-grid article,
  .knowledge-grid article {
    min-height: 0;
    gap: 6px;
  }

  .route-form,
  .field-grid.two,
  .field-grid.three,
  .field-grid.compact-address,
  .field-grid.dimensions,
  .checkout-card,
  .address-columns,
  .order-submit-row,
  .confirmation-details,
  .item-mix-grid,
  .item-tabs,
  .dimension-guide,
  .roundtrip-assist,
  .save-item-card,
  .rate-card,
  .rate-empty,
  .checkout-rate-required,
  .size-summary,
  .addons-grid,
  .recommendation-card,
  .protection-panel,
  .photo-help,
  .experience-grid,
  .knowledge-grid,
  .admin-order-actions,
  .portal-timeline,
  .supervisor-summary,
  .system-health,
  .supervisor-toolbar,
  .supervisor-board,
  .focus-chip-row,
  .staff-ops-grid,
  .staff-identity-grid,
  .staff-actions,
  .payment-readiness {
    grid-template-columns: 1fr;
  }

  .rate-empty-actions {
    justify-content: flex-start;
  }

  .international-charge-note,
  .checkout-international-note {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .quote-flowline {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 10px;
    font-size: 12px;
  }

  .quote-flowline i {
    flex-basis: 18px;
  }

  .instant-quote .route-assist-bar {
    align-items: flex-start;
  }

  .instant-quote .route-assist-bar p {
    overflow: visible;
    white-space: normal;
  }

  .size-edit summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .size-edit summary em {
    text-align: left;
  }

  .item-mix-card {
    padding: 16px;
  }

  .item-mix-head,
  .item-mix-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .item-mix-row {
    min-height: 76px;
    padding: 12px;
  }

  .staff-page {
    padding: 18px 12px;
  }

  .staff-hero {
    min-height: auto;
    padding: 28px 20px;
    border-radius: 20px;
  }

  .staff-copy h1 {
    max-width: 100%;
    font-size: clamp(38px, 11vw, 46px);
    line-height: 1;
  }

  .staff-copy p:not(.eyebrow) {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.45;
  }

  .staff-ops-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .staff-ops-grid article {
    width: 100%;
    min-height: 42px;
    justify-content: start;
  }

  .staff-console-note {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .staff-login-card {
    padding: 22px;
  }

  .staff-card-head strong {
    max-width: none;
    font-size: 34px;
  }

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

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

  .item-tabs label span {
    min-height: 96px;
  }

  .route-form label:nth-of-type(n + 3),
  .route-form .primary-button {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .rate-card .meta,
  .rate-card .select-line,
  .upload-status {
    grid-column: auto;
  }

  .dimension-box {
    margin: 0 auto;
  }

  .addon {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .addon-meta {
    grid-column: 1 / -1;
    justify-items: start;
    grid-template-columns: auto auto;
    align-items: center;
  }

  .contents-heading {
    flex-direction: column;
  }

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

  .panel-heading,
  .order-request-head,
  .order-ready-head,
  .support,
  .admin-toolbar,
  .account-hub-head,
  .portal-section-head,
  .admin-order-main,
  .portal-toolbar,
  .portal-order-head,
  .detail-head,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-order-price {
    justify-items: start;
    text-align: left;
  }

  .policy-grid,
  .ops-snapshot,
  .checklist-row {
    grid-template-columns: 1fr;
  }

  .instant-quote,
  .experience-panel,
  .experience-grid article,
  .flow-panel,
  .steps article,
  .trust-grid article,
  .knowledge-grid article,
  .faq-grid article,
  .checkout-card {
    padding: 14px;
  }

  .instant-quote {
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(84, 45, 24, 0.11), 0 0 0 5px rgba(255, 240, 231, 0.3);
  }

  .instant-quote::before {
    height: 5px;
    border-radius: 14px 14px 0 0;
  }

  .quote-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .instant-quote h2 {
    font-size: 28px;
  }

  .portal-page,
  .supervisor-page {
    padding-inline: 14px;
  }

  .portal-hero {
    min-height: 0;
    padding: 22px;
    border-radius: 14px;
  }

  .portal-hero h1,
  .portal-signed-in .portal-hero h1 {
    font-size: 42px;
    line-height: 1;
  }

  .portal-hero p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.45;
  }

  .portal-points,
  .portal-account-preview {
    margin-top: 18px;
  }

  .portal-preview-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .portal-preview-row em {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .portal-preview-grid {
    grid-template-columns: 1fr;
  }

  .portal-account-preview {
    display: none;
  }

  .portal-login-card,
  .portal-order,
  .detail-card,
  .order-queue,
  .pipeline-column {
    padding: 14px;
  }

  .portal-service-request form {
    grid-template-columns: 1fr;
  }

  .portal-service-actions {
    grid-column: auto;
    align-items: stretch;
    flex-direction: column;
  }

  .portal-toolbar > div:last-child,
  .account-quick-actions,
  .portal-actions,
  .detail-actions {
    width: 100%;
  }

  .carrier-actions {
    grid-template-columns: 1fr;
  }

  .account-quick-actions .primary-button,
  .account-quick-actions .secondary-button,
  .portal-actions .primary-button,
  .portal-actions .secondary-button,
  .detail-actions .primary-button,
  .detail-actions .secondary-button,
  .supervisor-toolbar .secondary-button {
    width: 100%;
  }

  .account-card,
  .account-summary,
  .saved-row {
    grid-template-columns: 1fr;
  }

  .saved-actions {
    justify-content: flex-start;
  }

  .checkout-brand-panel {
    min-height: 280px;
    padding: 18px;
  }

  .checkout-card h3 {
    font-size: 34px;
  }

  .checkout-receipt {
    padding: 16px;
  }

  .order-request-panel,
  .order-section {
    padding: 14px;
  }

  .order-request-head h3 {
    font-size: 30px;
  }

  .checkout-line,
  .checkout-line.total {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .panel-actions {
    justify-content: stretch;
  }

  .panel-actions button,
  .panel-actions .primary-button,
  .panel-actions .secondary-button,
  .confirmation-actions .primary-button,
  .confirmation-actions .secondary-button,
  .confirmation-actions .pay-button {
    width: 100%;
  }
}

@media (max-width: 1060px) {
  body.supervisor-body .supervisor-hero,
  body.supervisor-body .supervisor-grid {
    grid-template-columns: 1fr;
  }

  body.supervisor-body .system-health {
    grid-template-columns: 1fr;
  }

  body.supervisor-body .supervisor-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.supervisor-body .focus-chip-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.supervisor-body .supervisor-detail {
    position: static;
  }

  body.supervisor-body .ops-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.supervisor-body .supervisor-page {
    padding-inline: 12px;
  }

  body.supervisor-body .supervisor-hero {
    padding: 14px;
  }

  body.supervisor-body .supervisor-hero h1 {
    font-size: 42px;
  }

  body.supervisor-body .supervisor-toolbar,
  body.supervisor-body .supervisor-summary,
  body.supervisor-body .focus-chip-row,
  body.supervisor-body .ops-snapshot,
  body.supervisor-body .detail-card .detail-head {
    grid-template-columns: 1fr;
  }

  body.supervisor-body .health-pill-row {
    gap: 6px;
  }

  body.supervisor-body .health-pill {
    width: 100%;
  }

  body.supervisor-body .detail-card .detail-head > strong {
    justify-self: start;
  }
}

/* Staff workspace V3: quiet, role-aware operations UI. */
body.staff-body,
body.supervisor-body {
  --staff-ink: #13233d;
  --staff-muted: #667085;
  --staff-line: #e3e6eb;
  --staff-soft: #f6f7f9;
  --staff-orange: #d94b1f;
  margin: 0;
  color: var(--staff-ink);
  background: #f6f7f8;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

body.staff-body [hidden],
body.supervisor-body [hidden] {
  display: none !important;
}

body.staff-body .site-header,
body.supervisor-body .site-header {
  min-height: 70px;
  padding: 10px clamp(20px, 3vw, 48px);
  border-bottom: 1px solid var(--staff-line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
}

body.staff-body .brand,
body.supervisor-body .brand {
  gap: 10px;
  font-size: 22px;
}

body.staff-body .brand img,
body.supervisor-body .brand img {
  width: 42px;
  height: 42px;
}

body.staff-body .header-action,
body.supervisor-body .header-action {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  box-shadow: none;
}

body.staff-body .staff-lang-toggle,
body.supervisor-body .staff-lang-toggle {
  min-height: 40px;
  padding: 3px;
  border-color: var(--staff-line);
  border-radius: 6px;
  background: #fff;
}

body.staff-body .staff-lang-toggle button,
body.supervisor-body .staff-lang-toggle button {
  min-width: 48px;
  border-radius: 4px;
}

body.staff-body .staff-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

body.staff-body .staff-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.75fr);
  gap: clamp(40px, 7vw, 88px);
  align-items: center;
  min-height: 620px;
  padding: clamp(32px, 5vw, 68px);
  overflow: visible;
  border: 1px solid var(--staff-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(19, 35, 61, 0.06);
}

body.staff-body .staff-hero::before,
body.staff-body .staff-hero::after {
  display: none;
}

body.staff-body .staff-copy {
  max-width: 620px;
  padding: 0;
}

body.staff-body .staff-copy .eyebrow,
body.supervisor-body .supervisor-hero .eyebrow {
  margin: 0 0 14px;
  color: var(--staff-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.staff-body .staff-copy h1 {
  margin: 0;
  color: var(--staff-ink);
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

body.staff-body .staff-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--staff-muted);
  font-size: 18px;
  line-height: 1.65;
}

body.staff-body .staff-ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--staff-line);
}

body.staff-body .staff-ops-grid article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 10px;
  min-height: 0;
  padding: 0 18px;
  border: 0;
  border-left: 1px solid var(--staff-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.staff-body .staff-ops-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

body.staff-body .staff-ops-grid article:last-child {
  padding-right: 0;
}

body.staff-body .staff-ops-grid span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--staff-orange);
  background: #fff0ea;
  font-size: 11px;
}

body.staff-body .staff-ops-grid strong {
  color: var(--staff-ink);
  font-size: 14px;
}

body.staff-body .staff-ops-grid p {
  margin: 0;
  color: var(--staff-muted);
  font-size: 11px;
  line-height: 1.45;
}

body.staff-body .staff-console {
  width: 100%;
  max-width: 430px;
  justify-self: end;
}

body.staff-body .staff-login-card {
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--staff-line);
  border-radius: 8px;
  background: #fbfbfc;
  box-shadow: none;
}

body.staff-body .staff-card-head strong {
  color: var(--staff-ink);
  font-size: 28px;
  line-height: 1.2;
}

body.staff-body .staff-card-head p {
  margin-top: 9px;
  color: var(--staff-muted);
  font-size: 14px;
  line-height: 1.55;
}

body.staff-body .staff-login-card input {
  min-height: 54px;
  border-color: #cfd4dc;
  border-radius: 6px;
  background: #fff;
  font-size: 16px;
}

body.staff-body .staff-login-card > .primary-button,
body.staff-body .staff-shortcuts .secondary-button {
  min-height: 52px;
  border-radius: 6px;
  box-shadow: none;
}

body.staff-body .staff-shortcuts {
  grid-template-columns: 1fr;
}

body.supervisor-body .supervisor-page {
  display: grid;
  gap: 12px;
  width: min(1540px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

body.supervisor-body .supervisor-hero,
body.supervisor-body.staff-session-ready .supervisor-hero {
  display: flex;
  grid-template-columns: none;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  min-height: 0;
  padding: 4px 2px 16px;
  border: 0;
  border-bottom: 1px solid var(--staff-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.supervisor-body .supervisor-hero > div:first-child {
  max-width: 760px;
}

body.supervisor-body .supervisor-hero .eyebrow,
body.supervisor-body.staff-session-ready .supervisor-hero .eyebrow {
  display: block;
  margin-bottom: 7px;
}

body.supervisor-body .supervisor-hero h1,
body.supervisor-body.staff-session-ready .supervisor-hero h1 {
  margin: 0;
  color: var(--staff-ink);
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

body.supervisor-body .supervisor-hero p:not(.eyebrow),
body.supervisor-body.staff-session-ready .supervisor-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--staff-muted);
  font-size: 14px;
  line-height: 1.5;
}

body.supervisor-body .supervisor-session-card,
body.supervisor-body.staff-session-ready .supervisor-session-card {
  display: grid;
  min-width: 250px;
  max-width: 340px;
  padding: 12px 16px;
  border: 1px solid var(--staff-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

body.supervisor-body .supervisor-session-card > span,
body.supervisor-body.staff-session-ready .supervisor-session-card > span {
  display: block;
  color: var(--staff-muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.supervisor-body .supervisor-session-card strong,
body.supervisor-body.staff-session-ready .supervisor-session-card strong {
  color: var(--staff-ink);
  font-size: 15px;
}

body.supervisor-body .supervisor-session-card .admin-status,
body.supervisor-body.staff-session-ready .supervisor-session-card .admin-status {
  margin: 3px 0 0;
  color: var(--staff-muted);
  font-size: 11px;
}

body.supervisor-body .supervisor-focus {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--staff-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.supervisor-body .focus-chip-row {
  display: flex;
  gap: 2px;
  overflow-x: auto;
}

body.supervisor-body .focus-chip {
  display: flex;
  grid-template-columns: none;
  gap: 8px;
  align-items: center;
  min-width: max-content;
  min-height: 44px;
  padding: 8px 13px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--staff-muted);
  background: transparent;
}

body.supervisor-body .focus-chip:hover,
body.supervisor-body .focus-chip.active {
  border-color: var(--staff-orange);
  color: var(--staff-ink);
  background: transparent;
  box-shadow: none;
  transform: none;
}

body.supervisor-body .focus-chip strong {
  order: 2;
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 12px;
  color: var(--staff-orange);
  background: #fff0ea;
  font-size: 11px;
}

body.supervisor-body .focus-chip span {
  color: inherit;
  font-size: 13px;
}

body.supervisor-body .focus-chip small {
  display: none;
}

body.supervisor-body .supervisor-summary,
body.supervisor-body.staff-session-ready .supervisor-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--staff-line);
  border-radius: 8px;
  background: var(--staff-line);
}

body.supervisor-body.staff-finance-view .supervisor-summary {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.supervisor-body .supervisor-summary article {
  min-height: 60px;
  padding: 12px 16px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body.supervisor-body .supervisor-summary span {
  color: var(--staff-muted);
  font-size: 10px;
  letter-spacing: 0.06em;
}

body.supervisor-body .supervisor-summary strong {
  color: var(--staff-ink);
  font-size: 23px;
}

body.supervisor-body .supervisor-toolbar {
  position: sticky;
  top: 70px;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(160px, 210px) minmax(240px, 1fr) auto;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--staff-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
  backdrop-filter: none;
}

body.supervisor-body .supervisor-toolbar input,
body.supervisor-body .supervisor-toolbar select,
body.supervisor-body .supervisor-toolbar .secondary-button {
  min-height: 42px;
  border-color: #cfd4dc;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
}

body.supervisor-body .supervisor-grid {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

body.supervisor-body .order-queue,
body.supervisor-body .detail-card {
  border: 1px solid var(--staff-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

body.supervisor-body .order-queue {
  gap: 0;
  max-height: calc(100vh - 250px);
  padding: 0;
  overflow: auto;
}

body.supervisor-body .order-queue-head {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 14px 16px;
  border-bottom: 1px solid var(--staff-line);
  background: #fff;
}

body.supervisor-body .order-queue-list {
  display: grid;
  gap: 0;
}

body.supervisor-body .pipeline-card {
  gap: 4px 10px;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--staff-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body.supervisor-body .pipeline-card:hover,
body.supervisor-body .pipeline-card.active {
  border-color: var(--staff-line);
  background: #f8f9fb;
  box-shadow: inset 3px 0 var(--staff-orange);
  transform: none;
}

body.supervisor-body .pipeline-card strong {
  color: var(--staff-ink);
  font-size: 16px;
  line-height: 1.25;
}

body.supervisor-body .pipeline-card em {
  color: var(--staff-ink);
  font-size: 15px;
}

body.supervisor-body .supervisor-detail {
  position: sticky;
  top: 138px;
}

body.supervisor-body .detail-card {
  gap: 0;
  max-height: calc(100vh - 154px);
  padding: 0;
  overflow: auto;
}

body.supervisor-body .detail-card .detail-head {
  padding: 20px 22px;
  border: 0;
  border-bottom: 1px solid var(--staff-line);
  border-radius: 0;
  background: #fff;
}

body.supervisor-body .detail-card .detail-head h2 {
  max-width: 760px;
  margin: 7px 0 5px;
  color: var(--staff-ink);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.12;
}

body.supervisor-body .detail-card .detail-head > strong {
  color: var(--staff-orange);
  font-size: clamp(25px, 2.3vw, 36px);
}

body.supervisor-body .ops-snapshot {
  display: grid;
  gap: 1px;
  padding: 0;
  border-bottom: 1px solid var(--staff-line);
  background: var(--staff-line);
}

body.supervisor-body .ops-snapshot.service-snapshot {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.supervisor-body .ops-snapshot.finance-snapshot {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.supervisor-body .ops-snapshot div {
  min-height: 74px;
  padding: 12px 14px;
  border: 0;
  border-radius: 0;
  background: #fbfbfc;
}

body.supervisor-body .ops-snapshot span,
body.supervisor-body .detail-grid span,
body.supervisor-body .ops-next span,
body.supervisor-body .payment-readiness span,
body.supervisor-body .customer-message-card span {
  color: var(--staff-muted);
  font-size: 10px;
  letter-spacing: 0.06em;
}

body.supervisor-body .ops-snapshot strong {
  overflow-wrap: anywhere;
  color: var(--staff-ink);
  font-size: 15px;
}

body.supervisor-body .ops-next,
body.supervisor-body .ops-action-strip,
body.supervisor-body .payment-readiness,
body.supervisor-body .customer-message-card,
body.supervisor-body .detail-grid,
body.supervisor-body .admin-risk-flags,
body.supervisor-body .detail-form {
  margin: 0;
  padding: 16px 22px;
  border: 0;
  border-bottom: 1px solid var(--staff-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body.supervisor-body .ops-next strong {
  color: var(--staff-ink);
  font-size: 18px;
}

body.supervisor-body .ops-action-strip {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 12px;
}

body.supervisor-body .payment-readiness,
body.supervisor-body .customer-message-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  background: #fbfbfc;
}

body.supervisor-body .payment-readiness ul {
  margin: 0;
}

body.supervisor-body .detail-card .detail-grid,
body.supervisor-body .detail-card .detail-grid.two {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

body.supervisor-body .detail-card .detail-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.supervisor-body .detail-card .detail-grid > div {
  min-width: 0;
  padding: 0 16px;
  border: 0;
  border-left: 1px solid var(--staff-line);
  border-radius: 0;
  background: transparent;
}

body.supervisor-body .detail-card .detail-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

body.supervisor-body .detail-card .detail-grid > div:last-child {
  padding-right: 0;
}

body.supervisor-body .detail-grid strong,
body.supervisor-body .detail-grid p {
  overflow-wrap: anywhere;
}

body.supervisor-body .detail-form {
  display: grid;
  gap: 12px;
  border-bottom: 0;
}

body.supervisor-body .detail-form input,
body.supervisor-body .detail-form select,
body.supervisor-body .detail-form textarea {
  border-color: #cfd4dc;
  border-radius: 6px;
  background: #fff;
}

body.supervisor-body .carrier-ops {
  padding: 16px;
  border: 1px solid var(--staff-line);
  border-radius: 6px;
  background: #fbfbfc;
}

body.supervisor-body .carrier-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.supervisor-body .primary-button,
body.supervisor-body .secondary-button,
body.supervisor-body .ops-action-buttons .primary-button,
body.supervisor-body .ops-action-buttons .secondary-button {
  border-radius: 6px;
  box-shadow: none;
}

body.supervisor-body .system-health-drawer {
  border-top: 1px solid var(--staff-line);
}

body.supervisor-body .system-health-drawer summary {
  display: flex;
  justify-content: space-between;
  padding: 14px 2px;
  color: var(--staff-muted);
  cursor: pointer;
  font-size: 12px;
}

body.supervisor-body .system-health-drawer .system-health {
  margin: 0 0 12px;
  padding: 10px;
  border: 1px solid var(--staff-line);
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 1120px) {
  body.staff-body .staff-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.staff-body .staff-console {
    max-width: none;
    justify-self: stretch;
  }

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

  body.supervisor-body .supervisor-detail,
  body.supervisor-body .detail-card {
    position: static;
    max-height: none;
  }

  body.supervisor-body .order-queue {
    max-height: 520px;
  }

  body.supervisor-body .ops-snapshot.service-snapshot,
  body.supervisor-body .ops-snapshot.finance-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.staff-body .site-header,
  body.supervisor-body .site-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: center;
    padding-inline: 14px;
  }

  body.staff-body .site-header .brand,
  body.supervisor-body .site-header .brand,
  body.staff-body .site-header .staff-header-tools,
  body.supervisor-body .site-header .staff-header-tools {
    width: 100%;
  }

  body.staff-body .site-header .staff-header-tools,
  body.supervisor-body .site-header .staff-header-tools {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
  }

  body.staff-body .site-header .header-action,
  body.supervisor-body .site-header .header-action {
    width: 100%;
    max-width: none;
    white-space: nowrap;
  }

  body.staff-body .staff-page,
  body.supervisor-body .supervisor-page {
    width: min(100% - 20px, 100%);
    padding-top: 12px;
  }

  body.staff-body .staff-hero {
    gap: 32px;
    padding: 26px 20px;
  }

  body.staff-body .staff-ops-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.staff-body .staff-ops-grid article,
  body.staff-body .staff-ops-grid article:first-child,
  body.staff-body .staff-ops-grid article:last-child {
    padding: 0;
    border: 0;
  }

  body.staff-body .staff-login-card {
    padding: 22px 18px;
  }

  body.supervisor-body .supervisor-hero,
  body.supervisor-body.staff-session-ready .supervisor-hero {
    align-items: stretch;
    flex-direction: column;
  }

  body.supervisor-body .supervisor-session-card,
  body.supervisor-body.staff-session-ready .supervisor-session-card {
    min-width: 0;
    max-width: none;
  }

  body.supervisor-body .supervisor-summary,
  body.supervisor-body.staff-session-ready .supervisor-summary,
  body.supervisor-body.staff-finance-view .supervisor-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.supervisor-body .supervisor-toolbar {
    position: static;
    grid-template-columns: 1fr;
  }

  body.supervisor-body .ops-snapshot.service-snapshot,
  body.supervisor-body .ops-snapshot.finance-snapshot,
  body.supervisor-body .ops-action-strip,
  body.supervisor-body .payment-readiness,
  body.supervisor-body .customer-message-card,
  body.supervisor-body .detail-card .detail-head,
  body.supervisor-body .detail-card .detail-grid,
  body.supervisor-body .detail-card .detail-grid.two,
  body.supervisor-body .carrier-actions {
    grid-template-columns: 1fr;
  }

  body.supervisor-body .detail-card .detail-grid {
    gap: 14px;
  }

  body.supervisor-body .detail-card .detail-grid > div,
  body.supervisor-body .detail-card .detail-grid > div:first-child,
  body.supervisor-body .detail-card .detail-grid > div:last-child {
    padding: 0;
    border: 0;
  }

  body.supervisor-body .detail-card .detail-head > strong {
    justify-self: start;
  }
}

/* Retired supervisor styling kept disabled while V3 is verified. */
@media not all {
/* Supervisor V2: calmer order desk */
body.supervisor-body {
  background:
    linear-gradient(180deg, #fffaf6 0%, #ffffff 30%, #fffdfb 100%);
}

body.supervisor-body .site-header {
  min-height: 62px;
  border-bottom-color: rgba(234, 215, 203, 0.7);
  background: rgba(255, 253, 251, 0.94);
}

body.supervisor-body .supervisor-page {
  max-width: 1480px;
  gap: 12px;
  padding: 22px clamp(16px, 2.4vw, 34px) 48px;
}

body.supervisor-body .supervisor-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: center;
  gap: 14px;
  min-height: 0;
  padding: 18px 20px;
  border: 1px solid rgba(234, 215, 203, 0.82);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

body.supervisor-body .supervisor-hero > div:first-child {
  min-height: 0;
  padding: 0;
}

body.supervisor-body .supervisor-hero h1 {
  max-width: 560px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.98;
  text-wrap: balance;
}

body.supervisor-body .supervisor-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 8px;
  color: #647089;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.42;
}

body.supervisor-body .supervisor-session-card {
  min-height: 0;
  padding: 16px;
  border-color: rgba(234, 215, 203, 0.86);
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

body.supervisor-body .supervisor-session-card span {
  color: var(--orange-dark);
  font-size: 11px;
  letter-spacing: 0.1em;
}

body.supervisor-body .supervisor-session-card strong {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.12;
}

body.supervisor-body .supervisor-session-card .admin-status {
  margin-top: 2px;
  color: #647089;
  font-size: 13px;
  line-height: 1.35;
}

body.supervisor-body .system-health {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 9px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

body.supervisor-body .health-strip-head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

body.supervisor-body .health-strip-head span {
  color: var(--orange-dark);
}

body.supervisor-body .health-strip-head strong {
  color: #647089;
  font-size: 13px;
}

body.supervisor-body .health-pill-row {
  flex: 1 1 auto;
  gap: 6px;
  min-width: 0;
}

body.supervisor-body .health-pill {
  grid-template-columns: auto auto auto;
  gap: 6px;
  min-height: 28px;
  padding: 6px 9px;
  border-color: rgba(234, 215, 203, 0.78);
  background: #fff;
}

body.supervisor-body .health-pill span {
  display: inline;
  grid-column: 3;
  color: #7a8498;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: capitalize;
}

body.supervisor-body .health-pill strong {
  grid-column: 2;
  color: #37425a;
  font-size: 12px;
}

body.supervisor-body .supervisor-summary {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

body.supervisor-body .supervisor-summary article {
  min-height: 58px;
  padding: 12px 14px;
  border-radius: 15px;
  background: #fff;
  box-shadow: none;
}

body.supervisor-body .supervisor-summary span {
  color: #748096;
  font-size: 10px;
  letter-spacing: 0.08em;
}

body.supervisor-body .supervisor-summary strong {
  color: var(--blue-dark);
  font-size: clamp(20px, 1.8vw, 28px);
}

body.supervisor-body .supervisor-focus {
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: none;
}

body.supervisor-body .focus-chip-row {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

body.supervisor-body .focus-chip {
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 46px;
  padding: 9px 10px;
  border-radius: 13px;
  background: transparent;
}

body.supervisor-body .focus-chip:hover,
body.supervisor-body .focus-chip.active {
  transform: none;
  box-shadow: none;
}

body.supervisor-body .focus-chip.active {
  border-color: rgba(232, 93, 42, 0.5);
  background: #fff4ec;
}

body.supervisor-body .focus-chip strong {
  grid-row: 1;
  min-width: 26px;
  height: 26px;
  background: rgba(232, 93, 42, 0.12);
  font-size: 12px;
}

body.supervisor-body .focus-chip span {
  color: var(--blue-dark);
  font-size: 13px;
  line-height: 1.15;
}

body.supervisor-body .focus-chip small {
  display: none;
}

body.supervisor-body .supervisor-toolbar {
  position: sticky;
  top: 70px;
  z-index: 5;
  grid-template-columns: minmax(150px, 190px) minmax(260px, 1fr) auto;
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 26px rgba(84, 45, 24, 0.06);
}

body.supervisor-body .supervisor-toolbar label {
  gap: 5px;
}

body.supervisor-body .supervisor-toolbar input,
body.supervisor-body .supervisor-toolbar select {
  min-height: 42px;
  border-radius: 12px;
  font-size: 14px;
}

body.supervisor-body .supervisor-toolbar .secondary-button {
  min-height: 42px;
  border-radius: 12px;
}

body.supervisor-body .supervisor-grid {
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

body.supervisor-body .order-queue,
body.supervisor-body .detail-card {
  border-color: rgba(234, 215, 203, 0.82);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

body.supervisor-body .order-queue {
  gap: 10px;
  max-height: calc(100vh - 172px);
  overflow: auto;
  padding: 12px;
}

body.supervisor-body .order-queue-head {
  padding: 2px 0 10px;
}

body.supervisor-body .order-queue-head span {
  color: #748096;
  font-size: 10px;
}

body.supervisor-body .order-queue-head strong {
  font-size: 16px;
}

body.supervisor-body .order-queue-head em {
  background: #fff4ec;
  font-size: 11px;
}

body.supervisor-body .pipeline-card {
  gap: 5px 10px;
  padding: 12px;
  border-radius: 14px;
  box-shadow: none;
}

body.supervisor-body .pipeline-card.active,
body.supervisor-body .pipeline-card:hover {
  transform: none;
  box-shadow: none;
}

body.supervisor-body .pipeline-card span {
  color: #748096;
  font-size: 11px;
}

body.supervisor-body .pipeline-card strong {
  font-size: 18px;
  line-height: 1.12;
}

body.supervisor-body .pipeline-card small {
  font-size: 12px;
}

body.supervisor-body .pipeline-card i,
body.supervisor-body .pipeline-card b {
  max-width: 100%;
  overflow: hidden;
  color: var(--orange-dark);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.supervisor-body .pipeline-next {
  margin-top: 4px;
  padding-top: 8px;
}

body.supervisor-body .supervisor-detail {
  top: 138px;
}

body.supervisor-body .detail-card {
  gap: 10px;
  max-height: calc(100vh - 154px);
  overflow: auto;
  padding: 12px;
}

body.supervisor-body .detail-card .detail-head {
  align-items: center;
  padding: 16px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 244, 236, 0.82), rgba(255, 255, 255, 0.98)),
    #fff;
}

body.supervisor-body .detail-card .detail-head h2 {
  max-width: 680px;
  margin: 7px 0 6px;
  font-size: clamp(26px, 2.8vw, 42px);
  line-height: 1.04;
}

body.supervisor-body .detail-card .detail-head p {
  color: #647089;
  font-size: 14px;
}

body.supervisor-body .detail-card .detail-head > strong {
  color: var(--orange-dark);
  font-size: clamp(30px, 3vw, 46px);
}

body.supervisor-body .ops-snapshot {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

body.supervisor-body .ops-snapshot div,
body.supervisor-body .ops-next,
body.supervisor-body .payment-readiness,
body.supervisor-body .customer-message-card,
body.supervisor-body .detail-card .detail-grid > div,
body.supervisor-body .carrier-ops {
  border-color: rgba(234, 215, 203, 0.82);
  border-radius: 15px;
  background: #fffdfb;
}

body.supervisor-body .ops-snapshot div {
  min-height: 76px;
}

body.supervisor-body .ops-snapshot strong,
body.supervisor-body .ops-next strong {
  font-size: clamp(17px, 1.4vw, 22px);
}

body.supervisor-body .ops-next {
  padding: 14px 16px;
  background:
    linear-gradient(135deg, rgba(255, 244, 236, 0.78), rgba(255, 255, 255, 0.98)),
    #fff;
}

body.supervisor-body .ops-action-strip {
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  padding: 12px;
  border-radius: 15px;
  background: #fff;
}

body.supervisor-body .ops-action-buttons .primary-button,
body.supervisor-body .ops-action-buttons .secondary-button,
body.supervisor-body .secondary-button.compact {
  min-height: 36px;
  border-radius: 10px;
}

body.supervisor-body .payment-readiness {
  padding: 13px 14px;
}

body.supervisor-body .payment-readiness ul {
  align-content: center;
}

body.supervisor-body .customer-message-card {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 13px 14px;
  background: #f8fbff;
}

body.supervisor-body .detail-grid {
  gap: 10px;
}

body.supervisor-body .detail-card .detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.supervisor-body .detail-card .detail-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.supervisor-body .detail-card .detail-grid > div {
  padding: 13px;
}

body.supervisor-body .detail-form {
  gap: 10px;
}

body.supervisor-body .carrier-ops {
  padding: 13px;
}

body.supervisor-body .detail-actions {
  padding-top: 2px;
}

body.supervisor-body .order-danger-zone {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid #eadfd8;
}

body.supervisor-body .order-danger-zone > summary {
  width: fit-content;
  color: #776d67;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

body.supervisor-body .order-danger-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #f0d3c9;
  border-radius: 8px;
  background: #fffaf8;
}

body.supervisor-body .order-danger-copy strong,
body.supervisor-body .order-danger-copy p {
  display: block;
  margin: 0;
}

body.supervisor-body .order-danger-copy p {
  max-width: 720px;
  margin-top: 4px;
  color: #756b66;
  font-size: 13px;
  line-height: 1.5;
}

body.supervisor-body .danger-button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #c93f2a;
  border-radius: 8px;
  background: #fff;
  color: #b82f20;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

body.supervisor-body .danger-button:hover {
  background: #fff1ec;
}

body.supervisor-body .danger-button.solid {
  background: #b82f20;
  color: #fff;
}

body.supervisor-body .danger-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

body.supervisor-body .order-delete-dialog {
  width: min(520px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(24, 38, 62, 0.24);
}

body.supervisor-body .order-delete-dialog::backdrop {
  background: rgba(17, 28, 47, 0.5);
}

body.supervisor-body .order-delete-dialog-content {
  display: grid;
  gap: 14px;
  padding: 24px;
}

body.supervisor-body .order-delete-dialog-content > span {
  color: #c73d25;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

body.supervisor-body .order-delete-dialog-content h3,
body.supervisor-body .order-delete-dialog-content p {
  margin: 0;
}

body.supervisor-body .order-delete-dialog-content h3 {
  font-size: 27px;
}

body.supervisor-body .order-delete-dialog-content p {
  color: #6d7180;
  line-height: 1.55;
}

body.supervisor-body .order-delete-dialog-content label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

body.supervisor-body .order-delete-dialog-content input {
  min-width: 0;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #d9c9c1;
  border-radius: 8px;
  font: inherit;
}

body.supervisor-body .order-delete-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 1120px) {
  body.supervisor-body .supervisor-hero,
  body.supervisor-body .supervisor-grid,
  body.supervisor-body .ops-action-strip {
    grid-template-columns: 1fr;
  }

  body.supervisor-body .supervisor-detail,
  body.supervisor-body .detail-card {
    position: static;
    max-height: none;
  }

  body.supervisor-body .order-queue {
    max-height: none;
  }

  body.supervisor-body .supervisor-summary,
  body.supervisor-body .focus-chip-row,
  body.supervisor-body .ops-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.supervisor-body .supervisor-page {
    padding-top: 14px;
  }

  body.supervisor-body .supervisor-hero h1 {
    font-size: 40px;
  }

  body.supervisor-body .system-health,
  body.supervisor-body .health-strip-head {
    align-items: flex-start;
    flex-direction: column;
  }

  body.supervisor-body .supervisor-summary,
  body.supervisor-body .focus-chip-row,
  body.supervisor-body .supervisor-toolbar,
  body.supervisor-body .ops-snapshot,
  body.supervisor-body .detail-card .detail-head,
  body.supervisor-body .detail-card .detail-grid,
  body.supervisor-body .detail-card .detail-grid.two,
  body.supervisor-body .payment-readiness,
  body.supervisor-body .customer-message-card {
    grid-template-columns: 1fr;
  }

  body.supervisor-body .order-danger-copy,
  body.supervisor-body .order-delete-actions {
    grid-template-columns: 1fr;
  }

  body.supervisor-body .order-danger-copy .danger-button {
    width: 100%;
  }

  body.supervisor-body .supervisor-toolbar {
    position: static;
  }

  body.supervisor-body .detail-card .detail-head > strong {
    justify-self: start;
  }
}

body.supervisor-body.staff-session-ready .supervisor-page {
  gap: 10px;
  padding-top: 16px;
}

body.supervisor-body.staff-session-ready .supervisor-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px 14px;
  border-radius: 16px;
}

body.supervisor-body.staff-session-ready .supervisor-hero .eyebrow {
  display: none;
}

body.supervisor-body.staff-session-ready .supervisor-hero h1 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
}

body.supervisor-body.staff-session-ready .supervisor-hero p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 6px;
  font-size: 14px;
}

body.supervisor-body.staff-session-ready .supervisor-session-card {
  min-width: 260px;
  padding: 10px 12px;
  border-radius: 14px;
}

body.supervisor-body.staff-session-ready .supervisor-session-card span {
  display: none;
}

body.supervisor-body.staff-session-ready .supervisor-session-card strong {
  font-size: 16px;
}

body.supervisor-body.staff-session-ready .supervisor-session-card .admin-status {
  margin: 3px 0 0;
  font-size: 12px;
}

body.supervisor-body.staff-session-ready .supervisor-summary {
  display: none;
}

body.supervisor-body.staff-session-ready .system-health {
  min-height: 40px;
  padding: 7px 10px;
}

body.supervisor-body.staff-session-ready .supervisor-focus {
  padding: 7px;
}

body.supervisor-body.staff-session-ready .focus-chip {
  min-height: 42px;
  padding: 8px 10px;
}

body.supervisor-body.staff-session-ready .supervisor-toolbar {
  top: 64px;
}

body.supervisor-body.staff-session-ready .supervisor-detail {
  top: 128px;
}

body.supervisor-body.staff-session-ready .order-queue {
  max-height: calc(100vh - 142px);
}

body.supervisor-body.staff-session-ready .detail-card {
  max-height: calc(100vh - 134px);
}

@media (max-width: 1120px) {
  body.supervisor-body.staff-session-ready .supervisor-hero {
    grid-template-columns: 1fr;
  }

  body.supervisor-body.staff-session-ready .supervisor-session-card {
    min-width: 0;
  }
}

}

@media (max-width: 980px) {
  .seo-answer-hub,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .seo-answer-grid,
  .seo-faq-mini {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .seo-answer-hub,
  .guide-page {
    width: min(100% - 24px, 100%);
  }

  .seo-answer-hub,
  .guide-hero {
    border-radius: 12px;
  }

  .seo-answer-copy h2,
  .guide-hero h1 {
    font-size: 38px;
  }

  .guide-page {
    padding-top: 18px;
  }
}

/* Operations workspace V3 */
body.supervisor-body .staff-header-tools {
  gap: 10px;
}

body.supervisor-body .staff-signout-button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #dfd7d1;
  border-radius: 8px;
  background: #fff;
  color: var(--blue-dark);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

body.supervisor-body .staff-signout-button:hover {
  border-color: #e85d2a;
  color: #c94820;
}

body.supervisor-body .supervisor-grid {
  grid-template-columns: minmax(290px, 340px) minmax(0, 1fr);
  gap: 16px;
}

body.supervisor-body .order-queue,
body.supervisor-body .detail-card,
body.supervisor-body .supervisor-toolbar,
body.supervisor-body .supervisor-focus {
  border-radius: 8px;
}

body.supervisor-body .pipeline-card {
  grid-template-columns: minmax(0, 1fr) auto;
  border-radius: 8px;
}

body.supervisor-body .pipeline-card > * {
  min-width: 0;
}

body.supervisor-body .pipeline-card strong,
body.supervisor-body .pipeline-card small,
body.supervisor-body .pipeline-card .pipeline-next,
body.supervisor-body .pipeline-card .pipeline-order-number {
  overflow-wrap: anywhere;
}

body.supervisor-body .pipeline-card .pipeline-next {
  grid-column: 1 / -1;
}

body.supervisor-body .detail-card {
  gap: 12px;
  padding: 14px;
}

body.supervisor-body .detail-card .detail-head {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 18px 20px;
  border-radius: 8px;
}

body.supervisor-body .detail-card .detail-head h2,
body.supervisor-body .detail-card .detail-head p {
  overflow-wrap: anywhere;
}

body.supervisor-body .ops-workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #eadfd8;
  border-radius: 8px;
  background: #fff;
}

body.supervisor-body .ops-step {
  position: relative;
  display: flex;
  gap: 9px;
  align-items: center;
  min-width: 0;
  min-height: 54px;
  padding: 9px 13px;
  color: #7b8495;
}

body.supervisor-body .ops-step + .ops-step {
  border-left: 1px solid #eadfd8;
}

body.supervisor-body .ops-step > span {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #f4f1ee;
  color: #7b8495;
  font-size: 12px;
  font-weight: 900;
}

body.supervisor-body .ops-step > strong {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.supervisor-body .ops-step.complete {
  color: #176f57;
}

body.supervisor-body .ops-step.complete > span {
  background: #e9f7f1;
  color: #176f57;
}

body.supervisor-body .ops-step.current {
  background: #fff4ec;
  color: var(--blue-dark);
}

body.supervisor-body .ops-step.current > span {
  background: #e85d2a;
  color: #fff;
}

body.supervisor-body .ops-current-task {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid #f0c8b8;
  border-left: 4px solid #e85d2a;
  border-radius: 8px;
  background: #fff8f3;
}

body.supervisor-body .ops-current-task > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

body.supervisor-body .ops-current-task span {
  color: #c94820;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

body.supervisor-body .ops-current-task strong {
  color: var(--blue-dark);
  font-size: clamp(17px, 1.7vw, 23px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

body.supervisor-body .ops-current-task small {
  color: #68738a;
  line-height: 1.45;
}

body.supervisor-body .ops-current-task .ops-action-buttons {
  justify-content: flex-end;
}

body.supervisor-body .ops-section {
  overflow: clip;
  border: 1px solid #eadfd8;
  border-radius: 8px;
  background: #fff;
}

body.supervisor-body .ops-section > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: 16px;
  align-items: center;
  min-height: 56px;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
}

body.supervisor-body .ops-section > summary::-webkit-details-marker {
  display: none;
}

body.supervisor-body .ops-section > summary::after {
  content: "+";
  grid-column: 3;
  color: #c94820;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

body.supervisor-body .ops-section[open] > summary::after {
  content: "−";
}

body.supervisor-body .ops-section > summary > span {
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 850;
}

body.supervisor-body .ops-section > summary > small {
  max-width: 560px;
  overflow: hidden;
  color: #748096;
  font-size: 12px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.supervisor-body .ops-section[open] > summary {
  border-bottom: 1px solid #eadfd8;
  background: #fffdfb;
}

body.supervisor-body .ops-section-content {
  display: grid;
  gap: 12px;
  padding: 14px;
}

body.supervisor-body .ops-snapshot.service-snapshot,
body.supervisor-body .ops-snapshot.finance-snapshot {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.supervisor-body .ops-snapshot div,
body.supervisor-body .detail-card .detail-grid > div,
body.supervisor-body .carrier-ops {
  border-radius: 8px;
}

body.supervisor-body .ops-snapshot strong,
body.supervisor-body .detail-card .detail-grid strong,
body.supervisor-body .detail-card .detail-grid p {
  overflow-wrap: anywhere;
}

body.supervisor-body .detail-form label {
  min-width: 0;
}

body.supervisor-body .detail-form input,
body.supervisor-body .detail-form select,
body.supervisor-body .detail-form textarea {
  width: 100%;
  min-width: 0;
}

body.supervisor-body .carrier-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.supervisor-body .carrier-actions .secondary-button {
  width: 100%;
}

body.supervisor-body .carrier-advanced > div,
body.supervisor-body .detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.supervisor-body .carrier-rate-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

body.supervisor-body .carrier-rate-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(20, 47, 88, 0.12);
  border-radius: 8px;
  background: #fff;
}

body.supervisor-body .carrier-rate-list article > div {
  display: grid;
  gap: 3px;
}

body.supervisor-body .carrier-rate-list small {
  color: var(--muted);
}

.staff-work-dialog {
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 30px 100px rgba(20, 47, 88, 0.28);
}

.staff-work-dialog.compact-dialog {
  width: min(680px, calc(100vw - 32px));
}

.staff-work-dialog::backdrop {
  background: rgba(20, 31, 49, 0.62);
  backdrop-filter: blur(3px);
}

.staff-work-dialog-card {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 34px);
}

.staff-work-dialog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
}

.staff-work-dialog-head span {
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.staff-work-dialog-head h2 {
  margin: 4px 0 7px;
  color: var(--blue-dark);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.08;
}

.staff-work-dialog-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.dialog-close-button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(20, 47, 88, 0.14);
  border-radius: 50%;
  background: #fff;
  color: var(--blue-dark);
  font-size: 25px;
  cursor: pointer;
}

.staff-work-dialog-card fieldset {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(20, 47, 88, 0.12);
  border-radius: 10px;
}

.staff-work-dialog-card legend {
  padding: 0 7px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 850;
}

.staff-work-dialog-card label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.staff-work-dialog-card input,
.staff-work-dialog-card select,
.staff-work-dialog-card textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(20, 47, 88, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
}

.staff-work-dialog-card textarea {
  resize: vertical;
}

.staff-work-grid {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.staff-work-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.staff-work-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.staff-work-notice,
.staff-work-danger {
  margin: 0;
  padding: 11px 13px;
  border: 1px solid rgba(32, 164, 118, 0.24);
  border-radius: 8px;
  background: #f3fbf7;
  color: #176f57;
  font-size: 13px;
  line-height: 1.45;
}

.staff-work-notice.warning,
.staff-work-danger {
  border-color: rgba(232, 93, 42, 0.26);
  background: #fff6f1;
  color: #a43f1c;
}

.staff-work-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.staff-work-checkbox {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.staff-work-checkbox input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}

.production-confirm-summary dl {
  display: grid;
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 47, 88, 0.12);
  border-radius: 8px;
}

.production-confirm-summary dl > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 12px;
}

.production-confirm-summary dl > div + div {
  border-top: 1px solid rgba(20, 47, 88, 0.08);
}

.production-confirm-summary dt {
  color: var(--muted);
  font-weight: 750;
}

.production-confirm-summary dd {
  min-width: 0;
  margin: 0;
  color: var(--blue-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  body.supervisor-body .supervisor-grid {
    grid-template-columns: 1fr;
  }

  body.supervisor-body .supervisor-detail,
  body.supervisor-body .detail-card {
    position: static;
    max-height: none;
  }

  body.supervisor-body .order-queue {
    max-height: min(430px, 52vh);
  }
}

@media (max-width: 820px) {
  body.supervisor-body .site-header {
    align-items: flex-start;
  }

  body.supervisor-body .staff-header-tools {
    width: 100%;
    flex-wrap: wrap;
  }

  body.supervisor-body .ops-current-task {
    grid-template-columns: 1fr;
  }

  body.supervisor-body .ops-current-task .ops-action-buttons {
    justify-content: flex-start;
  }

  body.supervisor-body .ops-snapshot.service-snapshot,
  body.supervisor-body .ops-snapshot.finance-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.supervisor-body .ops-section > summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.supervisor-body .ops-section > summary > small {
    display: none;
  }

  body.supervisor-body .ops-section > summary::after {
    grid-column: 2;
  }

  .staff-work-grid.three,
  .staff-work-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  body.supervisor-body .ops-workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.supervisor-body .ops-step:nth-child(3) {
    border-top: 1px solid #eadfd8;
    border-left: 0;
  }

  body.supervisor-body .ops-step:nth-child(4) {
    border-top: 1px solid #eadfd8;
  }

  body.supervisor-body .ops-snapshot.service-snapshot,
  body.supervisor-body .ops-snapshot.finance-snapshot,
  body.supervisor-body .carrier-actions {
    grid-template-columns: 1fr;
  }

  body.supervisor-body .detail-card .detail-head {
    grid-template-columns: 1fr;
  }

  body.supervisor-body .detail-card .detail-head > strong {
    justify-self: start;
  }

  body.supervisor-body .ops-current-task .ops-action-buttons > *,
  body.supervisor-body .detail-actions > * {
    width: 100%;
  }

  .staff-work-grid.two,
  .staff-work-grid.three,
  .staff-work-grid.four,
  .production-confirm-summary dl > div,
  body.supervisor-body .carrier-rate-list article {
    grid-template-columns: 1fr;
  }

  .staff-work-dialog-actions > * {
    width: 100%;
  }
}

/* Owner team access */
.team-body {
  min-height: 100vh;
  background: #fffaf6;
}

.team-body .nav-links a[aria-current="page"] {
  color: var(--blue-dark);
}

.staff-signout-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(20, 47, 88, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-dark);
  cursor: pointer;
  font-weight: 850;
}

.team-page {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 80px;
}

.team-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.team-intro h1 {
  max-width: 720px;
  margin: 7px 0 12px;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.team-intro > div > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.team-session {
  display: grid;
  gap: 5px;
  min-width: 250px;
  padding: 16px 18px;
  border-left: 3px solid var(--green);
  background: #fff;
}

.team-session span,
.team-metric span,
.team-member-role > span,
.team-member-time > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.team-session strong {
  overflow-wrap: anywhere;
  color: var(--blue-dark);
  font-size: 14px;
}

.team-alert {
  min-height: 24px;
  margin: 16px 0 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.team-alert:empty {
  min-height: 0;
  margin: 0;
}

.team-alert.error {
  color: #b42318;
}

.team-alert.success {
  color: #087a5b;
}

.team-alert.notice {
  color: var(--orange-dark);
}

.team-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 30px 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.team-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 78px;
  padding: 17px 20px;
  border-right: 1px solid var(--line);
}

.team-metric:last-child {
  border-right: 0;
}

.team-metric strong {
  font-size: 30px;
  line-height: 1;
}

.team-metric.green strong {
  color: var(--green);
}

.team-metric.blue strong {
  color: var(--blue);
}

.team-metric.orange strong {
  color: var(--orange-dark);
}

.team-layout {
  display: grid;
  gap: 22px;
}

.team-add-section,
.team-directory-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.team-add-section {
  padding: 26px;
}

.team-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.team-section-heading h2 {
  margin: 5px 0 0;
  color: var(--blue-dark);
  font-size: 24px;
}

.team-section-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.team-add-form {
  display: grid;
  grid-template-columns: 1fr 1.35fr 0.9fr auto auto;
  align-items: end;
  gap: 12px;
  margin-top: 22px;
}

.team-add-form label:not(.team-invite-toggle) {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #413a35;
  font-size: 12px;
  font-weight: 850;
}

.team-add-form input,
.team-add-form select,
.team-member-role select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #dccac0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.team-invite-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 3px;
  color: var(--blue-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.team-invite-toggle input {
  width: 17px;
  min-height: 17px;
  accent-color: var(--orange-dark);
}

.team-add-form .primary-button {
  min-height: 46px;
  white-space: nowrap;
}

.team-role-help {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.team-directory-heading {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.team-member-list {
  display: grid;
}

.team-member-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) minmax(180px, 0.72fr) minmax(210px, 0.8fr) auto;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 19px 24px;
  border-bottom: 1px solid #eee5df;
}

.team-member-row:last-child {
  border-bottom: 0;
}

.team-member-identity {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.team-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 18px;
  font-weight: 900;
}

.team-member-identity strong,
.team-member-identity a {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-member-identity strong {
  color: var(--blue-dark);
  font-size: 14px;
}

.team-member-identity a {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}

.team-member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.team-status,
.team-self,
.team-source {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
}

.team-status.active {
  background: var(--green-soft);
  color: #087a5b;
}

.team-status.inactive {
  background: #f2f0ee;
  color: #746d67;
}

.team-self {
  background: #eaf1ff;
  color: var(--blue-dark);
}

.team-source {
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.team-member-role,
.team-member-time {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.team-member-time strong,
.team-member-time small {
  overflow-wrap: anywhere;
}

.team-member-time strong {
  color: var(--blue-dark);
  font-size: 12px;
}

.team-member-time small {
  color: var(--muted);
  font-size: 10px;
}

.team-member-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.team-member-actions button {
  min-height: 40px;
  padding: 0 13px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.team-member-actions button:disabled,
.team-member-role select:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.team-access-button {
  border: 1px solid #d9d2ce;
  background: #fff;
  color: var(--blue-dark);
}

.team-access-button.danger {
  color: #b42318;
}

.team-access-button.restore {
  border-color: rgba(22, 163, 123, 0.28);
  color: #087a5b;
}

.team-empty {
  padding: 44px 24px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1050px) {
  .team-add-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-add-form .primary-button {
    width: 100%;
  }

  .team-member-row {
    grid-template-columns: minmax(230px, 1.2fr) minmax(180px, 0.8fr) auto;
  }

  .team-member-time {
    display: none;
  }
}

@media (max-width: 760px) {
  .team-body .site-header {
    flex-wrap: wrap;
  }

  .team-body .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .team-page {
    width: min(100% - 24px, 1240px);
    padding-top: 34px;
  }

  .team-intro,
  .team-section-heading {
    grid-template-columns: 1fr;
  }

  .team-section-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .team-intro {
    display: grid;
    align-items: start;
  }

  .team-session {
    width: 100%;
    min-width: 0;
  }

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

  .team-metric:nth-child(2) {
    border-right: 0;
  }

  .team-metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .team-add-form,
  .team-member-row {
    grid-template-columns: 1fr;
  }

  .team-member-row {
    align-items: stretch;
  }

  .team-member-time {
    display: grid;
  }

  .team-member-actions {
    justify-content: stretch;
  }

  .team-member-actions button {
    flex: 1;
  }
}

@media (max-width: 460px) {
  .team-add-section,
  .team-directory-heading,
  .team-member-row {
    padding-right: 16px;
    padding-left: 16px;
  }

  .team-metrics {
    grid-template-columns: 1fr;
  }

  .team-metric,
  .team-metric:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .team-metric:last-child {
    border-bottom: 0;
  }
}

/* Operations workspace V4: calm three-zone workbench. */
body.supervisor-body {
  --ops-ink: #172033;
  --ops-muted: #6b7280;
  --ops-line: #e6e8ec;
  --ops-soft: #f7f8fa;
  --ops-blue: #315f92;
  --ops-orange: #d9552b;
  --ops-green: #18765e;
  --ops-red: #b5473c;
  background: #f4f5f7;
  color: var(--ops-ink);
}

body.supervisor-body .site-header {
  min-height: 58px;
  padding: 7px clamp(18px, 2.4vw, 40px);
  border-bottom-color: var(--ops-line);
  background: rgba(255, 255, 255, 0.97);
}

body.supervisor-body .brand {
  font-size: 19px;
}

body.supervisor-body .brand img {
  width: 36px;
  height: 36px;
}

body.supervisor-body .nav-links a {
  color: var(--ops-muted);
  font-size: 12px;
  font-weight: 750;
}

body.supervisor-body .nav-links a:hover {
  color: var(--ops-ink);
}

body.supervisor-body .staff-lang-toggle,
body.supervisor-body .staff-signout-button,
body.supervisor-body .header-action {
  min-height: 36px;
}

body.supervisor-body .header-action {
  padding-inline: 14px;
}

body.supervisor-body .supervisor-page,
body.supervisor-body.staff-session-ready .supervisor-page {
  width: min(1660px, calc(100% - 28px));
  gap: 9px;
  padding: 13px 0 44px;
}

body.supervisor-body .supervisor-hero,
body.supervisor-body.staff-session-ready .supervisor-hero {
  min-height: 58px;
  padding: 8px 12px 10px;
  border: 0;
  border-bottom: 1px solid var(--ops-line);
  border-radius: 0;
  background: transparent;
}

body.supervisor-body .supervisor-hero h1,
body.supervisor-body.staff-session-ready .supervisor-hero h1 {
  color: var(--ops-ink);
  font-size: clamp(25px, 2.25vw, 34px);
  letter-spacing: -0.025em;
}

body.supervisor-body .supervisor-hero > div:first-child,
body.supervisor-body.staff-session-ready .supervisor-hero > div:first-child {
  min-height: 0;
  padding: 0;
}

body.supervisor-body .supervisor-hero p:not(.eyebrow),
body.supervisor-body.staff-session-ready .supervisor-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 4px;
  color: var(--ops-muted);
  font-size: 12px;
}

body.supervisor-body .supervisor-session-card,
body.supervisor-body.staff-session-ready .supervisor-session-card {
  align-self: center;
  min-width: 230px;
  max-width: 310px;
  min-height: 0;
  gap: 2px;
  padding: 8px 11px;
  border-color: var(--ops-line);
  border-radius: 7px;
}

body.supervisor-body .supervisor-session-card strong,
body.supervisor-body.staff-session-ready .supervisor-session-card strong {
  color: var(--ops-ink);
  font-size: 13px;
}

body.supervisor-body .supervisor-session-card .admin-status,
body.supervisor-body.staff-session-ready .supervisor-session-card .admin-status {
  color: var(--ops-muted);
  font-size: 10px;
}

body.supervisor-body .supervisor-focus,
body.supervisor-body.staff-session-ready .supervisor-focus {
  padding: 0 6px;
  border: 1px solid var(--ops-line);
  border-radius: 7px;
  background: #fff;
}

body.supervisor-body .focus-chip {
  min-height: 40px;
  padding: 7px 10px;
  color: var(--ops-muted);
}

body.supervisor-body .focus-chip:hover,
body.supervisor-body .focus-chip.active {
  border-bottom-color: var(--ops-orange);
  color: var(--ops-ink);
}

body.supervisor-body .focus-chip strong {
  min-width: 22px;
  height: 22px;
  color: var(--ops-blue);
  background: #edf3fa;
  font-size: 10px;
}

body.supervisor-body .focus-chip.active strong {
  color: #fff;
  background: var(--ops-orange);
}

body.supervisor-body .supervisor-toolbar,
body.supervisor-body.staff-session-ready .supervisor-toolbar {
  top: 58px;
  grid-template-columns: minmax(150px, 190px) minmax(230px, 1fr) auto auto;
  gap: 7px;
  padding: 7px;
  border-color: var(--ops-line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(23, 32, 51, 0.035);
}

body.supervisor-body .supervisor-toolbar label {
  gap: 3px;
}

body.supervisor-body .supervisor-toolbar label > span {
  color: var(--ops-muted);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.supervisor-body .supervisor-toolbar input,
body.supervisor-body .supervisor-toolbar select,
body.supervisor-body .supervisor-toolbar .primary-button,
body.supervisor-body .supervisor-toolbar .secondary-button {
  min-height: 38px;
  border-color: #d9dde4;
  border-radius: 6px;
}

body.supervisor-body .supervisor-grid {
  grid-template-columns: minmax(285px, 325px) minmax(0, 1fr);
  gap: 9px;
}

body.supervisor-body .order-queue,
body.supervisor-body .detail-card {
  border-color: var(--ops-line);
  border-radius: 7px;
  background: #fff;
}

body.supervisor-body.staff-session-ready .order-queue {
  max-height: calc(100vh - 118px);
}

body.supervisor-body .order-queue-head {
  padding: 11px 13px;
  border-bottom-color: var(--ops-line);
}

body.supervisor-body .order-queue-head span {
  color: var(--ops-muted);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.supervisor-body .order-queue-head strong {
  color: var(--ops-ink);
  font-size: 14px;
}

body.supervisor-body .order-queue-head em {
  color: var(--ops-blue);
  background: #edf3fa;
}

body.supervisor-body .pipeline-card {
  position: relative;
  gap: 3px 9px;
  padding: 12px 13px 12px 17px;
  border: 0;
  border-bottom: 1px solid var(--ops-line);
  border-radius: 0;
  background: #fff;
}

body.supervisor-body .pipeline-card::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a6adb8;
}

body.supervisor-body .pipeline-card.status-tone-active::before {
  background: var(--ops-orange);
}

body.supervisor-body .pipeline-card.status-tone-success::before {
  background: var(--ops-green);
}

body.supervisor-body .pipeline-card.status-tone-danger::before {
  background: var(--ops-red);
}

body.supervisor-body .pipeline-card:hover {
  border-bottom-color: var(--ops-line);
  background: var(--ops-soft);
  box-shadow: none;
}

body.supervisor-body .pipeline-card.active {
  border-bottom-color: var(--ops-line);
  background: #f7f9fc;
  box-shadow: inset 3px 0 var(--ops-blue);
}

body.supervisor-body .pipeline-card span {
  color: var(--ops-muted);
  font-size: 9px;
}

body.supervisor-body .pipeline-card strong {
  color: var(--ops-ink);
  font-size: 14px;
}

body.supervisor-body .pipeline-card em {
  color: var(--ops-ink);
  font-size: 13px;
}

body.supervisor-body .pipeline-card small,
body.supervisor-body .pipeline-card .pipeline-next {
  color: var(--ops-muted);
  font-size: 10px;
  line-height: 1.35;
}

body.supervisor-body .pipeline-card i {
  color: var(--ops-blue);
  background: #edf3fa;
}

body.supervisor-body .pipeline-card.status-tone-danger i {
  color: var(--ops-red);
  background: #fdf0ee;
}

body.supervisor-body .pipeline-card.status-tone-success i,
body.supervisor-body .pipeline-card i.ready {
  color: var(--ops-green);
  background: #edf8f4;
}

body.supervisor-body .supervisor-detail,
body.supervisor-body.staff-session-ready .supervisor-detail {
  top: 112px;
}

body.supervisor-body .detail-card,
body.supervisor-body.staff-session-ready .detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 292px);
  gap: 9px;
  max-height: calc(100vh - 118px);
  padding: 9px;
  background: #f7f8fa;
}

body.supervisor-body .detail-card > .detail-head,
body.supervisor-body .detail-card > .ops-workflow {
  grid-column: 1 / -1;
}

body.supervisor-body .detail-card > .ops-current-task {
  grid-column: 2;
  grid-row: 3 / span 4;
  align-self: start;
  position: sticky;
  top: 0;
}

body.supervisor-body .detail-card > .ops-section {
  grid-column: 1;
}

body.supervisor-body .detail-card .detail-head {
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid var(--ops-line);
  border-radius: 7px;
  background: #fff;
}

body.supervisor-body .detail-card .detail-head h2 {
  margin: 5px 0 3px;
  color: var(--ops-ink);
  font-size: clamp(20px, 1.8vw, 27px);
  letter-spacing: -0.02em;
}

body.supervisor-body .detail-card .detail-head p {
  color: var(--ops-muted);
  font-size: 10px;
}

body.supervisor-body .detail-card .detail-head > strong {
  color: var(--ops-ink);
  font-size: clamp(20px, 1.8vw, 28px);
}

body.supervisor-body .detail-card .badge.status-badge {
  color: #616978;
  border-color: #dde1e7;
  background: #f3f4f6;
}

body.supervisor-body .detail-card.status-tone-active .badge.status-badge {
  color: #9b421f;
  border-color: #f1c8b7;
  background: #fff2eb;
}

body.supervisor-body .detail-card.status-tone-success .badge.status-badge {
  color: var(--ops-green);
  border-color: #cce8dd;
  background: #edf8f4;
}

body.supervisor-body .detail-card.status-tone-danger .badge.status-badge {
  color: var(--ops-red);
  border-color: #efcfcb;
  background: #fdf0ee;
}

body.supervisor-body .ops-workflow {
  border-color: var(--ops-line);
  border-radius: 7px;
}

body.supervisor-body .ops-step {
  min-height: 46px;
  padding: 7px 11px;
  color: #858c98;
}

body.supervisor-body .ops-step + .ops-step {
  border-left-color: var(--ops-line);
}

body.supervisor-body .ops-step > span {
  flex-basis: 24px;
  width: 24px;
  height: 24px;
  background: #f0f2f4;
  font-size: 10px;
}

body.supervisor-body .ops-step > strong {
  font-size: 11px;
}

body.supervisor-body .ops-step.current {
  color: var(--ops-ink);
  background: #fff6f1;
}

body.supervisor-body .ops-step.current > span {
  background: var(--ops-orange);
}

body.supervisor-body .ops-step.complete {
  color: var(--ops-green);
}

body.supervisor-body .ops-current-task {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e1e4e8;
  border-top: 3px solid var(--ops-orange);
  border-left-width: 1px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.05);
}

body.supervisor-body .ops-current-task span {
  color: var(--ops-orange);
  font-size: 9px;
  letter-spacing: 0.08em;
}

body.supervisor-body .ops-current-task strong {
  color: var(--ops-ink);
  font-size: 17px;
  line-height: 1.35;
}

body.supervisor-body .ops-current-task small {
  color: var(--ops-muted);
  font-size: 11px;
}

body.supervisor-body .ops-current-task .ops-action-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  justify-content: stretch;
}

body.supervisor-body .ops-current-task .ops-action-buttons > * {
  width: 100%;
  min-height: 38px;
}

body.supervisor-body .ops-section {
  border-color: var(--ops-line);
  border-radius: 7px;
}

body.supervisor-body .ops-section > summary {
  min-height: 48px;
  padding: 10px 13px;
}

body.supervisor-body .ops-section > summary > span {
  color: var(--ops-ink);
  font-size: 13px;
}

body.supervisor-body .ops-section > summary > small {
  color: var(--ops-muted);
  font-size: 10px;
}

body.supervisor-body .ops-section > summary::after {
  color: var(--ops-blue);
  font-size: 17px;
}

body.supervisor-body .ops-section[open] > summary {
  border-bottom-color: var(--ops-line);
  background: #fafbfc;
}

body.supervisor-body .ops-section-content {
  gap: 9px;
  padding: 10px;
}

body.supervisor-body .ops-snapshot {
  border-color: var(--ops-line);
  background: var(--ops-line);
}

body.supervisor-body .ops-snapshot div,
body.supervisor-body .detail-card .detail-grid > div,
body.supervisor-body .carrier-ops {
  border-radius: 6px;
}

body.supervisor-body .ops-snapshot div {
  min-height: 62px;
  padding: 10px 11px;
}

body.supervisor-body .ops-snapshot span,
body.supervisor-body .detail-grid span,
body.supervisor-body .payment-readiness span,
body.supervisor-body .customer-message-card span {
  color: var(--ops-muted);
  font-size: 9px;
}

body.supervisor-body .ops-snapshot strong,
body.supervisor-body .detail-grid strong {
  color: var(--ops-ink);
  font-size: 13px;
}

body.supervisor-body .detail-card .detail-grid > div {
  padding: 10px;
  border-color: var(--ops-line);
}

body.supervisor-body .detail-grid p {
  color: var(--ops-muted);
  font-size: 11px;
  line-height: 1.45;
}

body.supervisor-body .carrier-ops {
  border-color: var(--ops-line);
  background: #f8f9fb;
}

body.supervisor-body .system-health-drawer {
  border-top-color: var(--ops-line);
}

@media (max-width: 1360px) {
  body.supervisor-body .detail-card,
  body.supervisor-body.staff-session-ready .detail-card {
    grid-template-columns: 1fr;
  }

  body.supervisor-body .detail-card > .detail-head,
  body.supervisor-body .detail-card > .ops-workflow,
  body.supervisor-body .detail-card > .ops-current-task,
  body.supervisor-body .detail-card > .ops-section {
    grid-column: 1;
    grid-row: auto;
  }

  body.supervisor-body .detail-card > .ops-current-task {
    position: static;
    grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr);
  }

  body.supervisor-body .ops-current-task .ops-action-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.supervisor-body .supervisor-grid {
    grid-template-columns: 1fr;
  }

  body.supervisor-body .supervisor-detail,
  body.supervisor-body.staff-session-ready .supervisor-detail,
  body.supervisor-body .detail-card,
  body.supervisor-body.staff-session-ready .detail-card {
    position: static;
    max-height: none;
  }

  body.supervisor-body.staff-session-ready .order-queue {
    max-height: min(420px, 48vh);
  }
}

@media (max-width: 720px) {
  body.supervisor-body .site-header {
    padding-inline: 12px;
  }

  body.supervisor-body .site-header .header-action {
    grid-column: 1 / -1;
  }

  body.supervisor-body .supervisor-page,
  body.supervisor-body.staff-session-ready .supervisor-page {
    width: min(100% - 16px, 100%);
    padding-top: 8px;
  }

  body.supervisor-body .supervisor-hero,
  body.supervisor-body.staff-session-ready .supervisor-hero {
    gap: 10px;
    padding-inline: 4px;
  }

  body.supervisor-body .supervisor-hero h1,
  body.supervisor-body.staff-session-ready .supervisor-hero h1 {
    font-size: 27px;
  }

  body.supervisor-body .supervisor-session-card,
  body.supervisor-body.staff-session-ready .supervisor-session-card {
    align-self: stretch;
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  body.supervisor-body .supervisor-toolbar,
  body.supervisor-body.staff-session-ready .supervisor-toolbar {
    position: static;
    grid-template-columns: 1fr;
  }

  body.supervisor-body .detail-card > .ops-current-task {
    grid-template-columns: 1fr;
  }

  body.supervisor-body .ops-current-task .ops-action-buttons {
    grid-template-columns: 1fr;
  }

  body.supervisor-body .detail-card,
  body.supervisor-body.staff-session-ready .detail-card {
    padding: 6px;
  }
}

/* Internal shipment wizard: presentation only; the original form payload is unchanged. */
.staff-work-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  background: #f7f8fa;
  list-style: none;
}

.staff-work-progress li {
  display: flex;
  gap: 9px;
  align-items: center;
  min-width: 0;
  min-height: 50px;
  padding: 9px 12px;
  color: #7c8491;
}

.staff-work-progress li + li {
  border-left: 1px solid #e1e4e8;
}

.staff-work-progress li > span {
  display: grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #e9ebef;
  color: #707886;
  font-size: 10px;
  font-weight: 900;
}

.staff-work-progress li > strong {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-work-progress li.active {
  color: #172033;
  background: #fff5ef;
}

.staff-work-progress li.active > span {
  color: #fff;
  background: #d9552b;
}

.staff-work-progress li.complete {
  color: #18765e;
  background: #f2faf7;
}

.staff-work-progress li.complete > span {
  color: #18765e;
  background: #dff2ea;
}

.staff-work-step {
  display: grid;
  gap: 16px;
  min-height: 300px;
  align-content: start;
  animation: staff-work-step-in 160ms ease-out;
}

.staff-work-step[hidden] {
  display: none;
}

@keyframes staff-work-step-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.staff-shipment-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  background: #e1e4e8;
}

.staff-shipment-review article {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 92px;
  padding: 14px;
  align-content: start;
  background: #fff;
}

.staff-shipment-review article:last-child {
  grid-column: 1 / -1;
}

.staff-shipment-review span {
  color: #727b89;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.staff-shipment-review strong,
.staff-shipment-review p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.staff-shipment-review strong {
  color: #172033;
  font-size: 14px;
  line-height: 1.45;
}

.staff-shipment-review p {
  color: #6b7280;
  font-size: 11px;
  line-height: 1.5;
}

.staff-work-dialog-card > .staff-work-dialog-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin: 0 calc(0px - clamp(20px, 3vw, 34px)) calc(0px - clamp(20px, 3vw, 34px));
  padding: 13px clamp(20px, 3vw, 34px);
  border-top: 1px solid #e1e4e8;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -8px 24px rgba(23, 32, 51, 0.04);
}

@media (prefers-reduced-motion: reduce) {
  .staff-work-step {
    animation: none;
  }
}

@media (max-width: 650px) {
  .staff-work-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-work-progress li:nth-child(3) {
    border-top: 1px solid #e1e4e8;
    border-left: 0;
  }

  .staff-work-progress li:nth-child(4) {
    border-top: 1px solid #e1e4e8;
  }

  .staff-work-step {
    min-height: 0;
  }

  .staff-shipment-review {
    grid-template-columns: 1fr;
  }

  .staff-shipment-review article:last-child {
    grid-column: 1;
  }
}

/* Internal UI readability pass: slightly larger operational type without changing layout. */
body.staff-body,
body.supervisor-body,
.team-body {
  font-size: 15px;
}

body.supervisor-body .nav-links a,
body.supervisor-body .staff-signout-button,
body.supervisor-body .header-action {
  font-size: 13px;
}

body.supervisor-body .supervisor-hero p:not(.eyebrow),
body.supervisor-body.staff-session-ready .supervisor-hero p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.55;
}

body.supervisor-body .supervisor-session-card strong,
body.supervisor-body.staff-session-ready .supervisor-session-card strong {
  font-size: 14px;
}

body.supervisor-body .supervisor-session-card .admin-status,
body.supervisor-body.staff-session-ready .supervisor-session-card .admin-status {
  font-size: 11px;
}

body.supervisor-body .focus-chip span {
  font-size: 14px;
}

body.supervisor-body .focus-chip strong {
  font-size: 11px;
}

body.supervisor-body .supervisor-toolbar label > span,
body.supervisor-body .order-queue-head span {
  font-size: 11px;
}

body.supervisor-body .supervisor-toolbar input,
body.supervisor-body .supervisor-toolbar select,
body.supervisor-body .supervisor-toolbar .primary-button,
body.supervisor-body .supervisor-toolbar .secondary-button {
  font-size: 14px;
}

body.supervisor-body .order-queue-head strong {
  font-size: 15px;
}

body.supervisor-body .pipeline-card span {
  font-size: 11px;
}

body.supervisor-body .pipeline-card strong {
  font-size: 15px;
}

body.supervisor-body .pipeline-card em {
  font-size: 14px;
}

body.supervisor-body .pipeline-card small,
body.supervisor-body .pipeline-card .pipeline-next {
  font-size: 12px;
}

body.supervisor-body .pipeline-card i,
body.supervisor-body .pipeline-card b {
  font-size: 11px;
}

body.supervisor-body .detail-card .badge {
  font-size: 11px;
}

body.supervisor-body .detail-card .detail-head p {
  font-size: 12px;
}

body.supervisor-body .ops-step > strong {
  font-size: 12px;
}

body.supervisor-body .ops-current-task span {
  font-size: 11px;
}

body.supervisor-body .ops-current-task strong {
  font-size: 18px;
}

body.supervisor-body .ops-current-task small {
  font-size: 12px;
}

body.supervisor-body .ops-section > summary > span {
  font-size: 14px;
}

body.supervisor-body .ops-section > summary > small {
  font-size: 11px;
}

body.supervisor-body .ops-snapshot span,
body.supervisor-body .detail-grid span,
body.supervisor-body .payment-readiness span,
body.supervisor-body .customer-message-card span,
body.supervisor-body .detail-form span {
  font-size: 11px;
}

body.supervisor-body .ops-snapshot strong,
body.supervisor-body .detail-grid strong {
  font-size: 14px;
}

body.supervisor-body .detail-grid p,
body.supervisor-body .payment-readiness,
body.supervisor-body .customer-message-card,
body.supervisor-body .carrier-ops,
body.supervisor-body .detail-form {
  font-size: 12px;
}

body.supervisor-body .detail-form input,
body.supervisor-body .detail-form select,
body.supervisor-body .detail-form textarea,
.staff-work-dialog-card input,
.staff-work-dialog-card select,
.staff-work-dialog-card textarea {
  font-size: 14px;
}

.staff-work-dialog-head p,
.staff-work-notice,
.staff-work-danger {
  font-size: 14px;
}

.staff-work-dialog-card label,
.staff-work-progress li > strong {
  font-size: 13px;
}

.staff-work-progress li > span,
.staff-shipment-review span {
  font-size: 11px;
}

.staff-shipment-review strong {
  font-size: 15px;
}

.staff-shipment-review p {
  font-size: 12px;
}

.team-member-time small {
  font-size: 11px;
}

/* Owner-only destructive order action. */
body.supervisor-body .order-delete-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  padding: 0;
  overflow: auto;
  border: 1px solid #e6d7d0;
  border-radius: 12px;
  background: #fff;
  color: var(--ops-ink, #172033);
  box-shadow: 0 28px 80px rgba(17, 28, 47, 0.26);
}

body.supervisor-body .order-delete-dialog::backdrop {
  background: rgba(17, 28, 47, 0.58);
  backdrop-filter: blur(2px);
}

body.supervisor-body .order-delete-dialog-content {
  display: grid;
  gap: 14px;
  padding: 26px;
}

body.supervisor-body .order-delete-dialog-content > span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff0eb;
  color: #b82f20;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.supervisor-body .order-delete-dialog-content h3,
body.supervisor-body .order-delete-dialog-content p {
  margin: 0;
}

body.supervisor-body .order-delete-dialog-content h3 {
  font-size: 25px;
  line-height: 1.15;
}

body.supervisor-body .order-delete-dialog-content p {
  color: var(--ops-muted, #6b7280);
  font-size: 14px;
  line-height: 1.55;
}

body.supervisor-body .order-delete-dialog-content label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}

body.supervisor-body .order-delete-dialog-content input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #d9c9c1;
  border-radius: 8px;
  background: #fff;
  color: var(--ops-ink, #172033);
  font: inherit;
}

body.supervisor-body .order-delete-dialog-content input:focus {
  border-color: #c65a3b;
  outline: 3px solid rgba(198, 90, 59, 0.14);
}

body.supervisor-body .order-delete-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}

body.supervisor-body .order-delete-actions > * {
  width: 100%;
  justify-content: center;
}

@media (max-width: 540px) {
  body.supervisor-body .order-delete-dialog {
    width: calc(100vw - 24px);
  }

  body.supervisor-body .order-delete-dialog-content {
    padding: 21px;
  }

  body.supervisor-body .order-delete-actions {
    grid-template-columns: 1fr;
  }
}
