:root{color-scheme:light;--bg:#f7f7f2;--surface:#fff;--ink:#202d2a;--muted:#596861;--line:#d9dfd9;--accent:#28664b;--wash:#eaf1e8;--code:#f3f5f0;--warning:#77520f;--warning-bg:#fff3d7;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.6}*{box-sizing:border-box}[data-theme=dark]{color-scheme:dark;--bg:#161d1b;--surface:#1c2622;--ink:#e4eae2;--muted:#a8b9ad;--line:#35473d;--accent:#a5d8b5;--wash:#293f32;--code:#111916;--warning:#f3d593;--warning-bg:#3d331e}body{margin:0;background:var(--bg);color:var(--ink)}a{color:var(--accent);text-underline-offset:4px}button,input,select{font:inherit;color:inherit}button{cursor:pointer;background:var(--surface);border:1px solid var(--line);border-radius:5px;padding:6px 12px}button:hover{background:var(--wash)}button:disabled{opacity:.45;cursor:default}input,select{background:var(--surface);border:1px solid var(--line);border-radius:5px;padding:9px 12px;min-width:0}input{caret-color:var(--accent)}:focus-visible{outline:2px solid var(--accent);outline-offset:4px}::selection{background:var(--accent);color:var(--bg)}*{scrollbar-color:var(--line) var(--bg)}.skip{position:absolute;top:-60px;left:16px;z-index:5;background:var(--surface);padding:10px}.skip:focus{top:8px}.topbar{height:70px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 30px;gap:30px}.brand{font-weight:750;font-size:19px;letter-spacing:-.6px;color:var(--ink);text-decoration:none;display:flex;align-items:center;gap:12px}.topbar #project-name{font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar button{margin-left:auto;font-size:12px}.shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:calc(100vh - 70px)}.sidebar{border-right:1px solid var(--line);padding:30px 20px;min-width:0}.sidebar nav a{display:block;color:var(--muted);text-decoration:none;padding:8px 12px;margin-bottom:3px;border-radius:4px;font-size:13px;overflow-wrap:anywhere}.sidebar nav a:hover,.sidebar nav a[aria-current=page]{background:var(--wash);color:var(--accent)}.nav-label{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);padding:27px 12px 8px}details{font-size:13px;color:var(--muted)}summary{cursor:pointer}#coverage{margin:40px 12px 0}#coverage-content{overflow-wrap:anywhere;font-size:12px}main{padding:38px clamp(20px,3.4vw,56px) 70px;min-width:0}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(30px,3vw,42px);font-weight:400;line-height:1.2;letter-spacing:-.025em;margin-bottom:14px;overflow-wrap:anywhere}h2{font-size:18px;font-weight:600;margin:28px 0 12px;line-height:1.4}h3{font-size:15px;margin:22px 0 8px}p{max-width:72ch}.lead{color:var(--muted);font-size:15px;max-width:70ch}.muted,.meta,.empty{color:var(--muted)}.meta{font-size:12px}.page-head{margin-bottom:28px}.page-head .meta{margin-top:16px}.notice{padding:12px 16px;background:var(--warning-bg);color:var(--warning);font-size:13px;margin-bottom:24px;border-radius:4px}.graph-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface)}.graph-panel{min-width:0;padding:20px}.graph-scroll{overflow:auto;max-height:640px;scrollbar-gutter:stable}.graph-scroll svg{display:block;min-width:520px;width:100%;height:auto}.graph-detail{border-left:1px solid var(--line);padding:24px;overflow-wrap:anywhere}.graph-detail h2{margin-top:0}.graph-detail p{font-size:13px}.graph-node rect{fill:var(--surface);stroke:var(--line);stroke-width:1.2}.graph-node text{fill:var(--ink);font-family:inherit;font-size:13px}.graph-node .count{fill:var(--muted);font-size:11px}.graph-node:hover rect,.graph-node.active rect{fill:var(--wash);stroke:var(--accent);stroke-width:2}.graph-edge{fill:none;stroke:var(--muted);stroke-width:1.2;opacity:.45}.graph-edge.active{stroke:var(--accent);stroke-width:2;opacity:1}.graph-arrow{fill:var(--muted)}.graph-node:focus{outline:none}.graph-node:focus rect{stroke:var(--accent);stroke-width:3}.source-links{list-style:none;padding:0;margin:12px 0}.source-links li{border-bottom:1px solid var(--line);padding:9px 0;font-size:13px;overflow-wrap:anywhere}.source-links li:last-child{border:0}.evidence{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12px;margin:8px 0 16px}.relation{padding:12px 0;border-bottom:1px solid var(--line)}.relation p{margin:4px 0}.toolbar{display:flex;gap:12px;margin-bottom:20px;flex-wrap:wrap}.toolbar input{flex:1;min-width:180px}.file-list{border-top:1px solid var(--line)}.file-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;border-bottom:1px solid var(--line);padding:15px 0;align-items:center}.file-row a{font-size:14px;overflow-wrap:anywhere}.file-row p{font-size:12px;color:var(--muted);margin:3px 0 0}.pagination{display:flex;align-items:center;gap:12px;margin-top:20px}.pagination .meta{margin-right:auto}.reading{max-width:850px}.reading section{padding:4px 0 22px;border-bottom:1px solid var(--line)}.reading section h2 a{color:var(--ink)}.reading .eli5{font-family:Georgia,serif;font-size:19px;line-height:1.7}.chapter-nav{display:flex;justify-content:space-between;gap:20px;margin-top:30px}.breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;font-size:12px;color:var(--muted)}.source-code{grid-column:1;grid-row:1;min-width:0}.code-scroll{overflow:auto;background:var(--code);border:1px solid var(--line);border-radius:4px;max-height:72vh;min-height:80px}.code-lines{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.85;padding:14px 0;min-width:100%;width:max-content}.code-line{display:flex;min-width:100%;padding-right:22px;white-space:pre}.code-line.selected{background:var(--wash)}.line-number{flex:none;width:65px;text-align:right;padding-right:20px;user-select:none;color:var(--muted);text-decoration:none}.code-line code{font:inherit}.error{max-width:640px}.loading{color:var(--muted)}.module-summary{max-width:800px}.module-summary .eli5{background:var(--wash);padding:20px 24px;border-radius:5px}.excluded{max-height:220px;overflow:auto}.excluded p{margin:10px 0}.coverage-list{padding-left:18px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){main{max-width:1600px}.graph-layout{grid-template-columns:minmax(0,1fr) 330px}}@media(max-width:1100px){.shell{grid-template-columns:185px minmax(0,1fr)}.sidebar{padding:24px 12px}.graph-layout{grid-template-columns:minmax(0,1fr)}.graph-detail{border-left:0;border-top:1px solid var(--line)}.source-code{width:100%}.source-code{order:0}}@media(max-width:640px){.topbar{padding:0 18px;height:60px;gap:15px}.topbar #project-name{max-width:35vw}.brand{font-size:17px}.shell{display:block}.sidebar{border-right:0;border-bottom:1px solid var(--line);padding:12px 16px}.sidebar nav{display:flex;flex-wrap:wrap;gap:3px}.sidebar nav>a{margin:0}.nav-label{display:none}#chapters{display:flex;overflow-x:auto;flex-basis:100%;gap:3px;max-width:100%;margin-top:4px}#chapters a{white-space:nowrap;font-size:12px}#coverage{margin:10px 12px 0}main{padding:26px 20px 50px}.page-head{margin-bottom:22px}.graph-panel{padding:14px}.graph-detail{padding:20px}.graph-scroll{max-height:420px}.graph-scroll svg{min-width:0}.file-row{gap:8px}.file-row>.meta{max-width:75px;text-align:right}.toolbar{gap:8px}.toolbar select{width:100%}.pagination{flex-wrap:wrap}.code-scroll{max-height:65vh}.line-number{width:48px;padding-right:14px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .15s ease-out}.graph-node rect{transition:fill .15s ease-out}}.graph-lane-title{fill:var(--muted);font:12px ui-sans-serif,sans-serif}.graph-scroll svg{min-width:560px}.graph-edge{opacity:.24}.graph-edge.active{opacity:1}.graph-detail{max-height:720px;overflow:auto}.module-jump{display:block;margin:8px 0}.reading-step{position:relative;padding-left:46px!important}.step-number{position:absolute;left:0;top:31px;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}.step-flow{display:flex;list-style:none;padding:14px 0;gap:12px;flex-wrap:wrap}.step-flow li{font-size:13px;background:var(--wash);padding:6px 12px;border-radius:4px}.step-flow li+li:before{content:'→';margin-right:12px;color:var(--muted)}button:active{transform:scale(.98)}.reading .eli5{font-family:inherit;font-size:16px}.reading-step h2{margin-top:22px}.graph-detail>details{margin-top:24px}@media(max-width:640px){.graph-scroll svg{min-width:560px}.graph-detail{max-height:520px}.reading-step{padding-left:34px!important}.step-flow{display:grid}.step-flow li+li:before{content:'↓'}}.symbol-layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(360px,2fr);gap:32px}.symbol-list{max-height:80vh;overflow:auto}.symbol-row{padding:10px 0;border-bottom:1px solid var(--line)}.symbol-row button,.symbol-relation button{border:0;background:none;padding:0;text-align:left;color:var(--accent)}.symbol-row p{margin:3px 0;font-size:11px;overflow-wrap:anywhere}.symbol-detail{min-width:0}.symbol-neighborhood svg{width:100%;max-height:430px;margin:20px 0}.symbol-neighborhood text{fill:var(--ink);font:13px ui-sans-serif,sans-serif}.symbol-neighborhood .count{font-size:11px}.symbol-center{fill:var(--wash);stroke:var(--accent)}.symbol-relation{display:grid;gap:4px;padding:10px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.symbol-relation a{font-size:12px}@media(max-width:700px){.symbol-layout{grid-template-columns:1fr}.symbol-list{max-height:300px}.symbol-detail{padding-top:24px;border-top:1px solid var(--line)}}.source-code{scroll-margin-top:76px}/* Atlas canvas and source editor share the same quiet,tool-first surface. */
:root{--bg:#f6f7f4;--ink:#242b25;--muted:#606c61;--accent:#5b6631;--wash:#edf0e3;--code:#fbfcfa;--runtime:#7d8b4d;--ipc:#398b84;--context:#8b7c9e;--syntax-keyword:#8958a8;--syntax-string:#497346;--syntax-number:#94642a}[data-theme=dark]{--bg:#101411;--surface:#171c18;--ink:#e3e8df;--muted:#a1ab9b;--line:#303a30;--accent:#d2df91;--wash:#293225;--code:#111714;--runtime:#acbb6d;--ipc:#85c6bf;--context:#b7a2cd;--syntax-keyword:#c4a2db;--syntax-string:#b2cc94;--syntax-number:#dbc38a}h1{font-family:inherit;font-weight:500;letter-spacing:-.035em;font-size:32px}.topbar{height:64px}.brand{font-weight:650}.top-links{display:flex;gap:24px;margin-left:auto;font-size:12px}.top-links a{color:var(--muted);text-decoration:none}.topbar button{margin-left:6px}.sidebar{background:var(--bg)}.shell{min-height:calc(100vh - 64px)}[data-view=map] .shell,[data-view=source] .shell{display:block}[data-view=map] .sidebar,[data-view=source] .sidebar{display:none}[data-view=map] main{max-width:none;padding:38px 4vw 50px}[data-view=map] .page-head{margin-bottom:30px}[data-view=map] .page-head h1{margin:0}[hidden]{display:none!important}.atlas{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface)}.atlas-toolbar{height:66px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 22px;gap:20px}.atlas-tabs{height:100%;display:flex;gap:12px}.atlas-tabs button{border:0;border-bottom:2px solid transparent;background:none;border-radius:0;padding:0 16px;color:var(--muted);font-size:13px}.atlas-tabs button[aria-pressed=true]{border-bottom-color:var(--accent);color:var(--accent)}.atlas-search{position:relative;width:220px}.atlas-search input{width:100%;padding:7px 12px;background:transparent;font-size:12px}.atlas-search-results:empty{display:none}.atlas-search-results{position:absolute;z-index:5;right:0;top:40px;width:280px;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:8px}.atlas-search-results button{display:block;width:100%;border:0;text-align:left;font-size:13px}.atlas-search-results p{font-size:12px;margin:10px}.graph-layout{display:block;border:0;background:transparent}.graph-layout.has-selection{display:grid;grid-template-columns:minmax(0,1fr) 320px}.graph-panel{padding:0;min-width:0}.graph-scroll{height:min(76vh,900px);max-height:none;overflow:auto;scrollbar-gutter:stable;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom;background-image:radial-gradient(var(--line) .6px,transparent .6px);background-size:20px 20px}.graph-scroll svg{display:block;max-width:none;min-width:0;width:auto;height:auto}.graph-region{fill:var(--bg);fill-opacity:.5;stroke:var(--line);stroke-dasharray:4 7}.graph-lane-title{fill:var(--muted);font:14px ui-sans-serif,sans-serif}.graph-node{cursor:pointer}.graph-node rect{fill:var(--surface);stroke:var(--line);stroke-width:1.5}.graph-node text{font-size:17px;fill:var(--ink);font-family:inherit}.graph-node .node-path{font:10px ui-monospace,SFMono-Regular,monospace;fill:var(--muted)}.graph-node.boundary-node rect{fill:var(--bg);stroke-dasharray:4 4}.graph-node:hover rect,.graph-node.active rect{fill:var(--wash);stroke:var(--accent);stroke-width:2}.atlas-edge{color:var(--runtime);cursor:pointer}.atlas-edge.ipc{color:var(--ipc)}.atlas-edge.context{color:var(--context)}.atlas-edge.context .graph-edge{stroke-dasharray:5 5}.atlas-edge .graph-edge{stroke:currentColor;stroke-width:1.4;opacity:.65;fill:none}.atlas-edge .graph-edge.active,.atlas-edge:hover .graph-edge{opacity:1;stroke-width:2.4}.graph-edge-hit{stroke:transparent;stroke-width:18;fill:none}.graph-arrow{stroke:var(--runtime);stroke-width:1.5}.graph-arrow.ipc{stroke:var(--ipc)}.graph-arrow.context{stroke:var(--context)}.edge-label-bg{fill:var(--surface);stroke:var(--line);stroke-width:.6}.edge-label{fill:var(--muted);font:10px ui-sans-serif,sans-serif}.atlas-edge:hover .edge-label{fill:var(--ink)}.atlas-edge:focus{outline:none}.atlas-edge:focus .graph-edge{stroke-width:3;opacity:1}.atlas-footer{padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.atlas-legend{display:flex;gap:22px}.atlas-legend span:before{content:'';display:inline-block;width:16px;height:2px;margin-right:8px;background:var(--runtime);vertical-align:middle}.atlas-legend .legend-ipc:before{background:var(--ipc)}.atlas-legend .legend-context:before{background:var(--context)}.atlas-controls{display:flex;gap:10px;align-items:center}.atlas-controls button{font-size:12px;padding:3px 10px;background:transparent}.atlas-controls .meta{width:40px;text-align:center;font-variant-numeric:tabular-nums}.graph-detail{border-left:1px solid var(--line);padding:24px;max-height:min(76vh,900px);overflow:auto;background:var(--bg)}.detail-heading{display:flex;gap:12px;justify-content:space-between;align-items:start}.detail-heading h2{font-size:19px}.detail-heading button{font-size:11px;padding:3px 8px;background:transparent}.relation-button{border:0;background:none;padding:0;text-align:left;font-size:13px;color:var(--accent);margin:14px 0 4px}.graph-detail .evidence{line-height:1.8}.relation-endpoints{font-size:14px!important;font-weight:600}[data-view=source] main{max-width:none;padding:20px 2.5vw 32px}.editor-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px;min-width:0;font-size:12px}.editor-heading h1{font:13px ui-monospace,SFMono-Regular,monospace;letter-spacing:0;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1}.editor-heading>a{white-space:nowrap}.editor-heading>.meta{font-size:11px}.file-overview{padding:0 0 14px;max-width:1000px;font-size:12px}.file-overview summary{color:var(--muted)}.file-overview p{font-size:13px;max-width:100ch;margin:10px 0}.editor{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--code);width:100%}.editor-toolbar{display:flex;align-items:center;gap:8px;background:var(--surface);border-bottom:1px solid var(--line);padding:8px 14px;min-height:48px}.editor-toolbar select{max-width:390px;flex:1;font:12px ui-monospace,monospace;padding:5px 8px;border-color:transparent;background:var(--bg)}.editor-toolbar button{font-size:11px;padding:5px 9px;background:transparent;border-color:transparent}.editor-toolbar button:hover{background:var(--wash)}.editor-toolbar label{margin-left:auto;display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted)}.editor-toolbar input{width:66px;padding:4px 6px;font:12px ui-monospace,monospace}.editor .code-scroll{max-height:none;height:calc(100vh - 240px);min-height:360px;border:0;border-radius:0;container-type:inline-size;scrollbar-gutter:stable;overscroll-behavior:contain}.editor .code-lines{font-size:13px;line-height:1.8;padding:16px 0;position:relative;min-width:100%;width:max-content}.editor .code-line{display:flex;padding-right:30px;min-height:23.4px}.code-gutter{display:flex;align-items:center;width:80px;flex:none;position:sticky;left:0;background:var(--code);z-index:1;justify-content:flex-end}.editor .line-number{width:52px;padding-right:16px;font-size:11px;line-height:23.4px;color:var(--muted)}.annotation-marker{font-size:0!important;width:16px;height:16px;padding:0;border:0;background:none!important;position:relative;flex:none}.annotation-marker:after{content:'';position:absolute;width:5px;height:5px;border-radius:50%;background:var(--accent);top:5px;left:5px}.code-line.explained-range{background:color-mix(in srgb,var(--wash) 45%,transparent)}.code-line.selected{background:var(--wash)}.inline-explanation{margin:10px 22px 14px 80px;padding:13px 16px;width:min(760px,calc(100cqi - 110px));white-space:normal;background:var(--wash);border:1px solid var(--line);border-radius:6px;font:13px/1.7 ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);position:sticky;left:80px}.annotation-title{display:flex;align-items:center;gap:12px;margin-bottom:6px;flex-wrap:wrap}.annotation-title strong{font:600 12px ui-monospace,SFMono-Regular,monospace;overflow-wrap:anywhere}.annotation-label{font-size:10px;color:var(--accent)}.annotation-title .meta{font-size:10px;margin-left:auto}.inline-explanation p{margin:0;max-width:75ch}.editor-status{border-top:1px solid var(--line);background:var(--surface);margin:0;padding:7px 14px;gap:12px}.editor-status .meta{font-size:10px}.editor-status .meta:first-child{margin-right:auto}.editor-status button{font-size:10px;padding:2px 8px;background:transparent}.tok-comment{color:var(--muted)}.tok-keyword{color:var(--syntax-keyword)}.tok-string{color:var(--syntax-string)}.tok-number{color:var(--syntax-number)}
@media(max-width:1000px){.graph-layout.has-selection{display:block}.graph-detail{border-left:0;border-top:1px solid var(--line);max-height:440px}.graph-scroll{height:65vh}.top-links{gap:14px}.editor-toolbar{flex-wrap:wrap}.editor-toolbar select{max-width:none}.editor-toolbar label{margin-left:0}}@media(max-width:640px){.topbar{padding:0 18px;height:58px;gap:12px}.topbar #project-name{display:none}.top-links{gap:14px;font-size:11px}[data-view=map] main{padding:24px 16px 36px}[data-view=map] h1{font-size:25px}[data-view=map] .page-head{margin-bottom:20px}.atlas-toolbar{padding:0 10px;gap:5px;height:auto;flex-wrap:wrap}.atlas-tabs{height:52px;width:100%;gap:2px}.atlas-tabs button{padding:0 11px;font-size:12px}.atlas-search{width:100%;margin:0 0 10px}.atlas-search-results{width:100%}.atlas-footer{padding:10px;flex-wrap:wrap}.atlas-legend{gap:12px;font-size:9px}.atlas-controls{margin-left:auto}.graph-scroll{height:480px}.graph-detail{padding:20px}.editor-heading{gap:7px}.editor-heading h1{font-size:11px}.editor-heading>.meta{display:none}[data-view=source] main{padding:16px 10px 20px}.editor-toolbar{padding:7px;gap:2px}.editor-toolbar select{flex-basis:100%;width:100%;margin-bottom:4px}.editor-toolbar button{font-size:10px;padding:5px}.editor-toolbar label{margin-left:auto}.editor-toolbar input{width:46px}.editor .code-scroll{height:calc(100dvh - 236px);min-height:320px}.editor .code-lines{font-size:12px}.code-gutter{width:52px}.editor .line-number{width:35px;padding-right:8px;font-size:10px}.inline-explanation{margin-left:52px;left:52px;margin-right:12px;padding:10px 12px;width:calc(100cqi - 72px);font-size:12px}.annotation-title{gap:6px}.annotation-title strong{font-size:11px}.annotation-title .meta{margin-left:0}.editor-status{padding:6px;gap:6px}.editor-status .meta:nth-child(2){display:none}.editor-status .meta:first-child{font-size:9px}}.mobile-canvas-hint{display:none}.graph-node text{font-weight:400}.editor-heading h1{font-weight:400}.editor .code-lines{font-weight:400}.graph-node .node-path{font-size:10px}.atlas-edge.runtime .graph-edge.active{stroke:var(--runtime)}@media(max-width:640px){.mobile-canvas-hint{display:block;font-size:10px;order:3;width:100%;text-align:right;color:var(--muted)}}

/* Keep default map typography readable; fit overview is an explicit zoom action. */
.edge-label{font-size:12px}.graph-node .node-path{font-size:11px}.graph-scroll svg.has-focus .atlas-edge .graph-edge:not(.active){opacity:.12}.graph-scroll svg.has-focus .atlas-edge:has(.graph-edge:not(.active)) .edge-label,.graph-scroll svg.has-focus .atlas-edge:has(.graph-edge:not(.active)) .edge-label-bg{opacity:.25}
