:host,
:root {
    --color-red-10: #eb6f92 !important;
    --color-red-20: #eb6f92 !important;
    --color-red-30: #eb6f92 !important;
    --color-red-40: #eb6f92 !important;
    --color-red-50: #eb6f92 !important;
    --color-red-60: #eb6f92 !important;
    --color-red-70: #b4637a !important;
    --color-red-80: #b4637a !important;
    --color-red-90: #b4637a !important;
    --color-orange-10: #ebbcba !important;
    --color-orange-20: #ebbcba !important;
    --color-orange-30: #ebbcba !important;
    --color-orange-40: #ea9a97 !important;
    --color-orange-50: #ea9a97 !important;
    --color-orange-60: #ea9a97 !important;
    --color-orange-70: #d7827e !important;
    --color-orange-80: #d7827e !important;
    --color-orange-90: #d7827e !important;
    --color-amber-10: #f6c177 !important;
    --color-amber-20: #f6c177 !important;
    --color-amber-30: #f6c177 !important;
    --color-amber-40: #f6c177 !important;
    --color-amber-50: #f6c177 !important;
    --color-amber-60: #f6c177 !important;
    --color-amber-70: #ea9d34 !important;
    --color-amber-80: #ea9d34 !important;
    --color-amber-90: #ea9d34 !important;
    --color-yellow-10: #f6c177 !important;
    --color-yellow-20: #f6c177 !important;
    --color-yellow-30: #f6c177 !important;
    --color-yellow-40: #f6c177 !important;
    --color-yellow-50: #f6c177 !important;
    --color-yellow-60: #f6c177 !important;
    --color-yellow-70: #ea9d34 !important;
    --color-yellow-80: #ea9d34 !important;
    --color-yellow-90: #ea9d34 !important;
    --color-green-10: #9ccfd8 !important;
    --color-green-20: #9ccfd8 !important;
    --color-green-30: #9ccfd8 !important;
    --color-green-40: #9ccfd8 !important;
    --color-green-50: #9ccfd8 !important;
    --color-green-60: #9ccfd8 !important;
    --color-green-70: #56949f !important;
    --color-green-80: #56949f !important;
    --color-green-90: #56949f !important;
    --color-teal-10: #9ccfd8 !important;
    --color-teal-20: #9ccfd8 !important;
    --color-teal-30: #9ccfd8 !important;
    --color-teal-40: #9ccfd8 !important;
    --color-teal-50: #9ccfd8 !important;
    --color-teal-60: #9ccfd8 !important;
    --color-teal-70: #56949f !important;
    --color-teal-80: #56949f !important;
    --color-teal-90: #56949f !important;
    --color-blue-05: #3e8fb0 !important;
    --color-blue-10: #3e8fb0 !important;
    --color-blue-20: #3e8fb0 !important;
    --color-blue-30: #31748f !important;
    --color-blue-40: #31748f !important;
    --color-blue-50: #31748f !important;
    --color-blue-60: #31748f !important;
    --color-blue-70: #286983 !important;
    --color-blue-80: #286983 !important;
    --color-blue-90: #286983 !important;
    --color-purple-10: #c4a7e7 !important;
    --color-purple-20: #c4a7e7 !important;
    --color-purple-30: #c4a7e7 !important;
    --color-purple-40: #c4a7e7 !important;
    --color-purple-50: #c4a7e7 !important;
    --color-purple-60: #c4a7e7 !important;
    --color-purple-70: #907aa9 !important;
    --color-purple-80: #907aa9 !important;
    --color-purple-90: #907aa9 !important;
    --color-magenta-10: #eb6f92 !important;
    --color-magenta-20: #eb6f92 !important;
    --color-magenta-30: #eb6f92 !important;
    --color-magenta-40: #eb6f92 !important;
    --color-magenta-50: #eb6f92 !important;
    --color-magenta-60: #eb6f92 !important;
    --color-magenta-70: #b4637a !important;
    --color-magenta-80: #b4637a !important;
    --color-magenta-90: #b4637a !important;
    --color-brown-10: #ea9a97 !important;
    --color-brown-20: #ea9a97 !important;
    --color-brown-30: #ea9a97 !important;
    --color-brown-40: #ea9a97 !important;
    --color-brown-50: #ea9a97 !important;
    --color-brown-60: #ea9a97 !important;
    --color-brown-70: #d7827e !important;
    --color-brown-80: #d7827e !important;
    --color-brown-90: #d7827e !important;
    --color-gray-05: #e0def4 !important;
    --color-gray-10: #e0def4 !important;
    --color-gray-20: #908caa !important;
    --color-gray-30: #908caa !important;
    --color-gray-40: #6e6a86 !important;
    --color-gray-50: #6e6a86 !important;
    --color-gray-60: #1f1d2e !important;
    --color-gray-70: #1f1d2e !important;
    --color-gray-80: #191724 !important;
    --color-gray-90: #191724 !important;
    --color-ink-10: #e0def4 !important;
    --color-ink-20: #908caa !important;
    --color-ink-30: #908caa !important;
    --color-ink-40: #6e6a86 !important;
    --color-ink-50: #6e6a86 !important;
    --color-ink-60: #1f1d2e !important;
    --color-ink-70: #1f1d2e !important;
    --color-ink-80: #191724 !important;
    --color-ink-90: #191724 !important;
    --color-white: #e0def4 !important;
    --color-black: #191724 !important;

    --layout-background-0: var(--color-gray-80) !important;
    --layout-background-1: var(--color-gray-80) !important;
    --layout-background-2: var(--color-gray-80) !important;
    --layout-background-3: var(--color-gray-70) !important;
    --layout-background-4: var(--color-gray-70) !important;
    --layout-color-0: var(--color-white) !important;
    --layout-color-1: var(--color-gray-10) !important;
    --layout-color-2: var(--color-gray-30) !important;
    --layout-color-3: var(--color-gray-50) !important;
    --layout-border-0: var(--color-gray-70) !important;
    --layout-border-1: var(--color-gray-50) !important;
    --layout-border-2: var(--color-gray-50) !important;

    --body-background-color: var(--color-gray-80) !important;
    --body-text-color: var(--color-gray-10) !important;
    --info-text-color: var(--color-gray-20) !important;

    --in-content-page-background: rgb(25, 23, 36) !important;
    --in-content-page-color: rgb(224, 222, 244) !important;
    --in-content-text-color: var(--in-content-page-color);
    --in-content-border-color: rgba(38, 35, 58) !important;
    --in-content-border-hover: rgba(235, 188, 186) !important;
    --in-content-box-background: rgb(25, 23, 36) !important;
    --in-content-box-background-odd: rgba(31, 29, 46) !important;
    --in-content-box-info-background: rgba(25, 23, 36) !important;
    --in-content-box-border-color: rgb(38, 35, 58) !important;
    --in-content-box-info-background: var(--layout-background-2);
    --in-content-box-info-border: transparent;
    --in-content-item-selected-unfocused: rgb(31, 29, 46) !important;
    --in-content-button-background: rgb(31, 29, 46) !important;
    --in-content-button-background-hover: rgb(38, 35, 58) !important;
    --in-content-button-background-active: rgb(38, 35, 58) !important;
    --in-content-button-border-color: rgb(38, 35, 58) !important;
    --in-content-button-border-color-hover: rgb(235, 188, 186) !important;
    --in-content-primary-button-background: rgb(31, 29, 46) !important;
    --in-content-primary-button-background-hover: rgb(38, 35, 58) !important;
    --in-content-primary-button-background-active: rgb(38, 35, 58) !important;
    --in-content-primary-button-text-color: rgb(235, 188, 186) !important;
    --in-content-focus-outline-color: rgb(235, 188, 186) !important;
    --in-content-table-background: rgb(25, 23, 36) !important;
    --in-content-categories-background: var(--layout-background-2);
    --in-content-item-hover-text: var(--in-content-page-color);
    --in-content-accent-color: rgb(235, 188, 186) !important;
    --in-content-accent-color-active: rgb(235, 188, 186) !important;
    --in-content-link-color: rgb(235, 188, 186) !important;
    --in-content-link-color-hover: rgb(235, 188, 186) !important;
    --in-content-link-color-active: rgb(235, 188, 186) !important;
    --in-content-link-color-visited: var(--in-content-link-color);
    --in-content-button-text-color: var(--in-content-text-color);
    --in-content-button-text-color-hover: rgb(235, 188, 186) !important;
    --in-content-button-text-color-active: var(
        --in-content-button-text-color-hover
    );
    --in-content-button-border-color-active: var(
        --in-content-button-border-color-hover
    );
    --in-content-primary-button-text-color-hover: var(
        --in-content-primary-button-text-color
    );
    --in-content-primary-button-text-color-active: var(
        --in-content-primary-button-text-color
    );
    --in-content-primary-button-border-color: transparent;
    --in-content-primary-button-border-hover: transparent;
    --in-content-primary-button-border-active: transparent;
    --in-content-focus-outline-width: var(--focus-outline-width);
    --in-content-focus-outline-offset: var(--focus-outline-offset);
    --in-content-focus-outline-inset: var(--focus-outline-inset);
    --in-content-focus-outline: var(--focus-outline);
    --in-content-table-border-color: var(--in-content-box-border-color);
    --in-content-table-header-background: var(
        --in-content-primary-button-background
    );
    --in-content-table-header-color: var(
        --in-content-primary-button-text-color
    );
}

@-moz-document domain(proton.me)
{
    .main-area-border,
    .border-top {
        border-block-start: 0 !important;
    }
    .toolbar:not(.toolbar--in-container),
    .border-bottom,
    .message-container.is-opened .message-header {
        border-block-end: 0 !important;
    }
    .vr {
        border-inline-end: 0 !important;
    }
    .main.ui-standard,
    .toolbar-row-toolbar {
        border: 0 !important;
    }
    .logo.with-wordmark {
        background: white;
        padding: 0 8px;
        border-radius: 6px;
    }
    .topnav-list :is(div, li):has(button[class*="button-promotion"]) {
        display: none;
    }
}
