/* Shared branded navigation. Page surfaces still follow the saved appearance. */
.site-header,.topbar{
  --bg:#202020;--background:#202020;--panel:#292929;--surface:#292929;
  --line:#494844;--border:#494844;--text:#f7f5f0;--ink:#f7f5f0;
  --muted:#ccc9c2;--blue:#91b0ff;
  color:var(--text);background:#202020;border-bottom:1px solid var(--line);
}
.site-header .brand,.topbar .brand{color:var(--text)}
.site-header a:hover,.topbar a:hover{color:var(--text)}
.site-header .button,.topbar .button{background:#1955f5;color:#fff;border-color:#1955f5}
.site-header .amp,.topbar .brand-amp{color:#1955f5}
.resources-nav{position:relative}
.resources-nav summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:7px;color:var(--text);white-space:nowrap}
.resources-nav summary::-webkit-details-marker{display:none}
.resources-nav summary::after{content:'⌄';font-size:15px}
.resources-nav[open] summary::after{content:'⌃'}
.resources-menu{position:absolute;right:0;top:calc(100% + 17px);min-width:185px;padding:7px;background:var(--panel);border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 30px #0004;z-index:30;display:grid;gap:1px}
.resources-menu a{margin:0;padding:10px 13px;border-radius:7px;color:var(--text);white-space:nowrap;text-decoration:none;font-size:13px}
.resources-menu a:hover{background:#343434}
.site-header summary:focus-visible{outline:2px solid var(--blue);outline-offset:5px}
