/* Beta 15 : borne de scan documentaire */
.scan-body{min-height:100vh;background:#eef3f1}.scan-shell{width:min(860px,100%);margin:0 auto;padding:30px 20px 46px}.scan-heading{margin-bottom:16px}.scan-heading h1{font-size:32px}.scan-person-card{background:#fff;border:1px solid #cbd8d4;border-left:6px solid #8d9d98;padding:20px 22px;display:grid;gap:5px;margin-bottom:16px}.scan-person-card.is-ready{border-left-color:#1c695d;background:#f1f8f2}.scan-person-card strong{font-size:27px}.scan-person-card span{color:#64737a}.camera-frame{background:#102a23;border:1px solid #0b201b;padding:10px;box-shadow:0 10px 30px #102a2322}.camera-stage{position:relative;aspect-ratio:4/3;display:grid;place-items:center;overflow:hidden;background:#172b26}.camera-stage video{width:100%;height:100%;object-fit:cover;display:block}.camera-placeholder{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;gap:9px;padding:28px;text-align:center;color:#e2ece7;background:repeating-linear-gradient(-45deg,#142722,#142722 12px,#10211c 12px,#10211c 24px)}.camera-placeholder strong{font-size:26px}.camera-placeholder span{max-width:420px;font-size:16px;line-height:1.45}.scan-controls{display:grid;gap:12px;margin-top:16px}.scan-camera-button{width:100%;justify-content:center;font-size:18px}.scan-camera-button.is-active{background:#0d4038}.document-capture-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.document-capture-grid .button{justify-content:center}.document-capture-grid .button:disabled{opacity:.45;filter:grayscale(.45)}.scan-confirm-dialog{width:min(760px,calc(100% - 24px))}.scan-confirm-dialog img{display:block;width:100%;max-height:56vh;object-fit:contain;background:#182824;border:1px solid #b9c7c3}.document-list .document-item{display:flex;align-items:center;gap:7px;min-width:0}.document-list .document-item label{flex:1}.document-list .button{min-height:34px;padding:5px 8px}.document-list .button:disabled{opacity:.38}.action-camera::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h3l2-3h6l2 3h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2Z'/%3E%3Ccircle cx='12' cy='14' r='3.5'/%3E%3C/svg%3E")}.action-scan::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h3l2-3h6l2 3h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2Z'/%3E%3Ccircle cx='12' cy='14' r='3.5'/%3E%3C/svg%3E")}.action-id::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23142121' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='8' cy='11' r='2'/%3E%3Cpath d='M6 16c.8-1.6 3.2-1.6 4 0M14 10h4M14 14h4'/%3E%3C/svg%3E")}.action-permit::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23142121' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h11l3 3v15H5z'/%3E%3Cpath d='M16 3v4h4M8 12h8M8 16h6'/%3E%3C/svg%3E")}.action-validate::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23142121' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E")}.action-insurance::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23142121' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 20 6v5c0 5-3.4 8.4-8 10-4.6-1.6-8-5-8-10V6z'/%3E%3Cpath d='m8.5 12 2.2 2.2 4.8-4.8'/%3E%3C/svg%3E")}.action-save-scan::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h12l4 4v14H5z'/%3E%3Cpath d='M8 3v6h8V3M8 21v-7h8v7'/%3E%3C/svg%3E")}.action-view-document::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%2310423c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E")}@media(max-width:620px){.scan-shell{padding:22px 12px 32px}.scan-person-card strong{font-size:23px}.document-capture-grid{grid-template-columns:1fr}.scan-heading h1{font-size:28px}.camera-stage{aspect-ratio:3/4}.camera-placeholder strong{font-size:22px}}
