:root{font:16px/1.6 "Microsoft YaHei",Inter,system-ui,sans-serif;color:#182e37;background:#f3f6f6;--teal:#075a53;--line:#d5dfdf}*{box-sizing:border-box}body{margin:0}header{background:#103d38;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem clamp(1rem,4vw,4rem)}.brand{font-size:1.08rem;font-weight:700;color:white;white-space:nowrap}.brand i{font:normal 1.5rem/1 sans-serif;vertical-align:middle;color:#9de2ba}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}nav,.actions,.tabs,.filters{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}nav a,.link{color:#ecf8f5;font-size:.9rem}.link{background:none;padding:0}main{max-width:1650px;margin:0 auto;padding:clamp(1rem,3vw,3rem)}.slim{max-width:680px;margin:0 auto}.intro{margin:1rem 0 1.6rem}.intro p,small,p{color:#4e6468}.intro p{max-width:55em}h1{font-size:clamp(1.65rem,4vw,2.45rem);line-height:1.2;letter-spacing:-.04em;margin:.45rem 0}h3,p{margin:.4em 0}.panel,.card{background:white;border:1px solid var(--line);border-radius:.85rem}.stack,.slim.panel{padding:clamp(1rem,3vw,2rem)}.stack{display:grid;gap:1.15rem}.pair,.review{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.review{max-width:1200px}.review>a img{max-width:100%;border-radius:.75rem}.review>a{text-align:center}.pair>*{min-width:0}label{display:grid;gap:.4rem;font-weight:650}small{font-size:.88rem;font-weight:400}input,select,textarea{font:inherit;border:1px solid #b8c9c8;border-radius:.5rem;padding:.65rem .85rem;width:100%;min-width:0;color:inherit;background:white}input[type=file]{background:#f1f8f6;border:1px dashed #88b0a8}button,.button{appearance:none;border:0;border-radius:.5rem;background:var(--teal);color:white;padding:.7rem 1.1rem;font:600 1rem/1.45 inherit;font-family:inherit;font-size:1rem;cursor:pointer}.secondary{background:#e8f2ef;color:var(--teal)}button:disabled{opacity:.6}.tabs{border-bottom:1px solid var(--line);margin:0 0 1.2rem;padding:.6rem 0;gap:1.5rem}.tabs a{font-weight:650}.filters{margin-bottom:1rem}.filters input{max-width:24rem}.filters select{max-width:12rem}.scroll{overflow:auto}.gallery,.thumbs{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.gallery{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.card{overflow:hidden}.card div{padding:1rem}.card img,.thumbs img{width:100%;object-fit:contain;aspect-ratio:4/3;background:#edf1f0}.mini{height:38px;max-width:70px}.tag{display:inline-block;padding:.15rem .55rem;font-size:.84rem;border-radius:5px;background:#fff0d5;color:#855416}.tag[data-state=已识别],.tag[data-state=已核对]{background:#d9f0e3;color:#19643e}.tag[data-state=异常]{background:#fce2dc;color:#903e2a}.tag[data-state=识别中]{background:#dceffc;color:#1d5780}table{width:100%;border-collapse:collapse;font-size:.91rem}td,th{text-align:left;padding:.7rem .85rem;white-space:nowrap;border-bottom:1px solid #e4ebea}th{background:#edf3f2;color:#405b5b;font-weight:650}.empty{padding:2.5rem;color:#637874}#files:empty{display:none}#files{display:flex;gap:.4rem;flex-wrap:wrap}#files img{width:66px;height:66px;object-fit:cover;border-radius:.35rem}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #53a798;outline-offset:2px}@media(max-width:650px){header{flex-wrap:wrap;gap:.4rem}nav{gap:.82rem}main{padding:1rem}.pair,.review{grid-template-columns:1fr}.panel{border-radius:.65rem}.filters{gap:.5rem}.thumbs{grid-template-columns:1fr 1fr}}

/* Order photos: keep the native mobile picker and camera accessible. */
.order-pickers { display: flex; flex-wrap: wrap; gap: .65rem; }
.order-picker { position: relative; display: inline-flex; align-items: center; padding: .65rem 1rem; color: var(--teal); background: #e8f2ef; border-radius: .5rem; overflow: hidden; cursor: pointer; }
.order-picker:focus-within { outline: 3px solid #53a798; outline-offset: 2px; }
.order-picker input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.order-photo-status { margin: 0; }
.order-photo-status[data-error=true] { color: #913c2d; }
#files .photo-group { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; width: 100%; padding-block: .4rem; border-bottom: 1px solid var(--line); }
.photo-group button { margin-left: auto; padding: .5rem .7rem; }
.photo-fallback { max-width: 8rem; overflow-wrap: anywhere; font-size: .85rem; }
.photo-fields { display: grid; gap: .45rem; }
.photo-fields .order-pickers { margin-top: .2rem; }
#upload [hidden] { display: none !important; }
#upload[data-upload-start] #files { max-height: 22rem; overflow-y: auto; align-content: start; }
#upload[data-upload-start] .photo-group { min-width: 0; }
#files .photo-group img { display: block; }
#files .photo-fallback { display: inline-block; vertical-align: middle; }
#files .order-picker { margin-left: auto; }
.gmv-expression { overflow-wrap: anywhere; white-space: normal; font-weight: normal; }
td.gmv-expression { min-width: 8rem; max-width: 22rem; }
.review-photo { text-align: center; min-width: 0; }
.review-photo img { max-width: 100%; border-radius: .75rem; }
