:root{--bg:#f2f5f1;--panel:#fff;--ink:#24372d;--muted:#7a877f;--line:#e4eae3;--green:#38634f;--green-soft:#e5f1e8;--red:#a46051;--radius:16px}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 "Segoe UI",system-ui,sans-serif;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}button{cursor:pointer;color:inherit}a{color:var(--green)}button:disabled{opacity:.4;cursor:default}
[hidden]{display:none!important}button,a,input,select,summary{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #99bca5;outline-offset:3px}
.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none;display:block}
[data-icon]{display:inline-flex;align-items:center;justify-content:center}.numeric{text-align:right;font-variant-numeric:tabular-nums}.muted{color:var(--muted)}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-100px;left:20px;background:white;padding:12px;z-index:200}.skip-link:focus{top:10px}
.app-header{height:68px;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;gap:38px;padding:0 28px}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:700;font-size:17px;letter-spacing:-.4px;text-decoration:none;white-space:nowrap}.brand small{display:block;color:var(--muted);font-size:10px;font-weight:400;letter-spacing:0;margin-top:1px}.brand-mark{width:34px;height:36px;border-radius:10px;background:var(--green-soft);color:var(--green)}.brand-mark .icon{width:22px;height:22px}
.app-header nav{height:100%;display:flex;gap:25px;align-items:stretch}.nav-button{background:none;border:0;border-bottom:2px solid transparent;padding:0 2px;font-size:13px;font-weight:550;color:var(--muted)}.nav-button.active{border-bottom-color:var(--green);color:var(--green)}.nav-button:hover{color:var(--green)}.header-actions{margin-left:auto;display:flex;align-items:center;gap:13px}
.content{max-width:1640px;margin:0 auto;padding:24px 28px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}h1{margin:0;font-size:26px;letter-spacing:-.65px;font-weight:650;line-height:1.25}h2{font-size:16px;line-height:1.4;margin:0;font-weight:650}p{margin:6px 0}.page-heading p{font-size:13px;color:var(--muted)}
.snapshot{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:11px;white-space:nowrap}.snapshot>.icon{width:15px;height:15px}.snapshot strong{color:#4f6155;font-weight:600;margin-left:4px}.snapshot-age{padding:3px 8px;border-radius:5px;background:#f8e8b7;color:#826823;font-size:10px;font-weight:600;margin-left:2px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #e0e7de;background:white;border-radius:9px;padding:9px 12px;font-size:12px;font-weight:550;white-space:nowrap;line-height:1.5;min-height:39px}.button:hover{border-color:#b6c9ba;background:#f9fbf8}.button.primary{background:var(--green);border-color:var(--green);color:white}.button.primary:hover{background:#2e5340}.button.subtle{border-color:transparent;color:#65746a}.button .icon{width:15px;height:15px}.button.full{width:100%;padding:12px}
.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;padding:6px;color:var(--muted);background:none;border:0;border-radius:7px}.icon-button:hover{background:var(--green-soft);color:var(--green)}.link-button{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:none;color:var(--green);font-size:11px;font-weight:550}.link-button:hover{text-decoration:underline}.link-button .icon{width:12px;height:12px}
.workspace-controls{background:white;border:1px solid var(--line);border-radius:18px;padding:16px;margin-bottom:17px;box-shadow:0 2px 5px #2b482b03}.product-actions{display:flex;gap:10px;align-items:center}.search-box{display:flex;align-items:center;gap:9px;flex:1;min-width:180px;background:white;border:1px solid var(--line);border-radius:10px;padding:0 12px;height:40px;box-shadow:inset 0 1px 3px #35583504}.search-box:focus-within{border-color:#96b89e;box-shadow:0 0 0 2px #38634f0c}.search-box>[data-icon]{color:#8e9c92}.search-box .icon{width:16px;height:16px}.search-box input{min-width:0;width:100%;border:0;background:none;outline:none;padding:8px 0;font-size:13px;color:var(--ink)}.search-box input::placeholder{color:#89958d}.search-box kbd{border:1px solid #e8ece7;border-radius:4px;padding:0 5px;color:#9aa69d;font:11px "Segoe UI",sans-serif}
select,input[type=number],input[type=date]{padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:white;color:#526456;font-size:12px;min-height:40px;width:100%}select{cursor:pointer}.inline-select{display:flex;align-items:center;gap:8px;height:40px;border:1px solid var(--line);border-radius:10px;padding:0 10px;background:white;flex:none}.inline-select>span{font-size:11px;color:#8a978d;white-space:nowrap}.inline-select select{width:100%;min-width:0;padding:7px 0;border:0;min-height:0;background:transparent;color:#344a3b;font-size:12px;font-weight:550;border-radius:3px}.store-select{width:212px}.store-select{position:relative}.store-select>#storeFilter{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;flex:1;border:0;background:none;padding:7px 0;color:#344a3b;font-size:12px;font-weight:550;text-align:left}.store-select>#storeFilter>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}.store-select>#storeFilter .icon{width:13px;height:13px}.store-menu{position:absolute;top:calc(100% + 7px);left:0;width:250px;max-width:calc(100vw - 56px);padding:7px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 30px #294b2f20;z-index:45}.store-option{display:flex;align-items:center;gap:10px;padding:10px;border-radius:6px;font-size:12px;color:#3c5141;cursor:pointer;min-height:40px}.store-option:hover{background:#f2f7ef}.store-option input{width:15px;height:15px;margin:0;accent-color:var(--green);cursor:pointer}.store-all{font-weight:600;border-bottom:1px solid var(--line);border-radius:0;margin-bottom:4px}.store-menu #storeOptions{max-height:260px;overflow:auto}.store-menu-footer{display:flex;justify-content:space-between;align-items:center;padding:8px 8px 2px;border-top:1px solid var(--line);gap:10px;font-size:10px;color:var(--muted)}.store-menu-footer button{border:0;background:var(--green-soft);color:var(--green);border-radius:6px;font-size:11px;font-weight:600;padding:6px 10px;min-height:30px}.group-select{width:158px}.sort-select{width:254px}.result-select{width:214px}
.segments{display:flex;gap:3px;background:#f0f3ee;padding:3px;border-radius:10px;width:fit-content}.segments button{border:1px solid transparent;background:none;border-radius:7px;padding:7px 10px;font-size:12px;color:#7a897f;white-space:nowrap}.segments button.selected{color:var(--green);background:white;border-color:#e1e9df;box-shadow:0 1px 3px #2d482912;font-weight:600}.primary-modes{height:40px;align-items:center;flex:none}.primary-modes button{padding:6px 9px;line-height:1.5}
.secondary-actions{display:flex;align-items:center;gap:10px;margin-top:10px}.secondary-actions>.button{margin-left:auto}.export-wrap{position:relative;flex:none}.export-menu{position:absolute;right:0;top:calc(100% + 7px);width:185px;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 26px #294b2f18;padding:5px;z-index:30}.export-menu button{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;padding:10px;text-align:left;font-size:12px;border-radius:6px}.export-menu button:hover{background:var(--green-soft)}.button-count{padding:1px 5px;border-radius:4px;background:var(--green-soft);font-size:10px;color:var(--green)}
.advanced-panel{display:grid;grid-template-columns:.8fr 1fr 1fr;gap:18px;padding:17px 0 1px;margin-top:15px;border-top:1px solid var(--line)}.advanced-panel label,.field-label{font-size:11px;color:var(--muted);font-weight:500}.advanced-panel label input,.advanced-panel label select{margin-top:7px}.field-label{display:block;margin-bottom:7px}.advanced-panel .segments{padding:2px}.advanced-panel .segments button{padding:8px 10px;font-size:11px}
.filter-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-top:15px;font-size:11px;line-height:1.6;color:#8c978f}.filter-summary-content{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px}.filter-label{color:#6d7e71;font-weight:600;white-space:nowrap}.filter-summary>.link-button{flex:none;white-space:nowrap;margin-top:2px}.filter-chips{display:flex;gap:5px;flex-wrap:wrap}.filter-chip{display:flex;align-items:center;gap:5px;padding:3px 7px;border:1px solid #e2eadf;background:#f5f8f2;border-radius:5px;font-size:10px;color:#60765f;line-height:1.4}.filter-chip .icon{width:10px;height:10px}
.selection-bar{display:flex;align-items:center;gap:20px;padding:10px 14px;margin-bottom:12px;border:1px solid #d5e6d7;border-radius:9px;background:var(--green-soft);color:#4b7156;font-size:12px}.selection-bar #clearSelection{margin-left:auto}
.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px}.products-panel{padding:0;overflow:hidden;box-shadow:0 2px 7px #30543403}.table-scroll{overflow:auto;scrollbar-color:#c3cfc3 #f4f7f2;scrollbar-width:thin}.products-panel .table-scroll{max-height:calc(100dvh - 340px)}
table{width:100%;border-collapse:separate;border-spacing:0;text-align:left;font-size:13px}th{padding:12px 14px;color:#7d897e;background:#fafcf9;border-bottom:1px solid #eaf0e6;font-size:11px;font-weight:600;letter-spacing:.35px;text-transform:uppercase;white-space:nowrap}td{padding:10px 12px;border-bottom:1px solid #f0f4ec;vertical-align:middle;height:65px}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:#fafcf8}.products-panel th{position:sticky;top:0;z-index:3;height:52px}.select-col{min-width:42px;width:42px;padding-left:15px;padding-right:5px}.row-check{display:block;width:15px;height:15px;margin:0;accent-color:var(--green);cursor:pointer}
.name-col{min-width:275px;width:43%;max-width:660px}.product-button{display:block;background:none;border:0;padding:0;text-align:left;color:#2f4435;font-size:13px;font-weight:550;line-height:1.45;width:100%}.product-button:hover .product-line{color:var(--green)}.product-line{display:block;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ean{display:flex;align-items:center;gap:7px;margin-top:4px;color:#8f9b91;font-size:11px;font-weight:400;letter-spacing:.1px}.pill{display:inline-flex;align-items:center;gap:5px;padding:2px 6px;border-radius:5px;font-size:10px;font-weight:500;white-space:nowrap;line-height:1.3}.pill.top,.pill.gray{background:#f0f4ec;color:#71816f}.pill.green{background:var(--green-soft);color:#497653}.pill.red{background:#fcf0ea;color:#ad6555}.pill.promo{background:#eeedfa;color:#6a6fad;font-size:9px}.pill i{width:5px;height:5px;border-radius:50%;background:var(--green)}
.price-cell{min-width:98px;white-space:nowrap}.competitor-cell{min-width:158px}.price-main{display:flex;align-items:center;justify-content:flex-end;gap:4px}.price-change{font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.price-change.cheaper{color:#b84343;font-weight:600}.price-change.dearer{color:#4c8b62;font-weight:600}.price-change.equal{color:#74826f}.price-offer{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;padding:4px 7px;border-radius:6px;min-height:28px}.price-offer.best{background:#effaf3;border:1px solid #dcefe3;color:#4a8b61}.price-offer>.icon{width:12px;height:12px;stroke-width:2}.money{font-size:13px;font-variant-numeric:tabular-nums;font-weight:550;white-space:nowrap;color:#3a4a3e}.money.dc-price{font-weight:700;color:#25372a}.money.lowest{color:#4a8b61;font-weight:650}.promo-line{display:flex;align-items:center;justify-content:flex-end;gap:5px;padding-right:7px;margin-top:4px;line-height:1.4}.promo-label{display:inline-block;padding:1px 4px;border-radius:3px;background:#eeedfb;color:#6e70b0;font-size:9px;font-weight:650;letter-spacing:.3px}.regular-price{font-size:13px;font-weight:550;color:#68736d;text-decoration-color:#68736d}.missing-price{display:inline-block;color:#b5beb1;font-weight:400;padding-right:7px}
.sort-button{display:flex;align-items:center;gap:5px;border:0;background:none;padding:0;font-size:inherit;color:inherit;white-space:nowrap;font-weight:inherit;text-transform:inherit;letter-spacing:inherit}.numeric .sort-button{margin-left:auto}.sort-button .icon{width:10px;height:10px;opacity:0}.sort-button.active{color:var(--green)}.sort-button.active .icon{opacity:.65}th:hover .sort-button .icon{opacity:.65}
.row-selected td{background:#f1f7ee!important}.pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--line);padding:11px 15px;color:#879580;font-size:11px;background:white}.pagination>div{display:flex;align-items:center;gap:13px}.pagination label{display:flex;align-items:center;gap:7px;font-size:10px}.pagination select{width:57px;padding:3px 7px;min-height:27px;font-size:10px}.pagination .icon-button{border:1px solid var(--line);min-width:28px;min-height:28px;padding:5px}.pagination .icon{width:14px;height:14px}.pagination .table-count{gap:18px}.table-legend{display:inline-flex;gap:5px;align-items:center;white-space:nowrap;background:none;border:0;padding:0;font-size:10px;color:#70876f}.table-legend .icon{width:12px;height:12px;color:var(--green)}.empty{text-align:center;padding:42px 20px;font-size:12px;color:var(--muted)}.empty strong{display:block;color:#4d624b;font-size:15px;margin-bottom:5px}.empty .button{display:block;margin:16px auto 0}
.notice{display:flex;align-items:center;gap:10px;border:1px solid;border-radius:8px;padding:10px 13px;font-size:12px;margin-bottom:18px}.notice.success{background:#eef8f1;border-color:#d4e9db;color:#477958}.notice.error{background:#fff2f1;border-color:#eed1ce;color:#ad5d53}.notice .icon-button{margin-left:auto;color:inherit}
.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.panel-heading p{color:var(--muted);font-size:12px;margin:4px 0 0}.panel-icon{color:#9bacb6}
.import-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:24px;max-width:1100px}.import-panel{height:fit-content}.import-grid>div>.panel+.panel{margin-top:22px}.dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;position:relative;cursor:pointer;border:1.5px dashed #bcd0c4;background:#fafcfb;border-radius:10px;padding:29px 18px}.dropzone strong{font-weight:550;font-size:13px;overflow-wrap:anywhere;max-width:100%}.dropzone>span:not(.upload-icon){color:#8b9d94;font-size:11px}.upload-icon{background:var(--green-soft);color:#5d9371;width:44px;height:44px;border-radius:10px}.upload-icon .icon{width:21px;height:21px}.dropzone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.dropzone:focus-within{outline:3px solid #98bea7;outline-offset:3px}.dropzone.drag{background:#edf7f0;border-color:var(--green)}
.date-field{margin:20px 0}.date-field label{display:block;margin-bottom:8px;font-size:12px;font-weight:550}.date-field p{color:#8c9aa4;font-size:10px;margin-top:6px}.replace-note{display:flex;gap:10px;align-items:flex-start;padding:13px;margin-bottom:18px;border:1px solid #ece2c9;background:#fcf8ef;border-radius:8px;color:#917744;font-size:11px}.replace-note p{margin:0}.replace-note strong{display:block;margin-bottom:3px;font-weight:600}.replace-note .icon{width:17px;height:17px;margin-top:1px}.import-status{font-size:11px;min-height:16px;color:var(--muted)}.import-status.error{color:var(--red)}.format-help{padding-top:14px;margin-top:18px;border-top:1px solid var(--line)}.format-help summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;color:#6f8277;font-size:11px}.format-help summary .icon{width:13px;height:13px}.format-help p{font-size:11px;color:#8697a2;line-height:1.7;margin-top:12px}
.source-file{display:flex;align-items:flex-start;gap:12px;background:#f5f8f4;border-radius:8px;padding:14px;margin-bottom:18px}.source-file>[data-icon]{color:#819c8b;padding-top:3px}.source-file strong{display:block;font-size:13px;font-weight:550;overflow-wrap:anywhere}.source-file span:not([data-icon]){color:#92a1ac;font-size:11px}.source-details{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:18px}.source-details dt{font-size:10px;color:#90a0ab;margin-bottom:4px}.source-details dd{margin:0;color:#526977;font-size:12px}.current-source #sourceLink{border-top:1px solid var(--line);padding-top:15px;margin-top:18px;font-size:11px}.current-source #sourceLink a{display:inline-flex;align-items:center;gap:6px;text-decoration:none}.current-source #sourceLink .icon{width:13px;height:13px}.quality-row{display:flex;align-items:center;gap:12px;justify-content:space-between;width:100%;border:0;border-bottom:1px solid #edf1f4;background:none;padding:12px 0;text-align:left;color:#758b98;font-size:12px}.quality-row strong{margin-left:auto;font-weight:600}.quality-row .icon{width:13px;height:13px;color:#a3b1ba}.quality-row:last-child{border-bottom:0}.quality-row:hover{color:var(--green)}.panel-footnote{border-top:1px solid var(--line);padding-top:12px;font-size:10px;color:#97a4ae;margin:12px 0 0}.data-footnote{display:flex;align-items:center;gap:7px;font-size:10px;color:#92a0a9;margin-top:23px;max-width:1100px}.data-footnote .icon{width:14px;height:14px}
.preview-progress{display:flex;align-items:center;gap:8px;font-size:11px;color:#729080;padding-top:14px}.spinner{display:inline-block;width:15px;height:15px;border:2px solid #deebe2;border-top-color:#5e956f;border-radius:50%;animation:spin .8s linear infinite}.file-preview{background:#f0f7f3;border:1px solid #d7e9dd;border-radius:8px;padding:14px;margin-top:16px}.preview-heading{display:flex;align-items:center;gap:7px;font-size:11px;color:#568066;margin-bottom:12px}.preview-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.preview-numbers strong{display:block;font-size:18px;font-weight:600;color:#487055}.preview-numbers span{font-size:10px;color:#82998a}.preview-networks{font-size:11px;color:#7e9385;margin-top:11px}.preview-warning{border-top:1px solid #dde9df;padding-top:10px;margin:12px 0 0;font-size:10px;color:#947846}
dialog{border:1px solid var(--line);background:white;color:var(--ink);box-shadow:0 15px 55px #20303e20}dialog::backdrop{background:#28364540;backdrop-filter:blur(2px)}.detail-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(520px,96vw);max-width:none;height:100dvh;max-height:none;border-radius:13px 0 0 13px;padding:0;overflow:auto}.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:17px 24px;background:white;border-bottom:1px solid var(--line);font-size:12px;color:#82939f;position:sticky;top:0;z-index:1}.drawer-body{padding:24px}.drawer-body h2{font-size:20px;line-height:1.4;margin-top:8px;letter-spacing:-.3px}.detail-ident{display:flex;align-items:center;gap:6px;font-size:11px;color:#91a2ae;margin:10px 0 23px}.detail-ident .icon{width:13px;height:13px}.detail-dc{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);background:#f7faf6;border-radius:9px;padding:16px;margin-bottom:18px;font-size:12px;color:#748b99}.detail-dc strong{font-size:25px;font-weight:650;color:#334652}.detail-dc.active{border-color:#73a885;background:#f5faf7}.detail-dc.active strong{color:var(--green)}.detail-summary{font-size:12px;color:#6a8090;line-height:1.65;padding:12px;background:#f5f8f4;border-radius:6px}.detail-subtitle{font-size:12px;font-weight:600;color:#687e8b;margin:22px 0 13px}.detail-chart-row{display:grid;grid-template-columns:80px 1fr 78px;gap:12px;align-items:center;font-size:11px;color:#8b9fab;padding:8px 0}.detail-chart-track{height:7px;border-radius:4px;background:#f1f4f6;overflow:hidden}.detail-chart-fill{display:block;height:100%;border-radius:4px;background:#bcc9d3}.detail-chart-row strong{font-size:12px;font-weight:550;text-align:right;color:#728b99}.detail-chart-row.winner .detail-chart-fill{background:#79a68a}.detail-chart-row.winner strong{color:var(--green);font-weight:650}.store-logo{display:inline-flex;justify-content:center;align-items:center;width:24px;height:24px;border-radius:6px;background:#f0f4f6;color:#748b98;font-size:10px;font-weight:700}.store-logo.biedronka{background:#fbf0ed;color:#b47a69}.store-logo.dino{background:#edf5eb;color:#79906a}.store-logo.stokrotka{background:#eef3fb;color:#8093b7}.detail-row{border:1px solid var(--line);border-radius:9px;padding:14px;margin-bottom:10px}.detail-row.active{border-color:#85b095;background:#f9fcfa}.detail-row-top{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px;font-weight:550}.detail-row-top>div{display:flex;align-items:center;gap:8px}.detail-row-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;color:#95a5af;font-size:11px;margin-top:8px}.detail-note{font-size:11px;color:#99a8b2;line-height:1.7;border-top:1px solid var(--line);padding-top:14px;margin-top:20px}.method-dialog{width:min(590px,94vw);border-radius:12px;padding:24px}.method-rules p{font-size:12px;line-height:1.7;color:#7c909e;border-bottom:1px solid #edf1f3;padding:11px 0;margin:0}.method-rules p:last-child{border:0}.method-rules strong{font-weight:600;color:#536d7d}
@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:861px){.content:has(#productsView:not([hidden])){height:calc(100dvh - 68px);display:flex;flex-direction:column}.page-heading,.workspace-controls,.selection-bar,.notice{flex-shrink:0}#productsView:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0}.products-panel{display:flex;flex-direction:column;flex:0 1 auto;min-height:0}.products-panel .table-scroll{flex:0 1 auto;min-height:0;max-height:none}.pagination{flex-shrink:0}}
@media(min-width:1500px){.content{padding:28px 32px}.name-col{min-width:420px}.product-button,.money{font-size:14px}.price-cell{min-width:115px}.workspace-controls{padding:18px}.search-box{height:42px}.inline-select,.primary-modes{height:42px}}
@media(max-width:1100px){.app-header{padding:0 22px;gap:28px}.content{padding:22px}.product-actions,.secondary-actions{gap:8px}.store-select{width:219px}.group-select{width:139px}.primary-modes button{padding:6px 7px}.sort-select{width:242px}.result-select{width:226px}.name-col{min-width:250px;width:41%}td,th{padding-left:10px;padding-right:10px}.brand{font-size:16px}.advanced-panel{grid-template-columns:1fr 1fr}.pagination .table-legend{display:none}}
@media(max-width:860px){.app-header{gap:22px}.app-header nav{gap:18px}.header-actions{gap:8px}.product-actions{display:grid;grid-template-columns:1.2fr 1fr 1fr}.search-box{grid-column:1/-1;min-width:0}.store-select,.group-select,.primary-modes{width:100%}.primary-modes button{flex:1}.secondary-actions{display:grid;grid-template-columns:1fr 1fr}.sort-select,.result-select{width:100%}.secondary-actions>.button{margin-left:0;justify-self:start}.export-wrap{justify-self:end}.products-panel .table-scroll{max-height:540px}.import-grid{grid-template-columns:1fr}.import-grid>div{display:grid;grid-template-columns:1fr 1fr;gap:20px}.import-grid>div>.panel+.panel{margin-top:0}}
@media(max-width:640px){.app-header{height:auto;min-height:105px;flex-wrap:wrap;padding:14px 16px 0;gap:12px}.brand{font-size:16px}.brand small{font-size:9px}.brand-mark{width:31px;height:33px}.header-actions>.icon-button{display:none}.header-actions .button{padding:8px 9px;font-size:11px;min-height:36px}.app-header nav{width:100%;order:3;height:40px;gap:25px}.nav-button{font-size:12px}.content{padding:21px 14px}.page-heading{gap:12px;flex-wrap:wrap;margin-bottom:17px}h1{font-size:24px}.snapshot{font-size:10px}.snapshot-age{font-size:9px}.workspace-controls{padding:12px;border-radius:14px;margin-bottom:14px}.product-actions{grid-template-columns:1fr 1fr;gap:8px}.search-box{grid-column:1/-1;height:42px}.inline-select{height:42px;padding:0 8px;gap:5px}.inline-select>span{font-size:10px}.inline-select select{font-size:11px}.store-select{grid-column:1/-1}.group-select{min-width:0}.primary-modes{min-width:0;height:42px}.primary-modes button{font-size:11px;padding:6px 5px}.secondary-actions{gap:8px}.sort-select{grid-column:1/-1}.result-select{grid-column:1/-1}.secondary-actions>.button,.export-wrap>.button{min-height:40px;padding:8px;font-size:11px}.filter-summary{margin-top:12px;gap:10px;font-size:10px}.filter-summary-content{gap:5px}.filter-chip{font-size:9px}.filter-summary>.link-button{font-size:10px}.advanced-panel{gap:12px;padding-top:14px;margin-top:12px}.advanced-panel>label:last-child{grid-column:1/-1}.selection-bar{gap:10px;flex-wrap:wrap;font-size:11px}.selection-bar .link-button{font-size:11px}.name-col{min-width:245px}.price-cell{min-width:99px}.products-panel .table-scroll{max-height:535px}.pagination{flex-wrap:wrap;padding:11px;gap:10px;font-size:10px}.pagination>div:last-child{margin-left:auto;gap:9px}.pagination label{font-size:9px}.import-grid>div{display:block}.import-grid>div>.panel+.panel{margin-top:18px}.panel{padding:18px}.products-panel{padding:0}.panel-heading p{font-size:11px}.data-footnote{align-items:flex-start;font-size:9px}.data-footnote>.icon{flex:none}.drawer-body{padding:20px}.drawer-header{padding:14px 20px}.drawer-body h2{font-size:18px}.detail-row-bottom{font-size:10px}.detail-chart-row{grid-template-columns:75px 1fr 72px;gap:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.spinner{animation:none}}

.threshold-filter{display:grid;grid-template-columns:145px minmax(0,1fr);align-items:start;gap:12px}.threshold-filter label{min-width:0}.threshold-filter label:first-child input{width:86px}.threshold-filter select{width:100%}.threshold-filter label{display:block}.promo-toggle{display:flex;align-items:center;gap:8px;min-height:40px}.advanced-panel .promo-toggle input{width:16px;height:16px;margin:0;accent-color:var(--green)}#offerModeLabel{margin-top:6px}

@media(min-width:800px) and (max-width:1100px){.advanced-panel{grid-template-columns:.8fr 1fr 1fr;gap:14px}}

@media(min-width:800px) and (max-width:1100px){.advanced-panel{grid-template-columns:180px minmax(0,1fr)}.threshold-filter{grid-template-columns:145px minmax(0,1fr)}.threshold-filter:last-child{grid-column:2}}
@media(max-width:799px){.advanced-panel{grid-template-columns:1fr}.threshold-filter{grid-template-columns:145px minmax(0,1fr)}}

.login-panel{max-width:430px;margin:12vh auto;padding:32px;background:#fff;border:1px solid var(--line);border-radius:16px}.login-panel p{margin:18px 0}.login-panel a{text-decoration:none;display:inline-flex}

/* Compact regular prices and full-height table after scrolling the page. */
.compact-product-name{display:flex;align-items:center;gap:8px}.compact-product-name .product-line{display:block;overflow:visible}.compact-product-name .pill{flex:none}
.regular-compact td{height:44px;padding-top:5px;padding-bottom:5px}
.result-select{width:240px}
@media(min-width:861px){.content:has(#productsView:not([hidden])){height:auto;display:block}#productsView:not([hidden]){display:block}.products-panel .table-scroll{max-height:calc(100dvh - 70px);flex:none}}

.content:has(#productsView:not([hidden])){padding-bottom:0}
.content:has(#productsView:not([hidden])) .products-panel{border-bottom-left-radius:0;border-bottom-right-radius:0}


/* Separate DC price lists and comparison basis. */
.secondary-actions{flex-wrap:wrap}.basis-select{width:240px}.secondary-actions>.button{margin-left:auto}.result-select{width:245px}
.products-panel{width:100%;max-width:1420px;margin-left:auto;margin-right:auto}.products-panel .name-col{width:28%;min-width:235px;max-width:380px}.products-panel .price-cell{min-width:100px}.products-panel .competitor-cell{min-width:145px}.products-panel .local-price-column{min-width:102px}.products-panel .ec-column{min-width:145px}.products-panel th,.products-panel td{padding-left:9px;padding-right:9px}.products-panel .select-col{width:35px;min-width:35px;padding-left:12px;padding-right:4px}
th.chosen-basis{box-shadow:inset 0 -2px var(--green)}th.chosen-basis .sort-button{color:var(--green)}.ec-column .money{font-weight:450;color:#637268}.dc-notice{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 16px;color:#71806f;font-size:12px}.dc-notice .link-button{white-space:nowrap}
.import-source-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.template-link{margin-top:16px;margin-bottom:5px}.detail-price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.detail-price-grid .detail-dc{display:flex;flex-direction:column;padding:10px;gap:6px;align-items:flex-start}.detail-price-grid .detail-dc strong{font-size:18px}
@media(max-width:1100px){.product-actions{flex-wrap:wrap}.search-box{flex-basis:100%}.basis-select{width:245px}}
@media(max-width:640px){.basis-select,.result-select,.sort-select{grid-column:1/-1;width:100%}.products-panel .name-col{min-width:230px}.detail-price-grid{grid-template-columns:1fr}.dc-notice{align-items:flex-start}}
