/* Access pages inherit the same header, hero and typography as resource pages. */
.access-page { color: var(--navy); }
.access-main { max-width: 1180px; padding: 1.5rem 0 3rem; }
.account { margin: 0 0 1.25rem; color: var(--muted); font-size: .8rem; }
.account span { color: var(--navy); font-weight: 500; overflow-wrap: anywhere; }
.access-page .stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .85rem; margin-bottom: 1.25rem; }
.access-page .card, .access-page .panel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 24px rgb(28 53 82 / 7%); }
.access-page .card { padding: 1rem 1.15rem; }
.access-page .label { display: block; color: var(--muted); font-size: .78rem; font-weight: 500; }
.access-page .card strong { display: block; margin-top: .35rem; color: var(--navy); font-size: 1rem; font-weight: 500; line-height: 1.4; }
.access-page .panel { padding: 1.5rem; }
.access-page h2 { margin: 0; color: var(--navy); font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.access-page .intro, .access-page .form-copy { margin: .5rem 0 1.25rem; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.password-box { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border: 1px solid var(--border); border-radius: 10px; background: var(--background); }
.password { font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: clamp(1rem,2.5vw,1.2rem); font-weight: 500; overflow-wrap: anywhere; }
.password.masked { letter-spacing: .12em; }
.access-page .button, .access-page .show, .access-page .submit { min-height: 44px; border: 1px solid transparent; font-family: inherit; font-size: .875rem; font-weight: 500; line-height: 1.4; cursor: pointer; }
.access-page .button { justify-content: center; }
.access-page .button.secondary, .access-page .show { border-color: #b9c7d5; color: var(--navy); background: #fff; }
.access-page .button.secondary:hover, .access-page .show:hover { background: var(--background); }
.access-page .button.danger { border-color: #efc2be; color: #b42318; background: #fff; }
.access-page .button.danger:hover { background: #fff0ef; }
.access-page button:disabled { opacity: .55; cursor: default; }
.access-page button:focus-visible { outline: 3px solid #2367a8; outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.detail { padding: 1rem; border: 1px solid var(--border); border-radius: 10px; }
.detail strong { display: block; margin-top: .25rem; font-size: .875rem; font-weight: 500; overflow-wrap: anywhere; }
.access-page .help { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .8rem; line-height: 1.6; }
.access-page .notice, .access-page .error { display: none; margin: 0 0 1rem; padding: .8rem 1rem; border: 1px solid #b8d7f0; border-radius: 10px; color: #184f7d; background: var(--soft-blue); font-size: .875rem; }
.access-page .notice.show, .access-page .error.show-error { display: block; }
.access-page .notice.error, .access-page .error { border-color: #efc2be; color: #b42318; background: #fff0ef; }
.access-page .error { margin-top: 1rem; margin-bottom: 0; }
.access-page .preview { display: none; color: #184f7d; background: var(--soft-blue); font-size: .75rem; font-weight: 500; }
.ca-hero .preview.show { display: inline-block; margin-left: .5rem; padding: .25rem .55rem; border-radius: 99px; vertical-align: middle; letter-spacing: 0; }
.access-page p.preview.visible { display: block; margin: 1rem 0 0; padding: .75rem; border-radius: 9px; }
.login-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: clamp(1.5rem,4vw,3rem); padding-top: 2rem; }
.login-help { padding: 1.25rem 0; max-width: 430px; }
.login-help p:not(.eyebrow) { color: var(--muted); font-size: .9rem; line-height: 1.65; }
.access-page label { display: block; margin-bottom: .45rem; font-size: .85rem; font-weight: 500; }
.input-row { display: flex; gap: .5rem; }
.access-page input { width: 100%; min-width: 0; min-height: 46px; padding: .7rem .85rem; border: 1px solid #acbdcc; border-radius: 9px; color: var(--navy); background: #fff; font: inherit; font-size: 1rem; }
.access-page input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgb(35 103 168 / 14%); }
.access-page .show { padding: .65rem .85rem; border-radius: 9px; }
.access-page .submit { width: 100%; margin-top: 1rem; padding: .75rem 1rem; border-radius: 9px; color: #fff; background: var(--blue); }
.access-page .submit:hover { background: var(--blue-dark); }
@media (max-width:720px) {
  .access-page .stats { grid-template-columns: 1fr; gap: .6rem; }
  .access-page .details, .login-layout { grid-template-columns: 1fr; }
  .password-box { align-items: stretch; flex-direction: column; }
  .password-box .button { width: 100%; }
  .access-page .panel { padding: 1.15rem; }
  .site-header.site-header .access-navigation { display: flex; width: auto; flex-direction: row; flex-wrap: wrap; padding: 0; gap: 0; }
  .site-header.site-header .access-navigation a { padding: .55rem .5rem; font-size: .78rem; }
  .site-header.site-header .site-header__inner { gap: .5rem; padding-block: .65rem; }
  .login-help { padding: 0; }
}

.year9-settings { margin-bottom: 1.5rem; }
.current-term { color: var(--muted); font-size: .9rem; }
.current-term strong { color: var(--navy); font-weight: 500; }
.access-page select { width: min(100%, 350px); min-height: 46px; padding: .7rem .85rem; border: 1px solid #acbdcc; border-radius: 9px; color: var(--navy); background: #fff; font: inherit; }
.access-page select:focus-visible { outline: 3px solid #2367a8; outline-offset: 3px; }
.year9-settings .notice { margin: 1rem 0 0; }
