:root{color-scheme:light;--blue:#1767c5;--border:#dbe4ef;--muted:#66768a}*{box-sizing:border-box}body{margin:0;background:#f4f7fb;color:#203249;font:14px/1.6 Arial,"Microsoft YaHei","PingFang SC",sans-serif}main{max-width:1700px;margin:auto;padding:24px}h1{font-size:24px;margin:0}h2{font-size:17px;margin:0}p{margin:4px 0}header,.toolbar,.subtoolbar,.paging{display:flex;align-items:center;gap:16px;flex-wrap:wrap}header{justify-content:space-between;margin-bottom:16px}.muted,small{color:var(--muted)}small{font-size:12px;display:block}.badge{display:inline-block;border-radius:4px;background:#e9f3ff;color:#125aa9;padding:2px 8px;font-size:12px}.notice,.message{padding:11px 14px;border-radius:6px;background:#eef6ff;color:#28517c;margin:12px 0}.notice{border:1px solid #d8e8fa}.message.error{background:#fff0f0;color:#a62c33}.message.warning{background:#fff8e8;color:#8e600c}.panel{background:white;border:1px solid var(--border);border-radius:8px;padding:20px;margin-top:16px}.toolbar{justify-content:space-between}.controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap}label{display:flex;flex-direction:column;gap:5px;font-size:13px}button,input,select{font:inherit;min-height:38px;border:1px solid #cbd7e5;border-radius:5px;padding:7px 10px;background:white;color:inherit}button{cursor:pointer;white-space:nowrap}button.primary{color:white;background:var(--blue);border-color:var(--blue)}button:disabled{opacity:.5;cursor:not-allowed}button:hover:not(:disabled){filter:brightness(.95)}:focus-visible{outline:3px solid #81b8ff;outline-offset:2px}#shop{min-width:240px;max-width:400px}#search{min-width:220px}.subtoolbar{margin-top:16px}.subtoolbar .muted{margin-left:auto;font-size:12px}.table-wrap{overflow-x:auto;margin-top:12px}table{border-collapse:collapse;width:100%;text-align:left;min-width:860px}th{background:#f3f6fa;color:#52637a;font-size:12px;font-weight:600;white-space:nowrap}th,td{padding:13px 12px;border-bottom:1px solid #e5ebf2;vertical-align:top}td{font-size:14px}td.name{min-width:240px;max-width:340px;overflow-wrap:anywhere}tr.selected{background:#f0f7ff}table.products{min-width:1130px}.empty{text-align:center;padding:30px;color:var(--muted)}.paging{justify-content:flex-end;margin-top:14px}.paging .muted{margin-right:auto}details{margin:14px 0}summary{cursor:pointer;color:var(--blue)}#description{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;padding:12px;background:#f7f9fc}.preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.preview-grid input,.preview-grid select{width:100%}fieldset{border:0;margin:0;padding:0;min-width:0}legend{font-size:13px;margin:10px 0 14px;color:#52637a}.results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.result{border:1px solid var(--border);background:#f7faff;border-radius:6px;padding:14px}.result strong{font-size:18px;display:block;margin:5px 0}.negative{color:#b42b37}.positive{color:#087d60}footer{color:var(--muted);font-size:12px;margin-top:20px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}@media(max-width:850px){main{padding:14px}.panel{padding:14px}.preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subtoolbar .muted{margin-left:0}}@media(max-width:520px){header{align-items:flex-start}.controls,#shop,#search{width:100%;max-width:100%;min-width:0}.controls label{flex:1}.preview-grid,.results{grid-template-columns:1fr}.paging{gap:8px}.paging .muted{width:100%}}
.products tr.below-minimum{background:#fff1f2}.products tr.below-minimum td{border-bottom-color:#f1c7ce}.floor-price{color:#b12136;font-weight:700}.floor-flag{color:#b12136;font-weight:600}.row-actions{display:flex;flex-direction:column;gap:8px}.danger{color:#a62035;border-color:#e3b4bf}dialog{width:min(680px,calc(100% - 32px));max-height:90vh;overflow:auto;border:1px solid #dbe4ef;border-radius:10px;padding:24px;color:#203249}dialog::backdrop{background:#18334c66}dialog .toolbar{margin-bottom:12px}dialog .preview-grid{grid-template-columns:1fr 1fr}dialog input:disabled{background:#f4f7fb}.check-line{display:flex;flex-direction:row;align-items:flex-start;margin:14px 0;gap:10px}.check-line input{min-height:0;margin-top:5px;width:18px;height:18px;flex-shrink:0}#mutationSummary{white-space:pre-line;padding:12px;border:1px solid #dbe4ef;background:#f7faff}#mutationTarget{overflow-wrap:anywhere}#mutationFloor:empty{display:none}#operations td{overflow-wrap:anywhere;max-width:430px}.mutate-hint{max-width:160px}
.products td.name{min-width:360px;max-width:440px}.product-identity{display:flex;align-items:flex-start;gap:14px}.product-copy{min-width:0;flex:1}.product-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin-bottom:7px}.product-thumb{position:relative;display:flex;align-items:center;justify-content:center;width:88px;height:88px;flex:0 0 88px;padding:0;overflow:hidden;border:1px solid #dbe4ef;border-radius:6px;background:#fff}.product-thumb img{display:block;width:100%;height:100%;object-fit:contain}.thumb-caption{position:absolute;left:0;right:0;bottom:0;background:#f1f5f9ed;color:#40536a;font-size:11px;line-height:20px;text-align:center}.product-thumb.missing-image{color:#66768a;background:#f5f7fa;font-size:12px;text-align:center;white-space:normal;opacity:1}.missing-image .thumb-caption{position:static;background:none;padding:6px;line-height:1.5}.product-image-dialog{width:min(900px,calc(100% - 32px))}.product-image-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:160px;background:#f6f8fb;border:1px solid var(--border);border-radius:6px;margin-bottom:14px;padding:12px}.product-image-stage img{display:block;max-width:100%;max-height:60vh;object-fit:contain}.product-image-stage p:empty{display:none}#productImageName,#productImageMeta{overflow-wrap:anywhere}#productImageStatus{color:var(--muted)}@media(max-width:520px){.product-image-dialog{padding:14px}.product-image-stage img{max-height:55vh}}
.action-title{font-weight:600}.action-original{margin:4px 0;font-size:12px;color:var(--muted)}.action-original summary{color:#526f93}.action-original span{display:block;margin:4px 0;overflow-wrap:anywhere}.translation-pending{color:#806522}.name-help{margin-top:10px}
