.dg-access-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:#eef2f7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#0f172a}
.dg-access-card{width:min(100%,620px);padding:34px;border:1px solid #d6dee8;border-radius:28px;background:#fff;box-shadow:0 22px 60px rgba(15,23,42,.12);text-align:center}
.dg-access-icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 18px;border-radius:18px;background:#0f172a;color:#2dd4bf;font-weight:900;letter-spacing:-.04em}
.dg-access-eyebrow{margin:0 0 8px;color:#0f766e;font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.dg-access-card h1{margin:0;font-size:clamp(27px,5vw,40px);line-height:1.1;letter-spacing:-.035em}
.dg-access-card>p:not(.dg-access-eyebrow):not(.dg-access-org){margin:14px auto 0;max-width:510px;color:#475569;font-size:15px;line-height:1.7}
.dg-access-org{margin:18px 0 0;color:#334155;font-size:13px}
.dg-access-switcher{display:grid;gap:7px;margin:20px auto 0;max-width:360px;text-align:left;color:#475569;font-size:12px;font-weight:800}
.dg-access-switcher select{width:100%;padding:12px 14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a;font:inherit}
.dg-access-note{margin:22px 0 0;padding:14px 16px;border:1px solid #fde68a;border-radius:14px;background:#fffbeb;color:#92400e;font-size:12px;line-height:1.6;text-align:left}
.dg-access-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:22px}
.dg-access-actions a,.dg-access-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:12px;font-size:13px;font-weight:900;text-decoration:none;cursor:pointer}
.dg-access-primary{border:1px solid #0f172a;background:#0f172a;color:#fff}
.dg-access-secondary{border:1px solid #cbd5e1;background:#fff;color:#0f172a}
.dg-access-link{border:0;background:transparent;color:#475569}
.dg-subscription-state{display:grid;gap:6px;margin-bottom:16px;padding:15px;border-radius:14px;font-size:13px;line-height:1.55}
.dg-subscription-state strong{font-size:14px}
.dg-subscription-state--active{border:1px solid #a7f3d0;background:#ecfdf5;color:#065f46}
.dg-subscription-state--inactive{border:1px solid #fde68a;background:#fffbeb;color:#92400e}
.dg-subscription-help{margin:0;color:#64748b;font-size:12px;line-height:1.55}
@media(max-width:560px){.dg-access-page{padding:14px}.dg-access-card{padding:26px 18px;border-radius:22px}.dg-access-actions{display:grid}.dg-access-actions a,.dg-access-actions button{width:100%}}

/* Step 7D.14 — compact signed-in identity in authenticated application headers */
.dg-header-user{
  display:grid;
  flex:0 0 auto;
  justify-items:center;
  align-content:center;
  gap:2px;
  min-width:38px;
  padding:0 2px;
  line-height:1;
}
.dg-header-user-avatar{
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  border:1px solid #334155;
  border-radius:999px;
  background:#0f172a;
  color:#5eead4;
  box-shadow:0 5px 14px rgba(15,23,42,.14);
  font-size:10px;
  font-weight:900;
  letter-spacing:.02em;
}
.dg-header-user-role{
  max-width:64px;
  overflow:hidden;
  color:#64748b;
  font-size:9px;
  font-weight:850;
  line-height:1.05;
  text-align:center;
  text-overflow:ellipsis;
  text-transform:capitalize;
  white-space:nowrap;
}
@media(max-width:640px){
  .dg-header-user{min-width:35px}
  .dg-header-user-avatar{width:29px;height:29px;font-size:9px}
  .dg-header-user-role{font-size:8px}
}

