.note-body{grid-area:content;width:100%;min-width:0;color:var(--ink);font-family:var(--font-mono);font-size:clamp(.94rem,1.45vw,1rem);line-height:1.9}.note-body>:first-child{margin-top:0}.note-body>:last-child{margin-bottom:0}.note-body p{margin:0 0 1.15rem}.note-body:has(.doc-section)>:not(.doc-section){margin-left:2.375rem}.note-body ul,.note-body ol{margin:1.1rem 0 1.25rem;padding-left:1.4rem}.note-body li+li{margin-top:.35rem}.note-body h2,.note-body h3{scroll-margin-top:1.5rem;line-height:1.35}.note-body h2{margin:0 0 1.15rem;color:var(--ink);font-size:1.1rem;font-weight:700}.note-body h3{margin:2.1rem 0 .8rem;color:var(--accent-strong);font-size:.94rem;font-weight:650}.note-body .doc-section{position:relative;margin:0 0 2.375rem;padding-left:2.375rem;border-left:1px solid var(--rule-soft)}.note-body .doc-section:last-child{margin-bottom:0;border-left-color:transparent}.note-body .doc-section .sec-no,.note-body .doc-section[data-section-number]:before{position:absolute;top:.125rem;left:-.8125rem;padding:.125rem .25rem;color:var(--muted-faint);background:var(--surface);font-size:.6875rem;line-height:normal}.note-body .doc-section[data-section-number]:before{content:attr(data-section-number)}.note-body blockquote{margin:1.65rem 0;padding:.85rem 1rem;border-left:2px solid var(--accent);border-radius:0 .45rem .45rem 0;color:var(--muted-strong);background:var(--accent-wash);font-size:.92em}.note-body blockquote>:last-child{margin-bottom:0}.note-body hr{height:1px;margin:2.5rem 0;border:0;background:var(--rule-soft)}.note-body code{padding:.12em .34em;border:1px solid var(--rule-soft);border-radius:.22rem;color:var(--accent-strong);background:var(--surface-soft);font-family:var(--font-mono);font-size:.86em}.note-body pre{overflow-x:auto;padding:1rem 1.15rem;border:1px solid var(--rule-soft);border-radius:.5rem;color:var(--ink);background:var(--surface-soft);line-height:1.65}.note-body pre code{padding:0;background:transparent;color:inherit}.note-body table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;font-family:var(--font-mono);font-size:.84em}.note-body th,.note-body td{padding:.65rem .75rem;border:1px solid var(--rule);text-align:left}.note-body th{color:var(--accent-strong);background:var(--accent-wash)}.note-body img{display:block;max-width:100%;height:auto}.terminal-note{width:100%}.terminal-note>.terminal-command{margin-bottom:clamp(1.6rem,3vw,2.6rem)}.terminal-note .note-header{width:100%;margin-bottom:2.5rem;padding-bottom:1.6rem;border-bottom:1px solid var(--rule-soft)}.terminal-note h1{margin:0;color:var(--ink);font-family:var(--font-mono);font-size:clamp(1.25rem,3vw,1.7rem);font-weight:700;line-height:1.4}.note-metadata-kv{display:flex;flex-wrap:wrap;gap:.55rem 1.4rem;margin:1.2rem 0 0;color:var(--muted);font-family:var(--font-mono);font-size:14px;line-height:1.6}.note-metadata-kv div{display:flex;gap:.55rem;align-items:baseline}.note-metadata-kv dt{color:var(--muted-faint)}.note-metadata-kv dd{margin:0;color:var(--accent)}.note-metadata-kv time{color:var(--ink)}.terminal-note .note-layout{display:block;grid-template-columns:none;grid-template-areas:none;gap:0}.terminal-note .note-body{grid-area:auto}.wide-table-of-contents{display:none}.toc-mobile{display:block;margin:26px 0 32px;border:1px solid var(--rule-soft);border-radius:var(--radius-md);color:var(--muted);font-family:var(--font-mono);overflow:hidden}.toc-mobile summary{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;color:var(--muted);background:var(--surface-soft);cursor:pointer;font-family:inherit;font-size:13px;list-style:none}.toc-mobile summary::-webkit-details-marker{display:none}.toc-mobile summary:after{color:var(--muted-faint);content:"▾";transition:transform .15s ease}.toc-mobile[open] summary:after{transform:rotate(180deg)}.toc-mobile nav{display:flex;flex-direction:column;padding:6px 14px 14px;font-family:inherit;font-size:13px;line-height:2}.toc-mobile a{color:inherit;text-decoration:none}.toc-mobile a.sub{padding-left:16px;color:var(--muted-faint);font-size:12.5px}.toc-branch,.toc-number{color:var(--muted-faint)}@media(min-width:700px){.terminal-note .note-layout{display:grid;grid-template-columns:minmax(12.5rem,16rem) minmax(0,1fr);grid-template-areas:none;gap:clamp(2rem,5vw,5rem);align-items:start}.wide-table-of-contents{position:sticky;top:0;display:block;padding:.15rem 1rem .2rem 0;color:var(--muted);font-size:.82rem;line-height:1.9}.wide-table-of-contents>strong{display:block;margin-bottom:1rem;color:var(--ink);font:700 .82rem var(--font-mono)}.wide-table-of-contents>strong span{color:var(--accent)}.wide-table-of-contents ol{display:grid;gap:.28rem;margin:0;padding:0;list-style:none}.wide-table-of-contents .depth-3{padding-left:1.85rem}.wide-table-of-contents a{position:relative;display:block;padding:.08rem 0 .08rem .62rem;border-left:2px solid transparent;color:var(--muted);text-decoration:none;transition:color .14s ease,border-color .14s ease}.wide-table-of-contents .depth-3 a{color:var(--muted-faint)}.wide-table-of-contents a:hover{color:var(--ink)}.wide-table-of-contents a.is-active{border-left-color:var(--accent);color:var(--accent-strong)}.wide-table-of-contents a.is-active .toc-branch,.wide-table-of-contents a.is-active .toc-number{color:var(--accent-strong)}.toc-mobile{display:none}}
