/* Airparkly customer portal — operational dashboard redesign, September 2026. */
body[data-page="customer"] {
  --customer-teal-950: #082f38;
  --customer-teal-900: #0b3b45;
  --customer-blue: #1687d9;
  --customer-blue-dark: #086ab4;
  --customer-green: #159b68;
  --customer-amber: #d89214;
  --customer-ink: #122d46;
  --customer-muted: #64788c;
  --customer-line: #d8e2e9;
  --customer-surface: #ffffff;
  --customer-canvas: #f4f7f9;
  background: var(--customer-canvas);
}

body[data-page="customer"] .side-action-bar,
body[data-page="customer"] .mobile-tabbar {
  display: none !important;
}

body[data-page="customer"] .customer-band.has-modern-portal {
  width: min(1460px, calc(100% - 32px));
  max-width: none;
  margin: 24px auto 64px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.customer-band.has-modern-portal > .section-head,
.customer-band.has-modern-portal > #customerHero,
.customer-band.has-modern-portal > #customerSummary {
  display: none;
}

.customer-band.has-modern-portal .customer-portal-app {
  margin: 0;
}

.customer-account-gate {
  display: grid;
  min-height: min(680px, calc(100vh - 170px));
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: clamp(32px, 7vw, 88px) 24px;
  border: 1px solid var(--customer-line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 32%, rgba(22, 135, 217, 0.09), transparent 30%),
    var(--customer-surface);
  color: var(--customer-ink);
  text-align: center;
  box-shadow: 0 24px 64px rgba(17, 45, 70, 0.08);
}

.customer-account-gate h2,
.customer-account-gate p {
  margin: 0;
}

.customer-account-gate h2 {
  max-width: 620px;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
}

.customer-account-gate > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--customer-muted);
  line-height: 1.65;
}

.customer-account-gate small {
  color: var(--customer-muted);
  font-weight: 750;
  letter-spacing: 0.025em;
}

.customer-account-gate button {
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 9px;
  background: var(--customer-blue);
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.customer-account-gate-mark {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 18px;
  background: var(--customer-teal-950);
  color: #fff;
  font-size: 1.55rem;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(8, 47, 56, 0.2);
}

.customer-account-gate-mark span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #fff;
  animation: customer-account-loading 1s ease-in-out infinite;
}

.customer-account-gate-mark span:nth-child(2) {
  animation-delay: 0.14s;
}

.customer-account-gate-mark span:nth-child(3) {
  animation-delay: 0.28s;
}

.customer-account-gate[data-state="error"] .customer-account-gate-mark {
  background: #a43c32;
}

@keyframes customer-account-loading {
  0%,
  100% {
    opacity: 0.42;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-account-gate-mark span {
    animation: none;
  }
}

.customer-portal-shell-v2 {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 0;
  min-height: calc(100vh - 138px);
  overflow: clip;
  border: 1px solid var(--customer-line);
  border-radius: 18px;
  background: var(--customer-surface);
  box-shadow: 0 24px 64px rgba(17, 45, 70, 0.1);
}

.customer-portal-shell-v2 .customer-portal-menu,
.customer-portal-shell-v2 .customer-portal-content {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.customer-portal-shell-v2 .customer-portal-menu {
  position: sticky;
  top: 87px;
  z-index: 4;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: calc(100vh - 104px);
  max-height: 930px;
  overflow: auto;
  padding: 18px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--customer-teal-950);
  color: #fff;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.customer-portal-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  margin: 0 5px 12px;
  color: #fff;
  text-decoration: none;
}

.customer-portal-brand > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  background: var(--customer-blue);
  font-size: 1.2rem;
  font-weight: 950;
  box-shadow: inset -8px -8px 0 rgba(21, 155, 104, 0.85);
}

.customer-portal-brand div {
  display: grid;
  gap: 1px;
}

.customer-portal-brand strong {
  font-size: 1.14rem;
  letter-spacing: -0.02em;
}

.customer-portal-brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.73rem;
  font-weight: 700;
}

