/* Message work surface: history and contextual reply, distinct read/handled state. */
.conversation-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:16px;align-items:start}.conversation-history{min-width:0;max-height:65vh;overflow:auto}.conversation-message{padding:12px;border-bottom:1px solid #d6dfe5;scroll-margin-top:90px;overflow-wrap:anywhere}.selected-message{background:#fff5de;border-left:4px solid #967344}.conversation-message time{font-size:12px}.conversation-reply{min-width:0}.conversation-reply textarea{width:100%}@media(max-width:900px){.conversation-layout{grid-template-columns:minmax(0,1fr)}.conversation-history{max-height:45vh}}

.conversation-message{max-width:92%;margin-bottom:10px;border-radius:5px}.conversation-message.from-client{margin-right:auto;background:#f0f4f6;border-left:3px solid #486779}.conversation-message.from-office{margin-left:auto;background:#fff6e5;border-right:3px solid #967344}.conversation-message>div{font-size:12px}.conversation-history .actions{clear:both}.client-case-tabs{flex-wrap:wrap}.client-case-tabs [aria-current=page]{font-weight:700;border-bottom:3px solid #967344}
.document-dropzone{border:2px dashed #637b8c;border-radius:5px;padding:18px;margin:12px 0;background:#f5f8fa}.document-dropzone.drag-active{background:#fff4db;border-color:#886333}.document-uploader input[type=file]{max-width:100%;width:100%}.document-uploader progress{width:100%;margin-top:12px}.document-uploader li{overflow-wrap:anywhere}.upload-error{color:#982b28}.upload-ok{color:#215b39}.document-text-preview{white-space:pre-wrap;overflow-wrap:anywhere;max-height:65vh;overflow:auto}.document-uploader p{font-size:13px}.document-uploader{min-width:0}
