:root{--bg: #0f1115;--surface: #161a21;--code-bg: #10141b;--line: #262c36;--fg: #e6e9ef;--muted: #8b95a6;--accent: #7dd3fc;--topbar-h: 52px;--main-pad: 24px;--side-w: 176px;color-scheme:dark}@media(width<820px){:root{--main-pad: 16px;--side-w: 0px}}*{box-sizing:border-box}body{margin:0;overflow-x:clip;background:var(--bg);color:var(--fg);font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Noto Sans Thai,sans-serif;font-size:14px;line-height:1.6}code,pre{font-family:ui-monospace,SFMono-Regular,JetBrains Mono,Menlo,monospace}.md{max-width:900px;font-size:14px}.md :is(h1,h2,h3,h4,h5,h6){margin:22px 0 8px;line-height:1.3}.md h1{font-size:22px}.md h2{font-size:17px}.md h3{font-size:15px}.md :is(h4,h5,h6){font-size:14px;color:var(--muted)}.md :is(p,ul,ol){margin:10px 0}.md :is(ul,ol){padding-left:22px}.md li>p:only-child{margin:0}.md li>:is(ul,ol){margin:2px 0}.md a{color:var(--accent)}.md code{padding:1px 5px;border-radius:4px;background:var(--code-bg);font-size:12.5px}.md pre.code{margin:12px 0;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--code-bg);overflow-x:auto;font-size:12.5px;line-height:1.6;tab-size:2}.md pre.code code{padding:0;background:none}.md blockquote{margin:12px 0;padding:2px 14px;border-left:3px solid var(--accent);border-radius:0 8px 8px 0;background:var(--code-bg);color:var(--muted)}.md hr{margin:20px 0;border:0;border-top:1px solid var(--line)}.md .table-wrap{margin:12px 0;overflow-x:auto}.md table{border-collapse:collapse;font-size:13px}.md :is(th,td){padding:6px 12px;border:1px solid var(--line);text-align:left}.md th{background:var(--code-bg);white-space:nowrap}.md img{max-width:100%}.md .math-block{margin:14px 0;overflow-x:auto;overflow-y:hidden;text-align:center}.md .math[data-math=failed] code{color:var(--muted)}.md .mermaid{margin:12px 0;overflow-x:auto;text-align:center}.md .mermaid svg{max-width:100%;height:auto}.md .mermaid-error{margin:4px 0 12px;font-size:12px;color:var(--muted)}.tk-c{color:#6b7280;font-style:italic}.tk-s{color:#a5d6a7}.tk-k{color:#c792ea}.tk-n{color:#f7c67f}.tk-t{color:#7dd3fc}.tk-a{color:#82aaff}.tk-f{color:#ffcb6b}.tk-d,.tk-b{color:#f78c6c}
