[hidden] { display: none !important; }

body.splash-page {
    overflow: auto;
}

.splash {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    position: relative;
    z-index: 1;
}

.splash-card {
    width: 100%;
    max-width: 460px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-md), 0 0 60px rgba(0, 170, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.splash-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--neon-pink), var(--neon-blue), transparent);
    box-shadow: 0 0 12px rgba(255, 34, 85, 0.4);
}

.splash-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 34, 85, 0.12), rgba(0, 170, 255, 0.12));
    border: 1px solid var(--border-color);
}

.splash-logo svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
    filter: drop-shadow(0 0 12px rgba(255, 34, 85, 0.5));
}

.splash-logo-locked svg {
    color: var(--neon-yellow);
    filter: drop-shadow(0 0 12px rgba(255, 204, 0, 0.45));
}

.splash-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.splash-title span {
    background: linear-gradient(135deg, var(--accent) 0%, var(--neon-pink) 50%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 16px rgba(255, 34, 85, 0.4));
}

.splash-sub {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.splash-meta {
    color: var(--text-muted);
    font-size: 12px;
    margin: 0 0 20px 0;
}

.splash-btn {
    width: 100%;
}

body.mail-app {
    overflow: hidden;
}

.mail-shell {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: 280px 380px 1fr;
    min-height: 0;
}

@media (max-width: 1100px) {
    .mail-shell { grid-template-columns: 240px 320px 1fr; }
}

.mail-icon-btn.mail-back-btn { display: none; }
.mail-sidebar-backdrop { display: none; }

@media (max-width: 880px) {
    body.mail-app .mail-shell {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }
    body.mail-app .mail-sidebar {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 280px;
        max-width: 85vw;
        z-index: 1100;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }
    body.mail-app.show-sidebar .mail-sidebar {
        transform: translateX(0);
    }
    body.mail-app .mail-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(2px);
        z-index: 1099;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }
    body.mail-app.show-sidebar .mail-sidebar-backdrop {
        opacity: 1;
        visibility: visible;
    }

    body.mail-app .mail-reader { display: none; }
    body.mail-app .mail-list-pane { display: flex; }

    body.mail-app.show-reader .mail-list-pane { display: none; }
    body.mail-app.show-reader .mail-reader { display: flex; }

    .mail-icon-btn.mail-back-btn { display: inline-flex; }
    .mail-icon-btn.mail-burger-btn { display: inline-flex; }
    .mail-reader-actions { padding: 12px 16px; }
    .mail-reader-header { padding: 18px 16px 12px; }
    .mail-password-bar { padding: 10px 16px; }
    .mail-plain { margin: 14px 16px; padding: 16px 16px; }
}

.mail-sidebar {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(8, 12, 22, 0.98) 100%);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 1px 0 40px rgba(0, 170, 255, 0.06);
}

.mail-sidebar-header {
    padding: 20px 22px;
    border-bottom: 1px solid var(--border-color);
}

.mail-sidebar-header .sidebar-logo span {
    font-size: 16px;
}

.mail-scope {
    padding: 16px 18px 8px;
}

.mail-scope-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.mail-scope-toggle {
    display: flex;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3px;
    gap: 2px;
}

.mail-scope-btn {
    flex: 1;
    padding: 7px 10px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mail-scope-btn:hover {
    color: var(--text-primary);
}

.mail-scope-btn.active {
    background: var(--bg-secondary);
    color: var(--text-primary);
    box-shadow: 0 0 12px rgba(255, 34, 85, 0.18);
    background-image: linear-gradient(135deg, var(--accent) 0%, var(--neon-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mail-mailboxes {
    flex: 1;
    overflow-y: auto;
    padding: 12px 12px 8px;
}

.mail-search {
    position: relative;
    margin: 4px 4px 12px;
}

.mail-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    color: var(--text-muted);
    pointer-events: none;
}

.mail-search-input {
    width: 100%;
    padding: 8px 30px 8px 32px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
    transition: all 0.15s ease;
}

.mail-search-input:focus {
    outline: none;
    border-color: rgba(0, 170, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.1);
}

.mail-search-input::placeholder { color: var(--text-muted); }

.mail-search-clear {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 4px;
}

.mail-search-clear:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.mail-search-clear svg { width: 12px; height: 12px; }

.mail-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 8px);
    margin: 0 4px 12px;
    padding: 9px 12px;
    background: linear-gradient(135deg, rgba(255, 34, 85, 0.1), rgba(170, 85, 255, 0.08));
    border: 1px dashed rgba(255, 68, 170, 0.4);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mail-add-btn:hover {
    background: linear-gradient(135deg, rgba(255, 34, 85, 0.18), rgba(170, 85, 255, 0.14));
    border-color: var(--neon-pink);
    box-shadow: 0 0 14px rgba(255, 68, 170, 0.18);
}

.mail-add-btn svg {
    width: 14px;
    height: 14px;
    color: var(--neon-pink);
    filter: drop-shadow(0 0 6px rgba(255, 68, 170, 0.5));
}

.mail-create-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 8px);
    margin: 0 4px 12px;
    padding: 9px 12px;
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.12), rgba(0, 255, 221, 0.08));
    border: 1px solid rgba(0, 170, 255, 0.4);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mail-create-btn:hover {
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.2), rgba(0, 255, 221, 0.14));
    border-color: var(--neon-blue);
    box-shadow: 0 0 14px rgba(0, 170, 255, 0.22);
}

