/* Desktop composition only; the approved phone layout stays intact. */
@media(min-width:1000px){
.home-v91 .refresh-header .nav{max-width:1440px;display:flex!important;align-items:center;gap:20px;padding:18px 24px!important}
.home-v91 .home-topbar{flex:1;min-width:0;min-height:70px;grid-template-columns:112px minmax(0,1fr) 34px;border-radius:18px}
.home-v91 .refresh-header .brand,.home-v91 .refresh-header.header-signed .brand{font-size:21px}
.home-v91 .refresh-header .brand .logo{width:46px;height:46px}
.home-v91 .refresh-header .brand small{font-size:12px}
.home-v91 .refresh-header .header-actions{width:360px!important;flex:none;grid-template-columns:69px minmax(0,1fr) 64px;gap:8px;padding:0!important}
.home-v91 .refresh-header #authOpen,.home-v91 .refresh-header.header-signed #authOpen{font-size:11px!important;height:42px!important;padding-inline:5px!important}
.home-v91 .refresh-header #theme,.home-v91 .refresh-header .language-control{height:42px}
.home-v91 .stats-top{max-width:1440px;padding:24px;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(370px,1fr);gap:26px;align-items:stretch}
.home-v91 #welcomeCarousel{height:330px;min-height:330px;box-shadow:0 10px 30px #003c4a24;border-radius:26px}
.home-v91 #heroTitle{font-size:clamp(30px,2.8vw,44px)!important;line-height:1.35}
.home-v91 #heroDesc{font-size:16px!important}.home-v91 #welcomeEyebrow{font-size:15px}.home-v91 #welcomeImage{width:45%}
.home-v91 #platform-stats{padding:22px 17px!important;border:1px solid var(--line);border-radius:26px;background:var(--surface);display:flex;flex-direction:column;justify-content:center;gap:10px}
.home-v91 #journey-title{font-size:19px!important;line-height:1.7;gap:5px}.home-v91 #journey-title:before,.home-v91 #journey-title:after{display:none}.home-v91 .journey-chart-icon{width:23px;height:23px}
.home-v91 .journey-grid{gap:10px}.home-v91 .journey-card{height:93px!important;padding:12px 8px!important;grid-template-columns:minmax(0,1fr) 30px;column-gap:4px;background:var(--surface2);border-color:var(--line);box-shadow:none}
.home-v91 .journey-card .journey-icon{width:30px;height:36px;padding:5px;border-radius:10px}.home-v91 .journey-card .stat-number{font-size:24px!important}.home-v91 .journey-card .journey-label{font-size:11px!important}
.home-v91 .restored-explore{max-width:1440px;gap:70px;padding:50px 45px 80px;align-items:center}.home-v91 #exploreTitle{font-size:clamp(30px,3vw,43px)!important;line-height:1.6}.home-v91 #exploreDesc{font-size:17px!important;line-height:1.9}
.home-v91 .restored-explore .hero-buttons{grid-template-columns:1fr 1fr;gap:12px}.home-v91 .restored-explore .hero-buttons .btn{font-size:14px}.home-v91 .restored-explore .hero-buttons .btn.secondary{grid-column:1/-1}
.home-v91 .restored-explore .planet{width:330px;height:330px;font-size:145px}
}
@media(min-width:1000px) and (max-width:1190px){.home-v91 .refresh-header .nav{gap:12px;padding-inline:18px!important}.home-v91 .refresh-header .header-actions{width:305px!important}.home-v91 .refresh-header .brand{font-size:17px}.home-v91 .stats-top{grid-template-columns:minmax(0,1.3fr) minmax(350px,1fr);gap:18px}.home-v91 #heroTitle{font-size:29px!important}.home-v91 #heroDesc{font-size:14px!important}}
/* Desktop content uses the available width consistently, including lower sections. */
.category-icon>svg{width:42px;height:42px;display:block;stroke:currentColor;filter:none;color:var(--accent)}
@media(min-width:1000px){
.home-v91 main>section:not(.home-teacher-widget){padding-block:48px}
.home-v91 main>section>.wrap{max-width:1440px;margin-inline:auto;padding-inline:30px}
.home-v91 main>section>.wrap>.sectionhead{max-width:none;margin-bottom:24px}
.home-v91 main .sectionhead h2{font-size:clamp(25px,2.5vw,36px);line-height:1.5}
.home-v91 main .sectionhead p{font-size:15px;line-height:1.9}
.home-v91 .category-grid{max-width:none!important;width:100%;margin-inline:0!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.home-v91 .soft:not(#departments) .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.home-v91 .category-link{width:100%;min-width:0;padding:25px!important;min-height:215px}
.home-v91 .category-link h3{font-size:21px;line-height:1.65}.home-v91 .category-link p{font-size:14px;line-height:1.9}
.home-v91 .home-teacher-wrap{max-width:1380px}.home-v91 .home-teacher-widget{padding-block:38px}
.home-v91 .home-teacher-widget .teacher-carousel-shell{padding-inline:42px}
.home-v91 .home-teacher-widget .teacher-card-page{gap:24px}
.home-v91 .home-teacher-widget .teacher-card{padding:25px 24px;min-height:310px}
.home-v91 .home-teacher-widget .teacher-portrait{width:100px;height:100px}
.home-v91 .home-teacher-widget .teacher-card h2{font-size:25px}
.home-v91 .home-teacher-widget .teacher-bio{font-size:16px;min-height:64px}
.home-v91 .home-teacher-widget .teacher-stats strong{font-size:20px}.home-v91 .home-teacher-widget .teacher-stats small{font-size:13px}
.home-v91 .home-teacher-widget .teacher-actions :is(a,button){font-size:15px;min-height:46px}
.home-v91 .home-teacher-heading h2{font-size:32px}.home-v91 .home-teacher-heading p{font-size:16px}
.home-v91 #platform-stats .journey-card .stat-number{font-size:27px!important}
.home-v91 .restored-explore{padding-block:36px 48px}
}
@media(min-width:1000px){
.home-v91 .refresh-header .nav{position:relative;display:grid!important;grid-template-columns:minmax(250px,1fr) 112px 330px 34px;gap:18px;width:calc(100% - 48px);margin:12px auto;padding:12px 20px!important;min-height:82px;border:1px solid #15c9b7;border-radius:21px;background:radial-gradient(ellipse at 75% 0,#087d70,transparent 55%),linear-gradient(110deg,#004f52,#00262c 60%,#005348);box-shadow:0 5px 18px #00333e30}
.home-v91 .home-topbar{display:contents}
.home-v91 .refresh-header .brand,.home-v91 .refresh-header.header-signed .brand{grid-column:1;grid-row:1;justify-content:flex-start;font-size:23px;gap:10px}
.home-v91 .home-header-tools{grid-column:2;grid-row:1}
.home-v91 .refresh-header .header-actions{grid-column:3;grid-row:1;width:330px!important;min-height:0;padding:0!important}
.home-v91 .refresh-header #homeMenu{grid-column:4;grid-row:1;width:34px;height:38px}
.home-v91 .refresh-header #allHomeLinks{max-width:320px}
}
@media(min-width:1000px) and (max-width:1190px){.home-v91 .refresh-header .nav{grid-template-columns:minmax(215px,1fr) 100px 285px 30px;gap:12px;padding-inline:14px!important}.home-v91 .refresh-header .brand{font-size:18px}.home-v91 .refresh-header .header-actions{width:285px!important}.home-v91 .refresh-header .brand .logo{width:40px;height:40px}}
