.engagement-chat-modal .chat-main{min-height:0;background:#fff}
.engagement-chat-modal .chat-messages{background:#f8fafc;min-height:180px;max-height:48dvh;padding:16px;overflow:auto}
.engagement-chat-modal .chat-message{margin:10px 0;max-width:85%;border:1px solid #dbe5ee;border-radius:12px;padding:10px 14px}
.engagement-chat-modal .chat-message b{display:block;font-size:12px;color:#245782}
.engagement-chat-modal .chat-composer{padding:10px;gap:10px}
.engagement-chat-modal .chat-composer textarea{min-height:40px;max-height:120px}
.engagement-chat-modal button.primary,.engagement-chat-modal button.ghost,.engagement-chat-modal label.ghost{background:#eaf3ff;color:#175b94;border:1px solid #acc7e0}
.engagement-chat-modal button.primary{background:#175b94;color:white}
.eng-chat-tools,.eng-chat-attachments{padding:8px 12px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.eng-chat-tools>div,.eng-chat-attachments>div{flex-basis:100%}
.eng-chat-tools #engLegacyHistory{max-height:200px;overflow:auto}
.eng-chat-file{display:grid;gap:4px;padding:8px;border:1px solid #b9d0e3;border-radius:8px;background:white;overflow-wrap:anywhere}
.inline-comments{width:100%;border-collapse:collapse}.inline-comments td,.inline-comments th{padding:8px;border:1px solid #d4e1ec;vertical-align:top}
.inline-comments textarea{width:100%;min-width:180px;min-height:42px;resize:vertical;overflow:hidden}
.inline-comments td:nth-child(2){width:55%}.inline-comments td:last-child{white-space:normal}
.received-history-section{margin-top:16px;border:1px solid #d7e3ef;border-radius:12px;background:white;overflow:hidden}.received-history-section>summary{padding:14px 16px;cursor:pointer;color:#254d76;font-weight:700;font-size:14px;background:#f4f8fd}.received-history-section>summary small{margin-left:12px;display:inline-block;color:#6a8198;font-size:11px;font-weight:500}.received-history-section>summary:focus-visible{outline:2px solid #397ab9;outline-offset:-3px}.received-history-list{padding:4px 14px}.received-history-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #e4ebf3}.received-history-row:last-child{border-bottom:0}.received-history-number{font-size:12px;color:#7890a8}.received-history-identity{min-width:0}.received-history-identity b{display:block;overflow-wrap:anywhere;font-size:13px;font-weight:600;color:#263e57;line-height:1.5}.received-history-identity small{display:block;margin-top:4px;color:#698198;font-size:11px}.received-history-status{border-radius:20px;padding:5px 9px;font-size:11px;color:#355d87;background:#edf3fb;white-space:nowrap}.received-history-row button{white-space:nowrap;min-height:36px;margin:0;padding:7px 12px;border-radius:8px;background:#f1f6fc!important;color:#265d93!important;border:1px solid #bdcfe4!important;font:600 12px 'Source Sans 3',Arial,sans-serif}
.receipt-history-modal h2{font-size:22px}.receipt-history-modal h3{font-size:15px;color:#2b527a;margin-top:22px}.receipt-history-modal .eng-timeline{gap:10px}.receipt-history-modal .eng-timeline article{border:1px solid #d9e4ee;padding:14px;border-radius:10px;background:#fbfdff}.receipt-history-modal .eng-timeline article:before{display:none}.receipt-history-modal .eng-timeline article b{font-size:14px;overflow-wrap:anywhere}.receipt-history-modal .eng-timeline article p{font:400 14px/1.5 'Source Sans 3',Arial,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere}.receipt-history-modal .row-actions{display:flex;flex-wrap:nowrap;gap:8px;margin-top:10px}.receipt-history-modal button{border-radius:8px;min-height:36px;margin-top:8px;font-size:12px}.receipt-history-modal button.ghost{background:#f1f6fc;color:#265d93;border:1px solid #bdcfe4}.receipt-history-modal button.danger{background:#fff5f3;color:#b44236;border:1px solid #efc9c4}
@media(max-width:650px){.received-history-row{grid-template-columns:22px minmax(0,1fr) auto;gap:8px}.received-history-identity{grid-column:2/-1}.received-history-status{grid-column:2;justify-self:start}.received-history-row button{grid-column:3}.received-history-section>summary{padding:12px}.received-history-list{padding:3px 10px}}
.internal-comments-section{padding:18px!important;border:1px solid #d7e3ef!important;border-radius:14px!important;background:white!important;min-width:0}
.internal-comments-section .checklist-section-head{margin-bottom:14px;align-items:center;flex-direction:row;gap:12px}.internal-comments-section .checklist-section-head h3{font-size:17px;letter-spacing:-.2px;color:#203c5b}.internal-comments-section .eyebrow{color:#4c7095;font-size:10px;letter-spacing:.1em}.internal-comments-section #addChecklistComment{background:#2563a6!important;color:white!important;border:1px solid #2563a6;border-radius:8px;min-height:36px;padding:7px 14px;font:600 13px 'Source Sans 3',Arial,sans-serif;width:auto}
.internal-comments-section .table-scroll{max-width:100%;overflow:auto;border:1px solid #dce5ef;border-radius:10px}.internal-comments-section .inline-comments{table-layout:fixed;min-width:820px;border:0;margin:0;font-family:'Source Sans 3',Arial,sans-serif}.internal-comments-section .inline-comments th{background:#f3f7fc;color:#526980;text-transform:none;font-size:12px;letter-spacing:0;font-weight:600;padding:11px 12px;border:0;border-bottom:1px solid #dce5ef;text-align:left}.internal-comments-section .inline-comments td{padding:12px;border:0;border-bottom:1px solid #e5ecf4;font-size:12px;color:#506780;vertical-align:top;overflow-wrap:anywhere}.internal-comments-section .inline-comments tr:last-child td{border-bottom:0}.internal-comments-section .inline-comments th:first-child{width:42px}.internal-comments-section .inline-comments th:nth-child(3){width:95px}.internal-comments-section .inline-comments th:nth-child(4){width:145px}.internal-comments-section .inline-comments th:last-child{width:254px}.internal-comments-section .inline-comments td:nth-child(2){width:auto}.internal-comments-section .inline-comments tr[data-unsaved=true]{background:#f7faff}
.internal-comments-section .inline-comments textarea{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:68px;max-height:180px;overflow:auto;resize:vertical;padding:10px 12px;border:1px solid #cbd9e8;border-radius:8px;background:#fff;color:#233950;font:400 14px/1.55 'Source Sans 3',Arial,sans-serif;letter-spacing:normal;box-shadow:none}.internal-comments-section .inline-comments textarea:focus-visible{outline:2px solid #4386cb;outline-offset:2px}.internal-comments-section .inline-comments textarea[readonly]{background:#f8fafc;border-color:transparent}.internal-comments-section .inline-comments [role=status]{display:block;font-size:11px;margin-top:6px;color:#657d95;line-height:1.4}
.internal-comments-section .internal-comment-actions{display:flex;flex-wrap:nowrap;gap:6px;align-items:center;white-space:nowrap}.internal-comments-section .internal-comment-actions button{display:inline-flex!important;align-items:center;justify-content:center;gap:4px;min-height:34px;height:34px;min-width:0;width:auto;margin:0!important;padding:6px 9px;border-radius:7px;font:600 12px/1 'Source Sans 3',Arial,sans-serif;white-space:nowrap;box-shadow:none}.internal-comments-section .internal-comment-actions button svg{width:13px;height:13px;flex:none}.internal-comments-section button[data-save]{background:#2563a6!important;border:1px solid #2563a6!important;color:#fff!important}.internal-comments-section button[data-cancel]{background:#f3f7fc!important;border:1px solid #cbd9e8!important;color:#365d86!important}.internal-comments-section button[data-delete]{background:#fff6f5!important;border:1px solid #efc9c4!important;color:#b44236!important}.internal-comments-section #checklistDiscussionList>small{display:block;margin-top:10px;color:#718298;font-size:11px}
@media(max-width:650px){.internal-comments-section{padding:12px!important}.internal-comments-section .checklist-section-head h3{font-size:16px}.internal-comments-section .inline-comments{min-width:820px}.internal-comments-section .checklist-section-head button{flex:none}}
@media(max-width:650px){.engagement-chat-modal .engagement-chat-context dl{display:none}.engagement-chat-modal .chat-messages{max-height:42dvh}.eng-chat-tools button{flex:1}.engagement-chat-modal .chat-message{max-width:95%}}
.audit-personal-tasks .audit-task-meta{display:block;margin-top:5px;color:#60748b;font-size:11px;line-height:1.4;white-space:normal}
.audit-personal-tasks td{vertical-align:top}.audit-personal-tasks .audit-task-actions{min-width:120px}
.audit-task-actions .action-menu summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 14px;border:1px solid #b5cbe0;border-radius:9px;background:#eef5fc;color:#245b8c;font-weight:600;cursor:pointer;list-style:none}
.audit-task-actions .action-menu summary::after{content:'▾';font-size:12px}.audit-task-actions .action-menu[open] summary{background:#246fa9;color:#fff}
.audit-task-actions .action-menu>div{position:static;min-width:185px;padding:5px;border:1px solid #b5cbe0;border-radius:10px;background:white;box-shadow:0 8px 22px #18334422}
.audit-task-actions .action-menu button{display:block;width:100%;text-align:left;min-height:38px;padding:8px 10px;border:0;border-radius:6px;background:#fff;color:#234c70;font-size:13px}
.audit-task-actions .action-menu button:hover{background:#eaf4fc}.audit-task-actions .action-menu button:focus-visible{outline:2px solid #246fa9;outline-offset:-2px}
