#noxori-wireframe .order-chat form.chat-composer.has-chat-attachments,.chat-composer.has-chat-attachments,.message-form.has-chat-attachments{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:end;gap:10px}
.has-chat-attachments>label,.has-chat-attachments>textarea{min-width:0;margin:0}
#noxori-wireframe .has-chat-attachments .chat-icon-button,.has-chat-attachments .chat-icon-button{width:44px;height:48px;padding:10px;display:flex;align-items:center;justify-content:center}
.chat-photo-panel{padding:16px;border-top:1px solid #417b6c;background:#102723;min-width:0}
.chat-photo-panel[hidden],.chat-photo-preview[hidden]{display:none}
.chat-photo-panel label{display:block;font-size:14px;margin:0 0 8px}
.chat-photo-panel input{display:block;max-width:100%;width:100%;box-sizing:border-box;margin-top:8px}
.chat-photo-panel small{display:block;color:#b2cac5}
.chat-photo-preview{display:block;width:160px;height:120px;object-fit:contain;margin:12px 0}
.chat-photo-actions{display:flex;gap:10px;margin-top:12px}
.chat-photo-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}
.chat-photo-status:empty{display:none}
.chat-message-photo{display:block;width:240px;max-width:100%;padding:0;margin:8px 0;border:1px solid #417b6c;border-radius:4px;overflow:hidden;background:#081311;color:inherit;cursor:zoom-in}
.chat-message-photo img{display:block;width:100%;max-height:240px;object-fit:contain}
.chat-photo-viewer{box-sizing:border-box;width:min(900px,94vw);max-height:92dvh;padding:48px 16px 16px;background:#0d1918;color:#f1f8f6;border:1px solid #417b6c;border-radius:8px}
.chat-photo-viewer::backdrop{background:#000c}
.chat-photo-viewer>button{position:absolute;right:8px;top:8px;width:36px;height:36px;display:grid;place-items:center}
.chat-photo-viewer img{display:block;max-width:100%;max-height:calc(92dvh - 80px);margin:auto;object-fit:contain}
@media(max-width:480px){.chat-composer.has-chat-attachments,.message-form.has-chat-attachments{gap:6px}.has-chat-attachments>button[type=submit]{padding-left:12px;padding-right:12px}.chat-photo-panel{padding:12px}}
