
.books-body{--teal:var(--navy);--teal-dark:var(--orange);--cream:var(--canvas)}
.books-body .hero{padding:46px 20px 28px;color:var(--ink)}
.books-body .hero h1{font-size:clamp(1.55rem,3vw,2.15rem);text-shadow:none;font-weight:800;line-height:1.5}
.books-body .hero-search{width:min(640px,100%);box-shadow:none;border:0;background:transparent}
.books-body .hero-search input[type="search"]{min-height:48px;border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff}
.books-body .hero-search input[type="checkbox"]{width:18px;height:18px;min-height:0;flex:0 0 18px;margin:0;padding:0;accent-color:var(--navy)}
.books-body .book-search-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px}
.books-body .book-search-filters label:has(input){display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}
.books-body .book-search-filters select,.books-body .book-search-filters button{min-height:44px;max-width:100%;font:inherit;padding:8px 10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff;color:var(--ink)}
.books-body .book-search-results[hidden]{display:none}
.books-body .book-search-result-type{margin-bottom:4px;color:var(--muted);font-size:1rem}
.books-body .home-main{width:min(1040px,calc(100% - 40px));margin:0 auto 48px}
.books-body .directory-card .book-search-result-title{display:block;font-size:14px;font-weight:600;color:var(--navy)}
.books-body .panel{border-radius:var(--radius);box-shadow:var(--shadow)}
.books-body .featured-shelf{height:auto;min-height:300px;margin-bottom:28px}
.books-body .shelf-heading h2,.books-body .category-heading h2{font-size:1.3rem}
.books-body .shelf-carousel{grid-template-columns:44px minmax(0,1fr) 44px}
.books-body .shelf-dots{flex-wrap:wrap}
.books-body .shelf-dot{width:44px;height:44px}
.books-body .collection-search input{min-height:44px;font:inherit}
.books-body .shelf-card-title{font-size:1rem;line-height:1.65;text-wrap:wrap;word-break:normal;overflow-wrap:normal}
.books-body .book-cover b{text-wrap:wrap;word-break:normal;overflow-wrap:normal}
.books-body .book-cover{background:var(--navy);box-shadow:none;color:#fff}
.books-body .book-cover :is(small,b){color:#fff;opacity:1}
.books-body img.book-cover{display:block;padding:0;border:0;object-fit:cover}
.books-body .category-photo,.books-body .category-topic-photo{background:var(--soft);color:var(--ink);text-shadow:none}
.books-body .category-photo::before,.books-body .category-topic-photo::before{background:none}
.books-body .category-photo strong,.books-body .category-topic-photo strong,.books-body .topic-link strong{font-size:1rem;color:var(--ink);text-shadow:none}
.books-body .page-shell,.books-body .collection-shell{width:min(1040px,calc(100% - 40px));margin:32px auto 48px}
.books-body .article-card{border-radius:var(--radius);box-shadow:var(--shadow)}
.books-body main p,.books-body .collection-header .collection-lead,.books-body .collection-toc,.books-body .collection-toc a,.books-body .collection-toc li{font-size:1rem;color:var(--ink)}
.books-body :where(a,button,input,summary,[tabindex]):focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.books-body .book-reading-page{max-width:820px}
.books-body .book-reading-page>.content-card{padding:0;background:transparent}
.books-body .book-reading-page .article-header{padding:12px 0 24px;border:0}
.books-body .book-reading-page .article-header h1{margin:0 0 12px;font-size:clamp(1.6rem,4vw,2rem)}
.books-body .book-reading-page .article-header p{font-size:1rem;color:var(--ink)}
.books-body .book-jump{display:flex;gap:8px 20px;flex-wrap:wrap;margin:20px 0 28px;padding-block:12px;border-block:1px solid var(--line)}
.books-body .book-jump a{display:inline-flex;align-items:center;min-height:44px;font-size:1rem;text-underline-offset:5px}
.books-body .book-purpose-compare{margin:28px 0 36px}
.books-body .book-purpose-compare table{width:100%;border-collapse:collapse}
.books-body .book-purpose-compare th,.books-body .book-purpose-compare td{padding:12px;border:1px solid var(--line);text-align:left;vertical-align:top;line-height:1.7}
.books-body .book-purpose-compare th[scope="row"]{width:38%}
.books-body .book-list-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:20px}
.books-body .book-list-heading h2{margin:0;font-size:1.3rem}
.books-body .book-list-heading p{margin:0;color:var(--ink)}
.books-body .book-list{display:grid;gap:24px;margin-bottom:44px}
.books-body .book-recommendation{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:28px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);scroll-margin-top:24px}
.books-body .book-heading h3{margin:0 0 10px;font-size:1.25rem;line-height:1.6;overflow-wrap:anywhere}
.books-body .book-heading p{margin:0;font-size:1rem;color:var(--muted)}
.books-body .book-heading .book-score{margin:8px 0;color:var(--ink);font-size:1.125rem;font-weight:700;font-variant-numeric:tabular-nums}
.books-body .book-fit{grid-column:1/-1;margin:0;line-height:1.85;color:var(--ink)}
.books-body .book-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.books-body .book-actions a{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:10px 18px;border:1px solid var(--navy);border-radius:var(--radius-sm);background:var(--navy);color:#fff;font-size:1rem;font-weight:700;text-decoration:none;transition:background .15s}
.books-body .book-actions a+a{background:var(--paper);color:var(--navy)}
.books-body .book-actions a:hover{background:var(--soft);color:var(--ink)}
.books-body .book-details{grid-column:1/-1;border-top:1px solid var(--line);padding-top:4px}
.books-body .book-details summary{padding:12px 0;min-height:48px;cursor:pointer;font-weight:600}
.books-body .book-details p{margin:0 0 16px;line-height:1.9;color:var(--ink)}
.books-body .book-details a{display:inline-block;padding-block:6px;text-underline-offset:4px}
.books-body .book-reading-page #compare,.books-body .book-reading-page #checks,.books-body .book-reading-page #related{margin-top:40px}
.books-body .book-reading-page .guide-section p{line-height:1.9;color:var(--ink)}
.books-body .book-reading-page .sentence-lines span{display:inline}
@media(max-width:620px){.books-body .book-recommendation{padding:20px 16px}.books-body .book-heading h3{font-size:1.05rem}.books-body .book-heading p{font-size:1rem}.books-body .book-fit,.books-body .book-actions{grid-column:1/-1}.books-body .book-actions a{flex:1 1 160px}.books-body .book-jump{gap:4px 16px}.books-body .book-reading-page .article-header{padding-bottom:12px}}
@media(prefers-reduced-motion:reduce){.books-body .book-actions a{transition:none}}
@media print{.books-body .book-details:not([open])>*:not(summary){display:block!important}}
@media(max-width:620px){.books-body .hero{padding-top:32px}.books-body .home-main,.books-body .page-shell,.books-body .collection-shell{width:calc(100% - 24px)}.books-body .featured-shelf{padding:20px 10px}.books-body .shelf-grid{grid-auto-columns:calc((100% - 20px)/2);gap:20px}.books-body .book-search-filters{align-items:stretch}.books-body .book-search-filters select,.books-body .book-search-filters button{width:100%}}
.books-body .collection-shell .collection-article{border-radius:var(--radius);background:var(--paper);box-shadow:var(--shadow)}
.books-body .collection-toc{border-radius:var(--radius-sm)}
.books-body .collection-item-main:not(:has(.book-cover)){grid-template-columns:minmax(0,1fr)}
.books-body .collection-item:has(.collection-item-main:not(:has(.book-cover))) .collection-item-description{margin-left:0}
.books-body .collection-rank,.books-body .collection-tags span{font-size:1rem}
.books-body .collection-tags{gap:8px}
.books-body .collection-header h1{font-size:clamp(1.6rem,4vw,2rem)}
[data-kindle-shelf]{margin-bottom:28px;padding:24px}
[data-kindle-shelf] [hidden]{display:none!important}
