/* مصدر الوثيقة في تبويب «الوثائق والمرفقات» بملف الموظف الشامل */
.ed-source{display:flex;flex-direction:column;gap:6px;min-width:300px}
.ed-url{width:100%;border:1px solid #e2e8f0;border-radius:8px;padding:6px 8px;font-size:12.5px;text-align:left}
.ed-url:focus{outline:2px solid #a5b4fc;outline-offset:1px}
.ed-actions{display:flex;flex-wrap:wrap;gap:4px}
.ed-btn{display:inline-flex;align-items:center;border:1px solid #c7d2fe;background:#eef2ff;color:#3730a3;border-radius:8px;padding:4px 9px;font-size:12px;font-weight:800;cursor:pointer;text-decoration:none;white-space:nowrap;font-family:inherit}
.ed-btn:hover{background:#e0e7ff}
.ed-btn:disabled{opacity:.6;cursor:wait}
.ed-camera{border-color:#a7f3d0;background:#ecfdf5;color:#047857}
.ed-open{border-color:#bae6fd;background:#f0f9ff;color:#0369a1}
.ed-clear{border-color:#fecaca;background:#fef2f2;color:#b91c1c}
.ed-msg{font-size:12px;color:#b91c1c;font-weight:700}
.ed-backdrop{position:fixed;inset:0;z-index:1000;background:#0f172a73;display:flex;align-items:center;justify-content:center;padding:16px}
.ed-dialog{background:#fff;border-radius:18px;width:min(640px,100%);max-height:min(80vh,720px);display:flex;flex-direction:column;gap:10px;padding:16px;box-shadow:0 20px 50px #0f172a40}
.ed-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:15px}
.ed-icon{border:0;background:#f1f5f9;border-radius:10px;width:34px;height:34px;cursor:pointer;font-size:14px}
.ed-search{border:1px solid #e2e8f0;border-radius:10px;padding:9px 12px;font-size:14px;font-family:inherit}
.ed-list{overflow-y:auto;display:flex;flex-direction:column;border:1px solid #e2e8f0;border-radius:12px;min-height:120px}
.ed-item{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:right;border:0;border-bottom:1px solid #f1f5f9;background:#fff;padding:10px 12px;cursor:pointer;font-family:inherit}
.ed-item:last-child{border-bottom:0}
.ed-item:hover{background:#eef2ff}
.ed-item b{font-size:13.5px;color:#0f172a}
.ed-item span{font-size:12px;color:#64748b}
.ed-empty{padding:24px;text-align:center;color:#64748b;font-size:13px}
.ed-error{color:#b91c1c}
@media (max-width:560px){.ed-source{min-width:240px}}
