/* The standalone paper and homepage reader share a single restrained reading surface. */
@font-face{font-family:Newsreader;src:url('/assets/fonts/newsreader-regular.ttf') format('truetype');font-display:swap}
@font-face{font-family:Manrope;src:url('/assets/fonts/manrope-regular.ttf') format('truetype');font-display:swap}
html[data-document=thesis]{color-scheme:light;scroll-behavior:auto}
html[data-document=thesis] body{margin:0;background:#f7f7f3;color:#19342e;-webkit-font-smoothing:antialiased}
html[data-document=thesis][data-theme=dark]{color-scheme:dark}
html[data-document=thesis][data-theme=dark] body{background:#0d2226;color:#e0e8dc}
.thesis-reader{--thesis-paper:#f7f7f3;--thesis-ink:#19342e;--thesis-muted:#53665c;--thesis-rule:#71847635;--thesis-serif:Newsreader,Georgia,serif;--thesis-sans:Manrope,Arial,sans-serif;--thesis-toolbar-height:76px;--thesis-nav-height:56px;box-sizing:border-box;background:var(--thesis-paper);color:var(--thesis-ink);font-family:var(--thesis-sans);text-align:left;line-height:1.5;color-scheme:light;-webkit-font-smoothing:antialiased}
html[data-theme=dark] .thesis-reader{--thesis-paper:#0d2226;--thesis-ink:#e0e8dc;--thesis-muted:#b1c5b8;--thesis-rule:#93ab9738;color-scheme:dark}
.thesis-reader *,.thesis-reader *::before,.thesis-reader *::after{box-sizing:border-box}
.thesis-reader [hidden],.thesis-reader.thesis-dialog:not([open]){display:none!important}
.thesis-reader a{color:inherit;text-underline-offset:5px;text-decoration-thickness:1px}
.thesis-reader button{color:inherit;font:inherit;cursor:pointer}
.thesis-reader :is(a,button):focus-visible{outline:2px solid currentColor;outline-offset:4px}
.thesis-reader.thesis-dialog{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;box-shadow:none}
.thesis-reader.thesis-dialog[open]{display:block;animation:thesis-arrive .18s ease-out}
.thesis-reader.thesis-dialog::backdrop{background:#06141866}
.thesis-reader.thesis-standalone{min-height:100dvh}
.thesis-reader .thesis-scroll{position:relative;min-height:100dvh;overflow:visible}
.thesis-reader.thesis-dialog .thesis-scroll{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#99aa9a transparent}
.thesis-reader .thesis-skip{position:absolute;top:-100px;left:24px;z-index:8;padding:12px 16px;background:var(--thesis-paper);font:14px/1.5 var(--thesis-sans)}
.thesis-reader .thesis-skip:focus{top:12px}
.thesis-reader .thesis-toolbar{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:calc(var(--thesis-toolbar-height) + env(safe-area-inset-top));padding:calc(10px + env(safe-area-inset-top)) max(32px,calc((100% - 1120px)/2)) 10px;background:var(--thesis-paper)}
.thesis-reader .thesis-brand{display:inline-flex;align-items:center;gap:13px;min-height:44px;text-decoration:none}
.thesis-reader .thesis-brand img{display:block;width:27px;height:34px;object-fit:contain;filter:brightness(.45) sepia(.2)}
html[data-theme=dark] .thesis-reader .thesis-brand img{filter:none}
.thesis-reader .thesis-brand span{padding-top:4px;font:28px/1 var(--thesis-serif);letter-spacing:.1em}
.thesis-reader .thesis-actions{display:flex;align-items:center;gap:22px}
.thesis-reader .thesis-print,.thesis-reader .thesis-close{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--thesis-ink);font:13px/1.5 var(--thesis-sans);text-decoration:none}
.thesis-reader .thesis-print{gap:8px}
.thesis-reader .thesis-print svg{width:20px;height:20px}
.thesis-reader .thesis-close svg{width:23px;height:23px}
.thesis-reader .thesis-print:hover,.thesis-reader .thesis-close:hover{color:var(--thesis-muted)}
.thesis-reader .thesis-nav{position:sticky;inset:auto;visibility:visible;opacity:1;transform:none;pointer-events:auto;width:100%;flex:none;flex-direction:row;max-height:none;box-shadow:none;top:calc(var(--thesis-toolbar-height) + env(safe-area-inset-top));z-index:4;display:flex;align-items:stretch;justify-content:center;gap:30px;height:var(--thesis-nav-height);margin:0;padding:0 32px;background:var(--thesis-paper);border-bottom:1px solid var(--thesis-rule);overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;scroll-padding-inline:24px;font:13px/1.5 var(--thesis-sans)}
.thesis-reader .thesis-nav::-webkit-scrollbar{display:none}
.thesis-reader .thesis-nav a{position:relative;display:inline-flex;align-items:center;flex:none;min-height:44px;padding:0 0 2px;color:var(--thesis-muted);font:inherit;white-space:nowrap;text-decoration:none;transition:color .15s ease}
.thesis-reader .thesis-nav a::after{position:absolute;right:0;bottom:0;left:0;height:2px;background:currentColor;content:"";opacity:0}
.thesis-reader .thesis-nav a:hover,.thesis-reader .thesis-nav a[aria-current=location]{color:var(--thesis-ink)}
.thesis-reader .thesis-nav a[aria-current=location]::after{opacity:1}
.thesis-reader .thesis-nav a:focus-visible{outline-offset:-4px}
.thesis-reader .thesis-paper-layout{width:100%;max-width:784px;margin:0 auto;padding:64px 32px calc(76px + env(safe-area-inset-bottom))}
.thesis-reader .investment-paper{min-width:0;width:100%;margin:0;padding:0}
.thesis-reader .investment-paper section{margin:0;padding:0;scroll-margin-top:calc(var(--thesis-toolbar-height) + var(--thesis-nav-height) + env(safe-area-inset-top) + 28px)}
.thesis-reader .investment-paper h1{font:400 clamp(42px,5vw,60px)/1.05 var(--thesis-serif);letter-spacing:-.03em;margin:0 0 38px;color:var(--thesis-ink);text-wrap:pretty}
.thesis-reader .investment-paper h2{font:400 30px/1.17 var(--thesis-serif);letter-spacing:-.018em;margin:0 0 24px;color:var(--thesis-ink);text-wrap:pretty}
.thesis-reader .investment-paper p{font:21px/1.65 var(--thesis-serif);letter-spacing:normal;margin:0 0 26px;color:var(--thesis-ink);overflow-wrap:break-word}
.thesis-reader .investment-paper section+section{margin-top:52px}
.thesis-reader .investment-paper :is(h1,h2):focus{outline:none}
.thesis-reader .investment-paper #paper-title{scroll-margin-top:calc(var(--thesis-toolbar-height) + var(--thesis-nav-height) + env(safe-area-inset-top) + 28px)}
.thesis-reader .thesis-end{display:flex;align-items:center;justify-content:flex-end;gap:24px;margin-top:46px;padding-top:26px;border-top:1px solid var(--thesis-rule);font:13px/1.5 var(--thesis-sans)}
.thesis-reader .thesis-end :is(a,button){display:inline-flex;align-items:center;min-height:44px;margin:0;padding:0;border:0;background:transparent;font:inherit;text-decoration:none}
.thesis-reader .thesis-end :is(a,button):hover{text-decoration:underline}
@media(max-width:900px){.thesis-reader .thesis-nav{justify-content:flex-start;gap:28px}}
@media(max-width:760px){
 .thesis-reader{--thesis-toolbar-height:64px;--thesis-nav-height:52px}
 .thesis-reader .thesis-toolbar{padding-inline:24px;gap:16px}
 .thesis-reader .thesis-brand{gap:10px}.thesis-reader .thesis-brand img{width:23px;height:29px}.thesis-reader .thesis-brand span{font-size:25px}
 .thesis-reader .thesis-actions{gap:12px}.thesis-reader .thesis-print span{display:none}
 .thesis-reader .thesis-nav{gap:26px;padding-inline:24px;font-size:13px}
 .thesis-reader .thesis-paper-layout{max-width:728px;padding:34px 24px calc(44px + env(safe-area-inset-bottom))}
 .thesis-reader .investment-paper h1{font-size:43px;line-height:1.07;margin-bottom:30px}
 .thesis-reader .investment-paper h2{font-size:29px;line-height:1.2;margin-bottom:22px}
 .thesis-reader .investment-paper p{font-size:20px;line-height:1.65;margin-bottom:26px}
 .thesis-reader .investment-paper section+section{margin-top:40px}
 .thesis-reader .thesis-end{margin-top:32px;padding-top:22px}
}
@media(max-width:359px){
 .thesis-reader .thesis-toolbar{padding-inline:20px}.thesis-reader .thesis-actions{gap:8px}.thesis-reader .thesis-brand span{font-size:23px}
 .thesis-reader .thesis-nav{padding-inline:20px;gap:24px}
 .thesis-reader .thesis-paper-layout{padding-inline:20px}
 .thesis-reader .investment-paper h1{font-size:38px}.thesis-reader .investment-paper p{font-size:19px}
}
@keyframes thesis-arrive{from{opacity:.55;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.thesis-reader.thesis-dialog[open]{animation:none}.thesis-reader .thesis-nav a{transition:none}}
@media print{
 @page aigis-thesis{size:auto;margin:20mm 20mm 22mm}
 html.thesis-is-open{overflow:visible!important;height:auto!important}
 body.thesis-is-open> :not(.thesis-dialog),html.thesis-is-open body> :not(.thesis-dialog){display:none!important}
 body.thesis-is-open,html.thesis-is-open body{position:static!important;inset:auto!important;width:auto!important;height:auto!important;padding:0!important;overflow:visible!important}
 .thesis-reader{--thesis-paper:#fff!important;--thesis-ink:#000!important;--thesis-muted:#444!important;page:aigis-thesis;color-scheme:light}
 .thesis-reader.thesis-dialog[open],.thesis-reader.thesis-standalone{display:block!important;position:static!important;width:auto!important;max-width:none!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;transform:none!important;animation:none!important;box-shadow:none!important}
 .thesis-reader.thesis-dialog::backdrop{display:none}
 .thesis-reader .thesis-scroll,.thesis-reader.thesis-dialog .thesis-scroll{position:static;height:auto!important;min-height:0!important;overflow:visible!important}
 .thesis-reader .thesis-toolbar{position:static;display:block;min-height:0;padding:0 0 10mm;background:#fff}
 .thesis-reader .thesis-brand{width:fit-content;min-height:0}.thesis-reader .thesis-brand img{filter:brightness(.25)!important}.thesis-reader .thesis-brand span{font-size:18pt}
 .thesis-reader .thesis-actions,.thesis-reader .thesis-nav,.thesis-reader .thesis-skip,.thesis-reader .thesis-end{display:none!important}
 .thesis-reader .thesis-paper-layout{display:block;max-width:none;padding:0;margin:0}
 .thesis-reader .investment-paper h1{font-size:30pt;margin-bottom:10mm}
 .thesis-reader .investment-paper h2{font-size:18pt;margin-bottom:5mm;break-after:avoid}
 .thesis-reader .investment-paper p{font-size:11.5pt;line-height:1.55;margin-bottom:5mm;orphans:3;widows:3}
 .thesis-reader .investment-paper section+section{margin-top:9mm}
}

/* Pointer exits restore focus quietly; keyboard input removes this marker immediately. */
[data-pointer-focus-return]{outline:none!important}
