/* Chat2: keep layout unchanged; images and question controls fit their message. */
.chat-image-gallery{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.chat-image{margin:0;max-width:100%;min-width:0}.chat-image-open{display:block;padding:0;border:0;background:transparent;cursor:zoom-in;max-width:100%}.chat-image-open img,.markdown-content img{display:block;max-width:100%;max-height:360px;object-fit:contain;border-radius:8px;cursor:zoom-in}.chat-image figcaption{font-size:11px;overflow-wrap:anywhere;opacity:.7}.attachment-preview{width:48px;height:48px;object-fit:contain;border-radius:4px}.chat-image-dialog{max-width:95vw;max-height:95vh;background:#0a1524;color:#edf2f6;border:1px solid #334155;padding:12px}.chat-image-dialog::backdrop{background:#000b}.chat-image-dialog img{display:block;max-width:88vw;max-height:80vh;object-fit:contain;margin-top:10px}.question-card fieldset{border:0;padding:0;margin:12px 0;min-width:0}.question-card legend{font-weight:600;margin-bottom:8px;overflow-wrap:anywhere}.question-card .question-option{display:flex;align-items:flex-start;gap:8px;padding:6px 0;cursor:pointer}.question-card .question-option input{width:auto;flex:0 0 auto;margin-top:3px}.question-card textarea,.question-card input[type=password]{display:block;width:100%;box-sizing:border-box;margin-top:8px;resize:vertical}.question-status:empty{display:none}.question-status{font-size:12px;color:#ffd200}
