@layer components{.prose :where(img):not(:where(.not-prose,.not-prose *)){border-radius:.5rem;width:100%;height:auto;margin-top:1.5rem;margin-bottom:1.5rem}.prose .figure-grid{grid-template-columns:minmax(0,1fr);gap:.75rem;margin-top:1.5rem;margin-bottom:1.5rem;display:grid}@media (min-width:40rem){.prose .figure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.prose .figure-grid figure{margin:0}.prose figure.figure{margin-top:1.5rem;margin-bottom:1.5rem}.prose .figure-grid img,.prose figure.figure img{border-radius:.25rem;margin:0}.prose .figure-grid figcaption,.prose figure.figure figcaption{color:color-mix(in oklab, var(--color-foreground) 60%, transparent);margin-top:.5rem;font-size:.75rem;line-height:1.6}.prose figure[data-rehype-pretty-code-figure]{background:#101015;border:1px solid #ffffff12;border-radius:.625rem;margin-top:1.5rem;margin-bottom:1.5rem;overflow:hidden}.prose figure[data-rehype-pretty-code-figure] pre{border:none;border-radius:0;margin:0;padding:1rem 1.1rem;font-size:.85rem;line-height:1.7;overflow-x:auto;background:0 0!important}.prose figure[data-rehype-pretty-code-figure] .code-footer{font-family:var(--font-mono);letter-spacing:.02em;color:#fff6;border-top:1px solid #ffffff0f;flex-wrap:wrap;justify-content:flex-end;gap:.4rem 1.25rem;padding:.4rem 1.1rem;font-size:.7rem;display:flex}.prose figure[data-rehype-pretty-code-figure] pre code{font-family:var(--font-mono);font-size:inherit;background:0 0;padding:0;display:grid}.prose figure[data-rehype-pretty-code-figure] pre code:before,.prose figure[data-rehype-pretty-code-figure] pre code:after{content:none}.prose figure[data-rehype-pretty-code-figure] pre code .line{width:100%;min-height:1em;display:inline-block}.prose figure[data-rehype-pretty-code-figure] [data-rehype-pretty-code-title]{font-family:var(--font-mono);color:#ffffff8c;background:#101012;border:1px solid #ffffff0f;border-bottom:none;border-radius:.625rem .625rem 0 0;margin:0;padding:.5rem .85rem;font-size:.75rem}.prose figure[data-rehype-pretty-code-figure] [data-rehype-pretty-code-title]+pre{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.prose :where(a[href^=http]):not(:where(.not-prose,.not-prose *)):after{content:"";vertical-align:-.08em;background-color:currentColor;width:.85em;height:.85em;margin-left:.18em;display:inline-block;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6'/><path d='m21 3-9 9'/><path d='M15 3h6v6'/></svg>") 50%/contain no-repeat;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6'/><path d='m21 3-9 9'/><path d='M15 3h6v6'/></svg>") 50%/contain no-repeat}.prose :where(:not(pre)>code):not(:where(.not-prose,.not-prose *)){font-family:var(--font-mono);background:var(--color-surface);border:1px solid var(--color-border);border-radius:.25rem;padding:.05rem .35rem;font-size:.85em;font-weight:400}.prose :where(:not(pre)>code):not(:where(.not-prose,.not-prose *)):before,.prose :where(:not(pre)>code):not(:where(.not-prose,.not-prose *)):after{content:none}}