.mail-create-btn svg {
    width: 14px;
    height: 14px;
    color: var(--neon-blue);
    filter: drop-shadow(0 0 6px rgba(0, 170, 255, 0.5));
}

.mail-result-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-top: 14px;
}

.mail-result-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    flex-shrink: 0;
}

.mail-result-value {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--neon-cyan);
    overflow-wrap: anywhere;
    text-shadow: 0 0 10px rgba(0, 255, 221, 0.3);
}

.radio-group {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
}

.radio-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
}

.radio-option input[type="radio"] {
    accent-color: var(--accent);
    cursor: pointer;
}

.mailbox-action-target {
    margin: 0 0 14px;
    padding: 10px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--neon-cyan);
    overflow-wrap: anywhere;
}

.mailbox-actions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mailbox-action-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 12px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    width: 100%;
}

.mailbox-action-btn:hover {
    background: var(--bg-hover);
    border-color: rgba(0, 170, 255, 0.4);
    box-shadow: 0 0 12px rgba(0, 170, 255, 0.12);
}

.mailbox-action-btn .action-title {
    font-size: 14px;
    font-weight: 500;
}

.mailbox-action-btn .action-help {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.mailbox-action-btn.danger:hover {
    background: rgba(255, 34, 85, 0.08);
    border-color: rgba(255, 34, 85, 0.4);
    box-shadow: 0 0 12px rgba(255, 34, 85, 0.18);
}

.mailbox-action-btn.danger .action-title {
    color: var(--danger);
}

.mail-mailboxes-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: linear-gradient(90deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mail-mailbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 13.5px;
    text-align: left;
    cursor: pointer;
    border-radius: var(--radius-md);
    margin-bottom: 2px;
    transition: all 0.15s ease;
    position: relative;
}

.mail-mailbox-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.7;
}

.mail-mailbox-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.mail-mailbox-item:hover svg {
    color: var(--neon-blue);
    opacity: 1;
}

.mail-mailbox-item.active {
    background: var(--accent-glow);
    color: var(--text-primary);
}

.mail-mailbox-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background: linear-gradient(180deg, var(--accent), var(--neon-pink));
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px var(--accent);
}

.mail-mailbox-item.active svg {
    color: var(--accent);
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(255, 34, 85, 0.6));
}

.mail-mailbox-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mail-mailbox-pip {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
    flex-shrink: 0;
}

.mail-empty-mini {
    padding: 12px;
    color: var(--text-muted);
    font-size: 12.5px;
    text-align: center;
}

.mail-empty-mini.error {
    color: var(--danger);
}

.mail-sidebar-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--border-color);
}

.mail-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mail-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--neon-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
    overflow: hidden;
}

.mail-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.mail-user-meta {
    flex: 1;
    overflow: hidden;
}

