/* Compact student launcher. 2026-10-26. Overrides legacy home layers without deleting existing student state. */
body[data-portal-home] {background:#f5f7fb}
body[data-portal-home] #main-content{padding:0 0 60px}
body[data-portal-home] .dashboard-hero{padding-top:28px;padding-bottom:0;display:flex;flex-direction:column;align-items:stretch;gap:18px}
body[data-portal-home] .portal-welcome{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0}
body[data-portal-home] .portal-welcome h1{font-size:clamp(25px,2.7vw,34px);margin:0 0 4px;line-height:1.35}
body[data-portal-home] .portal-welcome .eyebrow{font-size:11px;letter-spacing:.1em;margin:0 0 8px}
body[data-portal-home] .portal-welcome p:last-child{font-size:14px;margin:0;color:#586a82}
body[data-portal-home] .home-grade-control{display:grid;justify-items:end;gap:4px;flex:0 0 auto}
body[data-portal-home] .home-grade-control-row{display:flex;gap:10px;align-items:center}
body[data-portal-home] .home-grade-label{font-size:12px;font-weight:700;color:#536581}
body[data-portal-home] .home-grade-options{display:flex;gap:3px;padding:3px;border:1px solid #c9d9ec;border-radius:10px;background:#eaf1fa}
body[data-portal-home] .home-grade-button{font-family:inherit;font-weight:700;font-size:13px;line-height:1.2;border:0;border-radius:8px;background:transparent;color:#365579;min-height:42px;padding:10px 17px;cursor:pointer}
body[data-portal-home] .home-grade-button[aria-pressed=true]{background:#153d80;color:white}
body[data-portal-home] .home-grade-status{font-size:11px;line-height:1.35;text-align:right;color:#5d6d82;margin:0;max-width:260px}
body[data-portal-home] .portal-search{width:100%;margin:0;padding:17px 21px;border:1px solid #d9e3f1;border-radius:14px;background:#fff;box-shadow:none}
body[data-portal-home] .portal-search h2{font-size:16px;margin:0 0 10px;color:#183b72}
body[data-portal-home] .portal-search-controls{display:flex;gap:8px}
body[data-portal-home] #portal-query{flex:1;min-width:0;min-height:48px;border-radius:9px;font-size:15px}
body[data-portal-home] .portal-search-submit{min-width:85px;min-height:48px;border-radius:9px;font-weight:750}
body[data-portal-home] .portal-search #search-status{font-size:11px;margin:7px 0 0}
body[data-portal-home] #search-results:empty{display:none}
body[data-portal-home] .dashboard-start{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body[data-portal-home] .dashboard-start .dashboard-panel-heading{margin:0 0 10px;display:flex;align-items:baseline;justify-content:space-between}
body[data-portal-home] .dashboard-start h2{margin:0!important;font-size:20px!important;color:#17376d}
body[data-portal-home] .dashboard-start .dashboard-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
body[data-portal-home] .dashboard-action-tile{display:flex;min-width:0}
body[data-portal-home] .dashboard-action{flex:1;min-width:0;min-height:124px;height:100%;box-sizing:border-box;padding:14px 13px;gap:4px;background:#fff;border:1px solid #d9e3f1;box-shadow:none}
body[data-portal-home] .dashboard-action-symbol{width:34px;height:34px;border-radius:9px}
body[data-portal-home] .dashboard-action-symbol svg{width:20px;height:20px}
body[data-portal-home] .dashboard-action strong{font-size:15px;margin-top:5px}
body[data-portal-home] .dashboard-action small{font-size:11px;line-height:1.35}
body[data-portal-home] .dashboard-action-arrow{right:10px;bottom:8px}
body[data-portal-home] .dashboard-action-favorite{top:7px;right:7px;min-width:38px;min-height:38px}
body[data-portal-home] .home-today{padding-top:21px}
body[data-portal-home] .home-today-heading{margin-bottom:10px}
body[data-portal-home] .home-today-heading h2{font-size:20px}
body[data-portal-home] .home-today-heading p:last-child{margin:2px 0 0}
body[data-portal-home] .home-today-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:0;border:1px solid #d8e4f2;border-radius:14px;background:#fff;overflow:hidden}
body[data-portal-home] .home-today-feature{border:0;border-radius:0;box-shadow:none;background:#19457f;padding:18px}
body[data-portal-home] .home-today-feature h3{font-size:17px}
body[data-portal-home] .home-today-feature>p:not(.home-today-feature-kicker){font-size:12px}
body[data-portal-home] .home-today-tracker{border:0;border-radius:0;box-shadow:none;padding:15px 19px}
body[data-portal-home] .home-today-tracker-head h3{font-size:15px}
body[data-portal-home] .home-today-task{min-height:42px;padding:5px 0}
body[data-portal-home] .home-today-task-detail{display:none}
body[data-portal-home] .home-today-status{font-size:10px}
/* Match the services heading: title/description left, one schedule link right.
   The legacy grade stylesheet used flex-direction:column on mobile. */
body[data-portal-home] .home-alerts{padding-top:23px;padding-bottom:6px;text-align:left}
body[data-portal-home] .home-alerts .home-alerts-header{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 12px;text-align:left}
body[data-portal-home] .home-alerts .home-alerts-header>div{flex:1;min-width:0;text-align:left}
body[data-portal-home] .home-alerts .home-alerts-title{display:block;margin:0;font-size:20px;line-height:1.4;text-align:left}
body[data-portal-home] .home-alerts .home-alerts-subtitle{margin:3px 0 0;font-size:12px;line-height:1.6;text-align:left;color:#65768a}
body[data-portal-home] .home-alerts .home-see-all{display:inline-flex;flex:none;align-items:center;justify-content:flex-end;min-height:32px;margin:0;padding:3px 0;font-size:13px;font-weight:800;line-height:1.5;white-space:nowrap;text-align:right;color:#1b518f}
body[data-portal-home] .home-alerts .dashboard-schedule .dashboard-panel-heading{justify-content:flex-start;text-align:left}
body[data-portal-home] .home-alerts .dashboard-schedule-empty{padding:12px 14px;border:1px solid #e3e9f1;background:#f8fafd;border-radius:10px;font-size:12px;line-height:1.6;text-align:left}
body[data-portal-home] .home-alerts-grid .dashboard-schedule .home-schedule-items{grid-template-columns:repeat(2,minmax(0,1fr))}
body[data-portal-home] .home-alert-card{padding:14px 17px}
body[data-portal-home] .home-alert-card .home-schedule-link,body[data-portal-home] .home-alert-card .home-recruit-link{min-height:60px}
body[data-portal-home] .home-shortcuts{padding-top:18px}
body[data-portal-home] .home-shortcuts .dashboard-personal{padding:15px 19px}
body[data-portal-home] .home-shortcuts .dashboard-personal h2{font-size:18px;margin:0}
body[data-portal-home] .home-shortcuts .dashboard-panel-heading{display:flex;justify-content:space-between;gap:10px}
body[data-portal-home] .home-shortcuts .dashboard-personal-tabs{margin:8px 0}
body[data-portal-home] .home-catalog{padding-top:23px}
body[data-portal-home] .home-catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
body[data-portal-home] .home-catalog-heading h2{font-size:20px;color:#183b72;margin:0}
body[data-portal-home] .home-catalog-heading p{font-size:12px;color:#65768a;margin:3px 0}
body[data-portal-home] .home-catalog-heading>a{font-size:13px;font-weight:800;color:#1c518d}
body[data-portal-home] .home-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
body[data-portal-home] .home-category-grid>a{scroll-margin-top:130px;display:grid;gap:7px;align-content:start;min-height:104px;padding:15px;border:1px solid #d8e4f2;background:#fff;border-radius:12px;text-decoration:none;color:#17376d}
body[data-portal-home] .home-category-grid>a:hover{border-color:#7da1d4;background:#f1f6fd}
body[data-portal-home] .home-category-grid span{font-size:18px;color:#37649c;line-height:1}
body[data-portal-home] .home-category-grid strong{font-size:15px}
body[data-portal-home] .home-category-grid small{font-size:11px;color:#65768a}
body[data-portal-home] .home-grade-button:focus-visible,body[data-portal-home] .home-category-grid a:focus-visible{outline:3px solid #1d8dbb;outline-offset:3px}
@media(max-width:900px){
 body[data-portal-home] .dashboard-start .dashboard-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-portal-home] .home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-portal-home] .home-alerts-grid .dashboard-schedule .home-schedule-items{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:640px){
 body[data-portal-home] .dashboard-hero{padding-top:14px;gap:13px}
 body[data-portal-home] .portal-welcome{align-items:stretch;flex-direction:column;gap:10px}
 body[data-portal-home] .portal-welcome h1{font-size:25px}
 body[data-portal-home] .home-grade-control{justify-items:start}
 body[data-portal-home] .home-grade-status{text-align:left;max-width:none}
 body[data-portal-home] .portal-search{padding:14px}
 body[data-portal-home] .portal-search-submit{min-width:65px}
 body[data-portal-home] .dashboard-action{min-height:102px;padding:12px 10px}
 body[data-portal-home] .dashboard-action strong{font-size:13px}
 body[data-portal-home] .dashboard-action small{font-size:10px}
 body[data-portal-home] .home-today-layout{grid-template-columns:minmax(0,1fr)}
 body[data-portal-home] .home-today-feature{padding:14px}
 body[data-portal-home] .home-today-tracker{padding:12px 15px}
 body[data-portal-home] .home-alerts{padding-top:19px}
 body[data-portal-home] .home-alerts .home-alerts-header{flex-direction:row;align-items:flex-start;gap:9px;margin-bottom:11px}
 body[data-portal-home] .home-alerts .home-alerts-title{font-size:20px}
 body[data-portal-home] .home-alerts .home-see-all{font-size:12px;min-height:30px;white-space:nowrap}
 body[data-portal-home] .home-shortcuts{padding-top:13px}
 body[data-portal-home] .home-category-grid>a{min-height:95px;padding:13px}
 body[data-portal-home] .home-category-grid strong{font-size:13px}
 body[data-portal-home] .home-category-grid small{font-size:10px}
}
@media(prefers-reduced-motion:reduce){body[data-portal-home] .dashboard-action,body[data-portal-home] .home-category-grid a{transition:none}}

/* Learning commitment link: stays visible when grade-based quick cards rerender. */
body[data-portal-home] .study-home-shortcut{margin:12px 0 0}
body[data-portal-home] .study-home-shortcut .button{width:100%;min-height:44px;display:flex;justify-content:center;font-size:14px}
