/* Login-only presentation. The authenticated practice center keeps its own layout. */
.portal-login-header,
.portal-welcome,
.portal-login-footer { display: none; }
.portal-login-skip { position: fixed; top: -100px; left: 8px; }
body:not(.portal-login-view) .portal-login-skip { display: none; }
.portal-entry { display: contents; }
.portal-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.portal-login-view { background: #f6f8f5; color: #193b34; }
.portal-login-view::before { display: none; }
.portal-login-view .portal-hero { display: none; }
.portal-login-view .portal-login-header { display: block; background: #fff; border-bottom: 1px solid #e2e9e4; }
.portal-login-nav { max-width: 1232px; margin: auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.portal-login-brand { display: inline-flex; align-items: center; gap: 12px; color: #193b34; text-decoration: none; }
.portal-login-brand img { width: 48px; height: 48px; object-fit: contain; }
.portal-login-brand strong { display: block; font-size: 25px; font-weight: 800; letter-spacing: -.8px; line-height: 1.15; }
.portal-brand-dot { color: #338770; }
.portal-login-brand small { display: block; margin-top: 4px; color: #718178; font-size: 11px; letter-spacing: 1px; }
.portal-login-nav nav { display: flex; align-items: center; gap: 32px; }
.portal-login-nav nav a { color: #4b6057; text-decoration: none; font-size: 14px; font-weight: 600; }
.portal-login-nav nav a:hover { color: #087c75; }
.portal-login-nav nav a span { margin-left: 6px; }
.portal-login-view .portal-shell { width: min(1184px, calc(100% - 48px)); margin: 36px auto 0; }
.portal-login-view .portal-entry { display: grid; grid-template-columns: 1.06fr 1fr; gap: 0; align-items: stretch; min-height: 610px; border: 1px solid #e0e7df; border-radius: 24px; background: #fff; box-shadow: 0 16px 44px rgba(28, 56, 41, .045); }
.portal-login-view .portal-welcome { position: relative; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; min-width: 0; overflow: hidden; border-radius: 23px 0 0 23px; padding: 32px 38px 38px; background: #284c40; color: #fff; }
.portal-welcome-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.portal-welcome::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(180deg, rgba(17, 48, 38, .13) 0%, rgba(13, 41, 31, .04) 25%, rgba(13, 41, 31, .25) 43%, rgba(12, 42, 32, .94) 80%, #143c2e 100%); }
.portal-welcome-top { display: flex; justify-content: space-between; align-items: center; }
.portal-welcome-label { padding: 9px 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 7px; color: #fff; background: rgba(20,49,38,.5); font-size: 12px; font-weight: 600; letter-spacing: 1px; }
.portal-welcome-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; font-size: 24px; }
.portal-welcome-copy { padding-top: 220px; }
.portal-welcome-copy .portal-welcome-eyebrow { margin: 0 0 17px; color: #d1dcae; font-size: 10px; font-weight: 700; letter-spacing: 2.1px; }
.portal-welcome-copy h1 { margin: 0; font-size: clamp(32px, 3.3vw, 45px); font-weight: 650; letter-spacing: -1.6px; line-height: 1.4; }
.portal-welcome-copy > p:not(.portal-welcome-eyebrow) { margin: 18px 0 25px; color: #e0e9e2; font-size: 14px; line-height: 1.85; }
.portal-welcome-exams { display: flex; flex-wrap: wrap; gap: 12px 21px; padding-top: 22px; border-top: 1px solid rgba(225,239,224,.25); color: #eef3e9; font-size: 13px; font-weight: 600; letter-spacing: .4px; }
.portal-welcome-exams span:last-child { color: #cbd8ce; font-size: 11px; font-weight: 400; align-self: center; letter-spacing: 0; }
.portal-login-view .portal-access { display: flex; flex-direction: column; justify-content: center; min-width: 0; z-index: auto; margin: 0; padding: 42px 50px; }
.portal-login-view .portal-login { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
.portal-login-heading { margin-bottom: 29px; }
.portal-login-heading > span { display: block; margin-bottom: 12px; color: #468372; font-size: 10px; font-weight: 750; letter-spacing: 2px; }
.portal-login-heading h2 { margin: 0; color: #1c3930; font-size: clamp(24px, 2.4vw, 31px); font-weight: 700; letter-spacing: -.9px; line-height: 1.4; }
.portal-login-heading p { margin: 12px 0 0; color: #708078; font-size: 14px; line-height: 1.7; }
.portal-login-view .portal-field { margin-bottom: 20px; }
.portal-login-view .portal-field label { margin-bottom: 9px; color: #314d42; font-size: 13px; font-weight: 650; }
.portal-field label small { margin-left: 8px; color: #77857d; font-weight: 400; font-size: 11px; }
.portal-field-heading { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.portal-field-heading a { color: #45816d; font-size: 11px; text-decoration: none; }
.portal-field-heading a:hover { text-decoration: underline; }
.portal-login-view .portal-field input { height: 52px; padding: 0 15px; color: #1c3930; border: 1px solid #d6dfd8; border-radius: 8px; background: #fbfcfa; font-size: 14px; }
.portal-login-view .portal-field input::placeholder { color: #8a958e; font-size: 13px; }
.portal-login-view .portal-field input:focus { border-color: #34826b; box-shadow: 0 0 0 3px rgba(52,130,107,.12); background: #fff; }
.portal-key-wrap { position: relative; }
.portal-login-view .portal-key-wrap input { padding-right: 52px; }
.portal-login-view .portal-login #portal-key-toggle { position: absolute; display: grid; place-items: center; top: 5px; right: 5px; width: 42px; height: 42px; padding: 10px; color: #6e8276; background: transparent; border: 0; border-radius: 6px; transform: none; }
.portal-login-view .portal-login #portal-key-toggle:hover { color: #1d644e; background: #eaf0e9; }
#portal-key-toggle svg { width: 21px; height: 21px; }
.portal-eye-slash { display: none; }
#portal-key-toggle[aria-pressed="true"] .portal-eye-slash { display: block; }
.portal-login-view .portal-login .portal-login-submit { display: flex; justify-content: center; align-items: center; gap: 18px; width: 100%; min-height: 53px; padding: 0 20px; border: 1px solid #245c46; border-radius: 8px; color: #fff; background: #245c46; font-size: 15px; font-weight: 650; box-shadow: 0 4px 9px rgba(25,73,52,.09); }
.portal-login-view .portal-login .portal-login-submit:hover { background: #194d39; transform: none; }
.portal-login-submit span:last-child { font-size: 21px; font-weight: 400; }
.portal-login-view .portal-login-note:not(:empty) { margin: -3px 0 16px; padding: 10px 12px; border-radius: 6px; background: #f1f5f0; color: #46644f; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.portal-login-view .portal-login-note.portal-error:not(:empty) { color: #a13e35; background: #fff2ee; }
.portal-login-account-help { margin: 13px 0 0; color: #79877c; text-align: center; font-size: 11px; line-height: 1.8; }
.portal-login-benefits { margin-top: 28px; border-top: 1px solid #e7ece7; padding-top: 20px; }
.portal-login-benefits > span { display: block; color: #77867c; font-size: 11px; }
.portal-login-benefits ul { display: flex; flex-wrap: wrap; gap: 9px 16px; list-style: none; margin: 12px 0 0; padding: 0; }
.portal-login-benefits li { display: flex; align-items: center; gap: 6px; color: #536b5d; font-size: 11px; line-height: 1.7; }
.portal-login-benefits li::before { content: "✓"; color: #378367; font-size: 12px; }
.portal-login-loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 240px; color: #5d7568; font-size: 14px; }
.portal-login-loading > span { width: 18px; height: 18px; border: 2px solid #d5e4d9; border-top-color: #347a5d; border-radius: 50%; animation: portal-login-spin .9s linear infinite; }
@keyframes portal-login-spin { to { transform: rotate(360deg); } }
.portal-login-view .portal-public-content { padding: 0; margin: 24px 0 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.portal-entry-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.portal-entry-links > a { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 22px 24px; border: 1px solid #e1e7df; border-radius: 12px; background: #fff; color: #365642; text-decoration: none; transition: border-color .2s, background .2s; }
.portal-entry-links > a:hover { border-color: #93b29a; background: #fdfefd; }
.portal-entry-icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 8px; color: #527b5f; background: #f0f5eb; }
.portal-entry-icon svg { width: 21px; height: 21px; }
.portal-entry-links strong { display: block; font-size: 13px; font-weight: 650; }
.portal-entry-links small { display: block; margin-top: 6px; color: #819084; font-size: 11px; line-height: 1.6; }
.portal-entry-links b { margin-left: auto; color: #718877; font-size: 18px; font-weight: 400; }
.portal-login-view .portal-login-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; width: min(1184px, calc(100% - 48px)); margin: 30px auto 0; padding: 0 0 26px; color: #849087; font-size: 10px; }
.portal-login-footer a { color: #718374; text-decoration: none; }
.portal-login-view .portal-login-skip:focus { display: block; position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px; background: #fff; color: #245c46; }
.portal-noscript { margin: 24px; text-align: center; }
@media (min-width: 1600px) {
  .portal-login-view .portal-shell { margin-top: 48px; }
}
@media (max-width: 1050px) {
  .portal-login-view .portal-access { padding: 36px 30px; }
  .portal-login-view .portal-welcome { padding: 28px; }
  .portal-welcome-copy h1 { font-size: 35px; }
  .portal-entry-links > a { padding: 19px 16px; gap: 10px; }
  .portal-entry-links small { font-size: 10px; }
}
@media (max-width: 760px) {
  .portal-login-nav { padding: 16px 20px; gap: 16px; }
  .portal-login-brand img { width: 40px; height: 40px; }
  .portal-login-brand strong { font-size: 22px; }
  .portal-login-brand small { font-size: 9px; letter-spacing: .3px; }
  .portal-login-nav nav { gap: 18px; }
  .portal-login-nav nav a { font-size: 12px; }
  .portal-login-nav nav a:first-child { display: none; }
  .portal-login-view .portal-shell { width: calc(100% - 32px); margin-top: 20px; }
  .portal-login-view .portal-entry { grid-template-columns: 1fr; min-height: 0; border-radius: 18px; }
  .portal-login-view .portal-access { grid-row: 1; padding: 30px 26px; }
  .portal-login-heading { margin-bottom: 26px; }
  .portal-login-heading h2 { font-size: 27px; }
  .portal-login-heading > span { font-size: 9px; }
  .portal-login-view .portal-field input { font-size: 16px; }
  .portal-login-benefits { margin-top: 24px; }
  .portal-login-view .portal-welcome { min-height: 300px; padding: 24px; border-radius: 0 0 17px 17px; }
  .portal-welcome-copy { padding-top: 48px; }
  .portal-welcome-image { object-position: center 33%; }
  .portal-welcome::after { background: linear-gradient(90deg, rgba(15,44,32,.94), rgba(15,44,32,.6) 60%, rgba(15,44,32,.15)); }
  .portal-welcome-label { font-size: 10px; padding: 7px 10px; }
  .portal-welcome-mark { width: 30px; height: 30px; font-size: 19px; }
  .portal-welcome-copy h1 { font-size: 28px; letter-spacing: -.5px; line-height: 1.45; }
  .portal-welcome-copy .portal-welcome-eyebrow { display: none; }
  .portal-welcome-copy > p:not(.portal-welcome-eyebrow) { font-size: 12px; margin: 12px 0 18px; }
  .portal-welcome-exams { gap: 12px 18px; font-size: 11px; padding-top: 17px; }
  .portal-welcome-exams span:last-child { font-size: 10px; }
  .portal-login-view .portal-public-content { margin-top: 16px; }
  .portal-entry-links { grid-template-columns: 1fr; gap: 10px; }
  .portal-entry-links > a { padding: 18px 20px; }
  .portal-entry-links small { font-size: 11px; }
  .portal-login-view .portal-login-footer { flex-wrap: wrap; justify-content: center; gap: 10px 18px; width: calc(100% - 40px); margin-top: 23px; font-size: 10px; }
  .portal-login-footer > span:nth-child(2) { flex-basis: 100%; order: 3; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .portal-login-loading > span { animation: none; }
  .portal-entry-links > a { transition: none; }
}
