:root {
  color-scheme: light;
  --reading-ink: #292d29;
  --reading-muted: #72766d;
  --reading-line: #e6e7df;
  --reading-accent: #713e2e;
  --reading-paper: #f8f9f5;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--reading-paper); color: var(--reading-ink); font: 15px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--reading-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #b69a6b; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { overflow-wrap: anywhere; }
.library-skip { position: absolute; top: -100px; left: 16px; background: #fff; padding: 10px 16px; z-index: 10; }
.library-skip:focus { top: 10px; }

/* A simple, consistent masthead. */
.reading-site-header { background: #fff; border-bottom: 1px solid var(--reading-line); }
.reading-header-inner { max-width: 1160px; margin: auto; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 24px; }
.reading-brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: -.4px; color: #383c32; white-space: nowrap; }
.reading-brand img { border-radius: 8px; object-fit: cover; width: 34px; height: 34px; }
.reading-header-inner nav { display: flex; gap: 32px; font-size: 13px; align-items: center; }
.reading-header-inner nav a { color: #71766b; padding: 10px 0; position: relative; }
.reading-header-inner nav [aria-current=page] { color: var(--reading-accent); font-weight: 650; }
.reading-header-inner nav [aria-current=page]::after { content: ""; position: absolute; bottom: 2px; height: 2px; left: 0; right: 0; background: #a58d60; }
.reading-container { max-width: 1160px; margin: auto; padding: 0 24px; }
.library-breadcrumb { display: flex; gap: 12px; padding-top: 26px; color: #8b9083; font-size: 11px; }
.library-breadcrumb a { color: #74796c; }

/* Editorial introduction, with a small daily reflection. */
.library-intro { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: center; gap: 70px; padding: 35px 0 38px; }
.library-eyebrow { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8a7654; font-weight: 700; }
.library-intro h1 { font: 400 clamp(38px, 4.5vw, 54px)/1.12 Georgia, "Times New Roman", serif; margin: 16px 0 20px; letter-spacing: -1.6px; color: #2e352b; }
.library-intro h1 em { font-weight: 400; color: #777e64; }
.library-intro-copy > p { max-width: 510px; font-size: 14px; color: var(--reading-muted); line-height: 1.9; margin: 0 0 22px; }
.library-intro-features { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: 10px; color: #757b6b; }
.library-intro-features > span { display: flex; gap: 7px; align-items: center; }
.library-intro-features > span + span::before { content: ""; width: 3px; height: 3px; background: #b7bbaa; border-radius: 50%; margin-right: 4px; }
.library-intro-features i { width: 6px; height: 6px; border-radius: 50%; background: #7a8a62; }
.library-hero-note { position: relative; padding: 25px 27px 28px; border: 1px solid #e3e4d8; background: #f0f2e9; border-radius: 12px; }
.hero-note-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #879071; }
.hero-note-top span { text-transform: uppercase; font-size: 9px; font-weight: 650; letter-spacing: .12em; }
.library-hero-note blockquote { font: 400 21px/1.55 Georgia, serif; letter-spacing: -.2px; margin: 19px 0; color: #535c45; }
.hero-note-source { font-size: 11px; font-weight: 600; color: #737e62; margin: 0; }
.hero-note-source span { display: block; font-size: 10px; font-weight: 400; margin-top: 3px; color: #707b61; }
.hero-note-rule { position: absolute; bottom: -1px; left: 27px; height: 3px; width: 35px; background: #ab9269; border-radius: 3px; }
.library-reflection { background: #fff; border: 1px solid var(--reading-line); border-radius: 8px; margin-bottom: 42px; }
.library-reflection summary { padding: 14px 19px; cursor: pointer; font-size: 12px; color: #737b65; }
.library-reflection summary > span:first-child { font-weight: 600; margin-left: 5px; color: #515b43; }
.reflection-reference { margin-left: 16px; color: #737c69; font-size: 11px; }
.reflection-content { padding: 0 25px 24px; max-width: 830px; }
.reflection-content blockquote { font: 400 22px/1.8 Georgia, serif; margin: 10px 0 18px; color: #555d4a; }
.reflection-content p { font-size: 14px; line-height: 1.95; margin: 12px 0 0; color: #727a65; }
.reflection-content [lang=sa], .reflection-content [lang=hi] { font-size: 18px; line-height: 2; }

/* Collection controls and compact book cards. */
.library-section { scroll-margin-top: 24px; padding-bottom: 64px; }
.library-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.library-heading h2 { font: 400 29px/1.3 Georgia, serif; margin: 6px 0 0; letter-spacing: -.5px; color: #353d2e; }
.library-heading > span { font-size: 11px; padding: 5px 11px; background: #ecefe5; border: 1px solid #e3e7d8; border-radius: 20px; color: #78816a; white-space: nowrap; }
.library-filters { display: grid; grid-template-columns: minmax(0, 1fr) 200px auto; align-items: end; gap: 14px; margin: 0 0 25px; padding: 18px; border: 1px solid var(--reading-line); border-radius: 10px; background: #fff; }
.library-filters label { display: block; font-size: 10px; font-weight: 650; letter-spacing: .025em; margin-bottom: 7px; color: #7f8576; }
.library-filters input, .library-filters select { display: block; width: 100%; min-width: 0; min-height: 43px; border: 1px solid #e1e4d9; border-radius: 6px; background: #fafbf8; padding: 10px 12px; color: #545d48; font-size: 12px; }
.library-search-control { position: relative; }
.library-search-control svg { position: absolute; top: 13px; left: 12px; color: #99a18d; pointer-events: none; }
.library-search-control input { padding-left: 38px; }
.library-filters input::placeholder { color: #a0a696; }
.library-button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 43px; padding: 10px 18px; border: 1px solid var(--reading-accent); border-radius: 6px; background: var(--reading-accent); color: #fff; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background .15s; }
.library-button:hover { background: #5a3023; color: #fff; text-decoration: none; }
.library-button-secondary { background: #fff; color: #6f785e; border-color: #dce0d2; }
.library-button-secondary:hover { background: #f1f4eb; color: #4c583c; }
.library-clear { font-size: 12px; justify-self: start; }
.library-book-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.library-book { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #e3e6da; border-radius: 11px; padding: 25px; box-shadow: 0 2px 3px #28321803; transition: border-color .15s, box-shadow .15s; }
.library-book:hover { border-color: #cbd2bc; box-shadow: 0 5px 18px #28321806; }
.library-book-top { display: grid; grid-template-columns: 55px minmax(0, 1fr); gap: 19px; align-items: center; }
.library-book-symbol { position: relative; height: 73px; display: flex; align-items: center; justify-content: center; background: #eff2e7; color: #7c8965; border: 1px solid #e3e8d7; border-radius: 4px 7px 7px 4px; }
.library-book-symbol::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 1px; background: #dce3ce; }
.library-book-symbol svg { width: 25px; height: 25px; }
.library-book-info { min-width: 0; }
.library-book-category { font-size: 9px; letter-spacing: .09em; text-transform: uppercase; color: #747957; font-weight: 700; }
.library-book h3 { font: 400 24px/1.35 Georgia, serif; margin: 5px 0 6px; letter-spacing: -.35px; }
.library-book h3 a { color: #37422b; }
.library-author { font-size: 11px; color: #69735e; margin: 0; }
.library-description { font-size: 13px; line-height: 1.9; color: #68725f; margin: 20px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.library-book-meta { margin-top: auto; padding: 4px 0 16px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.library-file-note { font-size: 10px; color: #717a64; }
.library-open-access { font-size: 9px; color: #80906c; padding: 3px 8px; background: #f0f5e9; border-radius: 4px; }
.library-book-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #eef0e7; padding-top: 17px; }
.library-book-actions .library-button { min-height: 39px; font-size: 11px; padding: 8px 14px; }
.library-download { display: inline-flex; gap: 6px; align-items: center; font-size: 10px; color: #69735e; padding: 5px 0; }
.library-empty { padding: 56px 24px; border: 1px dashed #d5dcc7; border-radius: 10px; text-align: center; background: #fff; }
.library-empty h3 { font: 400 27px/1.4 Georgia, serif; margin: 0 0 12px; color: #59634b; }
.library-empty p { color: #6c775e; font-size: 13px; }
.library-pagination { display: flex; justify-content: center; gap: 24px; align-items: center; padding-top: 30px; font-size: 12px; }
.library-pagination a { padding: 7px 12px; border: 1px solid var(--reading-line); border-radius: 6px; background: #fff; }
.library-pagination span { color: #6c775e; }
.reading-site-footer { border-top: 1px solid var(--reading-line); background: #fff; color: #727c66; font-size: 11px; }
.reading-site-footer > div { max-width: 1160px; margin: auto; padding: 26px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.reading-site-footer nav { display: flex; gap: 24px; }
.reading-site-footer a { color: #657157; }

/* A restrained toolbar keeps the document as the main reading surface. */
.reader-main { max-width: 1440px; margin: auto; padding: 24px; }
.reader-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 0 0 20px; }
.reader-book-heading { min-width: 0; }
.reader-back { font-size: 11px; color: #8a947c; }
.reader-book-heading h1 { font: 400 28px/1.35 Georgia, serif; margin: 8px 0 5px; color: #445335; letter-spacing: -.4px; }
.reader-book-heading p { color: #6f7a62; font-size: 11px; margin: 0; }
.reader-actions { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.reader-paper { background: #eef0e8; border: 1px solid #dbe0d0; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 20px #2d39120a; }
.reader-document { display: block; border: 0; width: 100%; height: calc(100dvh - 265px); min-height: 440px; background: #f0f0ec; }
.reader-note { font-size: 11px; color: #6b775e; margin: 14px 0; }
.reader-unavailable { padding-top: 54px; padding-bottom: 72px; }
.reader-unavailable h1 { font: 400 32px/1.4 Georgia, serif; }
.reader-unavailable p { color: var(--reading-muted); }
.reading-focus .reading-site-header, .reading-focus .reading-site-footer, .reading-focus .reader-note { display: none; }
.reading-focus .reader-main { max-width: none; padding: 10px 16px; }
.reading-focus .reader-toolbar { margin-bottom: 10px; }
.reading-focus .reader-document { height: calc(100dvh - 120px); }

@media(max-width: 900px) {
  .library-intro { grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; }
  .library-intro h1 { font-size: 42px; }
  .library-hero-note { padding: 22px; }
}
@media(max-width: 700px) {
  .reading-header-inner { min-height: 67px; padding: 12px 18px; gap: 12px; }
  .reading-header-inner nav { gap: 16px; font-size: 11px; }
  .reading-brand { font-size: 14px; gap: 8px; }
  .reading-brand img { width: 29px; height: 29px; }
  .reading-container { padding: 0 18px; }
  .library-breadcrumb { padding-top: 21px; font-size: 10px; }
  .library-intro { grid-template-columns: 1fr; padding: 28px 0; }
  .library-intro h1 { font-size: 42px; letter-spacing: -1px; margin-top: 14px; }
  .library-intro-copy > p { font-size: 13px; margin-bottom: 18px; }
  .library-intro-features { gap: 12px; font-size: 9px; }
  .library-hero-note { display: none; }
  .library-reflection { margin-bottom: 30px; }
  .library-reflection summary { padding: 13px 15px; font-size: 11px; }
  .reflection-reference { display: block; margin: 5px 0 0 16px; font-size: 10px; }
  .reflection-content { padding: 0 18px 20px; }
  .reflection-content blockquote { font-size: 20px; }
  .library-heading h2 { font-size: 27px; }
  .library-filters { grid-template-columns: minmax(0, 1fr) auto; padding: 15px; gap: 12px; }
  .library-search-field { grid-column: 1/-1; }
  .library-filters select { max-width: none; }
  .library-book-list { grid-template-columns: 1fr; gap: 16px; }
  .library-book { padding: 22px; }
  .library-book h3 { font-size: 25px; }
  .library-description { font-size: 13px; }
  .library-book-actions .library-button { min-height: 42px; font-size: 12px; }
  .library-download { font-size: 11px; }
  .reading-site-footer > div { padding: 22px 18px; flex-wrap: wrap; }
  .reader-main { padding: 18px 12px; }
  .reader-toolbar { align-items: flex-start; flex-direction: column; gap: 16px; }
  .reader-actions { gap: 14px; width: 100%; }
  .reader-book-heading h1 { font-size: 25px; }
  .reader-document { min-height: 460px; height: calc(100dvh - 275px); }
  .reading-focus .reader-document { height: calc(100dvh - 185px); }
}
@media(max-width: 360px) {
  .reading-header-inner { flex-wrap: wrap; }
  .reading-header-inner nav { width: 100%; padding-top: 4px; }
  .library-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .library-intro h1 { font-size: 37px; }
}
@media(prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
/* Library workspace: clear hierarchy, meaningful navigation and compact resources. */
:root { --reading-ink:#263246; --reading-muted:#677489; --reading-line:#e3e8ef; --reading-accent:#773e31; --reading-paper:#f5f7fa; }
body { font-size:14px; color:#263246; }
.visually-hidden { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.reading-site-header { background:#fff; border-bottom:1px solid #e3e8ef; }
.reading-header-inner { max-width:1440px; min-height:72px; padding:12px 32px; gap:20px; }
.reading-brand { font-size:16px; color:#293448; letter-spacing:-.4px; }
.reading-brand-context { border-left:1px solid #e4e8ef; padding-left:20px; margin-right:auto; font-size:12px; color:#7c8798; }
.reading-header-inner nav { margin-left:auto; font-size:12px; gap:28px; }
.reading-header-inner nav a { color:#69768a; }
.reading-header-inner nav [aria-current=page]::after { background:#8a5548; bottom:3px; }
.reading-container { max-width:1440px; padding:0 32px; }
.library-breadcrumb { padding-top:22px; color:#7c8798; font-size:11px; gap:10px; }
.library-breadcrumb a { color:#6e7a8c; }
.library-page-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px 0 28px; }
.library-heading-kicker { display:flex; align-items:center; gap:12px; color:#788599; font-size:10px; letter-spacing:.11em; font-weight:650; }
.library-public-label { display:inline-flex; align-items:center; gap:5px; color:#47705b; background:#edf5ef; border:1px solid #deebdf; border-radius:5px; padding:3px 6px; font-size:9px; letter-spacing:0; text-transform:none; font-weight:500; }
.library-public-label i { width:5px; height:5px; border-radius:50%; background:#699777; }
.library-page-heading h1 { font:650 30px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif; letter-spacing:-.8px; color:#202c3d; margin:9px 0 8px; }
.library-page-heading p { color:#718096; font-size:13px; margin:0; }
.library-button { border-radius:6px; font-size:12px; min-height:40px; padding:9px 15px; gap:12px; }
.library-button-secondary { border-color:#dfe5ec; color:#58677e; background:#fff; }
.library-button-secondary:hover { border-color:#cad4e0; color:#26364b; background:#f8fafc; }
.library-overview { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-bottom:28px; }
.library-overview>div { border:1px solid #e1e7ef; background:#fff; border-radius:9px; display:flex; align-items:center; gap:15px; padding:19px 22px; box-shadow:0 1px 2px #15243e03; }
.overview-icon { display:flex; width:42px; height:42px; flex:0 0 42px; align-items:center; justify-content:center; background:#f2f5f9; color:#67788f; border:1px solid #e9eef5; border-radius:8px; }
.overview-icon svg { width:22px; height:22px; }
.library-overview strong { display:block; color:#354258; font-size:22px; font-weight:650; line-height:1.3; letter-spacing:-.4px; }
.library-overview>div:last-child strong { font-size:17px; letter-spacing:-.3px; }
.library-overview small { display:block; color:#67788f; font-size:11px; margin-top:4px; }
.library-workspace { display:grid; grid-template-columns:230px minmax(0,1fr); gap:26px; align-items:start; padding-bottom:24px; }
.library-sidebar { border:1px solid #e0e6ee; border-radius:9px; background:#fff; padding:18px 12px 12px; position:sticky; top:18px; }
.library-collections>summary { list-style:none; display:flex; align-items:center; justify-content:space-between; color:#5c6a7e; font-size:11px; font-weight:650; padding:0 9px 14px; cursor:pointer; }
.library-collections>summary::-webkit-details-marker { display:none; }
.library-collections>summary>span { color:#8f9bae; }
.library-collections nav { display:flex; flex-direction:column; gap:5px; }
.library-collections nav a { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:40px; padding:9px 10px; color:#738096; font-size:11px; border-radius:5px; border:1px solid transparent; }
.library-collections nav a:hover { background:#f5f7fa; text-decoration:none; color:#3f4e64; }
.library-collections nav [aria-current=page] { background:#f8eeeb; border-color:#f0e2dc; color:#824c3d; font-weight:600; }
.library-collections nav a>span:first-child { min-width:0; overflow-wrap:anywhere; }
.category-count { display:inline-flex; min-width:22px; justify-content:center; border-radius:4px; background:#f0f3f7; color:#67788f; font-size:10px; padding:1px 5px; flex-shrink:0; }
[aria-current=page]>.category-count { background:#f1dfd8; color:#a16e5b; }
.library-sidebar-note { margin:22px 9px 0; padding-top:20px; border-top:1px solid #edf0f5; }
.library-sidebar-label { font-size:9px; color:#67788f; letter-spacing:.07em; font-weight:600; }
.library-sidebar-note p { margin:12px 0 8px; color:#748197; font-size:11px; display:flex; align-items:center; gap:6px; }
.library-format-badge { color:#9e6555; background:#fbf1ec; border:1px solid #f2e5dc; border-radius:3px; font-size:8px; padding:1px 4px; font-weight:700; }
.library-sidebar-note small { display:block; color:#67788f; font-size:10px; line-height:1.9; }
.library-sidebar-support { display:flex; justify-content:space-between; align-items:center; gap:5px; margin:21px 9px 6px; color:#67788f; font-size:10px; }
.library-section { padding:0 0 28px; scroll-margin-top:18px; min-width:0; }
.library-filters { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px; padding:14px; background:#fff; border:1px solid #e0e6ee; border-radius:8px; margin:0 0 16px; }
.library-search-field { grid-column:auto; min-width:0; }
.library-search-control input { min-height:44px; background:#f9fafc; border-color:#e5eaf0; border-radius:5px; color:#45526a; font-size:12px; padding-left:37px; }
.library-search-control input::placeholder { color:#9ba7b8; }
.library-search-control svg { color:#8e9caf; top:12px; }
.library-reflection { margin:0 0 22px; border-color:#e4e9ef; border-radius:7px; background:#fafbfe; }
.library-reflection summary { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; padding:12px 15px; font-size:10px; list-style:none; color:#67788f; }
.library-reflection summary::-webkit-details-marker { display:none; }
.library-reflection summary>span:first-child { margin:0; color:#67788f; font-weight:600; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.reflection-dot { width:5px; height:5px; background:#aab7cb; border-radius:50%; }
.reflection-book { color:#67788f; font-weight:400; padding-left:7px; border-left:1px solid #dfe5ee; }
.reflection-reference { color:#67788f; margin:0; font-size:10px; }
.reflection-content { max-width:840px; }
.reflection-content blockquote { color:#4d6076; font:400 21px/1.8 Georgia,serif; }
.reflection-content p { color:#738299; }
.library-active-filters { display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:10px; margin:18px 0; color:#67788f; }
.library-active-filters a:not(.library-clear) { display:flex; align-items:center; gap:8px; border:1px solid #e0e6ee; background:#fff; border-radius:4px; padding:3px 7px; color:#60718b; max-width:100%; overflow-wrap:anywhere; }
.library-clear { font-size:10px; color:#8d6a5d; }
.library-results-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin:0 0 16px; }
.library-heading { display:flex; align-items:center; gap:8px; margin:0; }
.library-heading h2 { font:600 16px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif; color:#354359; letter-spacing:-.2px; margin:0; }
.library-heading>span { border:1px solid #e1e7f0; border-radius:5px; padding:2px 6px; color:#67788f; font-size:9px; background:#edf1f7; }
.library-results-controls { display:flex; align-items:center; gap:12px; margin-left:auto; }
.library-sort { display:flex; align-items:center; gap:7px; }
.library-sort label { color:#67788f; font-size:10px; white-space:nowrap; }
.library-sort select { border:1px solid #dfe5ed; border-radius:5px; min-height:34px; color:#718096; font-size:10px; background:#fff; padding:6px 20px 6px 8px; max-width:155px; }
.library-sort-apply { border:1px solid #dfe5ed; color:#718096; border-radius:5px; padding:5px 8px; font-size:10px; background:#fff; cursor:pointer; }
.library-view-controls { display:flex; gap:3px; padding:3px; border:1px solid #dfe5ed; border-radius:5px; background:#fff; }
.library-view-controls button { display:flex; align-items:center; justify-content:center; min-width:28px; min-height:26px; border:0; border-radius:3px; background:transparent; color:#67788f; cursor:pointer; }
.library-view-controls [aria-pressed=true] { color:#60748d; background:#edf2f8; }
.library-book-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.library-book { display:flex; flex-direction:column; min-width:0; padding:21px; border:1px solid #dfe6ef; background:#fff; border-radius:8px; box-shadow:0 1px 2px #24334c03; }
.library-book:hover { border-color:#c5d0df; box-shadow:0 4px 12px #24334c05; }
.library-book-top { display:grid; grid-template-columns:43px minmax(0,1fr); gap:13px; align-items:start; }
.library-book-symbol { width:43px; height:55px; position:relative; display:flex; align-items:center; justify-content:center; background:#fbf2ee; border:1px solid #f1e2dc; border-radius:5px; color:#bd8c78; }
.library-book-symbol::before { display:none; }
.library-book-symbol svg { width:22px; height:26px; margin-top:-7px; }
.library-book-symbol>span { position:absolute; bottom:5px; font-size:7px; letter-spacing:.09em; color:#b58b7c; font-weight:700; }
.library-book-category { color:#67788f; font-size:10px; letter-spacing:.08em; font-weight:600; }
.library-book h3 { font:600 17px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif; letter-spacing:-.3px; margin:4px 0; }
.library-book h3 a { color:#46556b; }
.library-author { color:#67788f; font-size:12px; margin:0; }
.library-description { color:#67788f; font-size:13px; line-height:1.85; margin:16px 0 18px; -webkit-line-clamp:2; }
.library-book-meta { padding:0 0 16px; gap:10px; margin-top:auto; }
.library-file-note { color:#67788f; font-size:9px; }
.library-open-access { font-size:8px; background:#f0f6f0; color:#7c9b7f; border-radius:3px; padding:2px 5px; }
.library-book-actions { padding-top:14px; border-color:#eef1f6; gap:10px; }
.library-book-actions .library-button { min-height:36px; font-size:10px; padding:7px 12px; gap:18px; }
.library-download { font-size:11px; color:#67788f; gap:5px; }
.library-book-list[data-view=list] { grid-template-columns:1fr; }
.library-book-list[data-view=list] .library-book { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:24px; }
.library-book-list[data-view=list] .library-book-top { grid-column:1; }
.library-book-list[data-view=list] .library-description { grid-column:1; margin:12px 0; }
.library-book-list[data-view=list] .library-book-meta { grid-column:1; padding-bottom:0; justify-content:flex-start; }
.library-book-list[data-view=list] .library-book-actions { grid-column:2; grid-row:1 / span 3; border:0; padding:0; flex-direction:column; align-items:center; justify-content:center; }
.library-empty { border-color:#d8e1ec; border-radius:8px; padding:48px 24px; color:#a1b0c5; }
.library-empty h3 { font:600 18px/1.5 system-ui,sans-serif; color:#52657f; margin:14px 0 8px; }
.library-empty p { color:#67788f; font-size:12px; }
.library-results-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; padding:22px 0 10px; color:#67788f; font-size:10px; }
.library-pagination { padding:0; gap:10px; font-size:10px; }
.library-pagination span { color:#67788f; }
.library-pagination a { padding:5px 9px; background:#fff; border-color:#dfe5ed; border-radius:4px; }
.reading-site-footer { background:#fff; border-color:#e3e8ef; color:#67788f; }
.reading-site-footer>div { max-width:1440px; padding:22px 32px; font-size:10px; }
.reading-site-footer a { color:#67788f; }
.reader-book-heading h1 { font:600 25px/1.4 system-ui,sans-serif; letter-spacing:-.5px; color:#384a62; }
.reader-back,.reader-book-heading p,.reader-note { color:#8190a6; }
.reader-paper { border-color:#dce4ee; box-shadow:0 4px 14px #1b30470a; }
@media(min-width:1550px) { .reading-container,.reading-header-inner,.reading-site-footer>div { max-width:1550px; } .library-book-list:not([data-view=list]) { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:1100px) { .library-workspace { grid-template-columns:210px minmax(0,1fr); gap:20px; } .library-book { padding:18px; } .library-page-heading p { max-width:580px; } }
@media(max-width:950px) { .library-workspace { grid-template-columns:1fr; gap:18px; } .library-sidebar { position:static; padding:14px; } .library-collections>summary { padding:0 3px 10px; } .library-collections nav { flex-direction:row; overflow-x:auto; gap:8px; padding-bottom:3px; } .library-collections nav a { min-width:140px; max-width:240px; flex-shrink:0; } .library-sidebar-note,.library-sidebar-support { display:none; } }
@media(max-width:700px) {
 .reading-container { padding:0 18px; } .reading-header-inner { padding:12px 18px; min-height:66px; } .reading-brand-context { display:none; } .reading-header-inner nav { font-size:11px; gap:16px; }
 .library-breadcrumb { font-size:10px; gap:8px; padding-top:20px; }
 .library-page-heading { padding:22px 0; align-items:flex-start; gap:16px; } .library-heading-kicker { font-size:9px; gap:8px; flex-wrap:wrap; } .library-page-heading h1 { font-size:27px; } .library-page-heading p { font-size:12px; line-height:1.8; } .library-page-heading>.library-button { display:none; }
 .library-overview { gap:8px; margin-bottom:18px; } .library-overview>div { padding:13px 11px; gap:9px; align-items:flex-start; } .overview-icon { display:none; } .library-overview strong { font-size:22px; } .library-overview>div:last-child strong { font-size:12px; margin-top:4px; } .library-overview small { font-size:9px; line-height:1.6; margin-top:3px; }
 .library-workspace { gap:16px; } .library-filters { padding:10px; gap:8px; } .library-filters>.library-button { padding:9px 12px; min-height:42px; font-size:11px; } .library-search-control input { font-size:11px; }
 .library-reflection summary { font-size:10px; } .reflection-reference { margin-left:12px; font-size:9px; } .reflection-book { font-size:9px; }
 .library-results-toolbar { gap:12px; } .library-heading { gap:7px; } .library-heading h2 { font-size:16px; } .library-results-controls { margin-left:auto; gap:10px; } .library-sort label { font-size:9px; } .library-sort select { max-width:145px; font-size:10px; } .library-view-controls button { min-width:29px; min-height:29px; }
 .library-book-list,.library-book-list:not([data-view=list]) { grid-template-columns:1fr; } .library-book { padding:20px; } .library-book h3 { font-size:18px; } .library-description { font-size:12px; } .library-book-actions .library-button { min-height:40px; font-size:11px; } .library-download { font-size:11px; }
 .library-book-list[data-view=list] .library-book { display:flex; gap:0; } .library-book-list[data-view=list] .library-book-actions { flex-direction:row; padding-top:14px; margin-top:14px; border-top:1px solid #eef1f6; justify-content:space-between; } .library-book-list[data-view=list] .library-book-meta { justify-content:space-between; }
 .reading-site-footer>div { padding:22px 18px; flex-wrap:wrap; } .library-results-footer { font-size:10px; }
}
@media(max-width:380px) { .library-overview>div { padding:12px 9px; } .library-overview small { font-size:8px; } .library-heading { width:100%; } .library-results-controls { width:100%; justify-content:space-between; } .library-sort select { max-width:190px; } }
/* Keep the dense workspace readable at normal browser zoom. */
.library-collections nav a,.library-collections>summary{font-size:12px}.library-sidebar-note small{font-size:11px}.library-sidebar-note p{font-size:12px}.library-overview small{font-size:12px;color:#67788f}.library-filters>.library-button{font-size:12px}.library-search-control input{font-size:13px}.library-sort select,.library-sort label{font-size:11px}.library-file-note,.library-open-access,.library-heading>span,.library-results-footer{font-size:11px}.library-book-actions .library-button{font-size:12px}.library-sidebar,.library-collections{min-width:0}.category-count{font-size:11px}.library-book-category{font-size:10px}.library-reflection summary,.reflection-reference{font-size:11px}.library-sidebar-label{font-size:10px}.library-sidebar-support{font-size:11px}
@media(max-width:700px){.library-overview small{font-size:10px}.library-search-control input{font-size:12px}.library-filters>.library-button{font-size:11px}.library-sort select,.library-sort label{font-size:11px}.reflection-reference{font-size:10px}.library-sidebar-note small{font-size:11px}}
