.chat-reset-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:110;display:flex;align-items:center;justify-content:center;padding:20px;background:#08080ab8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:chat-reset-fade .16s ease-out}.chat-reset-dialog{position:relative;width:min(100%,440px);max-height:90dvh;overflow:auto;padding:28px;color:var(--ink);background:var(--card);border-radius:24px;box-shadow:0 24px 70px #0006;animation:chat-reset-in .22s cubic-bezier(.2,.8,.2,1)}.chat-reset-image{width:64px;height:64px;object-fit:cover;border-radius:18px;margin-bottom:18px}.chat-reset-close{position:absolute;right:16px;top:16px;width:32px;height:32px;display:grid;place-items:center;background:var(--control-outline-bg);color:var(--muted);border:0;border-radius:50%}.chat-reset-dialog h2{font-size:24px;line-height:1.25;margin:0 22px 12px 0;overflow-wrap:anywhere}.chat-reset-dialog p{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 16px}.chat-reset-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0;padding:16px;background:var(--control-outline-bg);border-radius:16px}.chat-reset-counts div{min-width:0}.chat-reset-counts dt{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.chat-reset-counts dd{margin:6px 0 0;font-size:23px;font-weight:650;line-height:1.2}.chat-reset-reward strong{display:block;color:var(--ink);margin-bottom:4px}.chat-reset-dialog .chat-reset-final{color:var(--ink);font-weight:550}.chat-reset-dialog .chat-reset-error{color:var(--danger,#ee8992)}.chat-reset-dialog footer{display:flex;gap:10px;margin-top:24px;justify-content:flex-end}.chat-reset-dialog footer button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:12px 18px;border:0;border-radius:13px;font-weight:650;font-size:14px;cursor:pointer}.chat-reset-cancel{background:var(--control-outline-bg);color:var(--ink)}.chat-reset-confirm{background:#a83c4b;color:#fff}.chat-reset-dialog button:hover:not(:disabled){background:var(--card-hover)}.chat-reset-dialog button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.chat-reset-dialog button:disabled{opacity:.45;cursor:default}.chat-reset-entry{display:flex;align-items:center;gap:12px;width:100%;margin-top:18px;padding:15px 16px;border:0;border-radius:13px;background:var(--control-outline-bg);color:var(--ink);font-size:14px;font-weight:600;text-align:left}.chat-reset-entry:hover{background:var(--card-hover)}@keyframes chat-reset-fade{0%{opacity:0}to{opacity:1}}@keyframes chat-reset-in{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}@media(max-width:480px){.chat-reset-backdrop{align-items:flex-end;padding:12px}.chat-reset-dialog{padding:24px 20px;border-radius:22px;max-height:92dvh;margin-bottom:env(safe-area-inset-bottom)}.chat-reset-dialog footer button{flex:1}.chat-reset-dialog h2{font-size:22px}}@media(prefers-reduced-motion:reduce){.chat-reset-backdrop,.chat-reset-dialog{animation:none}}.chat-reset-counts.is-draft{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-reset-entry:disabled{opacity:.45;cursor:default}
