/* learning.css - /daf-yomi/, /daily-learning/, /history/this-day/ (builder B05). Shared tokens from jewish.css. */
.ln-today { background: var(--jw-soft); border: 1px solid var(--jw-line); border-radius: var(--jw-radius); padding: 14px 16px; }
.ln-k { margin: 0; color: var(--jw-muted); font-size: .9rem; }
.ln-v { margin: 4px 0 8px; font-family: var(--jw-serif); font-size: 1.7rem; line-height: 1.25; }
.ln-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.ln-sums { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 24px; }
.ln-amud h3 { margin: 12px 0 0; font-family: var(--jw-serif); }
.ln-amud .jw-block { margin-top: 4px; }
.ln-week td small { color: var(--jw-muted); }
.ln-bar { height: 12px; border-radius: 999px; background: var(--jw-soft); border: 1px solid var(--jw-line); overflow: hidden; margin: 8px 0 4px; }
.ln-bar span { display: block; height: 100%; background: var(--jw-accent); }
.ln-count { font-family: var(--jw-serif); font-size: 1.4rem; margin: 0 0 8px; }
.ln-count b { font-size: 2rem; color: var(--jw-accent-ink); }
.ln-tips li { margin: 0 0 6px; }
.ln-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ln-cycles th[scope="row"] { white-space: nowrap; }
.ln-he { display: block; font-size: .9rem; color: var(--jw-muted); }
.ln-cycle h3 { font-family: var(--jw-serif); margin: 14px 0 4px; }
.ln-cycle p { margin: 0 0 6px; }
/* this day in Jewish history */
.td-events { list-style: none; padding: 0; margin: 0; }
.td-events li { display: grid; grid-template-columns: 6.5em 1fr; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid var(--jw-line); }
.td-events li b { color: var(--jw-gold); font-variant-numeric: tabular-nums; }
.td-events li p { margin: 2px 0 0; color: var(--jw-muted); font-size: .92rem; }
.td-hd { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.td-hd li { background: var(--jw-soft); border-radius: 999px; padding: 2px 10px; font-size: .9rem; }
.td-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.td-month h3 { margin: 0 0 6px; font-size: 1rem; }
.td-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.td-days a { display: block; text-align: center; padding: 4px 0; border-radius: 6px; background: var(--jw-soft); text-decoration: none; font-size: .85rem; }
.td-days a.on { background: var(--jw-accent); color: #fff; }
@media (max-width: 520px) {
  .td-events li { grid-template-columns: 1fr; }
  .ln-cycles th[scope="row"] { white-space: normal; }
}
