/* Approved Slides mode controls; preview only. */
.toc-preview-back{display:none!important}
.fy-slides-entry{display:flex;justify-content:center;flex:none;padding:12px 20px;border-bottom:1px solid rgba(22,33,68,.15)}
.fy-teach-entry-button{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:0 10px;white-space:nowrap;font:500 12.5px/1.2 var(--sans,'Instrument Sans',sans-serif);color:#46506a;background:transparent;border:1px solid rgba(22,33,68,.2);border-radius:4px;cursor:pointer}
.fy-teach-entry-button svg{width:15px;height:15px;flex:none;color:#647089}
.fy-teach-entry-button:hover:not(:disabled){background:rgba(22,33,68,.04);border-color:rgba(22,33,68,.4)}
.fy-teach-entry-button:focus-visible{outline:2px solid #5368D0;outline-offset:3px}
.fy-teach-entry-button:disabled{opacity:.6;cursor:default}
.fy-slides-mini,.fy-slides-mobile{display:none}
@media(min-width:1024px){body.sidebar-collapsed .fy-slides-mini{display:inline-flex;position:fixed;left:12px;bottom:56px;z-index:100;width:36px;height:36px;padding:0;justify-content:center;background:#fff}.fy-slides-mini span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}
@media(max-width:1023px){
 body.fy-teaching-host::before{content:"";position:fixed;top:0;left:0;right:0;height:120px;background:#fff;border-bottom:1px solid rgba(22,33,68,.15);z-index:99}
 .fy-slides-mobile{display:inline-flex;position:fixed;top:16px;left:64px;z-index:100;height:36px;background:#fff}
 body.fy-teaching-host .emoji-bar{flex-direction:row;flex-wrap:wrap;justify-content:center;width:88px;top:12px;right:16px}
 body.fy-teaching-host .content-wrapper{padding-top:136px}
 body.fy-teaching-host .sidebar{top:120px;height:calc(100dvh - 120px)}
 html:has(body.fy-teaching-host){scroll-padding-top:120px}
}
@media(max-width:420px){.fy-slides-mobile span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.fy-slides-mobile{width:36px;padding:0;justify-content:center}}
@media print{.fy-slides-entry,.fy-slides-mini,.fy-slides-mobile{display:none!important}}
/* The teaching overlay: the shell fills the viewport; the guide underneath is inert and does not scroll. */
.fy-teach-overlay{position:fixed;inset:0;z-index:1000;background:#F1F3FA}
.fy-teach-overlay[hidden]{display:none}
.fy-teach-frame{display:block;width:100%;height:100%;border:0;background:#F1F3FA}
body.fy-teaching-open{overflow:hidden}

.fy-teach-recovery{position:absolute;inset:0;z-index:2;background:#F1F3FA;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;padding:24px;align-content:center;font:16px/1.5 var(--sans,'Instrument Sans',sans-serif);color:#162144}
.fy-teach-recovery[hidden]{display:none}
.fy-teach-recovery p{flex:0 0 100%;text-align:center}
.fy-teach-recovery button{font:inherit;padding:8px 16px;border:1px solid #8a90a2;border-radius:8px;background:white;color:#162144;cursor:pointer}
.fy-teach-recovery button:focus-visible{outline:2px solid #5368D0;outline-offset:3px}

.fy-slides-entry[hidden]{display:none}

.fy-teach-entry-button .fy-slides-beta{font-size:.88em;font-weight:400;color:inherit}
