body.reading-hub-page {
  background: radial-gradient(ellipse at 100% 0, #cce8d5 0, transparent 600px), #e8f3eb;
  color: #1c342a;
}
.reading-hub-page .main { padding: 30px 32px 40px; }
.rh-shell {
  --rh-accent: #17694d;
  --rh-soft: #dcefe2;
  --rh-line: #b9dbc4;
  max-width: 1240px;
  margin: 0 auto;
}
.rh-shell [hidden] { display: none !important; }
.rh-shell a { text-decoration: none; }
.rh-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.rh-back { color: #5d7367; font-size: 12px; font-weight: 600; }
.rh-back:hover { color: #17694d; }
.rh-heading { display: flex; align-items: center; gap: 13px; margin-top: 14px; }
.rh-heading-icon { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 14px; background: linear-gradient(140deg, #27845f, #10573d); color: #fff; box-shadow: 0 6px 16px #17694d23; }
.rh-icon { width: 23px; height: 23px; display: block; }
.rh-header h1 { margin: 0; font-size: clamp(27px, 3vw, 34px); letter-spacing: -1px; line-height: 1.2; color: #1c342a; }
.rh-topics { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid #bfdcc8; border-radius: 9px; background: #eaf7ee; color: #526b5e; font-size: 12px; font-weight: 650; }
.rh-topics:hover { color: #17694d; border-color: #a8d2b5; }
.rh-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 6px; border: 1px solid #bdddc6; border-radius: 16px; background: #d8ecdd; margin-bottom: 26px; }
.rh-tabs button { appearance: none; display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; border: 1px solid transparent; border-radius: 11px; background: transparent; color: #5b7165; padding: 12px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: none; transition: background .18s, color .18s, box-shadow .18s; }
.rh-tab-icon { display: grid; place-items: center; flex-shrink: 0; }
.rh-tab-icon .rh-icon { width: 21px; height: 21px; }
.rh-tabs button[aria-selected="true"] { color: #17694d; border-color: #add4ba; background: #eff9f1; box-shadow: 0 3px 9px #1e57300d; }
.rh-tabs button[aria-selected="true"] .rh-tab-icon { color: #17694d; }
.rh-tabs button:hover { background: #eff9f1; }
.rh-shell :is(button, a, input, select):focus-visible { outline: 3px solid #298562; outline-offset: 3px; }
.rh-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.rh-section-head h2 { margin: 0; font-size: 20px; letter-spacing: -.45px; color: #1c342a; }
.rh-section-head p { margin: 0; font-size: 13px; color: #617469; }
.rh-passages { display: flex; gap: 8px; }
.rh-passages button, #reading-reset { font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; padding: 10px 19px; border: 1px solid #bdddc6; border-radius: 10px; background: #edf8f0; color: #526b5e; box-shadow: 0 2px 3px #1f573808; min-height: 44px; transition: border-color .18s; }
.rh-passages button:hover { border-color: var(--rh-line); background: var(--rh-soft); }
.rh-passages button[aria-pressed="true"] { background: var(--rh-accent); color: white; border-color: var(--rh-accent); box-shadow: 0 4px 10px #1c68481a; }
.rh-source-note { font-size: 12px; color: #617469; line-height: 1.5; margin: 12px 0 18px; }
.rh-toolbar { display: flex; gap: 10px; margin-top: 18px; }
.rh-search { flex: 1; position: relative; }
.rh-search-icon { position: absolute; top: 50%; left: 14px; transform: translateY(-50%); width: 19px; height: 19px; color: #6d8173; pointer-events: none; }
.rh-search input, .rh-access select { width: 100%; height: 46px; border: 1px solid #bdddc6; border-radius: 11px; background: #f0f9f2; padding: 11px 14px; font: inherit; font-size: 14px; color: #233a2e; box-sizing: border-box; box-shadow: 0 2px 3px #1f573806; }
.rh-search input { padding-left: 42px; }
.rh-search input::placeholder { color: #718577; }
.rh-access select { min-width: 142px; }
.rh-result-count { display: flex; align-items: center; gap: 10px; margin: 20px 0 14px; font-size: 12px; font-weight: 600; color: #617469; }
.rh-result-count::after { content: ""; height: 1px; flex: 1; background: #d5e7d9; }
.rh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.rh-item { min-width: 0; }
.rh-card { display: flex; flex-direction: column; position: relative; overflow: hidden; height: 100%; min-height: 190px; padding: 18px; border: 1px solid #badbc4; border-radius: 15px; background: linear-gradient(135deg, #dcefe1, #edf8f0 75%); color: #1c342a; box-shadow: 0 3px 10px #235d3908; transition: border-color .18s, box-shadow .18s, transform .18s; box-sizing: border-box; }
.rh-featured .rh-card { border-color: #9dccab; background: linear-gradient(135deg, #cfe8d6, #e3f3e7 78%); }
.rh-featured .rh-meta { color: #17694d; font-weight: 750; }
.rh-card::before { content: ""; position: absolute; inset: 20px auto auto 0; width: 3px; height: 26px; border-radius: 0 3px 3px 0; background: var(--rh-accent); opacity: .6; }
.rh-card:hover { border-color: var(--rh-line); box-shadow: 0 8px 22px #1c5b3710; transform: translateY(-2px); }
.rh-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.rh-card-identity { display: flex; align-items: center; gap: 9px; min-width: 0; }
.rh-number-mark { display: grid; place-items: center; flex-shrink: 0; min-width: 34px; height: 34px; padding: 0 4px; border: 1px solid var(--rh-line); border-radius: 9px; background: #f0f9f2; color: var(--rh-accent); font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rh-number { font-size: 9px; font-weight: 750; letter-spacing: .65px; line-height: 1.5; color: #617469; }
.rh-badge { border-radius: 6px; padding: 4px 7px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.rh-badge.free-badge { color: #087443; background: #e7f7ef; border: 1px solid #d6eee2; }
.rh-badge.premium-badge { color: #855c0b; background: #fff6e1; border: 1px solid #f1e6c9; }
.rh-card-title { font-size: 16px; line-height: 1.5; letter-spacing: -.2px; color: #21392e; margin: 0 0 16px; overflow-wrap: anywhere; }
.rh-card-description { color: #617469; font-size: 12px; line-height: 1.6; margin: -6px 0 16px; }
.rh-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid #dcebe1; }
.rh-meta { font-size: 11px; color: #617469; }
.rh-start { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 32px; padding: 6px 12px; border-radius: 8px; color: var(--rh-accent); background: var(--rh-soft); font-size: 12px; font-weight: 750; white-space: nowrap; transition: background .18s, color .18s; }
.rh-card:hover .rh-start { color: #fff; background: var(--rh-accent); }
.rh-empty-book { border: 1px solid #d6e7da; border-radius: 16px; padding: 36px 24px; text-align: center; background: linear-gradient(145deg, #eaf7ed, #f9fcfa 70%); }
.rh-book-icon { display: inline-grid; place-items: center; width: 48px; height: 52px; border: 1px solid #cce4d3; border-radius: 12px; color: #17694d; background: #edf8f1; font-size: 28px; }
.rh-empty-book h3, .rh-no-results h3 { margin: 14px 0 8px; font-size: 18px; color: #1c342a; }
.rh-empty-book p, .rh-no-results p { margin: 0 0 18px; font-size: 14px; color: #617469; line-height: 1.6; }
.rh-empty-book a { color: #17694d; font-size: 14px; font-weight: 700; }
.rh-no-results { padding: 24px 0; text-align: center; }
.rh-footer { margin-top: 32px; color: #607368; font-size: 11px; line-height: 1.5; }
.rh-book-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; gap: 14px; padding: 0; margin: 0; }
.rh-book-card { display: flex; align-items: center; gap: 18px; height: 100%; padding: 20px; border: 1px solid #badbc4; border-radius: 15px; background: linear-gradient(135deg, #dcefe1, #edf8f0 75%); transition: border-color .18s, box-shadow .18s; }
.rh-book-card:hover { border-color: #a9d1b7; box-shadow: 0 6px 20px #1c5b3710; }
.rh-book-cover { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 64px; height: 88px; border-radius: 3px 9px 9px 3px; border-left: 5px solid #0e573d; background: linear-gradient(145deg, #31926a, #17694d); color: #fff; box-shadow: 3px 3px 0 #d9e9dd; }
.rh-book-cover-label { font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.rh-book-cover strong { font-size: 30px; line-height: 1.45; }
.rh-book-cover-foot { font-size: 6px; letter-spacing: .8px; }
.rh-book-info { min-width: 0; }
.rh-book-info h3 { margin: 0 0 7px; font-size: 17px; color: #21392e; }
.rh-book-info p { margin: 0 0 12px; font-size: 12px; color: #617469; }
.rh-book-picker { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 4px 0 20px; }
.rh-all-books { color: #17694d; font-size: 13px; font-weight: 700; padding: 10px 0; }
.rh-book-picker select { min-height: 44px; padding: 9px 12px; border: 1px solid #bdddc6; border-radius: 9px; background: #f0f9f2; color: #21392e; font: inherit; font-size: 14px; }
.rh-book-range { color: #617469; font-size: 12px; }
.rh-cambridge-tests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.rh-cambridge-test { border: 1px solid #badbc4; border-radius: 14px; background: #eaf6ed; overflow: hidden; }
.rh-cambridge-test-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: linear-gradient(100deg, #d6ebdc, #eaf6ed); border-bottom: 1px solid #badbc4; }
.rh-cambridge-test-head h3 { margin: 0; color: #17694d; font-size: 16px; }
.rh-cambridge-test-head > span { color: #617469; font-size: 11px; }
.rh-cambridge-passages { list-style: none; padding: 0 18px; margin: 0; }
.rh-cambridge-passage { display: flex; align-items: center; gap: 10px; padding: 16px 0; min-height: 89px; border-bottom: 1px solid #e1eee5; }
.rh-cambridge-passage-item:last-child .rh-cambridge-passage { border-bottom: 0; }
.rh-cambridge-passage-title { display: flex; flex: 1; flex-direction: column; min-width: 0; gap: 6px; }
.rh-cambridge-passage-title strong { color: #21392e; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.rh-cambridge-passage:hover strong { color: #17694d; }
.rh-cambridge-start { color: #17694d; font-size: 18px; }
@media (max-width: 1180px) { .rh-book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .rh-cambridge-tests { grid-template-columns: 1fr; } .rh-book-picker select { font-size: 16px; } }
@media (max-width: 540px) { .rh-book-grid { grid-template-columns: 1fr; } .rh-book-card { padding: 16px 20px; } }
.rh-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1180px) { .rh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rh-section-head { align-items: flex-start; flex-direction: column; gap: 6px; } }
@media (max-width: 768px) {
  .reading-hub-page .main { padding: 76px 16px 28px; }
  .rh-header { display: block; position: relative; margin-bottom: 20px; }
  .rh-heading { gap: 10px; }
  .rh-heading-icon { flex-basis: 38px; height: 38px; border-radius: 11px; }
  .rh-header h1 { font-size: 27px; }
  .rh-topics { position: absolute; top: -3px; right: 0; font-size: 10px; padding: 6px 8px; white-space: nowrap; }
  .rh-tabs { gap: 4px; padding: 4px; border-radius: 13px; margin-bottom: 22px; }
  .rh-tabs button { flex-direction: column; gap: 6px; padding: 10px 5px; font-size: 11px; line-height: 1.4; }
  .rh-tab-icon .rh-icon { width: 19px; height: 19px; }
  .rh-passages button { flex: 1; padding: 10px 8px; font-size: 13px; }
  .rh-toolbar { gap: 8px; }
  .rh-search { min-width: 0; }
  .rh-search input, .rh-access select { font-size: 16px; }
  .rh-access select { min-width: 110px; padding-left: 10px; }
}
@media (max-width: 540px) { .rh-grid { grid-template-columns: 1fr; gap: 12px; } .rh-card { min-height: 172px; padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .rh-card, .rh-start, .rh-tabs button, .rh-passages button { transition: none; } .rh-card:hover { transform: none; } }
