:root{--wg-paper: var(--color-paper);--wg-surface: var(--color-paper-soft);--wg-wash: var(--color-paper-deep);--wg-ink: var(--color-ink);--wg-muted: #675343;--wg-focus: #285e65;--wg-tradition: #386248;--wg-teacher: #85431d;--wg-work: #335d82;--wg-teaching: #8b3f50;--wg-practice: #426363;--wg-creator: #69522c}.wg-page{width:min(100% - 3rem,78rem);margin:3rem auto 0;color:var(--wg-ink)}.wg-page h1{font-size:clamp(2.6rem,5vw,4.7rem);line-height:1.05;max-width:20ch;margin:0 0 1rem;text-wrap:balance}.wg-page h2{font-size:clamp(1.9rem,3vw,2.6rem);line-height:1.15;margin:2.5rem 0 1rem;text-wrap:balance}.wg-page h3{font-size:1.5rem;line-height:1.25;margin:1.8rem 0 .65rem}.wg-page p{margin:0 0 1rem}.wg-lede{font-size:1.4rem;line-height:1.5;max-width:60ch}.wg-meta{font:.9rem/1.5 var(--font-sans);color:var(--wg-muted)}.wg-page :where(button,input,select){font-family:var(--font-sans)}.wg-page :where(a,button,input,select):focus-visible{outline:3px solid var(--wg-focus);outline-offset:4px}.wg-page :where(a,button){-webkit-tap-highlight-color:transparent}.wg-page ::selection{color:var(--wg-surface);background:var(--wg-focus)}.wg-page input{caret-color:var(--wg-focus)}.wg-page a{text-underline-offset:.2em}.wg-page a:hover{text-decoration:underline}.wg-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.65rem 1rem;min-height:44px;border:0;border-radius:3px;color:var(--wg-ink);background:var(--wg-wash);font:.95rem/1.4 var(--font-sans);cursor:pointer}.wg-button:hover,.wg-button[aria-pressed=true]{background:var(--wg-ink);color:var(--wg-surface);text-decoration:none}.wg-button:disabled{opacity:.5;cursor:default}.wg-button-primary{color:var(--wg-surface);background:var(--wg-tradition)}.wg-toolbar{display:flex;gap:1rem;align-items:end;flex-wrap:wrap;margin:2rem 0 1rem}.wg-toolbar label{font:.9rem/1.5 var(--font-sans);display:grid;gap:.4rem}.wg-toolbar label:first-child{flex:1;min-width:min(100%,15rem)}.wg-toolbar :where(input,select){border:1px solid var(--wg-muted);background:var(--wg-surface);color:var(--wg-ink);min-height:44px;padding:.6rem .8rem;font-size:1rem;max-width:100%;border-radius:3px}.wg-toolbar input::placeholder{color:var(--wg-muted)}.wg-view-controls{display:flex;gap:.4rem;flex-wrap:wrap}.wg-map-key{display:flex;flex-wrap:wrap;gap:.5rem .7rem;margin-bottom:.8rem}.wg-map-key button{display:inline-flex;align-items:center;gap:.35rem;min-height:40px;padding:.4rem .6rem;color:var(--node-color);background:transparent;border:1px solid currentColor;border-radius:3px;font:.9rem/1.3 var(--font-sans);cursor:pointer}.wg-map-key button[aria-pressed=false]{color:var(--wg-muted);border-color:var(--wg-muted)}.wg-map-key button:hover,.wg-map-key button[aria-pressed=true]{background:var(--wg-wash)}.wg-explore-body{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem}.wg-explore-body.has-preview{grid-template-columns:minmax(0,1fr) minmax(320px,390px)}.wg-explore-main{min-width:0}.wg-canvas{position:relative;height:640px;max-height:80dvh;min-height:380px;background:var(--wg-surface);border-radius:4px;overflow:hidden}.wg-map-help{position:absolute;bottom:.5rem;left:3rem;right:.75rem;pointer-events:none;font:.8rem/1.4 var(--font-sans);background:var(--wg-surface);color:var(--wg-muted)}.wg-node{width:236px;background:var(--wg-paper);color:var(--wg-ink);border:2px solid var(--node-color);border-radius:8px}.wg-node button{display:block;text-align:left;width:100%;padding:13px 16px;background:none;border:none;color:inherit;cursor:pointer}.wg-node strong{display:block;font:600 20px/1.2 var(--font-serif);margin-top:7px}.wg-node-kind{display:flex;align-items:center;gap:7px;color:var(--node-color);font:14px/1.3 var(--font-sans)}.wg-node.is-active{background:var(--wg-wash);outline:3px solid var(--node-color);outline-offset:3px}.wg-node.is-dimmed{opacity:.3}.wg-node:focus-within{opacity:1}.wg-node .react-flow__handle{opacity:0;pointer-events:none}.wg-canvas .react-flow__controls{box-shadow:none}.wg-canvas .react-flow__controls-button{width:40px;height:40px;background:var(--wg-paper);color:var(--wg-ink)}.wg-canvas .react-flow__attribution{font-family:var(--font-sans)}.wg-drawer{padding:1.5rem;background:var(--wg-surface);max-height:80dvh;min-width:0;overflow-y:auto;scrollbar-color:var(--wg-muted) var(--wg-surface);scroll-padding-top:1.5rem;animation:wg-enter .22s ease-out}.wg-drawer-top{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.wg-drawer h2{margin-top:1rem}.wg-drawer p,.wg-drawer dd{font-size:1.1rem;line-height:1.6}.wg-drawer .wg-meta{font-size:.85rem}.wg-drawer .wg-lede{font-size:1.3rem}.wg-icon-button{display:grid;place-items:center;width:44px;height:44px;background:var(--wg-wash);color:var(--wg-ink);border:0;cursor:pointer}.wg-checkbox{display:flex;align-items:center;gap:.5rem;padding:.6rem 0;font:.95rem/1.5 var(--font-sans)}.wg-checkbox input{width:20px;height:20px;accent-color:var(--wg-tradition)}.wg-relations{list-style:none;padding:0}.wg-relations li{margin:.75rem 0}.wg-relations button{display:block;text-align:left;border:0;padding:.8rem;background:var(--wg-wash);color:var(--wg-ink);width:100%;cursor:pointer}.wg-relations strong{display:block;font-size:1rem}.wg-relations span{display:block;font-size:.8rem;margin-top:.3rem;overflow-wrap:anywhere}.wg-prompt{background:var(--wg-wash);padding:1.2rem 1.5rem;margin:2rem 0}.wg-prompt h3{margin-top:0}.wg-prompt p:last-child{margin-bottom:0}.wg-door{margin:1.5rem 0;overflow-wrap:anywhere}.wg-door a{font-weight:600;font-size:1.15rem}.wg-door a svg{display:inline;vertical-align:middle}.wg-door p{margin-top:.6rem}.wg-embed{display:block;width:100%;aspect-ratio:16 / 9;border:0;margin:1rem 0;background:var(--wg-wash)}.wg-embed-portrait{aspect-ratio:9 / 16;max-height:65dvh}.wg-vocabulary{margin:1rem 0}.wg-vocabulary>div{margin:1rem 0}.wg-vocabulary dt,.wg-facts dt{font-weight:600}.wg-vocabulary dd{margin:.3rem 0 0}.wg-facts{display:grid;grid-template-columns:auto 1fr;gap:.6rem 1rem;margin:1rem 0;font-size:1rem}.wg-facts dd{margin:0;overflow-wrap:anywhere}.wg-instructions{padding-left:1.25rem}.wg-instructions li{margin:1rem 0;padding-left:.4rem}.wg-reading{max-width:70ch;margin:0 auto;font-size:1.25rem;line-height:1.65}.wg-reading blockquote{margin:1.5rem 0;padding:1.25rem;background:var(--wg-wash)}.wg-path-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:4rem;margin-top:3rem}.wg-step-nav{position:sticky;top:1.5rem;align-self:start}.wg-step-nav ol{margin:0;padding-left:1.4rem}.wg-step-nav li{padding:.6rem 0}.wg-step-nav a{font:1rem/1.4 var(--font-sans);border:none}.wg-step-nav a[aria-current=step]{font-weight:600;color:var(--wg-tradition);text-decoration:underline}.wg-path-step{scroll-margin-top:2rem}.wg-path-step[hidden]{display:none}.wg-path-step h2{margin-top:0}.wg-next-prev{display:flex;gap:.7rem;justify-content:space-between;flex-wrap:wrap;margin:2rem 0}.wg-thread{padding:1.2rem 0}.wg-thread summary{font-size:1.5rem;font-weight:600;cursor:pointer;min-height:44px}.wg-thread[open]{background:var(--wg-surface);padding:1.2rem}.wg-empty{padding:3rem 1.5rem;background:var(--wg-surface)}.wg-catalog-nav{display:flex;gap:1.2rem;flex-wrap:wrap;margin:2rem 0;font:1rem/1.5 var(--font-sans)}.wg-catalog-section{margin:3rem 0;scroll-margin-top:2rem}.wg-catalog-section ul{list-style:none;padding:0}.wg-catalog-section li{display:grid;grid-template-columns:minmax(180px,1fr) 2fr;gap:1.5rem;padding:1.1rem 0}.wg-catalog-section li a{font-size:1.5rem;line-height:1.3}.wg-catalog-section li p{font-size:1.1rem;margin:0}.wg-library-index>.wg-lede{margin-bottom:1.4rem}.wg-library-index>.wg-view-controls{margin-bottom:3.5rem}.wg-reading-history{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:-1.75rem 0 2.5rem;color:var(--wg-muted);font:.85rem/1.4 var(--font-sans)}.wg-reading-history p{margin:0}.wg-reading-history button{padding:.35rem 0;border:0;border-bottom:1px solid currentColor;background:transparent;color:inherit;font:inherit;cursor:pointer}.wg-reading-history button:hover{color:var(--wg-ink)}.wg-library-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3.5rem 2.25rem;align-items:start}.wg-library-column{scroll-margin-top:2rem}.wg-library-column header{min-height:4.6rem;padding-bottom:1rem;border-bottom:2px solid var(--wg-tradition)}.wg-library-column h2{margin:0;font-size:1.55rem;line-height:1.1;text-wrap:initial}.wg-library-column header p{margin:.45rem 0 0;color:var(--wg-muted);font:.78rem/1.3 var(--font-sans)}.wg-library-column ul{margin:0;padding:0;list-style:none}.wg-library-column li+li{border-top:1px solid color-mix(in srgb,var(--wg-wash) 75%,var(--wg-muted))}.wg-library-column a{display:flex;justify-content:space-between;gap:.75rem;padding:.72rem 0;border:0;color:var(--wg-ink);font-size:1rem;line-height:1.25}.wg-library-column a:hover{color:var(--wg-tradition);text-decoration:none}.wg-read-mark{display:none;flex:none;color:var(--wg-muted);font:.7rem/1.25 var(--font-sans)}.wg-library-column a.is-read .wg-read-mark{display:inline}.wg-path-continue{margin:-.5rem 0 1.5rem;color:var(--wg-muted);font:.9rem/1.5 var(--font-sans)}.wg-draft-note{color:var(--wg-muted);font:.9rem/1.5 var(--font-sans);max-width:78ch}@keyframes wg-enter{0%{transform:translate(16px)}to{transform:translate(0)}}@media(max-width:900px){.wg-explore-body.has-preview{grid-template-columns:minmax(0,1fr)}.wg-drawer{position:fixed;z-index:50;inset:auto 0 0;max-height:76dvh;border-top:2px solid var(--wg-muted);padding:1.25rem 1.25rem max(1.25rem,env(safe-area-inset-bottom))}.wg-path-layout{grid-template-columns:1fr;gap:2rem}.wg-step-nav{position:static}.wg-step-nav ol{display:grid;grid-template-columns:1fr 1fr;gap:0 1.5rem}.wg-library-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.wg-page{width:calc(100% - 2rem);margin-top:2rem}.wg-page h1{font-size:3rem}.wg-toolbar{align-items:stretch}.wg-toolbar label{width:100%}.wg-toolbar label:first-child{flex-basis:100%}.wg-catalog-section li{grid-template-columns:1fr;gap:.5rem}.wg-library-columns{grid-template-columns:1fr;gap:2.75rem}.wg-library-column header{min-height:auto}.wg-reading-history{align-items:flex-start;flex-direction:column;gap:.6rem}.wg-map-key{gap:.5rem 1rem}.wg-canvas{height:1440px;max-height:none}.wg-node{width:145px}.wg-node button{padding:8px 9px}.wg-node strong{font-size:16px;margin-top:4px}.wg-node-kind{gap:4px;font-size:11px}.wg-reading{font-size:1.15rem}}@media(prefers-reduced-motion:reduce){.wg-drawer{animation:none}}