.mail-user-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mail-user-role {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mail-list-pane {
    background: rgba(10, 14, 26, 0.7);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

.mail-list-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.mail-list-header-text {
    flex: 1;
    min-width: 0;
}

.mail-icon-btn.mail-burger-btn { display: none; }

.mail-list-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 2px 0;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mail-list-meta {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.mail-icon-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    padding: 0;
}

.mail-icon-btn:hover {
    color: var(--neon-blue);
    border-color: rgba(0, 170, 255, 0.4);
    box-shadow: 0 0 12px rgba(0, 170, 255, 0.18);
}

.mail-icon-btn.copied {
    color: var(--neon-green);
    border-color: rgba(0, 255, 136, 0.4);
}

.mail-icon-btn svg {
    width: 14px;
    height: 14px;
}

.mail-list-scroll {
    flex: 1;
    overflow-y: auto;
    position: relative;
}

.mail-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mail-row {
    display: flex;
    gap: 10px;
    padding: 12px 16px 12px 12px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.15s ease;
    position: relative;
}

.mail-row:hover {
    background: rgba(0, 170, 255, 0.05);
}

.mail-row.active {
    background: linear-gradient(90deg, rgba(255, 34, 85, 0.1), rgba(170, 85, 255, 0.05));
    box-shadow: inset 3px 0 0 var(--accent);
}

.mail-row.active::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 34, 85, 0.04), transparent 60%);
}

.mail-row-pip {
    width: 8px;
    height: 8px;
    margin-top: 8px;
    border-radius: 50%;
    background: transparent;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.mail-row.unseen .mail-row-pip {
    background: var(--neon-blue);
    box-shadow: 0 0 8px rgba(0, 170, 255, 0.7);
}

.mail-row-flag {
    margin-top: 4px;
    width: 14px;
    height: 14px;
    color: var(--text-muted);
    opacity: 0;
    flex-shrink: 0;
}

.mail-row-flag svg {
    width: 100%;
    height: 100%;
}

.mail-row.flagged .mail-row-flag {
    opacity: 1;
    color: var(--neon-yellow);
    filter: drop-shadow(0 0 6px rgba(255, 204, 0, 0.55));
}

.mail-row-orphan {
    margin-top: 4px;
    width: 14px;
    height: 14px;
    color: var(--warning);
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(255, 204, 0, 0.5));
    cursor: help;
}

.mail-row-orphan svg { width: 100%; height: 100%; }

.mail-row-main {
    flex: 1;
    min-width: 0;
}

.mail-row-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.mail-row-from {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mail-row.unseen .mail-row-from {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mail-row-date {
    font-size: 11.5px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    flex-shrink: 0;
}

.mail-row-subject {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mail-row.unseen .mail-row-subject {
    color: var(--text-primary);
    font-weight: 500;
}

.mail-row-intro {
    font-size: 12px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mail-list-loader,
.mail-list-empty {
    text-align: center;
    padding: 24px 16px;
    color: var(--text-muted);
    font-size: 13px;
}

.mail-list-sentinel {
    height: 1px;
}

.mail-reader {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent;
    min-width: 0;
}

.mail-reader-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-align: center;
    padding: 40px;
}

.mail-reader-empty svg {
    width: 56px;
    height: 56px;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.4;
}

.mail-reader-empty h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: var(--text-secondary);
}

.mail-reader-empty p {
    font-size: 13px;
    margin: 0;
}

.mail-reader-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    background: var(--bg-secondary);
}

.mail-reader-header {
    padding: 24px 28px 16px;
    border-bottom: 1px solid var(--border-color);
}

.mail-reader-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.mail-reader-subject {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

@media (max-width: 880px) {
    .mail-reader-subject { font-size: 18px; }
}

.mail-reader-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.mail-reader-from {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mail-reader-from-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--neon-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.mail-reader-from-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mail-reader-from-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mail-reader-from-addr {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mail-reader-date {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    flex-shrink: 0;
}

.mail-reader-to {
    font-size: 12.5px;
    color: var(--text-muted);
    word-break: break-all;
}

.mail-reader-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
    flex-wrap: wrap;
}

.mail-reader-actions .btn.is-active {
    color: var(--neon-yellow);
    border-color: rgba(255, 204, 0, 0.4) !important;
    background: rgba(255, 204, 0, 0.08);
}

.mail-reader-actions-spacer {
    flex: 1;
}

.mail-password-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 28px;
    background: rgba(0, 170, 255, 0.04);
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
}

.mail-password-label {
    color: var(--text-muted);
    font-size: 12px;
}

.mail-password-value {
    flex: 1;
    font-family: var(--font-mono);
    color: var(--neon-cyan);
    font-size: 13px;
    text-shadow: 0 0 10px rgba(0, 255, 221, 0.3);
    overflow: hidden;
    text-overflow: ellipsis;
}

.mail-reader-body {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    background: var(--bg-primary);
}

.mail-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.mail-plain {
    margin: 0;
    padding: 24px 28px;
    background: transparent;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-primary);
    white-space: pre-wrap;
    word-wrap: break-word;
    min-height: 100%;
    box-sizing: border-box;
}
