@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-7b7chz2ju9] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-7b7chz2ju9] {
    flex: 1;
}

.sidebar[b-7b7chz2ju9] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-7b7chz2ju9] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-7b7chz2ju9]  a, .top-row[b-7b7chz2ju9]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-7b7chz2ju9]  a:hover, .top-row[b-7b7chz2ju9]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-7b7chz2ju9]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-7b7chz2ju9] {
        justify-content: space-between;
    }

    .top-row[b-7b7chz2ju9]  a, .top-row[b-7b7chz2ju9]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-7b7chz2ju9] {
        flex-direction: row;
    }

    .sidebar[b-7b7chz2ju9] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-7b7chz2ju9] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-7b7chz2ju9]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-7b7chz2ju9], article[b-7b7chz2ju9] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-7b7chz2ju9] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-7b7chz2ju9] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-pfcf9g1b3h] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-pfcf9g1b3h] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-pfcf9g1b3h] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-pfcf9g1b3h] {
    font-size: 1.1rem;
}

.bi[b-pfcf9g1b3h] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-pfcf9g1b3h] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-pfcf9g1b3h] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-pfcf9g1b3h] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-pfcf9g1b3h] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-pfcf9g1b3h] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-pfcf9g1b3h] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-pfcf9g1b3h] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-pfcf9g1b3h] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-pfcf9g1b3h] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-pfcf9g1b3h] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-pfcf9g1b3h] {
        padding-bottom: 1rem;
    }

    .nav-item[b-pfcf9g1b3h]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-pfcf9g1b3h]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-pfcf9g1b3h]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-pfcf9g1b3h] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-pfcf9g1b3h] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-pfcf9g1b3h] {
        display: none;
    }

    .nav-scrollable[b-pfcf9g1b3h] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

.nav-tree-sublist[b-pfcf9g1b3h]  a {
    padding-left: 2.25rem !important;
}

.nav-tree-sublist[b-pfcf9g1b3h]  a::before {
    left: 0.75rem !important;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-s1j6ktwfmg],
.components-reconnect-repeated-attempt-visible[b-s1j6ktwfmg],
.components-reconnect-failed-visible[b-s1j6ktwfmg],
.components-pause-visible[b-s1j6ktwfmg],
.components-resume-failed-visible[b-s1j6ktwfmg],
.components-rejoining-animation[b-s1j6ktwfmg] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-s1j6ktwfmg],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-s1j6ktwfmg],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-s1j6ktwfmg],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-s1j6ktwfmg],
#components-reconnect-modal.components-reconnect-retrying[b-s1j6ktwfmg],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-s1j6ktwfmg],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-s1j6ktwfmg],
#components-reconnect-modal.components-reconnect-failed[b-s1j6ktwfmg],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-s1j6ktwfmg] {
    display: block;
}


#components-reconnect-modal[b-s1j6ktwfmg] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-s1j6ktwfmg 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-s1j6ktwfmg 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-s1j6ktwfmg 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-s1j6ktwfmg]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-s1j6ktwfmg 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-s1j6ktwfmg {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-s1j6ktwfmg {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-s1j6ktwfmg {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-s1j6ktwfmg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-s1j6ktwfmg] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-s1j6ktwfmg] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-s1j6ktwfmg] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-s1j6ktwfmg] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-s1j6ktwfmg] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-s1j6ktwfmg] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-s1j6ktwfmg 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-s1j6ktwfmg] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-s1j6ktwfmg {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Admin/Email.razor.rz.scp.css */
/* Admin email client — themed via DaisyUI 5 CSS variables so it follows triad-light / triad-dark. */
.mail-shell[b-f62xy91in7] {
    display: grid;
    grid-template-columns: 240px minmax(320px, 420px) 1fr;
    height: calc(100vh - 8rem);
    background: var(--color-base-100);
    color: var(--color-base-content);
    border: 1px solid var(--color-base-300);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 45px -25px rgb(0 0 0 / .35);
}

/* ---------- Shared ---------- */
.icon-btn[b-f62xy91in7] {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2rem; height: 2rem; border-radius: 9999px;
    color: inherit; opacity: .8; cursor: pointer; list-style: none;
    transition: background .15s ease, opacity .15s ease, color .15s ease;
}
.icon-btn[b-f62xy91in7]::-webkit-details-marker { display: none; }
.icon-btn:hover[b-f62xy91in7] { background: color-mix(in srgb, var(--color-base-content) 10%, transparent); opacity: 1; }
.icon-btn:disabled[b-f62xy91in7] { opacity: .3; pointer-events: none; }
.icon-btn.on[b-f62xy91in7] { color: var(--color-primary); background: color-mix(in srgb, var(--color-primary) 14%, transparent); opacity: 1; }
.icon-btn.danger:hover[b-f62xy91in7] { color: var(--color-error); }
.mail-muted[b-f62xy91in7] { opacity: .6; font-size: 12px; }

