.book-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; align-items:start; }
.book-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(.95rem,2vw,1.55rem); min-width:0; }
.book-head, .review-line, .task-line { display:flex; align-items:center; justify-content:space-between; gap:.7rem; }
.book-head { min-height:2rem; margin-bottom:.75rem; }
.book-head h3 { font-size:1.06rem; letter-spacing:-.025em; }
.book-head button, .book-link { font-size:.8rem; min-height:2rem; padding:.35rem .6rem; }
.book-name { font-size:clamp(1.45rem,2.7vw,2.15rem); font-weight:700; line-height:1.12; letter-spacing:-.05em; color:var(--purple-dark); overflow-wrap:anywhere; }
.book-byline, .book-note { color:var(--subtle); font-size:.85rem; line-height:1.55; }
.book-byline { margin-top:.45rem; }
.book-notes { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.5; }
.book-card .book-notes { margin-top:.95rem; border-top:1px solid var(--line); padding-top:.8rem; font-size:.89rem; }
.review-line, .task-line { border-top:1px solid var(--line); padding:.5rem 0; }
.review-line:last-child, .task-line:last-child { padding-bottom:0; }
.review-line strong, .review-line span { display:block; line-height:1.45; overflow-wrap:anywhere; }
.review-line strong { font-size:.88rem; }
.review-line span { color:var(--subtle); font-size:.82rem; }
.book-link { background:transparent; color:var(--purple-dark); border-color:transparent; white-space:nowrap; }
.book-table-wrap { max-width:100%; overflow-x:auto; }
.book-table { width:100%; font-size:.85rem; border-collapse:collapse; font-variant-numeric:tabular-nums; }
.book-table td, .book-table th { text-align:right; padding:.55rem .35rem; border-bottom:1px solid var(--line); }
.book-table thead { background:var(--purple-tint); }
.book-table th:first-child { text-align:left; }
.book-table thead th { color:var(--purple-dark); font-size:.75rem; }
.book-table tbody th { font-weight:580; }
.book-table-wrap + .book-note, #taskReview .task-line:first-of-type { margin-top:.6rem; }
.task-line label { display:flex; align-items:center; gap:.6rem; font-size:.88rem; overflow-wrap:anywhere; }
.task-line input { width:1.05rem; height:1.05rem; flex:none; }
.task-line input:checked + span { text-decoration:line-through; color:var(--subtle); }
@media(max-width:720px) { .book-grid { grid-template-columns:1fr; } }
@media(max-width:560px) {
  .panel-tabs { display:flex; overflow-x:auto; justify-content:flex-start; }
  .panel-tabs button { flex:1 0 auto; padding:.63rem .56rem; font-size:.8rem; }
  .panel-tabs .icon { display:none; }
}

.jurisdiction-card { grid-column:1/-1; }
.jur-location { font-weight:650; line-height:1.4; overflow-wrap:anywhere; }
.jur-note { line-height:1.5; font-size:.9rem; margin:.45rem 0; }
.jur-sources { display:flex; gap:.35rem 1rem; flex-wrap:wrap; margin-top:.6rem; }
.jur-sources a { color:var(--purple-dark); font-size:.85rem; text-decoration:underline; }
@media print { .jur-sources { display:block; } .jur-sources a { display:block; color:#111; overflow-wrap:anywhere; } }

@media print { .jur-sources a::after { content:" (" attr(href) ")"; font-size:8pt; } }

.research-pdf { display:inline-block; font-size:.85rem; font-weight:620; margin-top:.85rem; text-underline-offset:.15em; }
