.scan-report {width:100%; max-width:760px; margin:0 auto; color:#182f49; font:16px/1.5 "Microsoft YaHei",system-ui,sans-serif;}
.scan-report *, .scan-report *::before {box-sizing:border-box;}
.scan-report [hidden] {display:none !important;}
.sr-card {background:#fff; border:1px solid #dce4ec; border-radius:12px; padding:18px; margin-bottom:14px;}
.sr-card h2 {font-size:19px; margin:0 0 12px; overflow-wrap:anywhere;}
.sr-card h3 {font-size:16px; margin:12px 0 8px;}
.sr-card p {margin:7px 0 12px;}
.sr-card a {color:#17567c;}
.sr-actions,.sr-search,.sr-datetime {display:flex; flex-wrap:wrap; gap:8px;}
.sr-search {margin-top:18px; flex-wrap:nowrap;}
.sr-search input {flex:1; min-width:0;}
.scan-report input:not([type=file]), .scan-report select, .scan-report textarea {font:inherit; min-height:42px; padding:7px 9px; min-width:0; max-width:100%; border:1px solid #adbcc9; border-radius:6px; background:#fff; color:inherit;}
.scan-report input[readonly] {background:#f1f4f7;}
.scan-report .sr-button,.scan-report .sr-primary {display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:8px 14px; font:inherit; line-height:1.3; border-radius:7px; cursor:pointer;}
.sr-button {color:#23445d; border:1px solid #b8c7d3; background:white;}
.sr-primary {color:white; border:1px solid #146583; background:#146583;}
.sr-file {position:relative; overflow:hidden;}
.sr-file input {position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer;}
.sr-file:focus-within {outline:2px solid #254f94;}
.sr-preview {display:block; width:100%; max-height:310px; margin-top:12px; background:#102537; object-fit:contain;}
.sr-order {display:block; padding:12px 0; text-decoration:none; border-top:1px solid #e2e9f0;}
.sr-order span,.sr-field>span {display:block;}
.sr-note, .sr-order span, .sr-record p {font-size:14px; color:#506478;}
.sr-summary {background:#edf5f7; border-radius:6px; padding:10px; font-size:14px;}
.sr-field {display:block; min-width:0; margin-bottom:12px; font-size:15px;}
.sr-field>span {margin-bottom:4px;}
.sr-field>input,.sr-field>select,.sr-field>textarea {width:100%;}
.sr-datetime input {width:100%;}
.sr-grid {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 12px;}
.sr-tails {overflow:auto; margin-bottom:12px;}
.sr-tails .detail-table {min-width:310px;}
.sr-tails .detail-table input {width:100%;}
.sr-record {padding:8px 0; border-top:1px solid #e2e9f0;}
.sr-alert {color:#a53126;}
.sr-success {padding:10px 14px; color:#17583e; background:#e7f5ed; border-radius:6px; margin-bottom:12px;}
@media(max-width:480px){.sr-card{padding:14px}.sr-grid{grid-template-columns:minmax(0,1fr)}.sr-datetime{flex-wrap:nowrap}.sr-datetime input{flex:1}.sr-form>.sr-primary{width:100%}}

.sr-matches button {display:block; width:100%; margin-top:8px; overflow-wrap:anywhere;}
.sr-photo img {display:block; width:100%; height:auto; margin-top:12px; cursor:crosshair;}
.sr-worklinks {display:flex; flex-wrap:wrap; gap:8px; margin:12px 0;}
.step-qr-list {display:flex; flex-wrap:wrap; gap:16px;}
.step-qr-list figure {margin:0; text-align:center;}
.step-qr-list img {display:block; image-rendering:pixelated;}
