/* Shared shell corrections, including the integrated Icons page. */
.mobile-menu-scroll,.mobile-menu-footer{display:contents}
.brand:active{background:var(--accent);color:#fff;border-radius:8px}
@media(max-width:820px){
 .js #global-controls{padding:0;gap:0;overflow:hidden}
 .js .mobile-menu-scroll{display:block;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px}
 .js .mobile-menu-footer{position:relative;display:flex;flex-shrink:0;justify-content:flex-end;padding:24px}
 .js .mobile-menu-footer::before{content:"";position:absolute;top:0;left:24px;right:24px;border-top:1px solid var(--border);pointer-events:none}
}

/* Framework V2.7: neutral secondary actions, independent of identity/link colours. */
:root{--outlined-foreground:#161616;--outlined-hover:#f3f3f3;--outlined-active:#e6e6e6}
[data-theme=dark]{--outlined-foreground:#f2f2f2;--outlined-hover:#262626;--outlined-active:#333333}
.button.outline,.button.outline:visited{background:transparent;color:var(--outlined-foreground);border-color:var(--outlined-foreground)}
.button.outline:hover:not(:disabled):not([aria-disabled=true]){background:var(--outlined-hover);color:var(--outlined-foreground);border-color:var(--outlined-foreground)}
.button.outline:active:not(:disabled):not([aria-disabled=true]){background:var(--outlined-active);color:var(--outlined-foreground);border-color:var(--outlined-foreground)}
/* Keep the independent focus outline. Pressed icon colours still follow :active. */
#theme-toggle:hover{border-color:var(--accent)}
#theme-toggle:hover:not(:active){background:var(--accent-soft);color:var(--text-body)}

/* Explicit owner choice: match the application/Icons navbar identity treatment.
   Header UI uses the system font; editorial headings retain the supplied Inter. */
.brand{gap:10px}
.brand img{width:28px;height:28px}
.brand span{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:1.25rem;font-weight:800;line-height:1.2;letter-spacing:-.03em}
@media(max-width:560px){.brand span{font-size:1.125rem}.brand img{width:26px;height:26px}}

/* V2.9: identity coordinates are gutter 24px / padding 0 / frame 28px / gap 10px.
   Mobile retains its declared gutter 24px, padding 0, frame 26px up to 560px,
   frame 28px at 561–820px and gap 10px. The 44px activation height is preserved.
   The focus indicator protrudes without moving layout or using padding. */
.brand{padding-inline:0}
.brand:focus-visible{outline-offset:7px}
/* Existing V2.8 hero presentation and surrounding protection remain unchanged. */
.system-field img{width:38%;height:auto;aspect-ratio:1;object-fit:contain;padding:0}
