:root{color-scheme:light;--ink:#18332e;--muted:#5d6d68;--line:#d9e2dd;--accent:#21674f;--paper:#f6f8f5;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}header,main,footer{width:min(1120px,calc(100% - 64px));margin:auto}header{display:flex;justify-content:space-between;align-items:center;padding:30px 0;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-weight:650;font-size:18px;color:var(--ink)}.mark{font-size:28px;color:var(--accent)}.header-note{font-size:14px;color:var(--muted)}.intro{padding:66px 0 48px;max-width:650px}.eyebrow{font-size:13px;letter-spacing:.16em;font-weight:700;color:var(--accent)}h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(42px,6vw,68px);letter-spacing:-.045em;line-height:1.08;margin:22px 0} .intro>p:last-child{font-size:17px;line-height:1.7;max-width:450px;color:var(--muted)}.toolbar{display:flex;gap:20px;padding:24px;background:#eaf0eb;border-radius:12px}.search{flex:1}.sort{width:205px}label{display:block;font-size:14px;font-weight:600;margin-bottom:9px}input,select{width:100%;font:inherit;color:var(--ink);background:#fff;border:1px solid #bdcdc2;border-radius:6px;padding:13px 14px;min-height:48px}select{appearance:none;padding-right:38px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2318332e' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center}input:focus-visible,select:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid #73aa8d;outline-offset:3px}.collection-meta{display:flex;align-items:center;justify-content:space-between;margin:20px 0;color:var(--muted);font-size:14px}button{font:inherit;color:var(--accent);border:0;background:none;padding:10px;cursor:pointer;text-decoration:underline;text-underline-offset:4px}button:disabled{opacity:.5;cursor:wait}.books{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.book{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px;display:flex;flex-direction:column;min-height:245px;border-top:4px solid var(--book-color)}.book:nth-child(3n+1){--book-color:#48846a}.book:nth-child(3n+2){--book-color:#56758c}.book:nth-child(3n){--book-color:#ad8056}.book-top{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:13px}.pdf{letter-spacing:.08em;font-weight:650;color:var(--book-color)}h2{font-family:Georgia,serif;font-weight:400;font-size:24px;line-height:1.3;overflow-wrap:anywhere}.book h2{margin:24px 0 10px}.folder{font-size:14px;color:var(--muted);overflow-wrap:anywhere;margin:0 0 24px}.actions{margin-top:auto;display:flex;gap:20px;align-items:center;padding-top:20px}.actions a{font-size:14px;font-weight:600;text-decoration:none;color:var(--accent)}.actions a:first-child{background:#edf3ee;padding:10px 15px;border-radius:5px}.actions a:hover{text-decoration:underline}.empty{text-align:center;border:1px dashed #b6c9bc;border-radius:10px;padding:60px 24px;color:var(--muted)}.empty>span{font-size:38px;color:var(--accent)}.empty h2{color:var(--ink);margin:18px 0 12px}.empty p{line-height:1.6;margin:0}.empty[hidden]{display:none}footer{margin-top:80px;padding:25px 0 30px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:14px;color:var(--muted)}@media(max-width:850px){.books{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){header,main,footer{width:calc(100% - 36px)}.header-note{display:none}.intro{padding:40px 0 28px}.toolbar{flex-direction:column;padding:18px;gap:16px}.sort{width:100%}.books{grid-template-columns:1fr}footer{gap:18px;flex-wrap:wrap}.collection-meta{gap:10px}}

.library-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.download-all{display:inline-block;background:var(--accent);color:white;text-decoration:none;font-size:14px;font-weight:600;padding:12px 16px;border-radius:6px}.download-all:hover{background:#184f3d}.download-all[hidden]{display:none}@media(max-width:560px){.collection-meta{align-items:flex-start;flex-direction:column}.library-actions{width:100%;justify-content:space-between}}

.content-notice{border:1px solid #c4cdbb;border-left:4px solid #657e51;background:#edf1e8;border-radius:8px;padding:20px 24px;margin:0 0 28px;font-size:16px;line-height:1.65}.content-notice p{margin:6px 0 0}.content-notice a,.legal-page a,footer a{color:var(--accent);text-underline-offset:3px}.legal-page{max-width:780px;padding-top:48px}.legal-page h1{font-size:clamp(36px,6vw,56px)}.legal-updated{color:var(--muted);font-size:14px;margin-bottom:28px}.legal-page section{margin:32px 0}.legal-page section p{font-size:16px;line-height:1.8}.legal-page h2{font-size:27px;margin-bottom:12px}.legal-back{margin-top:40px}

.search-help{font-size:14px;color:var(--muted);line-height:1.6}.passage,.more-matches{border-top:1px solid var(--line);padding-top:12px;margin-top:12px;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.passage a,.more-matches a{color:var(--accent);font-weight:600}.passage p,.more-matches p{margin:6px 0 12px}.more-matches summary{cursor:pointer}
