.account-access { background: var(--workspace-bg); color: var(--workspace-ink); }
.account-access .dash-bar { border-top-color: var(--workspace-action); }
.account-access .access-shop { display: inline-flex; align-items: center; min-height: 2.5rem; padding-inline: .75rem; color: var(--workspace-hover); border: 1px solid var(--workspace-line); border-radius: .4rem; text-decoration: none; }
.account-access .access-shop:hover { background: var(--workspace-selected); }
.account-access .access-page {
  display: grid; align-items: center; justify-items: center;
  min-height: calc(100vh - 66px); box-sizing: border-box;
  padding: clamp(1.25rem, 5vw, 4.5rem) 1rem; background: var(--workspace-bg);
}
.account-access .access-card {
  width: min(100%, 29rem); padding: clamp(1.4rem, 3vw, 2.5rem); box-sizing: border-box;
  background: white; border: 1px solid var(--workspace-line); border-radius: .875rem;
  box-shadow: 0 12px 36px rgb(38 52 65 / 8%);
}
.account-access .entry-card {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  width: min(100%, 61rem); padding: 0; overflow: hidden;
}
.entry-cover { position: relative; isolation: isolate; display: flex; align-items: end; padding: clamp(1.5rem, 3.5vw, 2.65rem); background: #213b38; }
.entry-cover img, .entry-cover::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.entry-cover img { object-fit: cover; object-position: 58% center; z-index: -2; }
.entry-cover::after { content: ""; z-index: -1; background: linear-gradient(180deg, transparent 8%, rgb(8 25 27 / 32%) 41%, #102626 100%); }
.entry-intro { min-width: 0; }
.access-card h1 { margin: 0 0 .65rem; font-size: clamp(1.55rem, 2.8vw, 2.3rem); line-height: 1.12; letter-spacing: -.035em; color: var(--workspace-ink); }
.access-card p { margin: 0 0 1.4rem; color: var(--workspace-muted); line-height: 1.55; }
.entry-intro h1, .entry-intro p { color: white; text-wrap: pretty; }
.entry-intro p { max-width: 35ch; margin: 0; font-size: .94rem; }
.entry-controls { min-width: 0; padding: clamp(1.25rem, 3.5vw, 2.75rem); }
.access-card label, .access-card .field-title { display: block; margin: .85rem 0 .4rem; color: var(--workspace-ink); font-size: .91rem; font-weight: 650; }
.access-card .field-title { margin: 0 0 .65rem; }
.portal-picker, .auth-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.portal-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.access-card nav a { display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 650; }
.portal-picker a {
  min-height: 3.25rem; gap: .55rem; padding: .45rem; box-sizing: border-box;
  color: var(--workspace-ink); border: 1px solid #ced5d9; border-radius: .5rem;
}
.portal-picker .dash-icon { display: block; width: 1.15rem; height: 1.15rem; flex: none; stroke: currentColor; stroke-width: 1.65; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.portal-picker a:is(:hover,[aria-current]) { border-color: var(--workspace-action); color: var(--workspace-hover); }
.portal-picker a[aria-current] { background: var(--workspace-selected); box-shadow: inset 0 0 0 1px var(--workspace-action); }
.auth-tabs { margin: 1.25rem 0 1.45rem; gap: .25rem; padding: .25rem; background: var(--workspace-bg); border-radius: .45rem; }
.auth-tabs a { min-height: 2.5rem; border: 1px solid transparent; border-radius: .3rem; font-size: .9rem; color: var(--workspace-muted); }
.auth-tabs a[aria-current] { background: white; border-color: var(--workspace-line); box-shadow: 0 1px 3px #24354215; color: var(--workspace-ink); }
.access-card :is(input[type=tel], input[type=text], input[type=email], input[type=password], textarea) {
  box-sizing: border-box; width: 100%; min-height: 2.9rem; padding: .65rem .8rem; border: 1px solid #aab5bd;
  border-radius: .4rem; font: inherit; color: var(--workspace-ink); background: white;
}
.access-card textarea { resize: vertical; }
.access-card :is(a, input, button, textarea):focus-visible { outline: 2px solid var(--workspace-action); outline-offset: 2px; }
.access-card .sms-consent { display: flex; align-items: baseline; gap: .55rem; margin: 1rem 0 .35rem; font-weight: 400; }
.sms-consent input { width: 1rem; height: 1rem; flex: none; accent-color: var(--workspace-action); }
.access-card button {
  width: 100%; min-height: 2.9rem; margin-top: 1rem; padding: .65rem 1rem; font: inherit; font-weight: 650;
  border: 0; border-radius: .4rem; color: white; background: var(--workspace-action); cursor: pointer;
}
.access-card button:hover { background: var(--workspace-hover); }
.access-card .errorlist { margin: .45rem 0; padding: 0; color: #9a2524; list-style: none; }
.signup-form small { display: block; color: var(--workspace-muted); }
.otp-resend { margin: 1.25rem 0; padding-top: 1rem; border-top: 1px solid var(--workspace-line); }
.otp-resend .resend-status { margin: 0; font-size: .9rem; }
.otp-resend form:not([hidden]) { display: flex; flex-wrap: wrap; gap: .5rem; }
.access-card .otp-resend button { flex: 1 1 9rem; width: auto; margin: .5rem 0 0; background: var(--workspace-selected); color: var(--workspace-hover); }
@media (prefers-reduced-motion: no-preference) {
  .access-card nav a { transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
}
@media (max-width: 720px) {
  .account-access .entry-card { max-width: 34rem; grid-template-columns: 1fr; }
  .entry-cover { min-height: 8.5rem; padding: 1.25rem; }
  .entry-cover img { object-position: center 45%; }
  .entry-cover::after { background: linear-gradient(90deg, rgb(15 36 36 / 95%) 0%, rgb(15 36 36 / 82%) 58%, rgb(15 36 36 / 46%) 100%); }
  .entry-intro { max-width: 36ch; }
}
@media (max-width: 500px) {
  .account-access .access-page { padding: 1rem .75rem; }
  .portal-picker { gap: .4rem; }
  .portal-picker a { flex-direction: column; gap: .25rem; font-size: .85rem; }
}
