/* Shared directory shell. Reference: the audited existing brand and three-task navigation.
   Page content owns its layout; this file owns the frame and header only. */
body.site-shell > :is(header,main,footer){box-sizing:border-box;width:100%;max-width:1240px;margin-inline:auto;padding-inline:32px}
body.site-shell > header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:76px;padding-block:8px;background:#fff;border-bottom:1px solid #d5e2e3}
body.site-shell > header .brand{display:flex;align-items:center;gap:12px;min-width:0;font-size:15px;line-height:1.5;color:#103b46;text-decoration:none}
body.site-shell > header .brand .logo{width:36px;height:36px;flex:0 0 36px;padding:0}
body.site-shell > header .brand small{display:block;font-size:12px;line-height:1.5;letter-spacing:0;color:#52656c}
body.site-shell > header > nav{display:flex;align-items:center;justify-content:flex-end;gap:18px;font-size:14px;line-height:1.5;flex-wrap:nowrap}
body.site-shell > header nav > a,.site-shell.catalog-page > header nav > a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0;font-size:14px;line-height:1.5;white-space:nowrap;color:#103b46;text-decoration:none;box-shadow:none}
body.site-shell > header nav > a[aria-current=page]{color:#08776d;font-weight:650;box-shadow:inset 0 -2px #08776d}
body.site-shell > header .lang-switch{display:inline-flex;gap:4px;align-items:center;white-space:nowrap}
body.site-shell > header .language{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px;font-size:13px;line-height:1.5;border:1px solid #d5e2e3;border-radius:5px}
body.site-shell > header .language[aria-current=page]{background:#103b46;color:#fff;border-color:#103b46}
body.site-shell > main{margin-block:0}
body.site-shell > footer{padding-block:24px 40px;font-size:14px}
.site-skip{position:fixed;top:8px;inset-inline-start:16px;z-index:1000;padding:10px 16px;background:#103b46;color:#fff;transform:translateY(-160%)}
.site-skip:focus{transform:none}
.site-shell :is(a,button,input,select,summary):focus-visible{outline:3px solid #08776d;outline-offset:3px}
body.site-about .sourcing-hero{padding:30px 0 16px;margin:0;text-align:start}
body.site-about h1{font-size:30px;line-height:1.3;margin:0 0 16px;max-width:none}
body.site-about .lead{font-size:16px;line-height:1.7;max-width:800px}
@media(max-width:760px){
 body.site-shell > :is(header,main,footer){padding-inline:16px}
 body.site-shell > header{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px 0;padding-block:8px;min-height:108px}
 body.site-shell > header .brand{grid-column:1/4;grid-row:1;gap:8px;font-size:14px;line-height:1.4;max-width:none}
 body.site-shell > header .brand small{display:none}
 body.site-shell > header > nav{display:contents}
 body.site-shell > header .lang-switch{grid-column:4/7;grid-row:1;justify-self:end}
 body.site-shell > header nav > a,.site-shell.catalog-page > header nav > a{grid-row:2;font-size:14px;line-height:1.5;min-height:44px;padding:0;display:inline-flex}
 body.site-shell > header nav > a:nth-of-type(1){grid-column:1/3}
 body.site-shell > header nav > a:nth-of-type(2){grid-column:3/5}
 body.site-shell > header nav > a:nth-of-type(3){grid-column:5/7}
 body.site-shell > header .language{font-size:12px;min-width:44px;padding:6px}
 body.site-about h1{font-size:26px}
 body.site-about .sourcing-hero{padding:20px 0 12px}
 /* Keep optional filters in the document. No simulated modal or background scroll trap. */
 body.site-shell.companies-directory .browse .filter-panel[open]{position:static;inset:auto;max-height:none;width:100%;overflow:visible;box-shadow:none}
 body.site-shell.companies-directory .filter-panel[open] > summary{position:static}
 body.site-shell.companies-directory .filters{max-height:none}
 body.site-shell.companies-directory .directory-filter-actions{position:static}
}
/* Deep pages use the same mobile navigation; keep the document viewport free. */
@media(max-width:760px){
 body.site-shell>header{position:static;top:auto}
 body.site-shell>header .brand{min-height:44px;font-size:13px;overflow-wrap:anywhere}
 body.site-shell>header .language{min-width:40px;padding-inline:5px}
 body.site-shell main :is(h1,h2,h3,a,dd){overflow-wrap:anywhere}
 body.site-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}
 body.site-shell :is(.profile-head,.profile-main,.profile-aside){min-width:0}
 body.site-shell .profile-head h1{font-size:28px}
}
.site-table-scroll{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
@media(max-width:760px){.site-table-scroll{margin-block:16px}.site-table-scroll table{margin-block:0}}
