:root{color:#142239;font-synthesis:none;background:#f3f6f9;font-family:Inter,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}main{max-width:1180px;margin:auto;padding:46px 24px 80px}header{margin-bottom:26px}h1{margin:6px 0 20px;font-size:42px;line-height:1.1}h2,h3{margin:0 0 8px}p{color:#5c6b7f;margin:6px 0}.eyebrow{color:#f15a24;letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:800}nav,.row,.actions,.metrics{flex-wrap:wrap;align-items:center;gap:8px;display:flex}button{color:#fff;cursor:pointer;background:#f15a24;border:0;border-radius:8px;padding:10px 15px;font-weight:750;transition:all .15s}button:hover{filter:brightness(.94)}button:disabled{opacity:.5;cursor:default}.secondary{color:#31445e;background:#fff;border:1px solid #d6dde6}.active{box-shadow:0 0 0 3px #f15a2420}.card{background:#fff;border:1px solid #dde4ec;border-radius:16px;margin:18px 0;padding:24px;box-shadow:0 8px 28px #192c4410}.notice{color:#204e77;background:#eaf4ff;border:1px solid #b9daf8;border-radius:10px;padding:13px 48px 13px 16px;position:relative}.close{color:#204e77;background:0 0;padding:3px 10px;font-size:22px;position:absolute;top:4px;right:5px}.section-title,.group-head{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.section-title>span{color:#cc4415;background:#fff0ea;border-radius:99px;padding:5px 11px;font-weight:800}.table-wrap{margin-top:16px;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:760px}th,td{text-align:left;vertical-align:middle;border-bottom:1px solid #e9edf2;padding:12px 10px}th{color:#69798c;text-transform:uppercase;letter-spacing:.03em;font-size:11px}tr.selected{background:#fff8f4}.empty{text-align:center;color:#7a8796;padding:30px}.card>small{color:#68788b;margin-top:14px;display:block}.candidates{scroll-margin-top:16px}.candidate{border-top:1px solid #e8edf2;grid-template-columns:110px 1fr;gap:20px;padding:20px 0;display:grid}.score{color:#f15a24;font-size:26px;font-weight:850}.score small{color:#6c7a8c;font-size:12px;font-weight:600;display:block}.candidate-body>p{font-size:13px}.metrics{margin:12px 0}.metrics span{background:#f1f4f7;border-radius:6px;padding:6px 9px;font-size:12px}.status{color:#485a70;background:#edf1f5;border-radius:99px;padding:6px 9px;font-size:12px;font-weight:800;display:inline-block}.same_product,.top_margin,.green{color:#187342;background:#dff6e8}.different_product,.not_recommended{color:#a52e24;background:#fee9e7}.uncertain,.interesting{color:#8b5b00;background:#fff2d3}.group{border-top:1px solid #e4eaf0;padding:22px 0}.result{background:#f7f9fb;border-radius:12px;margin-top:17px;padding:16px}.positive{color:#158044;font-weight:800}.negative{color:#ba352d;font-weight:800}.margin{color:#f15a24;font-size:18px;font-weight:900}.settings{max-width:850px}.settings label{flex-direction:column;gap:7px;margin:18px 0;font-weight:700;display:flex}.settings input{border:1px solid #cbd5df;border-radius:8px;padding:11px 12px}.settings-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.settings label small{color:#728094;font-weight:500;display:block}.settings .checkbox{flex-direction:row;align-items:flex-start}.checkbox input{margin-top:3px}.checkbox span{flex-direction:column;gap:4px;display:flex}@media (width<=700px){main{padding:28px 13px}h1{font-size:34px}.section-title,.group-head{flex-direction:column}.candidate,.settings-grid{grid-template-columns:1fr}.card{padding:18px}}.preview{border-top:1px solid #e5eaf0;margin-top:22px;padding-top:20px}.preview h3{margin:16px 0 10px}.mapping-grid{grid-template-columns:repeat(3,minmax(180px,1fr));gap:12px;display:grid}.mapping-grid label{color:#596a7e;flex-direction:column;gap:5px;font-size:12px;font-weight:700;display:flex}.mapping-grid select{color:#26384e;background:#fff;border:1px solid #cbd5df;border-radius:8px;width:100%;padding:9px}@media (width<=700px){.mapping-grid{grid-template-columns:1fr}}.button-link{color:#fff;background:#f15a24;border-radius:8px;padding:10px 15px;font-weight:750;text-decoration:none;display:inline-block}.button-link:hover{filter:brightness(.94)}main{max-width:1500px}.candidate{grid-template-columns:auto 110px 1fr}.candidate-image{object-fit:contain;background:#fff;border:1px solid #dde4ec;border-radius:10px;width:96px;height:96px}.settings .candidate{grid-template-columns:1fr}.settings .candidate>.candidate-image{display:none}.candidate-body{min-width:0}.candidate-body pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f9fb;border-radius:8px;max-width:100%;padding:10px;font-size:12px}.candidate-gallery{gap:8px;margin:0 0 12px;display:flex}.image-button{background:#fff;border:1px solid #dde4ec;border-radius:8px;width:92px;height:92px;padding:0;overflow:hidden}.image-button img{object-fit:contain;width:100%;height:100%;display:block}.listing-link{color:#c94516;margin:8px 16px 12px 0;font-weight:700;display:inline-block}.load-more-candidates{margin-left:10px}.search-decision-status{margin-left:6px}.search-decision-status.same_product{color:#187342;background:#dff6e8}.search-decision-status.uncertain{color:#8b5b00;background:#fff2d3}.search-decision-status.different_product{color:#a52e24;background:#fee9e7}@media (width<=700px){.candidate{grid-template-columns:1fr}.candidate-image{width:120px;height:120px}}.pending,.not_searched{color:#485a70;background:#edf1f5}.decision-section{border:1px solid #e1e7ee;border-radius:12px;margin-top:20px;padding:0 16px 8px}.decision-section>h3{border-radius:11px 11px 0 0;justify-content:space-between;margin:0 -16px;padding:12px 16px;display:flex}.decision-section>h3 span{font-size:13px}.decision-same>h3{color:#187342;background:#dff6e8}.decision-uncertain>h3{color:#8b5b00;background:#fff2d3}.decision-pending>h3{color:#485a70;background:#edf1f5}.decision-rejected>h3{color:#a52e24;background:#fee9e7}.decision-rejected .candidate{opacity:.78}.products-workspace{grid-template-columns:minmax(420px,42%) minmax(0,1fr);align-items:start;gap:16px;margin-top:18px;display:grid}.products-workspace>.card{margin:0}.products-workspace>.card:first-child{grid-column:1/-1;margin-bottom:2px}.products-workspace>.card:nth-child(2){padding:18px 16px}.products-workspace>.card:nth-child(2) .section-title h2{font-size:20px}.products-workspace>.card:nth-child(2) .section-title p{font-size:13px}.products-workspace>.card:nth-child(2) .table-wrap{border:1px solid #e5eaf0;border-radius:10px;max-height:calc(100vh - 210px);margin-top:12px;overflow:auto}.products-workspace>.card:nth-child(2) table{table-layout:fixed;min-width:0}.products-workspace>.card:nth-child(2) th,.products-workspace>.card:nth-child(2) td{overflow-wrap:anywhere;padding:8px 7px;font-size:12px;line-height:1.25}.products-workspace>.card:nth-child(2) th:first-child{width:22%}.products-workspace>.card:nth-child(2) th:nth-child(3){width:35%}.products-workspace>.card:nth-child(2) th:nth-child(4){width:25%}.products-workspace>.card:nth-child(2) th:nth-child(7){width:18%}.products-workspace>.card:nth-child(2) th:nth-child(2),.products-workspace>.card:nth-child(2) th:nth-child(5),.products-workspace>.card:nth-child(2) th:nth-child(6),.products-workspace>.card:nth-child(2) td:nth-child(2),.products-workspace>.card:nth-child(2) td:nth-child(5),.products-workspace>.card:nth-child(2) td:nth-child(6){display:none}.products-workspace>.card:nth-child(2) td:nth-child(7) button{white-space:nowrap;padding:7px 8px;font-size:0}.products-workspace>.card:nth-child(2) td:nth-child(7) button:after{content:"Открыть";font-size:10px}.products-workspace>.card:nth-child(2) tbody tr{cursor:pointer}.products-workspace>.card:nth-child(2) tbody tr:hover{background:#fff4ee}.products-workspace>.card:nth-child(2) tbody tr.selected{box-shadow:inset 3px 0 #f15a24}.products-workspace>.candidates,.candidate-placeholder{max-height:calc(100vh - 32px);padding:20px;position:sticky;top:16px;overflow:auto}.products-workspace>.candidates .section-title{z-index:2;background:#fff;border-bottom:1px solid #e8edf2;padding-bottom:14px;position:sticky;top:-20px}.products-workspace>.candidates .section-title h2{font-size:20px}.products-workspace>.candidates .section-title .actions{margin-top:8px}.products-workspace>.candidates .candidate{grid-template-columns:76px 74px minmax(0,1fr);gap:12px;padding:16px 0}.products-workspace>.candidates .candidate-image{object-fit:contain;width:76px;height:76px}.products-workspace>.candidates .score{font-size:19px}.products-workspace>.candidates .candidate-body{min-width:0}.products-workspace>.candidates .candidate-body h3,.products-workspace>.candidates .candidate-body p{overflow-wrap:anywhere}.candidate-placeholder{text-align:center;min-height:360px;box-shadow:none;border-style:dashed;place-items:center;display:grid}.candidate-placeholder>div{max-width:330px}.candidate-placeholder h2{font-size:21px}@media (width<=1050px){.products-workspace{grid-template-columns:minmax(350px,46%) minmax(0,1fr)}.products-workspace>.card:nth-child(2) th:nth-child(4),.products-workspace>.card:nth-child(2) td:nth-child(4){display:none}.products-workspace>.card:nth-child(2) th:first-child{width:26%}.products-workspace>.card:nth-child(2) th:nth-child(3){width:54%}.products-workspace>.card:nth-child(2) th:nth-child(7){width:20%}.products-workspace>.candidates .candidate{grid-template-columns:68px 58px minmax(0,1fr)}.products-workspace>.candidates .candidate-image{width:68px;height:68px}}@media (width<=820px){.products-workspace{grid-template-columns:1fr}.products-workspace>.card:first-child{grid-column:auto}.products-workspace>.card:nth-child(2) .table-wrap{max-height:440px}.products-workspace>.candidates,.candidate-placeholder{max-height:none;position:static}.products-workspace>.candidates .section-title{position:static}.products-workspace>.card:nth-child(2) th:nth-child(4),.products-workspace>.card:nth-child(2) td:nth-child(4){display:table-cell}}@media (width<=520px){.products-workspace>.candidates .candidate{grid-template-columns:64px minmax(0,1fr)}.products-workspace>.candidates .score{grid-column:1}.products-workspace>.candidates .candidate-body{grid-area:1/2/3}}.products-workspace .candidate-links{flex-wrap:wrap;gap:10px;margin:12px 0 10px;display:flex}.products-workspace .listing-link{color:#d94b18;text-underline-offset:2px;font-size:13px;font-weight:800;text-decoration:underline}.products-workspace .listing-link:hover{color:#a9330e}.products-workspace .candidate-links:before{content:"";flex-basis:100%;height:0}.danger{background:#b8322a}.offer-actions{margin:18px 0}.actions select{color:#31445e;font:inherit;background:#fff;border:1px solid #cbd5df;border-radius:8px;padding:10px 12px}.command-success,.offer-active{color:#187342;background:#dff6e8}.command-failed,.offer-ended{color:#a52e24;background:#fee9e7}.command-pending,.offer-activating{color:#8b5b00;background:#fff2d3}
