.portal-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(230px,.85fr);align-items:center;gap:20px;padding:38px 42px;background:linear-gradient(125deg,#e7dff2,#edf0f5 65%,#e2eee7);border-radius:30px;overflow:hidden}.portal-hero h1{font-size:clamp(30px,3vw,48px);line-height:1.13;letter-spacing:-1.4px;margin:18px 0}.portal-hero p{font-size:16px;line-height:1.8;max-width:580px;margin-bottom:25px}.portal-hero>img{width:100%;max-height:340px;object-fit:contain}.portal-home-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.portal-home-grid h2{font-size:27px;line-height:1.25}.portal-home-grid p{line-height:1.8}.portal-culture{background:#f2e8ee}.portal-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:22px}.portal-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;overflow:hidden}.portal-card h2{margin:0;line-height:1.3;font-size:23px;overflow-wrap:anywhere}.portal-card p{line-height:1.7}.portal-card>.text-link{margin-top:auto}.portal-card-image{width:100%;height:200px;object-fit:cover;border-radius:17px}.portal-card-symbol{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:linear-gradient(145deg,#eee5f8,#dcebe3);color:#82709d}.portal-card-symbol .icon{width:33px;height:33px}.portal-detail-image{max-width:100%;width:360px;max-height:360px;object-fit:cover;border-radius:24px;margin-bottom:24px}.portal-detail-section+.portal-detail-section{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}.portal-detail-section p{white-space:pre-wrap}.portal-help{max-width:720px}.portal-help h2{margin-top:22px}.portal-points-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;background:#e8eee9;border-radius:24px;margin-bottom:28px}.portal-points-banner strong{display:block;font-size:30px;margin-top:7px}.portal-points-banner p{margin:7px 0 0}.sidebar .nav-item{padding:11px 14px;margin:4px 0}.sidebar .brand{padding-bottom:22px}.page-head>div:first-child{min-width:0;flex:1}.page-head>.btn{flex-shrink:0}.page-head .btn{white-space:normal}.portal-card .btn{max-width:100%}
/* Branded, centered authentication shares the platform's typography and palette. */
.auth-page.medical-auth{display:grid;place-items:center;position:relative;min-height:100dvh;padding:48px 24px;background:radial-gradient(ellipse at 12% 15%,#e3d9ef 0,transparent 50%),radial-gradient(ellipse at 90% 85%,#dcece3 0,transparent 55%),#edf0f4;overflow:hidden}.auth-medical-art{position:absolute;inset:0;background:url('assets/medical-academy.svg') no-repeat 105% 65%;background-size:min(50vw,650px);opacity:.24;pointer-events:none}.auth-center{position:relative;width:min(100%,440px);z-index:1}.medical-auth .auth-brand{display:flex;flex-direction:column;gap:14px;align-items:center;text-align:center;margin:0 auto 28px;color:#625775;font-size:12px;letter-spacing:2px}.medical-auth .auth-brand img{width:250px;height:auto;max-width:80%}.medical-auth .auth-card{max-width:none;width:100%;padding:36px;background:#fffdfdf5;border:1px solid #fff;border-radius:28px;box-shadow:0 20px 70px #64547712}.medical-auth h1{font-size:28px;line-height:1.25;text-align:center;margin:16px 0 10px}.medical-auth .auth-card>p{text-align:center;font-size:14px;line-height:1.6;color:#7b7185}.auth-medical-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:16px;background:#ede6f4;color:#85709f;margin:auto}.medical-auth .auth-footer{position:static;text-align:center;margin:24px 0 0;font-size:12px;color:#867b90}.medical-auth .field input{border-radius:13px;min-height:48px;background:white}.medical-auth .auth-card form>.btn{min-height:48px}.medical-auth .password-wrap>.icon-button{top:4px;bottom:4px}.medical-auth .auth-help{text-align:center}
@media(max-width:800px){
 .page .page-head{display:flex;flex-direction:column;align-items:stretch;gap:14px}.page .page-head>div:first-child{width:100%;flex:none}.page .page-head>.btn,.page .page-head>.manager-actions{width:100%;max-width:100%;margin:0;justify-content:center}.page .page-head h1{max-width:none;overflow-wrap:normal}.page .page-head p{width:100%;max-width:none;line-height:1.65;margin-top:10px}.page .page-head .manager-actions{display:flex;flex-wrap:wrap;gap:10px}
 .page .academy-day-list{position:static;display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;overflow:visible;padding:14px;gap:10px}.page .academy-day-list>a,.page .academy-day-list>.btn{min-width:0;width:100%;max-width:100%;white-space:normal;overflow-wrap:anywhere;justify-content:flex-start;min-height:48px}.page .academy-day-list>.btn .icon{flex-shrink:0;margin-left:auto}.page .academy-course{min-width:0}.page .academy-course>form{min-width:0;max-width:100%}.page .studio-add-blocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.page .studio-add-blocks>.btn{padding:12px;min-width:0;white-space:normal}.page .form-actions{display:flex;flex-direction:column;align-items:stretch}.page .form-actions>.btn{width:100%;white-space:normal;justify-content:center}.page .btn{overflow-wrap:anywhere}.page input:not([type=checkbox]):not([type=radio]),.page select,.page textarea,.modal input:not([type=checkbox]):not([type=radio]),.modal select,.modal textarea,.medical-auth input{font-size:16px;max-width:100%;min-width:0}.page .editor-option{min-width:0}.page .editor-option input[name=option]{width:0;flex:1}.page .section-head{flex-wrap:wrap;gap:12px}.page .section-head>div{max-width:100%;display:flex;flex-wrap:wrap;gap:6px}
 #app>.topbar{position:static}.portal-hero{grid-template-columns:1fr;padding:28px 24px;position:relative}.portal-hero>div{position:relative;z-index:1}.portal-hero>img{position:absolute;width:180px;right:-35px;bottom:-15px;opacity:.17}.portal-hero h1{font-size:34px}.portal-hero p{font-size:15px}.portal-home-grid{grid-template-columns:1fr;gap:16px}.portal-card-grid{grid-template-columns:1fr}.portal-points-banner{align-items:stretch;flex-direction:column;padding:22px}.portal-points-banner .btn{justify-content:center}.page .resource-row{min-width:0}.page .resource-row>*{max-width:100%;overflow-wrap:anywhere}
 .goose-launcher{width:44px;height:44px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:81}.goose-launcher img{width:45px;height:45px}.goose-label{display:none}.assistant-panel{bottom:calc(72px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 100px - env(safe-area-inset-bottom,0px))}#app>.page,html[data-learning=true] #app>.page{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
 .auth-page.medical-auth{padding:32px 16px}.medical-auth .auth-card{padding:28px 24px}.medical-auth .auth-brand img{width:230px}.medical-auth h1{font-size:27px}.auth-medical-art{background-size:90vw;background-position:140% 100%;opacity:.16}
}
@media(max-width:380px){.page .studio-add-blocks{grid-template-columns:1fr}.medical-auth .auth-card{padding:24px 18px}.portal-hero{padding:24px 20px}.portal-hero h1{font-size:30px}}
/* Medical illustration supports the restored overview without obscuring its content. */
.academy-feature{padding-right:210px;background: url('assets/medical-pattern.svg') center bottom/100% auto no-repeat,linear-gradient(125deg,#e7dff4,#edf1f2 70%,#e2eee8)}
.academy-feature .medical-overview-art{width:220px;height:auto;right:-12px;bottom:24px;transform:none;border:0;border-radius:0;background:none;box-shadow:none;pointer-events:none;opacity:1}
.medical-overview-art img{display:block;width:100%;height:auto}.academy-feature h2{font-size:32px}.academy-feature .eyebrow{position:relative;z-index:1}.academy-metric .module-symbol{background:linear-gradient(145deg,#fff,#f5f1fa)}
.portal-culture{background: url('assets/medical-pattern.svg') right bottom/auto 115px no-repeat,#f2e8ee}
@media(max-width:1250px){.academy-feature{padding-right:38px}.academy-feature .medical-overview-art{width:190px;opacity:.18;right:0;bottom:5px}}
@media(max-width:800px){.academy-feature{padding:26px}.academy-feature h2{font-size:29px}.academy-feature .medical-overview-art{width:175px;opacity:.16}.portal-culture{background-size:auto 90px}}

/* Studio attribution stays in document flow on every screen. */
.creator-credit{display:inline-block;color:#736581;font-size:12px;line-height:1.6}.creator-credit span{font-weight:600;text-decoration:underline;text-decoration-color:#c8bdd5;text-underline-offset:3px}.creator-credit:hover{color:#514064}.creator-credit:focus-visible{outline:2px solid #82709f;outline-offset:5px;border-radius:3px}.auth-creator{text-align:center;margin-top:10px}.page-footer{flex-wrap:wrap;gap:12px}@media(max-width:620px){.page-footer .creator-credit{padding:6px 0}}

.email-auth-actions{display:grid;gap:12px;margin-top:18px}.email-notice{margin-bottom:20px;overflow-wrap:anywhere}.email-auth-actions p{font-size:13px;color:#736581}.auth-card>form+.btn,.auth-card>.btn{margin-top:14px;width:100%}
