*{box-sizing:border-box}html,body{background:var(--bg);height:100%;color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;margin:0;padding:0}.shell{flex-direction:column;max-width:46rem;height:100vh;margin:0 auto;padding:0 1rem;display:flex}.header{border-bottom:1px solid var(--border);align-items:baseline;gap:.6rem;padding:1.25rem .25rem 1rem;display:flex}.header h1{letter-spacing:-.01em;margin:0;font-size:1.05rem;font-weight:600}.header .sub{color:var(--text-muted);font-size:.85rem}.header button{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:0 0;border-radius:6px;margin-left:auto;padding:.3rem .65rem;font-size:.8rem}.header button:hover{color:var(--text);border-color:var(--text-muted)}.thread{flex-direction:column;flex:1;gap:1rem;padding:1.25rem .25rem;display:flex;overflow-y:auto}.empty{text-align:center;color:var(--text-muted);max-width:28rem;margin:auto;font-size:.95rem;line-height:1.6}.row{display:flex}.row.user{justify-content:flex-end}.bubble{white-space:pre-wrap;word-wrap:break-word;border-radius:12px;max-width:84%;padding:.7rem .9rem;font-size:.95rem;line-height:1.55}.row.user .bubble{background:var(--accent);color:var(--accent-text);border-bottom-right-radius:4px}.row.assistant .bubble{background:var(--surface);border:1px solid var(--border);border-bottom-left-radius:4px}.row.error .bubble{background:var(--surface-muted);border:1px solid var(--border);color:var(--text-muted);font-style:italic}.thinking{gap:.25rem;display:inline-flex}.thinking span{background:var(--text-muted);border-radius:50%;width:5px;height:5px;animation:1.2s ease-in-out infinite pulse}.thinking span:nth-child(2){animation-delay:.15s}.thinking span:nth-child(3){animation-delay:.3s}@keyframes pulse{0%,60%,to{opacity:.25}30%{opacity:1}}.composer{border-top:1px solid var(--border);gap:.6rem;padding:.75rem .25rem;display:flex}.composer textarea{resize:none;background:var(--surface);border:1px solid var(--border);color:var(--text);border-radius:10px;flex:1;max-height:9rem;padding:.65rem .8rem;font-family:inherit;font-size:.95rem;line-height:1.5}.composer textarea:focus{border-color:var(--accent);outline:none}.composer button{background:var(--accent);color:var(--accent-text);cursor:pointer;border:none;border-radius:10px;padding:0 1.1rem;font-size:.9rem;font-weight:500}.composer button:disabled{opacity:.45;cursor:not-allowed}.disclaimer{text-align:center;color:var(--text-muted);margin:0;padding:0 0 .5rem;font-size:.75rem}.legal-links{justify-content:center;gap:1rem;padding:0 0 1rem;font-size:.75rem;display:flex}.legal-links a{color:var(--text-muted)}.legal{max-width:44rem;margin:0 auto;padding:1.5rem 1.25rem 4rem;font-size:1rem;line-height:1.65}.legal-nav{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;gap:.5rem 1rem;padding-bottom:1rem;font-size:.9rem;display:flex}.legal a{color:var(--accent);text-underline-offset:2px;text-decoration:underline}.legal-nav a{text-decoration:none}.legal-nav span{gap:1rem;display:flex}.legal h1{letter-spacing:-.02em;margin:2rem 0 .4rem;font-size:1.9rem;line-height:1.2}.legal-meta{color:var(--text-muted);margin:0 0 1.5rem;font-size:.9rem}.legal h2{margin:2.25rem 0 .6rem;scroll-margin-top:1rem;font-size:1.2rem;line-height:1.3}.legal p,.legal ul{margin:0 0 .9rem}.legal ul{padding-left:1.25rem}.legal li{margin-bottom:.4rem}.legal-toc{background:var(--surface);border:1px solid var(--border);border-radius:10px;margin:1.5rem 0 0;padding:1rem 1.25rem;font-size:.95rem}.legal-toc ol{margin:0;padding-left:1.25rem}
