.chat-media-composer{grid-column:1/-1;width:100%;min-width:0;margin-top:8px;color:#334c6e}.chat-media-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.chat-media-tools small{font-size:11px;color:#5b6c83}.chat-image-attach,.chat-image-preview button{border:1px solid #cbdcf3;border-radius:8px;background:#eef5ff;color:#144e92;padding:8px 12px;font:inherit;cursor:pointer}.chat-image-previews{display:flex;gap:8px;overflow-x:auto;margin-top:8px}.chat-image-preview{flex:0 0 110px;display:flex;flex-direction:column;gap:4px}.chat-image-preview img{width:110px;height:76px;object-fit:contain;background:#e9eff7;border-radius:8px}.chat-image-preview button{font-size:12px;padding:5px}.chat-media-status{font-size:12px;margin-top:5px;white-space:normal}.chat-image{display:inline-flex;max-width:240px;width:100%;flex-direction:column;border:1px solid #c8d8eb;border-radius:10px;padding:5px;background:#fff;color:#165493;cursor:zoom-in;margin:6px 4px 2px 0;text-align:left;overflow:hidden}.chat-image img{width:100%;height:145px;object-fit:contain;background:#edf2f7;border-radius:6px}.chat-image span{font-size:12px;padding:5px}.chat-image-viewer{position:fixed;inset:0;box-sizing:border-box;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:0;background:#101a29;color:#fff;z-index:2147483647;overflow:hidden}.chat-image-viewer[open]{display:flex;flex-direction:column}.chat-image-viewer::backdrop{background:#07101ce8}.chat-image-viewer header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#18283e;flex-wrap:wrap;flex-shrink:0}.chat-image-viewer header>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.chat-image-viewer button{background:#2e4664;color:#fff;border:1px solid #5f7999;border-radius:8px;min-height:40px;min-width:40px;padding:6px 12px;cursor:pointer;font:inherit}.chat-image-viewer output{min-width:50px;text-align:center}.chat-image-stage{position:relative;flex:1;min-height:0;overflow:hidden;display:flex;align-items:center;justify-content:center;touch-action:none;cursor:grab;user-select:none}.chat-image-stage:active{cursor:grabbing}.chat-image-stage img{display:block;max-width:100%;max-height:100%;object-fit:contain;transform-origin:center;pointer-events:none;user-select:none;flex-shrink:0}.chat-image-stage img:not([src]){display:none}.chat-image-stage p{position:absolute;left:10%;right:10%;text-align:center;pointer-events:none}.chat-image-viewer footer{padding:10px 16px;font-size:12px;color:#c8d7eb;flex-shrink:0}@media(max-width:600px){.chat-image-viewer header{padding:10px}.chat-image-viewer header strong{font-size:14px}.chat-image-viewer button{min-height:44px}.chat-media-tools small{width:100%}.chat-image{max-width:100%}.chat-media-composer{flex-basis:100%}}

.chat-file-download{display:block;max-width:100%;padding:10px 12px;border:1px solid #adc9ee;border-radius:8px;background:#edf5ff;color:#064d9e;overflow-wrap:anywhere;text-align:left;cursor:pointer}.chat-image-preview>span{display:block;max-width:160px;overflow-wrap:anywhere;padding:8px}.case-status,#mobileAdminStatus{max-width:100%;min-height:44px;border:1px solid #adc9ee;border-radius:8px;background:#fff;color:#17375e;font:inherit;padding:6px}

.case-open{display:block;margin-top:10px;padding:8px 12px;border:1px solid #adc9ee;border-radius:8px;background:#edf5ff;color:#064d9e;cursor:pointer}

.case-bottom .case-status{width:auto;flex:1;min-width:140px}.case-bottom .chat-badge{flex-shrink:0;margin-left:10px}
