/* Base */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&display=swap');

body,
body *:not(html):not(style):not(br):not(tr):not(code) {
    box-sizing: border-box;
    font-family: 'Archivo', Arial, Helvetica, sans-serif,
        'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    position: relative;
}

body {
    -webkit-text-size-adjust: none;
    background-color: #f4f6f4;
    color: #33403a;
    height: 100%;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    width: 100% !important;
}

p,
ul,
ol,
blockquote {
    line-height: 1.4;
    text-align: left;
}

a {
    color: #177245;
}

a img {
    border: none;
}

/* Typography */

h1 {
    color: #1f2f28;
    font-size: 18px;
    font-weight: bold;
    margin-top: 0;
    text-align: left;
}

h2 {
    color: #1f2f28;
    font-size: 16px;
    font-weight: bold;
    margin-top: 0;
    text-align: left;
}

h3 {
    color: #1f2f28;
    font-size: 14px;
    font-weight: bold;
    margin-top: 0;
    text-align: left;
}

p {
    font-size: 16px;
    line-height: 1.5em;
    margin-top: 0;
    text-align: left;
}

p.sub {
    font-size: 12px;
}

img {
    max-width: 100%;
}

/* Layout */

.wrapper {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    background-color: #f4f6f4;
    margin: 0;
    padding: 0;
    width: 100%;
}

.content {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Header */

.header {
    border-bottom: 1px solid #e6ece8;
    padding: 24px 36px 20px;
    text-align: center;
}

.header a {
    color: #1f2f28;
    font-size: 19px;
    font-weight: bold;
    text-decoration: none;
}

.header-logo {
    display: block;
    height: auto;
    max-height: 48px;
    max-width: 180px;
}

.header-logo-text {
    color: #1f2f28;
    font-size: 19px;
    font-weight: 700;
}

/* Body */

.body {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    background-color: #f4f6f4;
    margin: 0;
    padding: 34px 0;
    width: 100%;
}

.inner-body {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 570px;
    background-color: #ffffff;
    border-color: #dfe8e2;
    border-radius: 6px;
    border-width: 1px;
    box-shadow: 0 8px 24px rgba(31, 47, 40, 0.06);
    margin: 0 auto;
    padding: 0;
    width: 570px;
}

.content-cell {
    max-width: 100vw;
    padding: 34px 36px 30px;
}

/* Subcopy */

.subcopy {
    border-top: 1px solid #dfe8e2;
    margin-top: 25px;
    padding-top: 25px;
}

.subcopy p {
    color: #6d7972;
    font-size: 14px;
}

/* Footer */

.footer-cell {
    background-color: #ffffff;
    border-top: 1px solid #e6ece8;
    padding: 44px 36px 52px;
    text-align: center;
}

.footer-brand-block {
    display: inline-block;
    max-width: 100%;
    text-align: left;
    width: 160px;
}

.footer-logo {
    display: block;
    height: auto;
    margin: 0 0 8px;
    max-width: 100%;
    width: 160px;
}

.footer-brand {
    color: #1f2f28;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    text-align: left;
}

.footer-tagline p {
    color: #17345d;
    font-size: 11px;
    line-height: 1.25em;
    margin: 0;
    text-align: center;
}

.footer a {
    color: #17345d;
    text-decoration: none;
}

/* Tables */

.table table {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    margin: 30px auto;
    width: 100%;
}

.table th {
    border-bottom: 1px solid #e7ece9;
    margin: 0;
    padding-bottom: 8px;
}

.table td {
    color: #526059;
    font-size: 15px;
    line-height: 18px;
    margin: 0;
    padding: 10px 0;
}

/* Buttons */

.action {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    margin: 30px auto;
    padding: 0;
    text-align: center;
    width: 100%;
}

.button {
    -webkit-text-size-adjust: none;
    background-color: #ffffff;
    border: 1px solid #000000;
    border-radius: 999px;
    color: #000000;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    min-width: 112px;
    overflow: visible;
    padding: 9px 24px;
    text-align: center;
    text-decoration: none;
}

.button-blue,
.button-primary {
    background-color: #ffffff;
    border: 1px solid #000000;
    color: #000000;
}

.button-green,
.button-success {
    background-color: #ffffff;
    border: 1px solid #000000;
    color: #000000;
}

.button-red,
.button-error {
    background-color: #ffffff;
    border: 1px solid #000000;
    color: #000000;
}

/* Panels */

.panel {
    border-left: #177245 solid 4px;
    margin: 21px 0;
}

.panel-content {
    background-color: #f4f6f4;
    color: #526059;
    padding: 16px;
}

.panel-content p {
    color: #526059;
}

.panel-item {
    padding: 0;
}

.panel-item p:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Utilities */

.break-all {
    word-break: break-all;
}

/* Dark mode lock */

:root {
    color-scheme: light;
    supported-color-schemes: light;
}

@media (prefers-color-scheme: dark) {
    body,
    .wrapper,
    .body {
        background-color: #f4f6f4 !important;
        color: #33403a !important;
    }

    .inner-body,
    .footer-cell {
        background-color: #ffffff !important;
    }

    h1,
    h2,
    h3,
    p,
    .header a,
    .header-logo-text,
    .footer-brand {
        color: #1f2f28 !important;
    }

    a {
        color: #177245 !important;
    }

    .button,
    .button-primary,
    .button-blue,
    .button-success,
    .button-green,
    .button-error,
    .button-red {
        background-color: #ffffff !important;
        border-color: #000000 !important;
        color: #000000 !important;
    }

    .footer-tagline p,
    .footer a {
        color: #17345d !important;
    }
}
