.access-main,
.approval-main {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.access-heading { max-width: 720px; margin-bottom: 28px; }
.access-heading h1, .approval-summary h1 { font-size: clamp(38px, 7vw, 64px); }
.access-heading > p:last-child { color: var(--muted); font-size: 18px; line-height: 1.6; }
.access-message { padding: 12px 16px; border-radius: 10px; background: var(--mint); color: var(--forest); font-weight: 700; }
.access-message[data-error="true"] { background: #f7dfdc; color: #82271f; }
.access-card { padding: clamp(22px, 5vw, 36px); margin-top: 18px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 34px rgba(17, 41, 30, .08); }
.access-card-narrow { max-width: 520px; }
.access-card h2 { margin-bottom: 12px; font-size: 30px; }
.access-card > p { color: var(--muted); line-height: 1.55; }
.access-form { display: grid; gap: 18px; }
.access-form label { display: grid; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 800; }
.access-form input, .access-form select, .access-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #bac4be; border-radius: 9px; background: white; color: var(--ink); font: inherit; font-size: 16px; }
.access-form fieldset { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; }
.access-form fieldset label { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.access-form fieldset input { width: auto; }
.access-grid { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr); gap: 18px; align-items: start; }
.account-strip { display: flex; justify-content: space-between; align-items: center; }
.account-strip span, .account-strip strong, .account-strip small { display: block; }
.account-strip span, .account-strip small { color: var(--muted); }
.account-strip strong { margin: 4px 0; font-size: 22px; }
.user-list { display: grid; gap: 10px; }
.user-row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.user-row div { display: flex; justify-content: space-between; gap: 12px; }
.user-row span, .user-row small { color: var(--muted); }
.user-row .activation-state { display: inline-block; margin-top: 9px; padding: 4px 8px; border-radius: 999px; background: #f3e4bd; color: #6d4a13; font-size: 12px; font-weight: 800; }
.user-row .activation-state[data-active="true"] { background: var(--mint); color: var(--green); }
.temporary-pin-form { display: grid; grid-template-columns: minmax(130px, 1fr) auto; gap: 10px; align-items: end; margin-top: 12px; }
.temporary-pin-form label { display: grid; gap: 5px; font-size: 12px; font-weight: 800; }
.temporary-pin-form input { min-width: 0; padding: 10px; border: 1px solid #bac4be; border-radius: 8px; font: inherit; }
.account-status-button { margin-top: 12px; padding: 0; border: 0; background: transparent; color: #8b2f27; font: inherit; font-size: 12px; font-weight: 800; text-decoration: underline; cursor: pointer; }
[data-account-active="false"] { opacity: .72; }
[data-account-active="false"] .account-status-button { color: var(--green); }
.approval-mobile-header { min-height: 58px; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; background: var(--forest); color: white; }
.approval-mobile-header a { color: white; text-decoration: none; font-weight: 900; }
.approval-main { max-width: 680px; padding-top: 24px; }
.approval-title { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.approval-title span { color: var(--muted); font-weight: 800; }
.approval-title h1 { margin: 6px 0 20px; font-size: clamp(30px, 8vw, 48px); }
.approval-title > strong { min-width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; font-size: 25px; }
.approval-title > strong[data-risk="L"] { background: #b7dfb2; }
.approval-title > strong[data-risk="M"] { background: #ffe477; }
.approval-title > strong[data-risk="H"], .approval-title > strong[data-risk="EH"] { background: #ef9a91; }
.approval-summary dl div { display: grid; grid-template-columns: 100px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.approval-summary dt { color: var(--muted); }
.approval-summary dd { line-height: 1.5; }
.approval-summary .button { margin-top: 20px; width: 100%; text-align: center; }

@media (max-width: 700px) {
  .topbar .topnav { display: none; }
  .access-main { padding-top: 28px; }
  .access-grid { grid-template-columns: 1fr; }
  .account-strip, .user-row div { align-items: start; flex-direction: column; }
  .temporary-pin-form { grid-template-columns: 1fr; }
  .access-form .button { width: 100%; min-height: 48px; }
}
