/* Shared website navigation: same geometry and links on every page. */
.shared-header,.shared-footer{font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;font-size:14px;font-weight:500;color:var(--color-text);box-sizing:border-box}
.shared-header{width:min(1120px,calc(100% - 40px));margin:0 auto;padding:28px 0;display:flex;align-items:center;justify-content:space-between;gap:24px}
.shared-brand{display:inline-flex;align-items:center;gap:12px;font-size:17px;font-weight:600;flex-shrink:0}
.shared-brand img{display:block;width:44px;height:44px}
.shared-header nav,.shared-footer nav{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 20px}
.shared-header a,.shared-footer a{color:inherit;text-decoration:none;line-height:1.5}
.shared-header nav a,.shared-footer nav a{display:inline-flex;align-items:center;min-height:44px}
.shared-header a:hover,.shared-footer a:hover,.shared-header [aria-current],.shared-footer [aria-current]{text-decoration:underline;text-underline-offset:5px}
.shared-header a:focus-visible,.shared-footer a:focus-visible{outline:2px solid currentColor;outline-offset:5px;border-radius:4px}
.shared-footer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;min-height:292px;padding:40px 20px;color:var(--color-text)}
.shared-credit{display:inline-flex;align-items:center;gap:7px;min-height:44px}
.shared-credit img{display:block;width:62px;height:auto;opacity:.68}
html[data-theme="dark"] .shared-credit img{filter:invert(1)}
@media(max-width:767px){.shared-header{flex-direction:column;align-items:flex-start;gap:12px;padding:20px 0}.shared-header nav{justify-content:flex-start;gap:0 18px}.shared-footer{min-height:0;padding:40px 20px 56px}.shared-footer nav{gap:4px 18px}}
.shared-footer .shared-credit{color:var(--color-text-muted,var(--color-text))}
.shared-menu summary{display:none;cursor:pointer;list-style:none;min-height:44px;align-items:center;justify-content:center;gap:12px;padding:8px 16px;border:1px solid var(--color-border-subtle);border-radius:var(--radius-control,16px);font-weight:600}
.shared-menu summary::-webkit-details-marker{display:none}
.shared-menu summary:focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(min-width:768px){.shared-menu:not([open]) nav{display:flex}}
@media(max-width:767px){
 .shared-header{flex-direction:row;align-items:center;position:relative;gap:16px;flex-wrap:wrap}
 .shared-menu{margin-left:auto}
 .shared-menu summary{display:flex}
 .shared-menu[open] summary span{transform:rotate(180deg)}
 .shared-menu nav{position:absolute;top:calc(100% - 8px);left:0;right:0;z-index:100;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:12px;background:var(--color-page-bg);border:1px solid var(--color-border-subtle);border-radius:var(--radius-control,16px);box-shadow:0 16px 32px rgba(0,0,0,.16)}
 .shared-menu nav a{padding:10px 14px;min-height:48px}
 .shared-menu nav a[aria-current]{font-weight:600}
}
