[hidden] { display: none !important; }
.library-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 60px; padding-block: 62px 65px; }
.library-hero h1 { font-size: clamp(32px,3.3vw,42px); }
.library-hero > div > p:not(.eyebrow) { color: var(--muted); font-size: 14px; max-width: 430px; line-height: 1.9; }
.library-hero .eyebrow, .library-heading .eyebrow, .study-method .eyebrow { font-size: 10px; letter-spacing: 1px; }
.bookshelf { display: flex; position: relative; align-items: flex-end; justify-content: center; padding-bottom: 43px; min-height: 270px; }
.book { width: 135px; height: 199px; border-radius: 2px 7px 7px 2px; padding: 18px 13px; box-shadow: inset 5px 0 0 #ffffff20, 4px 6px 0 #21342c0b; display: flex; flex-direction: column; transform: rotate(-7deg); background: #456d62; color: #fff; }
.book span { font-size: 6px; letter-spacing: .6px; line-height: 1.7; }
.book strong { font: 23px Georgia,serif; margin-top: 17px; }
.book i { font: italic 24px Georgia,serif; margin: auto 0; color: #ffffffbb; }
.book small { font-size: 6px; letter-spacing: .6px; }
.book-morin { background: #ae654d; transform: translateY(-12px) rotate(3deg); margin-left: -15px; z-index: 1; }
.book-notes { background: #e9dec5; color: #6e6046; transform: rotate(9deg); margin-left: -15px; height: 180px; }
.book-notes i { color: #9d8b6a; }
.bookshelf > p { position: absolute; bottom: 0; color: #89765b; font: italic 16px Georgia,serif; }
.bookshelf:hover .book-hrk { transform: translateY(-7px) rotate(-10deg); }
.bookshelf:hover .book-morin { transform: translateY(-20px) rotate(0); }
.bookshelf:hover .book-notes { transform: translateY(-7px) rotate(12deg); }
.book { transition: transform .5s ease; }
.paths-section { padding-block: 42px 50px; border-top: 1px solid var(--line); }
.path-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 42px; margin-top: 30px; }
.path-number { font: italic 26px Georgia,serif; color: #91a297; }
.path-grid h3 { margin-top: 8px; }
.path-grid article > p { font-size: 12px; color: var(--muted); margin-top: 6px; }
.path-grid ol { padding-left: 17px; font-size: 12px; color: var(--muted); line-height: 1.85; margin: 17px 0 0; }
.path-grid li { padding-left: 3px; margin-bottom: 12px; }
.path-grid a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #c1ccc6; color: #3b695b; }
.path-grid a:hover { color: var(--accent); }
.library-section { padding-block: 42px 55px; border-top: 1px solid var(--line); }
.library-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.library-heading h2 { margin-top: 8px; }
.library-heading > p { font-size: 11px; color: var(--muted); }
.library-controls { margin-top: 28px; background: #f5f7f5; padding: 22px 26px; border-radius: 14px; }
.search-row label { display: block; font-size: 11px; font-weight: 500; margin-bottom: 9px; }
.search-row input { width: 100%; background: #fff; border: 1px solid #dce3dc; border-radius: 24px; padding: 11px 18px; color: var(--ink); font-size: 13px; }
.filter-row { display: flex; gap: 20px; align-items: end; margin-top: 17px; }
.filter-row > div { flex: 1; }
.filter-row > div > label { display: block; font-size: 10px; margin-bottom: 5px; color: var(--muted); }
select { width: 100%; background: transparent; color: var(--ink); border: none; border-bottom: 1px solid #cad4ca; padding: 7px 18px 7px 0; font: 12px Inter,sans-serif; border-radius: 0; }
select:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.free-filter { display: flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 11px; padding-bottom: 5px; }
.free-filter input { accent-color: #397b70; width: 15px; height: 15px; }
#reset-filters { border: 0; background: none; font-size: 11px; color: #6c716d; padding: 5px 0 8px; text-decoration: underline; text-underline-offset: 3px; }
.library-count { display: flex; justify-content: space-between; gap: 20px; font-size: 10px; color: var(--muted); padding-block: 23px 12px; border-bottom: 1px solid var(--line); }
.library-count p { color: #3b695b; }
.library-item { display: grid; grid-template-columns: 165px 1fr; gap: 37px; padding-block: 29px; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.library-item:target { background: #faf8f2; box-shadow: -14px 0 #faf8f2,14px 0 #faf8f2; }
.item-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 10px; color: var(--muted); padding-top: 3px; }
.format-label { font: 9px ui-monospace,monospace; letter-spacing: .8px; }
.access-label { border-radius: 20px; padding: 3px 10px; background: #f5eee4; color: #8b602e; }
.access-label.is-free { background: #edf4ee; color: #3e6c52; }
.item-content h3 { font-size: 17px; }
.item-content h3 a:hover { color: var(--accent); }
.item-content h3 span { font-size: 14px; font-weight: 400; margin-left: 5px; color: #7d8e83; }
.item-content > p { font-size: 12px; color: var(--muted); line-height: 1.85; margin-top: 10px; max-width: 740px; }
.item-content .item-author { font-size: 11px; color: #7c6856; margin-top: 4px; }
.how-to-use strong { color: #496957; font-weight: 500; margin-right: 6px; }
.item-content .item-topics { font-size: 9px; color: #7a837d; margin-top: 12px; }
#no-results { text-align: center; padding: 60px 20px; }
#no-results p { margin: 12px 0 20px; font-size: 13px; color: var(--muted); }
#empty-reset { border: none; }
.topic-section { background: #f6f8f5; padding-block: 45px 48px; }
.topic-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px 40px; margin-top: 28px; }
.topic-grid article > span { font: 9px ui-monospace,monospace; color: #6c8275; }
.topic-grid h3 { font-size: 15px; margin-top: 9px; }
.topic-grid p { font-size: 12px; color: var(--muted); margin: 9px 0; line-height: 1.85; }
.topic-grid a { font-size: 11px; color: #3b695b; }
.study-method { padding-block: 55px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 75px; }
.study-method h2 { margin-top: 10px; }
.study-method p:not(.eyebrow) { font-size: 13px; color: var(--muted); line-height: 1.9; margin: 16px 0; }
.study-method ol { margin: 0; padding-left: 20px; font-size: 12px; color: var(--muted); }
.study-method li { padding-left: 6px; margin-bottom: 14px; }
.study-method strong { color: var(--ink); font-weight: 500; }
.library-note { border-top: 1px solid var(--line); padding-block: 22px; font-size: 10px; color: var(--muted); }
.library-note p + p { margin-top: 7px; }
.library-note a { text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:1000px) { .library-hero { gap: 30px; } .book { width: 110px; } .book strong { font-size: 20px; } .path-grid { gap: 25px; } .filter-row { flex-wrap: wrap; } .filter-row > div { min-width: 30%; } .library-hero .hero-actions { flex-wrap: wrap; } }
@media(max-width:760px) {
 .library-hero { grid-template-columns: 1fr; gap: 40px; padding-block: 38px; }
 .library-hero h1 { font-size: 35px; }
 .library-hero .eyebrow { font-size: 9px; }
 .bookshelf { min-height: 230px; }
 .book { width: 118px; height: 175px; }
 .book-notes { height: 160px; }
 .book strong { font-size: 20px; }
 .paths-section, .library-section { padding-block: 35px; }
 .path-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 24px; }
 .path-grid article + article { padding-top: 20px; border-top: 1px solid var(--line); }
 .path-number { float: right; }
 .path-grid article > p { max-width: 270px; }
 .path-grid ol { font-size: 13px; }
 .library-heading { display: block; }
 .library-heading > p { margin-top: 14px; }
 .library-controls { padding: 17px; }
 .filter-row { gap: 14px; }
 .filter-row > div { flex-basis: 100%; }
 .search-row input { font-size: 12px; padding-inline: 13px; }
 .library-count { display: block; }
 .library-count > span { display: block; margin-top: 5px; }
 .library-item { grid-template-columns: 1fr; gap: 10px; padding-block: 25px; }
 .item-meta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
 .item-content h3 { font-size: 16px; }
 .item-content > p { font-size: 13px; }
 .topic-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
 .topic-grid h3 { font-size: 14px; }
 .topic-section { padding-block: 35px; }
 .study-method { grid-template-columns: 1fr; gap: 24px; padding-block: 38px; }
 .study-method ol { font-size: 13px; }
}
@media(max-width:370px) { .book { width: 100px; padding-inline: 10px; } .book span { font-size: 5px; } .book strong { font-size: 18px; } .topic-grid { grid-template-columns: 1fr; } }
