/* Passive saved-email previews, bounded to the existing list leading cell. */
.nh-newsletter-thumb { display: block; width: var(--nh-thumb-list); height: 48px; overflow: hidden; border: 1px solid var(--nh-line); border-radius: var(--nh-radius-sm); background: var(--nh-surface-sunken); padding: 0; cursor: zoom-in; }
.nh-newsletter-thumb iframe { display: block; width: var(--nh-thumb-source-width,640px); height: var(--nh-thumb-source-height,426px); border: 0; pointer-events: none; transform: scale(var(--nh-thumb-scale,.1125)); transform-origin: top left; }
@media (max-width: 699px) {
    .nh-newsletter-thumb { width: 64px; height: 48px; }
    .nh-newsletter-thumb iframe { transform: scale(var(--nh-thumb-scale-phone,.1)); }
}

.nh-newsletter-preview{max-width:calc(var(--nh-newsletter-preview-width) + 2 * var(--nh-space-xl));max-height:calc(100dvh - 2 * var(--nh-space-gutter-phone));overflow:auto}
.nh-previewhead{display:flex;align-items:center;justify-content:space-between;gap:var(--nh-space-md)}
.nh-previewhead h2{font:var(--nh-font-headline-sm);overflow-wrap:anywhere;min-width:0}
.nh-previewhead .nh-iconbtn{flex:none}
.nh-newsletter-preview .nh-hint{margin-block:var(--nh-space-sm)}
.nh-preview-image{display:block;position:relative;width:100%;aspect-ratio:640 / 426;padding:0;overflow:hidden;border:1px solid var(--nh-line);border-radius:var(--nh-radius-sm);background:var(--nh-surface-sunken);cursor:zoom-out}
.nh-preview-image iframe{position:absolute;inset:0 auto auto 0;width:var(--nh-newsletter-preview-width);height:var(--nh-newsletter-preview-height);max-width:none;border:0;pointer-events:none;transform:scale(var(--nh-preview-scale,1));transform-origin:top left}
