body.thomas-book main{max-width:none;padding:0;margin:0}.thomas-layout{display:grid;grid-template-columns:265px minmax(0,1fr);align-items:stretch}.thomas-side{background:var(--linen);border-right:1px solid var(--line)}.thomas-side-inner{position:sticky;top:var(--header-height);max-height:calc(100dvh - var(--header-height));overflow:auto;padding:28px 24px;display:flex;flex-direction:column;gap:16px}.thomas-side h2{font-size:23px;margin:0}.thomas-side p{margin:0}.thomas-side hr{width:100%;border:0;border-top:1px solid var(--line)}.saying-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-top:16px}.saying-grid a{padding:8px 2px;text-align:center;border:1px solid var(--line);text-decoration:none}.saying-grid a:first-child{grid-column:1/-1}.saying-grid a[aria-current]{background:var(--wine);color:var(--ivory)}.thomas-reading{min-width:0;padding:0 6% 60px}.thomas-toolbar{position:sticky;top:var(--header-height);z-index:20;background:var(--paper);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:13px 0}.thomas-toolbar>div{display:flex;gap:7px}.thomas-toolbar button{border:1px solid var(--bronze);padding:8px 12px}.thomas-toolbar #shareStatus:empty{display:none}.thomas-opening{text-align:center;padding:45px 0;max-width:760px;margin:auto}.thomas-cover{box-shadow:0 5px 22px #301f1b22;margin-bottom:40px}.thomas-opening h1{font-size:clamp(32px,4vw,44px)}.thomas-opening .primary{display:inline-block;margin:16px}.wax-open{display:block;margin:20px auto;background:transparent!important}.wax-open img{max-height:130px;object-fit:contain}.thomas-about,.thomas-text{max-width:770px;margin:auto}.thomas-about{line-height:1.8;border-block:1px solid var(--line);padding:26px 0;margin-bottom:20px}.thomas-saying{border-bottom:1px solid var(--line);padding:28px 0 12px;scroll-margin-top:0}.thomas-saying h2{font-size:25px}.thomas-saying h2 a{text-decoration:none}.thomas-saying p{font-family:Georgia,'Times New Roman',serif;font-size:var(--reader-size);line-height:1.85}.thomas-top{display:inline-block;margin-top:28px}#thomasSeal{max-width:min(90vw,520px);border:1px solid var(--gold);background:var(--paper)}#thomasSeal img{display:block;max-height:70vh;width:auto;margin:auto}#thomasSeal::backdrop{background:#160e0dbb}#book-opening{scroll-margin-top:0}@media(max-width:760px){.thomas-layout{grid-template-columns:1fr}.thomas-side-inner{position:static;max-height:none;display:grid;grid-template-columns:76px 1fr;padding:20px;gap:12px 18px}.thomas-side-inner>a:first-child{grid-row:1/3}.thomas-side-inner>hr,.thomas-side-inner>details,.thomas-side-inner>.outline{grid-column:1/-1}.thomas-reading{padding:0 20px 35px}.thomas-toolbar>span:first-child{display:none}.thomas-cover{width:190px}.thomas-saying p{font-size:var(--reader-size)}.saying-grid{grid-template-columns:repeat(8,1fr)}}

.thomas-study-text{display:block;color:inherit;text-decoration:none;border-radius:3px;transition:background .15s,box-shadow .15s}.thomas-study-text:hover{background:#b89b6214;box-shadow:0 0 0 6px #b89b6214;color:inherit}.thomas-study-text:focus-visible{outline:2px solid var(--gold);outline-offset:5px}.thomas-study-link{display:inline-block;font:12px/1.5 Arial,sans-serif;color:var(--bronze);text-underline-offset:3px;margin:0 0 16px}.thomas-study-link:hover{color:var(--wine);text-decoration-thickness:2px}
