.html-hos-portal-login { background: #f5f6fa; }
.html-hos-portal-login body { margin: 0; background: #f5f6fa; color: #20273d; font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.hos-portal-page, .hos-portal-page * { box-sizing: border-box; }
.hos-portal-page { min-height: 100svh; display: flex; flex-direction: column; }
.hos-portal-page a { color: #4b438b; text-decoration: underline; text-underline-offset: 4px; }
.hos-portal-page :is(a, button, input):focus-visible { outline: 3px solid #7467c9; outline-offset: 4px; }
.hos-portal-header, .hos-portal-footer { width: min(1120px, calc(100% - 64px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hos-portal-header { padding-block: 28px; }
.hos-portal-page .hos-portal-brand { display: flex; align-items: center; gap: 12px; color: #574b9c; text-decoration: none; font-size: 20px; font-weight: 750; line-height: 1.3; }
.hos-portal-brand svg { flex-shrink: 0; }
.hos-portal-brand small { display: block; color: #62697a; font-size: 12px; font-weight: 400; margin-top: 4px; }
.hos-portal-help { font-size: 14px; padding-block: 10px; }
.hos-portal-main { width: 100%; flex: 1; display: grid; place-items: center; padding: 36px 32px 24px; }
.hos-portal-login { --portal-accent: #58469c; --portal-ink: #392963; --portal-soft: #ede9f8; width: min(1040px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 36px 64px; align-items: center; }
.hos-portal-login--school { --portal-accent: #17665c; --portal-ink: #164e46; --portal-soft: #e5f1ed; }
.hos-portal-login--sponsor { --portal-accent: #285a91; --portal-ink: #234870; --portal-soft: #e8eff8; }
.hos-portal-story { padding-block: 24px; }
.hos-portal-eyebrow { display: inline-block; color: var(--portal-ink); background: var(--portal-soft); padding: 6px 13px; border-radius: 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.hos-portal-story h1 { margin: 26px 0 20px; color: #20273d; font-family: inherit; font-size: clamp(32px, 3.5vw, 46px); font-weight: 730; letter-spacing: -.04em; line-height: 1.15; }
.hos-portal-story h1 span { display: block; }
.hos-portal-story h1 span:last-child { color: var(--portal-accent); }
.hos-portal-story > p { max-width: 390px; margin: 0; color: #596174; font-size: 17px; line-height: 1.7; }
.hos-portal-story ul { display: grid; gap: 15px; list-style: none; padding: 0; margin: 32px 0 0; }
.hos-portal-story li { display: flex; align-items: baseline; gap: 11px; font-size: 15px; }
.hos-portal-story li > span { display: inline-grid; place-items: center; background: var(--portal-soft); color: var(--portal-ink); width: 23px; height: 23px; border-radius: 50%; flex: 0 0 23px; font-size: 13px; font-weight: 700; }
.hos-portal-story-note { display: flex; align-items: center; gap: 10px; border-top: 1px solid #dfe2e9; margin-top: 38px; padding-top: 21px; color: #656c7c; font-size: 13px; }
.hos-portal-story-note > span:first-child { color: var(--portal-accent); font-size: 23px; }
.hos-portal-card { padding: 36px; background: #fff; border: 1px solid #e1e4ed; border-radius: 20px; box-shadow: 0 14px 46px #222c4c0a; }
.hos-portal-card-label { display: block; color: var(--portal-accent); font-size: 13px; font-weight: 700; }
.hos-portal-card h2 { margin: 6px 0 8px; color: #20273d; font-family: inherit; font-size: 26px; font-weight: 720; line-height: 1.25; letter-spacing: -.025em; }
.hos-portal-card-heading p { margin: 0 0 26px; color: #62697a; font-size: 14px; }
.hos-portal-field { margin-bottom: 18px; }
.hos-portal-field > label { display: block; margin-bottom: 7px; color: #343a4c; font-size: 14px; font-weight: 600; }
.hos-portal-page .hos-portal-field input { display: block; width: 100%; max-width: none; height: 50px; border: 1px solid #c7ccda; border-radius: 9px; background: #fff; color: #20273d; padding: 11px 14px; font: inherit; box-shadow: none; }
.hos-portal-page .hos-portal-field input:focus { border-color: var(--portal-accent); }
.hos-portal-password { position: relative; }
.hos-portal-page .hos-portal-password input { padding-right: 70px; }
.hos-portal-password-toggle { position: absolute; top: 3px; right: 4px; min-width: 58px; height: 44px; border: 0; border-radius: 6px; background: transparent; color: var(--portal-accent); cursor: pointer; font: 600 13px/1 system-ui, sans-serif; }
.hos-portal-password-toggle:hover { background: var(--portal-soft); }
.hos-portal-password-toggle[hidden] { display: none; }
.hos-portal-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 18px; font-size: 13px; }
.hos-portal-remember { display: flex; align-items: center; gap: 8px; cursor: pointer; min-height: 44px; }
.hos-portal-page .hos-portal-remember input { appearance: auto; position: static; opacity: 1; display: inline-block; width: 18px; height: 18px; margin: 0; accent-color: var(--portal-accent); }
.hos-portal-options > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--portal-accent); }
.hos-portal-submit { display: block; width: 100%; min-height: 50px; padding: 13px 16px; border: 0; border-radius: 9px; background: var(--portal-accent); color: #fff; cursor: pointer; font: 650 15px/1.5 system-ui, sans-serif; }
.hos-portal-submit:hover { filter: brightness(.9); }
.hos-portal-external:empty { display: none; }
.hos-portal-access { margin-top: 26px; padding-top: 22px; border-top: 1px solid #e7e9ef; }
.hos-portal-access p { margin: 0 0 4px; font-size: 14px; color: #596174; }
.hos-portal-access > a { color: var(--portal-accent); font-size: 14px; font-weight: 650; display: inline-flex; align-items: center; min-height: 36px; }
.hos-portal-access small { display: block; margin-top: 10px; font-size: 12px; line-height: 1.6; color: #62697a; }
.hos-portal-switcher { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 20px; font-size: 13px; }
.hos-portal-switcher > span { color: #62697a; }
.hos-portal-switcher > a { display: inline-flex; align-items: center; min-height: 44px; color: #555c70; }
.hos-portal-switcher > a[aria-current="page"] { color: var(--portal-accent); font-weight: 700; text-decoration: none; }
.hos-portal-footer { padding-block: 20px 26px; color: #62697a; font-size: 12px; }
.hos-portal-footer > div { display: flex; gap: 22px; }
.hos-portal-footer a { display: inline-flex; min-height: 44px; align-items: center; color: #62697a; }
.hos-portal-page .hos-portal-validation, .hos-portal-page .field-validation-error { color: #a12231; font-size: 13px; display: block; margin-top: 5px; }
.hos-portal-page .hos-portal-error.validation-summary-valid { display: none; }
.hos-portal-page .message-error:not(.validation-summary-valid) { margin: 0 0 20px; border: 1px solid #efc5ca; padding: 12px; background: #fff4f5; color: #922334; font-size: 14px; text-align: left; border-radius: 8px; }
.hos-portal-error ul { list-style: none; padding: 0; margin: 0; }
.hos-portal-captcha { margin-block: 14px; overflow-x: auto; }
.hos-portal-skip { position: absolute; top: -100px; left: 20px; background: #fff; padding: 12px; z-index: 10000; }
.hos-portal-skip:focus { top: 12px; }
.html-hos-portal-login .scroll-back-button { display: none; }
.hos-portal-entrances { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 12px; align-items: center; padding: 18px; margin: 0 0 24px; background: #f4f3fa; border: 1px solid #e0ddef; border-radius: 14px; font-family: system-ui, sans-serif; }
.hos-portal-entrances p { margin: 0 12px 0 0; font-size: 15px; color: #37354f; }
.hos-portal-entrances a { display: grid; gap: 3px; padding: 12px 14px; border-radius: 8px; background: #fff; border: 1px solid #d7d4e7; color: #4b438b; text-decoration: none; }
.hos-portal-entrances strong { font-size: 14px; }
.hos-portal-entrances span { font-size: 12px; color: #596174; }
.hos-portal-entrances a:focus-visible { outline: 3px solid #7467c9; outline-offset: 3px; }
@media (max-width: 800px) {
    .hos-portal-main { padding: 24px 24px 16px; }
    .hos-portal-login { max-width: 480px; grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .hos-portal-story { padding: 0; }
    .hos-portal-story h1 { font-size: 32px; margin: 18px 0 12px; }
    .hos-portal-story > p { max-width: none; font-size: 16px; }
    .hos-portal-story ul, .hos-portal-story-note { display: none; }
    .hos-portal-switcher { gap: 0 18px; }
    .hos-portal-switcher > span { flex-basis: 100%; text-align: center; }
    .hos-portal-entrances { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hos-portal-entrances p { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .hos-portal-header, .hos-portal-footer { width: calc(100% - 40px); }
    .hos-portal-header { padding-block: 20px 12px; gap: 12px; }
    .hos-portal-page .hos-portal-brand { font-size: 17px; gap: 9px; }
    .hos-portal-brand small { font-size: 11px; }
    .hos-portal-brand svg { width: 34px; height: 34px; }
    .hos-portal-help { font-size: 12px; white-space: nowrap; }
    .hos-portal-main { padding: 22px 20px 12px; }
    .hos-portal-story h1 { font-size: 30px; }
    .hos-portal-story > p { font-size: 15px; }
    .hos-portal-card { padding: 26px 22px; border-radius: 16px; }
    .hos-portal-card h2 { font-size: 23px; }
    .hos-portal-options { font-size: 12px; }
    .hos-portal-footer { align-items: flex-start; flex-wrap: wrap; justify-content: center; gap: 0 24px; text-align: center; padding-block: 10px 18px; }
    .hos-portal-entrances { grid-template-columns: 1fr; }
}
