/* Same charcoal / sage reading language as the knowledge center. Page-local styles. */
body.pt-page{--pt-line:#495443;--pt-muted:#becbb1;--pt-panel:#1a211b}
body.pt-page .pt-main{width:min(1160px,calc(100% - 80px));margin:auto;padding:138px 0 64px}
.pt-crumb{display:flex;gap:16px;color:var(--pt-muted);font-size:15px;margin-bottom:32px}
.pt-intro{padding-bottom:34px;margin-bottom:36px;border-bottom:1px solid var(--pt-line)}
.pt-intro>p:first-child{font-size:15px;color:var(--pt-muted);margin:0 0 14px}
body.pt-page .pt-intro h1{font-size:clamp(32px,3.7vw,48px);font-weight:400;line-height:1.45;letter-spacing:-.03em;margin:0 0 16px}
.pt-intro h1 span{color:var(--pt-muted)}
.pt-intro>p:last-child{font-size:18px;line-height:1.85;color:#c7d0c0;margin:0;max-width:700px}
.pt-reader{display:grid;grid-template-columns:240px minmax(0,1fr);gap:40px;align-items:start}
.pt-sidebar{position:sticky;top:122px;max-height:calc(100dvh - 145px);overflow:auto}
.pt-sidebar-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;color:var(--pt-muted)}
.pt-sidebar-heading h2{font-size:19px;font-weight:500;margin:0}.pt-sidebar-heading span{font-size:14px}
.pt-index{display:grid;gap:6px}
.pt-index a{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;align-items:baseline;padding:14px 12px;border-radius:10px;font-size:17px;line-height:1.65;color:#ced7c7;text-decoration:none;min-height:50px;box-sizing:border-box}
.pt-index a>span:first-child{font-size:14px;font-variant-numeric:tabular-nums;color:#a5b399}
.pt-index a[aria-current]{background:#becbb1;color:#101311}.pt-index a[aria-current]>span:first-child{color:#37462f}
.pt-index a:hover:not([aria-current]){background:#263024}
.pt-stage{min-width:0;scroll-margin-top:122px}
.pt-paper{background:var(--pt-panel);border:1px solid var(--pt-line);border-radius:24px;padding:32px 38px}
.pt-progress{display:none;align-items:center;gap:18px;color:var(--pt-muted);font-size:15px;margin-bottom:28px}
.pt-enhanced .pt-progress{display:flex}.pt-progress progress{appearance:none;flex:1;min-width:0;height:3px;border:0;background:#495443}
.pt-progress progress::-webkit-progress-bar{background:#495443}.pt-progress progress::-webkit-progress-value{background:#becbb1}.pt-progress progress::-moz-progress-bar{background:#becbb1}
.pt-chapter+.pt-chapter{margin-top:40px}.pt-enhanced .pt-chapter{margin-top:0}
body.pt-page .pt-chapter h2{font-size:clamp(27px,2.7vw,34px);font-weight:400;line-height:1.5;margin:0 0 26px;overflow-wrap:anywhere}
.pt-chapter h2:focus{outline:none}.pt-chapter .reading-index{display:none}
body.pt-page .reading-copy{font-size:19px;line-height:1.95;color:#d4dccd}
body.pt-page .reading-copy :is(p,li){font-size:inherit;line-height:inherit}
.pt-chapter p{margin:0 0 22px}.pt-chapter p:last-child{margin-bottom:0}.pt-chapter ul{padding-left:24px;margin:18px 0 26px}.pt-chapter li{margin:7px 0}
.pt-chapter .reading-note{background:#253023;border-left:3px solid #aebe9f;border-radius:0 12px 12px 0;margin:28px 0 0;padding:20px 24px}
.pt-chapter .reading-note strong{font-size:17px;font-weight:500;color:#c2d1b4}.pt-chapter .reading-note p{margin-top:8px}
.pt-limits{border-top:1px solid var(--pt-line);margin-top:30px;padding-top:26px}.pt-limits h3{font-size:21px;font-weight:500;margin:0 0 18px}.pt-limits a{text-decoration:underline;text-underline-offset:5px;font-size:17px;color:var(--pt-muted);display:inline-block;margin-top:22px}
.pt-controls{display:grid;grid-template-columns:1fr 1.45fr 1fr;gap:10px;position:sticky;bottom:0;padding:18px 0 6px;background:#101311;z-index:35}
.pt-controls :is(button,a){font:400 16px/1.5 var(--font-sans);min-height:54px;padding:12px 10px;border:1px solid #8c9c7f;border-radius:999px;color:#e2e9da;background:transparent;text-align:center;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;text-decoration:none}
.pt-controls button:disabled{opacity:.35;cursor:default}.pt-controls #pt-next,.pt-controls #pt-finish{background:#becbb1;color:#101311;border-color:#becbb1}
.pt-controls #pt-open{background:#2a382a}.pt-controls svg{flex:none}.pt-controls #pt-open:hover{background:#384b35}
body.pt-page .pt-index a[aria-current],body.pt-page .pt-index a[aria-current] span,body.pt-page .pt-controls #pt-next,body.pt-page .pt-controls #pt-finish{color:#101311!important}
body.pt-page .pt-intro h1 span{color:var(--pt-muted)!important}
body.pt-page .pt-stage{scroll-margin-top:12px}
body.pt-page .pt-chapter h2{margin-bottom:26px!important}
body.pt-page .pt-chapter p{margin:0 0 22px!important}
body.pt-page .pt-chapter p:last-child{margin-bottom:0!important}
body.pt-page .pt-chapter .reading-note p{margin-top:8px!important}
.pt-reader [hidden],.pt-dialog [hidden]{display:none!important}
.pt-controls :is(a,button):focus-visible,.pt-index a:focus-visible,.pt-dialog :is(button,input):focus-visible{outline:2px solid #e3eccf;outline-offset:3px}
.pt-dialog{background:#182019;color:#f1f2e9;border:1px solid #607354;border-radius:24px;width:min(540px,calc(100% - 32px));max-height:85dvh;box-sizing:border-box;padding:28px;margin:auto;overscroll-behavior:contain}
.pt-dialog::backdrop{background:#030904c7;backdrop-filter:blur(5px)}.pt-directory-open{overflow:hidden}
.pt-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.pt-dialog-head p{margin:0 0 8px;font-size:14px;color:#becbb1}.pt-dialog-head h2{font-size:25px;font-weight:400;margin:0}
.pt-dialog-head button{min-width:44px;height:44px;border:1px solid #6d7e62;background:transparent;border-radius:50%;color:#e4ecdd;font-size:26px;cursor:pointer}
.pt-search{display:grid;gap:10px;font-size:16px;color:#becbb1;margin-bottom:16px}.pt-search input{box-sizing:border-box;width:100%;min-height:52px;padding:12px 15px;border:1px solid #65725e;border-radius:10px;background:#101611;color:#f1f2e9;font:inherit}.pt-search input::placeholder{color:#a3af9b}
#pt-results{font-size:16px;line-height:1.7;color:#becbb1;margin:12px 0}#pt-results:empty{display:none}
.pt-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:900px){.pt-reader{grid-template-columns:205px minmax(0,1fr);gap:24px}.pt-paper{padding:28px}.pt-index a{font-size:16px;gap:8px}}
@media(max-width:767px){
 body.pt-page .pt-main{width:calc(100% - 40px);padding:104px 0 30px}body.pt-page{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}
 .pt-crumb{font-size:14px;margin-bottom:22px}.pt-intro{padding-bottom:24px;margin-bottom:26px}.pt-intro>p:first-child{font-size:14px}
 body.pt-page .pt-intro h1{font-size:31px;margin-bottom:16px}.pt-intro h1 span{display:block}.pt-intro>p:last-child{font-size:17px;line-height:1.8}
 .pt-reader{display:block}.pt-enhanced .pt-sidebar{display:none}.pt-sidebar{position:static;margin-bottom:24px;max-height:none}.pt-stage{scroll-margin-top:100px}
 .pt-paper{padding:24px 22px;border-radius:20px}.pt-progress{margin-bottom:24px;font-size:14px;gap:14px}
 body.pt-page .pt-chapter h2{font-size:27px;margin-bottom:22px}body.pt-page .reading-copy{font-size:18px;line-height:1.9}
 .pt-chapter .reading-note{padding:18px}.pt-controls{position:fixed;left:0;right:0;bottom:0;gap:7px;padding:12px 14px max(12px,env(safe-area-inset-bottom));background:#101611;border-top:1px solid #495443;box-shadow:0 -8px 26px #0b110b60}
 .pt-controls :is(button,a){font-size:15px;min-height:52px;padding:10px 8px;gap:6px}.pt-dialog{padding:24px 20px}.pt-dialog .pt-index a{font-size:17px;min-height:54px}
}
@media(max-width:360px){.pt-controls{padding-inline:10px;gap:5px}.pt-controls :is(button,a){font-size:14px;padding-inline:5px}.pt-controls svg{width:16px}.pt-paper{padding:22px 18px}}
@media print{.pt-sidebar,.pt-controls,.pt-dialog,.pt-progress{display:none!important}.pt-reader{display:block}.pt-reader .pt-chapter[hidden]{display:block!important}.pt-chapter{break-inside:avoid}.pt-paper{border:0;padding:0}body.pt-page{padding-bottom:0!important}}
