body.portal-entry{margin:0;color:#183f47;font:15px/1.55 system-ui,sans-serif;background:#d5e5e8;min-height:100vh}
.portal-entry-layout{max-width:1250px;margin:auto;padding:64px 28px;display:grid;grid-template-columns:minmax(0,620px) minmax(320px,440px);gap:clamp(32px,8vw,180px);align-items:center}
.portal-entry-intro h1{font:700 clamp(36px,3.5vw,54px)/1.12 Georgia,serif;margin:16px 0 25px}.portal-entry-intro>p{color:#42626c}.portal-entry-kicker{text-transform:uppercase;font-size:11px;letter-spacing:.18em}.portal-entry-intro img{width:100%;height:285px;object-fit:cover;border:3px solid #fff9;border-radius:26px;margin-top:14px}.portal-entry-motto{text-align:center;font:20px 'Segoe Print',cursive}
.portal-entry-card{background:#fafaf1;border:1px solid white;border-radius:28px;padding:32px}.portal-entry-card h2{font:700 29px Georgia,serif;margin:0 0 10px}.portal-entry-card>p{color:#547078}.portal-entry-card label{display:block;font-size:13px;margin-top:14px}.portal-entry-card input:not([type=hidden]){display:block;box-sizing:border-box;width:100%;font:16px system-ui;padding:11px;border:1px solid #b5cfcd;border-radius:10px;background:#fffdf7;color:#183f47}.portal-entry-card details{margin-top:14px;font-size:12px}.portal-entry-card button[type=submit]{width:100%;margin-top:24px;padding:13px;border:0;border-radius:10px;background:#216f73;color:white;font-weight:700;cursor:pointer}.portal-entry-switch{display:inline-block;margin-top:24px;text-decoration:underline;color:#216f73}.portal-entry-card .portal-entry-error{background:#fff0ed;color:#922d2d;padding:12px;border-radius:8px}.portal-entry-card .login-security{max-width:100%}
@media(max-width:1050px){.portal-entry-layout{grid-template-columns:1fr;max-width:700px;padding:25px 18px;gap:25px}.portal-entry-intro img{height:auto;aspect-ratio:2/1;box-sizing:border-box}.portal-entry-card{padding:24px}}
.study-desktop .desktop-welcome{margin:0 0 14px;color:#183f47}.study-desktop .desktop-welcome h1{margin:0 0 4px;font:700 clamp(22px,1.6vw,30px)/1.2 Georgia,serif}.study-desktop .desktop-welcome p{margin:0;font-size:14px;line-height:1.4}.study-desktop .desktop-account{font-size:13px;white-space:nowrap}
@media(min-width:1280px) and (min-height:700px){body.study-desktop:has(.desktop-welcome){height:100dvh;min-height:0;grid-template-rows:50px minmax(0,1fr) auto 30px 24px}.study-desktop:has(.desktop-welcome) .desktop-layout{min-height:0;padding-top:14px;padding-bottom:10px}}

@media(min-width:1280px) and (min-height:700px){
 .study-desktop:has(.desktop-welcome) .mood-widget .mood-photo{height:clamp(90px,18vh,180px);width:100%;object-fit:cover}
 .study-desktop:has(.desktop-welcome) .desk-note{height:clamp(170px,27vh,260px);min-height:0}
 .study-desktop:has(.desktop-welcome) .desktop-whisper{margin:8px 15px;font-size:18px}
 .study-desktop:has(.desktop-welcome) .desktop-bottom-wish{font-size:18px;line-height:1.3;padding:2px 28px}
}
@media(min-width:1280px) and (min-height:700px) and (max-height:800px){
 .study-desktop:has(.desktop-welcome) .desktop-welcome{margin-bottom:8px}
 .study-desktop:has(.desktop-welcome) .school-resource-layout .desktop-cards>.desktop-card>img{height:95px}
 .study-desktop:has(.desktop-welcome) .school-resource-layout .desktop-cards>.school-card>img{height:135px}
 .study-desktop:has(.desktop-welcome) .school-resource-layout .desktop-exams>.exam-card>img{height:65px}
 .study-desktop:has(.desktop-welcome) .school-benefits{margin-top:8px}
 .study-desktop:has(.desktop-welcome) .school-resource-layout .school-card h3{font-size:30px}
}
