/* Shared navigation for the existing research tools; their own settings stay inside each tool. */
.tool-switcher-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:18px;background:#18212b;color:#fff;border-bottom:2px solid #a34d25;padding:18px max(16px,calc((100vw - 1160px)/2))}
.tool-switcher-header>.brand{display:block;color:#fff;text-decoration:none;font:700 21px/1.1 Georgia,serif}
.tool-switcher-header>.brand>span,.tool-switcher-header>.brand>strong{display:block;color:#e6ad8d;font:inherit}
.tool-switcher{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0}
.tool-switcher a{display:block;border:1px solid transparent;border-radius:5px;color:#fff;text-decoration:none;white-space:nowrap;padding:9px 11px;font:600 14px/1.35 Arial,Helvetica,sans-serif}
.tool-switcher a:hover{background:#33404a;border-color:#86929c}
.tool-switcher a[aria-current="page"]{background:#a34d25;border-color:#e5a17f;color:#fff;font-weight:700}
.tool-switcher-account{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;font:14px/1.35 Arial,Helvetica,sans-serif}
.tool-switcher-account a{color:#fff;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.tool-switcher-account button{border:1px solid #8d9aa3;border-radius:4px;background:transparent;color:#fff;font:14px/1.35 Arial,Helvetica,sans-serif;padding:8px 10px;white-space:nowrap;cursor:pointer}
.tool-switcher-account button:hover{background:#33404a}
.tool-switcher a:focus-visible,.tool-switcher-account a:focus-visible,.tool-switcher-account button:focus-visible{outline:2px solid #f0bd9e;outline-offset:3px}
@media(max-width:1120px){.tool-switcher-header{grid-template-columns:minmax(0,1fr) auto;gap:12px 20px}.tool-switcher{grid-row:2;grid-column:1/-1;justify-content:flex-start}.tool-switcher-account{grid-row:1;grid-column:2}}
@media(max-width:600px){.tool-switcher-header{grid-template-columns:minmax(0,1fr);gap:14px;padding:16px}.tool-switcher{grid-row:2;grid-column:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;width:100%}.tool-switcher a{font-size:13px;text-align:center;padding:10px 5px}.tool-switcher-account{grid-row:3;grid-column:1;justify-content:flex-start;gap:12px}}
@media(max-width:350px){.tool-switcher a{font-size:12px;padding-right:2px;padding-left:2px}}

/* Footer markup and visual values match dist/index.html and assets/brand.css. */
.tool-switcher-header~.site-footer{display:block;background:#18212b;color:#edf0f2;border:0;border-top:3px solid #a34d25;padding:30px 0}
.tool-switcher-header~.site-footer .footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px 32px;width:calc(100% - 112px);max-width:1200px;margin:auto;color:#cbd0d4;font-size:13px}
.tool-switcher-header~.site-footer .brand{display:flex;align-items:center;gap:0;text-decoration:none;color:#fff}
.tool-switcher-header~.site-footer .brand .brand-name{display:inline;color:#fff;font:700 19px/1.3 Georgia,'Times New Roman',serif;letter-spacing:-.2px}
.tool-switcher-header~.site-footer .footer-inner nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px;font:600 14px/1.6 Arial,Helvetica,sans-serif}
.tool-switcher-header~.site-footer .footer-inner nav a{display:inline-flex;align-items:center;min-height:40px;color:#fff;text-decoration:underline;text-decoration-color:#84909b;text-underline-offset:5px;transition:color .16s ease,text-decoration-color .16s ease}
.tool-switcher-header~.site-footer .footer-inner nav a:hover{color:#edb499;text-decoration-color:#edb499}
.tool-switcher-header~.site-footer .footer-inner nav>span{color:#cbd0d4;font-size:13px;font-weight:400;padding-left:20px;border-left:1px solid #59616a}
.tool-switcher-header~.site-footer a:focus-visible{outline:2px solid #b75c31;outline-offset:4px}
.tool-footer-help{display:flex;flex-wrap:wrap;gap:12px 24px;width:calc(100% - 112px);max-width:1200px;margin:0 auto;padding:16px 0;font:14px/1.6 Arial,Helvetica,sans-serif}
.tool-footer-help a{color:#793313;text-decoration:underline;text-underline-offset:4px}
.tool-footer-help a:focus-visible{outline:2px solid #b75c31;outline-offset:4px}
@media(max-width:1050px){.tool-switcher-header~.site-footer .footer-inner,.tool-footer-help{width:calc(100% - 64px)}}
@media(max-width:780px){.tool-switcher-header~.site-footer{padding:24px 0}.tool-switcher-header~.site-footer .footer-inner{align-items:flex-start;flex-direction:column;gap:12px}.tool-switcher-header~.site-footer .footer-inner nav{gap:8px 22px}}
@media(max-width:480px){.tool-switcher-header~.site-footer .footer-inner,.tool-footer-help{width:calc(100% - 40px)}.tool-switcher-header~.site-footer .footer-inner nav>span{flex-basis:100%;padding:5px 0 0;border:0}}
@media(prefers-reduced-motion:reduce){.tool-switcher-header~.site-footer a{transition:none}}
