.modal-card.checklist-modal,.modal-card.receipt-modal{width:96vw!important;max-width:none!important;height:94dvh!important;max-height:94dvh!important;padding:0!important;background:#fff}.checklist-modal #modalBody,.receipt-modal #modalBody{padding:0!important;max-width:none!important}.checklist-modal .checklist-body,.receipt-modal .receipt-scroll{background:#fff!important;padding:16px 18px!important}.checklist-modal .checklist-head,.receipt-modal .receipt-header{background:#fff;padding:14px 60px 14px 18px;gap:12px}.checklist-modal .checklist-head h2,.receipt-modal .receipt-header h2{font-size:21px!important}.checklist-modal .checklist-section{padding:12px;margin-top:12px;border:1px solid #cbdbea;border-radius:10px;background:#fff}.checklist-modal .checklist-section-head{background:#f0f6fc;padding:9px 10px;border-bottom:1px solid #cbdbea;border-radius:6px;gap:10px}.checklist-modal .checklist-section-head h3{font-size:15px}.checklist-modal .checklist-info{background:#fff;gap:0;margin-bottom:0}.checklist-modal .checklist-info>div{border-right:1px solid #cbdbea;border-bottom:1px solid #cbdbea;padding:8px 10px}.checklist-modal .checklist-info small{background:#f4f8fc;padding:3px;color:#55718c}.pending-metadata{display:flex;gap:12px;align-items:center;font-size:11px;color:#54708c;padding:8px 10px;border:1px solid #cbdbea;border-radius:0 0 8px 8px;background:#fff}.pending-metadata b{font-weight:500}.checklist-modal .checklist-foot,.receipt-modal .receipt-footer{padding:10px 18px;background:#fff}.checklist-modal button,.receipt-modal button{font-family:'Source Sans 3',Arial,sans-serif;border-radius:8px!important;min-height:36px;font-size:12px!important;padding:7px 12px!important}.checklist-modal button.primary,.receipt-modal button.primary{background:#2563a6!important;border:1px solid #2563a6!important;color:#fff!important}.checklist-modal button.danger{background:#fff5f3!important;border:1px solid #ecc9c4!important;color:#ad3b30!important}.checklist-modal .export-pdf{background:#f1f6fc;border:1px solid #bfd0e1;color:#254f7b}
.modal-card.checklist-modal{width:60vw!important;min-width:720px!important;max-width:1120px!important;height:82dvh!important;max-height:82dvh!important}
.pending-table-scroll{width:100%;overflow:auto;border:1px solid #cbdbea;border-radius:6px}.pending-bordered-table,.receipt-bordered-table{width:100%;border-collapse:collapse;table-layout:fixed;margin:0;color:#223e59;font-size:13px}.pending-bordered-table{min-width:680px}.pending-bordered-table th,.pending-bordered-table td,.receipt-bordered-table th,.receipt-bordered-table td{border:1px solid #cbdbea!important;padding:9px 10px;text-align:left;vertical-align:top}.pending-bordered-table th,.receipt-bordered-table th{background:#f0f6fc;font-size:12px;font-weight:600}.pending-bordered-table th:first-child{width:48px}.pending-bordered-table th:nth-child(3){width:150px}.pending-bordered-table th:last-child{width:160px}.pending-bordered-table p{margin:0;line-height:1.5;overflow-wrap:anywhere}.pending-bordered-table p small{display:block}.pending-bordered-table em{font-style:normal;font-size:12px;color:#55718c}.pending-bordered-table td:last-child>div{display:flex;gap:6px;flex-wrap:nowrap}.pending-bordered-table tbody tr:hover{background:#f8fbff}.checklist-modal .internal-comments-section .inline-comments td,.checklist-modal .internal-comments-section .inline-comments th{border:1px solid #cbdbea!important}.checklist-modal .internal-comments-section{padding:12px!important}
.receipt-bordered-table{min-width:840px}.receipt-bordered-table th:first-child{width:45%}.receipt-bordered-table th:nth-child(2){width:130px}.receipt-bordered-table th:nth-child(3){width:160px}.receipt-bordered-table .receipt-item-check{display:flex!important;gap:10px!important;align-items:flex-start!important}.receipt-bordered-table .receipt-item-check input{width:18px!important;height:18px!important;min-height:18px!important}.receipt-bordered-table .receipt-item-check b{font-size:13px;font-weight:600;line-height:1.5}.receipt-bordered-table .receipt-item-check small{font-size:11px;margin-top:4px}.receipt-bordered-table label:not(.receipt-item-check){font-size:11px}.receipt-bordered-table tbody.is-selected{background:#f6faff}.receipt-bordered-table tr[hidden]{display:none!important}.receipt-modal .receipt-partial-fields:not([hidden]){border:0;padding:4px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.receipt-modal .receipt-additional{background:#fff}.receipt-modal .receipt-section-title{background:#f0f6fc;padding:10px;border:1px solid #cbdbea;border-radius:6px}.receipt-modal .receipt-added-row{border:1px solid #cbdbea}.receipt-modal .receipt-added-row label{border-right:1px solid #cbdbea;padding-right:8px}
@media(max-width:760px){.modal-card.checklist-modal,.modal-card.receipt-modal{width:98vw!important;height:97dvh!important;max-height:97dvh!important}.checklist-modal .checklist-body,.receipt-modal .receipt-scroll{padding:10px!important}.checklist-modal .checklist-head{padding:12px 48px 12px 12px}.checklist-modal .checklist-head-actions{display:flex;flex-wrap:wrap}.checklist-modal .checklist-info{grid-template-columns:repeat(2,minmax(0,1fr))}.checklist-modal .checklist-section-head{flex-direction:row;align-items:center}.checklist-modal .checklist-section-head button{width:auto}.checklist-modal .checklist-foot{display:flex;flex-wrap:wrap}.checklist-modal .checklist-foot button{width:auto;flex:1 1 auto}.pending-bordered-table th:nth-child(3){width:120px}}

.pending-bordered-table th:last-child{width:74px}.pending-bordered-table td:last-child>div{justify-content:center}

/* Compact engagement receipt and clearer pending-list columns. */
.pending-bordered-table th:nth-child(2){width:46%}
.pending-bordered-table th:nth-child(3){width:34%}
#modal .modal-card.receipt-modal.engagement-document-receipt-modal{width:min(1080px,60vw)!important;max-width:1080px!important;height:60dvh!important;max-height:60dvh!important}
.engagement-document-receipt-modal .receipt-bordered-table{width:100%;min-width:0;table-layout:fixed}
.engagement-document-receipt-modal .receipt-bordered-table th:first-child{width:42%}
.engagement-document-receipt-modal .receipt-bordered-table th:nth-child(2){width:18%}
.engagement-document-receipt-modal .receipt-bordered-table th:nth-child(3){width:20%}
.engagement-document-receipt-modal .receipt-bordered-table th:nth-child(4){width:20%}
.engagement-document-receipt-modal .receipt-bordered-table th,.engagement-document-receipt-modal .receipt-bordered-table td{padding:7px 8px}
.received-history-section{margin-top:14px;border:1px solid #cbdbea;border-radius:10px;background:#fff;overflow:hidden}
.received-history-section>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#f0f6fc;cursor:pointer;font-weight:700;color:#173b5c}
.received-history-summary-actions{display:flex;align-items:center;gap:8px}
.received-history-summary-actions small{font-weight:600;color:#607787}
.received-history-list{display:grid}
.received-history-row{display:grid;grid-template-columns:32px minmax(0,1fr) minmax(145px,auto) auto auto;gap:10px;align-items:center;padding:10px 12px;border-top:1px solid #d8e4ec}
.received-history-number{font-weight:700;color:#607787;text-align:center}
.received-history-identity{display:grid;gap:2px;min-width:0}
.received-history-identity b{overflow-wrap:anywhere}
.received-history-identity small{color:#607787}
.received-history-date{font-weight:700;color:#2563a6;white-space:nowrap}
.received-history-status{font-weight:700;color:#16857b;white-space:nowrap}
@media(max-width:760px){#modal .modal-card.receipt-modal.engagement-document-receipt-modal{width:98vw!important;max-width:98vw!important;height:97dvh!important;max-height:97dvh!important}.received-history-row{grid-template-columns:28px minmax(0,1fr);align-items:start}.received-history-date,.received-history-status,.received-history-row button{grid-column:2}.received-history-date{white-space:normal}.received-history-section>summary{align-items:flex-start}.received-history-summary-actions{flex-wrap:wrap;justify-content:flex-end}}

.pending-list-loading-state{min-height:min(520px,70dvh);display:flex;align-items:center;justify-content:center;gap:18px;padding:32px;text-align:left;color:#173b5c;background:linear-gradient(145deg,#fff 0%,#f4f9fc 100%)}
.pending-list-loading-state h2{margin:3px 0 4px;font-size:24px}
.pending-list-loading-state p{margin:0;color:#607787}
.pending-list-loading-state .eyebrow{color:#0b8a80;font-weight:800;letter-spacing:.13em;font-size:11px}
.pending-list-loading-spinner{width:34px;height:34px;border:3px solid #d7e6ef;border-top-color:#0b8a80;border-radius:50%;animation:pending-list-spin .75s linear infinite;flex:0 0 auto}
@keyframes pending-list-spin{to{transform:rotate(360deg)}}
