/* Status and discussion stay with the exact PDF, on both staff/customer pages. */
.approval-panel{margin:20px 26px;padding:20px;border:2px solid #167044;border-left-width:7px;background:#edf7ef;border-radius:6px;color:#194e34}
.approval-panel>strong{display:block;font-size:1.15rem;letter-spacing:.025em}.approval-panel p{margin:10px 0}.approval-panel .inline-actions{gap:10px;flex-wrap:wrap}
.approval-badge,.decision-is-positive{display:inline-block!important;padding:5px 10px!important;border:1px solid #137445!important;border-radius:5px;background:#e0f2e6!important;color:#125d36!important;font-weight:750!important;line-height:1.4!important}
.approved-choice{border:2px solid #167044!important}.approved-series>.series-heading{border-top:5px solid #167044}.proposal-link{margin:18px 26px;padding:14px;background:#f5f7f6}.selected-decision-banner.earlier-approval{background:#f5edda;color:#634917;border-color:#cba854}
.document-review{margin:22px 26px;border-top:1px solid #cdd9d2;padding-top:22px}.review-revision-picker{display:block;font-weight:650}.review-revision-picker select{display:block;margin:8px 0 16px;max-width:100%;width:100%;font:inherit;padding:10px;border:1px solid #adc4b7;border-radius:5px}
.review-heading h3{font-size:1.05rem;margin:10px 0 4px}.review-heading p{margin:0 0 15px;color:#55695e}.review-columns{display:grid;gap:22px;grid-template-columns:repeat(2,minmax(0,1fr))}.review-columns>section:only-child{grid-column:1/-1}.review-messages h4{margin:0 0 12px;font-size:1rem}.review-message-list{max-height:470px;overflow-y:auto;scrollbar-gutter:stable;overflow-wrap:anywhere}.review-message{padding:16px;background:#f6f9f7;border:1px solid #d8e3dc;border-radius:6px;margin-bottom:12px}.review-attribution{font-size:.85rem;color:#526559;line-height:1.6;margin:7px 0}.review-message-body{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0;line-height:1.55}.review-empty{color:#5a6a60;font-size:.95rem}.review-error{color:#8c3229;line-height:1.5}.review-more,.team-note-form button{font:inherit;color:#215e3e;background:#fff;border:1px solid #98b6a4;border-radius:5px;padding:10px 14px;cursor:pointer}.review-more[hidden]{display:none}.team-note-form label{display:block;font-weight:600}.team-note-form textarea{box-sizing:border-box;display:block;width:100%;font:inherit;resize:vertical;margin:8px 0;border:1px solid #adc4b7;border-radius:5px;padding:10px}.team-note-form p{font-size:.85rem;color:#55695e}.team-note-form button{background:#0c7346;color:#fff}.team-note-form button:disabled{opacity:.55;cursor:wait}.customer-document-comments{padding:20px;margin-top:20px;border:1px solid #d8e3dc;border-radius:6px;background:white}.customer-document-comments .review-columns{display:block}.own-comments-disclosure{margin:14px 0;border:1px solid #d8e3dc;border-radius:5px;padding:10px 14px}.own-comments-disclosure summary{cursor:pointer;font-weight:650;color:#24583d}.own-comments-disclosure .customer-document-comments{margin:10px 0 0;border:0;padding:0}.compact-document-reader .own-comments-disclosure{flex:none;max-height:30vh;overflow:auto;margin:0 16px 10px}.project-numbers{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:1100px){.review-columns{grid-template-columns:1fr}.project-numbers{grid-template-columns:1fr!important}}@media(max-width:600px){.document-review{margin:18px 14px}.approval-panel{margin:16px 14px;padding:14px}}

.review-attachments{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:12px;margin:16px 0 0}.review-attachments li{border:1px solid #cdd9d2;background:#fff;padding:12px;border-radius:5px;min-width:0}.review-attachments img{display:block;max-width:100%;height:130px;object-fit:contain;margin:0 auto 12px}.review-file-download{display:block;color:#175d3c;font-weight:650;overflow-wrap:anywhere}.review-attachments span{display:block;font-size:.85rem;margin-top:6px;color:#526559}.feedback-file-label{display:block;font-weight:650;margin-top:20px}.feedback-file-label input{display:block;max-width:100%;margin-top:10px}.feedback-file-help{font-size:.85rem;color:#526559;line-height:1.5}.feedback-selected{list-style:none;padding:0}.feedback-selected li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #d8e3dc}.feedback-selected span{overflow-wrap:anywhere;min-width:0}.feedback-selected button{flex:none;font:inherit;background:white;color:#215e3e;border:1px solid #98b6a4;border-radius:5px;padding:6px 10px}.feedback-selected button:disabled{opacity:.55}
/* A single chronological discussion keeps customer feedback and internal work together. */
.review-columns{display:block}.review-message.review-internal{border-left:4px solid #8b9fae;background:#f3f6f8}.review-message.review-customer{border-left:4px solid #37805b}.review-reply-context{margin:12px 0;padding:10px 14px;border-left:3px solid #9bb6a6;background:#fff;color:#405b4b}.review-reply-context strong,.review-reply-context span{display:block}.review-reply-context span{font-size:.8rem;margin-top:5px}.review-reply-context p{white-space:pre-wrap;font-size:.9rem;line-height:1.45;margin:7px 0 0;overflow-wrap:anywhere}.review-reply,.review-cancel-reply{font:inherit;font-size:.85rem;color:#215e3e;background:#fff;border:1px solid #98b6a4;border-radius:5px;padding:7px 12px;cursor:pointer;margin-top:12px}.review-reply:disabled{opacity:.5;cursor:default}.review-more{margin-bottom:12px}.review-reply-selection{margin-bottom:12px}.review-reply-selection[hidden]{display:none}

/* Replies form a visible thread; private notes never borrow customer styling. */
.review-heading p:last-child{font-size:.85rem;line-height:1.45;margin-bottom:12px}
.review-thread{margin:0 0 16px}.review-thread .review-message{margin-bottom:0}
.review-replies{margin:0 0 0 19px;padding:12px 0 0 18px;border-left:2px solid #aebfca}
.review-replies .review-thread{position:relative;margin-bottom:10px}
.review-replies .review-thread:before{content:"";position:absolute;left:-19px;top:24px;width:17px;border-top:2px solid #aebfca}
.review-replies .review-replies .review-replies{margin-left:0;padding-left:0;border-left:0}
.review-replies .review-replies .review-replies>.review-thread:before{display:none}
.review-message-title{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 14px}
.review-edited{font-size:.75rem;color:#526559;font-weight:500}
.review-message-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}
.review-message-actions .review-reply,.review-message-actions .review-edit{margin:0;padding:5px 9px;min-height:32px;font:inherit;font-size:.8rem;border:1px solid #9eb7ab;border-radius:4px;background:#fff;color:#215e3e;cursor:pointer}
.review-parent-link{display:flex;flex-wrap:wrap;gap:6px;align-items:baseline;margin:8px 0;font-size:.8rem;color:#526559}
.review-parent-link button{min-height:28px;padding:2px 4px;border:0;background:transparent;color:#20573d;text-decoration:underline;font:inherit;cursor:pointer}
.review-mentioned{display:block;font-size:.78rem;margin-top:8px;color:#405d71}
.review-message-target{outline:3px solid #1665a3;outline-offset:2px}
.review-message-list{padding:3px;scroll-padding:8px;max-height:540px}
.review-save-status{color:#1b653f;font-size:.85rem}.review-save-status:empty,.review-error:empty{display:none}
.review-edit-form{margin-top:14px;padding-top:12px;border-top:1px solid #b6c8bd}
.review-edit-form label{display:block;font-weight:650;font-size:.9rem}
.review-edit-form textarea{display:block;box-sizing:border-box;width:100%;margin:8px 0;padding:10px;font:inherit;line-height:1.5;resize:vertical;border:1px solid #849e8f;border-radius:5px;background:#fff;color:#20382c}
.review-edit-actions{display:flex;flex-wrap:wrap;gap:8px}.review-edit-actions button{min-height:36px;font:inherit;font-size:.85rem;border:1px solid #98b6a4;border-radius:5px;padding:7px 11px;background:#0c7346;color:#fff;cursor:pointer}
.review-edit-actions .review-edit-cancel{background:#fff;color:#215e3e}.review-edit-actions button:disabled{opacity:.55;cursor:default}
.review-edit-hint,.review-edit-error{font-size:.8rem;line-height:1.45}.review-edit-hint{color:#526559}.review-edit-error{color:#8c3229}
.review-mention-control{position:relative;margin:8px 0 10px}.review-mention-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px}
.review-mention-toolbar .review-mention-open{min-height:32px;padding:5px 9px;font:inherit;font-size:.8rem;background:#fff;color:#215e3e;border:1px solid #98b6a4;border-radius:5px;cursor:pointer}
.review-mention-help{font-size:.76rem;line-height:1.45;color:#526559;max-width:38em}
.review-mention-selected{display:flex;gap:6px;flex-wrap:wrap;list-style:none;padding:0;margin:8px 0}.review-mention-selected:empty{display:none}
.review-mention-selected li{display:flex;align-items:center;gap:5px;background:#e6eff6;border:1px solid #b3c8d8;color:#284e69;border-radius:5px;padding:2px 5px 2px 8px;font-size:.8rem}
.review-mention-selected li button{min-width:28px;min-height:28px;padding:2px;background:transparent;color:#284e69;border:0;border-radius:4px;font-size:1.2rem;line-height:1;cursor:pointer}
.review-mention-options{list-style:none;max-height:235px;overflow:auto;padding:4px;margin:8px 0;background:#fff;border:1px solid #98adbe;border-radius:6px;box-shadow:0 3px 9px #18364a18}
.review-mention-options[hidden]{display:none}.review-mention-options li{display:block;padding:8px 10px;cursor:pointer;border-radius:3px;color:#253c4c}
.review-mention-options li strong,.review-mention-options li span{display:block}.review-mention-options li span{font-size:.78rem;margin-top:3px;overflow-wrap:anywhere;color:#4e6574}
.review-mention-options [aria-selected=true]{background:#e6f0f8;outline:2px solid #346c95;outline-offset:-2px}
.review-mention-status{font-size:.78rem!important;line-height:1.4;margin:6px 0!important}.review-mention-status:empty{display:none}
.review-edit-form button:focus-visible,.review-mention-control button:focus-visible,.review-parent-link button:focus-visible,.review-message-actions button:focus-visible{outline:3px solid #1665a3;outline-offset:2px}
@media(max-width:600px){.review-replies{margin-left:8px;padding-left:12px}.review-replies .review-thread:before{left:-13px;width:11px}.review-message{padding:12px}.review-message-actions button,.review-mention-toolbar .review-mention-open,.review-edit-actions button{min-height:40px}.review-mention-selected li button{min-width:36px;min-height:36px}.review-edited{font-size:.72rem}}
@media(prefers-reduced-motion:reduce){.review-message-list{scroll-behavior:auto}}
