#tabatha-site .figure-button[data-open-figure] {
 display:grid; justify-items:center; width:100%; margin:.75rem 0 1rem;
 padding:.5rem; border:1px solid #b7c9db; background:#fff; cursor:zoom-in;
}
#tabatha-site .figure-button img {
 display:block; width:100%; max-width:48rem; height:auto; max-height:28rem;
 object-fit:contain; margin:0; padding:0; border:0;
}
#tabatha-site .figure-button span {
 justify-self:end; font-size:.875rem; font-weight:600; padding:.3rem .5rem;
}
#tabatha-site #figure-dialog {
 box-sizing:border-box; width:min(64rem,96vw); max-width:96vw; max-height:94dvh;
 padding:clamp(.65rem,2vw,1.25rem); background:white; color:#142c45;
}
.figure-toolbar {display:flex; gap:.55rem; flex-wrap:wrap; align-items:center}
.figure-toolbar h2 {flex:1 1 11rem}
.figure-viewport {margin-top:.6rem; overflow:auto; max-height:70dvh; overscroll-behavior:contain}
#tabatha-site #large-figure {width:100%; max-width:none; height:auto; max-height:none; margin:0; padding:0}
#tabatha-site #figure-dialog.show-detail #large-figure {width:200%; max-width:none}
@media print {
 [data-open-figure] span,#figure-dialog {display:none!important}
 #learn-print .learn-question img {width:auto; max-width:100%; max-height:15rem; break-inside:avoid}
}
