/* Desktop-only refinement. Existing mobile/tablet components stay authoritative. */
@media (max-width:1023px){.sc-desktop-unified{display:none!important}}
@media (min-width:1024px){
  .hub-header .hub-header-inner{width:min(1280px,calc(100% - 64px));min-height:80px;gap:24px;padding-block:12px}
  .hub-header .hub-header-inner>.hub-desktop-nav,.hub-header>.hub-resource-row{display:none!important}
  .hub-header .hub-mobile-label{display:none!important}
  .sc-header .sc-desktop-unified{display:flex!important;align-items:center;justify-content:flex-end;gap:4px;min-width:0;margin:0 0 0 auto;padding:0;border:0}
  .sc-header .sc-desktop-unified a{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 10px!important;white-space:nowrap;line-height:1.5;font-size:14px;font-weight:600;color:var(--sc-brand-slate)!important;text-decoration:none!important;border:0!important;border-radius:7px!important;background:transparent!important;box-shadow:none!important;transform:none!important;transition:color 150ms ease,background-color 150ms ease!important}
  .sc-header .sc-desktop-unified a[aria-current=page]{color:var(--sc-brand-teal)!important;background:var(--sc-brand-silver-tint)!important;box-shadow:inset 0 -2px var(--sc-brand-gold)!important}
  .sc-header .sc-desktop-unified a:hover{color:var(--sc-brand-teal)!important;background:var(--sc-brand-silver-tint)!important}
  .sc-header .sc-desktop-unified a:focus-visible{outline:3px solid var(--sc-brand-gold-text)!important;outline-offset:3px}
  .sc-header .sc-desktop-unified svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .sc-header .sc-desktop-unified [data-hub-profile]{margin-left:12px;padding-left:18px!important;border-left:1px solid var(--sc-brand-silver)!important;border-radius:0!important}
  .sc-header .sc-desktop-unified .student-avatar{width:25px;height:25px;flex:none}
  .sc-header .sc-desktop-unified .hub-profile-hint{font-size:12px}
  body.sc-soft-ui #home-welcome{width:min(1280px,calc(100% - 64px));grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,4vw,64px);padding-block:48px 36px;align-items:center}
  body.sc-soft-ui #home-welcome h1{font-size:clamp(48px,4.4vw,64px);line-height:1.14;max-width:11ch;margin-block:12px 22px}
  body.sc-soft-ui #home-welcome #hub-home-copy{font-size:17px;line-height:2;max-width:49ch}
  body.sc-soft-ui #home-welcome .hub-home-board{padding:30px;border-radius:24px}
  body.sc-soft-ui .hub-frontdoors{width:min(1280px,calc(100% - 64px));padding-block:24px 40px}
  body.sc-soft-ui .hub-frontdoors .hub-section-head{align-items:start;gap:32px;margin-bottom:22px}
  body.sc-soft-ui .hub-frontdoors .hub-section-head>p{max-width:38ch;font-size:16px;line-height:1.95;margin-block:0}
  body.sc-soft-ui .hub-frontdoor-grid{align-items:stretch;gap:18px}
  body.sc-soft-ui #student-success{max-width:1280px;margin-inline:auto}
  /* The legacy method palette assumed a dark surface. The Soft UI surface is
     transparent, so set its complete foreground palette together, not opacity. */
  body.sc-soft-ui #approach{padding-block:40px;background:var(--sc-brand-cream);color:var(--sc-brand-teal);scroll-margin-top:96px}
  body.sc-soft-ui #approach .wrap{width:min(1280px,calc(100% - 64px))}
  body.sc-soft-ui #approach .method-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:48px;align-items:start}
  body.sc-soft-ui #approach :is(h2,h3){color:var(--sc-brand-teal)}
  body.sc-soft-ui #approach :is(p,.fine){color:var(--sc-brand-slate);font-size:16px;line-height:2}
  body.sc-soft-ui #approach .fine{font-size:15px}
  body.sc-soft-ui #approach :is(.kicker,h2 em){color:var(--sc-brand-gold-text)}
  body.sc-soft-ui #approach h2{margin-top:12px;font-size:34px;line-height:1.4}
  body.sc-soft-ui #approach .step{border-top-color:var(--sc-brand-silver)}
  body.sc-soft-ui #approach .step>span{background:var(--sc-brand-gold-tint);color:var(--sc-brand-gold-text);margin-bottom:14px}
  body.sc-soft-ui #approach .step h3{font-size:18px;line-height:1.9}
  body.sc-soft-ui #approach .method-steps{gap:22px}
}
@media (min-width:1024px) and (max-width:1199px){
  .hub-header .hub-header-inner{width:calc(100% - 40px);gap:14px}
  .sc-header .sc-desktop-unified{gap:0}
  .sc-header .sc-desktop-unified a{padding-inline:7px!important;font-size:13px;gap:5px}
  .hub-header .brand-name{font-size:24px}
  body.sc-soft-ui #approach .method-grid{gap:28px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
  body.sc-soft-ui #approach .method-steps{grid-template-columns:1fr;gap:14px}
  body.sc-soft-ui #approach .step{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:12px;padding-top:14px}
  body.sc-soft-ui #approach .step>span{grid-row:1/3;margin:3px 0 0}
}
