.document-attachments{clear:both;margin:36px 0 24px;color:#25364a}
.document-attachments__heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}
.document-attachments .document-attachments__heading h4{margin:0 0 6px;font-size:22px;font-weight:600;color:#182b43}
.document-attachments .document-attachments__heading p{margin:0;color:#65758a;font-size:13px;line-height:1.7}
.document-attachments__count{flex-shrink:0;padding:6px 12px;border-radius:20px;background:#eef3f8;color:#50657d;font-size:12px;font-weight:500;white-space:nowrap}
.document-attachments__list{display:grid;gap:24px}
.document-attachment-card{min-width:0;overflow:hidden;background:#fff;border:1px solid #dce4ed;border-radius:14px;box-shadow:0 4px 18px rgba(24,43,67,.045)}
.document-attachment-card__header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px}
.document-attachment-card__identity{display:flex;align-items:center;gap:13px;min-width:0}
.document-attachment-card__icon{display:flex;align-items:center;justify-content:center;flex:0 0 44px;height:48px;background:#fff0ef;border:1px solid #ffe0dd;border-radius:10px;color:#ce4941;font-size:22px}
.document-attachment-card__title{min-width:0}
.document-attachment-card__type{display:block;margin-bottom:4px;color:#718198;font-size:11px;font-weight:500;letter-spacing:.3px}
.document-attachments .document-attachment-card__title h5{margin:0;color:#182b43;font-size:15px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
.document-attachment-card__actions{display:flex;flex-shrink:0;gap:8px}
.document-attachments .document-attachment-card__actions a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 13px;border:1px solid #dce4ed;border-radius:8px;font-size:12px;font-weight:500;line-height:1.5;text-decoration:none;transition:background-color .15s,border-color .15s}
.document-attachments a.document-attachment-card__open{background:#fff;color:#38516e}
.document-attachments a.document-attachment-card__open:hover{background:#f1f5f9;border-color:#b8c9dc}
.document-attachments a.document-attachment-card__download{background:#182b43;border-color:#182b43;color:#fff}
.document-attachments a.document-attachment-card__download:hover{background:#294463;border-color:#294463}
.document-attachments a:focus-visible{outline:3px solid #8cb9e8;outline-offset:3px}
.document-attachment-card__preview{background:#edf1f5;border-top:1px solid #dce4ed}
.document-attachment-card__preview object{display:block;width:100%;height:720px;height:clamp(420px,75vh,780px);border:0}
.document-attachment-card__fallback{display:flex;min-height:240px;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:28px;text-align:center;color:#60728a}
.document-attachment-card__fallback>.fa{font-size:36px;color:#ce4941}
.document-attachments .document-attachment-card__fallback p{margin:0;font-size:14px}
.document-attachment-card__fallback a{color:#254e80;text-decoration:underline;overflow-wrap:anywhere}
.document-attachment-card__footer{display:flex;align-items:flex-start;gap:8px;padding:13px 20px;border-top:1px solid #dce4ed;background:#f8fafc;color:#6a7b90;font-size:11px;line-height:1.8}
.document-attachment-card__footer>.fa{margin-top:4px;color:#8194ab}
.document-attachment-card__image{display:flex;align-items:center;justify-content:center;padding:20px;border-top:1px solid #dce4ed;background:#f8fafc}
.document-attachments .document-attachment-card__image img{display:block;width:auto;max-width:100%;max-height:640px;height:auto;margin:0;border-radius:6px;object-fit:contain}
@media(max-width:600px){
    .document-attachments{margin-top:28px}
    .document-attachments__heading{gap:10px}
    .document-attachments .document-attachments__heading h4{font-size:20px}
    .document-attachments__count{padding:5px 9px;font-size:10px}
    .document-attachment-card__header{align-items:stretch;flex-direction:column;gap:15px;padding:16px}
    .document-attachment-card__actions a{flex:1}
    .document-attachment-card__preview object{height:480px;height:65vh;min-height:360px;max-height:600px}
    .document-attachment-card__footer{padding:12px 16px}
    .document-attachment-card__image{padding:12px}
}
