.training-portal { color:#193650; background:#eff4f7; }
.training-portal [hidden] { display:none !important; }
.portal-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px max(20px,calc((100vw - 1200px)/2)); background:white; border-bottom:1px solid #dce6ed; }
.portal-brand,#portal-identity { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.portal-brand { color:#193650; text-decoration:none; font-weight:750; }
.portal-brand img { width:118px; object-fit:contain; }
#portal-identity { font-size:.9rem; }
#portal-identity button { min-height:36px; padding:5px 11px; }
.training-portal .portal-main { max-width:1240px; margin:34px auto; padding-inline:20px; }
#login-screen { display:grid; grid-template-columns:1.12fr 1fr; max-width:940px; margin:clamp(24px,8vh,96px) auto; background:white; border-radius:24px; overflow:hidden; border:1px solid #d6e1e9; box-shadow:0 22px 48px #18334f12; }
.portal-welcome { display:flex; flex-direction:column; justify-content:center; padding:clamp(26px,5vw,60px); color:white; background:radial-gradient(ellipse at 100% 100%,#297374 0,transparent 68%),#193650; }
.portal-welcome h1 { font-size:clamp(2rem,4vw,3.25rem); margin:0 0 12px; }
.portal-welcome p { line-height:1.7; color:#e2edf2; max-width:22em; }
.portal-welcome ul { display:flex; gap:9px; flex-wrap:wrap; list-style:none; padding:0; margin:20px 0 0; }
.portal-welcome li { font-size:.75rem; border:1px solid #9db2bf; border-radius:20px; padding:5px 10px; }
.portal-access { padding:clamp(24px,4vw,48px); border:0; border-radius:0; box-shadow:none; margin:0; }
.portal-access h2 { margin:0; }
.portal-access p { color:#52677b; line-height:1.55; font-size:.9rem; }
.portal-access form > button { width:100%; margin-top:14px; }
.portal-text-button { display:block; margin:16px auto 0; color:#2b4d7a; background:transparent; border:0; padding:6px; min-height:38px; font-size:.85rem; }
#password-screen { max-width:540px; margin-inline:auto; border-radius:16px; }
#portal-nav { display:flex; flex-wrap:wrap; gap:8px; }
#portal-nav a { color:#25466a; border-radius:8px; padding:8px 13px; text-decoration:none; border:1px solid transparent; }
#portal-nav a[aria-current="page"] { background:white; border-color:#cedce8; font-weight:700; }
.training-portal #workspace { margin-top:12px; background:#fff; padding:clamp(16px,3vw,34px); min-width:0; }
.training-portal #workspace h2:first-child { margin-top:0; }
.training-portal #workspace :is(td,th) { text-align:left; }
.registry-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; }
.registry-fields label { margin:0 0 12px; }
.registry-filter { display:flex; align-items:end; gap:12px; flex-wrap:wrap; }
.registry-filter label { flex:1 0 200px; margin:0; }
.registry-result { margin-top:16px; }
.registry-pages { display:flex; gap:8px; flex-wrap:wrap; }
@media(max-width:680px) {
  #login-screen { grid-template-columns:1fr; margin-top:18px; }
  .portal-welcome ul { display:none; }
  .portal-welcome p { margin-bottom:0; }
  .portal-header { align-items:flex-start; }
}
