:root{--ink:#202a2d;--muted:#68777a;--accent:#1d5964;--light:#e8eff0;--line:#d9d9d9}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff;font-family:Georgia,serif;line-height:1.65}
header,main,footer{max-width:780px;margin:auto;padding:1.25rem}nav{font-family:Arial,sans-serif}
h1,h2,h3,h4{font-family:Arial,sans-serif;color:#000;line-height:1.18;margin-top:2.2rem}h1{font-size:2.25rem}h2{font-size:1.65rem}h3{font-size:1.25rem}
p{margin:.8rem 0}a{color:var(--accent)}ul,ol{padding-left:1.5rem}blockquote{border-left:4px solid var(--accent);margin:1.5rem 0;padding:.2rem 1rem;color:#384548}
figure{margin:2rem 0;text-align:center}figure img{max-width:100%;height:auto}figcaption{font:italic .9rem Arial,sans-serif;color:var(--muted)}
.table-wrap{overflow-x:auto;margin:1.5rem 0}table{border-collapse:collapse;width:100%;font:0.92rem Arial,sans-serif}th{background:var(--ink);color:#fff}th,td{border:1px solid var(--line);padding:.65rem;text-align:left;vertical-align:middle}tbody tr:nth-child(even){background:#f5f7f7}
pre{white-space:pre-wrap;background:#f3f5f5;padding:1rem;overflow:auto}.book-nav{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);margin-top:3rem;padding-top:1rem}
.toc ol{list-style:none;padding:0}.toc li{margin:.45rem 0}.part{font-weight:bold;margin-top:1.2rem}.meta{color:var(--muted);font-family:Arial,sans-serif}
.author-bio{border:1px solid var(--line);border-left:4px solid var(--accent);padding:1rem 1.25rem;margin:1.5rem 0;background:var(--light)}.author-bio h2{margin-top:0}.author-bio p:last-child{margin-bottom:0}
@media(max-width:620px){header,main,footer{padding:1rem}h1{font-size:1.8rem}h2{font-size:1.4rem}}
@media print{nav,.book-nav{display:none}body{font-size:10.5pt}a{color:#000;text-decoration:none}h1,h2,h3{break-after:avoid}table,figure{break-inside:avoid}}
