.ac-nav {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 16px 0;
}

.ac-overview {
  border-top: 0 !important;
}

.ac-nav-shell {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.ac-nav__group + .ac-nav__group {
  margin-top: 16px;
}

.ac-nav__heading {
  color: #6c6862;
  font-size: 12px;
  font-weight: 700;
  margin: 0 16px 8px;
  text-transform: uppercase;
}

.ac-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ac-nav__link {
  align-items: center;
  border-left: 2px solid transparent;
  color: #4b5563;
  display: flex;
  gap: 10px;
  min-height: 38px;
  padding: 8px 14px;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, color .15s ease;
}

.ac-nav__link:hover,
.ac-nav__link:focus-visible {
  border-left-color: #1e56e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  color: #1e56e0;
  outline: none;
}

.ac-nav__link.is-active {
  border-left-color: #1e56e0;
  color: #1e56e0;
  font-weight: 600;
}

.ac-nav__icon {
  flex: 0 0 16px;
}

.ac-nav__footer {
  border-top: 1px solid #e5e7eb;
  margin-top: 16px;
  padding-top: 8px;
}

.ac-nav__logout {
  color: #6c6862;
}

.ac-nav--guest {
  padding: 8px 0;
}

@media (max-width: 767px) {
  .ac-nav {
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    display: flex;
    gap: 16px;
    margin: 0 0 16px;
    overflow-x: auto;
    padding: 0 0 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none !important;
    white-space: nowrap;
  }

  .ac-nav::-webkit-scrollbar {
    display: none !important;
  }

  .ac-nav__group {
    flex: 0 0 auto;
  }

  .ac-nav__heading {
    display: none;
  }

  .ac-nav__group + .ac-nav__group,
  .ac-nav__footer {
    margin: 0;
  }

  .ac-nav__list {
    display: flex;
    gap: 4px;
  }

  .ac-nav__link {
    border-bottom: 2px solid transparent;
    border-left: 0;
    min-height: 40px;
    padding: 8px 10px;
    scroll-snap-align: start;
  }

  .ac-nav__link:hover,
  .ac-nav__link:focus-visible,
  .ac-nav__link.is-active {
    border-bottom-color: #1e56e0;
    border-left: 0;
  }

  .ac-nav__icon {
    display: none;
  }

  .ac-nav__footer {
    border: 0;
    flex: 0 0 auto;
    padding: 0;
  }
}

.ac-overview {
  display: grid;
  gap: 16px;
}

.ac-overview__welcome {
  align-items: center;
  border-bottom: 0 !important;
  box-shadow: none !important;
  display: flex;
  justify-content: flex-start;
}

.ac-overview__badge {
  border-radius: 999px;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  margin-left: 10px;
  padding: 3px 9px;
  vertical-align: middle;
}

.ac-overview__page-title {
  align-items: center;
  border-bottom: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center !important;
}

.ac-overview__page-title .page-title-text {
  flex: 0 0 auto;
  margin: 0 !important;
  max-width: none;
}

.ac-overview__page-title .page-title-text::after {
  display: none !important;
}

.ac-overview__page-title::before,
.ac-overview__page-title::after {
  display: none !important;
}

.ac-overview__title-subheading {
  color: #6c6862;
  font-size: 13px;
  font-weight: 400;
  margin-left: 10px;
  vertical-align: middle;
}

.ac-overview__badge--business {
  background: #e8f5ec;
  color: #176b39;
}

.ac-overview__badge--personal {
  background: #f3f4f6;
  color: #4b5563;
}

.ac-overview__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  min-width: 0;
  padding: 20px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.ac-overview__card:hover {
  border-color: #1e56e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

@media (max-width: 767px) {
  .ac-nav-shell {
    width: 100%;
  }

  .ac-overview__page-title {
    row-gap: 6px;
  }

  .ac-overview__badge {
    margin-left: 0;
    margin-right: 8px;
  }

  .ac-overview__title-subheading {
    margin-left: 0;
  }
}

.ac-overview__card h2 {
  color: #201e1b;
  font-size: 18px;
  font-weight: 650;
  margin: 0 0 16px;
  text-align: left;
}

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

.ac-overview__card-header h2 {
  margin-bottom: 0;
}

.ac-overview__card-header a,
.ac-overview__action,
.ac-overview__tracking a {
  color: #1e56e0;
  text-decoration: none;
}

.ac-overview__order-list {
  margin-top: 12px;
}

.ac-overview__order {
  align-items: center;
  border-top: 1px solid #e5e7eb;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(160px, 1.2fr) minmax(120px, .8fr) minmax(160px, 1fr) auto;
  padding: 14px 0;
}

.ac-overview__order-heading,
.ac-overview__order-meta {
  display: grid;
  gap: 5px;
}

.ac-overview__order-number {
  color: #1e56e0;
  font-weight: 600;
}

.ac-overview__order time,
.ac-overview__muted {
  color: #6c6862;
  font-size: 13px;
}

.ac-overview__status {
  color: #176b39;
}

.ac-overview__tracking {
  display: grid;
  font-size: 13px;
  gap: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ac-overview__reorder button,
.ac-overview__button {
  background: #1e56e0;
  border: 1px solid #1e56e0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font: inherit;
  padding: 8px 14px;
  text-decoration: none;
}

.ac-overview__reorder button:hover,
.ac-overview__button:hover {
  background: #1a4ccb;
  border-color: #1a4ccb;
  color: #fff;
}

.ac-overview__empty {
  padding-top: 16px;
}

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

.ac-overview__address p {
  margin: 0 0 4px;
}

.ac-overview__count {
  color: #201e1b;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
}

.ac-overview__business-active {
  color: #176b39;
  font-weight: 600;
}

.ac-overview__benefits {
  margin: 0 0 16px;
  padding-left: 20px;
}

@media (max-width: 767px) {
  .ac-overview__card {
    padding: 16px;
  }

  .ac-overview__grid {
    grid-template-columns: 1fr;
  }

  .ac-overview__order {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ac-overview__tracking {
    grid-column: 1 / -1;
  }

  .ac-overview__reorder {
    grid-column: 1 / -1;
  }
}
.ac-view-switch {
  align-items: stretch;
  border: 1px solid #d7deea;
  border-radius: 6px;
  display: flex;
  margin: 0 auto 20px;
  max-width: 420px;
  overflow: hidden;
}

.ac-view-switch__tab {
  background: #fff;
  color: #344054;
  flex: 1 1 50%;
  padding: 10px 16px;
  text-align: center;
  text-decoration: none;
}

.ac-view-switch__tab + .ac-view-switch__tab {
  border-left: 1px solid #d7deea;
}

.ac-view-switch__tab.is-active {
  background: #1e56e0;
  color: #fff;
  font-weight: 600;
}

.ac-affiliate__details {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0;
}

.ac-affiliate__details > div {
  min-width: 0;
}

.ac-affiliate__details dt {
  color: #667085;
  font-size: 13px;
  font-weight: 400;
}

.ac-affiliate__details dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.ac-affiliate__pending {
  color: #9a6700;
  font-weight: 600;
}

.ac-affiliate__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 767px) {
  .ac-view-switch {
    margin: 0 12px 20px;
    max-width: none;
  }

  .ac-view-switch__tab {
    flex-basis: 50%;
  }

  .ac-affiliate__details {
    grid-template-columns: 1fr;
  }
}
