/* Easy Clearance language switcher v3: compact flag dropdown (details/summary, no JS needed). Wraps v2 #lang-switcher-static. */
/* v2 base (pages without the dropdown wrapper keep the pill) */
html #lang-switcher-static.ec-lang{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px;max-width:100%;min-width:0;margin:0;padding:3px;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:999px;background:#f1f5f9;order:0}
html #lang-switcher-static.ec-lang>a,html #lang-switcher-static.ec-lang>span{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:34px;min-height:28px;padding:0 9px;margin:0;border:0;border-radius:999px;font:700 12px/1 Manrope,system-ui,-apple-system,sans-serif;letter-spacing:.04em;text-decoration:none;color:#0f172a;background:transparent;cursor:pointer;transition:background-color .15s,color .15s}
html #lang-switcher-static.ec-lang>a:hover{background:#fff;color:#1068c2}
html #lang-switcher-static.ec-lang>a[aria-current=page],html #lang-switcher-static.ec-lang>a[aria-current=page]:hover{background:#1068c2;color:#fff;cursor:default}
html #lang-switcher-static.ec-lang>span[aria-disabled=true]{color:#64748b;background:transparent;border:0;cursor:default}
html #lang-switcher-static.ec-lang>a:focus-visible{outline:3px solid #137fec;outline-offset:2px}
html.dark #lang-switcher-static.ec-lang{background:#1a2632;border-color:#475569}
html.dark #lang-switcher-static.ec-lang>a,html.dark #lang-switcher-static.ec-lang>span{color:#f8fafc}
html.dark #lang-switcher-static.ec-lang>a:hover{background:#0f172a;color:#fff}
html.dark #lang-switcher-static.ec-lang>a[aria-current=page],html.dark #lang-switcher-static.ec-lang>a[aria-current=page]:hover{background:#1068c2;color:#fff}
html.dark #lang-switcher-static.ec-lang>span[aria-disabled=true]{color:#94a3b8}
html.dark #lang-switcher-static.ec-lang>a:focus-visible{outline-color:#3b9bff}
@media (pointer:coarse){html #lang-switcher-static.ec-lang{border-radius:22px}html #lang-switcher-static.ec-lang>a,html #lang-switcher-static.ec-lang>span{min-width:44px;min-height:44px}}
/* v3 dropdown */
html .ec-lang-dd{position:relative;display:inline-block;margin:0;order:0;font:600 13px/1 Manrope,system-ui,-apple-system,sans-serif}
html .ec-lang-dd>summary{list-style:none;display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px 0 8px;border:1px solid transparent;border-radius:8px;color:#475569;cursor:pointer;user-select:none;transition:background-color .15s,border-color .15s,color .15s}
html .ec-lang-dd[open]{z-index:10030}
html .ec-lang-dd>summary::-webkit-details-marker{display:none}
html .ec-lang-dd>summary::after{content:"";width:6px;height:6px;margin-left:2px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .15s;opacity:.7}
html .ec-lang-dd[open]>summary::after{transform:translateY(1px) rotate(-135deg)}
html .ec-lang-dd>summary:hover,html .ec-lang-dd[open]>summary{background:#f1f5f9;border-color:#e2e8f0;color:#0f172a}
html .ec-lang-dd>summary:focus-visible{outline:3px solid #137fec;outline-offset:2px}
html .ec-lang-dd .ec-lang-dd__flag,html .ec-lang-dd #lang-switcher-static.ec-lang>a::before,html .ec-lang-dd #lang-switcher-static.ec-lang>span::before{content:"";display:inline-block;flex:none;width:20px;height:14px;border-radius:2px;background:#e2e8f0 center/cover no-repeat;box-shadow:0 0 0 1px rgba(15,23,42,.12)}
html .ec-lang-dd .ec-lang-dd__code{letter-spacing:.04em}
html .ec-lang-dd #lang-switcher-static.ec-lang{position:absolute;top:calc(100% + 6px);left:0;z-index:1000;display:flex;flex-direction:column;gap:1px;min-width:190px;max-height:min(70vh,420px);overflow-y:auto;margin:0;padding:6px;box-sizing:border-box;border:1px solid #e2e8f0;border-radius:12px;background:#fff;box-shadow:0 12px 32px -8px rgba(15,23,42,.18),0 2px 6px rgba(15,23,42,.06)}
html .ec-lang-dd:not([open])>#lang-switcher-static.ec-lang{display:none}
html .ec-lang-dd #lang-switcher-static.ec-lang>a,html .ec-lang-dd #lang-switcher-static.ec-lang>span{display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:36px;margin:0;padding:0 10px;border:0;border-radius:8px;background:transparent;box-shadow:none;justify-content:flex-start;font:500 0/1 Manrope,system-ui,-apple-system,sans-serif;color:#0f172a;text-decoration:none;white-space:nowrap}
html .ec-lang-dd #lang-switcher-static.ec-lang>a::after,html .ec-lang-dd #lang-switcher-static.ec-lang>span::after{content:attr(title);font-size:14px}
html .ec-lang-dd #lang-switcher-static.ec-lang>a:hover{background:#f1f5f9}
html .ec-lang-dd #lang-switcher-static.ec-lang>a[aria-current=page]{background:#eff6ff;font-weight:700;cursor:default}
html .ec-lang-dd #lang-switcher-static.ec-lang>a[aria-current=page]::after{color:#1068c2}
html .ec-lang-dd #lang-switcher-static.ec-lang>span[aria-disabled=true]{display:none}
html .ec-lang-dd #lang-switcher-static.ec-lang>a:focus-visible{outline:3px solid #137fec;outline-offset:-2px}
html .ec-lang-dd .ec-lang-dd__flag[data-l=pl],html .ec-lang-dd #lang-switcher-static.ec-lang>[lang=pl]::before,html .ec-lang-dd #lang-switcher-static.ec-lang>[hreflang=pl]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2' preserveAspectRatio='none'%3E%3Crect width='3' height='2' fill='%23fff'/%3E%3Crect y='1' width='3' height='1' fill='%23dc143c'/%3E%3C/svg%3E")}
html .ec-lang-dd .ec-lang-dd__flag[data-l=en],html .ec-lang-dd #lang-switcher-static.ec-lang>[lang=en]::before,html .ec-lang-dd #lang-switcher-static.ec-lang>[hreflang=en]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40' preserveAspectRatio='none'%3E%3Crect width='60' height='40' fill='%23012169'/%3E%3Cpath d='M0 0l60 40M60 0L0 40' stroke='%23fff' stroke-width='8'/%3E%3Cpath d='M0 0l60 40M60 0L0 40' stroke='%23c8102e' stroke-width='3'/%3E%3Cpath d='M30 0v40M0 20h60' stroke='%23fff' stroke-width='12'/%3E%3Cpath d='M30 0v40M0 20h60' stroke='%23c8102e' stroke-width='7'/%3E%3C/svg%3E")}
html .ec-lang-dd .ec-lang-dd__flag[data-l=de],html .ec-lang-dd #lang-switcher-static.ec-lang>[lang=de]::before,html .ec-lang-dd #lang-switcher-static.ec-lang>[hreflang=de]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2' preserveAspectRatio='none'%3E%3Crect width='3' height='2' fill='%23ffce00'/%3E%3Crect width='3' height='1.333' fill='%23d00'/%3E%3Crect width='3' height='.667' fill='%23000'/%3E%3C/svg%3E")}
html .ec-lang-dd .ec-lang-dd__flag[data-l=fr],html .ec-lang-dd #lang-switcher-static.ec-lang>[lang=fr]::before,html .ec-lang-dd #lang-switcher-static.ec-lang>[hreflang=fr]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2' preserveAspectRatio='none'%3E%3Crect width='3' height='2' fill='%23ef4135'/%3E%3Crect width='2' height='2' fill='%23fff'/%3E%3Crect width='1' height='2' fill='%230055a4'/%3E%3C/svg%3E")}
html .ec-lang-dd .ec-lang-dd__flag[data-l=nl],html .ec-lang-dd #lang-switcher-static.ec-lang>[lang=nl]::before,html .ec-lang-dd #lang-switcher-static.ec-lang>[hreflang=nl]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2' preserveAspectRatio='none'%3E%3Crect width='3' height='2' fill='%2321468b'/%3E%3Crect width='3' height='1.333' fill='%23fff'/%3E%3Crect width='3' height='.667' fill='%23ae1c28'/%3E%3C/svg%3E")}
html .ec-lang-dd .ec-lang-dd__flag[data-l=pt],html .ec-lang-dd #lang-switcher-static.ec-lang>[lang=pt]::before,html .ec-lang-dd #lang-switcher-static.ec-lang>[hreflang=pt]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2' preserveAspectRatio='none'%3E%3Crect width='3' height='2' fill='%23f00'/%3E%3Crect width='1.2' height='2' fill='%23060'/%3E%3Ccircle cx='1.2' cy='1' r='.42' fill='%23ffe000'/%3E%3C/svg%3E")}
html .ec-lang-dd .ec-lang-dd__flag[data-l=es],html .ec-lang-dd #lang-switcher-static.ec-lang>[lang=es]::before,html .ec-lang-dd #lang-switcher-static.ec-lang>[hreflang=es]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2' preserveAspectRatio='none'%3E%3Crect width='3' height='2' fill='%23aa151b'/%3E%3Crect y='.5' width='3' height='1' fill='%23f1bf00'/%3E%3C/svg%3E")}
html .ec-lang-dd .ec-lang-dd__flag[data-l=it],html .ec-lang-dd #lang-switcher-static.ec-lang>[lang=it]::before,html .ec-lang-dd #lang-switcher-static.ec-lang>[hreflang=it]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2' preserveAspectRatio='none'%3E%3Crect width='3' height='2' fill='%23ce2b37'/%3E%3Crect width='2' height='2' fill='%23fff'/%3E%3Crect width='1' height='2' fill='%23009246'/%3E%3C/svg%3E")}
html .ec-lang-dd .ec-lang-dd__flag[data-l=ro],html .ec-lang-dd #lang-switcher-static.ec-lang>[lang=ro]::before,html .ec-lang-dd #lang-switcher-static.ec-lang>[hreflang=ro]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2' preserveAspectRatio='none'%3E%3Crect width='3' height='2' fill='%23ce1126'/%3E%3Crect width='2' height='2' fill='%23fcd116'/%3E%3Crect width='1' height='2' fill='%23002b7f'/%3E%3C/svg%3E")}
html .ec-lang-dd .ec-lang-dd__flag[data-l=uk],html .ec-lang-dd #lang-switcher-static.ec-lang>[lang=uk]::before,html .ec-lang-dd #lang-switcher-static.ec-lang>[hreflang=uk]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2' preserveAspectRatio='none'%3E%3Crect width='3' height='2' fill='%23ffd700'/%3E%3Crect width='3' height='1' fill='%230057b7'/%3E%3C/svg%3E")}
html.dark .ec-lang-dd>summary{color:#cbd5e1}
html.dark .ec-lang-dd>summary:hover,html.dark .ec-lang-dd[open]>summary{background:#1e293b;border-color:#334155;color:#fff}
html.dark .ec-lang-dd #lang-switcher-static.ec-lang{background:#0f172a;border-color:#334155;box-shadow:0 12px 32px -8px rgba(0,0,0,.6)}
html.dark .ec-lang-dd #lang-switcher-static.ec-lang>a{color:#f1f5f9}
html.dark .ec-lang-dd #lang-switcher-static.ec-lang>a:hover{background:#1e293b}
html.dark .ec-lang-dd #lang-switcher-static.ec-lang>a[aria-current=page]{background:#172554}
html.dark .ec-lang-dd #lang-switcher-static.ec-lang>a[aria-current=page]::after{color:#93c5fd}
html .ec-lang-dd .ec-lang__toggle{display:none!important}
html .ec-lang-dd #lang-switcher-static.ec-lang.ec-lang--collapsed>a:not([aria-current]){display:flex!important}
@media (pointer:coarse){html .ec-lang-dd>summary{min-height:44px}html .ec-lang-dd #lang-switcher-static.ec-lang>a{min-height:44px}}
@media print{.ec-lang-dd{display:none!important}}
