.capture-workflow{padding:14px;border:1px solid #b8cde8;border-radius:10px;background:#fff;margin:12px 0;}
.capture-workflow h4{margin:8px 0 12px;}
.capture-workflow button,.capture-camera{min-height:48px;}
.capture-progress{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0;position:sticky;top:0;z-index:2;background:white;padding:6px 0;}
.capture-progress button{flex:1 1 90px;font-size:13px;padding:8px;}
.capture-progress button[aria-current="step"]{background:#174f92;color:white;border-color:#174f92;}
.capture-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.capture-photo{display:flex;flex-direction:column;gap:8px;min-width:0;padding:12px;background:#f5f8fc;border-radius:8px;border:1px solid #d8e2ef;}
.capture-photo p{overflow-wrap:anywhere;}
.capture-photo img{width:100%;height:160px;object-fit:contain;}
.capture-camera{display:flex;flex-direction:column;gap:8px;justify-content:center;padding:14px;border:2px solid #174f92;border-radius:8px;color:#174f92;font-weight:bold;background:#fff;cursor:pointer;}
.capture-camera input{max-width:100%;font-weight:normal;font-size:13px;}
.capture-actions{display:flex;flex-direction:column;gap:8px;margin:16px 0;}
.capture-workflow>button{margin-top:10px;}
.capture-workflow details{margin:12px 0;}
.capture-workflow summary{cursor:pointer;min-height:40px;padding:8px 0;}
.capture-result,.capture-summary{padding:12px;border:1px solid #d8e2ef;border-radius:8px;margin:12px 0;}
.capture-summary p,.capture-conflict p{overflow-wrap:anywhere;}
.capture-workflow .error{color:#b42318;}
.capture-confirm{padding:20px;border:2px solid #174f92;border-radius:10px;background:#f1f6ff;max-width:520px;width:calc(100% - 56px);max-height:calc(100% - 56px);overflow:auto;}
.capture-confirm::backdrop{background:rgba(17,35,58,.55);}
.capture-confirm button{width:100%;margin:6px 0;}
.capture-finished{padding:12px;background:#edf8ee;border:1px solid #b9dabd;border-radius:8px;color:#225f2d;}
.capture-add{padding:14px;border:1px solid #b8cde8;border-radius:8px;display:flex;flex-direction:column;gap:12px;margin:14px 0;}
.capture-add label{display:flex;flex-direction:column;gap:6px;}
.capture-advanced{margin:12px 0;border-top:1px solid #d8e2ef;padding-top:12px;}
.capture-advanced>summary{cursor:pointer;min-height:44px;padding:10px 0;}
@media(max-width:560px){.capture-photo-grid{grid-template-columns:1fr;}.capture-workflow{padding:10px;}.capture-progress button{flex:1 1 80px;}.capture-workflow button{width:100%;}.capture-progress button{width:auto;}}
