.card-conversation{width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:20px;border:1px solid var(--border,#385151);border-radius:18px;background:var(--surface,#102020);color:var(--text,#e8f0f0);box-sizing:border-box}.card-conversation::backdrop{background:#0008}.card-conversation header{display:flex;align-items:flex-start;gap:16px;justify-content:space-between}.card-conversation h2{font-size:1.2rem;margin:0;overflow-wrap:anywhere}.card-conversation button{padding:10px 16px;min-height:44px;border:1px solid var(--border,#507070);border-radius:10px;background:var(--surface,#183232);color:inherit;cursor:pointer}.card-conversation button:disabled{opacity:.55;cursor:wait}.card-conversation-note{font-size:.9rem;line-height:1.5;opacity:.8}.card-conversation-history{max-height:45dvh;overflow:auto;overscroll-behavior:contain}.card-conversation-history article{padding:12px 0;border-bottom:1px solid var(--border,#385151)}.card-conversation-history p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.card-conversation form{display:flex;gap:10px;align-items:flex-end}.card-conversation textarea{flex:1;min-width:0;min-height:80px;max-height:22dvh;background:var(--surface,#183232);color:inherit;border:1px solid var(--border,#507070);border-radius:8px;padding:10px;font:inherit;box-sizing:border-box}.card-conversation [role=status]{font-size:.9rem;line-height:1.4}.card-conversation :focus-visible{outline:2px solid #77cfc6;outline-offset:3px}@media(max-width:500px){.card-conversation{padding:14px}.card-conversation form{flex-direction:column;align-items:stretch}.card-conversation-history{max-height:38dvh}}
