
.mail-template-form {
    display: grid;
    gap: 16px;
}
.mail-template-card textarea {
    width: 100%;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    line-height: 1.4;
}
.placeholder-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.placeholder-row code {
    background: #eef5ff;
    color: #0f4f8f;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 800;
}
.mail-template-card details {
    margin-top: 12px;
}
.mail-template-card pre {
    white-space: pre-wrap;
    background: #f7f9fc;
    border: 1px solid rgba(26,73,120,.10);
    border-radius: 12px;
    padding: 12px;
}
.sticky-save-bar {
    position: sticky;
    bottom: 12px;
    z-index: 20;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(26,73,120,.12);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(15,38,64,.08);
}
.page-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
@media (max-width: 720px) {
    .sticky-save-bar {
        flex-direction: column;
    }
    .sticky-save-bar .btn {
        width: 100%;
    }
}
