@layer properties,theme,base;@layer components{.gh-prose{--gh-lh:1.9;--gh-gap:20px;--gh-indent:24px;font-size:1rem;line-height:var(--gh-lh);color:var(--foreground);overflow-wrap:break-word}.gh-prose--section{--gh-gap:16px}.gh-prose--card{--gh-gap:8px;color:var(--muted-foreground);font-size:15px}@media (width>=48rem){.gh-prose--article{--gh-lh:2.05;font-size:17px}}.gh-prose>:where(*+*){margin-top:var(--gh-gap)}.gh-prose :where(h2,h3,h4,h5,h6):not(:where(.not-prose,.not-prose *)){color:var(--foreground);text-wrap:balance;scroll-margin-top:88px}.gh-prose :where(h2):not(:where(.not-prose,.not-prose *)){letter-spacing:-.01em;font-size:22px;font-weight:800;line-height:1.5}.gh-prose :where(h3):not(:where(.not-prose,.not-prose *)){font-size:18px;font-weight:700;line-height:1.6}.gh-prose :where(h4,h5,h6):not(:where(.not-prose,.not-prose *)){font-size:16px;font-weight:700;line-height:1.7}.gh-prose--section :where(h2):not(:where(.not-prose,.not-prose *)){line-height:1.4}@media (width>=48rem){.gh-prose :where(h2):not(:where(.not-prose,.not-prose *)){font-size:26px}.gh-prose--section :where(h2):not(:where(.not-prose,.not-prose *)){font-size:28px}.gh-prose--article :where(h3):not(:where(.not-prose,.not-prose *)){font-size:20px}.gh-prose--article :where(h4,h5,h6):not(:where(.not-prose,.not-prose *)){font-size:17px}}.gh-prose>:where(*+h2){margin-top:40px}.gh-prose>:where(*+h3){margin-top:32px}.gh-prose>:where(*+h4,*+h5,*+h6){margin-top:28px}.gh-prose--section>:where(*+h2){margin-top:32px}.gh-prose--section>:where(*+h3){margin-top:24px}.gh-prose--card>:where(*+h3,*+h4){margin-top:16px}.gh-prose>:where(h2+*){margin-top:12px}.gh-prose>:where(h3+*,h4+*,h5+*,h6+*){margin-top:10px}.gh-prose--section>:where(h2+*){margin-top:16px}.gh-prose--card>:where(h2+*,h3+*,h4+*){margin-top:8px}.gh-prose--card :where(h2,h3):not(:where(.not-prose,.not-prose *)){letter-spacing:0;font-size:18px;font-weight:700;line-height:1.6}.gh-prose :where(a):not(:where(.not-prose,.not-prose *)){color:var(--brand);text-underline-offset:6px;text-decoration:underline;text-decoration-thickness:1px}.gh-prose :where(a):not(:where(.not-prose,.not-prose *)):hover{color:var(--foreground)}.gh-prose :where(strong,b):not(:where(.not-prose,.not-prose *)){color:var(--foreground);font-weight:700}.gh-prose :where(em,i):not(:where(.not-prose,.not-prose *)){color:var(--foreground);font-style:normal;font-weight:500}.gh-prose :where(s,del):not(:where(.not-prose,.not-prose *)){color:var(--muted-foreground)}.gh-prose :where(mark):not(:where(.not-prose,.not-prose *)){background:var(--brand-soft);color:var(--foreground);border-radius:4px;padding-inline:4px}.gh-prose :where(sub,sup):not(:where(.not-prose,.not-prose *)){font-size:.75em;line-height:0}.gh-prose :where(code,kbd):not(:where(.not-prose,.not-prose *)){border:1px solid var(--border-strong);background:var(--card-raised);color:var(--foreground);font-variant-numeric:normal;direction:ltr;unicode-bidi:isolate;border-radius:6px;padding:2px 6px;font-family:ui-monospace,SF Mono,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:.86em}.gh-prose :where(ul,ol):not(:where(.not-prose,.not-prose *)){padding:0;list-style:none}.gh-prose :where(li):not(:where(.not-prose,.not-prose *)){position:relative}.gh-prose :where(li+li):not(:where(.not-prose,.not-prose *)),.gh-prose :where(li>ul,li>ol):not(:where(.not-prose,.not-prose *)),.gh-prose :where(li>p+p):not(:where(.not-prose,.not-prose *)){margin-top:8px}.gh-prose :where(ul>li):not(:where(.not-prose,.not-prose *)){padding-inline-start:var(--gh-indent)}.gh-prose :where(ul>li):not(:where(.not-prose,.not-prose *)):before{content:"";inset-inline-start:4px;top:calc(1em * var(--gh-lh) / 2 - 3px);background:var(--input);border-radius:999px;width:6px;height:6px;position:absolute}.gh-prose :where(ul ul>li):not(:where(.not-prose,.not-prose *)):before{box-shadow:inset 0 0 0 1px var(--input);background:0 0}.gh-prose :where(ol>li):not(:where(.not-prose,.not-prose *)){padding-inline-start:38px}.gh-prose :where(ol>li):not(:where(.not-prose,.not-prose *)):before{content:counter(list-item, persian);inset-inline-start:0;top:calc((1em * var(--gh-lh) - 26px) / 2);border:1px solid var(--border-strong);background:var(--card-raised);min-width:26px;height:26px;color:var(--muted-foreground);border-radius:999px;place-items:center;padding-inline:4px;font-size:13px;font-weight:700;line-height:1;display:grid;position:absolute}.gh-prose :where(blockquote):not(:where(.not-prose,.not-prose *)){border-inline-start:3px solid var(--input);color:var(--foreground);padding-block:4px;padding-inline-start:16px;font-size:18px;font-weight:500;line-height:1.9}.gh-prose :where(blockquote>*+*):not(:where(.not-prose,.not-prose *)){margin-top:12px}.gh-prose :where(blockquote cite,blockquote footer):not(:where(.not-prose,.not-prose *)){color:var(--muted-foreground);font-size:14px;font-style:normal;font-weight:400;display:block}@media (width>=48rem){.gh-prose :where(blockquote):not(:where(.not-prose,.not-prose *)){padding-block:6px;padding-inline-start:24px;font-size:20px}}.gh-prose :where(pre):not(:where(.not-prose,.not-prose *)){border:1px solid var(--border-strong);background:var(--card-raised);color:var(--foreground);font-variant-numeric:normal;text-align:left;tab-size:2;direction:ltr;border-radius:14px;padding:16px;font-family:ui-monospace,SF Mono,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:14px;line-height:1.8;overflow-x:auto}.gh-prose :where(pre code):not(:where(.not-prose,.not-prose *)){font-size:inherit;background:0 0;border:0;border-radius:0;padding:0}@media (width>=48rem){.gh-prose :where(pre):not(:where(.not-prose,.not-prose *)){padding:20px 24px}}.gh-prose :where(.gh-table){border:1px solid var(--border);background:var(--card);box-shadow:var(--shadow-card);border-radius:16px;overflow-x:auto}.gh-prose :where(table):not(:where(.not-prose,.not-prose *)){border-collapse:collapse;text-align:start;width:100%;font-size:14px;line-height:1.6}.gh-prose :where(table):not(:where(.gh-table table,.not-prose,.not-prose *)){border:1px solid var(--border);background:var(--card);max-width:100%;box-shadow:var(--shadow-card);border-radius:16px;display:block;overflow-x:auto}.gh-prose :where(th,td):not(:where(.not-prose,.not-prose *)){text-align:start;vertical-align:top;padding:12px}.gh-prose :where(thead th):not(:where(.not-prose,.not-prose *)){background:var(--card-raised);color:var(--muted-foreground);white-space:nowrap;padding-block:10px;font-size:12px;font-weight:500}.gh-prose :where(tbody th):not(:where(.not-prose,.not-prose *)){font-weight:700}.gh-prose :where(tbody tr,tfoot tr):not(:where(.not-prose,.not-prose *)){border-top:1px solid var(--border)}.gh-prose :where(tbody:first-child>tr:first-child):not(:where(.not-prose,.not-prose *)){border-top:0}.gh-prose :where(caption):not(:where(.not-prose,.not-prose *)){caption-side:bottom;color:var(--muted-foreground);text-align:start;padding:10px 12px;font-size:13px}@media (width>=48rem){.gh-prose :where(table):not(:where(.not-prose,.not-prose *)){font-size:15px;line-height:1.7}.gh-prose :where(th,td):not(:where(.not-prose,.not-prose *)){padding:12px 16px}.gh-prose :where(thead th):not(:where(.not-prose,.not-prose *)){font-size:13px}}.gh-prose :where(img,video,picture):not(:where(.not-prose,.not-prose *)){max-width:100%;height:auto;display:block}.gh-prose :where(img,video):not(:where(.not-prose,.not-prose *)){border:1px solid var(--border);background:var(--card-raised);border-radius:16px}.gh-prose :where(figure):not(:where(.not-prose,.not-prose *)){flex-direction:column;gap:10px;padding-block:4px;display:flex}.gh-prose :where(figcaption):not(:where(.not-prose,.not-prose *)){color:var(--muted-foreground);font-size:13px;line-height:1.9}@media (width>=48rem){.gh-prose :where(figure):not(:where(.not-prose,.not-prose *)){gap:12px;padding-block:8px}.gh-prose :where(figcaption):not(:where(.not-prose,.not-prose *)){font-size:14px}}.gh-prose :where(hr):not(:where(.not-prose,.not-prose *)){border:0;border-top:1px solid var(--border);height:0}.gh-prose>:where(hr),.gh-prose>:where(hr+*){margin-top:40px}.gh-prose :where(dt):not(:where(.not-prose,.not-prose *)){font-weight:700}.gh-prose :where(dd):not(:where(.not-prose,.not-prose *)){color:var(--muted-foreground)}.gh-prose :where(dd+dt):not(:where(.not-prose,.not-prose *)){margin-top:12px}}@layer utilities;
