/* Preview entry pages only; shared 2mail2 controls remain unchanged. */
body.tm-preview-body {
    background: radial-gradient(ellipse at 50% 12%, #dceffa, transparent 65%),
                linear-gradient(160deg, #eef7fd, #f8fbfd 55%, #e1eef8);
}
.tm-preview-body .tm-auth-shell { padding: clamp(.85rem, 3vw, 2rem); }
.tm-preview-card { width: min(100%, 35rem); background: var(--tm-surface); }
.tm-preview-card .tm-auth-header { padding: 1.15rem 1.6rem 0; border-bottom: 0; }
.tm-preview-card .tm-brand-row { align-items: center; margin-bottom: .85rem; }
.tm-preview-card .tm-brand-logo-stack { width: 7.8rem; }
.tm-preview-card .tm-locale-switcher { flex-wrap: nowrap; }
.tm-preview-card .tm-locale-button { text-decoration: none; text-align: center; }
.tm-preview-card .tm-locale-button.is-active { color: var(--tm-link); }
.tm-preview-hero { display: block; width: 100%; height: auto; border-radius: .85rem; }
.tm-preview-card .tm-preview-heading { position: relative; margin-top: 1.25rem; padding-left: 1rem; }
.tm-preview-heading::before {
    content: ''; position: absolute; inset: .15rem auto .15rem 0; width: .3rem;
    border-radius: 1rem; background: linear-gradient(180deg, #19aace, #0875b7);
}
.tm-preview-card .tm-preview-heading h1 { font-size: clamp(1.55rem, 4.5vw, 2.15rem); line-height: 1.15; }
.tm-preview-card .tm-preview-heading p { margin-top: .55rem; font-size: .96rem; }
.tm-preview-card .tm-auth-content { padding: 1.15rem 1.6rem 1.3rem; }
.tm-preview-card .tm-button-primary {
    min-height: 3rem; gap: .65rem; font-size: .93rem; line-height: 1.35; text-align: center;
    background: linear-gradient(130deg, #087ba9, #0765aa); color: #fff;
}
.tm-preview-card .tm-button svg { width: 1.3rem; height: 1.3rem; flex: 0 0 auto; }
.tm-preview-card .tm-button .tm-preview-arrow { margin-inline-start: auto; width: 1rem; }
.tm-preview-card .tm-button span { flex: 1; }
.tm-preview-card .tm-preview-form { gap: .75rem; padding: 1rem; background: var(--tm-surface-raised); border: 1px solid var(--tm-border); border-radius: .85rem; }
.tm-preview-card .tm-field > span { font-size: .82rem; }
.tm-preview-card .tm-field input { min-height: 2.9rem; font-size: 1rem; background: var(--tm-surface-input); }
.tm-preview-card .tm-auth-secondary-action { margin: .85rem 0 0; }
.tm-preview-card .tm-auth-secondary-action a { font-size: .9rem; }
.tm-preview-card .tm-auth-footer { padding: .8rem 1rem; }
.tm-preview-card :is(a, button, input):focus-visible { outline: 2px solid #0875b7; outline-offset: 3px; }
@media (max-width: 430px) {
    .tm-preview-card .tm-auth-header, .tm-preview-card .tm-auth-content { padding-inline: 1rem; }
    .tm-preview-card .tm-brand-logo-stack { width: 6.7rem; }
    .tm-preview-card .tm-preview-form { padding: .8rem; }
    .tm-preview-card .tm-button-primary { padding-inline: .65rem; }
}
