.more-apps-header-row {
  gap: 28px;
  position: relative;
  z-index: 100;
}

.more-apps-header-row > * {
  margin-left: 0 !important;
}

.more-apps-header-row > .desktop-header-nav {
  margin-left: auto !important;
}

.more-apps-actions {
  align-items: center;
  display: flex;
  gap: 14px;
}

.more-apps {
  flex: 0 0 auto;
  font-family: "Figtree", Arial, sans-serif;
  position: relative;
  z-index: 100;
}

.more-apps > summary {
  align-items: center;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--colour-line, #e1dfec);
  border-radius: 999px;
  color: var(--colour-primary, #080089);
  cursor: pointer;
  display: flex;
  font-size: 17px;
  font-weight: 400;
  gap: 12px;
  justify-content: center;
  line-height: 24px;
  list-style: none;
  min-height: 52px;
  padding: 12px 30px;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.more-apps > summary::-webkit-details-marker {
  display: none;
}

.more-apps > summary:hover {
  background: rgba(255, 255, 255, 0.78);
  border-color: #c8c4d8;
  transform: translateY(-1px);
}

.more-apps > summary:focus-visible {
  outline: 3px solid rgba(8, 0, 137, 0.3);
  outline-offset: 4px;
}

.more-apps > summary > img {
  height: 18px;
  transition: transform 180ms ease;
  width: 18px;
}

.more-apps[open] > summary > img {
  transform: rotate(180deg);
}

.more-apps-label-short {
  display: none;
}

.more-apps-panel {
  background: #ffffff;
  border: 1px solid var(--colour-line, #e1dfec);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(8, 0, 137, 0.16);
  left: 0;
  padding: 24px;
  position: absolute;
  top: calc(100% + 12px);
  width: min(660px, calc(100vw - 64px));
}

.more-apps-heading {
  align-items: center;
  color: #606879;
  display: flex;
  font-size: 15px;
  gap: 11px;
  line-height: 1.35;
  margin-bottom: 16px;
}

.more-apps-heading img {
  border-radius: 50%;
  height: 35px;
  object-fit: contain;
  width: 35px;
}

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

.more-apps-card {
  background: #ffffff;
  border: 1px solid var(--colour-line, #e1dfec);
  border-radius: 21px;
  color: var(--colour-primary, #080089);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 173px;
  padding: 22px 26px;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.more-apps-card:hover {
  background: var(--colour-lilac, #f5f4ff);
  border-color: var(--colour-primary, #080089);
}

.more-apps-card:focus-visible {
  outline: 3px solid rgba(8, 0, 137, 0.3);
  outline-offset: 4px;
}

.more-apps-logo-slot {
  align-items: center;
  display: flex;
  height: 65px;
}

.more-apps-logo-slot img {
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.more-apps-invoice-logo {
  width: 173px;
}

.more-apps-linepilot-logo {
  width: 188px;
}

.more-apps-tagline {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.28;
  max-width: 225px;
}

@media (max-width: 1100px) and (min-width: 761px) {
  .more-apps-header-row {
    gap: 18px;
  }

  .more-apps > summary {
    min-width: 96px;
    padding-inline: 18px;
  }

  .more-apps-label-full {
    display: none;
  }

  .more-apps-label-short {
    display: inline;
  }
}

@media (max-width: 760px) {
  .more-apps-header-row {
    align-items: center;
    flex-wrap: wrap;
    gap: 12px !important;
  }

  .more-apps-header-row > .more-apps-brand-slot {
    margin-right: auto !important;
    order: 1;
  }

  .more-apps-header-row > .header-actions,
  .more-apps-header-row > .desktop-header-nav {
    flex-basis: 100%;
    justify-content: stretch !important;
    order: 2;
    width: 100%;
  }

  .more-apps-actions {
    justify-content: space-between;
    width: 100%;
  }

  .more-apps > summary {
    font-size: 15px;
    min-height: 46px;
    min-width: 140px;
    padding: 10px 18px;
    width: fit-content;
  }

  .more-apps-panel {
    border-radius: 24px;
    left: 0;
    padding: 22px;
    top: calc(100% + 12px);
    width: calc(100vw - 40px);
  }

  .more-apps-heading {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .more-apps-heading img {
    height: 40px;
    width: 40px;
  }

  .more-apps-grid {
    grid-template-columns: 1fr;
  }

  .more-apps-card {
    border-radius: 22px;
    min-height: 172px;
    padding: 22px 24px;
  }

  .more-apps-logo-slot {
    height: 68px;
  }

  .more-apps-invoice-logo {
    width: 190px;
  }

  .more-apps-linepilot-logo {
    width: 210px;
  }

  .more-apps-tagline {
    font-size: 18px;
  }
}
