.scan-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}.scan-card{padding:30px}.scan-card>h2{font-size:27px;line-height:1.25;margin:16px 0}.scan-card>p,.scan-aside p{color:#647666;line-height:1.7}.scan-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.scan-actions input[type=file]{position:absolute;width:1px;height:1px;opacity:0}.scan-actions label{cursor:pointer}.scan-actions input:focus-visible+label{outline:3px solid #6d9979}.scan-preview{max-width:100%;max-height:380px;object-fit:contain;display:block;margin:26px auto;border-radius:10px;background:#f3f5ef}.scan-card progress{display:block;width:100%;height:10px;accent-color:#3a6449;margin:16px 0}.scan-aside{padding:26px}.scan-aside h3{font-size:21px;line-height:1.35}.scan-aside p{font-size:13px}.scan-review{margin-top:24px;padding-top:24px;border-top:1px solid #dfe7d9}.scan-warnings{padding:16px 20px;border-radius:12px;background:#fbf5e9;margin-bottom:24px}.scan-warnings h3{font-size:14px}.scan-warnings p{font-size:13px;line-height:1.6;margin:8px 0}.scan-text{margin:22px 0}.scan-text summary{font-size:13px;cursor:pointer}.scan-text pre{font-family:inherit;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;background:#f3f5ed;border-radius:10px}.scan-review>.btn{margin-top:12px}.scan-actions label:has(+input:disabled){opacity:.5;pointer-events:none}@media(max-width:950px){.scan-layout{grid-template-columns:1fr}.scan-aside{order:1}}@media(max-width:640px){.scan-card,.scan-aside{padding:22px}.scan-card>h2{font-size:23px}.scan-actions label{width:100%;justify-content:center}.scan-review .field-grid{grid-template-columns:1fr}}
