.na-install-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem 1rem;background:var(--card,#fff);color:var(--text,#10263e);border-bottom:1px solid var(--line,#c7dadd)}
.na-install-header>a{color:inherit;font-weight:800;text-decoration:none}.na-install-header-host{flex-wrap:wrap;gap:.65rem}
.na-install-top-button{display:inline-flex!important;flex:0 0 auto;align-items:center;justify-content:center;gap:.4rem;min-height:44px;padding:.55rem .75rem;border:1px solid var(--line,#b9cfd4);border-radius:.7rem;background:var(--card,#fff);color:var(--text,#10263e);font-family:inherit;font-size:.9rem;font-weight:600;line-height:1.2;cursor:pointer;white-space:nowrap;text-decoration:none}
.na-install-top-button[hidden]{display:none!important}.na-install-top-button svg{width:18px;height:18px;flex-shrink:0}
.na-install-dialog{box-sizing:border-box;width:min(500px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:1.5rem;border:1px solid var(--line,#b9cfd4);border-radius:1.25rem;background:var(--card,#fff);color:var(--text,#10263e);font:1rem/1.6 system-ui,-apple-system,sans-serif;box-shadow:0 24px 80px #00152755}
.na-install-dialog::backdrop{background:#081e32b8}.na-install-dialog .na-install-mark{width:48px;height:48px;margin-bottom:.5rem}.na-install-dialog h2{margin:.25rem 0 .5rem;line-height:1.2}.na-install-dialog ol{padding-left:1.4rem}.na-install-dialog li{margin:.65rem 0}.na-install-actions{display:flex;gap:.7rem;flex-wrap:wrap}.na-install-dialog button{font:inherit;min-height:44px;padding:.6rem 1rem;border:1px solid var(--line,#b9cfd4);border-radius:.65rem;cursor:pointer}.na-install-primary{background:#10263e;color:#fff}.na-install-secondary,.na-install-close{background:var(--card,#fff);color:var(--text,#10263e)}.na-install-close{margin-top:.6rem}.na-install-note{font-size:.85rem;line-height:1.5}.na-install-open{overflow:hidden}.na-install-dialog button:focus-visible,.na-install-top-button:focus-visible{outline:3px solid #168d94;outline-offset:3px}
html[data-theme=dark] .na-install-dialog{background:#142b3b;color:#edf8fa;border-color:#527483}html[data-theme=dark] .na-install-top-button{background:#142b3b;color:#edf8fa}
@media(max-width:600px){.ss-header-inner.na-install-header-host{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.ss-header-inner.na-install-header-host>.ss-brand{min-width:0;flex:1 1 130px}.ss-header-inner.na-install-header-host>.ss-brand small{display:none}.ss-header-inner.na-install-header-host>.ss-nav{order:3;flex:1 0 100%}.na-install-top-button{padding:.5rem .65rem;font-size:.85rem}.na-install-dialog{padding:1.2rem}.na-install-dialog button{flex:1 1 120px}}
@media(display-mode:standalone){.na-install-top-button{display:none!important}}

.ss-page .na-install-top-button{font-family:inherit;font-size:.9rem;font-weight:600;line-height:1.2;padding:.55rem .75rem}
@media(max-width:600px){.ss-page .na-install-top-button{font-size:.85rem;padding:.5rem .65rem}}
@media(max-width:360px){.ss-header-inner.na-install-header-host>.ss-brand{font-size:18px}.ss-header-inner.na-install-header-host>.ss-brand img{width:28px;height:28px}.ss-page .na-install-top-button,.na-install-top-button{font-size:.8rem;padding:.5rem}}

.na-install-header-host .na-install-top-button{order:1}.na-install-header-host{align-items:center}.na-install-header-host #studentUpdatesBell{margin-left:0}
/* One quiet header; the full tool list lives behind Menu. */
.na-compact-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center!important;gap:10px!important;flex-wrap:nowrap!important;padding:16px 24px!important}
.na-compact-header>.na-compact-brand{grid-column:1;grid-row:1;min-width:0!important;margin:0!important;flex:none!important;width:auto!important;justify-self:start}
.na-compact-header>.na-header-study{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;border:1px solid #729bbb;border-radius:11px;background:#204b6c;color:#edf8ff!important;font:700 14px/1.25 system-ui;text-decoration:none;text-align:center}
.na-compact-header>#studentUpdatesBell{grid-column:3;grid-row:1;margin:0!important}
.na-compact-header>.na-header-menu{grid-column:4;grid-row:1;margin:0!important;position:relative;z-index:70}
.na-header-menu>summary{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 12px;border:1px solid #587f9e;border-radius:11px;background:#173955;color:#e9f5ff;cursor:pointer;font:700 14px/1.25 system-ui;list-style:none}
.na-header-menu>summary::-webkit-details-marker{display:none}.na-header-menu>summary::marker{content:''}
.na-header-menu[open]>summary{background:#285b80;border-color:#b6e5ff}
.na-compact-header .na-header-panel{position:absolute!important;top:calc(100% + 12px)!important;right:0!important;left:auto!important;width:min(300px,calc(100vw - 24px))!important;max-height:calc(100dvh - 110px);overflow:auto;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:3px!important;padding:10px!important;background:#102c46!important;color:#eaf7ff!important;border:1px solid #6e9cbd!important;border-radius:16px;box-shadow:0 18px 50px #020c1d66;backdrop-filter:blur(12px);z-index:100}
.na-header-menu:not([open])>.na-header-panel{display:none!important}
.na-compact-header .na-header-panel>a,.na-compact-header .na-header-panel>.na-install-top-button{display:flex;align-items:center;min-height:44px;padding:11px 14px!important;margin:0!important;border-radius:9px;font:650 14px/1.4 system-ui!important;color:#e5f5ff!important;text-decoration:none;background:transparent!important;border:1px solid transparent!important;white-space:normal}
.na-compact-header .na-header-panel>a:hover,.na-compact-header .na-header-panel>a:focus-visible{background:#234c6c!important}
.na-compact-header .na-header-panel>.na-install-top-button{justify-content:flex-start!important;border-top:1px solid #486b86!important;border-radius:0 0 9px 9px!important}
.na-compact-header .na-header-panel>.na-install-top-button[hidden]{display:none!important}
.na-compact-header .na-header-panel .na-app-refresh-group{margin:3px 0 0!important;display:flex!important;align-items:stretch!important;flex-direction:column!important}
.na-compact-header .na-header-panel .na-app-refresh-button{justify-content:flex-start;width:100%;min-height:44px;background:#1c405e!important;color:#e9f5ff!important}
.na-compact-header>nav,.na-compact-header>.mobile-actions{display:none!important}
.na-compact-header .na-compact-brand .brand-symbol{flex:none}
.na-compact-header .na-compact-brand .brand-word{font-size:inherit;line-height:1.2}
.na-compact-header .na-compact-brand small{display:block!important;font:600 10px/1.4 system-ui;letter-spacing:0;color:#c4e6fb!important;white-space:normal}
.na-brand-k{position:relative;display:inline-block}.na-brand-hat{display:none;pointer-events:none}
html[data-nurseark-season=christmas] .na-brand-hat{display:block;position:absolute;width:31px;height:25px;right:-16px;top:-15px;transform:rotate(10deg);overflow:visible}
.na-compact-header :is(a,summary,button):focus-visible{outline:3px solid #bde7ff;outline-offset:3px}
.na-compact-header>.na-header-update{grid-column:1/-1;grid-row:2;display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;padding:9px 14px;border:1px solid #a8ddff!important;border-radius:10px;background:#24577e!important;color:#f0faff!important;font:750 13px/1.4 system-ui;cursor:pointer}
.na-compact-header>.na-header-update[hidden]{display:none!important}
/* Keep the site menu above course readers and translucent lesson cards. */
:is(.account-header,.ss-header,.sitebar):has(.na-compact-header){position:relative;z-index:200;isolation:isolate;overflow:visible}
.account-header:has(.na-compact-header){padding:0}
.na-compact-header .logo{display:block!important}
.na-compact-header .na-header-panel{max-width:calc(100vw - 24px)!important}
@media(max-width:600px){
 .na-compact-header{padding:13px 12px!important;gap:7px!important}
 .na-compact-header .na-compact-brand{font-size:20px!important;line-height:1.2}
 .na-compact-header .ss-brand>img,.na-compact-header .brand-symbol{display:none!important}
 .na-compact-header .na-compact-brand,.na-compact-header .ss-brand>span:not(.na-season-mark),.na-compact-header .brand-word{white-space:nowrap}
 .na-compact-header .na-compact-brand :is(img,.brand-symbol svg){width:29px!important;height:29px!important}
 .na-compact-header .ss-brand{gap:7px!important}
 .na-compact-header .na-compact-brand small{font-size:8px!important;line-height:1.3}
 html[data-nurseark-season=christmas] .na-compact-header .na-season-mark{font-size:15px!important;margin-left:3px}
 .na-compact-header>.na-header-study{font-size:12px;padding:8px;max-width:72px}
 .na-header-menu>summary{font-size:12px;padding:9px 8px;gap:4px}
 .na-compact-header>#studentUpdatesBell{width:44px!important;min-width:44px!important;min-height:44px!important;padding:10px!important}
}
@media(max-width:359px){.na-compact-header{gap:5px!important;padding-inline:9px!important}.na-compact-header .na-compact-brand{font-size:18px!important}.na-compact-header .ss-brand>img,.na-compact-header .brand-symbol{display:none!important}.na-header-menu>summary{font-size:0;gap:0;width:44px}.na-header-menu>summary>span{font-size:18px}}
.na-study-guides-link{display:inline-flex;align-items:center;min-height:44px;padding:9px 11px;border-radius:9px;color:inherit;font:700 14px/1.4 system-ui;text-decoration:none}.na-install-header-host{flex-wrap:wrap}.na-install-header-host nav{flex-wrap:wrap}
@media(max-width:480px){.ss-header-inner.na-install-header-host>.ss-brand,.account-header .na-install-header-host>.logo,.sitebar .na-install-header-host>.brand-link{flex:1 1 100%}.na-install-header-host .na-install-top-button{margin-right:auto}.na-install-header-host #nurseark-theme-toggle{margin-left:0!important}.na-install-header-host nav{order:3;width:100%}}

