/* Public-only visual foundation: shared header is absent from the admin shell. */
body:has(.precision-header){--red:#ce0730;--public-red:#ce0730;--public-navy:#172131;--public-muted:#6d7888;--public-surface:#f3f5f7;--public-border:#e1e6ec;--public-radius:8px;font-size:16px;color:var(--public-navy)}
body:has(.precision-header) :is(.shell,.design-wrap,.hx-wrap){width:89%;max-width:1680px;margin-inline:auto}
body:has(.precision-header) main{min-width:0}
body:has(.precision-header) main h1{font-size:40px;line-height:1.3}
body:has(.precision-header) main :is(h1,h2,h3){color:var(--public-navy)}
body:has(.precision-header) :is(a,button,summary):focus-visible{outline:2px solid #8996a5;outline-offset:3px}
body:has(.precision-header) :is(button,input,select,textarea){font-family:inherit}
body:has(.precision-header) .share-button{width:44px;height:44px;min-height:44px;right:8px;z-index:950;box-shadow:0 4px 14px #17213118}
body:has(.precision-header) .share-panel{right:8px;top:350px;z-index:949}
body:has(.precision-header) .share-button:before{display:none}
body:has(.precision-header) .share-button-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
body.filter-drawer-open{overflow:hidden}
body.filter-drawer-open :is(.share-button,.share-panel),body.solution-modal-open :is(.share-button,.share-panel),body:has(dialog[open]) :is(.share-button,.share-panel){visibility:hidden}
@media(max-width:820px){body:has(.precision-header) .share-button{top:180px;bottom:auto;width:38px;height:38px;min-height:38px;right:4px}body:has(.precision-header) .share-panel{top:224px;bottom:auto;right:4px}}
@media(max-width:560px){body:has(.precision-header) :is(.shell,.design-wrap,.hx-wrap){width:92%}body:has(.precision-header) main h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){body:has(.precision-header) *{scroll-behavior:auto!important;transition:none!important}}
