:root[data-theme=jasny]{color-scheme:light}
.theme-select{width:auto;max-width:160px;min-width:126px;min-height:40px;font-size:12px;padding:8px 25px 8px 10px;cursor:pointer}
:root[data-theme=ciemny]{color-scheme:dark;--brand:#286cbd;--brand-dark:#bbd7f4;--accent:#efb25a;--sidebar:#122033;--page:#101923;--ink:#edf1f6;--muted:#c6d0dc;--line:#35475c}
[data-theme=ciemny] a{color:#9fc9fa}
[data-theme=ciemny] .button,[data-theme=ciemny] .brand-mark{color:#fff}
[data-theme=ciemny] .light,[data-theme=ciemny] .layout-switch,[data-theme=ciemny] .data-card,[data-theme=ciemny] .stat,[data-theme=ciemny] .topbar,[data-theme=ciemny] .login-card,[data-theme=ciemny] .photo-dialog,[data-theme=ciemny] .quantity-dialog,[data-theme=ciemny] .photo-preview,[data-theme=ciemny] .contractor-options,[data-theme=ciemny] .toolbar[data-live-search=katalog]{background:#192737;color:var(--ink);border-color:var(--line)}
[data-theme=ciemny] input,[data-theme=ciemny] select{background:#122030;color:var(--ink);border-color:#526880}
[data-theme=ciemny] input::placeholder{color:#a8bbcf;opacity:1}
[data-theme=ciemny] .text-button{color:#b4c9e1;background:transparent}
[data-theme=ciemny] th{background:#213247;color:#bacce0;border-color:var(--line)}
[data-theme=ciemny] td,[data-theme=ciemny] .settings dd,[data-theme=ciemny] .settings dt{border-color:#2f4156}
[data-theme=ciemny] tbody tr:hover,[data-theme=ciemny] .dictionary-section>summary:hover,[data-theme=ciemny] .contractor-option:hover,[data-theme=ciemny] .contractor-option[aria-selected=true]{background:#253b53}
[data-theme=ciemny] .layout-switch a.active{background:#286cbd;color:white}
[data-theme=ciemny] .layout-switch a{color:#bfd1e4}
[data-theme=ciemny] .product-symbol{background:#243a53;border-color:#49627c;color:#c6def8}
[data-theme=ciemny] .product-image{background:#d8dee5;isolation:isolate}
[data-theme=ciemny] .product-photo-link{background:#d8dee5;isolation:isolate}
[data-theme=ciemny] .product-image .product-photo-link{isolation:auto;background:transparent}
[data-theme=ciemny] .product-photo{background:transparent;mix-blend-mode:multiply}
[data-theme=ciemny] .product-image:has(.product-symbol){background:#243449}
[data-theme=ciemny] .product-image .product-symbol{color:#c5cfda;background:#304359}
[data-theme=ciemny] .notice{background:#1e3551;color:#cfdef2;border-color:#3f6086;border-left-color:#80b9ff}
[data-theme=ciemny] .notice.error,[data-theme=ciemny] .badge.red{background:#452b30;color:#ffc1ba;border-color:#8a5156}
[data-theme=ciemny] .notice.success,[data-theme=ciemny] .green{background:#1c3c32;color:#b4ead0;border-color:#3d7160}
[data-theme=ciemny] .gray{background:#2c3c50;color:#c3d3e6}
[data-theme=ciemny] .amber{color:#f1c477}
[data-theme=ciemny] .quantity-error .quantity-feedback,[data-theme=ciemny] .quantity-dialog-error,[data-theme=ciemny] [data-live-error] .live-search-status{color:#ffc1ba}
[data-theme=ciemny] .eyebrow{color:#a6c9f4}
[data-theme=ciemny] .product-card .eyebrow{color:#e1e7ee;font-size:11px;letter-spacing:.3px}
[data-theme=ciemny] .quantity-rule{color:#f0f3f7;font-weight:600}
[data-theme=ciemny] .catalog-intro{background:linear-gradient(115deg,#183653,#244f79)}
[data-theme=ciemny] .tag{border-color:#526880}
[data-theme=ciemny] .quantity-dialog::backdrop,[data-theme=ciemny] .photo-dialog::backdrop{background:#000b}
@media(max-width:760px){.theme-select{min-height:44px;font-size:14px;max-width:170px}.top-actions>.theme-select{margin-left:auto}}
@media(max-width:760px){[data-theme=ciemny] .product-card .eyebrow{font-size:12px}}
:root[data-theme=ciemny]{--panel-toolbar:#192737}
