:root{--ink:#e2e9ed;--muted:#a1afb9;--line:#2b363e;--paper:#151b20;--wash:#1b232a;--accent:#8bcdb8;--accent-bg:#233d35;--body:#c7d2da;--hover:#263039;--on-accent:#12271f;--sidebar:238px;color-scheme:dark;color:var(--ink);background:var(--paper);font-synthesis:none;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.6}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}:focus-visible{outline-offset:4px;outline:3px solid #438e81}button{color:inherit}svg{fill:none;stroke:currentColor;stroke-width:1.6px;flex-shrink:0;width:19px;height:19px}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-1.1px;margin-bottom:12px;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.9rem,2.6vw,2.4rem);font-weight:400;line-height:1.16}h2{font-size:1.35rem;line-height:1.4}h3{font-size:1.05rem}small{font-size:.8rem}.sidebar{width:var(--sidebar);background:var(--wash);border-right:1px solid var(--line);z-index:20;flex-direction:column;padding:20px 14px 14px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:12px;margin:0 8px 22px;font-size:1.25rem;font-weight:650;line-height:1.4;display:flex}.brand-mark{color:#fff;background:#1d4f48;border-radius:10px;place-content:center;width:39px;height:42px;font-family:Georgia,serif;font-size:32px;font-weight:400;line-height:1;display:grid;position:relative}.brand-mark span{color:#a6ccc1;position:absolute;bottom:4px;right:7px}.brand-sub{color:var(--muted);margin-top:2px;font-size:.75rem;font-weight:400;display:block}.search-button{border:1px solid var(--line);background:var(--paper);color:var(--muted);border-radius:7px;justify-content:space-between;align-items:center;width:100%;margin-bottom:16px;padding:10px;font-size:.875rem;display:flex}.search-button>span{align-items:center;gap:8px;display:flex}kbd{border:1px solid var(--line);color:var(--muted);white-space:nowrap;border-radius:4px;padding:0 4px;font-family:inherit;font-size:.75rem}.sidebar nav{flex:1;min-height:0;overflow-y:auto}.library-link{border-radius:6px;align-items:center;gap:10px;padding:10px 12px;font-size:.875rem;display:flex}.library-link>span{color:var(--muted);margin-left:auto;font-size:.75rem}.active{background:var(--accent-bg);color:var(--accent);font-weight:550}.nav-divider{background:var(--line);height:1px;margin:12px 10px}.eyebrow{letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:18px;font-size:.7rem;font-weight:650}.sidebar .eyebrow{padding:0 12px}.accent{color:var(--accent)}.topic-link{border-radius:6px;align-items:center;gap:10px;padding:8px 11px;font-size:.9rem;font-weight:550;display:flex}.topic-link:hover,.note-link:hover{background:var(--hover)}.topic-glyph{border:1px solid var(--line);background:var(--accent-bg);width:23px;height:23px;color:var(--accent);border-radius:5px;place-content:center;font-family:Georgia,serif;font-size:.9rem;display:grid}.note-tree{margin:4px 0 10px}.topic-glyph svg{width:16px;height:16px}.large-glyph svg{width:23px;height:23px}.note-link{border-radius:5px;margin:1px 0;padding:5px 8px 5px 12px;font-size:.86rem;line-height:1.5;display:block}.nav-label{letter-spacing:.08em;text-transform:uppercase;color:var(--accent);border-radius:4px;align-items:center;gap:9px;margin:4px 0;padding:8px 12px;font-size:.67rem;font-weight:650;display:flex}.nav-label:hover{background:var(--hover)}.nav-group-name{overflow-wrap:anywhere;min-width:0}.section-progress{text-align:right;font-variant-numeric:tabular-nums;letter-spacing:normal;text-transform:none;color:var(--muted);flex-shrink:0;font-weight:400}.section-progress.compact{margin-left:auto;font-size:.65rem}.section-progress progress:not([hidden]){appearance:none;background:var(--line);width:94px;height:3px;accent-color:var(--accent);border:0;border-radius:2px;margin:4px 0 0 auto;display:block;overflow:hidden}.section-progress progress::-webkit-progress-bar{background:var(--line)}.section-progress progress::-webkit-progress-value{background:var(--accent)}.section-progress progress::-moz-progress-bar{background:var(--accent)}.note-completion{color:var(--accent);white-space:nowrap;font-size:.75rem}.article-meta .page-meta{flex-wrap:wrap;gap:8px 14px}details[data-section-key]>summary{cursor:pointer;list-style:none}details[data-section-key]>summary::-webkit-details-marker{display:none}details[data-section-key]>summary:before{content:"";border-bottom:1.5px solid;border-right:1.5px solid;flex-shrink:0;width:6px;height:6px;transform:rotate(-45deg)}details[data-section-key][open]>summary:before{transform:rotate(45deg)}.nested{border-left:1px solid var(--line);margin-left:12px;padding-left:6px}.workspace{margin-left:var(--sidebar)}.topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:24px;height:54px;padding:0 28px;display:flex}.breadcrumbs{color:var(--muted);align-items:center;gap:14px;min-width:0;font-size:.8rem;display:flex}.breadcrumbs>a:hover{color:var(--accent)}.breadcrumbs>span:not(.breadcrumb-current){color:var(--muted)}.breadcrumb-current{color:var(--ink);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.topbar-label{color:var(--muted);white-space:nowrap;font-size:.75rem}.mobile-menu{display:none!important}.library-page,.topic-page{max-width:1100px;margin:auto;padding:30px 32px 48px}.page-heading{max-width:760px;margin-bottom:26px}.page-heading .eyebrow,.article-heading .eyebrow{margin-bottom:10px}.lead{color:var(--muted);max-width:640px;margin-bottom:0;font-size:1.02rem;line-height:1.75}.section-heading{justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:18px;display:flex}.section-heading h2{margin:0;font-size:.95rem;font-weight:600}.section-heading>span{color:var(--muted);white-space:nowrap;font-size:.78rem}.topic-grid{gap:10px;display:grid}.topic-card{border:1px solid var(--line);background:var(--wash);border-radius:8px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px;display:grid}.topic-card:hover{border-color:var(--accent)}.large-glyph{background:var(--accent-bg);width:36px;height:36px;color:var(--accent);border-radius:7px;place-content:center;font-family:Georgia,serif;font-size:1.3rem;display:grid}.topic-card h2{margin:2px 0 5px;font-size:1rem;font-weight:600}.topic-card p{color:var(--muted);margin:0;font-size:.875rem;line-height:1.55}.tag{color:var(--accent);font-size:.7rem}.card-bottom{color:var(--muted);text-align:right;white-space:nowrap;flex-direction:column;gap:3px;font-size:.75rem;display:flex}.library-notes{margin-top:28px}.library-note{border-bottom:1px solid var(--line);align-items:center;gap:18px;padding:11px 4px;display:flex}.library-note:hover h3,.topic-note:hover h3{color:var(--accent)}.library-note h3{margin:0 0 2px;font-size:.9rem;font-weight:500}.library-note p{color:var(--muted);margin:0;font-size:.75rem}.note-icon{color:var(--muted);font-size:1.6rem;line-height:1}.reading-time{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:.75rem}.page-meta{color:var(--muted);align-items:center;gap:18px;font-size:.75rem;display:flex}.page-heading .page-meta{margin-top:14px}.section-controls:not([hidden]){justify-content:flex-end;gap:8px;margin-bottom:12px;display:flex}.section-controls button{border:1px solid var(--line);background:var(--paper);color:var(--muted);border-radius:4px;padding:5px 10px;font-size:.75rem}.section-controls button:hover:not(:disabled){background:var(--wash);color:var(--accent);border-color:var(--accent)}.topic-section{margin-bottom:8px}.topic-section[open]{margin-bottom:24px}.topic-section .section-heading{color:var(--accent);background:var(--wash);border-left:3px solid var(--accent);border-radius:0 4px 4px 0;justify-content:flex-start;align-items:center;gap:12px;margin-bottom:2px;padding:9px 12px}.topic-section .section-heading h2{letter-spacing:.09em;text-transform:uppercase;color:var(--accent);overflow-wrap:anywhere;font-size:.75rem;font-weight:650}.topic-section .section-heading>span{margin-left:auto;font-size:.72rem}.topic-section .section-heading:hover{background:var(--hover)}.topic-note{align-items:center;gap:24px;padding:11px 12px 11px 20px;display:flex}.topic-note+.topic-note{border-top:1px solid var(--line)}.topic-note:hover{background:var(--wash)}.topic-note>div{overflow-wrap:anywhere;min-width:0}.topic-note h3{margin:0 0 3px;font-size:.95rem;font-weight:500}.topic-note p{color:var(--muted);margin:0;font-size:.82rem}.reader-layout{grid-template-columns:minmax(0,800px) 176px;gap:36px;max-width:1120px;margin:auto;padding:28px 32px 44px;display:grid}.reader{min-width:0}.article-heading{border-bottom:1px solid var(--line);margin-bottom:22px;padding-bottom:18px}.article-heading h1{font-size:clamp(1.85rem,2.6vw,2.35rem)}.article-meta{justify-content:space-between;align-items:center;gap:18px;margin-top:16px;display:flex}.status-tag{background:var(--wash);text-transform:capitalize;border-radius:4px;padding:2px 8px}.revision-button{border:1px solid var(--line);background:var(--paper);color:var(--accent);white-space:nowrap;border-radius:5px;padding:7px 11px;font-size:.75rem}.revision-button:hover{background:var(--accent-bg)}.prose{color:var(--body);overflow-wrap:break-word;font-size:1rem;line-height:1.75}.prose h2{color:var(--ink);letter-spacing:-.3px;margin:18px 0 12px;scroll-margin-top:28px;font-size:1.27rem;font-weight:600}.prose h3{margin:22px 0 10px;scroll-margin-top:28px;font-size:1.05rem}.prose p{margin:0 0 14px}.prose strong{color:var(--ink);font-weight:600}.prose a{color:var(--accent);text-underline-offset:3px;text-decoration:underline;text-decoration-color:var(--accent)}.prose ul,.prose ol{margin:16px 0 24px;padding-left:24px}.prose li{margin:8px 0;padding-left:4px}.prose blockquote{background:var(--accent-bg);border-left:3px solid #7aa89b;border-radius:0 6px 6px 0;margin:18px 0;padding:13px 17px;font-size:.95rem}.prose blockquote p{margin:0}.prose img{border:1px solid var(--line);border-radius:8px;max-width:100%;height:auto;margin:18px auto;display:block}.prose table{border-collapse:collapse;width:100%;margin:18px 0;font-size:.875rem;line-height:1.65;display:block;overflow-x:auto}.prose td,.prose th{text-align:left;border-bottom:1px solid var(--line);padding:10px 12px}.prose th{background:var(--wash);font-weight:600}.prose pre{border:1px solid var(--line);border-radius:7px;padding:20px;font-size:.84rem;overflow:auto}.prose code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.88em}.prose :not(pre)>code{background:var(--wash);border-radius:3px;padding:2px 5px}.prose details{border:1px solid var(--line);border-radius:6px;margin:20px 0;padding:15px 20px}.prose summary{cursor:pointer;font-weight:550}.prose details[open] summary{margin-bottom:14px}.prose details p:last-child{margin-bottom:0}.prose hr{border:0;border-top:1px solid var(--line);margin:32px 0}.outline{scrollbar-width:thin;align-self:start;max-height:calc(100dvh - 72px);padding-top:4px;position:sticky;top:36px;overflow-y:auto}.outline .eyebrow{margin-bottom:14px;font-size:.65rem}.outline>a{border-left:1px solid var(--line);color:var(--muted);padding:7px 0 7px 15px;font-size:.78rem;line-height:1.55;display:block}.outline>a:hover{border-color:var(--accent);color:var(--accent)}.outline>a.subheading{padding-left:25px}.outline-tip{border-top:1px solid var(--line);color:var(--muted);margin-top:26px;padding-top:18px;font-size:.75rem;line-height:1.8}.outline-tip strong{color:var(--muted);font-weight:500}.note-footer{border-top:1px solid var(--line);color:var(--muted);margin-top:45px;padding-top:20px;font-size:.7rem}.note-footer code{overflow-wrap:anywhere;margin-top:5px;display:block}.page-navigation{grid-template-columns:1fr 1fr;gap:16px;margin-top:30px;display:grid}.page-navigation>a{border:1px solid var(--line);border-radius:6px;padding:15px 17px;line-height:1.5}.page-navigation>a:hover{border-color:#8eb3a9}.page-navigation small{color:var(--muted);margin-bottom:5px;font-size:.7rem;display:block}.page-navigation span{font-size:.85rem}.icon-button{background:0 0;border:0;border-radius:5px;place-content:center;width:32px;height:32px;display:grid}.icon-button:hover{background:var(--wash)}dialog{background:var(--paper);border:1px solid var(--line);width:min(620px,100% - 32px);max-height:85vh;color:var(--ink);border-radius:12px;padding:24px;box-shadow:0 24px 100px #132d3233}dialog::backdrop{backdrop-filter:blur(3px);background:#152b3a65}.dialog-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.dialog-heading h2{margin:0;font-size:1.15rem}input,textarea{border:1px solid var(--line);background:var(--wash);width:100%;color:var(--ink);border-radius:6px;padding:12px;font-size:.9rem}textarea{resize:vertical;line-height:1.6}#search-input{font-size:1rem}.search-count{color:var(--muted);margin:14px 0 5px;font-size:.75rem}#search-results{max-height:45vh;overflow-y:auto}.search-result{border-bottom:1px solid var(--line);border-radius:4px;padding:14px 9px;display:block}.search-result:hover{background:var(--wash)}.search-result>*{display:block}.search-result small{color:var(--accent);font-size:.7rem}.search-result strong{font-size:.95rem;font-weight:550}.search-result span{color:var(--muted);margin-top:3px;font-size:.8rem}.dialog-footer{color:var(--muted);justify-content:space-between;margin-top:18px;font-size:.7rem;display:flex}.dialog-description{color:var(--muted);font-size:.85rem;line-height:1.7}.revision-source{background:var(--wash);overflow-wrap:anywhere;border-radius:5px;margin:20px 0;padding:11px 13px;font-size:.75rem}.revision-source span{color:var(--muted);margin-bottom:4px;display:block}#revision-dialog label{margin:17px 0 8px;font-size:.85rem;font-weight:550;display:block}#revision-dialog details{color:var(--muted);margin-top:16px;font-size:.8rem}#revision-dialog summary{cursor:pointer}#revision-prompt{margin-top:10px;font-size:.75rem}.revision-actions{justify-content:space-between;align-items:center;gap:16px;margin-top:22px;display:flex}#copy-status{color:var(--accent);font-size:.75rem}.primary-button{background:var(--accent);color:var(--on-accent);white-space:nowrap;border:0;border-radius:5px;padding:9px 16px;font-size:.85rem}.empty-state{color:var(--muted);padding:30px 0;font-size:.9rem}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.skip-link{z-index:100;background:var(--paper);border:2px solid var(--accent);padding:10px;position:fixed;top:-100px;left:12px}.skip-link:focus{top:12px}[hidden]{display:none!important}::selection{background:var(--accent-bg)}@media (width<=1200px){:root{--sidebar:224px}.reader-layout{grid-template-columns:minmax(0,1fr) 150px;gap:26px;padding:26px 28px}.library-page,.topic-page{padding:28px}.topbar{padding:0 28px}.article-meta{flex-wrap:wrap;align-items:flex-start}}@media (width<=1000px){.outline{display:none}.reader-layout{max-width:790px;display:block}.topic-grid{grid-template-columns:1fr}.topbar-label{display:none}}@media (width<=720px){:root{--sidebar:268px}.sidebar{visibility:hidden;transition:transform .18s;top:60px;transform:translate(-100%);box-shadow:14px 12px 40px #172e2720}.nav-open .sidebar{visibility:visible;transform:translate(0)}.sidebar .brand{display:none}.workspace{margin-left:0}.topbar{background:var(--paper);z-index:30;height:60px;padding:0 18px;position:sticky;top:0}.breadcrumbs{flex:1;gap:10px}.mobile-menu{flex-shrink:0;display:grid!important}.library-page,.topic-page{padding:24px 20px 40px}.page-heading{margin-bottom:24px}.reader-layout{padding:24px 20px 40px}.article-heading h1{font-size:1.9rem}.article-meta{gap:15px}.lead{font-size:.95rem}.prose{font-size:1rem}.page-navigation{gap:10px}.page-navigation>a{padding:12px}.topic-note{gap:12px}.section-heading>span{font-size:.7rem}.library-notes{margin-top:26px}.dialog-footer{gap:12px}dialog{padding:20px}.breadcrumb-current{max-width:40vw}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media print{.sidebar,.topbar,.outline,.revision-button,.page-navigation,.section-controls,.skip-link,dialog{display:none!important}.workspace{margin:0}.reader-layout{max-width:none;padding:0;display:block}.prose{font-size:11pt}.prose a{text-decoration:none}.prose img{max-height:350px}.note-footer{display:none}}:root[data-theme=light]{color-scheme:light;--ink:#202d35;--muted:#5e6c76;--line:#dce3e7;--paper:#fff;--wash:#f5f7f8;--accent:#25645b;--accent-bg:#eaf2ef;--body:#34424b;--hover:#eaf0f2;--on-accent:#fff}.theme-toggle{border:1px solid var(--line);background:var(--wash);color:var(--muted);border-radius:5px;flex-shrink:0;align-items:center;gap:7px;padding:5px 9px;font-size:.75rem;display:inline-flex}.theme-toggle:hover{color:var(--ink);border-color:var(--muted)}.theme-toggle svg{width:16px;height:16px}[data-theme=dark] .theme-moon,[data-theme=light] .theme-sun{display:none}.prose pre.astro-code{background:var(--wash)!important}:root[data-theme=dark] .astro-code,:root[data-theme=dark] .astro-code span{color:var(--shiki-dark)!important}@media (width<=720px){.topbar{gap:8px}.theme-toggle{width:32px;height:32px;padding:6px}.theme-toggle span{display:none}.breadcrumbs{overflow:hidden}.topic-card{grid-template-columns:30px minmax(0,1fr);gap:10px;padding:12px}.large-glyph{width:30px;height:30px}.card-bottom{text-align:left;flex-direction:row;grid-column:2;gap:12px}.topic-card h2{font-size:.95rem}}@media print{:root,:root[data-theme=dark],:root[data-theme=light]{color-scheme:light;--ink:#202d35;--muted:#5e6c76;--line:#dce3e7;--paper:#fff;--wash:#f5f7f8;--accent:#25645b;--accent-bg:#eaf2ef;--body:#34424b}.theme-toggle{display:none}}
