.dark,:root{--alert-note:var(--foreground);--alert-tip:var(--foreground);--alert-important:var(--foreground);--alert-warning:var(--keyline);--alert-caution:var(--danger)}.dark{--alert-warning:var(--input-border)}.md{overflow:clip;overflow-clip-margin:4px}.md img{max-width:100%;height:auto}.md .md-alert{--alert-color:var(--alert-note);margin:.75em 0;padding:.55em .9em;border-left:3px solid var(--alert-color);border-radius:0 .5rem .5rem 0;background-color:color-mix(in srgb,var(--foreground) 5%,transparent);color:var(--foreground)}.md .md-alert-tip{--alert-color:var(--alert-tip)}.md .md-alert-important{--alert-color:var(--alert-important)}.md .md-alert-warning{--alert-color:var(--alert-warning);border:2px solid var(--alert-color);border-radius:.5rem;background-color:transparent}.md .md-alert-caution{--alert-color:var(--alert-caution);background-color:color-mix(in srgb,var(--alert-color) 8%,transparent)}.md .md-alert>.md-alert-title{display:flex;align-items:center;gap:.45em;margin:0 0 .25em;font-weight:600;color:var(--foreground)}.md .md-alert>.md-alert-title>svg{color:var(--foreground)}.md .md-alert-caution>.md-alert-title,.md .md-alert-caution>.md-alert-title>svg{color:var(--danger)}.md .md-alert>:last-child{margin-bottom:0}.md .md-alert>.md-alert-title+*{margin-top:0}.md details{margin:.75em 0;border:1px solid var(--border);border-radius:.5rem;background-color:var(--card)}.md details>summary{display:flex;align-items:center;gap:.55em;padding:.5em .75em;border-radius:.5rem;font-weight:500;cursor:pointer;list-style:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.md details>summary::-webkit-details-marker{display:none}.md details>summary:before{content:"";flex-shrink:0;width:.45em;height:.45em;border-right:2px solid var(--muted-foreground);border-bottom:2px solid var(--muted-foreground);transform:rotate(-45deg);transition:transform .15s ease}.md details[open]>summary:before{transform:rotate(45deg)}.md details>summary:hover{background-color:var(--muted)}.md details>summary:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.md details[open]>summary{border-bottom:1px solid var(--border);border-radius:.5rem .5rem 0 0}.md details>:not(summary){margin-left:.85em;margin-right:.85em}.md details>:last-child:not(summary){margin-bottom:.75em}@media (pointer:coarse){.md details>summary{padding-top:.7em;padding-bottom:.7em}}.md .md-cite{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:1.25rem;height:1.15rem;margin:0 .1em;padding:0 .3em;border-radius:9999px;background-color:var(--muted);color:color-mix(in srgb,var(--muted-foreground) 80%,var(--foreground));font-size:.7rem;font-weight:600;line-height:1;text-decoration:none;vertical-align:.15em;transition:background-color .15s ease,color .15s ease}.md .md-cite:hover,.md .md-cite[data-open=true]{background-color:var(--primary);color:var(--primary-foreground)}.md .md-cite:focus-visible{outline:2px solid var(--ring);outline-offset:1px}@media (pointer:coarse){.md .md-cite:after{content:"";position:absolute;inset:-.55rem -.3rem}}.md .katex{font-size:1.05em}.md .katex-display{margin:.75em 0;padding:.2em 0;overflow-x:auto;overflow-y:hidden}.md .katex-error{font-family:var(--font-mono);font-size:.875em}@media (prefers-reduced-motion:no-preference){.rr-shimmer{background-image:linear-gradient(90deg,var(--muted-foreground) 35%,var(--foreground) 50%,var(--muted-foreground) 65%);background-size:250% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:rr-shimmer 1.8s linear infinite}}@keyframes rr-shimmer{0%{background-position:100% 0}to{background-position:-150% 0}}