/* CAPIT shared presentation — reference: chat.capit.net, 8 November 2026.
   Only product pages with a service selector; embedded widgets keep their theme. */
body:has(header .capit-site-switcher){--accent:#116b72;background:#fff;color:#182c3a;font:16px/1.6 Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
body:has(header .capit-site-switcher) *{box-sizing:border-box}
body:has(header .capit-site-switcher)>header{display:flex!important;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:20px;width:100%!important;max-width:none;height:76px;min-height:76px;margin:0;padding:12px max(24px,calc((100vw - 1120px)/2))!important;background:#f5f7fa;border:0;position:relative;z-index:20}
body:has(header .capit-site-switcher)>header>nav{display:contents!important}
body:has(header .capit-site-switcher)>header>a:first-child{display:flex;flex:0 0 auto;align-items:center;order:0;margin:0;letter-spacing:0}
body:has(header .capit-site-switcher)>header>a:first-child img{display:block;width:94px!important;height:auto!important;object-fit:contain}
body:has(header .capit-site-switcher)>header>a:first-child:not(:has(img)){width:94px;height:50px;font-size:0;background:url('/capit-logo.jpg') center/contain no-repeat}
body:has(header .capit-site-switcher) header .capit-site-switcher{order:1;min-width:112px;margin:0;padding:0;border:0;background:transparent;flex-shrink:0}
body:has(header .capit-site-switcher) header .capit-site-switcher>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;padding:10px 14px;border:0;border-radius:9px;background:#f1f5f7;color:#304c5c;font-size:14px;font-weight:600;list-style:none;cursor:pointer}
body:has(header .capit-site-switcher) header .capit-site-switcher>summary::after{content:'⌄'}
body:has(header .capit-site-switcher) header .language-menu{order:3;margin:0 0 0 auto!important;padding:0;border:0;background:transparent;flex:0 0 auto}
body:has(header .capit-site-switcher) header .language-menu>summary{display:flex;align-items:center;justify-content:center;gap:7px;min-width:44px;height:44px;padding:8px 10px;border:0;border-radius:9px;background:#f1f5f7;color:#304c5c;font-size:14px;list-style:none;white-space:nowrap;cursor:pointer}
body:has(header .capit-site-switcher) header :is(.capit-account,.account-login,.account-menu,#login,[data-login],#account-menu){order:4;margin:0!important;flex:0 0 auto;padding:0;border:0;background:transparent}
body:has(header .capit-site-switcher) header :is(.account-login,.account-menu>summary,#login,[data-login],#account-menu>summary,.capit-account-login,.capit-account-menu>summary){display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0!important;border:0!important;border-radius:50%;font-size:0!important;background:#f1f5f7 url('/capit-member.svg') center/22px 22px no-repeat;color:#116b72;cursor:pointer}
body:has(header .capit-site-switcher) header :is(.account-login,.account-menu>summary,#account-menu>summary,.capit-account-menu>summary) :is(svg,span){visibility:hidden}
body:has(header .capit-site-switcher) header :is(.account-menu,.capit-account-menu,#account-menu)>summary::after{content:none}
body:has(header .capit-site-switcher) header details> :is(div,nav){background:#fff;border:1px solid #e0e7eb;border-radius:12px;padding:6px;box-shadow:0 12px 32px #19394c24;z-index:40;max-height:calc(100dvh - 110px);overflow-y:auto}
body:has(header .capit-site-switcher) header :is(.account-links,.capit-account-menu>div,#account-menu>div){width:264px;max-width:calc(100vw - 32px);right:0;left:auto;transform:none}
body:has(header .capit-site-switcher) header details :is(div,nav)>a{display:flex;align-items:center;padding:10px 12px;min-height:44px;border:0;border-radius:7px;font-size:14px;color:#304c5c;text-decoration:none}
body:has(header .capit-site-switcher) header details :is(div,nav)>a:is(:hover,[aria-current]){background:#e7f3f2;color:#116b72}
body:has(header .capit-site-switcher) main{max-width:1168px;margin:auto;padding:40px 24px 64px}
body:has(header .capit-site-switcher) main>.wrap{width:100%;max-width:none}
body:has(header .capit-site-switcher) :is(.hero,.home-hero,.page-head){padding:24px 0 40px;max-width:none;margin:0}
body:has(header .capit-site-switcher) h1{font-size:clamp(32px,4.5vw,54px);line-height:1.08;font-weight:730;letter-spacing:-.045em;margin:0 0 24px;color:#182c3a}
body:has(header .capit-site-switcher) :is(.hero>p,.intro,.home-lead){font-size:18px;line-height:1.7;color:#526774;max-width:840px}
body:has(header .capit-site-switcher) :is(.eyebrow,.home-kicker,.service-number,.feature-number){color:#116b72;font-size:12px!important;font-weight:750;letter-spacing:.14em}
body:has(header .capit-site-switcher) :is(.button,button:not(.visual):not(.close):not(.text-link),a.primary){border-radius:10px;min-height:44px}
body:has(header .capit-site-switcher) :is(.button,button[type=submit],#search-button,.tabs button.active,.primary){background:#116b72;color:white;border-color:#116b72}
body:has(header .capit-site-switcher) :is(.button,.primary):hover{background:#0b565d;color:white}
body:has(header .capit-site-switcher) :is(.card,.panel,.portal-tile,.home-type,.home-offer){border-color:#e0e7ec;border-radius:16px;background:#fff;box-shadow:none}
body:has(header .capit-site-switcher) :is(.portal-grid,.home-features){padding-top:24px;gap:20px}
body:has(header .capit-site-switcher) .portal-tile{padding:28px;min-height:0}
body:has(header .capit-site-switcher) .portal-tile:first-child{background:#e6f2f1;border-color:#cee3e1}
body:has(header .capit-site-switcher) .portal-tile h2{font-size:30px;line-height:1.2;letter-spacing:-.035em}
body:has(header .capit-site-switcher) .portal-tile p{font-size:16px;line-height:1.65;max-width:100%;color:#526774}
body:has(header .capit-site-switcher) :is(.portal-symbol,.portal-arrow,.home-type svg,.text-link,.library-offer strong,.card strong){color:#116b72}
body:has(header .capit-site-switcher) :is(.home-how,.home-license,.home-projects,.notice){border-color:#dfe7ec}
body:has(header .capit-site-switcher) :is(input,select,textarea){border-color:#bdced4;border-radius:8px;color:#182c3a}
body:has(header .capit-site-switcher) :is(a,button,input,select,summary):focus-visible{outline:3px solid #6bb4c5;outline-offset:3px}
body:has(header .capit-site-switcher)>footer{max-width:1168px;margin:0 auto;padding:24px;border-color:#dfe7ec;background:#fff;font-size:13px;color:#526774}
body:has(header .capit-site-switcher) .jeanne-trigger{font-size:14px;padding:12px 18px;min-height:44px;border-radius:12px;right:20px;bottom:20px;box-shadow:0 4px 16px #182c3a16}
@media(max-width:760px){body:has(header .capit-site-switcher)>header{gap:10px;flex-wrap:wrap;height:auto;min-height:68px;padding:12px 20px!important}body:has(header .capit-site-switcher)>header>a:first-child img{width:84px!important}body:has(header .capit-site-switcher)>header>a:first-child:not(:has(img)){width:84px;height:44px}body:has(header .capit-site-switcher) header .capit-site-switcher{min-width:100px}body:has(header .capit-site-switcher) header .capit-site-switcher>summary{padding:10px 12px;gap:12px}body:has(header .capit-site-switcher) main{padding:28px 20px 64px}body:has(header .capit-site-switcher) :is(.hero,.home-hero,.page-head){padding:4px 0 24px}body:has(header .capit-site-switcher) :is(.hero>p,.intro,.home-lead){font-size:16px}body:has(header .capit-site-switcher) .portal-tile{padding:22px}body:has(header .capit-site-switcher) .portal-grid{grid-template-columns:1fr}body:has(header .capit-site-switcher) header .language-menu .language-code{display:none}}
@media(max-width:360px){body:has(header .capit-site-switcher)>header{padding:12px 14px!important;gap:8px}body:has(header .capit-site-switcher)>header>a:first-child img{width:70px!important}body:has(header .capit-site-switcher)>header>a:first-child:not(:has(img)){width:70px}body:has(header .capit-site-switcher) header .capit-site-switcher{min-width:88px}body:has(header .capit-site-switcher) header .capit-site-switcher>summary{padding:10px;gap:8px}body:has(header .capit-site-switcher) header .language-menu>summary{padding:8px;max-width:44px;overflow:hidden}}
body:has(header .capit-site-switcher)>header>nav>a:not(.account-login):not(#login):not([data-login]){order:2;padding:12px 14px;border:0;border-radius:9px;font-size:14px;color:#304c5c;text-decoration:none;min-height:44px}
body:has(header .capit-site-switcher) .hero>p:first-child:not(.lead){color:#116b72;font-size:12px;font-weight:750;letter-spacing:.14em;margin:0 0 18px}
@media(max-width:760px){body:has(header .capit-site-switcher)>header>nav>a:not(.account-login):not(#login):not([data-login]){order:5;flex-basis:100%;text-align:center;border-top:1px solid #e5ebef;border-radius:0;padding:10px}}
body:has(header .capit-site-switcher) header details :is(div,nav)>a{gap:12px}
body:has(header .capit-site-switcher) .actions .button:not(.primary){background:#fff;color:#116b72;border:1px solid #bdced4}
/* CAPIT account labels: user's Chatbot requirements, 2026-11-08. */
body:has(header .capit-site-switcher) header :is(.capit-account,.account-login,.account-menu,#login,[data-login],#account-menu){order:2;margin:0 0 0 auto!important}
body:has(header .capit-site-switcher) header .language-menu{order:3;margin:0!important}
body:has(header .capit-site-switcher) header :is(.account-login,.account-menu>summary,#login,[data-login],#account-menu>summary,.capit-account-login,.capit-account-menu>summary){width:auto!important;min-width:44px;gap:6px;padding:8px 10px!important;border-radius:9px;font-size:14px!important;line-height:1.2;white-space:nowrap;background:#f1f5f7!important}
body:has(header .capit-site-switcher) header :is(.account-login,.account-menu>summary,#account-menu>summary,.capit-account-menu>summary) :is(svg,span){visibility:visible!important}
@media(max-width:760px){body:has(header .capit-site-switcher)>header{gap:6px}body:has(header .capit-site-switcher)>header>a:first-child img{width:60px!important}body:has(header .capit-site-switcher) header .capit-site-switcher{min-width:0}body:has(header .capit-site-switcher) header .capit-site-switcher>summary{font-size:12px;gap:6px;padding:8px}body:has(header .capit-site-switcher) header :is(.account-login,.account-menu>summary,#login,[data-login],#account-menu>summary,.capit-account-login,.capit-account-menu>summary){font-size:12px!important;padding:8px!important}body:has(header .capit-site-switcher) header :is(.account-login,.account-menu>summary,#account-menu>summary) svg{width:14px;height:14px}}
@media(max-width:379px){body:has(header .capit-site-switcher)>header{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;row-gap:8px}body:has(header .capit-site-switcher)>header>a:first-child{grid-column:1;grid-row:1}body:has(header .capit-site-switcher) header .capit-site-switcher{grid-column:2/-1!important;grid-row:1!important;justify-self:start}body:has(header .capit-site-switcher) header :is(.capit-account,.account-login,.account-menu,#login,[data-login],#account-menu){grid-column:2!important;grid-row:2!important;justify-self:end}body:has(header .capit-site-switcher) header .language-menu{grid-column:3!important;grid-row:2!important;justify-self:end}}
/* Countries keeps its catalogue tools on their own row, after the common header. */
body.countries-site:has(header .capit-site-switcher)>header{height:auto;flex-wrap:wrap}
body.countries-site header .countries-service-links{order:5;flex:0 0 100%;width:100%;display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:8px 0 0;border-top:1px solid #e5ebef}
body.countries-site header .countries-service-links a{font-size:14px;padding:10px 12px;color:#304c5c;border:0;border-radius:9px;text-decoration:none}
body.countries-site header .countries-service-links a[aria-current]{color:#116b72;background:#e7f3f2}
body.countries-site main h1{color:#182c3a}
@media(max-width:379px){body.countries-site header .countries-service-links{grid-column:1/-1;grid-row:3}}
