/* Same dimensions, fonts and colours as the existing appearance control. */
html[data-yz-theme] button.yz-language-toggle,.yz-language-toggle{box-sizing:border-box!important;position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex:0 0 84px!important;width:84px!important;min-width:84px!important;height:44px!important;min-height:44px!important;padding:4px!important;margin:0!important;border:1px solid var(--glass-line,#ffffff38)!important;border-radius:25px!important;background:var(--glass-selected,#59bfc118)!important;color:var(--glass-ink,#f9fcfc)!important;font:600 12px/1.4 Manrope,sans-serif!important;cursor:pointer;touch-action:pan-y;box-shadow:inset 0 1px #ffffff30!important;transform:none!important;overflow:hidden}
.yz-language-toggle::before{content:'';position:absolute;left:4px;top:4px;width:34px;height:34px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #0002;transition:transform .22s ease;pointer-events:none}
.yz-language-toggle[aria-checked=true]::before{transform:translateX(40px);background:#59bfc1}
.yz-language-toggle>span{position:relative;z-index:1;display:grid;place-items:center;width:34px;height:34px;font:inherit!important;pointer-events:none}
.yz-language-toggle[aria-checked=false]>span:first-child,.yz-language-toggle[aria-checked=true]>span:last-child{color:#10292b!important}
.yz-language-toggle:focus-visible{outline:3px solid var(--glass-link,#59bfc1)!important;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.yz-language-toggle::before{transition:none}}
@media(max-width:390px){.yz-appearance-bar,.yzg-own-bar{gap:8px!important}}
@media print{.yz-language-toggle{display:none!important}}

/* Chart helper spacing: the portal's p{margin:0} must not collapse these gaps. */
html[data-yz-theme] #yz-portal .yz-metric-chart{padding-bottom:20px!important}
html[data-yz-theme] #yz-portal .yz-metric-chart p.yz-chart-hint{display:block;max-width:100%;margin:12px 0 20px!important;font-family:Manrope,sans-serif!important;font-size:13px!important;line-height:1.6!important;white-space:normal;overflow-wrap:anywhere}
html[data-yz-theme] #yz-portal .yz-metric-chart .yz-chart-history+p.yz-chart-hint{margin:12px 0 0!important}
