/* Consistent reading hierarchy across the computing course. */
@media screen{
 .ebook .chapter-header{padding-bottom:32px;margin-bottom:36px;border-bottom:1px solid var(--line-strong)}
 .ebook .chapter-header h1{font-size:clamp(34px,4vw,48px);line-height:1.14;letter-spacing:-.035em;max-width:20ch;text-wrap:balance}
 .ebook .chapter-kicker,.ebook .book-kicker{font-size:11px;letter-spacing:.1em}
 .ebook .chapter-subtitle{font-size:1.12em;line-height:1.7;max-width:65ch;color:var(--ink-soft)}
 .ebook .chapter-banner{padding:0;border:0;border-radius:0;background:transparent;margin-bottom:32px}
 .ebook .chapter-pagination a{padding:14px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;font-size:13px}
 .ebook .chapter-pagination a:hover{border-color:var(--blue);color:var(--blue-strong)}
 .ebook .chapter-pagination small{font-size:10px;letter-spacing:.04em;margin-bottom:5px}
 .ebook .chapter-pagination-top{gap:12px;margin-bottom:30px}
 .ebook .chapter-topic-map{padding:24px 0;border-block:1px solid var(--line);border-inline:0;border-radius:0;background:transparent}
 .ebook .topic-map-branch li a{font-size:13px;line-height:1.6}
 .ebook .book-part{margin-top:3.5em;padding-top:2em;border-top:2px solid var(--line-strong)}
 .ebook .book-part h2{font-size:1.7em;line-height:1.3;letter-spacing:-.02em}
 .ebook .reading-topic>.topic-heading{font-size:1.28em;line-height:1.45;padding-left:16px;border-left:3px solid var(--subsection-heading)}
 .ebook .reading-topic .book-exposition>p{line-height:1.85;margin-bottom:1.15em}
 .ebook .heading-link{opacity:.55}
 .ebook .heading-link:hover,.ebook .heading-link:focus{opacity:1}
 .ebook #book-navigation .nav-chapter{margin-block:12px}
 .ebook #book-navigation .nav-chapter>summary{padding-block:10px;border-bottom:1px solid var(--line)}
 .ebook #book-navigation a[aria-current]{font-weight:600;box-shadow:inset 3px 0 var(--blue);border-radius:0 6px 6px 0}
 .ebook .book-toolbar .reading-tools button{min-height:36px;border:1px solid var(--line);background:var(--card);color:var(--ink-soft)}
 .ebook .book-toolbar .reading-tools button:hover{border-color:var(--blue);color:var(--blue-strong)}
 .ebook .book-drawing,.ebook .book-lab{border-radius:0;border-color:var(--line-strong)}
 .ebook .probing-question{padding:18px 20px;background:var(--blue-wash);border:1px solid var(--line);border-radius:0}
 .ebook .probing-question>summary{cursor:pointer;line-height:1.6}
}
@media screen and (max-width:600px){
 .ebook .chapter-topic-map{padding:18px 14px}
 .ebook .chapter-pagination a{padding:10px;font-size:12px}
 .ebook .reading-topic>.topic-heading{padding-left:12px}
 .ebook .book-section .book-exposition>p{line-height:1.8}
 .ebook .book-toolbar .reading-tools{gap:3px}
 .ebook .book-toolbar .reading-tools button{padding:6px;min-width:32px}
}
