.s-chat{background:var(--col-bg);flex-direction:column;width:100%;max-width:480px;height:100dvh;margin:0 auto;display:flex;position:relative;overflow:hidden}@media (min-width:560px){.s-chat{box-shadow:var(--col-shadow)}}.s-chat-top{z-index:3;min-height:60px;padding:max(8px, env(safe-area-inset-top,0px)) 16px 8px;background:rgba(var(--bg-rgb), .78);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex;position:relative}.s-chat-new{background:var(--chip-bg);border-radius:18px;min-height:36px;padding:0 14px;font-size:14px;font-weight:600}.s-testmode{border:1px dashed rgba(var(--acc-rgb), .7);color:var(--mut);text-align:center;border-radius:12px;flex:none;margin:8px 16px 0;padding:6px 12px;font-size:12.5px}.s-chat-empty{text-align:center;place-items:center;gap:12px;min-height:80dvh;padding:0 24px;display:grid}.s-thread{overscroll-behavior:contain;flex-direction:column;flex:1;gap:6px;min-height:0;padding:8px 14px 16px;display:flex;position:relative;overflow-y:auto}.s-intro{text-align:center;flex-direction:column;align-items:center;gap:4px;padding:26px 24px 18px;display:flex}.s-intro-mark{background:var(--surf);width:64px;height:64px;box-shadow:0 0 0 1px rgba(var(--acc-rgb), .28), 0 14px 30px -16px #1c1b1959, 0 0 50px -14px #d6b88899;border-radius:50%;place-items:center;margin-bottom:8px;display:grid}.s-intro-mark svg{width:34px;height:34px}.s-intro b{letter-spacing:-.02em;font-size:17px;font-weight:800}.s-intro small{max-width:30ch;color:var(--mut);font-size:13.5px;line-height:1.4}.s-msg{align-items:flex-end;gap:8px;max-width:100%;animation:.32s cubic-bezier(.2,.8,.2,1) both s-rise;display:flex}.s-msg-ai[data-first=true]{margin-top:8px}.s-msg-me{justify-content:flex-end;margin-top:8px}.s-avatar{border-radius:50%;flex:none;align-self:flex-start;place-items:center;width:30px;height:30px;display:grid}.s-msg-ai[data-first=true] .s-avatar{background:var(--surf);box-shadow:0 0 0 1px rgba(var(--acc-rgb), .3)}.s-avatar svg{width:18px;height:18px}.s-msg-ai[data-first=true] .s-avatar[data-operator=true]{background:var(--pill-bg);color:#e9dcc4;font-size:13px;font-weight:800}.s-bubble{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:20px;max-width:82%;padding:10px 14px;font-size:15.5px;line-height:1.42}.s-msg-ai .s-bubble{background:var(--surf);border:1px solid var(--line);box-shadow:var(--card-shadow);border-top-left-radius:6px}.s-msg-me .s-bubble{background:var(--btn-bg);color:var(--btn-tx);box-shadow:var(--btn-shadow);border-bottom-right-radius:6px}.s-who{color:var(--gold);margin-bottom:2px;font-size:12px;font-weight:700;display:block}.s-typing{gap:5px;padding:14px 16px;display:inline-flex}.s-typing i{background:rgb(var(--acc-rgb));border-radius:50%;width:7px;height:7px;animation:1.2s ease-in-out infinite s-dots}.s-typing i:nth-child(2){animation-delay:.15s}.s-typing i:nth-child(3){animation-delay:.3s}@keyframes s-dots{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.s-sysmsg{background:rgba(var(--acc-rgb), .12);max-width:92%;color:var(--sec-tx);border-radius:16px;align-self:center;align-items:flex-start;gap:8px;margin:12px 0 4px;padding:10px 14px;font-size:13.5px;line-height:1.4;animation:.32s both s-rise;display:flex}.s-sysmsg svg{flex:none;width:17px;height:17px;margin-top:1px}.s-result{border-radius:var(--r-card);background:var(--surf);border:1px solid var(--line);box-shadow:var(--card-shadow);margin:10px 0 4px 38px;padding:16px 16px 14px;animation:.42s cubic-bezier(.2,.8,.2,1) 80ms both s-rise}.s-result[data-urgency=CLINIC_NOW]{background:linear-gradient(180deg, #b4493a0f, var(--surf) 40%);border-color:#b4493a4d}.s-result[data-urgency=NEED_VET]{box-shadow:0 0 0 1px rgba(var(--acc-rgb), .28), 0 24px 50px -28px #1c1b1947, 0 0 70px -36px #d6b88880}.s-result-head h3{letter-spacing:-.025em;font-size:22px;font-weight:800;line-height:1.15;margin-top:10px!important}.s-result-block{border-top:1px solid var(--line);margin-top:14px;padding-top:12px}.s-result-block h4{letter-spacing:.04em;text-transform:uppercase;color:var(--mut);margin:0 0 8px;font-size:12px;font-weight:700}.s-result-block[data-warn=true] h4{color:var(--warn)}.s-result-block ul{flex-direction:column;gap:8px;list-style:none;display:flex}.s-result-block li{align-items:center;gap:10px;font-size:15px;font-weight:500;line-height:1.35;display:flex}.s-result-note{color:#8a847b;font-size:12.5px;line-height:1.4;margin-top:8px!important}.s-result-actions{flex-direction:column;gap:10px;margin-top:16px;display:flex}.s-result-actions .s-ghost+.s-ghost,.s-result-actions .s-btn+.s-ghost{margin-top:0}.s-result-actions .s-btn svg,.s-result-actions .s-ghost svg{width:20px;height:20px}.s-result-actions .s-link{min-height:40px}.s-result-actions .s-link svg{width:18px;height:18px}.s-composer{padding:8px 12px calc(10px + var(--safe-b));background:linear-gradient(to top, var(--bg) 70%, rgba(var(--bg-rgb), 0));flex:none}.s-quick{scrollbar-width:none;gap:8px;padding:2px 2px 10px;display:flex;overflow-x:auto}.s-quick::-webkit-scrollbar{display:none}.s-quick-chip{background:var(--surf);border:1px solid rgba(var(--acc-rgb), .45);min-height:38px;color:var(--gold);white-space:nowrap;border-radius:19px;flex:none;padding:0 15px;font-size:14.5px;font-weight:600;transition:background .15s;animation:.3s both s-rise}.s-quick-chip:active{background:rgba(var(--acc-rgb), .14)}.s-input{background:var(--surf);border:1px solid var(--line);box-shadow:var(--card-shadow);border-radius:26px;align-items:flex-end;gap:8px;padding:6px 6px 6px 16px;transition:border .15s,box-shadow .15s;display:flex}.s-input:focus-within{border-color:rgba(var(--acc-rgb), .7);box-shadow:0 0 0 4px rgba(var(--acc-rgb), .12), var(--card-shadow)}.s-input textarea{resize:none;min-width:0;max-height:132px;font:inherit;color:var(--tx);background:0 0;border:0;outline:0;flex:1;padding:9px 0;font-size:16px;line-height:1.38}.s-input textarea:focus-visible{outline:none}.s-input textarea::placeholder{color:#a9a39a}.s-input textarea:disabled{opacity:.7}.s-send{background:var(--btn-bg);width:42px;height:42px;color:var(--btn-tx);box-shadow:var(--btn-shadow);border-radius:50%;flex:none;place-items:center;transition:transform .12s,opacity .15s;display:grid}.s-send svg{width:20px;height:20px}.s-send:disabled{opacity:.25;box-shadow:none}.s-send:not(:disabled):active{transform:scale(.92)}@media (prefers-reduced-motion:reduce){.s-msg,.s-sysmsg,.s-result,.s-quick-chip,.s-typing i{animation:none!important}}
