/* Fit complete sample cards inside the existing wizard stage. */
[data-scw-intro-preview] .scw-intro-preview-stage{display:block!important;overflow:hidden!important;min-height:0!important;padding:8px!important}
[data-scw-intro-preview] .j700-card-samples{display:grid!important;grid-template-columns:minmax(0,1fr);gap:12px;height:100%;width:100%;max-width:480px;margin:auto;min-height:0}
[data-scw-intro-preview] .j700-card-samples article{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}
[data-scw-intro-preview] .j700-card-samples h3{font-size:12px;text-align:center;margin:0 0 6px;line-height:1.5;flex:none}
[data-scw-intro-preview] .j701-preview-fit{position:relative;flex:1;min-height:0;overflow:hidden}
[data-scw-intro-preview] .j701-preview-fit iframe{position:absolute;top:0;left:50%;width:440px!important;max-width:none!important;border:0;border-radius:12px;transform-origin:top left;visibility:hidden;background:#061827}
@media(max-width:700px){[data-scw-intro-preview] .j700-card-samples{grid-template-columns:minmax(0,1fr)}[data-scw-intro-preview] .j700-card-samples article:nth-child(2){display:none}}
/* Author display:grid rules must never override inactive authentication stages. */
html body .cl-auth-modal[data-auth-modal="login"] [hidden]{display:none!important}
@media(min-width:701px){
html body .cl-auth-modal[data-auth-modal="login"]{padding:16px!important;box-sizing:border-box;align-items:center!important}
html body .cl-auth-modal[data-auth-modal="login"] .cl-auth-dialog{width:min(400px,calc(100vw - 32px))!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 32px)!important;margin:auto!important;padding:20px 24px!important;overflow:auto!important;box-sizing:border-box;border-radius:20px!important}
html body .cl-auth-modal[data-auth-modal="login"] .cl-auth-dialog-brand{margin:0 0 12px!important}
html body .cl-auth-modal[data-auth-modal="login"] .cl-auth-dialog-brand b{font-size:26px!important}
html body .cl-auth-modal[data-auth-modal="login"] .cl-auth-dialog-title{padding:8px!important;margin:0 0 14px!important;min-height:0!important;background:transparent!important}
html body .cl-auth-modal[data-auth-modal="login"] .cl-auth-dialog-title h2{font-size:18px!important;line-height:1.5!important;margin:3px 0!important}
html body .cl-auth-modal[data-auth-modal="login"] .cl-auth-dialog-form{gap:8px!important;margin:0!important}
html body .cl-auth-modal[data-auth-modal="login"] .cl-auth-dialog-form>input:not([type=hidden]),html body .cl-auth-modal[data-auth-modal="login"] .cl-auth-password-wrap{height:44px!important;min-height:44px!important;font-size:16px!important}
html body .cl-auth-modal[data-auth-modal="login"] .cl-auth-dialog-form>button{height:44px!important;min-height:44px!important;margin:4px 0 0!important}
html body .cl-auth-modal[data-auth-modal="login"] .cl-auth-current-mobile{padding:6px 10px!important;margin:0 0 12px!important;min-height:0!important}
html body .cl-auth-modal[data-auth-modal="login"] .cl-auth-dialog-links{margin:14px 0 0!important;padding:10px 0 0!important}
html body .cl-auth-modal[data-auth-modal="login"] .cl-auth-method-note:empty{display:none!important}
html body .cl-auth-modal[data-auth-modal="login"] .cl-auth-quiet-action{display:block;width:100%;border:0;background:transparent;color:#ff9a43;padding:10px 0 0;font:inherit;font-size:11px;cursor:pointer}
}
