/* Shared site header contract. Keep module styling outside this component. */
.crew-header{font-family:var(--crew-font,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif);font-size:16px;line-height:1.25;min-height:100px;padding:20px 4.6%;box-sizing:border-box}
.crew-header .crew-brand>img{width:64px;height:64px;object-fit:contain;flex:none}
.crew-header .crew-brand-copy strong{font-size:26px;line-height:1.25;font-weight:650;letter-spacing:-1.1px}
.crew-header .crew-brand-copy>span{font-size:14px;line-height:1.25}
.crew-header .crew-switcher>summary{font-size:15px;line-height:20px;padding:15px 19px;min-height:52px;box-sizing:border-box}
.crew-header .crew-account>summary,.crew-header .crew-help{font-size:14px;line-height:20px}
.crew-header .crew-avatar{width:44px;height:44px;flex:none}
.crew-header :is(.crew-switcher-menu,.crew-account-menu){font-size:14px;line-height:1.4}
@media(max-width:1499px){.crew-header .crew-brand-copy strong{font-size:23px}}
@media(max-width:620px){.crew-header{padding:16px 20px}.crew-header .crew-brand>img{width:42px;height:42px}.crew-header .crew-brand-copy strong{font-size:20px;letter-spacing:-.7px}.crew-header .crew-brand-copy>span{font-size:10px}}
@media(max-width:620px){.crew-header .crew-brand-copy strong{font-size:19px}}
@media(max-width:360px){.crew-header{padding:14px 16px}.crew-header .crew-brand-copy strong{font-size:17px}.crew-header .crew-brand-copy>span{font-size:8px}.crew-header .crew-brand>img{width:34px;height:34px}}

/* One shared account menu; school administration remains permission-controlled. */
.crew-header .crew-header-actions{justify-content:flex-end;gap:16px}
.crew-header .crew-account-menu{width:300px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 180px);overflow-y:auto;overscroll-behavior:contain}
.crew-header .crew-account-group{border-top:1px solid var(--crew-line);margin-top:10px;padding-top:8px}
.crew-header .crew-account-group-label{display:block;padding:8px 10px 4px;color:var(--crew-muted);font-size:11px;font-weight:650;letter-spacing:1px;text-transform:uppercase}
.crew-header .crew-account-menu a{display:block;border:0;padding:10px;margin:0;min-height:44px;border-radius:6px}
.crew-header .crew-account-menu a:hover,.crew-header .crew-account-menu button:hover{background:#f3f5f8}
@media(max-width:800px){.crew-header .crew-header-actions{width:100%;justify-content:space-between}.crew-header .crew-help{display:inline-flex;font-size:13px}.crew-header .crew-account summary>span{display:inline-block}.crew-header .crew-account summary>.crew-avatar{display:grid}.crew-header .crew-account>summary{gap:10px}.crew-header .crew-account-menu{max-height:calc(100dvh - 240px)}}
.crew-header:has(details[open]){z-index:110}
