/* Think, Reason, Learn site style for the docs (matches thinkreasonlearn.com and the FounderBrain pages) */
html[data-theme="light"]{
  --pst-color-primary:#1E6B43;--pst-color-secondary:#1E6B43;--pst-color-accent:#9A6434;
  --pst-color-background:#FAF7F0;--pst-color-on-background:#FFFDF8;--pst-color-surface:#F2EDE2;--pst-color-on-surface:#1E2321;
  --pst-color-text-base:#1E2321;--pst-color-text-muted:#5E655F;--pst-color-border:#DDD5C4;--pst-color-shadow:rgba(30,35,33,.06);
  --pst-color-link:#1E6B43;--pst-color-link-hover:#173F2B;--pst-color-inline-code:#9A6434;--pst-color-inline-code-links:#1E6B43;
  --pst-color-target:#E4EFE7;--pst-color-table-row-hover-bg:#F2EDE2;
}
html[data-theme="dark"]{
  --pst-color-primary:#6DBB8C;--pst-color-secondary:#6DBB8C;--pst-color-accent:#D9A66B;
  --pst-color-background:#161917;--pst-color-on-background:#1B1F1C;--pst-color-surface:#1F2320;--pst-color-on-surface:#ECE7DB;
  --pst-color-text-base:#ECE7DB;--pst-color-text-muted:#A5ACA6;--pst-color-border:#343A36;--pst-color-shadow:rgba(0,0,0,.2);
  --pst-color-link:#6DBB8C;--pst-color-link-hover:#A9CDB6;--pst-color-inline-code:#D9A66B;--pst-color-inline-code-links:#6DBB8C;
  --pst-color-target:#203326;--pst-color-table-row-hover-bg:#1F2320;
}
html{--pst-font-family-base:'Source Serif 4',Georgia,'Times New Roman',serif;--pst-font-family-heading:'Fraunces',Georgia,serif;
  --pst-font-family-monospace:'DM Mono',ui-monospace,Menlo,monospace;--pst-font-size-base:1.0625rem}
body{-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-weight:500;letter-spacing:-.01em}
.bd-content h1{font-weight:300;font-size:2.6rem;line-height:1.08}
.bd-header{border-bottom:1px solid var(--pst-color-border);box-shadow:none!important}
.bd-header .navbar-brand{gap:.5rem;font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:1.1rem}
.bd-header .navbar-brand img{height:22px!important;width:auto!important;margin:0!important}
.navbar-nav .nav-link{font-family:'Source Serif 4',Georgia,serif}
.sd-card{border-color:var(--pst-color-border)!important;background:var(--pst-color-on-background)!important;border-radius:14px!important;box-shadow:none!important}
.sd-card:hover{border-color:var(--pst-color-primary)!important}
pre,div.highlight{border-radius:10px;border-color:var(--pst-color-border)}
.bd-footer{border-top:1px solid var(--pst-color-border)}
.bd-header a.navbar-brand{margin:0!important;justify-content:flex-start!important}
a[href*="thinkreasonlearn.com"]::after{content:none!important}
.bd-header .navbar-nav .nav-link{white-space:nowrap}
/* the site's own menu in the docs header, and the docs sections in a left sidebar */
.site-nav{display:flex;gap:4px 22px;flex-wrap:wrap;align-items:center;font-family:'Source Serif 4',Georgia,serif;font-size:15.5px}
.site-nav a{color:var(--pst-color-text-muted)!important;text-decoration:none}
.site-nav a:hover{color:var(--pst-color-text-base)!important;text-decoration:underline}
.site-nav a[aria-current]{color:var(--pst-color-text-base)!important;text-decoration:underline;text-underline-offset:4px}
.site-nav a::after{content:none!important}
.bd-sidebar-primary{display:flex!important;border-right:1px solid var(--pst-color-border);background:transparent}
.bd-sidebar-primary .sidebar-primary-items__start{padding-top:1.4rem}
.bd-sidebar-primary .nav-link{font-size:15px}
.bd-sidebar-secondary .page-toc .onthispage{font-family:'Source Serif 4',serif;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--pst-color-text-muted)}
.bd-sidebar-secondary .page-toc .onthispage i{display:none}
.docs-toc{font-size:15px}
.docs-toc-title{font-family:'Fraunces',serif;font-weight:500;font-size:17px;margin:0 0 .6rem}
.docs-toc-title a{color:var(--pst-color-text-base)!important;text-decoration:none}
.docs-toc ul{list-style:none;margin:0;padding:0}
.docs-toc li{margin:0}
.docs-toc a{display:block;padding:5px 10px;border-radius:8px;color:var(--pst-color-text-muted);text-decoration:none}
.docs-toc a:hover{color:var(--pst-color-text-base);background:var(--pst-color-surface)}
.docs-toc li.current>a,.docs-toc a.current{color:var(--pst-color-primary);background:var(--pst-color-target);font-weight:600}
.docs-toc ul ul{margin-left:12px;border-left:1px solid var(--pst-color-border);padding-left:6px}
/* layout, headings, code and cards matched to the site pages */
.bd-page-width{max-width:1132px}
.bd-sidebar-primary{width:15rem;flex-basis:15rem}
.bd-header .navbar-header-items__center{justify-content:flex-end;margin-left:auto}
.site-nav{font-size:15px;gap:4px 18px}
.bd-header .navbar-brand{font-size:18px}
.bd-header .navbar-brand img{height:20px!important}
.bd-content h1{font-family:'Fraunces',Georgia,serif;font-weight:300;font-size:clamp(40px,5.5vw,60px);line-height:1.04;letter-spacing:-.02em;text-wrap:balance}
.bd-content h2{font-weight:400}
html[data-theme="light"] div.highlight,html[data-theme="light"] div.highlight pre{background:#FFFDF8}
html[data-theme="dark"] div.highlight,html[data-theme="dark"] div.highlight pre{background:#1B1F1C}
div.highlight{border:1px solid var(--pst-color-border)}
div.highlight pre{border:0;font-size:14px;line-height:1.55}
.sd-card .sd-card-body{padding:1.1rem 1.25rem}
.sd-card .sd-card-title{font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:19px}
.sd-card ul{margin:0;padding-left:1.1rem}
.bd-sidebar-secondary .page-toc .onthispage{font-size:12.5px;letter-spacing:.08em}
.trl-footer{margin:0;font-size:14px;color:var(--pst-color-text-muted)}
.trl-footer a{color:var(--pst-color-text-muted)}
