:root{font-family:Inter,system-ui,-apple-system,sans-serif;color:#172a38;background:#f3f6f8;font-size:14px}*{box-sizing:border-box}body{margin:0}header{height:76px;background:#fff;border-bottom:1px solid #dce5eb;display:flex;align-items:center;justify-content:space-between;padding:0 36px}.brand{display:inline-grid;place-items:center;background:#146d67;color:#fff;border-radius:10px;width:36px;height:36px;margin-right:12px;font-weight:700}.badge{font-size:11px;font-weight:750;letter-spacing:.06em;color:#146d67;background:#e3f2ee;border:1px solid #bfdfd4;border-radius:20px;padding:9px 13px}main{max-width:1600px;margin:auto;padding:28px 36px}h1{font-size:32px;letter-spacing:-1px;margin:8px 0 12px}h2{font-size:18px;margin:0}.muted,.hint{color:#657a89}.eyebrow{font-size:11px;letter-spacing:.13em;color:#146d67;font-weight:700}.heading,.section-title,.toolbar,.actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.heading{margin:0 0 24px}.card{background:#fff;border:1px solid #dce5eb;border-radius:14px;padding:22px;margin-bottom:20px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stats article span{display:block;color:#657a89}.stats strong{display:block;font-size:28px;margin-top:14px}#progress{font-size:20px}.toolbar{justify-content:flex-start;flex-wrap:wrap;margin:22px 0}.toolbar input{min-width:240px;flex:1}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;background:#f6f8fa;color:#627786;font-weight:600}td,th{padding:14px 10px;border-bottom:1px solid #e8eef2;vertical-align:top}td small{display:block;color:#657a89;margin-top:6px;max-width:240px;line-height:1.45}td strong{white-space:nowrap}input,select{font:inherit;border:1px solid #c8d6df;border-radius:7px;padding:10px;background:#fff;color:#172a38;width:100%}input[type=checkbox]{width:16px;min-width:16px;accent-color:#146d67}button{font:inherit;font-weight:600;background:#146d67;color:#fff;border:1px solid #146d67;border-radius:8px;padding:10px 14px;cursor:pointer}button:hover{filter:brightness(.94)}button:disabled{opacity:.5;cursor:wait}.secondary{background:#fff;color:#365160;border-color:#c8d6df}label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#526c7b}.fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.check{flex-direction:row;align-items:center}.formula{background:#edf5f3;border-left:3px solid #146d67;padding:16px}.hint{font-size:12px;line-height:1.6}summary{cursor:pointer;font-size:16px;font-weight:600}details>p{color:#657a89}footer{display:flex;align-items:center;justify-content:space-between;color:#657a89;font-size:12px}.login{max-width:480px;margin:60px auto}.login form{display:grid;gap:20px}dialog{border:1px solid #dce5eb;border-radius:16px;max-width:850px;width:94%;max-height:90vh;padding:26px}dialog::backdrop{background:#172a3866}.actions{justify-content:flex-end}.warn{color:#af6500}#notice:not(:empty){background:#fff3d8;border:1px solid #e2c16d;padding:14px;border-radius:8px;margin-bottom:20px}.audit-row{padding:12px 0;border-bottom:1px solid #e8eef2}.audit-row small{display:block;color:#657a89}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.hidden,[hidden]{display:none!important}@media(max-width:850px){main{padding:18px}header{padding:16px;height:auto;gap:10px}header .muted{display:none}.heading{align-items:flex-start;flex-direction:column}.stats{grid-template-columns:repeat(2,1fr)}.fields{grid-template-columns:repeat(2,minmax(0,1fr))}h1{font-size:26px}.badge{font-size:9px}footer{gap:16px}}
:root{color-scheme:light}
#products-section>summary{font-size:18px;font-weight:700;margin-bottom:16px}
#products-section>summary span{font-weight:400;color:#657a89}
#unavailable-count{color:#af6500}
#show-unavailable{margin-top:10px}
#unavailable-section>summary{font-size:18px;font-weight:700}
#unavailable-section>summary span{font-weight:400;color:#657a89}
#unavailable-section tbody tr td:nth-child(2) strong{color:#af6500}
.price-settings{border-top:1px solid #dce5eb;margin-top:20px;padding-top:16px}.price-settings h3{margin:0 0 8px;font-size:17px}.price-settings .fields{margin:16px 0}.inherited{opacity:.55}.section-title .actions{justify-content:flex-end;flex-wrap:wrap}
dialog{overflow:auto}
td:last-child button+button{margin-top:7px}
.grade-section{border-top:1px solid #dce5eb;margin-top:24px;padding-top:20px}.grade-section h3,#grade-editor h3{margin:0 0 8px;font-size:17px}.grade-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:18px 0}.grade-grid section{min-width:0}.grade-grid table{font-size:13px}.grade-grid input{min-width:80px}#grade-editor{max-width:980px}#grade-editor form>h2{margin-bottom:10px}#grade-editor .actions{margin-top:22px}#grade-editor .secondary{margin-top:8px}@media(max-width:700px){.grade-grid{grid-template-columns:1fr}}
.heading .actions{justify-content:flex-end;flex-wrap:wrap}#item-brand+small{color:#657a89;font-size:11px;line-height:1.4}
.help-section{scroll-margin-top:24px}.help-section h2{margin:22px 0 8px}.help-section ol{padding-left:22px;line-height:1.7}.help-section p,.help-section dd{line-height:1.7}.help-section dt{font-weight:700;margin-top:14px}.help-section dd{margin-left:0;color:#526c7b}
.checking-row{background:#f0f8f6}.check-status{display:table;width:max-content;max-width:100%;margin-top:8px;padding:5px 8px;border-radius:6px;font-size:12px;font-weight:700;white-space:normal}.check-status.active{color:#12635d;background:#d9f1eb}.check-status.queued{color:#526c7b;background:#edf1f4}.check-status.success{color:#176b48;background:#e1f3e7}.check-status.warning{color:#8b5900;background:#fff1d4}.check-status.failure{color:#a32828;background:#ffe5e5}.check-status.active::before{content:"";display:inline-block;width:10px;height:10px;margin-right:7px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:check-spin .8s linear infinite;vertical-align:-1px}@keyframes check-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.check-status.active::before{animation:none}}
#supplier-editor{max-width:1100px}#supplier-editor .supplier-search{display:flex;align-items:end;gap:12px;margin:16px 0;flex-wrap:wrap}#supplier-editor .supplier-search label{flex:1;min-width:160px}#supplier-editor .actions{margin-top:16px}#supplier-options td:nth-child(2){min-width:250px;line-height:1.4}#supplier-options td:nth-child(2) strong{white-space:normal}#supplier-options button{white-space:nowrap}#supplier-number+small{color:#657a89;font-size:11px;line-height:1.4}
.product-cell{min-width:300px}.product-article{display:block;color:#146d67;font-size:13px;font-weight:750;margin-bottom:5px}.product-cell .product-name{display:block;color:#172a38;font-size:14px;line-height:1.45;font-weight:700;white-space:normal;overflow-wrap:anywhere}.product-rule{color:#365160;font-size:12px;line-height:1.5;margin-top:8px}.supplier-cell small{color:#365160;font-size:12px;font-weight:600;max-width:250px}
.mapping-target{background:#edf5f3;border:1px solid #badbd3;border-left:5px solid #146d67;border-radius:10px;padding:16px 18px;margin:18px 0}.mapping-target-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:#146d67;font-size:13px;font-weight:700}.mapping-target-heading strong{font-size:15px;overflow-wrap:anywhere}.mapping-target h3{color:#172a38;font-size:19px;line-height:1.45;margin:10px 0 14px;overflow-wrap:anywhere}.mapping-target-meta{display:flex;gap:8px 24px;flex-wrap:wrap;color:#365160;font-size:13px}.mapping-target-meta strong{color:#172a38}.mapping-identifiers{color:#365160;font-size:13px;line-height:1.5;margin:10px 0}@media(max-width:700px){.mapping-target-heading{align-items:flex-start;flex-direction:column}.mapping-target h3{font-size:17px}}
.supplier-other{border:1px solid #e4c987;border-radius:8px;background:#fff9eb;margin-top:16px;padding:14px}.supplier-other summary{color:#8b5900;font-size:14px}.supplier-other p{color:#6b5632;font-size:12px;line-height:1.5}.supplier-other table{background:#fff}.supplier-other td:nth-child(2){min-width:250px;line-height:1.4}.supplier-other td:nth-child(2) strong{white-space:normal}.supplier-other button{white-space:nowrap}
