.attachment-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.attachment-item{max-width:100%;border:1px solid rgba(72,104,135,.2);border-radius:12px;background:rgba(255,255,255,.7);color:var(--ink,#243345);padding:8px;text-align:left;cursor:pointer;font:inherit}.attachment-item img{display:block;width:140px;max-width:100%;height:110px;object-fit:cover;border-radius:8px}.attachment-item b,.attachment-item small{display:block;overflow-wrap:anywhere}.attachment-item small{font-size:12px;margin-top:4px;color:var(--ink-2,#4a4f5c)}.attachment-viewer{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#faf8f5;color:#243345}.attachment-viewer[open]{display:flex;flex-direction:column}.attachment-viewer::backdrop{background:#1119}.attachment-viewer header{display:flex;justify-content:space-between;align-items:center;padding:calc(env(safe-area-inset-top) + 12px) 16px 12px}.attachment-viewer button{font:inherit;min-height:44px;border:0;border-radius:12px;background:#e6eaf2;color:#486887;padding:8px 14px}.attachment-viewer #photo-viewport{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;overflow:hidden;touch-action:none}.attachment-viewer #d-img{max-width:100%;max-height:100%;object-fit:contain;touch-action:none;user-select:none}.attachment-viewer footer{text-align:center;padding:12px 16px calc(env(safe-area-inset-bottom) + 12px)}
