/* SSI website typography, scoped to the standalone operational portal. */
html{font-size:100%}
body{font-family:var(--ssp-font-family);font-size:1rem;line-height:1.7}
body :is(button,input,select,textarea){font-family:var(--ssp-font-family)}
body :is(h1,h2,h3,h4,h5,h6){font-family:var(--ssp-font-family);font-weight:700;line-height:1.13;letter-spacing:-.035em;overflow-wrap:break-word}
body #main h1,body .loginlayout .loginintro h1{font-size:var(--ssi-primary-heading-size);font-weight:700;line-height:1.13;letter-spacing:-.035em}
body #main h2,body #record-dialog h2,body .loginlayout .loginform h2{font-size:var(--ssi-section-heading-size);font-weight:700;line-height:1.13;letter-spacing:-.035em}
body :is(h3,h4,h5,h6){font-size:min(1.35rem,calc(var(--ssi-primary-heading-size) * .8))}
body #main :is(p,li,dd,dt),body #record-dialog :is(p,li,dd,dt),body .portal-padding,body .loginlayout .loginform p{font-size:1rem;line-height:1.7}
body #page-subtitle,body .loginlayout .loginintro p{font-size:1.15rem;line-height:1.7}
body #page-subtitle{color:#62677a}
body .portal-context label,body #record-dialog .formgrid label,body #record-dialog #portal-form>label,body .loginlayout .loginform label{font-size:.9rem;font-weight:700;line-height:1.7}
body .portal-context select,body #record-dialog :is(input,select,textarea),body .loginlayout .loginform input:not([type=checkbox]),body .portal-listhead :is(input,select){font-size:1rem;font-weight:400;line-height:1.7;min-height:48px}
body .loginlayout .loginform .rememberrow{font-weight:400}
body .btn,body .loginlayout .loginform .loginbutton,body #record-dialog .btn{font-family:var(--ssp-font-family);font-size:.93rem;font-weight:700;line-height:1.5;letter-spacing:0;min-height:48px}
body #portal-nav button{font-size:.88rem;font-weight:650;line-height:1.7}
body .tablewrap :is(td,th){font-size:1rem;line-height:1.7;letter-spacing:normal}
body .tablewrap th{font-weight:700}
body .textbtn,body .portal-account .textbtn,body .portal-context>a,body .loginlayout .loginform .loginlinks,body .loginlayout .loginform #portal-password-toggle{font-size:.88rem!important;line-height:1.7}
body .tablewrap small,body .stat small,body .statlabel,body .formhelp,body .portal-hash,body small,body .portal-footer,body .portal-login-footer,body .loginlayout .loginform .formhelp{font-size:.88rem!important;line-height:1.7}
body .badge,body .portal-account span{font-size:.8rem;line-height:1.7}
body .portal-account strong{font-size:.9rem;line-height:1.7}
body .portal-context>div>span{font-size:.88rem}
body .eyebrow{font-size:.76rem;font-weight:800;letter-spacing:.15em;line-height:1.7}
body .stat strong{font-size:var(--ssi-primary-heading-size);font-weight:700;line-height:1.2}
body .portal-login-header .portal-login-tagline{font-size:var(--ssi-primary-heading-size);font-weight:700;line-height:1.13;letter-spacing:-.035em}
body .portal-login-header .portal-login-tagline strong{font-weight:700}
body .portal-login-header .portal-login-subtitle{font-size:.65em;font-weight:500;line-height:1.5;letter-spacing:normal}
/* Close uses the website utility-link size, with its approved red/bold treatment. */
body #record-dialog .modalhead button[data-op="close"]{font-size:.88rem!important;font-weight:700;color:#b42318;line-height:1.7}
body #record-dialog .modalhead button[data-op="close"]:hover{text-decoration:underline;text-underline-offset:3px}
/* The larger shared text needs space, not reduced font sizes at narrow widths. */
body .loginlayout .loginform>div{max-width:540px}
body .portal-two{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
body .portal-two>.card{min-width:0}
body #record-dialog .modalhead{gap:20px}
body #record-dialog .modalhead>h2{min-width:0}
@media(max-width:1000px){body .portal-two{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){body .stats{grid-template-columns:repeat(2,minmax(0,1fr))}body .stat{min-width:0}body .statlabel{overflow-wrap:break-word}body .portal-footer{gap:12px}body .portal-login-header .portal-login-subtitle{display:block;margin-top:7px}body #portal-nav button{padding:9px 10px}}

body .portal-footer,body .portal-login-footer{font-size:.8rem!important;line-height:1.7}