/* ---------- Sidebar ---------- */
.mail-sidebar[b-f62xy91in7] {
    padding: 16px 12px;
    border-right: 1px solid var(--color-base-300);
    overflow-y: auto;
    background: var(--color-base-200);
}
.mail-compose-btn[b-f62xy91in7] {
    border-radius: 14px; margin-bottom: 14px;
    box-shadow: 0 8px 20px -8px var(--color-primary);
    transition: transform .15s ease, box-shadow .15s ease;
}
.mail-compose-btn:hover[b-f62xy91in7] { transform: translateY(-1px); box-shadow: 0 12px 26px -10px var(--color-primary); }
.mail-account[b-f62xy91in7] {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; opacity: .7; margin: 0 8px 12px; overflow: hidden; white-space: nowrap;
}
.mail-account span[b-f62xy91in7] { overflow: hidden; text-overflow: ellipsis; }
.mail-folder[b-f62xy91in7] {
    display: flex; align-items: center; gap: 12px;
    padding: 7px 12px; margin: 2px 0;
    border-radius: 0 20px 20px 0;
    cursor: pointer; font-size: 14px;
    transition: background .15s ease;
}
.mail-folder:hover[b-f62xy91in7] { background: color-mix(in srgb, var(--color-base-content) 8%, transparent); }
.mail-folder.active[b-f62xy91in7] {
    background: color-mix(in srgb, var(--color-primary) 16%, transparent);
    color: var(--color-primary); font-weight: 600;
}
[data-theme="triad-dark"] .mail-folder.active[b-f62xy91in7] { color: var(--color-accent); }
.mail-folder .name[b-f62xy91in7] { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-folder .count[b-f62xy91in7] {
    font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 10px;
    background: var(--color-primary); color: var(--color-primary-content);
}
.mail-folder .del[b-f62xy91in7] { display: none; opacity: .6; }
.mail-folder .del:hover[b-f62xy91in7] { opacity: 1; color: var(--color-error); }
.mail-folder:hover .del[b-f62xy91in7] { display: inline-flex; }
.mail-folder .del svg[b-f62xy91in7] { width: 14px; height: 14px; }

/* ---------- List ---------- */
.mail-list[b-f62xy91in7] { display: flex; flex-direction: column; border-right: 1px solid var(--color-base-300); min-width: 0; }
.mail-list-toolbar[b-f62xy91in7] {
    display: flex; align-items: center; gap: 2px;
    padding: 6px 8px; border-bottom: 1px solid var(--color-base-300);
    min-height: 56px; flex-wrap: wrap;
}
.mail-search[b-f62xy91in7] { max-width: 210px; }
.mail-search svg[b-f62xy91in7] { width: 16px; height: 16px; opacity: .5; }
.mail-items[b-f62xy91in7] { flex: 1; overflow-y: auto; }
.mail-item[b-f62xy91in7] {
    display: flex; align-items: flex-start; gap: 8px;
    padding: 10px 8px 10px 6px;
    border-bottom: 1px solid var(--color-base-300);
    border-left: 3px solid transparent;
    cursor: pointer; transition: background .12s ease;
}
.mail-item:hover[b-f62xy91in7] { background: color-mix(in srgb, var(--color-base-content) 5%, transparent); }
.mail-item.active[b-f62xy91in7] { background: color-mix(in srgb, var(--color-primary) 10%, transparent); border-left-color: var(--color-primary); }
.mail-item.unread[b-f62xy91in7] { border-left-color: color-mix(in srgb, var(--color-secondary) 80%, transparent); }
.mail-item.unread .from[b-f62xy91in7], .mail-item.unread .subject[b-f62xy91in7] { font-weight: 700; }
.mail-item .body[b-f62xy91in7] { flex: 1; min-width: 0; }
.mail-item .row1[b-f62xy91in7] { display: flex; gap: 8px; align-items: baseline; }
.mail-item .from[b-f62xy91in7] { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.mail-item .date[b-f62xy91in7] { font-size: 12px; opacity: .65; white-space: nowrap; }
.mail-item .subject[b-f62xy91in7] { font-size: 13px; display: flex; align-items: center; gap: 4px; min-width: 0; }
.mail-item .subject span[b-f62xy91in7], .mail-item .preview[b-f62xy91in7] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-item .preview[b-f62xy91in7] { font-size: 12px; opacity: .6; }
.mail-item .flag[b-f62xy91in7] { opacity: 0; }
.mail-item:hover .flag[b-f62xy91in7] { opacity: .7; }
.mail-item .flag.flagged[b-f62xy91in7] { opacity: 1; color: var(--color-warning); }

.avatar-dot[b-f62xy91in7] {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 600; font-size: 13px; flex-shrink: 0; margin-top: 2px;
}
.avatar-dot.lg[b-f62xy91in7] { width: 44px; height: 44px; font-size: 16px; }

.mail-pager[b-f62xy91in7] {
    display: flex; align-items: center; justify-content: flex-end; gap: 4px;
    padding: 4px 8px; border-top: 1px solid var(--color-base-300);
}

/* ---------- Reader ---------- */
.mail-reader[b-f62xy91in7] { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--color-base-100); }
.mail-reader-toolbar[b-f62xy91in7] {
    display: flex; align-items: center; gap: 2px;
    padding: 4px 12px; min-height: 56px;
    border-bottom: 1px solid var(--color-base-300);
}
.mail-back[b-f62xy91in7] { display: none; }
.mail-message[b-f62xy91in7] { flex: 1; overflow-y: auto; padding: 20px 28px; animation: mailFadeIn-b-f62xy91in7 .2s ease; }
.mail-message .subject[b-f62xy91in7] { font-size: 22px; font-weight: 600; margin: 0 0 16px; }
.mail-message .meta[b-f62xy91in7] { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.mail-message .who[b-f62xy91in7] { flex: 1; min-width: 0; font-size: 14px; word-break: break-word; }
.mail-message .when[b-f62xy91in7] { white-space: nowrap; }
.mail-frame[b-f62xy91in7] { width: 100%; min-height: 60vh; border: 1px solid var(--color-base-300); border-radius: 10px; background: #fff; }
.mail-plain[b-f62xy91in7] { white-space: pre-wrap; font-family: inherit; font-size: 14px; margin: 0; }
.quick-reply[b-f62xy91in7] { display: flex; gap: 8px; margin-top: 20px; }

.attachments[b-f62xy91in7] { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.attachment[b-f62xy91in7] {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 8px;
    border: 1px solid var(--color-base-300);
    color: inherit; text-decoration: none; font-size: 13px;
    transition: background .15s, border-color .15s;
}
.attachment:hover[b-f62xy91in7] { background: var(--color-base-200); border-color: var(--color-primary); }

.mail-empty[b-f62xy91in7] {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; opacity: .4; padding: 40px; height: 100%;
}

/* ---------- Compose ---------- */
.mail-compose[b-f62xy91in7] { display: flex; flex-direction: column; height: 100%; animation: mailFadeIn-b-f62xy91in7 .2s ease; }
.compose-fields[b-f62xy91in7] { padding: 12px 20px 0; display: flex; flex-direction: column; gap: 6px; }
.editor-toolbar[b-f62xy91in7] {
    display: flex; gap: 2px; padding: 4px 16px; margin-top: 10px;
    border-top: 1px solid var(--color-base-300);
    border-bottom: 1px solid var(--color-base-300);
}
.mail-editor[b-f62xy91in7] { flex: 1; overflow-y: auto; padding: 16px 20px; outline: none; font-size: 14px; line-height: 1.5; min-height: 200px; }
.mail-editor[b-f62xy91in7]  blockquote { opacity: .75; }
.mail-editor[b-f62xy91in7]  ul { list-style: disc; padding-left: 1.5rem; }
.mail-editor[b-f62xy91in7]  ol { list-style: decimal; padding-left: 1.5rem; }
.mail-editor[b-f62xy91in7]  a { color: var(--color-accent); text-decoration: underline; }
.compose-actions[b-f62xy91in7] {
    display: flex; align-items: center; gap: 8px; padding: 12px 20px;
    border-top: 1px solid var(--color-base-300);
}

@keyframes mailFadeIn-b-f62xy91in7 { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .mail-shell[b-f62xy91in7] { grid-template-columns: 200px 1fr; }
    .mail-reader[b-f62xy91in7] { display: none; }
    .mail-reader.open[b-f62xy91in7] { display: flex; position: fixed; inset: 4rem 0 0 0; z-index: 1200; }
    .mail-back[b-f62xy91in7] { display: inline-flex; }
}
@media (max-width: 700px) {
    .mail-shell[b-f62xy91in7] { grid-template-columns: 1fr; }
    .mail-sidebar[b-f62xy91in7] { display: none; }
}