.customer-portal-shell-v2 .customer-portal-menu-title {
  gap: 3px;
  margin-bottom: 9px;
  padding: 11px 12px;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.customer-portal-shell-v2 .customer-portal-menu-title span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.customer-portal-shell-v2 .customer-portal-menu-title strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-portal-shell-v2 .customer-portal-menu-title small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-portal-shell-v2 .customer-portal-menu button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  box-shadow: none;
}

.customer-portal-shell-v2 .customer-portal-menu button:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.customer-portal-shell-v2 .customer-portal-menu button.active {
  border-color: rgba(90, 192, 247, 0.28);
  background: rgba(28, 139, 199, 0.25);
  color: #fff;
  box-shadow: inset 3px 0 0 #42b9f4;
}

.customer-nav-icon,
.customer-portal-shell-v2 .customer-portal-menu button .customer-nav-icon {
  display: grid;
  width: 26px;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 7px;
  background: transparent;
}

.customer-nav-icon svg {
  width: 19px;
  height: 19px;
}

.customer-portal-shell-v2 .customer-portal-menu button b {
  font-size: 0.81rem;
  font-weight: 780;
}

.customer-portal-shell-v2 .customer-portal-menu button em,
.customer-portal-masthead-actions button em {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--customer-blue);
  color: #fff;
  font-size: 0.67rem;
  font-style: normal;
  font-weight: 900;
}

.customer-portal-shell-v2 .customer-portal-menu button.logout {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  padding-top: 13px;
}

.customer-portal-shell-v2 .customer-portal-content {
  min-width: 0;
  min-height: 900px;
  padding: 0 28px 32px;
  background: var(--customer-canvas);
}

.customer-portal-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 110px;
  margin: 0 -28px 26px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--customer-line);
  background: rgba(255, 255, 255, 0.95);
}

