/* Shared with Lecture 2A: tables, code, links. */
.reveal .l1b .source-media img{max-height:680px;width:100%;object-fit:contain}
.reveal .l1b table{font-size:35px;width:100%;margin:24px 0;border-collapse:collapse}
.reveal .l1b table th,.reveal .l1b table td{padding:18px 25px;border-bottom:1px solid #d8e0e7;vertical-align:top}
.reveal .l1b table th{text-align:left;color:#087bb9}
.reveal .l1b pre{font-size:29px;box-shadow:none;width:100%;padding:22px;background:#f5f8fa;box-sizing:border-box;margin-left:0;margin-right:0}
.reveal .l1b a{color:#087bb9}
.reveal .l1b table{table-layout:fixed;max-width:100%}
.reveal .l1b td,.reveal .l1b th{white-space:normal!important;overflow-wrap:break-word}
.reveal .l1b-two>*{min-width:0}
.reveal .l1b .l1b-subhead{color:#087bb9;font-size:38px;margin-top:10px}

/* Diagrams: editable SVGs drawn by scripts/make_figures.py. */
.reveal .l1b .diagram img{max-height:640px;width:100%}
.reveal .timeline p{margin:0 0 18px;font-size:32px;line-height:1.25}
.reveal .timeline strong{color:#087bb9}
.reveal .l1b .diagram img{max-height:700px;width:100%}
.reveal .l1b-copy{font-size:34px}
.reveal .l1b-copy table{font-size:28px!important;margin:10px 0 16px!important}
.reveal .l1b-copy table td,.reveal .l1b-copy table th{padding:8px 14px!important}
.reveal .l1b code{font-size:.9em;background:#f5f8fa;padding:0 4px;border-radius:4px}

#generative .source-media img{max-height:640px}
#next-token table td:first-child{width:68%}
#pipeline .slide-body,#attention-math .slide-body,#families .slide-body,#training .slide-body,#kv-cache .slide-body{justify-content:center;gap:14px}
.reveal .pipeline-figure img{width:100%;max-height:800px;object-fit:contain;display:block;margin:0 auto}
#why-tokens table{font-size:31px}
#why-tokens table td:first-child{width:20%}
#why-tokens table td:nth-child(2){width:20%}
#why-tokens .slide-body>p{font-size:33px}
#real-tokenizers .l1b-two{grid-template-columns:1.1fr .9fr;gap:50px}
#real-tokenizers .source-media img{max-height:600px}
.reveal .attn-figure img{width:100%;max-height:640px;object-fit:contain;display:block;margin:0 auto}
.reveal .attn-eq{font-size:32px;text-align:center}
.reveal .attn-eq p{margin:.15em 0}
#multihead table td:first-child{width:34%}
.reveal .grid-figure img{max-height:760px}
#gpt2-heads .l1b-two{grid-template-columns:1fr 1fr;gap:50px}
#induction .l1b-two{grid-template-columns:.9fr 1.1fr;gap:50px}
#block .l1b-two{grid-template-columns:1fr 1fr;gap:40px}
#block .l1b-copy{font-size:31px}
#logit-lens .l1b-two{grid-template-columns:1.35fr .65fr;gap:40px}
#logit-lens .source-media img{max-height:760px}
.reveal .families-figure img{width:100%;display:block}
#families .slide-body>p{font-size:32px}
.reveal .training-figure img{width:88%;display:block;margin:0 auto}
.reveal .training-copy{height:auto!important;gap:60px}
#training .l1b-copy{font-size:30px}
.reveal .gens p{font-size:27px;line-height:1.3;margin:0 0 16px;font-family:Georgia,serif}
.reveal .gens strong{font-family:"Helvetica Neue",Arial;color:#087bb9}
#parameters table td:first-child{width:70%}
.reveal .kv-figure img{width:100%;max-height:560px;object-fit:contain;display:block;margin:0 auto}
#kv-cache .slide-body>p{font-size:31px}
#notebook pre{font-size:22px!important}
#notebook .l1b-two{grid-template-columns:.85fr 1.15fr;gap:50px}
#beyond-text .timeline p{font-size:30px}
#multihead .l1b-two{grid-template-columns:.95fr 1.05fr;gap:50px}
#multihead table td,#multihead table th{white-space:nowrap!important}
#multihead table td:first-child{width:auto}
#block .l1b-two{grid-template-columns:.8fr 1.2fr}
#block .source-media img{max-height:780px}
.reveal .gens p{font-size:30px}
#beyond-text .timeline p{font-size:32px}
#parameters table td:first-child{width:74%}
.reveal .kv-figure img{max-height:620px}
#sampling .gens p{font-size:31px!important;line-height:1.3!important}
