.kpmi-theme-switch{
 --ks-w:96px;--ks-h:40px;--ks-thumb:32px;--ks-inset:4px;
 display:inline-flex;position:relative;isolation:isolate;flex:0 0 var(--ks-w);align-self:center;
 width:var(--ks-w);height:var(--ks-h);min-width:var(--ks-w);padding:0;margin:0 10px;
 border:1px solid #767b81;border-radius:999px;overflow:hidden;cursor:pointer;
 background:linear-gradient(125deg,#f1eadc 0%,#c8ced1 42%,#8f9b9f 65%,#eae4d8 100%);
 color:#25282b;box-shadow:inset 0 1px 3px #fff8,0 2px 7px #0002;
 -webkit-tap-highlight-color:transparent;touch-action:manipulation;
 transition:transform 150ms ease;vertical-align:middle;
}
.kpmi-theme-switch:hover{transform:scale(1.02)}
.kpmi-theme-switch:active{transform:scale(.99)}
.kpmi-theme-switch:focus-visible{outline:3px solid #b47700;outline-offset:3px;overflow:visible}
.kpmi-theme-switch__canvas{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit;pointer-events:none}
.kpmi-theme-switch__glass{position:absolute;inset:0;z-index:1;pointer-events:none;border:1px solid #ffffff40;border-radius:inherit;backdrop-filter:blur(2px);background:#ffffff12}
.kpmi-theme-switch__thumb{position:absolute;z-index:2;left:3px;top:3px;width:var(--ks-thumb);height:var(--ks-thumb);border-radius:50%;background:#fffefaeb;box-shadow:0 1px 5px #0005;transition:transform 200ms ease,background 200ms ease;pointer-events:none}
.kpmi-theme-switch__icon{position:absolute;z-index:3;top:50%;width:16px;height:16px;transform:translate(-50%,-50%);pointer-events:none;transition:opacity 200ms ease,rotate 200ms ease}
.kpmi-theme-switch__sun{left:calc(3px + var(--ks-thumb)/2);opacity:1;rotate:12deg}
.kpmi-theme-switch__moon{left:calc(var(--ks-w) - 5px - var(--ks-thumb)/2);opacity:.45}
.kpmi-theme-switch[aria-checked="true"]{background:linear-gradient(125deg,#151d2a,#4c6575 45%,#222c40 72%,#748599);color:#e6edf6;border-color:#7f8997}
.kpmi-theme-switch[aria-checked="true"] .kpmi-theme-switch__thumb{transform:translateX(calc(var(--ks-w) - var(--ks-thumb) - 8px));background:#303c4dec}
.kpmi-theme-switch[aria-checked="true"] .kpmi-theme-switch__sun{opacity:.45;rotate:0deg}
.kpmi-theme-switch[aria-checked="true"] .kpmi-theme-switch__moon{opacity:1;rotate:-12deg}
html[data-kpmi-theme="dark"] .kpmi-theme-switch:focus-visible{outline-color:#ffc423}
@media(max-width:989px){
 .kpmi-theme-switch{--ks-w:72px;--ks-h:32px;--ks-thumb:24px;margin-inline:5px;}
 .kpmi-theme-switch__icon{width:14px;height:14px}
}
@media(prefers-reduced-motion:reduce){.kpmi-theme-switch,.kpmi-theme-switch *{transition:none!important}.kpmi-theme-switch:hover,.kpmi-theme-switch:active{transform:none}}
@media(forced-colors:active){
 .kpmi-theme-switch{border:2px solid ButtonText;background:Canvas;color:ButtonText;box-shadow:none;forced-color-adjust:none}
 .kpmi-theme-switch__canvas,.kpmi-theme-switch__glass{display:none}
 .kpmi-theme-switch .kpmi-theme-switch__thumb{background:ButtonFace;border:1px solid ButtonText;box-shadow:none;top:2px;left:2px}
 .kpmi-theme-switch[aria-checked="true"]{background:Canvas;color:ButtonText;border-color:Highlight}
 .kpmi-theme-switch[aria-checked="true"] .kpmi-theme-switch__thumb{background:Highlight;color:HighlightText}
}
.no-js .kpmi-theme-switch{display:none}

@media(min-width:990px) and (max-width:1399px){
 body.kpmi-site-ctx .header{grid-template-columns:auto minmax(0,1fr) auto}
 body.kpmi-site-ctx .header__inline-menu{min-width:0}
 body.kpmi-site-ctx .header__inline-menu .list-menu--inline{flex-wrap:wrap}
}
@media(max-width:374px){
 body:not(.kpmi-home-ctx) .header{grid-template-columns:44px minmax(0,1fr) auto;column-gap:4px;padding-left:10px;padding-right:10px}
 body:not(.kpmi-home-ctx) .header__heading-logo-wrapper{max-width:100%}
 body:not(.kpmi-home-ctx) .kpmi-logo{max-width:100%}
 body:not(.kpmi-home-ctx) .header__icons{min-width:0}
 body:not(.kpmi-home-ctx) .kpmi-theme-switch{margin-inline:0}
}
@media(max-width:360px){
 body:not(.kpmi-home-ctx) .header{grid-template-columns:40px minmax(0,1fr) auto;column-gap:2px;padding-left:6px;padding-right:6px}
 body:not(.kpmi-home-ctx) .header__heading-link{padding-inline:0;max-width:100%}
 body:not(.kpmi-home-ctx) .header__icons{min-width:0;max-width:100%}
 body:not(.kpmi-home-ctx) .header__icon,
 body:not(.kpmi-home-ctx) .header__icon--cart,
 body:not(.kpmi-home-ctx) .header__search,
 body:not(.kpmi-home-ctx) .header__icon--menu,
 body:not(.kpmi-home-ctx) header-drawer .header__icon{width:4rem;height:4rem}
 body:not(.kpmi-home-ctx) .kpmi-theme-switch{--ks-w:52px;--ks-h:28px;--ks-thumb:20px;margin-inline:0;flex:0 0 var(--ks-w)}
 body:not(.kpmi-home-ctx) .kpmi-theme-switch__icon{width:12px;height:12px}
 body:not(.kpmi-home-ctx) .header__icon--cart{margin-right:0}
}
