.scan-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;background:linear-gradient(120deg,#edf5ef,#f9f6ed);border:1px solid #dbe5dc}.scan-banner h2{margin:6px 0;font-size:21px}.scan-banner p{margin:6px 0}.scan-steps{display:flex;gap:8px;margin-bottom:22px}.scan-steps span{flex:1;border-bottom:3px solid #dfe5e2;padding:9px 0;color:#66776f;font-size:13px}.scan-steps .current{color:#175744;border-color:#2e745a;font-weight:700}.scan-summary{display:flex;flex-direction:column;gap:8px;padding:18px;background:#f4f7f3;border-radius:10px;margin-bottom:18px;overflow-wrap:anywhere}.scan-summary strong{font-size:20px}.scan-existing{padding:12px;border:1px solid #dfe5e2;border-radius:8px;margin:12px 0}#scan-progress{padding:8px 0;color:#175744;font-weight:600}#scan-review .notice li{margin:6px 0}#scan-upload,#scan-review,#scan-settings{min-width:0}#scan-settings label{display:block;margin:14px 0}#scan-settings .check-label{display:flex}#scan-review a{overflow-wrap:anywhere}#scan-upload input[type=file]{max-width:100%}@media(max-width:650px){.scan-banner{align-items:flex-start;flex-direction:column;padding:18px}.scan-banner button{width:100%}#scan-review .modal-footer{flex-wrap:wrap}#scan-review .modal-footer button{flex:1 1 140px}}

.scan-text{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.6 ui-monospace,monospace;max-height:240px;overflow:auto}#scan-settings details{margin:20px 0;padding:14px;background:#f7f8f5;border-radius:8px}#scan-settings summary{cursor:pointer;font-weight:700}

#scan-choice{min-width:0}#scan-choice a{overflow-wrap:anywhere}#scan-choice select{max-width:100%;width:100%}.scan-existing>button{display:block;margin-top:10px}

.scan-field{min-width:0}.scan-field-hint{font-size:12px;line-height:1.5;color:#52675e;margin:6px 0 12px}.scan-field:has(textarea){grid-column:1/-1}
