.source-page{gap:var(--space-5);background:0 0;border:0;flex-direction:column;margin:0;padding:0;display:flex}.source-hero{gap:var(--space-6);padding:var(--space-2) 0 0;grid-template-columns:minmax(0,1.5fr) minmax(18rem,.7fr);align-items:end;display:grid}.source-hero h1{letter-spacing:-.055em;margin:0;font-size:clamp(2.2rem,5vw,4rem)}.source-lede{max-width:63ch;margin:var(--space-3) 0 0;color:var(--text-light);font-size:var(--text-base)}.source-lede a{color:var(--accent);text-underline-offset:.2em;text-decoration:underline 1px}.source-summary{gap:var(--space-2);grid-template-columns:repeat(2,minmax(0,1fr));margin:0;display:grid}.source-summary div{border:var(--border-width) solid var(--border);border-radius:var(--radius-lg);background:var(--surface-1);min-width:0;padding:.6rem .75rem}.source-summary dt{color:var(--text-light);font-family:var(--mono-font);letter-spacing:.08em;text-transform:uppercase;font-size:.62rem}.source-summary dd{color:var(--text);font-family:var(--mono-font);text-overflow:ellipsis;white-space:nowrap;margin:.15rem 0 0;font-size:1rem;font-weight:600;overflow:hidden}.source-browser{--source-header-height:2.875rem;--source-gutter-width:3.4rem;box-shadow:var(--shadow-md);border-radius:0;margin:0;padding:0}.source-branch{color:var(--text-light);font-family:var(--mono-font);white-space:nowrap;align-items:center;gap:.4rem;margin-left:auto;padding:0 .5rem;font-size:.64rem;display:inline-flex}.source-branch-dot{border-radius:var(--radius-full);background:var(--color-added);width:.42rem;height:.42rem;box-shadow:0 0 0 3px color-mix(in srgb, var(--color-added) 14%, transparent)}.source-browser-body{grid-template-columns:minmax(13rem,.72fr) minmax(0,2.28fr);min-height:68vh;display:grid;position:relative}.source-browser-body:before{top:calc(var(--source-header-height) - var(--border-width));z-index:3;height:var(--border-width);background:var(--border);content:"";pointer-events:none;position:absolute;left:0;right:0}.source-tree-panel{border-right:var(--border-width) solid var(--border);background:var(--surface-1);flex-direction:column;min-width:0;display:flex}.source-tree-host{background:var(--surface-1);height:64vh;min-height:420px;font-family:var(--mono-font);--trees-bg-override:var(--surface-1);--trees-fg-override:var(--text);--trees-fg-muted-override:var(--text-light);--trees-border-color-override:var(--border-light);--trees-border-radius-override:0px;--trees-selected-bg-override:color-mix(in srgb, var(--accent) 18%, transparent);--trees-selected-fg-override:var(--text);--trees-focus-ring-color-override:var(--accent);--trees-search-bg-override:var(--surface-2);--trees-search-fg-override:var(--text);--trees-scrollbar-thumb-override:var(--border-strong);--trees-font-family-override:var(--mono-font);--trees-font-size-override:12px;--trees-theme-list-active-selection-bg:color-mix(in srgb, var(--accent) 18%, transparent);--trees-theme-list-hover-bg:color-mix(in srgb, var(--accent) 9%, transparent);--trees-theme-focus-ring:var(--accent);flex:1;overflow:hidden}.source-tree-host:empty:before{color:var(--text-light);content:"Loading file tree…";padding:1rem .75rem;font-size:.72rem;display:block}.source-tree-host[data-source-mounted="1"]:before{display:none}.source-fallback-list{color:var(--text-light);font-family:var(--mono-font);margin:0;padding:.75rem;font-size:.7rem;line-height:1.7;list-style:none;overflow:auto}.source-file-panel{background:var(--surface-2);border:0;flex-direction:column;min-width:0;margin:0;padding:0;display:flex}.source-file-header{height:var(--source-header-height);min-height:var(--source-header-height);padding:0 var(--space-3);border-bottom:var(--border-width) solid var(--border);background:var(--surface-3);flex-wrap:nowrap;align-items:center;gap:.75rem;display:flex}.source-file-title{min-width:0;color:var(--text);font-family:var(--mono-font);flex:1;align-items:center;gap:.45rem;font-size:.74rem;font-weight:600;display:flex}.source-file-title svg{width:.9rem;height:.9rem;color:var(--text-light);flex-shrink:0}#source-file-path{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.source-file-meta{min-width:0;color:var(--text-light);font-family:var(--mono-font);text-overflow:ellipsis;white-space:nowrap;font-size:.64rem;overflow:hidden}.source-copy{border:var(--border-width) solid var(--border);border-radius:var(--radius-md);background:var(--surface-1);width:1.75rem;height:1.75rem;color:var(--text-light);cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.source-copy svg{width:.9rem;height:.9rem}.source-copy .check-icon{display:none}.source-copy:hover{border-color:var(--accent);color:var(--accent)}.source-copy.copied{border-color:color-mix(in srgb, var(--color-added) 45%, var(--border));color:var(--color-added)}.source-copy.copied .copy-icon{display:none}.source-copy.copied .check-icon{display:block}.source-code-scroll{background:var(--surface-1);scrollbar-color:var(--border-strong) var(--surface-2);flex:1;min-height:420px;max-height:72vh;overflow:hidden auto}.source-code-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.source-code-lines{background-image:linear-gradient(to right, var(--surface-2) 0 var(--source-gutter-width), transparent var(--source-gutter-width));padding-top:.35rem;padding-bottom:1rem}.source-code-line{align-items:stretch;min-height:1.55em;display:flex}.source-line-number{z-index:1;flex:0 0 var(--source-gutter-width);background:var(--surface-2);color:var(--text-light);font-family:var(--mono-font);text-align:right;user-select:none;padding:0 .75rem;font-size:.78rem;line-height:1.55;position:sticky;left:0}.source-line-code{min-width:0;color:var(--preformatted);font-family:var(--mono-font);overflow-wrap:anywhere;tab-size:2;white-space:pre-wrap;background:0 0;border-radius:0;flex:auto;padding:0 2rem 0 1rem;font-size:.78rem;line-height:1.55}.source-code-lines.highlighted .source-line-code span{color:var(--shiki-light)}html[data-theme=dark] .source-code-lines.highlighted .source-line-code span{color:var(--shiki-dark)}@media (prefers-color-scheme:dark){html:not([data-theme=light]) .source-code-lines.highlighted .source-line-code span{color:var(--shiki-dark)}}@media only screen and (width<=860px){.source-hero{gap:var(--space-4);grid-template-columns:1fr}.source-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.source-browser-body{grid-template-columns:1fr}.source-tree-panel{border-right:0;border-bottom:var(--border-width) solid var(--border)}.source-tree-host{height:42vh;min-height:300px}.source-code-scroll{min-height:360px;max-height:62vh}}@media only screen and (width<=560px){.source-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.source-browser .notepad-window-controls{display:none}.source-browser .notepad-title{white-space:nowrap}.source-branch{padding-right:0}.source-file-meta{display:none}.source-line-numbers,.source-code{font-size:.72rem}}