.customer-section-label,
.customer-portal-masthead > div:first-child > span,
.customer-dashboard-block-head span,
.customer-readiness-head span {
  color: var(--customer-blue-dark);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-portal-masthead h2 {
  margin: 4px 0 5px;
  color: var(--customer-ink);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  letter-spacing: -0.035em;
}

.customer-portal-masthead p {
  margin: 0;
  color: var(--customer-muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.customer-portal-masthead-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.customer-portal-masthead-actions button,
.customer-portal-masthead-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--customer-line);
  border-radius: 9px;
  background: #fff;
  color: var(--customer-ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.customer-portal-masthead-actions button .customer-nav-icon {
  width: 22px;
  min-width: 22px;
  height: 22px;
}

.customer-portal-masthead-actions a {
  border-color: var(--customer-blue);
  background: var(--customer-blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(22, 135, 217, 0.2);
}

.customer-portal-shell-v2 .customer-portal-panel {
  gap: 18px;
  animation: customerPanelIn 0.2s ease both;
}

.customer-portal-shell-v2 .customer-portal-panel[data-customer-portal-panel="dashboard"] > .customer-portal-panel-head {
  display: none;
}

.customer-portal-shell-v2 .customer-portal-panel-head {
  padding: 0 0 16px;
  border-bottom-color: var(--customer-line);
}

.customer-portal-shell-v2 .customer-portal-panel-head h3 {
  color: var(--customer-ink);
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

@keyframes customerPanelIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.customer-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(285px, 0.72fr);
  gap: 16px;
  align-items: stretch;
}

.customer-next-journey,
.customer-readiness,
.customer-dashboard-block,
.customer-lookup-drawer {
  border: 1px solid var(--customer-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 45, 70, 0.055);
}

.customer-next-journey {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 21px;
}

.customer-next-journey.is-cancelled {
  opacity: 0.78;
}

.customer-next-journey-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.customer-next-journey-head h4 {
  margin: 5px 0 4px;
  color: var(--customer-ink);
  font-size: clamp(1.25rem, 2.2vw, 1.68rem);
  letter-spacing: -0.025em;
}

.customer-next-journey-head p {
  margin: 0;
  color: var(--customer-muted);
  font-size: 0.85rem;
  font-weight: 720;
}

.customer-booking-status {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e7f8f0;
  color: #08794f;
  font-size: 0.75rem;
  font-weight: 900;
}

.customer-trip-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #e4ebf0;
  border-radius: 10px;
  background: #f9fbfc;
}

.customer-trip-facts > div,
.customer-trip-facts > button {
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 72px;
  align-content: center;
  padding: 12px 14px;
  border: 0;
  border-right: 1px solid #e4ebf0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

.customer-trip-facts > :last-child {
  border-right: 0;
}

.customer-trip-facts > button {
  cursor: pointer;
}

.customer-trip-facts span,
.customer-trip-facts small {
  overflow: hidden;
  color: var(--customer-muted);
  font-size: 0.7rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-trip-facts strong {
  overflow: hidden;
  color: var(--customer-ink);
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-trip-facts button small {
  color: var(--customer-blue-dark);
}

.customer-journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  padding-top: 4px;
}

.customer-journey::before {
  content: "";
  position: absolute;
  top: 19px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: #dce5eb;
}

.customer-journey-step {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
}

.customer-journey-step > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #dce5eb;
  color: #687c8f;
  box-shadow: 0 0 0 1px #dce5eb;
  font-size: 0.74rem;
  font-weight: 950;
}

.customer-journey-step.done > span {
  background: var(--customer-green);
  color: #fff;
  box-shadow: 0 0 0 1px var(--customer-green);
}

.customer-journey-step.current > span {
  background: var(--customer-blue);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(22, 135, 217, 0.18);
}

.customer-journey-step strong {
  color: var(--customer-ink);
  font-size: 0.75rem;
}

.customer-journey-step small {
  max-width: 110px;
  color: var(--customer-muted);
  font-size: 0.64rem;
  line-height: 1.3;
}

.customer-dashboard-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.customer-dashboard-actions button,
.customer-dashboard-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 10px;
  border: 1px solid #bcd4e4;
  border-radius: 8px;
  background: #fff;
  color: var(--customer-blue-dark);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 880;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.customer-dashboard-actions .primary {
  border-color: var(--customer-blue);
  background: var(--customer-blue);
  color: #fff;
}

.customer-readiness {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
}

.customer-readiness-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.customer-readiness-head h4 {
  margin: 4px 0 0;
  color: var(--customer-ink);
  font-size: 1.08rem;
}

.customer-readiness-head > strong {
  color: var(--customer-blue-dark);
  font-size: 0.85rem;
}

.customer-readiness-progress {
  height: 6px;
  overflow: hidden;
  margin: 14px 0 6px;
  border-radius: 999px;
  background: #e5edf2;
}

.customer-readiness-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--customer-green);
}

.customer-readiness-list {
  display: grid;
  margin-top: 4px;
}

.customer-readiness-list button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid #e6edf1;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.customer-readiness-list button:last-child {
  border-bottom: 0;
}

.customer-readiness-list button > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #e7f8f0;
  color: #08794f;
  font-size: 0.76rem;
  font-weight: 950;
}

.customer-readiness-list button.needs-action > span {
  background: #fff4dc;
  color: #a86500;
}

.customer-readiness-list button div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.customer-readiness-list button strong {
  color: var(--customer-ink);
  font-size: 0.78rem;
}

.customer-readiness-list button small {
  overflow: hidden;
  color: var(--customer-muted);
  font-size: 0.67rem;
  line-height: 1.35;
}

.customer-readiness-list button > i {
  color: #94a7b7;
  font-size: 1.2rem;
  font-style: normal;
}

.customer-kpi-strip-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.customer-kpi-strip-v2 > button {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 78px;
  padding: 12px 14px;
  border: 1px solid var(--customer-line);
  border-radius: 11px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(17, 45, 70, 0.045);
}

.customer-kpi-strip-v2 > button:hover {
  border-color: #9ac9e8;
  transform: translateY(-1px);
}

.customer-kpi-strip-v2 .customer-nav-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: #eaf5fc;
  color: var(--customer-blue-dark);
}

.customer-kpi-strip-v2 > button > span:not(.customer-nav-icon) {
  display: grid;
  gap: 2px;
}

.customer-kpi-strip-v2 strong {
  color: var(--customer-ink);
  font-size: 1.1rem;
}

.customer-kpi-strip-v2 small {
  color: var(--customer-muted);
  font-size: 0.69rem;
  font-weight: 700;
}

