/* Shared by application pages and static Learn pages. */
.edravo-return-row { box-sizing:border-box; width:100%; max-width:1280px; margin:0 auto; padding:.5rem 1rem; }
.edravo-return-link { box-sizing:border-box; display:inline-flex; align-items:center; gap:.5rem; min-height:44px; padding:0 .75rem; border:1px solid #34475c; border-radius:.375rem; background:transparent; color:#c5d1df; font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size:.8125rem; font-weight:500; line-height:1.4; text-decoration:none; transition:background-color .15s,color .15s,border-color .15s; }
.edravo-return-link svg { flex-shrink:0; width:16px; height:16px; color:#8cdeff; }
.edravo-return-link:hover { color:#eaf8ff; background:#15263a; border-color:#5283a2; }
.edravo-return-link:focus-visible { outline:2px solid #60d9ff; outline-offset:3px; }
@media(min-width:640px) { .edravo-return-row { padding-inline:2rem; } }
@media(min-width:1024px) { .edravo-return-row { padding-inline:2.25rem; } }
@media(prefers-reduced-motion:reduce) { .edravo-return-link { transition:none; } }
@media print { .edravo-return-row { display:none; } }

/* Canonical masthead shared by React routes and generated Learn documents. */
.edravo-global-header { position:sticky; top:0; z-index:40; background:#0b0e17; border-bottom:1px solid #273141; }
.edravo-masthead { box-sizing:border-box; display:grid; grid-template-columns:174px minmax(0,1fr) auto; align-items:center; column-gap:32px; width:100%; max-width:1280px; min-height:72px; margin:0 auto; padding:8px 36px; font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.edravo-masthead-brand { display:flex; align-items:center; width:174px; min-height:44px; text-decoration:none; }
.edravo-masthead-brand img { display:block; width:174px; height:auto; }
.edravo-masthead .edravo-primary-nav { display:flex; align-items:center; gap:24px; min-width:0; margin:0; padding:0; }
.edravo-masthead .edravo-primary-nav a { box-sizing:border-box; display:inline-flex; align-items:center; min-height:44px; padding:0; border-bottom:2px solid transparent; color:#fff; font-size:15px; font-weight:500; line-height:1.4; white-space:nowrap; text-decoration:none; }
.edravo-masthead .edravo-primary-nav a:hover { color:#fff; text-decoration:none; }
.edravo-masthead .edravo-primary-nav a[aria-current="page"] { color:#8cdeff; border-bottom-color:#8cdeff; }
.edravo-masthead-actions { display:flex; align-items:center; justify-content:flex-end; gap:12px; min-width:0; }
.edravo-masthead .edravo-theme-toggle { box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; flex:0 0 40px; width:40px; height:40px; min-height:40px; margin:0; padding:9px; border:1px solid #38516a; border-radius:6px; background:transparent; color:#c5d1df; line-height:1; }
.edravo-masthead .edravo-theme-toggle:hover { background:#15263a; }
.edravo-masthead .edravo-theme-toggle svg { width:20px; height:20px; flex-shrink:0; }
.edravo-masthead .edravo-account-link { box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:0 14px; border:1px solid #38516a; border-radius:6px; background:transparent; color:#fff; font-size:13px; font-weight:600; line-height:1.4; text-decoration:none; }
.edravo-masthead .edravo-account-link:hover { background:#15263a; }
.edravo-masthead :is(a,button,summary):focus-visible { outline:2px solid #60d9ff; outline-offset:3px; }
html[data-theme="light"] .edravo-global-header { background:#f7f8f5; border-color:#d5dee6; }
html[data-theme="light"] .edravo-masthead .edravo-primary-nav a { color:#142d46; }
html[data-theme="light"] .edravo-masthead .edravo-primary-nav a[aria-current="page"] { color:#126697; border-bottom-color:#126697; }
html[data-theme="light"] .edravo-masthead :is(.edravo-account-link,.edravo-theme-toggle) { color:#142d46; border-color:#a5b8c9; }
html[data-theme="light"] .edravo-masthead :is(.edravo-account-link,.edravo-theme-toggle):hover { background:#e7eff5; }
@media(max-width:999px) {
 .edravo-masthead { grid-template-columns:174px minmax(0,1fr); column-gap:16px; row-gap:0; padding:8px 32px 0; }
 .edravo-masthead .edravo-primary-nav { grid-column:1/-1; grid-row:2; justify-content:flex-start; gap:24px; }
 .edravo-masthead-actions { grid-column:2; grid-row:1; padding-bottom:8px; }
 .edravo-masthead-brand { align-self:start; }
}
@media(max-width:639px) {
 .edravo-masthead { grid-template-columns:140px minmax(0,1fr); column-gap:8px; padding:8px 16px 0; }
 .edravo-masthead-brand, .edravo-masthead-brand img { width:140px; }
 .edravo-masthead .edravo-primary-nav { justify-content:space-between; gap:12px; }
 .edravo-masthead .edravo-primary-nav a { font-size:14px; }
 .edravo-masthead-actions { gap:8px; }
 .edravo-masthead .edravo-account-link { padding-inline:10px; }
 .edravo-masthead .edravo-header-tools summary { font-size:12px; min-height:40px; padding-inline:0; }
}
@media(max-width:374px) {
 .edravo-masthead { grid-template-columns:108px minmax(0,1fr); }
 .edravo-masthead-brand, .edravo-masthead-brand img { width:108px; }
 .edravo-masthead-actions { gap:6px; }
 .edravo-masthead .edravo-account-link { padding-inline:8px; }
 .edravo-masthead .edravo-primary-nav { gap:8px; }
 .edravo-masthead .edravo-primary-nav a { font-size:13px; }
}
@media print { .edravo-global-header { display:none; } }

/* The masthead's first row scrolls away on phones; navigation stays reachable. */
@media(max-width:639px) {
 .edravo-site-header, .edravo-global-header { top:calc(-60px - env(safe-area-inset-top, 0px)); }
 .edravo-site-header:focus-within, .edravo-global-header:focus-within { top:0; }
 .edravo-masthead { grid-template-rows:52px 44px; padding-top:8px; }
 .edravo-masthead-actions { padding-bottom:0; }
}
