/* Header v2: load LAST, after emr-navigation.css and all skin styles. */
#emr-site-header.emr-shell{background:#fff;box-shadow:0 5px 24px #1b406510;border-bottom:1px solid #e3eaf3;backdrop-filter:none}
#emr-site-header .emr-shell-inner{display:grid;grid-template-columns:minmax(210px,1fr) auto;gap:0 24px;max-width:1240px;width:calc(100% - 48px);padding:14px 0 10px;min-height:0}
#emr-site-header .emr-shell-brand{grid-column:1;grid-row:1;font-size:20px;gap:12px;line-height:1.5}
#emr-site-header .emr-shell-brand img{width:50px;max-width:50px;height:auto;border-radius:12px}
#emr-site-header .emr-shell-brand small{font-size:11px;margin-top:2px;color:#62738a}
#emr-site-header .emr-shell-actions{grid-column:2;grid-row:1;display:flex;gap:10px;margin:0;order:initial;width:auto}
#emr-site-header .emr-shell-actions .emr-shell-action{font-size:13px;min-height:44px;padding:10px 17px;gap:8px;border-radius:12px;transition:background-color .18s,box-shadow .18s;transform:none!important;animation:none!important;position:relative}
#emr-site-header .emr-shell-actions .emr-shell-action:hover,#emr-site-header .emr-shell-actions .emr-shell-action:focus-visible{transform:none!important;background:#1055ae!important;box-shadow:0 4px 12px #176bd62b}
#emr-site-header .emr-shell-actions .emr-shell-action::before,#emr-site-header .emr-shell-actions .emr-shell-action::after{content:none!important}
#emr-site-header #emr-shell-nav{grid-column:1/-1;grid-row:2;display:flex;justify-content:space-between;align-items:center;gap:6px;width:100%;flex-basis:auto;order:initial;margin:14px 0 0;padding:5px;background:#f3f6fb;border:1px solid #e5ebf4;border-radius:14px;position:static;box-shadow:none}
#emr-site-header #emr-shell-nav>a{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:42px;padding:8px 13px;border:1px solid transparent;border-radius:10px;font-size:14px;font-weight:650;line-height:1.5;background:transparent;box-shadow:none;transform:none!important;animation:none!important;transition:background-color .18s,color .18s}
#emr-site-header #emr-shell-nav>a:visited{color:#253e60!important}
#emr-site-header #emr-shell-nav>a:hover{color:#165eb7!important;background:#fff}
#emr-site-header #emr-shell-nav>a[aria-current],#emr-site-header #emr-shell-nav>a[aria-current]:visited{background:#fff;color:#1059b4!important;border-color:#cedff4;box-shadow:0 2px 5px #183c6510;font-weight:800}
#emr-site-header #emr-shell-nav>a::before,#emr-site-header #emr-shell-nav>a::after{content:none!important}
#emr-site-header #emr-shell-nav svg{width:18px;height:18px;color:inherit}
#emr-site-header .emr-shell-toggle{display:none}
#emr-site-header a:focus-visible,#emr-site-header button:focus-visible{outline:3px solid #f2b135;outline-offset:3px}
.emr-pages .emr-v-app-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start;min-width:0}
.emr-pages .emr-v-app-pair img{width:100%;max-width:255px;height:auto;border:1px solid #e1e7f1}
.emr-pages .emr-v-app-pair a{display:block}
.emr-pages .emr-v-app-pair figcaption{font-size:12px;line-height:1.9}
.emr-pages section[id]{scroll-margin-top:160px}
@media(max-width:900px){
 #emr-site-header .emr-shell-inner{width:calc(100% - 32px);grid-template-columns:1fr auto;padding:12px 0;gap:12px}
 #emr-site-header .emr-shell-brand{font-size:18px}
 #emr-site-header .emr-shell-toggle{display:flex;grid-row:1;grid-column:2;margin:0;width:44px;height:44px;align-items:center;justify-content:center;background:#f3f6fb;color:#254462;border:1px solid #dce5f0;border-radius:12px}
 #emr-site-header .emr-shell-actions{grid-row:2;grid-column:1/-1;display:grid;grid-template-columns:.8fr 1fr 1.25fr;width:100%;gap:8px}
 #emr-site-header .emr-shell-actions .emr-shell-action{font-size:12px;padding:9px 7px;gap:6px;min-height:44px}
 #emr-site-header #emr-shell-nav{display:none;grid-row:3;grid-column:1/-1;margin:0;padding:6px;gap:6px;grid-template-columns:1fr 1fr;align-items:stretch;width:100%;border:1px solid #e5ebf4}
 #emr-site-header #emr-shell-nav.emr-is-open{display:grid;flex-direction:initial}
 #emr-site-header #emr-shell-nav>a{font-size:13px;justify-content:flex-start;white-space:normal;padding:11px 10px;min-width:0}
}
@media(max-width:380px){#emr-site-header .emr-shell-actions .emr-shell-action{font-size:10px;gap:4px}#emr-site-header .emr-shell-actions svg{width:16px;height:16px}}
@media(prefers-reduced-motion:reduce){#emr-site-header a{transition:none!important}}
