:root{font-family:Arial,Helvetica,sans-serif;color:#18252d;background:#f4f6f8;font-size:16px}*{box-sizing:border-box}body{margin:0}button,a,input,textarea{ -webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:1px solid #d6dde1;border-radius:7px;padding:11px 15px;background:white;color:#26363f;font-size:.875rem;font-weight:600}button:hover{background:#eef2f4}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #70a800;outline-offset:3px}aside{position:fixed;inset:0 auto 0 0;width:228px;background:#142730;color:white;padding:38px 24px;display:flex;flex-direction:column}.brand{color:#fff;font-size:30px;font-weight:900;font-style:italic;letter-spacing:1px;text-decoration:none}.brand span{display:block;font-style:normal;font-size:11px;letter-spacing:1.5px;margin-top:10px;color:#a3b1b8}.nav{margin-top:60px;padding:16px 12px;border-radius:6px;font-size:14px;background:#2c414a;border-left:3px solid #c2f36b}.aside-bottom{margin-top:auto;display:grid;gap:10px;font-size:14px}.aside-bottom>span{color:#92a8b2;font-size:11px;letter-spacing:1.3px}.aside-bottom small{color:#aabac1}.aside-bottom a{margin-top:25px;color:#c2f36b;text-decoration:none;line-height:1.6}main{margin-left:228px;padding:0 46px 28px;max-width:1800px}header{height:85px;display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:1.2px;color:#6b7b85;border-bottom:1px solid #dde3e7}.file-badge{padding:7px 10px;border:1px solid #d8e0e3;border-radius:5px;letter-spacing:0}.heading{display:flex;align-items:center;justify-content:space-between;margin:38px 0 30px}h1{font-size:38px;letter-spacing:-1.5px;margin:0 0 12px}.heading p{color:#63737c;margin:0;line-height:1.5}.total{display:grid;gap:6px;text-align:right}.total strong{font-size:34px;letter-spacing:-1px}.total span{font-size:13px;color:#71808a}.search-panel{background:white;border:1px solid #dfe5e8;border-radius:10px;padding:26px}.search-panel>label{display:block;font-weight:700;font-size:14px;margin-bottom:12px}.search-line{display:flex;gap:12px}textarea{font:16px/1.6 monospace;flex:1;min-width:0;resize:vertical;border:1px solid #becbd2;border-radius:6px;padding:12px 16px;height:72px}.primary{background:#c2f36b;border-color:#c2f36b;min-width:195px}.primary:hover{background:#b1e653}.primary span{padding-left:20px}.search-options{display:flex;justify-content:space-between;gap:16px;margin-top:13px;font-size:12px;color:#72818a;line-height:1.5}.search-options label{color:#344a55;white-space:nowrap;font-size:14px}input[type=checkbox]{width:16px;height:16px;accent-color:#375527;vertical-align:middle}.examples{display:flex;align-items:center;gap:10px;margin-top:20px;font-size:12px;color:#7b8891}.examples button{padding:5px 9px;font-family:monospace;font-size:12px;background:#f5f7f8;border:0;font-weight:400}.examples #clear{margin-left:auto;font-family:inherit;color:#64747e;background:white}.results{margin-top:35px;background:white;border:1px solid #dfe5e8;border-radius:10px;overflow:hidden}.result-bar{display:flex;justify-content:space-between;align-items:center;padding:24px;gap:18px}h2{font-size:19px;margin:0 0 8px}h2 span{font-size:12px;background:#eaf0e5;color:#425b2b;padding:4px 8px;border-radius:5px;margin-left:8px}.result-bar p{margin:0;font-size:13px;color:#77858e}.exports{display:flex;gap:10px}.dark{background:#1b323d;color:white;border-color:#1b323d}.dark:hover{background:#304c5b}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th{padding:13px 16px;font-size:11px;letter-spacing:.6px;background:#f7f9fa;color:#71818a;font-weight:600;border-block:1px solid #e3e8eb}td{padding:19px 16px;border-bottom:1px solid #e8edf0;font-size:14px;line-height:1.5}th:first-child,td:first-child{width:48px;padding-left:24px}.product-name{font-weight:600;max-width:470px}.product-sub{display:block;font-size:12px;color:#80909a;margin-top:5px;font-weight:400}.code{font-family:monospace;white-space:nowrap;font-size:13px}.detail-button{border:0;background:#f1f5f7;color:#314d5c;white-space:nowrap;font-size:12px}footer{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;color:#73818a;font-size:13px}footer>div{display:flex;align-items:center;gap:16px}footer button{padding:7px 12px}.footnote{font-size:12px;color:#7a8992;line-height:1.7;margin:20px 0}#missing{font-size:13px;color:#845100;padding:0 24px 15px;overflow-wrap:anywhere}#missing:empty{display:none}#empty{text-align:center;padding:50px 20px;color:#687c87}dialog{border:0;border-radius:12px;padding:28px;width:min(820px,94vw);max-height:90vh;box-shadow:0 20px 80px #0005}dialog::backdrop{background:#0c202bb3}.dialog-top{display:flex;justify-content:space-between;align-items:center;color:#768791;font-size:12px;margin-bottom:18px}dialog h2{line-height:1.6;font-size:22px}dl{margin:22px 0 0}dt{font:12px monospace;color:#75868f;margin-top:20px;margin-bottom:8px}dd{margin:0;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;background:#f5f7f8;padding:12px;border-radius:5px}dd a{color:#315f79}details{margin-top:10px}summary{font-size:13px;cursor:pointer;color:#365d70}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}@media(min-width:1550px){main{padding-inline:65px}}@media(max-width:1100px){aside{width:185px;padding:30px 18px}main{margin-left:185px;padding-inline:24px}.search-options,.result-bar{align-items:flex-start;flex-direction:column}.exports{width:100%}}@media(max-width:700px){aside{position:static;width:auto;padding:18px 20px;flex-direction:row;align-items:center;justify-content:space-between}.brand{font-size:23px}.brand span{font-size:9px}.nav,.aside-bottom>span,.aside-bottom>strong,.aside-bottom>small{display:none}.aside-bottom{margin:0;max-width:125px}.aside-bottom a{margin:0;font-size:12px}main{margin:0;padding:0 16px 20px}header{height:60px;font-size:9px}.heading{margin:25px 0}h1{font-size:29px}.heading p{font-size:14px;max-width:225px}.total strong{font-size:26px}.total span{font-size:11px}.search-panel{padding:18px}.search-line{flex-direction:column}.primary{padding:15px}.examples{flex-wrap:wrap}.examples #clear{margin-left:0}.result-bar{padding:18px}.exports{flex-wrap:wrap}.exports button{flex:1;font-size:12px}td{padding:15px 12px}.product-name{min-width:220px}footer{padding:16px;font-size:12px}.total{min-width:85px}}
.import-bar{background:#eaf0e5;border:1px solid #d5dfcd;padding:18px 22px;border-radius:9px;margin-bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.import-bar>div:first-child{display:grid;gap:7px}.import-bar strong{font-size:14px}.import-bar span{font-size:13px;color:#526248}.import-bar>div:nth-child(2){display:flex;gap:10px;flex-wrap:wrap}.file-button{cursor:pointer;display:inline-block;background:#243c2d;color:white;font-size:14px;padding:12px 15px;border-radius:6px;font-weight:bold}.file-button:hover{background:#385740}.import-bar p{width:100%;font-size:14px;margin:0;line-height:1.6}.import-bar p:empty{display:none}.feature-preview{min-width:210px;font-size:12px;color:#576e78}.feature-preview span{display:block;margin:3px 0}.feature-preview small{color:#7d8d93}.feature-preview b{font-weight:600;color:#2e464e}.product-name{min-width:260px}.detail-note{font-size:14px;line-height:1.6;color:#6c7b84}dd.blank-value{color:#849199;padding:6px 12px}select{font:inherit;padding:10px;border:1px solid #c5d2c0;border-radius:5px}#sheet-choice{width:100%}#sheet-choice[hidden]{display:none}@media(max-width:700px){.import-bar{padding:16px}.import-bar>div:nth-child(2){width:100%}.import-bar button,.file-button{font-size:12px}.heading h1{font-size:28px}}

#export-dialog{width:min(900px,94vw)}#export-scope{font-size:14px;line-height:1.6;color:#5f737c}.export-choice-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;border-block:1px solid #e0e6e9;padding:16px 0}.export-choice-toolbar>div{display:flex;gap:8px}.export-choice-toolbar>span{font-size:14px;color:#526973}#export-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:18px 0;max-height:45vh;overflow-y:auto}.export-column{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid #dce4e7;border-radius:7px;cursor:pointer;font-size:14px;line-height:1.45;overflow-wrap:anywhere}.export-column:has(input:checked){border-color:#a8c985;background:#f3f8ee}.export-column input{flex-shrink:0;margin-top:3px}.export-column small{display:block;margin-top:5px;color:#667c86;font-size:12px}.export-choice-footer{border-top:1px solid #dce4e7;padding-top:16px}.export-choice-footer p{font-size:14px;color:#61747e}.export-choice-footer>div{display:flex;gap:10px;justify-content:flex-end}@media(max-width:600px){#export-columns{grid-template-columns:1fr}.export-choice-toolbar{flex-wrap:wrap}#export-dialog{padding:20px}}

.product-cell{display:flex;align-items:center;gap:14px}.product-thumb{flex:0 0 72px;width:72px;height:72px;padding:4px;background:white;border:1px solid #e2e8eb;border-radius:8px;overflow:hidden}.product-thumb img{width:100%;height:100%;object-fit:contain}.thumb-fallback{font-size:12px;font-weight:400;color:#697c85;line-height:1.3}.product-gallery{margin:22px 0 28px}.product-gallery h3{font-size:16px;margin-bottom:14px}.gallery-stage{height:330px;display:flex;align-items:center;justify-content:center;background:#f8fafb;border:1px solid #e1e8eb;border-radius:9px;overflow:hidden}.gallery-stage a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:16px}.gallery-stage img{max-width:100%;max-height:100%;object-fit:contain}.gallery-stage:has(.gallery-error:not([hidden])) a{display:none}.gallery-error{padding:24px;font-size:14px;color:#6d7e86}.gallery-caption{font-size:13px;color:#6c7d86;line-height:1.6}.gallery-thumbnails{display:flex;gap:10px;flex-wrap:wrap}.gallery-thumb{width:80px;height:80px;padding:5px;background:white;overflow:hidden}.gallery-thumb[aria-pressed="true"]{border:2px solid #638830;background:#f2f7ed}.gallery-thumb img{width:100%;height:100%;object-fit:contain}.gallery-thumb span{font-size:12px;font-weight:400}.product-thumb img[hidden],.gallery-thumb img[hidden],.gallery-stage img[hidden]{display:none}@media(max-width:600px){.gallery-stage{height:245px}.product-thumb{flex-basis:58px;width:58px;height:58px}.product-cell{gap:10px}}

.search-mode-row{display:flex;align-items:center;gap:14px;margin-bottom:22px}.search-mode-row label{font-size:14px;font-weight:600}.search-mode-row select{background:white;max-width:100%;font-size:14px}.search-options label[hidden]{display:none}@media(max-width:600px){.search-mode-row{align-items:flex-start;flex-direction:column;gap:8px}.search-mode-row select{width:100%}}

/* ---- wersja 2: filtry cech, sortowanie, porównywarka, presety ---- */
.filters{background:white;border:1px solid #dfe5e8;border-radius:10px;margin-top:18px;overflow:hidden}
.filters-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:16px 20px}
#filters-toggle{background:#eef3ec;border-color:#d7e2d0;white-space:nowrap}
#filters-toggle[aria-expanded="true"]{background:#243c2d;color:white;border-color:#243c2d}
#filters-count{font-weight:700}
#filter-chips{display:flex;flex-wrap:wrap;gap:7px;flex:1;min-width:0}
#filters-clear{margin-left:auto;font-weight:400;color:#64747e;font-size:13px;padding:8px 12px}
.chip{font-size:12px;padding:6px 10px;border-radius:20px;background:#f3f7ee;border-color:#cfdec2;font-weight:400;color:#33482a;max-width:100%;overflow-wrap:anywhere;text-align:left}
.chip:hover{background:#e6efdc}
.chip b{font-weight:700}
#filters-body{border-top:1px solid #e6ebee;padding:18px 20px 20px;background:#fafbfc}
.facet-find{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:600;color:#42555f}
.facet-find input{flex:1;max-width:340px;font:inherit;font-weight:400;padding:9px 12px;border:1px solid #c5d0d6;border-radius:6px}
.facet-hint{font-size:12px;color:#7a8892;line-height:1.6;margin:10px 0 14px}
#facet-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:10px;align-items:start;max-height:430px;overflow-y:auto}
#facet-toggle-all{margin-top:12px;font-size:13px;font-weight:400;color:#3e5c2a;background:#f1f6ec;border-color:#d5e2c8}
#facet-toggle-all[hidden]{display:none}
.facet{border:1px solid #dde4e8;border-radius:8px;background:white;overflow:hidden}
.facet.open{border-color:#a8c985}
.facet-head{width:100%;text-align:left;border:0;border-radius:0;background:white;display:grid;gap:4px;padding:12px 14px}
.facet-head:hover{background:#f4f7f9}
.facet-head small{font-weight:400;font-size:11px;color:#7d8c95;letter-spacing:.2px}
.facet-values{border-top:1px solid #eaeff2;max-height:230px;overflow-y:auto;padding:6px}
.facet-value{display:flex;align-items:center;gap:9px;padding:7px 9px;border-radius:5px;font-size:13px;cursor:pointer;line-height:1.4}
.facet-value:hover{background:#f4f7f9}
.facet-value.on{background:#f1f7ea}
.facet-value span{flex:1;overflow-wrap:anywhere}
.facet-value b{font-size:11px;color:#71818a;font-weight:600;font-variant-numeric:tabular-nums}
.facet-more,.facet-empty{font-size:12px;color:#7d8c95;padding:10px;line-height:1.5;margin:0}
th button.sort{background:none;border:0;padding:0;font:inherit;font-size:11px;letter-spacing:.6px;color:#71818a;font-weight:600;display:inline-flex;align-items:center;gap:6px}
th button.sort:hover{color:#1f3440}
th button.sort::after{content:"↕";font-size:10px;opacity:.45}
th button.sort[data-state="asc"]{color:#33511f}
th button.sort[data-state="asc"]::after{content:"↑";opacity:1}
th button.sort[data-state="desc"]{color:#33511f}
th button.sort[data-state="desc"]::after{content:"↓";opacity:1}
.page-size-label{font-size:12px;color:#7a8892}
#page-size{padding:7px 9px;font-size:13px}
.preset-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;background:#f5f8f2;border:1px solid #dfe8d7;border-radius:8px;padding:13px 15px;margin-bottom:6px}
.preset-row label{font-size:13px;font-weight:600;color:#3f503a}
.preset-row select{flex:1;min-width:170px;max-width:280px;font-size:13px}
.preset-row button{font-size:12px;padding:8px 11px}
#preset-info{width:100%;font-size:12px;color:#66775f;line-height:1.5}
#compare-dialog{width:min(1150px,96vw)}
.compare-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:10px 0 16px}
.compare-top p{margin:0;font-size:13px;color:#68797f}
.compare-top label{font-size:14px;display:flex;align-items:center;gap:8px}
#compare-table{overflow:auto;max-height:70vh;border:1px solid #e3e9ec;border-radius:8px}
#compare-table table{border-collapse:collapse;width:100%;font-size:13px}
#compare-table th,#compare-table td{border:1px solid #e8edf0;padding:10px 12px;vertical-align:top;text-align:left;line-height:1.5}
#compare-table thead th{position:sticky;top:0;background:#f7f9fa;font-size:12px;z-index:1;min-width:160px}
#compare-table thead th small{display:block;font-family:monospace;font-weight:400;color:#77858e;margin-top:4px}
#compare-table tbody th{position:sticky;left:0;background:#fbfcfc;font-size:12px;font-weight:600;color:#546670;min-width:150px}
#compare-table tr.differs td{background:#fdfaf1}
#compare-table tr.differs th{background:#fbf6ea}
#compare-table .muted{color:#a4b0b6}
@media(max-width:700px){
 .filters-top{padding:14px}
 #filters-body{padding:14px}
 #facet-list{grid-template-columns:1fr;max-height:360px}
 .facet-find{flex-direction:column;align-items:flex-start;gap:7px}
 .facet-find input{max-width:none;width:100%}
 .preset-row select{max-width:none}
 footer>div{flex-wrap:wrap;gap:10px}
}
