.chat-layout{grid-template-columns:minmax(0,1fr);gap:14px;min-width:0;display:grid}.chat-layout>*{min-width:0}@media (width>=48rem){.chat-layout{grid-template-columns:minmax(220px,300px) minmax(0,1fr)}}.chat-list{flex-direction:column;gap:8px;min-width:0;display:flex}.chat-conv{text-align:left;touch-action:manipulation;background:#fffaf1;border:1px solid #ecd9bf;border-radius:18px;align-items:center;gap:10px;width:100%;min-height:64px;padding:8px 10px;display:flex;box-shadow:0 2px #dcc3a5}.chat-conv[aria-current=true]{background:#f6e4cd;border-color:#c89a7c}.chat-conv:active{transform:translateY(1px)}.chat-badge{color:#fff9ef;text-align:center;background:#b8433f;border-radius:99px;min-width:22px;padding:1px 6px;font-size:12px;font-weight:800}.chat-thread{background:#fffaf1;border:1px solid #ecd9bf;border-radius:20px;flex-direction:column;min-width:0;height:calc(100dvh - 300px);min-height:380px;display:flex;overflow:hidden}@media (width>=48rem){.chat-thread{height:calc(100dvh - 200px)}}.chat-thread-head{background:#f8ead6;border-bottom:1px solid #ecd9bf;align-items:center;gap:10px;padding:8px 10px;display:flex}.chat-icon-btn{color:#5b3f33;border-radius:14px;place-items:center;min-width:44px;min-height:44px;display:grid}.chat-scroll{overscroll-behavior:contain;flex:1;padding:10px;overflow:hidden auto}.chat-row{display:flex}.chat-row-mine{justify-content:flex-end}.chat-bubble{color:#39291f;background:#efe1cf;border-radius:18px 18px 18px 6px;max-width:82%;padding:7px 11px 4px}.chat-bubble-mine{color:#fff9ef;background:#2f7f86;border-radius:18px 18px 6px}.chat-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.35}.chat-time{opacity:.7;text-align:right;margin-top:1px;font-size:11px;display:block}.chat-day{text-align:center;color:#8a6f5f;margin:10px 0 6px;font-size:12px;font-weight:700}.chat-seen{text-align:right;color:#8a6f5f;padding-right:4px;font-size:11px}.chat-skel{background:#ecdcc7;border-radius:16px;height:38px;animation:1.6s ease-in-out infinite pulse}.chat-empty-thread{text-align:center;max-width:260px;margin:40px auto}.chat-composer{background:#f8ead6;border-top:1px solid #ecd9bf;padding:8px}.chat-input{resize:none;color:#39291f;field-sizing:content;background-color:#fffaf1;border:1px solid #dcc3a5;border-radius:16px;flex:1;min-width:0;min-height:44px;max-height:140px;padding:10px 12px;font-size:16px}.chat-send{color:#fff9ef;background:#b8433f;border-radius:16px;flex:none;place-items:center;width:48px;height:44px;display:grid}.chat-send:disabled{opacity:.45}.chat-send-error{color:#8f2f2a;background:#f7dcd6;border-radius:10px;margin-bottom:6px;padding:6px 9px;font-size:13px}.chat-entry-badge{position:absolute;top:12%;right:12%}.chat-more-row{align-items:center;gap:12px;display:flex}
