.procedure{width:100%;margin-top:18px;padding:20px;border:1px solid #cbd9e8;border-radius:12px;background:#fbfdff;box-sizing:border-box}
.procedure h3{margin:0 0 6px;color:#16335f;font-size:19px}
.procedure>p{margin:0 0 16px;color:#60738f}
.procedure form{display:grid;gap:14px}
.procedure label{display:grid;gap:6px;color:#425e83;font-size:13px;font-weight:800}
.procedure input,.procedure textarea{box-sizing:border-box;width:100%;border:1px solid #b9c9dc;border-radius:8px;padding:10px;font:inherit;color:#16335f;resize:vertical}
.procedure-times,.procedure-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.procedure button{justify-self:start;padding:10px 16px;border:0;border-radius:8px;background:#1877ed;color:#fff;font-weight:800;cursor:pointer}
.procedure-actions{display:flex;gap:10px;align-items:center}
.dicom-upload{margin-top:16px;padding-top:16px;border-top:1px solid #d7e2ef}.dicom-upload small{display:block;color:#60738f;font-weight:500}.dicom-upload input{background:#fff}
.procedure-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.procedure-summary p{margin:0;padding:11px;border:1px solid #d7e2ef;border-radius:8px;color:#16335f}
.procedure-summary p:nth-child(n+3){grid-column:span 1}
.dicom-note{padding:10px 12px;border-radius:8px;background:#fff5df!important;color:#8d5c00!important}
.report-saved{background:#f2f8ff}
.report-saved strong{color:#16335f}
.handoff-note{margin:0 0 16px;padding:11px 13px;border-left:3px solid #1877ed;border-radius:6px;background:#f2f8ff;color:#385c89}
.handoff-history{background:#f8fcf9}.state.sent{background:#e7f6ec;color:#187246}.sent-stage{border-top:1px solid #d7e2ef;padding-top:24px}.sent-study{background:#fbfffc}
.history-heading{margin:18px 0 10px;color:#16335f;font-size:16px}
.saved-files{margin-top:18px;padding-top:16px;border-top:1px solid #d7e2ef}
.saved-files h4{margin:0 0 9px;color:#16335f;font-size:14px}
.files-summary{margin:0;color:#4c6588}.file-details{margin-top:10px}.file-details summary{cursor:pointer;color:#235d9c;font-weight:700}.file-details .file-list{margin-top:10px}
.file-list{list-style:none;margin:0;padding:0;border:1px solid #d7e2ef;border-radius:8px;background:#fff}
.file-list li{display:flex;justify-content:space-between;gap:16px;padding:10px 12px;color:#16335f;border-bottom:1px solid #e5edf5}
.file-list li:last-child{border-bottom:0}
.file-list li span{color:#60738f;white-space:nowrap}
.empty-files{margin:0;color:#60738f}
.handoff-confirmation{margin-top:18px;padding:16px;border:1px solid #cdddf0;border-radius:12px;background:#f6faff}
.handoff-confirmation h4{margin:0 0 4px;color:#16335f;font-size:16px}
.handoff-confirmation>p{margin:0 0 12px;color:#526985;font-size:14px}
.handoff-confirmation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.handoff-confirmation-grid>div{padding:10px 12px;border:1px solid #d7e2ef;border-radius:8px;background:#fff}
.handoff-confirmation-grid b{display:block;margin-bottom:4px;color:#526985;font-size:12px}
.handoff-confirmation-grid span{color:#16335f;font-weight:700}
.final-actions{margin-top:16px}
.procedure button:disabled{background:#a7b9cf;cursor:not-allowed}
.upload-help{margin:0 0 12px!important;color:#425e83!important}
.upload-progress{margin-top:14px;padding:12px 14px;border:1px solid #b9d6f4;border-radius:10px;background:#f3f9ff}.upload-progress-head{display:flex;justify-content:space-between;gap:12px;color:#16335f}.upload-progress-head b{color:#0874ea}.upload-progress-track{height:10px;overflow:hidden;margin:9px 0 6px;border-radius:999px;background:#dceaf7}.upload-progress-track span{display:block;width:0;height:100%;border-radius:inherit;background:#1877ed;transition:width .15s ease}.upload-progress small{color:#526985}
.drop-zone{min-height:124px;display:grid;place-content:center;gap:7px;padding:20px;border:2px dashed #8db8e8;border-radius:12px;background:#f7fbff;color:#16335f;text-align:center;cursor:default;transition:.15s ease}.drop-zone strong{font-size:16px}.drop-zone span{color:#60738f;font-size:14px}.drop-zone.dragging{border-color:#1877ed;background:#edf6ff;transform:translateY(-1px)}.drop-fallback{display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:#526985;font-size:13px;font-weight:700}.procedure .secondary-action{padding:8px 12px;background:#fff;color:#365a86;border:1px solid #b9cce3}.procedure .secondary-action:hover{background:#f2f7fd}
@media(max-width:760px){.procedure-times,.procedure-grid,.procedure-summary,.handoff-confirmation-grid{grid-template-columns:1fr}.procedure-summary p:nth-child(n+3){grid-column:auto}}
