.employee-account { min-width: 0; max-width: 12rem; position: relative; }
.employee-account .button { max-width: 100%; }

.employee-account summary {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.employee-account summary::-webkit-details-marker { display: none; }

.employee-account-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.employee-account summary::after {
  content: '';
  flex: none;
  width: 10px;
  height: 6px;
  background: currentColor;
  clip-path: polygon(0 1.5px, 1.5px 0, 5px 3.5px, 8.5px 0, 10px 1.5px, 5px 6px);
}

.employee-account details[open] summary::after { transform: rotate(180deg); }

.employee-account-menu,
.employee-account > .employee-account-status {
  position: absolute;
  right: 0;
  z-index: 12;
  width: max-content;
  max-width: min(17rem, calc(100vw - 2rem));
  padding: .5rem;
  border: 1px solid var(--subtle);
  border-radius: .65rem;
  background: var(--paper);
  box-shadow: 0 8px 20px #17233722;
}

.employee-account-menu {
  top: calc(100% + .375rem);
  display: grid;
  gap: .375rem;
}

.employee-account-menu .button { white-space: normal; text-align: left; }
.employee-account-status { font-size: .8125rem; }
.employee-account > .employee-account-status { top: calc(100% + .375rem); }

.employee-gate { min-height: 100vh; display: grid; place-items: center; padding: 1.25rem; }
.employee-gate-card { display: grid; justify-items: start; gap: .85rem; width: min(100%, 28rem); padding: clamp(1.3rem, 4vw, 2.2rem); }
.employee-gate-card h1 { margin: 0; font-size: clamp(1.65rem, 5vw, 2.25rem); }
.employee-gate-card p { margin: 0; color: var(--muted); }
.employee-gate-card .brand-logo { width: 65px; height: 27px; }

@media (max-width: 640px) {
  .launchpad-actions { flex: 1; min-width: 0; gap: .375rem; }
  .launchpad-actions .button { padding-inline: .45rem; }
}
