.template-generated-html { width: 100%; }
#mit-generated-content { display: flow-root; overflow-x: auto; }

/* Keep theme typography out of the upload. Later scoped source rules still win. */
@scope (#mit-generated-content) {
    h1, h2, h3, h4, h5, h6, p, li {
        font: revert;
        color: revert;
        letter-spacing: revert;
        text-transform: revert;
        text-decoration: revert;
    }
}

.template-generated-html .mit-html-preview-notice {
    padding: 16px clamp(20px, 4vw, 48px);
    border-bottom: 1px solid #cdd9ef;
    background: #eef2fa;
    color: #0e2a5a;
    font-size: 16px;
    line-height: 1.5;
}
.template-generated-html .mit-html-preview-notice p { margin: 0; font: inherit; }
.template-generated-html .mit-html-preview-notice a {
    color: #2054b3;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.template-generated-html .mit-html-empty { padding-top: 64px; padding-bottom: 64px; }