.customer-kpi-strip-v2 i {
  color: #93a8b8;
  font-size: 1.2rem;
  font-style: normal;
}

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

.customer-dashboard-block {
  overflow: hidden;
}

.customer-dashboard-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 70px;
  padding: 14px 17px;
  border-bottom: 1px solid var(--customer-line);
}

.customer-dashboard-block-head h4 {
  margin: 3px 0 0;
  color: var(--customer-ink);
  font-size: 1rem;
}

.customer-dashboard-block-head button {
  border: 0;
  background: transparent;
  color: var(--customer-blue-dark);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
}

.customer-activity-list,
.customer-dashboard-documents {
  display: grid;
  padding: 0 17px;
}

.customer-activity-list article,
.customer-dashboard-documents article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 64px;
  padding: 9px 0;
  border-bottom: 1px solid #e8eef2;
}

.customer-activity-list article:last-child,
.customer-dashboard-documents article:last-child {
  border-bottom: 0;
}

.activity-icon,
.customer-dashboard-documents article > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: #e7f8f0;
  color: #08794f;
  font-size: 0.65rem;
  font-weight: 950;
}

.activity-icon.document,
.customer-dashboard-documents article > span {
  background: #fff0ef;
  color: #c83d36;
}

.activity-icon.vehicle {
  background: #eaf5fc;
  color: var(--customer-blue-dark);
}

.activity-icon.support {
  background: #fff4dc;
  color: #a86500;
}

.customer-activity-list article > div,
.customer-dashboard-documents article > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.customer-activity-list strong,
.customer-dashboard-documents strong {
  overflow: hidden;
  color: var(--customer-ink);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-activity-list small,
.customer-dashboard-documents small,
.customer-activity-list time {
  overflow: hidden;
  color: var(--customer-muted);
  font-size: 0.66rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-dashboard-documents button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: #eef7fd;
  color: var(--customer-blue-dark);
  font-size: 1rem;
  font-weight: 950;
  cursor: pointer;
}

.customer-lookup-drawer {
  overflow: hidden;
}

.customer-lookup-drawer summary {
  padding: 15px 17px;
  color: var(--customer-ink);
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.customer-lookup-drawer[open] summary {
  border-bottom: 1px solid var(--customer-line);
}

.customer-lookup-drawer > div {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.customer-lookup-drawer p {
  margin: 0;
  color: var(--customer-muted);
  font-size: 0.8rem;
}

.customer-portal-shell-v2 .customer-lookup-form {
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
}

.customer-portal-shell-v2 .customer-lookup-form input,
.customer-portal-shell-v2 .customer-lookup-form button {
  min-height: 44px;
  border-radius: 8px;
}

.customer-dashboard-empty {
  display: grid;
  min-height: 330px;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 24px;
  border: 1px dashed #b9cad5;
  border-radius: 13px;
  background: #fff;
  text-align: center;
}

.customer-dashboard-empty.compact {
  min-height: 150px;
  border: 0;
}

.customer-dashboard-empty > span {
  font-size: 2rem;
}

.customer-dashboard-empty h4,
.customer-dashboard-empty p {
  margin: 0;
}

.customer-dashboard-empty p {
  color: var(--customer-muted);
}

.customer-dashboard-empty a {
  display: inline-grid;
  min-height: 42px;
  place-items: center;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--customer-blue);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.customer-booking-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--customer-line);
  border-radius: 11px;
  background: #fff;
}

.customer-booking-toolbar > label {
  display: flex;
  flex: 1 1 360px;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #d9e3e9;
  border-radius: 8px;
  background: #f9fbfc;
  color: var(--customer-muted);
}

.customer-booking-toolbar input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--customer-ink);
  font: inherit;
  font-size: 0.78rem;
}

.customer-booking-toolbar input:focus {
  box-shadow: none;
}

.customer-booking-toolbar > div {
  display: flex;
  gap: 6px;
}

