:root{--page-max-width: 100vw}.book-layout[data-astro-cid-atfqj5a3]{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr) minmax(300px,360px);gap:2rem;align-items:start;width:min(96vw,1600px);margin:0 auto;padding:2rem 1.5rem}.book-sidebar[data-astro-cid-atfqj5a3],.book-tools[data-astro-cid-atfqj5a3]{position:sticky;top:5.5rem;align-self:start}.sidebar-card[data-astro-cid-atfqj5a3],.tools-card[data-astro-cid-atfqj5a3]{border:1px solid var(--border-color);border-radius:12px;padding:1.5rem;background:var(--surface-muted-color);box-shadow:0 1px 2px #0000000a}.book-sidebar[data-astro-cid-atfqj5a3] .sidebar-card[data-astro-cid-atfqj5a3]{max-height:calc(100vh - 7rem);overflow-y:auto}.sidebar-label[data-astro-cid-atfqj5a3]{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted-text);margin-bottom:1rem}.toc-list[data-astro-cid-atfqj5a3]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.35rem}.toc-item[data-astro-cid-atfqj5a3] a[data-astro-cid-atfqj5a3]{color:var(--text-color);text-decoration:none;font-size:.95rem;display:inline-block;padding:.2rem 0}.toc-item[data-astro-cid-atfqj5a3] a[data-astro-cid-atfqj5a3]:hover{color:var(--link-color)}.toc-item[data-astro-cid-atfqj5a3].depth-3{padding-left:1rem;font-size:.85rem}.toc-empty[data-astro-cid-atfqj5a3]{font-size:.9rem;color:var(--muted-text);margin:0}.book-detail[data-astro-cid-atfqj5a3]{padding:2rem;background:var(--surface-color);border-radius:16px;box-shadow:0 1px 2px #0000000d}.book-header[data-astro-cid-atfqj5a3]{margin-bottom:3rem;text-align:center}.book-header[data-astro-cid-atfqj5a3] h1[data-astro-cid-atfqj5a3]{font-size:2.5rem;margin:0;line-height:1.2;color:var(--text-color)}.subtitle[data-astro-cid-atfqj5a3]{font-size:1.4rem;color:var(--muted-text);margin:.25rem 0 1rem}.author[data-astro-cid-atfqj5a3]{font-size:1.4rem;color:var(--muted-text);margin:1rem 0}.book-meta[data-astro-cid-atfqj5a3]{margin-top:1rem}.metadata-row[data-astro-cid-atfqj5a3]{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;align-items:center}.status-badge[data-astro-cid-atfqj5a3]{display:inline-block;padding:.35rem .85rem;border-radius:9999px;font-size:.875rem;font-weight:500}.pages[data-astro-cid-atfqj5a3]{color:var(--muted-text);font-size:.9rem}.categories[data-astro-cid-atfqj5a3]{display:flex;gap:.5rem}.category[data-astro-cid-atfqj5a3]{font-size:.9rem;color:var(--chip-text);background:var(--chip-background);padding:.3rem .8rem;border-radius:4px}.tags[data-astro-cid-atfqj5a3]{display:flex;gap:.5rem}.tag[data-astro-cid-atfqj5a3]{background:var(--chip-background);padding:.3rem .8rem;border-radius:20px;font-size:.9rem;color:var(--chip-text)}.date[data-astro-cid-atfqj5a3]{font-size:.9rem;color:var(--muted-text)}.book-metadata[data-astro-cid-atfqj5a3]{background:var(--surface-muted-color);border-radius:8px;padding:1.5rem;margin:2rem 0}.book-metadata[data-astro-cid-atfqj5a3] h2[data-astro-cid-atfqj5a3]{font-size:1.4rem;margin:0 0 1rem;color:var(--text-color)}dl[data-astro-cid-atfqj5a3]{display:grid;grid-template-columns:max-content 1fr;gap:.5rem 1.5rem}dt[data-astro-cid-atfqj5a3]{font-weight:600;color:var(--text-color)}dd[data-astro-cid-atfqj5a3]{margin:0}.book-content[data-astro-cid-atfqj5a3]{font-size:1.05rem;line-height:1.75;color:var(--text-color);max-width:clamp(90ch,80vw,125ch);width:100%;margin:0 auto;transition:font-size .2s ease,max-width .2s ease}.book-content[data-astro-cid-atfqj5a3][data-font-size=large]{font-size:1.15rem;line-height:1.85}.book-content[data-astro-cid-atfqj5a3][data-font-size=xlarge]{font-size:1.25rem;line-height:1.95}.book-detail[data-astro-cid-atfqj5a3][data-reading-width=wide] .book-content[data-astro-cid-atfqj5a3]{max-width:clamp(110ch,92vw,150ch)}@media (min-width: 1024px){.book-content[data-astro-cid-atfqj5a3]{max-width:none;width:100%;margin:0}.book-detail[data-astro-cid-atfqj5a3][data-reading-width=wide] .book-content[data-astro-cid-atfqj5a3]{max-width:none}}.book-content[data-astro-cid-atfqj5a3] img{margin:2rem auto;border-radius:4px;box-shadow:0 4px 8px #0000001a}.book-content[data-astro-cid-atfqj5a3] h2{font-size:1.8rem;margin:2rem 0 1rem;color:var(--text-color)}.book-content[data-astro-cid-atfqj5a3] h3{font-size:1.4rem;margin:1.5rem 0 1rem;color:var(--text-color)}.book-content[data-astro-cid-atfqj5a3] p{margin-bottom:1.5rem}.book-content[data-astro-cid-atfqj5a3] ul,.book-content[data-astro-cid-atfqj5a3] ol{margin:1rem 0;padding-left:1.5rem}.book-content[data-astro-cid-atfqj5a3] li{margin-bottom:.5rem}.book-content[data-astro-cid-atfqj5a3] blockquote{margin:2rem 0;padding:1rem 2rem;border-left:4px solid var(--blockquote-border);background:var(--blockquote-bg);font-style:italic}.book-footer[data-astro-cid-atfqj5a3]{margin-top:3rem;padding-top:2rem;border-top:1px solid var(--border-color)}.option-group[data-astro-cid-atfqj5a3]{margin-bottom:1.25rem}.option-label[data-astro-cid-atfqj5a3]{display:block;font-size:.85rem;color:#4b5563;margin-bottom:.5rem}.option-controls[data-astro-cid-atfqj5a3]{display:flex;gap:.5rem}.option-button[data-astro-cid-atfqj5a3]{border:1px solid var(--border-color);background:var(--surface-color);color:var(--text-color);padding:.35rem .75rem;border-radius:6px;cursor:pointer;font-size:.95rem;transition:border-color .2s ease,color .2s ease,background .2s ease}.option-button[data-astro-cid-atfqj5a3].is-active{background:var(--link-color);color:#fff;border-color:var(--link-color)}.citation-export[data-astro-cid-atfqj5a3]{display:flex;flex-direction:column;gap:.75rem}.citation-controls[data-astro-cid-atfqj5a3]{display:flex;gap:.75rem}.citation-controls[data-astro-cid-atfqj5a3] select[data-astro-cid-atfqj5a3]{flex:1;border:1px solid var(--border-color);border-radius:8px;padding:.4rem .6rem;font-size:.9rem;background:var(--surface-color);color:var(--text-color)}.citation-copy[data-astro-cid-atfqj5a3]{border:none;border-radius:8px;padding:.45rem .9rem;background:var(--link-color);color:#fff;font-size:.9rem;cursor:pointer}.citation-copy[data-astro-cid-atfqj5a3].is-success{background:#16a34a}.citation-preview[data-astro-cid-atfqj5a3]{background:var(--surface-muted-color);border-radius:8px;padding:.75rem;min-height:90px;font-size:.85rem;overflow-x:auto;white-space:pre-wrap;color:var(--text-color)}@media (max-width: 1200px){.book-layout[data-astro-cid-atfqj5a3]{grid-template-columns:minmax(0,640px) minmax(200px,260px);grid-template-areas:"main tools" "main sidebar"}.book-detail[data-astro-cid-atfqj5a3]{grid-area:main}.book-tools[data-astro-cid-atfqj5a3]{grid-area:tools;position:static}.book-sidebar[data-astro-cid-atfqj5a3]{grid-area:sidebar;position:static}}@media (max-width: 900px){.book-layout[data-astro-cid-atfqj5a3]{grid-template-columns:minmax(0,1fr);grid-template-areas:"tools" "main" "sidebar"}.book-sidebar[data-astro-cid-atfqj5a3],.book-tools[data-astro-cid-atfqj5a3]{position:static}}@media (max-width: 768px){.book-detail[data-astro-cid-atfqj5a3]{padding:1.5rem}.book-content[data-astro-cid-atfqj5a3]{max-width:100%}.book-header[data-astro-cid-atfqj5a3] h1[data-astro-cid-atfqj5a3]{font-size:2rem}.metadata-row[data-astro-cid-atfqj5a3]{flex-direction:column;gap:.75rem}.categories[data-astro-cid-atfqj5a3],.tags[data-astro-cid-atfqj5a3]{justify-content:center}.book-sidebar[data-astro-cid-atfqj5a3],.book-tools[data-astro-cid-atfqj5a3]{display:none}}
