.scan-card{max-width:740px;margin-inline:auto}
.scan-badge{text-align:center}
.scan-badge .hero-actions{justify-content:center}
.badge-qr{display:block;width:min(100%,360px);height:auto;margin:20px auto;background:#fff;border:1px solid var(--line);border-radius:12px}
.station-video{display:block;width:100%;max-height:420px;aspect-ratio:4/3;object-fit:contain;background:#101f5b;border-radius:12px;margin:16px 0}
.station-video[hidden]{display:none}
#station-form{margin-top:20px}
.scan-result{font-weight:700;min-height:3.3rem}
.scan-result[data-result=success]{background:#edf8f1;border-color:#9ac4aa;color:#145c3d}
.scan-result[data-result=duplicate]{background:#fff6dd;border-color:#d9b96c;color:#6c4b0b}
.scan-result[data-result=error]{background:#fff0f0;border-color:#e3abab;color:#8d242d}
.scan-sample{margin-top:20px}
.scan-sample img{display:block;width:180px;height:180px;margin:10px 0}
.scan-sample img[hidden]{display:none}
.scan-admin{display:grid;gap:20px}
.scan-admin h2,.scan-admin h3{margin-top:0}
.scan-admin .field select,.scan-admin .field input{width:100%}
.scan-admin .scan-table{max-width:100%;overflow-x:auto}
.scan-admin .scan-table table{width:100%}
.scan-admin td{vertical-align:top}
.scan-admin details ul{padding-inline-start:18px;margin-bottom:0}
.scan-admin details li{margin-bottom:8px}
.scan-admin .scan-station-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding-block:12px;border-top:1px solid var(--line)}
.scan-admin .scan-station-row:last-child{padding-bottom:0}
.scan-share-url{width:100%;overflow-wrap:anywhere}
.scanner-test-kit{display:grid;grid-template-columns:minmax(190px,260px) minmax(0,1fr);gap:28px;align-items:start}
.scanner-test-badge{text-align:center}
.scanner-test-badge img{display:block;width:100%;height:auto;background:white;margin:14px auto}
.scanner-test-stations{display:grid;gap:20px;min-width:0}
.scanner-test-station{padding:20px;border:1px solid var(--line);border-radius:10px}
.scanner-test-station .field{margin-top:16px;margin-bottom:10px}
.scanner-test-station input{font-size:.8125rem}
.scanner-test-entry{border-top:1px solid var(--line);padding-block:16px}
.scanner-test-entry>p{margin:6px 0 12px}
.scanner-test-status{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.scanner-test-status p{margin:0;font-size:.875rem}
.scan-image-input{margin-top:14px}
.scan-image-input input{max-width:100%;font-size:.875rem}
.scan-image-input small{display:block;margin-top:7px}
@media(max-width:700px){.scanner-test-kit{grid-template-columns:1fr}.scanner-test-badge{max-width:260px;margin:auto}.scanner-test-status{grid-template-columns:1fr}.scanner-test-workspace .section-head{align-items:start;flex-wrap:wrap}}
@media(max-width:600px){.scan-card{padding:20px}.scan-card .section-head{display:block}.scan-card .btn:not(.text){min-height:44px}}

.scanner-reconciliation-result{margin:16px 0;line-height:1.7}
