.customer-portal {
  --r-sm: 9px;
  --r: 16px;
  --r-lg: 22px;
  --radius: 16px;
  --bg: #121519;
  --surface: #1b2026;
  --surface-2: #242b33;
  --surface-3: #313a44;
  --text: #f1f4f6;
  --muted: #b3bdc9;
  --faint: #a4afbc;
  --border: #35404c;
  --border-2: #4a5868;
  --brand-lt: #ff8897;
  --ok: #72d9a4;
  --danger: #ff99a5;
  --e1: 0 2px 6px rgba(0, 0, 0, 0.1);
  --e2: 0 12px 40px rgba(0, 0, 0, 0.14);
  font-size: 15px;
  color-scheme: dark;
  min-height: 100dvh;
}
[data-theme="light"] .customer-portal {
  --bg: #f5f6f8;
  --surface: #fff;
  --surface-2: #f6f8fa;
  --surface-3: #e9eef3;
  --text: #1c2838;
  --muted: #59687b;
  --faint: #647287;
  --border: #dfe5ec;
  --border-2: #c3cedb;
  --brand-lt: var(--brand);
  --ok: #14734d;
  --danger: #b51d36;
  color-scheme: light;
}
.customer-portal [hidden] {
  display: none !important;
}
.customer-portal
  :is(button, a, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 4px;
  box-shadow: none;
}
.customer-portal :is(h1, h2, h3) {
  font-family: inherit;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: var(--text);
}
.customer-portal p {
  line-height: 1.65;
}
.customer-portal .btn {
  min-height: 44px;
  border-radius: 9px;
  padding: 11px 17px;
  font-size: 13px;
  font-weight: 650;
  box-shadow: none;
  text-align: center;
  white-space: normal;
}
.customer-portal .btn.sm {
  min-height: 40px;
  padding: 9px 12px;
  font-size: 12px;
}
.customer-portal .btn.primary {
  background: var(--brand);
  color: var(--brand-ink);
  border-color: var(--brand);
}
.customer-portal .btn.primary:hover {
  background: var(--brand-dk);
}
.customer-portal .card {
  border-color: var(--border);
  box-shadow: var(--e1);
}
.customer-portal .eyebrow {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.customer-portal :is(input, textarea, select) {
  font-size: 16px;
  border-radius: 9px;
  background: var(--surface);
  border-color: var(--border-2);
}
.customer-portal label {
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  font-weight: 600;
}
.customer-portal .field-hint,
.customer-portal .portal-muted {
  color: var(--muted);
}
.customer-portal .field-hint {
  font-size: 12px;
}
.customer-portal .portal-error-text {
  color: var(--danger);
  font-size: 13px;
  padding: 12px;
  background: var(--danger-soft);
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.customer-portal .portal-error-text button {
  margin: 8px 0 0;
  display: block;
}
.customer-portal .text-button {
  padding: 10px 0;
  border: none;
  background: none;
  color: var(--brand-lt);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.customer-portal p a {
  text-decoration: underline;
}
.customer-portal .portal-brand {
  color: var(--text);
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.customer-portal .portal-brand > span:last-child {
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--muted);
  align-self: flex-end;
  margin-bottom: 7px;
}
.customer-portal .brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--brand);
  flex-shrink: 0;
}
.customer-portal .portal-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.customer-portal .portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--border);
}
.customer-portal .portal-account {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
.customer-portal .portal-account > span {
  max-width: 240px;
  overflow-wrap: anywhere;
}
.customer-portal .portal-welcome {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  padding: 52px 0 35px;
}
.customer-portal .portal-welcome h1 {
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 650;
  margin: 16px 0;
  letter-spacing: -0.045em;
}
.customer-portal .portal-welcome h1 span {
  color: var(--muted);
}
.customer-portal .portal-welcome p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}
.customer-portal .support-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--surface);
  padding: 25px 55px 25px 25px;
  border-radius: 16px;
  border: 1px solid var(--border);
  min-width: 290px;
}
.customer-portal .support-card strong {
  font-size: 14px;
  font-weight: 600;
}
.customer-portal .support-card a {
  font-size: 20px;
  font-weight: 700;
  margin: 9px 0;
}
.customer-portal .support-card small {
  font-size: 12px;
  color: var(--muted);
}
.customer-portal .support-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--brand-lt);
  font-size: 22px;
}
.customer-portal .portal-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.customer-portal .portal-summary > div {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 18px 22px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.customer-portal .portal-summary span {
  color: var(--muted);
  font-size: 12px;
}
.customer-portal .portal-summary strong {
  font-size: 26px;
  font-weight: 600;
}
.customer-portal .portal-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-2);
  gap: 30px;
  margin-bottom: 32px;
}
.customer-portal .portal-tabs button {
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.customer-portal .portal-tabs button.active {
  color: var(--text);
  border-bottom-color: var(--brand);
}
.customer-portal .section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.customer-portal .section-heading :is(h1, h2) {
  font-size: 24px;
  margin: 0 0 7px;
  font-weight: 650;
}
.customer-portal .section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.customer-portal .shipment-filters {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.customer-portal .shipment-filters .field {
  flex: 1;
  margin-bottom: 0;
}
.customer-portal .shipment-filters .field:last-child {
  max-width: 230px;
}
.customer-portal .shipment-card {
  padding: 28px;
  margin-bottom: 24px;
}
.customer-portal .shipment-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 25px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.customer-portal .shipment-head h3 {
  font-size: 21px;
  margin: 8px 0 0;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.customer-portal .status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 7px;
  background: var(--surface-3);
  color: var(--text);
  font-size: 11px;
  font-weight: 650;
  flex-shrink: 0;
}
.customer-portal .status-pill.quoted,
.customer-portal .status-pill.sent {
  background: var(--warn-soft);
}
.customer-portal .status-pill.booked,
.customer-portal .status-pill.in_transit {
  background: var(--info-soft);
}
.customer-portal .status-pill.delivered,
.customer-portal .status-pill.paid {
  background: var(--ok-soft);
}
.customer-portal .status-pill.cancelled,
.customer-portal .status-pill.failed {
  background: var(--danger-soft);
}
.customer-portal .shipment-route {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px 0;
}
.customer-portal .shipment-route > div {
  display: grid;
  gap: 4px;
}
.customer-portal .shipment-route span {
  color: var(--muted);
  font-size: 12px;
}
.customer-portal .shipment-route strong {
  font-size: 24px;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.customer-portal .shipment-route .route-connector {
  font-size: 24px;
  color: var(--faint);
  padding-top: 12px;
}
.customer-portal .shipment-price {
  margin-left: auto;
  text-align: right;
}
.customer-portal .shipment-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--border);
  padding: 20px 0;
  font-size: 13px;
}
.customer-portal .shipment-facts b {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 5px;
}
.customer-portal .shipment-status {
  padding: 20px;
  background: var(--surface-2);
  border-radius: 10px;
}
.customer-portal .shipment-status p {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.customer-portal .shipment-status p:first-child {
  margin-top: 0;
}
.customer-portal .shipment-progress {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.customer-portal .shipment-progress li {
  flex: 1;
  min-width: 0;
  font-size: 10px;
  color: var(--muted);
  border-top: 3px solid var(--border-2);
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.customer-portal .shipment-progress li > span {
  width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  background: var(--surface-3);
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 10px;
}
.customer-portal .shipment-progress .done {
  border-color: var(--ok);
}
.customer-portal .shipment-progress .current {
  border-color: var(--brand);
  color: var(--text);
  font-weight: 650;
}
.customer-portal .shipment-progress .current > span {
  background: var(--brand);
  color: var(--brand-ink);
}
.customer-portal .quote-action {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 22px;
  border: 1px solid var(--brand-ring);
  border-radius: 10px;
  padding: 20px;
  background: var(--brand-soft);
}
.customer-portal .quote-action p {
  font-size: 12px;
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 600px;
}
.customer-portal .quote-action > button {
  flex-shrink: 0;
  margin-left: auto;
}
.customer-portal .shipment-actions {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-top: 22px;
}
.customer-portal .unread-count {
  display: inline-block;
  border-radius: 5px;
  padding: 2px 6px;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 10px;
}
.customer-portal .shipment-history {
  flex: 1;
}
.customer-portal summary {
  cursor: pointer;
  padding: 11px 0;
  color: var(--muted);
  font-size: 13px;
}
.customer-portal .shipment-history ol {
  margin: 0;
  padding-left: 18px;
}
.customer-portal .shipment-history li {
  padding: 10px 0;
  font-size: 12px;
}
.customer-portal .shipment-history time {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.customer-portal .route-details {
  border-top: 1px solid var(--border);
  margin-top: 22px;
  padding-top: 6px;
}
.customer-portal .route-details summary span {
  float: right;
  color: var(--muted);
  font-size: 11px;
}
.customer-portal .map-container {
  height: 260px;
  border-radius: 10px;
  margin: 12px 0;
}
.customer-portal .map-fallback {
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-size: 13px;
  height: 100%;
}
.customer-portal .portal-chat {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 20px;
}
.customer-portal .chat-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 18px;
}
.customer-portal .chat-thread {
  background: var(--surface-2);
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 100px;
  max-height: 360px;
}
.customer-portal .bubble {
  border-radius: 12px;
  padding: 12px 15px;
}
.customer-portal .bubble-meta {
  font-size: 10px;
  margin-bottom: 5px;
}
.customer-portal .bubble-body {
  font-size: 14px;
}
.customer-portal .bubble.theirs {
  background: var(--surface);
  border: 1px solid var(--border);
}
.customer-portal .bubble.mine .bubble-meta {
  color: var(--brand-ink);
}
.customer-portal .portal-chat-form {
  margin-top: 18px;
}
.customer-portal .portal-chat-form label {
  display: block;
  margin-bottom: 7px;
}
.customer-portal .portal-chat-form > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.customer-portal .portal-chat-form small {
  color: var(--muted);
  font-size: 11px;
}
.customer-portal .send-status {
  font-size: 12px;
  color: var(--ok);
  margin: 6px 0 0;
}
.customer-portal .portal-invoice {
  padding: 28px;
  margin-bottom: 22px;
}
.customer-portal .portal-invoice.highlighted {
  border-color: var(--brand);
}
.customer-portal .portal-invoice header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.customer-portal .portal-invoice h3 {
  font-size: 32px;
  margin: 12px 0 5px;
}
.customer-portal .portal-invoice header div > span:last-child {
  font-size: 12px;
  color: var(--muted);
}
.customer-portal .invoice-dates {
  display: flex;
  gap: 30px;
  font-size: 12px;
  margin: 22px 0;
}
.customer-portal .invoice-dates dt {
  color: var(--muted);
}
.customer-portal .invoice-dates dd {
  margin: 5px 0 0;
}
.customer-portal .invoice-lines > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.customer-portal .invoice-lines span {
  overflow-wrap: anywhere;
}
.customer-portal .invoice-lines strong {
  flex-shrink: 0;
}
.customer-portal .invoice-total {
  font-size: 15px !important;
}
.customer-portal .invoice-notes {
  white-space: pre-wrap;
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.customer-portal .portal-invoice footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.customer-portal .portal-invoice footer small {
  font-size: 11px;
  color: var(--muted);
}
.customer-portal .payment-help {
  font-size: 13px;
  color: var(--muted);
  flex-basis: 100%;
}
.customer-portal .help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.customer-portal .help-grid .card {
  padding: 28px;
}
.customer-portal .help-grid h3 {
  font-size: 18px;
}
.customer-portal .help-grid p {
  font-size: 14px;
  color: var(--muted);
}
.customer-portal .help-grid a {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 18px;
  font-size: 13px;
}
.customer-portal .portal-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 35px 0;
  margin-top: 35px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
}
.customer-portal .portal-start {
  max-width: 600px;
  margin: 80px auto;
  padding: 20px;
}
.customer-portal .portal-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 36px;
  color: var(--muted);
  font-size: 13px;
}
.customer-portal .portal-loading .spinner {
  margin: 0;
}
.customer-portal .portal-empty,
.customer-portal .portal-error {
  padding: 44px;
  text-align: center;
}
.customer-portal .portal-empty p,
.customer-portal .portal-error p {
  color: var(--muted);
  font-size: 14px;
  max-width: 550px;
  margin: 15px auto 24px;
}
.customer-portal .portal-error > a {
  display: block;
  margin-top: 20px;
}
.customer-portal #portal-notice {
  padding: 16px 20px;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  margin-bottom: 20px;
  background: var(--surface);
  font-size: 13px;
}
.customer-portal .portal-auth {
  width: min(100%, 510px);
  margin: 0 auto;
  padding: 65px 20px;
}
.customer-portal .portal-auth > .portal-brand {
  margin-bottom: 38px;
}
.customer-portal .portal-auth-card {
  padding: 35px;
}
.customer-portal .portal-auth-card h1 {
  font-size: 30px;
  font-weight: 650;
  margin: 18px 0;
}
.customer-portal .portal-auth-card .portal-muted {
  font-size: 14px;
  overflow-wrap: anywhere;
  margin-bottom: 30px;
}
.customer-portal .portal-auth-card form > button {
  width: 100%;
  margin: 10px 0;
}
.customer-portal .auth-help {
  font-size: 12px;
  text-align: center;
  line-height: 2;
  margin-top: 28px;
  color: var(--muted);
}
.customer-portal #portal-code {
  text-align: center;
  font-size: 26px;
  letter-spacing: 0.22em;
}
.customer-portal .code-actions {
  display: grid;
  text-align: center;
}
.customer-portal .portal-modal {
  width: min(640px, 95vw);
  max-height: 94dvh;
  border-radius: 18px;
}
.customer-portal .portal-modal .modal-head {
  padding: 20px 24px;
  gap: 20px;
}
.customer-portal .portal-modal h2 {
  font-size: 23px;
}
.customer-portal .portal-modal .modal-body {
  padding: 24px;
}
.customer-portal .portal-modal [data-close] {
  font-size: 22px;
  flex-shrink: 0;
}
.customer-portal .quote-review > strong {
  display: block;
  font-size: 38px;
  margin: 15px 0;
  letter-spacing: -0.04em;
}
.customer-portal .quote-review p {
  font-size: 14px;
  color: var(--muted);
}
.customer-portal .quote-review > button {
  width: 100%;
  margin-top: 15px;
}
.customer-portal .payment-result {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: 30px 10px;
}
.customer-portal .payment-result h3,
.customer-portal .payment-result p {
  margin: 0;
}
.customer-portal .payment-result p {
  color: var(--muted);
  font-size: 14px;
}
.customer-portal .payment-result > span {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 25px;
}
body.portal-overlay-open {
  overflow: hidden;
}
@media (max-width: 900px) {
  .customer-portal .portal-shell {
    padding: 0 24px;
  }
  .customer-portal .portal-account > span {
    display: none;
  }
  .customer-portal .support-card {
    min-width: 240px;
  }
  .customer-portal .portal-welcome {
    gap: 25px;
  }
  .customer-portal .portal-summary > div {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 5px;
    padding: 16px;
  }
  .customer-portal .quote-action {
    flex-wrap: wrap;
  }
  .customer-portal .quote-action > button {
    margin-left: 0;
  }
  .customer-portal .shipment-head {
    flex-wrap: wrap;
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .customer-portal .portal-shell {
    padding: 0 16px;
  }
  .customer-portal .portal-header {
    flex-wrap: wrap;
    gap: 15px;
    padding: 18px 0;
  }
  .customer-portal .portal-brand {
    font-size: 22px;
  }
  .customer-portal .portal-brand > span:last-child {
    display: none;
  }
  .customer-portal .portal-account {
    gap: 4px;
  }
  .customer-portal .portal-account .btn {
    padding: 8px;
    font-size: 11px;
  }
  .customer-portal .portal-welcome {
    padding: 30px 0 24px;
  }
  .customer-portal .portal-welcome h1 {
    font-size: 29px;
    margin: 12px 0;
  }
  .customer-portal .portal-welcome p {
    font-size: 13px;
  }
  .customer-portal .support-card {
    display: none;
  }
  .customer-portal .portal-summary {
    gap: 8px;
    margin-bottom: 20px;
  }
  .customer-portal .portal-summary > div {
    padding: 12px;
  }
  .customer-portal .portal-summary span {
    font-size: 10px;
  }
  .customer-portal .portal-summary strong {
    font-size: 25px;
  }
  .customer-portal .portal-tabs {
    gap: 18px;
    margin-bottom: 24px;
  }
  .customer-portal .portal-tabs button {
    font-size: 12px;
    padding: 12px 0;
  }
  .customer-portal .section-heading {
    flex-wrap: wrap;
    gap: 14px;
  }
  .customer-portal .section-heading :is(h1, h2) {
    font-size: 22px;
  }
  .customer-portal .section-heading p {
    font-size: 12px;
  }
  .customer-portal .shipment-filters {
    gap: 10px;
    flex-wrap: wrap;
  }
  .customer-portal .shipment-filters .field {
    flex: 1;
    min-width: 0;
  }
  .customer-portal .shipment-filters .field:last-child {
    flex: 0 0 38%;
  }
  .customer-portal .shipment-card,
  .customer-portal .portal-invoice {
    padding: 20px;
    border-radius: 14px;
  }
  .customer-portal .shipment-head h3 {
    font-size: 18px;
  }
  .customer-portal .shipment-route {
    gap: 18px;
    flex-wrap: wrap;
  }
  .customer-portal .shipment-route strong {
    font-size: 22px;
  }
  .customer-portal .shipment-price {
    width: 100%;
    text-align: left;
    margin: 0;
    padding-top: 15px;
    border-top: 1px solid var(--border);
  }
  .customer-portal .shipment-facts {
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
    font-size: 12px;
  }
  .customer-portal .shipment-status {
    padding: 18px;
  }
  .customer-portal .shipment-progress {
    flex-direction: column;
    gap: 0;
  }
  .customer-portal .shipment-progress li {
    border-top: 0;
    border-left: 3px solid var(--border-2);
    padding: 10px 0 10px 14px;
    font-size: 11px;
  }
  .customer-portal .shipment-progress li.done {
    border-color: var(--ok);
  }
  .customer-portal .shipment-progress li.current {
    border-color: var(--brand);
  }
  .customer-portal .shipment-actions {
    gap: 12px;
    flex-wrap: wrap;
  }
  .customer-portal .shipment-history {
    min-width: 110px;
  }
  .customer-portal .route-details summary span {
    float: none;
    display: block;
    font-size: 10px;
    margin-top: 5px;
  }
  .customer-portal .quote-action {
    padding: 16px;
    gap: 15px;
  }
  .customer-portal .quote-action > button {
    width: 100%;
  }
  .customer-portal .chat-thread {
    padding: 10px;
  }
  .customer-portal .bubble {
    max-width: 95%;
    padding: 10px;
  }
  .customer-portal .portal-chat-form > div {
    flex-wrap: wrap;
  }
  .customer-portal .portal-chat-form button {
    margin-left: auto;
  }
  .customer-portal .portal-invoice header {
    flex-wrap: wrap;
    gap: 14px;
  }
  .customer-portal .portal-invoice h3 {
    font-size: 29px;
  }
  .customer-portal .portal-invoice footer .btn {
    width: 100%;
  }
  .customer-portal .invoice-lines > div {
    font-size: 12px;
  }
  .customer-portal .help-grid {
    grid-template-columns: 1fr;
  }
  .customer-portal .help-grid .card {
    padding: 22px;
  }
  .customer-portal .portal-footer {
    flex-direction: column;
    gap: 10px;
  }
  .customer-portal .portal-empty,
  .customer-portal .portal-error {
    padding: 30px 20px;
  }
  .customer-portal .portal-auth {
    padding: 35px 16px;
  }
  .customer-portal .portal-auth-card {
    padding: 26px;
  }
  .customer-portal .portal-auth-card h1 {
    font-size: 27px;
  }
  .customer-portal .portal-modal .modal-head,
  .customer-portal .portal-modal .modal-body {
    padding: 18px;
  }
  .customer-portal .portal-modal h2 {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .customer-portal *,
  .customer-portal *::before,
  .customer-portal *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

.customer-portal .portal-shell:not([data-section="shipments"]) .portal-tabs {
  margin-top: 24px;
}

.customer-portal .portal-map-pin {
  display: grid;
  place-items: center;
  border: 2px solid var(--brand-ink);
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 700;
}
