.draft-recovery{display:flex;align-items:flex-start;gap:12px;padding:17px;border:1px solid #ded5f7;border-radius:18px;background:#f6f3ff;margin:0 0 18px;color:#3b2b63}
.draft-state-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:11px;background:#eae2fb;color:#7547bd}
.draft-state-icon svg{width:18px;height:18px}
.draft-recovery strong{font-size:14px;line-height:1.45;display:block}
.draft-recovery p{font-size:12px;line-height:1.65;color:#655977;margin:5px 0 0}
.draft-recovery .button{margin-top:12px;min-height:44px}
.draft-recovery.has-error{background:#fff3e9;border-color:#f2cba9;color:#773c23}
.draft-recovery.has-error p{color:#774e38}
.draft-recovery.has-error .draft-state-icon{color:#8c5128;background:#ffe4cc}
.scan-form-actions{display:flex;gap:10px;flex-wrap:wrap}
.scan-form-actions .button{min-height:48px}
.scan-bottom .icon-button,.draft-row{min-height:44px;min-width:44px}
.check-line input{flex:none;min-width:22px;min-height:22px;margin:2px 0}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8f68d5;outline-offset:3px}
@media(max-width:720px){
 .scan-layout{gap:20px}
 .scanner-stage{height:330px;min-height:300px}
 .scan-form-actions{flex-direction:column;align-items:stretch}
 .scan-form-actions .button{width:100%;justify-content:center}
 .draft-recovery{padding:14px;border-radius:16px}
 .draft-recovery p{font-size:12px}
 .draft-row{gap:8px;flex-wrap:wrap}
 .scan-bottom{gap:10px;flex-wrap:wrap}
 .scan-bottom .button{flex:1;justify-content:center;font-size:12px}
 .scan-bottom .photo-counter{margin-left:0}
 .segment button,.button.small,.account-header,.admin-tabs button,.scan-layout .button,.topbar .icon-button{min-height:44px}
 .topbar .icon-button{min-width:44px}
 .demo-banner{min-height:44px}
 .demo-banner button{min-height:44px;min-width:44px;display:grid;place-items:center}
 .check-line{min-height:44px;padding-top:10px;padding-bottom:10px}
 .photo-strip{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
}
