/* EkoDrive 2.01: appearance in the desktop info bar or mobile menu. */
html[data-theme="light"]{color-scheme:light}
.ed-theme-slot{display:none}
.ed-theme-enabled .ed-theme-slot{display:block;min-height:44px}
.ed-theme{position:relative;z-index:62;color:var(--dm-text,#081d3d)}
.ed-theme>summary{display:flex;align-items:center;justify-content:center;gap:10px;width:44px;min-height:44px;padding:9px;list-style:none;cursor:pointer;border:1px solid var(--dm-border,#b8c8db);border-radius:8px;background:var(--dm-surface,#fff);color:var(--dm-text,#081d3d)}
.ed-theme>summary::-webkit-details-marker{display:none}
.ed-theme-icon{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 22px}
.ed-theme-label,.ed-theme .ed-theme-moon{display:none}
html[data-theme="dark"] .ed-theme .ed-theme-sun{display:none}
html[data-theme="dark"] .ed-theme .ed-theme-moon{display:block}
.ed-theme-panel{position:absolute;right:0;top:calc(100% + 9px);width:220px;max-width:calc(100vw - 30px);padding:14px;background:var(--dm-surface,#fff);color:var(--dm-text,#081d3d);border:1px solid var(--dm-border,#b8c8db);border-radius:10px;box-shadow:0 12px 32px #081d3d22;letter-spacing:normal;font-weight:400}
.ed-theme-panel fieldset{border:0;padding:0;margin:0;min-inline-size:0}
.ed-theme-panel legend{font-size:13px;font-weight:800;padding:0 0 8px}
.ed-theme-panel label{display:flex;align-items:center;gap:10px;min-height:44px;padding:7px 8px;border-radius:6px;font-size:14px;line-height:1.4;cursor:pointer}
.ed-theme-panel label:hover{background:var(--dm-raised,#eef3f9)}
.ed-theme-panel input{width:18px;height:18px;margin:0;accent-color:#176b9b;flex:0 0 18px}
html[data-theme="dark"] .ed-theme-panel input{accent-color:#a9d6ff}
.ed-theme :focus-visible{outline:3px solid var(--dm-link,#0b4f92);outline-offset:3px}
.ed-theme-note{font-size:12px;line-height:1.5;color:var(--dm-muted,#445671);margin:9px 0 0}
.desktop-nav a,html .header-inner>.header-cta{white-space:nowrap}
@media(min-width:1101px){
 .ed-theme-enabled .topline{position:relative;z-index:65}
 .ed-theme-enabled .ed-theme-desktop-host{flex:0 0 44px;min-width:44px;min-height:44px}
 .ed-theme-desktop-host .ed-theme>summary{background:transparent;color:#eaf2ff;border-color:#7c91ad}
 .ed-theme-desktop-host .ed-theme>summary:focus-visible{outline-color:#fff}
 .ed-theme-enabled .topline-inner{gap:12px}
 .ed-theme-enabled .topline-left,.ed-theme-enabled .topline-right{gap:12px;min-width:0}
 .header-inner{gap:clamp(10px,1.1vw,18px)}
 .desktop-nav{gap:clamp(10px,1.4vw,20px)}
}
@media(max-width:1100px){
 .desktop-nav,.header-cta{display:none}
 .mobile-toggle{display:flex;flex-shrink:0;margin-left:0}
 .header-inner>.ed-language{margin-left:auto}
 .mobile-nav.open{display:flex;flex-direction:column;max-height:var(--mobile-nav-max-height,70vh);overflow-y:auto;overscroll-behavior-y:contain;gap:4px;padding:5px 22px 22px;background:var(--dm-surface,#fff);border-top:1px solid var(--dm-border,#e4eaf2);box-shadow:0 18px 30px #102b4515}
 .mobile-nav a{flex-shrink:0;padding:13px 15px;border-radius:8px;background:var(--dm-raised,#f6f8fb);color:var(--dm-text,#081d3d);font-size:14px;font-weight:850}
 .mobile-nav a.accent{background:var(--red);color:#fff}
 .ed-theme-mobile-host{flex:0 0 auto;min-width:0}
 .ed-theme-mobile-host .ed-theme-slot{padding-top:8px}
 .ed-theme-mobile-host .ed-theme>summary{justify-content:flex-start;width:100%;padding:12px 15px;font-size:14px;font-weight:800}
 .ed-theme-mobile-host .ed-theme-label{display:inline}
 .ed-theme-mobile-host .ed-theme-panel{position:static;width:100%;max-width:none;margin-top:6px;box-shadow:none}
}
@media(forced-colors:active){
 .ed-theme>summary,.ed-theme-panel{border-color:ButtonText}
 .ed-theme :focus-visible{outline:3px solid Highlight;outline-offset:3px}
}
@media print{.ed-theme-slot{display:none!important}}
