.access-body {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(16px, 5vw, 60px);
  background: #f4f0f3;
}

.access-layout {
  width: min(100%, 860px);
  display: grid;
  grid-template-columns: minmax(235px, .85fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #e2d8e5;
  border-radius: 20px;
  background: #fffdfb;
  box-shadow: 0 22px 62px #382d4018;
}

.access-brand {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  padding: 33px 34px 45px;
  color: #fff6ff;
  background: radial-gradient(ellipse at 90% 100%, #634a70, transparent 77%), #342640;
}

.access-brand .wordmark { color: inherit; align-self: flex-start; }
.access-brand .wordmark span { color: #e3bce2; }
.access-brand-copy { z-index: 1; }
.access-brand-copy p { margin: 14px 0; font-size: clamp(30px, 4vw, 48px); font-weight: 650; line-height: 1.23; }
.access-brand-copy small { color: #ebdbea; font-size: 13px; }
.access-kicker { margin: 0; font-size: 11px; letter-spacing: .16em; font-weight: 650; color: #846691; }
.access-brand .access-kicker { color: #e3bce2; }
.access-orbit { position: absolute; width: 280px; aspect-ratio: 1; bottom: -100px; right: -110px; }
.access-orbit i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid #f6d1fa3b; }
.access-orbit i:nth-child(2) { inset: 26px; }
.access-orbit i:nth-child(3) { inset: 52px; background: #f6d1fa12; }
.access-panel { padding: clamp(26px, 5vw, 49px); align-self: center; }
.access-panel h1 { margin: 8px 0 9px; font-size: clamp(26px, 4vw, 35px); line-height: 1.2; }
.access-note, .access-denied p { margin: 0 0 20px; color: #685c71; line-height: 1.65; }
.access-note:empty { display: none; }

.account-form { display: grid; gap: 13px; }
.account-form[hidden], .access-link[hidden], .access-denied[hidden] { display: none; }
.account-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #4f415a; }
.account-form input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #d8cbe1;
  border-radius: 7px;
  background: #fffdfa;
  color: #292533;
  font-size: 16px;
  font-weight: 400;
}
.account-form > .primary { margin-top: 3px; justify-content: center; min-height: 44px; }
.account-hint { margin-top: -7px; color: #72627d; }
.account-feedback { margin: 0; min-height: 1.3em; color: #5b6852; font-size: 12px; line-height: 1.5; }
.account-feedback:empty { min-height: 0; }
.account-feedback.error { color: #a33e52; }
.access-link { justify-self: start; color: #644a74; text-underline-offset: 3px; }
.access-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.desk-logout { border: 0; background: transparent; cursor: pointer; }
.access-actions .desk-logout { padding: 0; text-decoration: underline; }

.desk-session { display: inline-flex; gap: 3px; align-items: center; }
.desk-session .desk-identity { max-width: 120px; text-overflow: ellipsis; overflow: hidden; }
.desk-session .desk-logout { color: #644a74; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(290px, 1fr); gap: 18px; align-items: start; }
.account-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
#add-account, #account-list-status { padding: 16px 24px 22px; }
.account-list { list-style: none; margin: 14px 24px 0; padding: 0; }
.account-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 0; border-top: 1px solid #eee8f1; }
.account-list li > div:first-child { min-width: 0; }
.account-list strong, .account-list small { display: block; overflow-wrap: anywhere; }
.account-list small { margin-top: 4px; color: #6d6078; }
.account-list .access-actions { gap: 6px; }
.account-list .button { min-height: 34px; padding: 5px 8px; }
.account-dialog { width: min(420px, calc(100% - 32px)); border: 1px solid #ded1e5; border-radius: 14px; padding: 22px; color: #3b3043; background: #fffdfb; }
.account-dialog::backdrop { background: #22172e75; }
.account-dialog h2 { margin-top: 0; }

@media (max-width: 720px) {
  .access-layout { grid-template-columns: 1fr; border-radius: 14px; }
  .access-brand { min-height: 0; padding: 21px 25px; gap: 12px; }
  .access-brand-copy p { font-size: 25px; margin: 5px 0; }
  .access-brand-copy br, .access-brand-copy small, .access-brand-copy .access-kicker { display: none; }
  .access-panel { padding: 24px; }
  .account-grid { grid-template-columns: 1fr; }
  .site-header.workbench-header:has(.desk-session) { height: auto; min-height: 60px; padding-block: 7px; }
  .desk-session .desk-identity { max-width: 76px; }
  #add-account, #account-list-status { padding-inline: 16px; }
  .account-list { margin-inline: 16px; }
}
