/* STI reporting portal: school identity, document forms, and report records. */
:root {
  --blue:#003da5; --navy:#142c50; --ink:#21344e; --muted:#56677f;
  --blue-soft:#edf3fc; --yellow:#ffd100; --line:#cfd6e1; --page:#f6f7f9;
  --green:#236c50; --radius:5px; --scroll-track:#e6ebf2; --scroll-thumb:#647e9f; --scroll-hover:#405f88;
  font-family:Arial,"Segoe UI",sans-serif;
}
html{scroll-behavior:smooth;scroll-padding-top:24px}
/* Reserve the first viewport while session access is checked, keeping the footer stable. */
body:not(.portal-ready) #main{min-height:calc(100svh - 94px)}
body:not(.portal-ready) .site-footer{visibility:hidden}
body{min-width:280px;min-height:100dvh}
::selection{background:#ffe77e;color:#142c50}
h1,h2,h3{color:var(--navy)}
.skip-link:not(:focus){clip-path:inset(50%);width:1px;height:1px;padding:0;overflow:hidden;pointer-events:none}
.site-header{height:82px;padding:0 max(calc((100vw - 1176px)/2),30px);background:var(--blue);border-bottom:4px solid var(--yellow);gap:28px}
.brand{color:white;gap:17px;min-width:0;flex-shrink:1}
.brand img{width:58px;height:43px}
.brand-divider{height:35px;background:#ffffff55}
.brand strong{font-size:24px;letter-spacing:-.035em;font-weight:800}
.brand-name{font-size:15px;letter-spacing:0;font-weight:600;margin-left:7px}
.brand small{font-size:10px;letter-spacing:.035em;color:#edf3ff;margin-top:5px;font-weight:400}
.header-campus{font-size:11px;color:#e4edff;border-left:1px solid #ffffff55;padding-left:20px;white-space:nowrap}
.header-help{display:flex;align-items:center;gap:10px;color:white;background:none;border:0;padding:12px 0;font-size:12px;white-space:nowrap}
.header-help .icon{width:16px;height:16px}
.header-actions{color:white;gap:10px}
.header-controls{display:flex;align-items:center;gap:18px;min-width:0}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:35px;padding:6px 10px;border:1px solid #ffffff66;border-radius:4px;background:#ffffff0b;color:white;font-size:11px;cursor:pointer;white-space:nowrap}
.theme-toggle .icon{width:16px;height:16px}
.theme-toggle:hover{background:#ffffff1c;filter:none}
.user-label{font-size:12px;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.avatar{background:#ffffff12;color:white;border-color:#ffffff55;border-radius:4px}
.header-signout{border-color:#ffffff66;color:white;background:transparent;border-radius:4px;font-size:11px;min-height:36px;padding:7px 11px}
.button{border-radius:4px;padding:12px 19px;min-height:45px;font-size:13px;font-weight:650}
.button.primary{background:var(--blue);border-color:var(--blue);color:white;box-shadow:none}
.button.primary:hover:not(:disabled){background:#002f80;border-color:#002f80;filter:none}
.button.secondary{background:white;border-color:#bdc9da;color:var(--ink)}
.button.secondary:hover:not(:disabled){background:#edf2f9;filter:none}
.button,.icon-button,.portal-nav button,.report-item{transition:background .15s,border-color .15s}
.icon-button{border-radius:4px}
.text-button{font-size:12px}
.field{gap:8px}
.field label,.field-label{font-size:12px;font-weight:650}
.field input,.field textarea,.field select{border-color:#b9c5d5;border-radius:4px;min-height:45px;padding:11px 12px;font-size:13px;background:white;transition:border-color .15s,box-shadow .15s}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #003da50d}
.field input::placeholder,.field textarea::placeholder{color:#67778d}
.field small,.help{font-size:11px;line-height:1.65}
.field input.sr-only{width:1px;height:1px;min-height:0;padding:0;border:0;margin:-1px;clip-path:inset(50%)}
.password-wrap{position:relative;min-width:0}
.field .password-wrap input{padding-right:64px}
.password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);min-height:35px;min-width:50px;padding:5px 9px;color:var(--blue);font-size:11px;font-weight:650;background:transparent;border:0;border-radius:3px}
.password-toggle:hover{background:#edf3ff}
.welcome-page{background:#f5f5f2}
.welcome-page #main{display:block}
.welcome-page .welcome{width:calc(100% - 64px);max-width:1176px;padding:0;margin:42px auto 0;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:0;border:1px solid #c8d1de;background:white;align-items:stretch}
.welcome-copy{display:flex;flex-direction:column;padding:30px 38px 32px;background:#eef4fc;border-right:1px solid #c8d1de;position:relative}
.poster-top{display:flex;justify-content:space-between;gap:16px;padding-bottom:19px;border-bottom:1px solid #aebed5;color:#3e5b82;font-size:10px;line-height:1.55;letter-spacing:.06em;text-transform:uppercase;font-weight:650}
.poster-top>span:last-child{text-align:right}
.campus-mark{container-type:inline-size;display:flex;align-items:center;gap:17px;margin:27px 0 20px;min-width:0}
.campus-mark picture{display:block;flex:0 0 150px;width:150px}
.campus-mark img{display:block;width:100%;height:auto}
.sirs-wordmark{font-family:Georgia,"Times New Roman",serif;font-size:min(91px,18cqw);font-weight:900;line-height:1;letter-spacing:-.07em;color:var(--blue);white-space:nowrap}
.welcome-copy h1{font-family:Georgia,"Times New Roman",serif;font-size:46px;line-height:1.07;letter-spacing:-.025em;margin:0 0 22px;font-weight:700;max-width:none;color:var(--navy)}
.welcome-copy>.lead{margin-bottom:30px;font-size:14px;line-height:1.85;color:#445c7b;max-width:400px}
.poster-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:18px;border-top:1px solid #aebed5;font-size:9px;letter-spacing:.09em;font-weight:650;color:#355882}
.poster-blocks{display:flex;gap:5px}
.poster-blocks i{width:23px;height:7px;background:var(--blue)}
.poster-blocks i:last-child{background:#d8aa00}
.mobile-start{display:none}
.welcome-auth{padding:32px 35px 28px;min-width:0}
.auth-overline{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:700;letter-spacing:.09em;color:#4b6080;margin-bottom:24px}
.auth-overline::before{content:"";width:20px;height:4px;background:#bf9900}
.login-card{padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;scroll-margin-top:20px}
.login-badge{display:none}
.login-card h2{font-size:25px;letter-spacing:-.035em;margin:0 0 8px;font-weight:700}
.login-card>.muted{font-size:12px;line-height:1.75}
.login-card .stack{gap:18px}
.login-card .field input{min-height:45px;font-size:13px}
.login-card .field small{font-size:11px}
.login-card .button.primary{margin-top:3px;justify-content:space-between;min-height:46px;padding:12px 16px}
.login-card .button.primary .icon{width:17px;height:17px}
.auth-tabs{display:flex;gap:24px;margin:22px 0;border:0;border-bottom:1px solid #c8d3e2;padding:0;border-radius:0;background:transparent}
.auth-tabs button{padding:0 0 12px;border:0;border-bottom:3px solid transparent;border-radius:0;font-size:12px;background:transparent;color:#546a87;font-weight:650}
.auth-tabs button[aria-selected=true]{color:var(--blue);border-color:#d5ad00;background:transparent;box-shadow:none;padding:0 0 12px}
.auth-tabs>span{font-size:11px;padding:0 0 11px;color:#52647e}
.login-footnote{border-top:1px solid #dbe1ea;margin-top:21px;padding-top:17px;font-size:11px;line-height:1.7;color:#56677f}
.login-footnote .icon{color:#566f92;width:14px;height:14px}
.staff-access{margin-top:21px;text-align:left;font-size:11px;color:#526781}
.staff-access button{font-size:11px;margin-left:5px}
.demo-access{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;background:#fffae8;border:1px solid #d9c375;border-left:3px solid #b89100;border-radius:3px;margin-top:17px;padding:12px}
.demo-label{display:block;font-size:9px;font-weight:700;letter-spacing:.06em;color:#765914;margin-bottom:4px}
.demo-access p{font-size:11px;color:#665326}
.demo-access code{font-size:12px;font-weight:700}
.demo-access button{display:flex;align-items:center;gap:5px;font-size:11px;min-height:32px}
.demo-access .icon{width:14px;height:14px}
.auth-code-form{margin-top:22px}
.local-test-code{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:12px;background:#fff9df;border:1px solid #d4bd69;font-size:11px}
.local-test-code strong{font:700 20px ui-monospace,monospace;letter-spacing:.13em}
.welcome .journey{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0;padding:23px 30px;border-top:1px solid #c8d1de;background:white}
.journey-step{display:flex;align-items:flex-start;gap:13px;min-width:0}
.step-number{display:block;width:auto;height:auto;background:none;border:0;border-radius:0;font:12px ui-monospace,Consolas,monospace;color:var(--blue);padding-top:2px;margin:0;flex-shrink:0}
.journey-step h3{font-size:12px;letter-spacing:0;margin:0 0 5px}
.journey-step p{font-size:11px;color:#536780;line-height:1.6}
.welcome-guide{max-width:1176px;width:calc(100% - 64px);margin:30px auto 42px;padding:32px 30px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:65px;border:1px solid var(--line);background:white}
.guide-heading .eyebrow{font-size:10px;letter-spacing:.08em;color:#526985}
.guide-heading h2{font-family:Georgia,"Times New Roman",serif;font-size:30px;letter-spacing:-.035em;line-height:1.2;margin:11px 0 16px}
.guide-heading>p{font-size:12px;line-height:1.9;color:#4c617d;max-width:360px}
.welcome-faq details{border-bottom:1px solid #c8d1de}
.welcome-faq details:first-child{border-top:1px solid #c8d1de}
.welcome-faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;padding:15px 0;font-size:12px;font-weight:600;color:#334e72;cursor:pointer}
.welcome-faq summary::-webkit-details-marker{display:none}
.welcome-faq summary .icon{width:14px;height:14px;color:#44638a}
.welcome-faq details[open] summary .icon{transform:rotate(45deg)}
.welcome-faq details>p{padding:0 24px 17px 0;font-size:12px;color:#4c617d;line-height:1.8}
.site-footer,.welcome-page .site-footer{width:calc(100% - 64px);max-width:1176px;padding:23px 0 30px;margin:0 auto;border-top:1px solid #b9c6d8;color:#526680;font-size:10px}
.site-footer strong{font-weight:750;color:var(--blue)}
.site-footer small{display:block;font-size:10px;margin-top:5px}
.site-footer span+span{margin-left:auto;padding-right:70px}
.portal{max-width:1240px;padding:31px 32px 45px}
.portal-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 0 23px;margin-bottom:0;border:0;border-bottom:2px solid var(--blue);background:none;border-radius:0}
.portal-intro-copy{min-width:0}
.portal-intro h1{font-size:32px;font-weight:700;letter-spacing:-.04em;margin:11px 0 0;overflow-wrap:anywhere}
.portal-intro p{font-size:13px;line-height:1.75;margin-top:10px;max-width:630px}
.portal-label{gap:12px;flex-wrap:wrap}
.portal-label .eyebrow{font-size:10px;letter-spacing:.08em}
.role-pill{font-size:10px;border-radius:3px;padding:3px 8px;border-color:#bdc9db;background:white;color:#496185}
.workspace-date{display:inline-flex;gap:6px;align-items:center;font-size:10px;color:#506883;margin-top:14px}
.workspace-date .icon{width:13px;height:13px}
.workspace-art{display:block;flex-shrink:0;width:112px;margin-right:4px}
.workspace-art img{display:block;width:100%;height:auto}
.portal-nav{display:flex;gap:14px;padding:0;background:transparent;border:0;border-bottom:1px solid #c1cddd;border-radius:0;margin-bottom:28px;width:100%;max-width:100%;overflow:auto}
.portal-nav button{min-height:56px;border-radius:0;padding:14px 13px 12px;border-bottom:3px solid transparent;color:#4c6382;font-size:13px;background:none;white-space:nowrap}
.portal-nav button[aria-selected=true]{background:none;color:var(--blue);border-bottom-color:var(--blue);box-shadow:none}
.portal-nav button:hover:not([aria-selected=true]){background:#edf2f9;color:var(--blue)}
.portal-nav .icon{width:17px;height:17px}
.panel-heading h2{font-size:24px;letter-spacing:-.035em}
.panel-heading p{font-size:12px;line-height:1.8}
.card{padding:27px;border:1px solid #c8d3e1;border-radius:5px;box-shadow:none}
.card-heading{border:0;padding-bottom:0}
.identity-card{border:1px solid #c8d7ec;border-left:3px solid var(--blue);border-radius:3px;background:#f1f5fc}
.guide-card,.account-card{border:1px solid #c8d3e1;border-top:3px solid var(--blue);border-radius:5px}
.account-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"profile authenticator" "password sessions";align-items:stretch;gap:22px}
/* Share row sizes across the two columns, including an expanded authenticator. */
.account-column{display:contents}
.account-column:first-child>.account-card:first-child{grid-area:profile}
.account-column:first-child>.account-card:last-child{grid-area:password}
.account-column:last-child>.account-card:first-child{grid-area:authenticator}
.account-column:last-child>.account-card:last-child{grid-area:sessions}
@media(max-width:780px){.account-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"profile" "password" "authenticator" "sessions"}}
.account-card>h3{display:flex;align-items:center;gap:10px;font-size:17px}
.account-heading-icon{display:grid;place-items:center;width:24px;height:27px;flex-shrink:0;background:none;color:var(--blue)}
.account-heading-icon .icon{width:20px;height:20px}
.account-card>.help{margin-top:12px;line-height:1.8}
.security-state{border-radius:3px;padding:16px;background:#f4f6fa;margin:19px 0}
.security-state p{margin-top:4px}
.security-actions details{border-radius:3px;padding:14px}
.sessions{gap:16px}
.session-item{padding-bottom:16px}
.session-item p{line-height:1.7}
.current-session{background:#eaf4ed;border:1px solid #bfd8ca;border-radius:3px;color:#276448}
.detail-dialog{border-radius:6px;border:1px solid #bac8dc;box-shadow:0 16px 70px #142c5040}
.detail-head{background:#f3f6fb;border-bottom:2px solid var(--blue)}
.detail-head h2{line-height:1.35}
.detail-head>.icon-button{flex-shrink:0}
.detail-facts{padding:18px;border:1px solid #cfdae8;border-radius:3px}
.detail-body{gap:25px}
.detail-body h3{font-size:14px}
.help-dialog .detail-body{gap:18px}
.help-art{display:block;text-align:center}
.help-dialog .help-mascot{display:block;height:auto;width:140px;aspect-ratio:792/724;margin:0 auto}
.mascot-help{height:60px;width:60px;bottom:18px;right:18px;border:1px solid #b9c9df;border-bottom:3px solid #d9ae00;border-radius:8px;background:white;box-shadow:0 3px 12px #142c5015}
.mascot-help::before{content:none}
.toast{font-size:12px;border-radius:4px;padding:13px 20px;bottom:24px}
.error-page{display:grid;place-items:center;min-height:80vh}
.error-page .empty-state{max-width:640px;width:100%;padding:40px;border-radius:5px;border-top:4px solid var(--blue)}
.error-page img{display:block;width:150px;max-width:100%;height:auto;margin:0 auto 20px}
.error-page h1{margin-top:13px}
@media(max-width:1080px){
  .header-campus{display:none}.site-header{padding:0 26px}.brand-name{font-size:14px}
  .welcome-page .welcome{margin-top:30px}.welcome-copy{padding:28px}.welcome-auth{padding:30px 27px}
  .campus-mark{gap:12px}.campus-mark picture{flex-basis:125px;width:125px}.sirs-wordmark{font-size:min(79px,18cqw)}
  .welcome-copy h1{font-size:41px}.welcome-guide{gap:40px}
}
@media(max-width:780px){
  .site-header{height:76px;padding:0 22px;gap:17px}.brand{gap:12px}.brand img{width:47px;height:36px}.brand strong{font-size:23px}.brand-name{display:none}.brand small{font-size:9px}.header-help{font-size:11px}.header-help .icon{display:none}
  .welcome-page .welcome{max-width:570px;width:calc(100% - 44px);grid-template-columns:minmax(0,1fr);margin-top:25px}
  .welcome-copy{border-right:0;border-bottom:1px solid #c8d1de;padding:24px 29px}
  .poster-top{font-size:9px;padding-bottom:15px}.campus-mark{margin:19px 0 15px;justify-content:center;gap:20px}.campus-mark picture{flex-basis:120px;width:120px}.sirs-wordmark{font-size:min(86px,18cqw)}
  .welcome-copy h1{font-size:36px;line-height:1.1;margin-bottom:14px}.welcome-copy h1 br{display:none}.welcome-copy>.lead{font-size:13px;max-width:none}
  .poster-bottom{margin-top:20px;padding-top:15px;font-size:8px}.mobile-start{align-self:flex-start;display:inline-flex;margin-top:17px;min-height:40px;font-size:12px;padding:9px 15px}
  .welcome-auth{padding:29px}.auth-overline{margin-bottom:18px}.login-card h2{font-size:25px}.welcome .journey{grid-template-columns:minmax(0,1fr);padding:23px 29px;gap:20px}.journey-step{gap:16px}.journey-step h3{font-size:13px}
  .welcome-guide{max-width:570px;width:calc(100% - 44px);grid-template-columns:minmax(0,1fr);gap:25px;padding:27px 29px;margin:24px auto 32px}.guide-heading>p{max-width:none}.guide-heading h2{font-size:29px}
  .site-footer,.welcome-page .site-footer{width:calc(100% - 44px);padding:22px 0 83px}.site-footer span+span{margin-left:0;padding-right:0}
  .portal{padding:25px 22px 38px}.portal-intro h1{font-size:28px}.portal-intro p{font-size:12px}.workspace-art{width:82px}.portal-nav{gap:9px}.portal-nav button{font-size:12px;min-height:52px;padding:12px}.card{padding:24px}
}
@media(max-width:480px){
  .site-header{height:70px;padding:0 17px;gap:12px}.brand-name{display:none}.brand{gap:11px}.brand img{width:43px;height:32px}.brand strong{font-size:24px;line-height:1}.brand small{font-size:8px;letter-spacing:0;max-width:144px}.brand-divider{height:30px}.header-help{font-size:10px}.header-signout{font-size:10px;min-height:34px;padding:6px 9px;white-space:nowrap}
  .welcome-page .welcome{width:calc(100% - 32px);margin-top:18px}.welcome-copy{padding:20px 22px}.poster-top{font-size:8px;letter-spacing:.03em}.campus-mark{gap:14px;margin:19px 0}.campus-mark picture{flex-basis:101px;width:101px}.sirs-wordmark{font-size:min(72px,18cqw)}.welcome-copy h1{font-size:32px}.welcome-copy>.lead{font-size:12px}.poster-bottom{font-size:7px}.poster-blocks i{width:18px;height:6px}
  .welcome-auth{padding:25px 22px}.auth-overline{font-size:9px}.login-card h2{font-size:24px}.login-card .field input{font-size:16px}.login-card .field input::placeholder{font-size:12px}.field input,.field textarea,.field select{font-size:16px}.field input::placeholder,.field textarea::placeholder{font-size:13px}.login-footnote{font-size:10px}.login-card .field small{font-size:10px}.auth-tabs{gap:26px}
  .welcome .journey{padding:22px;gap:18px}.welcome-guide{width:calc(100% - 32px);padding:25px 22px;gap:24px;margin-top:20px}.guide-heading h2{font-size:27px}.site-footer,.welcome-page .site-footer{width:calc(100% - 32px);gap:12px;font-size:10px}
  .portal{padding:20px 17px 30px}.portal-intro{gap:14px;padding-bottom:20px}.portal-intro h1{font-size:25px}.portal-intro p{font-size:11px}.portal-label .eyebrow{font-size:9px}.role-pill{font-size:9px}.workspace-art{width:59px}.workspace-date{font-size:9px}
  .portal-nav{gap:0;margin:0 0 24px}.portal-nav button{padding:11px 10px;gap:6px;min-height:51px;flex:1}.portal-nav button span{font-size:11px}.portal-nav .icon{width:15px;height:15px}
  .card{padding:22px 18px}.account-card>h3{font-size:16px}.account-grid{gap:18px}.current-session{white-space:normal;min-width:49px;text-align:center}.detail-dialog{border-radius:5px}.detail-head,.detail-body{padding:20px 18px}.detail-head h2{font-size:20px}.detail-facts{grid-template-columns:minmax(0,1fr);padding:15px}.mascot-help{width:52px;height:52px;bottom:14px;right:14px}.toast{bottom:78px;font-size:11px}
  .theme-label{display:none}.theme-toggle{width:34px;height:34px;min-height:34px;padding:7px}.header-controls{gap:10px}
}
@media(max-width:350px){
  .brand img{width:38px}.brand small{font-size:7px}.campus-mark{gap:12px}.campus-mark picture{flex-basis:82px;width:82px}.sirs-wordmark{font-size:min(62px,18cqw)}.welcome-copy h1{font-size:29px}.welcome-copy,.welcome-auth{padding-left:18px;padding-right:18px}.poster-top{font-size:7px}.portal-nav button{padding:10px 6px;gap:4px}.portal-nav button span{font-size:10px}.workspace-art{display:none}
  .site-header{padding:0 12px;gap:8px}.header-controls{gap:6px}.header-help{font-size:9px}.brand{gap:8px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* The same scrollbar treatment applies to pages, dialogs, and text fields. */
*{scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) var(--scroll-track)}
html{scrollbar-gutter:stable}
::-webkit-scrollbar{width:11px;height:11px}
::-webkit-scrollbar-track{background:var(--scroll-track)}
::-webkit-scrollbar-thumb{background:var(--scroll-thumb);border:3px solid var(--scroll-track);border-radius:5px}
::-webkit-scrollbar-thumb:hover{background:var(--scroll-hover)}
::-webkit-scrollbar-corner{background:var(--scroll-track)}
dialog,textarea{overscroll-behavior:contain}

/* Movement comes from the original art and short interface transitions. */
@keyframes owl-hover{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-7px) rotate(1.5deg)}}
@keyframes mascot-wave{0%,70%,100%{transform:rotate(0)}78%{transform:rotate(-6deg)}86%{transform:rotate(5deg)}94%{transform:rotate(-3deg)}}
@keyframes interface-arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes theme-turn{from{opacity:.4;transform:rotate(-35deg)}to{opacity:1;transform:rotate(0)}}
.campus-mark picture{animation:owl-hover 5s ease-in-out infinite;transform-origin:50% 75%}
.mascot-help img{animation:mascot-wave 5.5s ease-in-out infinite;transform-origin:50% 85%}
.welcome-copy,.welcome-auth{animation:interface-arrive .5s ease-out both}
.welcome-auth{animation-delay:.06s}
.panel-enter{animation:interface-arrive .3s ease-out both}
.theme-toggle .icon{animation:theme-turn .22s ease-out both}
.button,.icon-button,.mascot-help{transition:background .16s,border-color .16s,transform .16s}
@media(hover:hover){.button:hover:not(:disabled),.icon-button:hover:not(:disabled){transform:translateY(-1px)}.mascot-help:hover{transform:translateY(-3px)}}
.button:active:not(:disabled),.icon-button:active:not(:disabled){transform:translateY(1px)}

/* Dark mode uses slate surfaces with STI blue and yellow accents. */
:root[data-theme=dark]{color-scheme:dark;--page:#101a2a;--navy:#e5edf8;--ink:#e5edf8;--blue:#8eb8ff;--blue-soft:#1c2d47;--yellow:#f4ce54;--muted:#abbad0;--line:#3b4b63;--green:#86d2ab;--scroll-track:#19273c;--scroll-thumb:#647b9d;--scroll-hover:#93abd0;background:var(--page);color:var(--ink)}
[data-theme=dark] body,[data-theme=dark] .welcome-page{background:var(--page);color:var(--ink)}
[data-theme=dark] .site-header{background:#122445;border-bottom-color:#e3bb45}
[data-theme=dark] .brand,[data-theme=dark] .brand strong{color:#f1f5fc}
[data-theme=dark] .site-header .brand small,[data-theme=dark] .header-campus{color:#c1d1e9}
[data-theme=dark] .welcome{border-color:#3b4b63;background:#172336}
[data-theme=dark] .welcome-copy{background:#162944;border-color:#3b4b63}
[data-theme=dark] .poster-top,[data-theme=dark] .poster-bottom{color:#b5c6dd;border-color:#425a7a}
[data-theme=dark] .poster-blocks i{background:#8eb8ff}
[data-theme=dark] .poster-blocks i:last-child{background:#f4ce54}
[data-theme=dark] .sirs-wordmark{color:#b9d0ff}
[data-theme=dark] .welcome-copy>.lead{color:#b9c8dd}
[data-theme=dark] .welcome-auth{background:#172336}
[data-theme=dark] .auth-overline{color:#b3c5df}
[data-theme=dark] .auth-overline::before{background:#f4ce54}
[data-theme=dark] .login-card{background:transparent}
[data-theme=dark] .login-card>.muted,[data-theme=dark] .staff-access,[data-theme=dark] .login-footnote{color:#abbad0}
[data-theme=dark] .auth-tabs,[data-theme=dark] .login-footnote{border-color:#3b4b63}
[data-theme=dark] .auth-tabs button,[data-theme=dark] .auth-tabs>span{color:#bbcadf}
[data-theme=dark] .auth-tabs button[aria-selected=true]{color:#a9c9ff;border-bottom-color:#f4ce54}
[data-theme=dark] .login-footnote .icon{color:#a1badc}
[data-theme=dark] .welcome .journey{background:#172336;border-color:#3b4b63}
[data-theme=dark] .journey-step p{color:#abbad0}
[data-theme=dark] .welcome-guide{background:#172336;border-color:#3b4b63}
[data-theme=dark] .guide-heading .eyebrow{color:#aebed5}
[data-theme=dark] .guide-heading>p,[data-theme=dark] .welcome-faq details>p{color:#b3c2d7}
[data-theme=dark] .welcome-faq summary{color:#d1dff3}
[data-theme=dark] .welcome-faq summary .icon{color:#aac4eb}
[data-theme=dark] .welcome-faq details{border-color:#3b4b63}
[data-theme=dark] .site-footer{color:#abbad0;border-color:#3b4b63}
[data-theme=dark] .button.primary{background:#225bbb;border-color:#3972ce;color:#fff}
[data-theme=dark] .button.primary:hover:not(:disabled){background:#2d6bcf;border-color:#6595df}
[data-theme=dark] .button.secondary,[data-theme=dark] .icon-button{background:#1b2a40;border-color:#50617c;color:#e1e9f6}
[data-theme=dark] .button.secondary:hover:not(:disabled),[data-theme=dark] .icon-button:hover:not(:disabled){background:#283b57}
[data-theme=dark] .button.danger{background:#3a2330;border-color:#80505d;color:#ffb5ac}
[data-theme=dark] .field label,[data-theme=dark] .field-label{color:#dbe5f4}
[data-theme=dark] .field input,[data-theme=dark] .field textarea,[data-theme=dark] .field select{background:#111d2e;color:#e5edf8;border-color:#52647e}
[data-theme=dark] .field input::placeholder,[data-theme=dark] .field textarea::placeholder{color:#9aabc2}
[data-theme=dark] .field input:focus,[data-theme=dark] .field textarea:focus,[data-theme=dark] .field select:focus{border-color:#8eb8ff;box-shadow:0 0 0 3px #8eb8ff15}
[data-theme=dark] .password-toggle:hover{background:#263956}
[data-theme=dark] .readonly-field{background:#1b2a40!important;color:#bbc9dc!important}
[data-theme=dark] .demo-access,[data-theme=dark] .local-test-code{background:#302c20;border-color:#756234;color:#eddaa7}
[data-theme=dark] .demo-access p,[data-theme=dark] .demo-label{color:#eddaa7}
[data-theme=dark] .demo-access code{color:#f4ce54}
[data-theme=dark] .role-pill{background:#1b2a40;border-color:#4e6381;color:#bed0ea}
[data-theme=dark] .workspace-date{color:#abbfdc}
[data-theme=dark] .portal-nav{border-color:#3b4b63}
[data-theme=dark] .portal-nav button{color:#b8c8de}
[data-theme=dark] .portal-nav button[aria-selected=true]{color:#9cc2ff}
[data-theme=dark] .portal-nav button:hover:not([aria-selected=true]){background:#1c2d47;color:#a9caff}
[data-theme=dark] .card,[data-theme=dark] .account-card,[data-theme=dark] .guide-card,[data-theme=dark] .empty-state{background:#172336;border-color:#3b4b63}
[data-theme=dark] .account-card{border-top-color:#608dcc}
[data-theme=dark] .identity-card{background:#1b2d49;border-color:#405675}
[data-theme=dark] .identity-card strong,[data-theme=dark] .identity-card p{color:#c5d4e9}
[data-theme=dark] .security-state{background:#1b2a40;border-color:#40516d}
[data-theme=dark] .current-session{background:#1d3c31;border-color:#3b715c;color:#a5e0be}
[data-theme=dark] .session-item{border-color:#3b4b63}
[data-theme=dark] .security-actions details{border-color:#415470}
[data-theme=dark] .recovery-card{background:#302c20;border-color:#756234}
[data-theme=dark] .recovery-card h4,[data-theme=dark] .recovery-card p{color:#eedeb2}
[data-theme=dark] .recovery-code-list li{background:#1c293c;border-color:#52647d;color:#e5edf8}
[data-theme=dark] .secret-key{background:#111d2e;border-color:#52647e;color:#e5edf8}
[data-theme=dark] .qr-wrap{background:#fff;border-radius:4px;padding:10px}
[data-theme=dark] .detail-dialog{background:#172336;border-color:#4c6284;color:#e5edf8}
[data-theme=dark] .detail-head{background:#1b2a40;border-bottom-color:#648fce}
[data-theme=dark] .detail-description{color:#bacbe1}
[data-theme=dark] .form-message{background:#3d2430;border-color:#815365;color:#ffb9b0}
[data-theme=dark] .form-message.success{background:#193d31;border-color:#477d68;color:#ade6c8}
[data-theme=dark] .form-message.info{background:#1c3557;border-color:#476c9b;color:#bad5ff}
[data-theme=dark] .toast{background:#d9e6f9;border-color:#a4bbdf;color:#142c50}
[data-theme=dark] .mascot-help{background:#1b2a40;border-color:#50617c;border-bottom-color:#e3bb45}
[data-theme=dark] .connection-notice,[data-theme=dark] .noscript{background:#302c20;color:#eddaa7}
[data-theme=dark] .update-notice{background:#1c3557;color:#bad5ff}
[data-theme=dark] .skip-link{background:#172336;color:#a9caff}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
