/* Compact home and explicit high-contrast controls. */
.hm53-league-promo{display:flex!important;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 20px;margin:14px 0;border-radius:20px;background:linear-gradient(120deg,#102d51,#164d69);color:#fff!important;text-decoration:none!important;border:1px solid #224e69;box-shadow:0 6px 20px #153c6320;transition:box-shadow .16s,transform .16s}
.hm53-league-promo:hover,.hm53-league-promo:focus-visible{color:#fff!important;box-shadow:0 9px 24px #153c6340;transform:translateY(-1px)}
.hm53-league-promo span,.hm53-league-promo strong{color:inherit!important}.hm53-gift{display:grid;place-items:center;flex:0 0 56px;height:56px;background:#ffffff16;border:1px solid #ffffff44;border-radius:16px;color:#ffe29a!important}.hm53-gift svg,.hm53-league-hero svg{width:34px;height:34px;color:#ffe29a;flex:none}.hm53-promo-copy{display:grid;gap:4px;flex:1;min-width:150px}.hm53-promo-copy strong{font-size:clamp(17px,2vw,24px);font-weight:850}.hm53-promo-copy small,.hm53-promo-copy>span{font-size:13px;color:#e3edf8!important}.hm53-prize{background:#ffdf91;border-radius:14px;color:#3e2b10!important;padding:10px 15px;display:grid;gap:4px}.hm53-league-promo .hm53-prize,.hm53-prize b,.hm53-prize small{color:#3e2b10!important}.hm53-prize b{font-size:clamp(20px,2.4vw,27px);font-weight:900}.hm53-prize small{font-size:11px}.hm53-promo-arrow{font-size:22px}.hm53-league-hero{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#153b5c;border-radius:16px;padding:15px;color:#fff!important}.hm53-league-hero strong{font-size:clamp(23px,3vw,34px);color:#ffe29a!important}.hm53-league-hero span,.hm53-league-hero b{color:#fff!important}.hm53-league-hero b{flex:1 0 100%;font-size:17px}
.hm53-home-links,.hm53-panel-links{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.hm53-home-links a,.hm53-panel-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 15px;border:1px solid #b9d1e2;background:#f6fafc;border-radius:11px;color:#164b70!important;font-weight:750;text-decoration:none!important;box-sizing:border-box}.hm53-panel-links a.hm53-solid,.hm-mehr-enrollment .hm-enroll-footer-328 nav a:last-child{background:#075e66!important;color:#fff!important}.hm53-panel-links a.hm53-solid:hover{background:#034e55!important;color:white!important}.hm53-sales-footer a{color:#17466d!important;text-decoration:underline}.hm53-panel-tools{margin:12px 0}.hm53-panel-tools .hm3319-student-home{margin:12px 0;border:1px solid #d6e5ef;border-radius:14px;padding:16px;background:#f7fbff}.hm53-panel-tools .hm3319-student-shortcuts{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.hm53-panel-tools .hm3319-student-shortcuts a{display:inline-flex;gap:5px;border:1px solid #c8ddeb;padding:8px 12px;border-radius:10px;text-decoration:none;color:#164b70!important;background:#fff}.hm53-panel-tools .hm3319-student-shortcuts>div{flex-basis:100%}.hm53-panel-tools .hm3319-student-shortcuts small{margin-inline:6px}
.hm-mehr-learning:not(.hm-mehr-focused) .hm-learning-section-title{margin:0 0 12px!important}.hm-mehr-learning:not(.hm-mehr-focused) .hm-learning-subject-grid .hm-learning-subject{border:1px solid #d5e4ef!important;border-radius:18px!important;background:#fff!important;box-shadow:0 4px 14px #183e6510!important;transition:transform .16s,box-shadow .16s}.hm-mehr-learning:not(.hm-mehr-focused) .hm-learning-subject-grid .hm-learning-subject:hover{transform:translateY(-3px);box-shadow:0 8px 20px #183e6525!important}.hm-mehr-learning .hm-learning-subject-grid .hm-learning-subject-art{height:auto!important;aspect-ratio:16/9!important;padding:0!important;object-fit:cover!important;background:#e6eef7!important;border-radius:12px!important}.hm-mehr-learning .hm-learning-subject-grid .hm-learning-subject small{color:#075b62!important;font-weight:800}.hm-app-brand .hm39-logo{border-radius:14px;box-shadow:0 4px 12px #163c6725}.hm53-offline-save{margin:12px 0;border:1px solid #b9d5e5;padding:12px 16px;border-radius:14px;background:#f4f9fd;color:#173b55}.hm53-offline-save summary{cursor:pointer;font-weight:800;color:#164b70}.hm53-offline-save form{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.hm53-offline-save label{display:grid;gap:6px;max-width:100%}.hm53-offline-save input{font:inherit;padding:9px;border:1px solid #8eacbf;border-radius:8px;max-width:100%;box-sizing:border-box}.hm53-offline-save [data-status]{flex-basis:100%;margin:0}.hm53-offline-save .hm-button{color:#fff!important;background:#145d83!important}.hm53-offline-save a{color:#164b70!important}
@media(max-width:600px){.hm53-league-promo{padding:12px;gap:9px}.hm53-prize{flex:1 0 100%;box-sizing:border-box;text-align:center}.hm53-promo-arrow{display:none}.hm53-gift{flex-basis:44px;height:44px}.hm53-home-links a,.hm53-panel-links a{flex:1 1 130px}.hm53-offline-save form>*{width:100%;box-sizing:border-box}.hm53-league-hero{gap:7px}.hm-mehr-learning .hm-learning-subject-grid .hm-learning-subject-art{margin-bottom:4px!important}}@media(prefers-reduced-motion:reduce){.hm53-league-promo,.hm-learning-subject{transition:none!important}}
/* Explicitly override the legacy link palette on all interactive dark surfaces. */
.hm-student .hm53-panel-links a.hm53-solid,.hm-panel .hm53-panel-links a.hm53-solid,.hm-student .hm53-league-promo,.hm-panel .hm53-league-promo{color:#fff!important}.hm-student .hm53-league-promo .hm53-prize,.hm-panel .hm53-league-promo .hm53-prize{color:#3e2b10!important}.hm53-league-promo .hm53-gift{color:#ffe29a!important}.hm53-league-promo .hm53-prize small{color:#3e2b10!important}.hm53-panel-tools .hm-3312-advisor-teaser .hm-button,.hm53-panel-tools .hm51-feedback .hm-button{color:#fff!important;background:#145d83!important}.hm53-panel-tools a:focus-visible,.hm53-home-links a:focus-visible,.hm53-league-promo:focus-visible{outline:2px solid #1977a7;outline-offset:3px}
