.dak-filter{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto auto;gap:10px;align-items:end}.section-title{font-size:18px;font-weight:600;margin:0 0 15px}.subtle{color:#777;font-size:12px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}.detail-item{padding:10px 0;border-bottom:1px solid #eee}.detail-item strong{display:block;font-size:11px;color:#777;text-transform:uppercase;margin-bottom:4px}.timeline{position:relative;margin:10px 0}.timeline-item{border-left:3px solid #007bff;padding:0 0 18px 18px;margin-left:8px}.timeline-item:last-child{padding-bottom:0}.timeline-title{font-weight:bold}.attachment{padding:9px;border:1px solid #e3e3e3;border-radius:5px;margin:6px 0}.attachment a{text-decoration:none}.request-box{border:1px solid #ddd;border-radius:8px;padding:16px;margin-bottom:12px;background:#fff}.request-actions{display:flex;gap:8px;margin-top:12px}.notice{padding:10px 12px;background:#eef6ff;border-left:4px solid #007bff;border-radius:4px;margin-bottom:15px}.inline{display:flex;gap:8px;align-items:center}.modal{display:none;position:fixed;z-index:99999;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.55);align-items:center;justify-content:center;padding:20px}.modal.show{display:flex}.modal-box{width:100%;max-width:680px;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 10px 40px rgba(0,0,0,.3)}.modal-header{background:#343a40;color:#fff;padding:15px 20px;display:flex;justify-content:space-between;align-items:center}.modal-header h2{margin:0;font-size:18px}.modal-close{background:none;border:0;color:#fff;font-size:27px;cursor:pointer}.modal-body{padding:22px}.modal-footer{padding:14px 20px;border-top:1px solid #ddd;display:flex;justify-content:flex-end;gap:8px}@media(max-width:800px){.dak-filter{grid-template-columns:1fr 1fr}}@media(max-width:650px){.dak-filter,.detail-grid{grid-template-columns:1fr}}

/* =====================================================
   DAK MOVEMENT - STAFF TYPE / RECIPIENT
===================================================== */

.staff-source {
    display: none !important;
}

.send-to-type {
    width: 100%;
}

.target:disabled {
    background: #f1f3f5;
    color: #777;
    cursor: not-allowed;
}


/* =====================================================
   DAK MOVEMENT - STAFF AUTOCOMPLETE
===================================================== */
.recipient-search{width:100%;height:40px;padding:8px 10px;border:1px solid #ccc;border-radius:5px;font-size:13px;background:#fff}.recipient-search:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px rgba(0,123,255,.1)}.recipient-search:disabled{background:#f1f3f5;color:#777;cursor:not-allowed}.dak-recipient-group{position:relative}.recipient-results{display:none;position:absolute;left:0;right:0;top:100%;margin-top:3px;background:#fff;border:1px solid #ccc;border-radius:5px;box-shadow:0 5px 15px rgba(0,0,0,.15);max-height:230px;overflow-y:auto;z-index:100001}.recipient-results.show{display:block}.recipient-result{padding:10px 12px;font-size:13px;cursor:pointer;border-bottom:1px solid #eee}.recipient-result:last-child{border-bottom:0}.recipient-result:hover{background:#f1f6fb}.recipient-no-results{padding:10px 12px;color:#777;font-size:13px}.recipient-help{font-size:11px;color:#777;margin-top:5px}


/* =====================================================
   DAK RECEIVE - FILE / CAMERA UPLOAD
===================================================== */
.dak-upload-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:8px}.dak-upload-actions label{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center}.dak-upload-actions input[type="file"]{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}.dak-file-list{margin:8px 0 10px}.dak-file-list-title{font-size:12px;font-weight:bold;margin-bottom:4px}.dak-file-item{font-size:12px;padding:4px 8px;background:#f5f7f9;border-radius:4px;margin:3px 0;word-break:break-word}@media(max-width:650px){.dak-upload-actions{display:grid;grid-template-columns:1fr 1fr}.dak-upload-actions .btn{width:100%;text-align:center}.dak-file-item{font-size:11px}}


/* DAK sender autocomplete */
.dak-sender-group{position:relative}.dak-sender-search{width:100%}.sender-results{display:none;position:absolute;left:0;right:0;top:100%;margin-top:3px;background:#fff;border:1px solid #ccc;border-radius:5px;box-shadow:0 5px 15px rgba(0,0,0,.15);max-height:230px;overflow-y:auto;z-index:100001}.sender-results.show{display:block}
@media(max-width:800px){.custody-filter{grid-template-columns:1fr 1fr}}@media(max-width:650px){.custody-filter{grid-template-columns:1fr}}


/* DAK receive recipient autocomplete */
.dak-recipient-field{position:relative}.dak-recipient-search{width:100%;height:40px;padding:8px 10px;border:1px solid #ccc;border-radius:5px;font-size:13px;background:#fff}.dak-recipient-search:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px rgba(0,123,255,.1)}.recipient-autocomplete-results{z-index:100002}


/* =====================================================
   DAK MOVEMENT - SELECTED DAK DETAILS
===================================================== */
.move-selected-list{margin-top:6px;width:100%;overflow-x:auto}.move-selected-table{width:100%;border-collapse:collapse;background:#fff}.move-selected-table th,.move-selected-table td{padding:8px 9px;border:1px solid #dfe3e7;text-align:left;font-size:12px;vertical-align:top}.move-selected-table th{background:#f1f5f9;color:#333;font-weight:600;white-space:nowrap}.move-selected-table td{white-space:normal;word-break:break-word}.move-selected-table th:nth-child(1){width:145px}.move-selected-table th:nth-child(2){width:20%}.move-selected-table th:nth-child(3){width:130px}.move-selected-table th:nth-child(4){width:40%}.move-selected-table tr:hover td{background:#fafafa}.moveModal .modal-box{max-width:850px}@media(max-width:650px){.move-selected-table{min-width:650px}.move-selected-list{margin-right:0}.move-selected-table th,.move-selected-table td{font-size:11px;padding:7px}.moveModal .modal-box{max-width:100%}}
