/* S1881 (24.11.2026): przełącznik motywu w nagłówku (oba motywy). Ciemny wygląd: ig-motyw-ciemny.css. */
.ig-motyw{position:relative;display:inline-flex;flex:0 0 auto;align-items:center}
.ig-motyw__btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:0;margin:0;
  border-radius:12px;border:1px solid color-mix(in srgb,currentColor 24%,transparent);background:transparent;color:inherit;cursor:pointer;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:background-color .15s ease,border-color .15s ease}
.ig-motyw__btn:hover{background:color-mix(in srgb,currentColor 10%,transparent)}
.ig-motyw__btn:focus-visible{outline:3px solid #7fd49a;outline-offset:2px}
.ig-motyw__ico{width:20px;height:20px}
.ig-motyw__ico--dark{display:none}
html[data-ig-motyw="dark"] .ig-motyw__ico--light{display:none}
html[data-ig-motyw="dark"] .ig-motyw__ico--dark{display:block}
.ig-motyw__menu{position:absolute;top:calc(100% + 8px);right:0;z-index:3000;min-width:216px;padding:6px;border-radius:14px;
  background:#ffffff;color:#13251b;border:1px solid #d5e2d9;box-shadow:0 14px 36px rgba(9,32,19,.22);text-align:left}
.ig-motyw__menu[hidden]{display:none}
.ig-motyw__title{margin:4px 10px 6px;font-size:13px;font-weight:600;color:#4b5f53;letter-spacing:0}
.ig-motyw__opt{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:0 10px;border:0;border-radius:10px;
  background:transparent;color:inherit;font:inherit;font-size:15px;line-height:1.2;text-align:left;cursor:pointer}
.ig-motyw__opt>svg:first-child{width:18px;height:18px;flex:0 0 18px;color:#1f7a3d}
.ig-motyw__opt span{flex:1 1 auto}
.ig-motyw__ok{width:18px;height:18px;flex:0 0 18px;visibility:hidden;color:#1f7a3d}
.ig-motyw__opt[aria-checked="true"]{font-weight:600;background:#eaf4ed}
.ig-motyw__opt[aria-checked="true"] .ig-motyw__ok{visibility:visible}
.ig-motyw__opt:hover,.ig-motyw__opt:focus-visible{background:#e2efe6;outline:none}
.ig-motyw__opt:focus-visible{box-shadow:inset 0 0 0 2px #1f7a3d}
html[data-ig-motyw="dark"] .ig-motyw__menu{background:#14221a;color:#e6efe9;border-color:#2c4236;box-shadow:0 14px 36px rgba(0,0,0,.5)}
html[data-ig-motyw="dark"] .ig-motyw__title{color:#a9bdb0}
html[data-ig-motyw="dark"] .ig-motyw__opt>svg:first-child,html[data-ig-motyw="dark"] .ig-motyw__ok{color:#7fd49a}
html[data-ig-motyw="dark"] .ig-motyw__opt[aria-checked="true"]{background:#1f3a2a}
html[data-ig-motyw="dark"] .ig-motyw__opt:hover,html[data-ig-motyw="dark"] .ig-motyw__opt:focus-visible{background:#24402f}
html[data-ig-motyw="dark"] .ig-motyw__opt:focus-visible{box-shadow:inset 0 0 0 2px #7fd49a}
@media (prefers-reduced-motion:reduce){.ig-motyw__btn{transition:none}}
@media print{.ig-motyw{display:none!important}}
/* Osłona przed regułami stron (np. mapa: button/svg w pasku narzędzi) */
.ig-motyw .ig-motyw__menu{display:block;width:auto;height:auto;max-height:none;transform:none;flex-direction:column}
.ig-motyw .ig-motyw__menu[hidden]{display:none!important}
.ig-motyw .ig-motyw__menu .ig-motyw__opt{position:static!important;display:flex!important;width:100%!important;height:auto!important;min-height:44px!important;
  margin:0!important;inset:auto!important;transform:none!important;box-shadow:none;flex-direction:row!important}
.ig-motyw .ig-motyw__menu .ig-motyw__opt svg{position:static!important;inset:auto!important;transform:none!important;pointer-events:none}
.ig-motyw .ig-motyw__btn{position:relative!important;inset:auto!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;flex:0 0 44px!important}
/* S1881 2b: opcja English na stronie tylko po polsku (nieaktywna zamiast /en/... = 404) */
.lang-picker .lang-option[disabled]{cursor:not-allowed;color:#52675a;background:transparent}
.lang-picker .lang-option[disabled] .lang-option-flag{opacity:.55}
.lang-option-note{display:block;font-size:12px;font-weight:500;line-height:1.3;color:#52675a}
html[data-ig-motyw="dark"] .lang-picker .lang-option[disabled],html[data-ig-motyw="dark"] .lang-option-note{color:#b9cbbf}
