.markdown{background-color:var(--background-secondary);color:var(--foreground);line-height:1.7;word-break:break-word}.markdown .anchor{display:none!important}.markdown blockquote,.markdown code,.markdown pre{background-color:var(--background-secondary);color:var(--foreground)}.markdown p{margin:0}.markdown p+p{margin-top:.35rem}.markdown li{margin:.3rem 0}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{margin:1rem 0 .6rem}.markdown h1{font-size:clamp(30px,3.4vw,36px);font-weight:750;letter-spacing:-.015em;line-height:1.25}.markdown h2{font-size:clamp(24px,2.6vw,30px);font-weight:680;line-height:1.32}.markdown h3{font-size:clamp(20px,2.1vw,24px);font-weight:640;line-height:1.36}.markdown h4{font-size:clamp(17px,1.7vw,20px);font-weight:600;line-height:1.4}.markdown h5{font-size:15px;font-weight:580;letter-spacing:.01em}.markdown h6{font-size:14px;font-weight:560;color:var(--muted-foreground);text-transform:uppercase;letter-spacing:.12em}.markdown h1+h2,.markdown h2+h3,.markdown h3+h4,.markdown h4+h5,.markdown h5+h6{margin-top:.6rem}.markdown h1:after,.markdown h2:after{content:"";display:block;width:72px;height:3px;margin-top:.35rem;background:linear-gradient(90deg,rgba(99,102,241,.28),transparent);border-radius:999px}.markdown img{border-radius:.5rem}.markdown blockquote{border-left:2px solid var(--border);padding-left:.75rem}.plan-compact.markdown{line-height:1.5}.plan-compact.markdown p{margin:0}.plan-compact.markdown p+p{margin-top:.28rem}.plan-compact.markdown li{margin:.2rem 0}.plan-compact.markdown h1,.plan-compact.markdown h2,.plan-compact.markdown h3,.plan-compact.markdown h4,.plan-compact.markdown h5,.plan-compact.markdown h6{margin:.7rem 0 .4rem}.plan-compact.markdown li,.plan-compact.markdown p{font-weight:310;font-variation-settings:"wght" 310;font-size:14px}.markdown :not(pre)>code:after,.markdown :not(pre)>code:before{content:none}.prose :not(pre)>code:after,.prose :not(pre)>code:before{content:none!important}.thinking-markdown .markdown{font-size:12px;line-height:1.6}.thinking-markdown .markdown blockquote{border-left:3px solid var(--border);padding-left:12px;margin:6px 0;background-color:transparent}.thinking-card{border:1px solid #000;background-color:var(--color-card);border-radius:var(--radius-xl);padding:10px 12px 10px 0;box-shadow:none;position:relative;overflow:hidden}.dark .thinking-card{border-color:#fff;box-shadow:none}.thinking-card.collapsed{padding:6px 8px 6px 0;border-radius:var(--radius-lg)}.thinking-card .thinking-bg{position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.1),rgba(0,0,0,0) 24%,rgba(0,0,0,0) 76%,rgba(0,0,0,.1)),linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,0) 24%,rgba(0,0,0,0) 76%,rgba(0,0,0,.1)),radial-gradient(120% 100% at 50% 0,rgba(255,255,255,.36),rgba(255,255,255,0) 45%),radial-gradient(120% 100% at 50% 100%,rgba(0,0,0,.16),rgba(0,0,0,0) 55%)}.dark .thinking-card .thinking-bg{background:linear-gradient(90deg,rgba(255,255,255,.12),rgba(255,255,255,0) 24%,rgba(255,255,255,0) 76%,rgba(255,255,255,.12)),linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,0) 24%,rgba(255,255,255,0) 76%,rgba(255,255,255,.12)),radial-gradient(120% 100% at 50% 0,rgba(0,0,0,.34),rgba(0,0,0,0) 45%),radial-gradient(120% 100% at 50% 100%,rgba(255,255,255,.16),rgba(255,255,255,0) 55%)}.thinking-header{display:flex;align-items:center;gap:8px;margin-bottom:6px}.thinking-dots{display:inline-flex;gap:4px}.thinking-dots i{width:6px;height:6px;border-radius:9999px;background-color:var(--muted-foreground,var(--foreground));opacity:.6;animation:thinking-bounce 1.2s ease-in-out infinite}.thinking-dots i:nth-child(2){animation-delay:.15s}.thinking-dots i:nth-child(3){animation-delay:.3s}@keyframes thinking-bounce{0%,80%,to{transform:translateY(0);opacity:.6}40%{transform:translateY(-3px);opacity:1}}.markdown-inline,.thinking-content .markdown{background:transparent!important}.markdown-inline{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.markdown-inline a,.markdown-inline blockquote,.markdown-inline code,.markdown-inline em,.markdown-inline h1,.markdown-inline h2,.markdown-inline h3,.markdown-inline h4,.markdown-inline h5,.markdown-inline h6,.markdown-inline li,.markdown-inline ol,.markdown-inline p,.markdown-inline span,.markdown-inline strong,.markdown-inline ul{display:inline;margin:0;padding:0}.markdown-inline ol,.markdown-inline ul{list-style:none}.markdown-inline h1,.markdown-inline h2,.markdown-inline h3,.markdown-inline h4,.markdown-inline h5,.markdown-inline h6{font-size:inherit;font-weight:inherit}.thinking-scroll::-webkit-scrollbar{width:10px}.thinking-scroll::-webkit-scrollbar-track{background:transparent}.thinking-scroll::-webkit-scrollbar-thumb{background-color:rgba(128,128,128,.5);border-radius:8px;border:2px solid transparent;background-clip:content-box;transition:background-color .25s ease}.thinking-scroll::-webkit-scrollbar-thumb:hover{background-color:rgba(128,128,128,.7)}.thinking-scroll{scrollbar-color:rgba(128,128,128,.5) transparent;scrollbar-width:thin}.research-prose h1{font-size:34px!important;line-height:1.28!important;font-weight:750!important}.research-prose h2{font-size:28px!important;line-height:1.32!important;font-weight:680!important}.research-prose h3{font-size:22px!important;line-height:1.35!important;font-weight:640!important}.research-prose h4{font-size:18px!important;line-height:1.4!important;font-weight:600!important}.research-prose h5{font-size:16px!important;font-weight:580!important}.research-prose h6{font-size:14px!important;font-weight:560!important;letter-spacing:.12em!important;text-transform:uppercase}