.customer-booking-toolbar > div button {
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid var(--customer-line);
  border-radius: 8px;
  background: #fff;
  color: var(--customer-muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
}

.customer-booking-toolbar > div button.active {
  border-color: var(--customer-blue);
  background: #eaf5fc;
  color: var(--customer-blue-dark);
}

.customer-booking-toolbar > div button span {
  display: inline-grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  margin-left: 4px;
  border-radius: 999px;
  background: #edf2f5;
  font-size: 0.64rem;
}

.customer-booking-no-results {
  padding: 30px;
  border: 1px dashed var(--customer-line);
  border-radius: 11px;
  color: var(--customer-muted);
  text-align: center;
}

.customer-portal-shell-v2 .customer-portal-booking-card,
.customer-portal-shell-v2 .customer-portal-card,
.customer-portal-shell-v2 .portal-message-card,
.customer-portal-shell-v2 .customer-payment-row,
.customer-portal-shell-v2 .customer-document-row,
.customer-portal-shell-v2 .customer-ticket-row,
.customer-portal-shell-v2 .customer-message-list article,
.customer-portal-shell-v2 .customer-coupon-grid article {
  border-color: var(--customer-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(17, 45, 70, 0.045);
}

.customer-portal-shell-v2 .customer-portal-booking-card {
  padding: 18px;
}

.customer-portal-shell-v2 .customer-portal-route {
  border: 1px solid #e1e9ee;
  border-radius: 9px;
  background: #f7fafb;
}

.customer-portal-shell-v2 .customer-portal-actions-row button,
.customer-portal-shell-v2 .customer-document-row button,
.customer-portal-shell-v2 .customer-settings-grid button,
.customer-portal-shell-v2 .customer-ticket-grid button,
.customer-portal-shell-v2 .customer-support-hero button,
.customer-portal-shell-v2 .customer-vehicle-head button,
.customer-portal-shell-v2 .customer-vehicle-actions button {
  min-height: 42px;
  border-radius: 8px;
}

.customer-portal-shell-v2 .customer-support-hero,
.customer-portal-shell-v2 .customer-portal-card.soft {
  border-color: #ead9b3;
  background: #fffaf0;
}

.customer-portal-shell-v2 .customer-settings-grid button,
.customer-portal-shell-v2 .customer-ticket-grid button {
  min-height: 54px;
  background: #fff;
}

.customer-portal-shell-v2 .customer-vehicle-card {
  border-radius: 12px;
  background: #fff;
}

.customer-portal-shell-v2 button:focus-visible,
.customer-portal-shell-v2 a:focus-visible,
.customer-portal-shell-v2 input:focus-visible,
.customer-portal-shell-v2 select:focus-visible,
.customer-portal-shell-v2 textarea:focus-visible,
.customer-portal-shell-v2 summary:focus-visible {
  outline: 3px solid rgba(22, 135, 217, 0.28);
  outline-offset: 2px;
}

@media (max-width: 1180px) {
  .customer-dashboard-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.8fr);
  }

  .customer-trip-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-trip-facts > :nth-child(2) {
    border-right: 0;
  }

  .customer-trip-facts > :nth-child(-n + 2) {
    border-bottom: 1px solid #e4ebf0;
  }

  .customer-dashboard-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body[data-page="customer"] .customer-band.has-modern-portal {
    width: min(100% - 20px, 920px);
    margin-top: 14px;
  }

  .customer-portal-shell-v2 {
    grid-template-columns: 1fr;
  }

  .customer-portal-shell-v2 .customer-portal-menu {
    position: static;
    display: grid;
    grid-template-columns: auto auto repeat(13, minmax(154px, auto)) auto;
    grid-template-rows: auto;
    height: auto;
    max-height: none;
    overflow-x: auto;
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    scroll-snap-type: x proximity;
  }

  .customer-portal-brand {
    min-width: 190px;
    margin: 0;
  }

  .customer-portal-shell-v2 .customer-portal-menu-title {
    min-width: 190px;
    margin: 0;
  }

  .customer-portal-shell-v2 .customer-portal-menu button {
    min-width: 154px;
    scroll-snap-align: start;
  }

  .customer-portal-shell-v2 .customer-portal-menu button.logout {
    margin-top: 0;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .customer-dashboard-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  body[data-page="customer"] .topbar {
    display: none;
  }

  body[data-page="customer"] .customer-band.has-modern-portal {
    width: 100%;
    margin: 0;
  }

  .customer-portal-shell-v2 {
    min-height: 100vh;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .customer-portal-shell-v2 .customer-portal-menu {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    flex-flow: row nowrap;
    height: 116px;
    padding: 66px 8px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    background: var(--customer-teal-950);
  }

  .customer-portal-brand {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    min-width: 0;
    min-height: 58px;
    margin: 0;
    padding: 9px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--customer-teal-950);
  }

  .customer-portal-brand > span {
    width: 36px;
    height: 36px;
  }

  .customer-portal-shell-v2 .customer-portal-menu-title {
    display: none;
  }

  .customer-portal-shell-v2 .customer-portal-menu button {
    grid-template-columns: 22px minmax(0, 1fr);
    flex: 0 0 138px;
    min-width: 132px;
    min-height: 44px;
    padding: 6px 8px;
  }

  .customer-portal-shell-v2 .customer-portal-menu button em {
    display: none;
  }

  .customer-portal-shell-v2 .customer-portal-menu button .customer-nav-icon {
    width: 22px;
    min-width: 22px;
    height: 22px;
  }

  .customer-portal-shell-v2 .customer-portal-menu button.logout {
    min-width: 108px;
  }

  .customer-portal-shell-v2 .customer-portal-content {
    min-height: auto;
    padding: 0 14px 28px;
  }

  .customer-portal-masthead {
    align-items: stretch;
    flex-direction: column;
    min-height: 0;
    margin: 0 -14px 18px;
    padding: 20px 14px 18px;
  }

  .customer-portal-masthead h2 {
    font-size: 1.65rem;
  }

  .customer-portal-masthead-actions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .customer-portal-masthead-actions button > span:not(.customer-nav-icon) {
    display: none;
  }

  .customer-portal-masthead-actions a {
    min-height: 48px;
  }

  .customer-next-journey,
  .customer-readiness {
    padding: 16px;
  }

  .customer-next-journey-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .customer-booking-status {
    align-self: flex-start;
  }

  .customer-trip-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-journey {
    overflow-x: auto;
    grid-template-columns: repeat(4, minmax(96px, 1fr));
    padding-bottom: 4px;
  }

  .customer-journey::before {
    right: 48px;
    left: 48px;
  }

  .customer-dashboard-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-dashboard-actions button,
  .customer-dashboard-actions a {
    min-height: 48px;
  }

  .customer-readiness-list {
    grid-template-columns: 1fr;
  }

  .customer-kpi-strip-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-kpi-strip-v2 > button {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 76px;
    padding: 10px;
  }

  .customer-kpi-strip-v2 .customer-nav-icon {
    width: 34px;
    height: 34px;
  }

  .customer-kpi-strip-v2 > button > i {
    display: none;
  }

  .customer-dashboard-lower {
    grid-template-columns: 1fr;
  }

  .customer-activity-list article,
  .customer-dashboard-documents article {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .customer-activity-list time {
    max-width: 76px;
  }

  .customer-portal-shell-v2 .customer-lookup-form {
    grid-template-columns: 1fr;
  }

  .customer-booking-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-booking-toolbar > label {
    flex-basis: auto;
  }

  .customer-booking-toolbar > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .customer-booking-toolbar > div button {
    padding: 0 7px;
  }

  .customer-portal-shell-v2 .customer-document-row,
  .customer-portal-shell-v2 .customer-payment-row,
  .customer-portal-shell-v2 .customer-ticket-row,
  .customer-portal-shell-v2 .customer-support-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-portal-shell-v2 .customer-panel-grid.two,
  .customer-portal-shell-v2 .customer-coupon-grid,
  .customer-portal-shell-v2 .customer-settings-grid,
  .customer-portal-shell-v2 .customer-ticket-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .customer-trip-facts {
    grid-template-columns: 1fr;
  }

  .customer-trip-facts > div,
  .customer-trip-facts > button {
    min-height: 60px;
    border-right: 0;
    border-bottom: 1px solid #e4ebf0;
  }

  .customer-trip-facts > :last-child {
    border-bottom: 0;
  }

  .customer-dashboard-actions {
    grid-template-columns: 1fr;
  }
}
