*{box-sizing:border-box}html{background:#f4f6f3;color:#182b26;font:16px/1.55 "DM Sans","Microsoft YaHei",Arial,sans-serif}body{margin:0}button,input,select{font:inherit}button,label,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.52}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.wrap{width:min(1184px,calc(100% - 64px));margin:auto}header{background:white;border-bottom:1px solid #dbe1dc}.bar{height:72px;display:flex;align-items:center;gap:56px}.brand{font-size:25px;font-weight:850;letter-spacing:.04em;display:flex;align-items:center;gap:9px}.mark{display:flex;align-items:center;justify-content:center;gap:2px;background:#16453b;width:35px;height:35px;border-radius:10px}.mark i{display:block;background:#c6f583;width:4px;height:14px;transform:skew(-19deg)}.mark i:nth-child(2){height:22px}.mark i:nth-child(3){height:10px}nav{display:flex;height:100%;gap:29px}nav a{display:grid;align-items:center;border-bottom:3px solid transparent;padding-top:3px;font-size:15px;color:#51635c}nav a.active{border-color:#2d6550;color:#183d32;font-weight:700}.counter{margin-left:auto;color:#466553;background:#eef3ec;border-radius:20px;padding:5px 15px;font-size:14px}.hero{overflow:hidden;position:relative;border-radius:20px;background:#153f34;color:#fff;margin:32px 0 25px;min-height:186px;display:flex;align-items:center;padding:35px 5%}.hero>div:first-child{position:relative;z-index:1}.hero h1,.libraryTitle h1{margin:0;font-size:clamp(34px,4.2vw,58px);letter-spacing:-.045em;line-height:1.2}.hero h1 span,.libraryTitle h1 span{color:#b6e885}.hero p{color:#e0ede2;margin:14px 0 0}.heroShoe{position:absolute;right:0;top:0;bottom:0;width:35%;background:#e7ecdb;clip-path:polygon(17% 0,100% 0,100% 100%,0 100%);display:grid;place-items:center}.heroShoe img{width:86%;height:98%;object-fit:contain;mix-blend-mode:multiply;transform:rotate(-5deg)}.columns{display:grid;grid-template-columns:minmax(295px,.85fr) minmax(440px,1.7fr);gap:22px;align-items:start;margin-bottom:40px}.panel{border-radius:16px;border:1px solid #dbe2da;background:white;padding:25px}.panel h2{font-size:21px;line-height:1.3;margin:0 0 19px}.drop{min-height:178px;border:1.5px dashed #9caf9f;border-radius:12px;background:#f4f7f1;position:relative;display:grid;place-items:center}.drop.drag{border-color:#21623e;background:#e3efdc}.drop input{position:absolute;width:1px;height:1px;opacity:0}.drop:focus-within{outline:3px solid #97c5aa}.drop label{cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;height:176px}.plus{display:grid;place-items:center;width:43px;height:43px;margin-bottom:11px;border-radius:13px;background:#e0ebdd;color:#306344;font-size:27px}.drop small,.hint,.sectionHead p,.libraryTitle p{color:#65756b;font-size:14px}.hint{margin:12px 0 18px}.primary{width:100%;padding:11px;border:0;border-radius:9px;background:#1c503f;color:#fff;font-weight:700}.primary:hover:enabled{background:#276449}.subtle{color:#345645;background:#f6f8f4;border:1px solid #d6e0d6;border-radius:8px;padding:6px 12px;font-size:14px}.sectionHead{display:flex;justify-content:space-between;align-items:start;gap:12px}.sectionHead h2{margin-bottom:5px}.sectionHead p{margin:0 0 19px}.results,.library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card{min-width:0;text-align:left;background:white;border:1px solid #dfe5df;border-radius:12px;padding:0;overflow:hidden;color:inherit}.card:is(button):hover{border-color:#74a185;box-shadow:0 3px 14px #29493912}.product{aspect-ratio:1;width:100%;background-repeat:no-repeat;background-color:#eef1eb;display:block}.cardbody{padding:10px 11px;display:grid;gap:1px}.code{font:700 16px/1.4 "DM Sans",Arial,sans-serif;overflow-wrap:anywhere}.supplier,.score{font-size:13px;color:#596a5e;overflow-wrap:anywhere}.score{margin-top:5px;color:#245f42}.picked{display:block;width:100%;height:145px;object-fit:contain}.replace{display:block;font-size:14px;background:none;border:0;color:#22593c;text-decoration:underline;margin:4px auto}.drop #selected{width:100%;padding:7px}.drop #selected .product{width:145px;margin:auto}#status{margin-top:12px;color:#53695b;font-size:14px}#status:empty{display:none}.libraryTitle{margin:35px 0 20px}.libraryTitle h1{font-size:39px}.libraryTitle p{margin:7px 0}.filters{display:flex;gap:12px;margin:18px 0}.filters>*{padding:9px 12px;border:1px solid #cdd9cf;border-radius:8px;background:white;color:inherit}.library{grid-template-columns:repeat(6,minmax(0,1fr))}.pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin:24px 0 48px}.empty{color:#647469}.resultRank{color:#4f6859;font-size:13px;font-weight:650}.resultrow{display:flex;justify-content:space-between;gap:5px}.resultrow .score{margin:0}.loading{height:170px;background:#f2f5f0;border-radius:10px}.card:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #6fa88b;outline-offset:2px}@media(max-width:800px){.wrap{width:calc(100% - 34px)}.bar{gap:23px}.columns{grid-template-columns:1fr 1.35fr;gap:13px}.results{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{padding:17px}.library{grid-template-columns:repeat(4,1fr)}}@media(max-width:620px){.wrap{width:calc(100% - 28px)}.bar{height:59px;gap:17px}.brand{font-size:21px}.mark{width:30px;height:30px}.counter{display:none}nav{gap:18px}.hero{margin:18px 0 14px;min-height:144px;padding:22px 17px}.hero p{font-size:14px;max-width:70%}.heroShoe{width:29%}.columns{grid-template-columns:1fr}.results,.library{grid-template-columns:repeat(2,minmax(0,1fr))}.filters{flex-wrap:wrap}.drop,.drop label{min-height:135px;height:135px}.drop:has(#selected:not([hidden])){height:auto}.panel h2{font-size:19px}.results{gap:10px}}
.selectionActions{display:flex;justify-content:center;gap:16px}.selectionActions .replace{margin:4px 0;min-height:32px;cursor:pointer}

.pagination{flex-wrap:wrap;gap:10px 16px}
#pageJump{display:flex;align-items:center;gap:7px;color:#435c4d;font-size:14px}
#pageNumber{width:5em;min-height:35px;padding:3px 6px;text-align:center;border:1px solid #cdd9cf;border-radius:7px;background:#fff;color:inherit}
.photoLink{display:block}.photoLink:focus-visible{outline-offset:-4px}
.usePhoto,.detailSource{width:fit-content;color:#22593c;text-decoration:underline;text-underline-offset:3px}
.usePhoto{margin-top:5px;padding:2px 0;border:0;background:none;font-size:14px}
.detailPage{margin:28px 0}.detailPage h1{margin:0;overflow-wrap:anywhere}
.detailGallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr));gap:14px;margin:18px 0;max-width:920px}
.detailGallery .product{border-radius:9px;max-width:420px}
