/* One stable search layout from the first page load. */
html{scrollbar-gutter:stable}
.app-frame{margin-left:0;min-height:100dvh;display:flex;flex-direction:column}.app-frame>.main{width:100%;max-width:var(--masthead-width);margin:0 auto;flex:1;padding:30px var(--masthead-gutter) 40px}.app-frame>.footer{width:calc(100% - var(--masthead-gutter) * 2);max-width:calc(var(--masthead-width) - var(--masthead-gutter) * 2);margin:0 auto;flex-shrink:0}
:root{--masthead-width:1160px;--masthead-gutter:38px;--masthead-height:84px;--wordmark-size:26px}
.site-topbar{display:block;min-height:0;height:auto;padding:0;border-bottom:1px solid var(--line);background:var(--surface);flex-shrink:0}
.site-topbar-inner{width:min(var(--masthead-width),100%);min-height:calc(var(--masthead-height) - 1px);margin:0 auto;padding:0 var(--masthead-gutter);display:flex;align-items:center;gap:28px}
.header-brand,.search-wordmark{display:flex;align-items:center;gap:9px;flex-shrink:0;font:700 var(--wordmark-size)/1 Geist,Arial,sans-serif;letter-spacing:-.8px;color:var(--brand);min-height:44px;justify-self:start}.header-brand img,.search-wordmark .brand-mark{display:block;width:29px;height:29px;padding:4px;border-radius:5px;background:#292D32;object-fit:contain}
.search-shell{width:min(var(--masthead-width),100%);padding:0 var(--masthead-gutter)}.search-masthead{min-height:var(--masthead-height)}
.top-menu{display:flex;align-items:center;gap:3px;margin-left:auto}.top-menu .nav-item{color:var(--muted);padding:10px 13px;white-space:nowrap;font-size:12px;min-height:44px;border-radius:5px;position:relative}.top-menu .nav-item:hover{color:var(--brand);background:var(--hover)}.top-menu .nav-item.active{background:var(--chip);color:var(--chip-ink)}.site-topbar .topbar-tools{margin-left:0;padding-left:13px;border-left:1px solid var(--line)}
.home-frame>.main{display:flex;flex-direction:column;padding-top:0;padding-bottom:0}.home-search-page{display:flex;flex-direction:column;flex:1;min-width:0}#home-search-root{display:flex;flex:1;min-width:0;width:100%}.search-shell.search-home{width:100%;min-height:0;margin:0;padding:0;flex:1}.search-home .search-masthead,.search-home .search-footer{display:none}.home-reference{margin:0 0 18px;font-size:10px;line-height:1.7;color:var(--muted)}.home-reference a{text-decoration:underline;text-underline-offset:3px}
.toast{left:50%}.site-topbar .topbar-tools .icon-button{font-size:11px;min-width:48px;background:transparent;border:0}
@media(max-width:1100px){.site-topbar-inner{gap:18px}.top-menu .nav-item{padding:10px;font-size:11px}.app-frame>.main{padding:26px var(--masthead-gutter)}.home-frame>.main{padding-top:0;padding-bottom:0}}
@media(max-width:900px){.site-topbar-inner{display:grid;grid-template-columns:1fr auto;grid-template-rows:calc(var(--masthead-height) - 1px) auto;gap:0 16px}.site-topbar .topbar-tools{grid-column:2;grid-row:1;padding-left:0;border:0}.top-menu{grid-column:1/-1;grid-row:2;display:flex;width:100%;overflow-x:auto;scrollbar-width:none;margin:0;gap:1px;padding:1px 0 6px;justify-content:flex-start}.top-menu::-webkit-scrollbar{display:none}.top-menu .nav-item{min-height:44px;padding:10px 11px;font-size:11px}.app-frame>.main{padding:24px var(--masthead-gutter) 32px}.app-frame>.footer{font-size:10px;gap:8px;flex-wrap:wrap}.footer-links{gap:14px}.home-frame>.main{padding-top:0;padding-bottom:0}.home-reference{font-size:9px;margin-bottom:15px}}
@media(max-width:370px){:root{--masthead-gutter:12px}.top-menu .nav-item{padding-left:9px;padding-right:9px}}

@media print{.site-topbar,.home-reference{display:none!important}.app-frame>.main{padding:0}}

@media(max-width:760px){:root{--masthead-gutter:18px;--masthead-height:64px;--wordmark-size:23px}}
@media(max-width:370px){:root{--masthead-gutter:12px}}

/* Visible responsibility note shared by every page and search overlay. */
.app-frame>.footer,.search-footer{flex-wrap:wrap;row-gap:8px}
.intended-use-note{flex:0 0 100%;font-size:11px;line-height:1.7;color:var(--muted);margin:0 0 5px;text-align:left}
@media(max-width:760px){.intended-use-note{font-size:11px;line-height:1.65}}

.feedback-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:7px;font-size:11px;font-weight:550;color:var(--brand);background:var(--surface);white-space:nowrap}
.feedback-button:hover{background:var(--chip);border-color:var(--accent)}
.site-topbar .topbar-tools{gap:8px;flex-shrink:0}
.tool-source-line{font-size:11px!important;line-height:1.65!important;color:var(--muted);margin:12px 0 0!important;overflow-wrap:anywhere}
.tool-source-line>span{font-weight:600}.tool-source-line a{color:var(--brand);text-decoration:underline;text-underline-offset:3px}
#op-visible-source .tool-source-line{margin:0 0 14px!important}
@media(max-width:480px){.site-topbar-inner{column-gap:8px}.feedback-button{padding:8px;font-size:10px}.site-topbar .topbar-tools{gap:2px}}
