<!DOCTYPE html>
<html>
<head><meta charset="utf-8"></head>
<body style="font-family: system-ui, sans-serif; max-width: 600px; margin: 40px auto; padding: 20px; color: #333;">
    <h2>Authorize a contact-email change for {{ org_name }}</h2>
    <p>Hello,</p>
    <p>A request was made to change the contact email for <strong>{{ org_name }}</strong> to <strong>{{ new_email }}</strong>. Because this is the canonical address for billing, invitations and audit notifications, the change requires confirmation from <em>both</em> the current contact address (you) and the new address. If you initiated this change, please click below to authorize it. The change won't take effect until both sides confirm.</p>
    <p style="margin: 30px 0;">
        <a href="{{ confirm_link }}" style="background-color: #333; color: #fff; padding: 12px 24px; text-decoration: none; border-radius: 4px;">Authorize email change</a>
    </p>
    <p style="font-size: 13px; color: #666; word-break: break-all;">{{ confirm_link }}</p>
    <p style="font-size: 13px; color: #888;">This link expires in 24 hours. If you ignore this email, the organization's contact address will remain unchanged.</p>
    <p style="font-size: 14px; color: #b22222;"><strong>If you did not request this change</strong>, do nothing &mdash; without your click, the change cannot proceed. Please also contact support, since this may indicate someone has unauthorized access to an account that can manage this organization.</p>
    {% if support_email %}
    <p style="font-size: 14px;">Support: <a href="mailto:{{ support_email }}">{{ support_email }}</a></p>
    {% endif %}
</body>
</html>
