/* Shared header interactions and study-plan authorship. */
.r4-header .header-actions :is(.shop-nav-cart,.campus-link,.header-try){position:relative;transition:transform .22s ease,background-color .22s ease,color .22s ease,box-shadow .22s ease;border-radius:2px}
.r4-header .header-actions :is(.shop-nav-cart,.campus-link,.header-try) svg{transition:transform .22s ease}
.r4-header .header-actions :is(.shop-nav-cart,.campus-link,.header-try):focus-visible{outline:2px solid currentColor;outline-offset:4px;transform:translateY(-2px);box-shadow:0 5px 0 rgb(24 43 33 / .12)}
@media(hover:hover) and (pointer:fine){
 .r4-header .header-actions :is(.shop-nav-cart,.campus-link,.header-try):hover{transform:translateY(-2px);box-shadow:0 5px 0 rgb(24 43 33 / .12)}
 .r4-header .header-actions :is(.shop-nav-cart,.campus-link):hover{background-color:rgb(166 179 116 / .2)}
 .r4-header .header-actions .header-try:hover{background-color:#354c32;color:#f4f1e9}
 .r4-header .header-actions :is(.campus-link,.header-try):hover .vm-link-arrow{transform:translateX(3px)}
 .r4-header .header-actions .shop-nav-cart:hover svg{transform:translateY(-2px) rotate(-5deg)}
}
.study-ai-copy{display:block;margin-top:1em;font-size:inherit;line-height:1.6;max-width:65ch}
/* Keep both working campus destinations visible before the mobile hero. */
@media(max-width:760px){
 .r4-header .r4-quick-links{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:8px 18px;background:var(--paper);font-size:14px}
 .r4-header .r4-quick-links a{justify-content:center;gap:12px;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #23432c;border-radius:3px;color:#23432c;line-height:1.3;white-space:normal;text-align:center}
 .r4-header .r4-quick-links .r4-quick-demo{background:#23432c;color:#f4f1e9}
 .r4-header .r4-quick-links .vm-link-arrow{width:16px;height:16px;flex-basis:16px;margin:0}
 .r4-header .r4-quick-links a:focus-visible{outline:2px solid #23432c;outline-offset:3px}
 .r4-header .r4-quick-links a:active{background:#dce2ca;color:#182b21}
}
@media(prefers-reduced-motion:reduce){
 .r4-header .header-actions :is(.shop-nav-cart,.campus-link,.header-try),.r4-header .header-actions :is(.shop-nav-cart,.campus-link,.header-try) svg{transition:none!important;transform:none!important}
}
/* Keep the campus entry visible in the gap before the mobile navigation starts. */
@media(min-width:981px) and (max-width:1180px){
 .r4-header .campus-link{display:inline-flex;align-items:center;gap:8px;min-height:44px}
 .r4-header .header-actions{gap:12px}
 .r4-header .header-main{gap:16px}
 .r4-primary{gap:14px}
 .r4-primary>a,.r4-group-trigger{font-size:17px}
 .r4-header .brand>span{font-size:24px}
}
