.hero.hero-dashboard{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-height:465px}
.hero-dashboard .hero-intro{min-width:0;justify-content:center;align-items:flex-start}
.hero-dashboard .hero-intro h1{margin:16px 0 0;overflow-wrap:anywhere}
.hero-dashboard .hero-intro h2{font-size:clamp(25px,3vw,40px);line-height:1.15;color:#d4e8ff;margin:8px 0 0;overflow-wrap:anywhere}
.hero-dashboard .hero-intro h3{margin:12px 0 20px;font-size:18px}
.hero-dashboard .hero-intro button{margin-top:0}
.hero-dashboard .hero-program{min-width:0;gap:14px;padding:18px;justify-content:center;background:#ffffff16}
.hero-dashboard .hero-program h3{margin:0 0 2px;font-size:17px}
.hero-program-current,.hero-program-next{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}
.hero-program-current{padding:12px;background:#ffffff16;border-radius:12px}
.hero-program small{font-size:10px;font-weight:700;letter-spacing:.06em;color:#d5e7ff}
.hero-program span{font-size:13px;color:#e5efff}
.hero-program progress{width:100%;height:6px;border:0;border-radius:10px;overflow:hidden;background:#ffffff30;margin:8px 0 2px;appearance:none}
.hero-program progress::-webkit-progress-bar{background:#ffffff30;border-radius:10px}.hero-program progress::-webkit-progress-value{background:#9dd6ff;border-radius:10px}.hero-program progress::-moz-progress-bar{background:#9dd6ff;border-radius:10px}
.hero-dashboard .hero-program a{font-size:14px;margin-top:0;padding-top:2px}
.hero-dashboard>.hero-shortcuts{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}
.hero-shortcuts a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:84px;padding:14px 8px;text-align:center;border-radius:12px;background:#ffffff19;color:#fff;font-size:14px;transition:background .15s}
.hero-shortcuts a:hover,.hero-shortcuts a:focus-visible{background:#ffffff35}.hero-shortcuts svg{width:23px;height:23px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:850px){.hero.hero-dashboard{min-height:0;grid-template-columns:1fr;grid-template-rows:auto;gap:16px}.hero-dashboard .hero-intro button{width:100%}.hero-dashboard .hero-program{padding:16px}.hero-dashboard>.hero-shortcuts{gap:8px}.hero-shortcuts a{flex-direction:column;gap:6px;min-height:68px;padding:12px 4px;font-size:12px;text-align:center}}

/* Compact dashboard on phones; desktop rules remain unchanged. */
@media(max-width:600px){
.hero.hero-dashboard{padding:16px;gap:12px;min-height:0;grid-template-rows:auto;align-content:start}
.hero-dashboard .hero-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;align-items:center;justify-content:stretch}
.hero-dashboard .hero-intro .tag{grid-column:1/-1;justify-self:start;font-size:10px;padding:6px 10px}
.hero-dashboard .hero-intro h1{grid-column:1/-1;font-size:25px;line-height:1.12;margin:5px 0 0}
.hero-dashboard .hero-intro h2{grid-column:1;font-size:21px;margin:0;line-height:1.15}
.hero-dashboard .hero-intro h3{grid-column:1;font-size:13px;margin:0;line-height:1.3}
.hero-dashboard .hero-intro button{grid-column:2;grid-row:3/5;width:auto;min-height:44px;padding:10px 12px;font-size:12px;white-space:nowrap;margin:0}
.hero-dashboard .hero-program{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px;padding:12px;min-height:0}
.hero-dashboard .hero-program h3,.hero-dashboard .hero-program a{grid-column:1/-1;margin:0;font-size:14px}
.hero-dashboard .hero-program-current,.hero-dashboard .hero-program-next{padding:8px;gap:4px;font-size:13px}
.hero-dashboard .hero-program span{font-size:11px}
.hero-dashboard .hero-program progress{margin:4px 0 0;height:4px}
.hero-dashboard .hero-program a{font-size:12px;padding:2px 0 0}
.hero-dashboard>.hero-shortcuts{gap:6px}
.hero-dashboard .hero-shortcuts a{min-height:52px;padding:7px 3px;gap:4px;font-size:11px}
.hero-dashboard .hero-shortcuts svg{width:19px;height:19px}
}

/* Equal programme card alignment, including mobile. */
.hero-dashboard .hero-program-current,.hero-dashboard .hero-program-next{box-sizing:border-box;width:100%;padding:12px;border-radius:12px;background:#ffffff0d}
.hero-dashboard .hero-program-current{background:#ffffff16}
@media(max-width:600px){.hero-dashboard .hero-program-current,.hero-dashboard .hero-program-next{padding:8px;align-self:stretch}}
