/* Scoped additions to the native insight layout and sticky workbook card. */
.ar-banner.rf-episode-hero{aspect-ratio:16/7;padding:0;display:block}
.ar-banner.rf-episode-hero img{display:block;position:absolute;top:50%;left:0;transform:translateY(-50%);width:100%;height:auto;max-width:none}
.rf-episode-diagram{margin:28px 0;border:1px solid var(--hair-inv);border-radius:16px;padding:18px;background:var(--surface)}
.rf-episode-diagram img{display:block;width:100%;height:auto}
.rf-episode-author-role{font-size:13px;color:var(--tx-dim);margin-top:2px}
.ar-bym a{color:inherit;text-decoration:none}.ar-bym a:hover{text-decoration:underline}
.rf-episode-author-avatar img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.rf-ep1-form[hidden],.rf-ep1-success[hidden]{display:none!important}
.rf-workbook-sticky{max-height:calc(100dvh - 120px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.rf-workbook-sticky .rf-ep1-form-wrap,.rf-workbook-sticky .rf-ep1-form{margin-top:0}
.rf-workbook-sticky .rf-ep1-fields{grid-template-columns:1fr;gap:9px}
.rf-workbook-sticky .rf-ep1-field label{font-size:12px;margin-bottom:4px}
.rf-workbook-sticky .rf-in{padding:10px 12px;font-size:14px}
.rf-workbook-sticky .rf-ep1-form{gap:10px}
.rf-workbook-sticky .rf-ep1-check,.rf-workbook-sticky .rf-ep1-privacy,.rf-workbook-sticky .rf-ep1-status{font-size:11px;line-height:1.45}
.rf-workbook-sticky .rf-ep1-check{margin-top:4px}
.rf-workbook-sticky .rf-ep1-button{padding:12px 16px;font-size:13px;width:100%;justify-content:center;white-space:normal}
.rf-workbook-sticky .rf-ep1-success p{font-size:12px;line-height:1.5}
.rf-workbook-sticky .rf-ep1-error:empty{display:none}
.rf-workbook-sticky .rf-ep1-error{font-size:11px;margin-top:3px}
@media(max-width:1023px){.rf-workbook-sticky{bottom:16px;right:16px;max-height:calc(100dvh - 112px)}}
