/* Shared navigation, independent of immutable report styles. */
.product-header{display:block!important;min-height:0!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;border-bottom:1px solid #e9dce4!important;border-radius:0!important;box-shadow:none!important;}
.product-header-inner{box-sizing:border-box;max-width:1360px;margin:0 auto;padding:18px 28px;display:flex;align-items:center;justify-content:space-between;gap:24px;}
.product-header .brand{display:block;flex:0 1 260px;min-width:160px;text-decoration:none;}
.product-header .brand img{display:block;width:100%;max-width:260px;height:auto;}
.product-header .product-nav{display:flex!important;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:0!important;padding:0!important;border:0!important;background:none!important;}
.product-header .account-link,.product-header .logout-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;margin:0;border:1px solid #e8d8e2;border-radius:999px;background:#fff;color:#9c2e64;font:700 14px/1.25 system-ui,-apple-system,sans-serif;text-decoration:none;white-space:nowrap;}
.product-header .account-link:hover,.product-header .logout-button:hover{background:#f6edf2;border-color:#cc8dab;}
.product-header .account-link[aria-current="page"]{background:#9c2e64;border-color:#9c2e64;color:#fff;}
.product-header .product-account{width:44px;padding:8px;font-size:22px;}
.product-header .logout-form{display:block;margin:0;padding:0;}
.product-header .logout-button{cursor:pointer;font-weight:600;background:#fbf7f9;}
.product-header :is(a,button):focus-visible,.product-editions select:focus-visible{outline:3px solid #c48a36;outline-offset:3px;}
body:has(>.product-header){max-width:none!important;margin:0!important;padding:0!important;}
body:has(>.product-header)>#marktstarterin-live{box-sizing:border-box;max-width:1360px;margin:0 auto;padding:30px 28px;}
body:has(>.product-header) .web-product-header,body:has(>.product-header) .host-toolbar{display:none!important;}
/* Hide retired report PDF controls before deferred navigation starts. */
body:has(>.product-header) #marktstarterin-live :is(#download-report-pdf,#pdf-download-status,.export-toolbar){display:none!important;}
body:has(>.product-header) .web-head{align-items:flex-start;gap:24px;}
body:has(>.product-header) .web-head .web-brand{color:#392b35;text-decoration:none;}
body:has(>.product-header) .web-head h1{font-size:clamp(26px,3vw,38px);font-weight:700;margin:0 0 8px;}
.product-report-subtitle{margin:0 0 12px;color:#73686f;font-size:16px;line-height:1.5;}
.product-editions{box-sizing:border-box;display:flex;align-items:center;justify-content:flex-end;gap:10px;max-width:1360px;margin:0 auto;padding:16px 28px;color:#685b64;font:500 14px/1.4 system-ui,-apple-system,sans-serif;}
.product-editions label{white-space:nowrap;}
.product-editions select{box-sizing:border-box;min-height:44px;width:230px;max-width:100%;padding:9px 34px 9px 12px;border:1px solid #d5b2c7;border-radius:8px;background:#fff;color:#392b35;font:600 15px/1.3 system-ui,-apple-system,sans-serif;cursor:pointer;}
.web-download .product-editions{padding:0;margin:12px 0 0;flex-wrap:wrap;gap:6px 10px;}
.web-download .product-editions label{font-size:13px;}
@media(min-width:901px){body:has(>.product-header) .web-head .web-brand{max-width:70%;}body:has(>.product-header) .web-download{min-width:240px;}}
@media(max-width:1000px){.product-header-inner{flex-direction:column;align-items:stretch;gap:16px;}.product-header .brand{flex:none;align-self:center;width:220px;}.product-header .product-nav{justify-content:center;}}
@media(max-width:600px){.product-header-inner{padding:16px;gap:14px;}.product-header .brand{width:200px;}.product-header .product-nav{gap:6px;}.product-header .account-link,.product-header .logout-button{font-size:13px;padding:10px 11px;}.product-header .product-account{font-size:22px;padding:8px;}body:has(>.product-header)>#marktstarterin-live{padding:22px 16px;}.product-editions{padding:12px 16px;justify-content:flex-start;flex-wrap:wrap;}.product-editions select{width:100%;}.web-download .product-editions{justify-content:flex-start;}.web-download .product-editions label{display:block;width:100%;}body:has(>.product-header) .web-head .web-brand{width:100%;}.product-report-subtitle{font-size:15px;}}
@media(max-width:760px){
 body:has(>.product-header) #marktstarterin-live .web-head{flex-direction:column;align-items:stretch;}
 body:has(>.product-header) #marktstarterin-live .web-brand{width:100%;max-width:none;}
 body:has(>.product-header) #marktstarterin-live .web-download{width:100%;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;}
 body:has(>.product-header) #marktstarterin-live .product-editions{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;margin:0;}
 body:has(>.product-header) #marktstarterin-live .product-editions label{width:auto;}
}
@media print{.product-header,.product-editions,.product-report-subtitle{display:none!important;}body:has(>.product-header)>#marktstarterin-live{padding:0;max-width:none;}}

/* Account actions belong to the emoji disclosure, not the main tool row. */
.product-nav{position:relative;}
details.product-account-menu{position:static;margin:0;padding:0;border:0;background:transparent;box-shadow:none;}
.product-account-menu>summary.product-account{cursor:pointer;list-style:none;margin:0;}
.product-account-menu>summary::-webkit-details-marker{display:none;}
.product-account-menu>summary::before,.product-account-menu>summary::after{display:none!important;}
.product-account-menu>summary:focus-visible{outline:3px solid #c48a36;outline-offset:3px;}
.product-account-menu[open]>summary.product-account{background:#f6edf2;border-color:#9c2e64;}
.product-account-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:1000;box-sizing:border-box;width:190px;max-width:100%;padding:8px;border:1px solid #d5b2c7;border-radius:14px;background:#fff;box-shadow:0 8px 24px #392b3526;}
.product-account-panel .account-link,.product-account-panel .logout-button{display:flex;width:100%;justify-content:flex-start;border:0;border-radius:8px;padding:12px;font:600 14px/1.4 system-ui,-apple-system,sans-serif;color:#9c2e64;text-decoration:none;background:#fff;}
.product-account-panel .logout-form{margin:4px 0 0;border-top:1px solid #e9dce4;padding-top:4px;}
.product-account-panel .account-link:hover,.product-account-panel .logout-button:hover{background:#f6edf2;}
.password-nav{position:relative;}

/* Compact shared tool navigation; touch targets remain at least 44px high. */
.product-header-inner{padding:12px 24px;gap:18px;}
.product-header .brand{flex:0 0 205px;min-width:140px;}
.product-header .brand img{max-width:205px;}
.product-header .product-nav{gap:5px;}
.product-header .account-link,.product-header .logout-button{padding:8px 11px;font-size:12px;min-height:44px;}
.product-header .product-account{width:40px;font-size:20px;padding:7px;}
@media(max-width:1000px){.product-header-inner{gap:10px;}.product-header .brand{flex:none;width:180px;}.product-header .product-nav{gap:4px;}}
@media(max-width:600px){.product-header-inner{padding:11px 12px;}.product-header .brand{width:160px;}.product-header .account-link,.product-header .logout-button{font-size:11px;padding:7px 9px;}.product-header .product-account{font-size:20px;padding:7px;}}

/* Reference layout: logo left, the existing menu beside it in one sticky row. */
:root{--platform-nav-height:0px;scroll-padding-top:calc(var(--platform-nav-height) + 12px);}
:root:has(body>.product-header){--platform-nav-height:92px;}
[id]{scroll-margin-top:8px;}
.product-header{position:sticky!important;top:0;z-index:100;isolation:isolate;background:#fff!important;}
.product-header-inner{position:relative;min-height:90px;padding:12px 24px;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;}
.product-header .brand{display:block;flex:0 0 205px;width:205px;min-width:0;align-self:center;}
.product-header .brand img{display:block;width:100%;max-width:205px;height:auto;}
.product-nav-scroll{flex:1 1 auto;min-width:0;padding:3px 2px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#d5b2c7 #fff;}
.product-nav-scroll::-webkit-scrollbar{height:4px;}
.product-nav-scroll::-webkit-scrollbar-thumb{border-radius:4px;background:#d5b2c7;}
.product-header .product-nav{width:max-content;min-width:100%;justify-content:flex-end;flex-wrap:nowrap;gap:5px;}
.product-header .product-link{flex:0 0 auto;font-size:12px;}
.product-header .product-account-menu{position:relative;flex:0 0 auto;}
.product-header .product-account{width:44px;height:44px;min-width:44px;}
.product-account-panel{max-width:calc(100vw - 24px);}
:is(.skip,.analystin-skip):focus{z-index:101;}
@media(max-width:1100px){
 :root:has(body>.product-header){--platform-nav-height:73px;}
 .product-header-inner{min-height:72px;padding:8px 20px;gap:10px;}
 .product-header .brand{flex-basis:150px;width:150px;}
 .product-header .brand img{max-width:150px;}
}
@media(max-width:600px){
 :root:has(body>.product-header){--platform-nav-height:72px;}
 .product-header-inner{min-height:64px;padding:5px 12px;gap:8px;}
 .product-header .brand{flex-basis:110px;width:110px;}
 .product-header .brand img{max-width:110px;}
 .product-header .product-link{font-size:12px;padding:8px 11px;}
}
@media(max-width:360px){.product-header .brand{flex-basis:80px;width:80px;}.product-header .brand img{max-width:80px;}}
@media print{:root{scroll-padding-top:0;}}
