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

main[b-woh94t5qm1] {
    flex: 1;
}

.sidebar[b-woh94t5qm1] {
    /* NW Management palette: deep ink navy fading to slate (see wwwroot/theme.css). */
    background-image: linear-gradient(180deg, #071016 0%, #172532 60%, #2e3b47 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.top-row[b-woh94t5qm1] {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(16, 25, 34, 0.14);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

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

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

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

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

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

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

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

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

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

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

#blazor-error-ui[b-woh94t5qm1] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-woh94t5qm1] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ersa4ksi6z] {
    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-ersa4ksi6z] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-ersa4ksi6z] {
    height: auto;
    min-height: 4.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background-color: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

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

.brand-logo[b-ersa4ksi6z] {
    width: 180px;
    height: auto;
    display: block;
}

.bi[b-ersa4ksi6z] {
    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-ersa4ksi6z] {
    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-ersa4ksi6z] {
    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-ersa4ksi6z] {
    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-envelope-nav-menu[b-ersa4ksi6z] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-envelope-fill' viewBox='0 0 16 16'%3E%3Cpath d='M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555ZM0 4.697v7.104l5.803-3.558L0 4.697ZM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757Zm3.436-.586L16 11.801V4.697l-5.803 3.546Z'/%3E%3C/svg%3E");
}

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

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

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

    .nav-item[b-ersa4ksi6z]  .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-ersa4ksi6z]  a.active {
    /* Gold accent from the NW Management palette. */
    background-color: rgba(183, 147, 88, 0.22);
    color: #d3ba82;
    border-left: 3px solid #b79358;
}

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

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

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

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

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

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

/* One distinct white Bootstrap-icon glyph per nav item (same data-URI technique as the originals
   above). Generated from bootstrap-icons 1.11.3; the class name matches the icon name. */
.bi-bank-nav-menu[b-ersa4ksi6z] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-bank' viewBox='0 0 16 16'%3E %3Cpath d='m8 0 6.61 3h.89a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5H15v7a.5.5 0 0 1 .485.38l.5 2a.498.498 0 0 1-.485.62H.5a.498.498 0 0 1-.485-.62l.5-2A.5.5 0 0 1 1 13V6H.5a.5.5 0 0 1-.5-.5v-2A.5.5 0 0 1 .5 3h.89zM3.777 3h8.447L8 1zM2 6v7h1V6zm2 0v7h2.5V6zm3.5 0v7h1V6zm2 0v7H12V6zM13 6v7h1V6zm2-1V4H1v1zm-.39 9H1.39l-.25 1h13.72z'/%3E%3C/svg%3E");
}

.bi-wallet2-nav-menu[b-ersa4ksi6z] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-wallet2' viewBox='0 0 16 16'%3E %3Cpath d='M12.136.326A1.5 1.5 0 0 1 14 1.78V3h.5A1.5 1.5 0 0 1 16 4.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 13.5v-9a1.5 1.5 0 0 1 1.432-1.499zM5.562 3H13V1.78a.5.5 0 0 0-.621-.484zM1.5 4a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5z'/%3E%3C/svg%3E");
}

.bi-people-nav-menu[b-ersa4ksi6z] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-people' viewBox='0 0 16 16'%3E %3Cpath d='M15 14s1 0 1-1-1-4-5-4-5 3-5 4 1 1 1 1zm-7.978-1L7 12.996c.001-.264.167-1.03.76-1.72C8.312 10.629 9.282 10 11 10c1.717 0 2.687.63 3.24 1.276.593.69.758 1.457.76 1.72l-.008.002-.014.002zM11 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4m3-2a3 3 0 1 1-6 0 3 3 0 0 1 6 0M6.936 9.28a6 6 0 0 0-1.23-.247A7 7 0 0 0 5 9c-4 0-5 3-5 4q0 1 1 1h4.216A2.24 2.24 0 0 1 5 13c0-1.01.377-2.042 1.09-2.904.243-.294.526-.569.846-.816M4.92 10A5.5 5.5 0 0 0 4 13H1c0-.26.164-1.03.76-1.724.545-.636 1.492-1.256 3.16-1.275ZM1.5 5.5a3 3 0 1 1 6 0 3 3 0 0 1-6 0m3-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4'/%3E%3C/svg%3E");
}

.bi-briefcase-nav-menu[b-ersa4ksi6z] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-briefcase' viewBox='0 0 16 16'%3E %3Cpath d='M6.5 1A1.5 1.5 0 0 0 5 2.5V3H1.5A1.5 1.5 0 0 0 0 4.5v8A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-8A1.5 1.5 0 0 0 14.5 3H11v-.5A1.5 1.5 0 0 0 9.5 1zm0 1h3a.5.5 0 0 1 .5.5V3H6v-.5a.5.5 0 0 1 .5-.5m1.886 6.914L15 7.151V12.5a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5V7.15l6.614 1.764a1.5 1.5 0 0 0 .772 0M1.5 4h13a.5.5 0 0 1 .5.5v1.616L8.129 7.948a.5.5 0 0 1-.258 0L1 6.116V4.5a.5.5 0 0 1 .5-.5'/%3E%3C/svg%3E");
}

.bi-list-ul-nav-menu[b-ersa4ksi6z] {
    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-ul' viewBox='0 0 16 16'%3E %3Cpath fill-rule='evenodd' d='M5 11.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5m-3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2m0 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2m0 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2'/%3E%3C/svg%3E");
}

.bi-file-earmark-text-nav-menu[b-ersa4ksi6z] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-file-earmark-text' viewBox='0 0 16 16'%3E %3Cpath d='M5.5 7a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zM5 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5m0 2a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5'/%3E %3Cpath d='M9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.5zm0 1v2A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-cash-stack-nav-menu[b-ersa4ksi6z] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-cash-stack' viewBox='0 0 16 16'%3E %3Cpath d='M1 3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1zm7 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4'/%3E %3Cpath d='M0 5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1zm3 0a2 2 0 0 1-2 2v4a2 2 0 0 1 2 2h10a2 2 0 0 1 2-2V7a2 2 0 0 1-2-2z'/%3E%3C/svg%3E");
}

.bi-bar-chart-line-fill-nav-menu[b-ersa4ksi6z] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-bar-chart-line-fill' viewBox='0 0 16 16'%3E %3Cpath d='M11 2a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12h.5a.5.5 0 0 1 0 1H.5a.5.5 0 0 1 0-1H1v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h1V7a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v7h1z'/%3E%3C/svg%3E");
}

.bi-people-fill-nav-menu[b-ersa4ksi6z] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-people-fill' viewBox='0 0 16 16'%3E %3Cpath d='M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1zm4-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6m-5.784 6A2.24 2.24 0 0 1 5 13c0-1.355.68-2.75 1.936-3.72A6.3 6.3 0 0 0 5 9c-4 0-5 3-5 4s1 1 1 1zM4.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5'/%3E%3C/svg%3E");
}

.bi-envelope-paper-fill-nav-menu[b-ersa4ksi6z] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-envelope-paper-fill' viewBox='0 0 16 16'%3E %3Cpath fill-rule='evenodd' d='M6.5 9.5 3 7.5v-6A1.5 1.5 0 0 1 4.5 0h7A1.5 1.5 0 0 1 13 1.5v6l-3.5 2L8 8.75zM1.059 3.635 2 3.133v3.753L0 5.713V5.4a2 2 0 0 1 1.059-1.765M16 5.713l-2 1.173V3.133l.941.502A2 2 0 0 1 16 5.4zm0 1.16-5.693 3.337L16 13.372v-6.5Zm-8 3.199 7.941 4.412A2 2 0 0 1 14 16H2a2 2 0 0 1-1.941-1.516zm-8 3.3 5.693-3.162L0 6.873v6.5Z'/%3E%3C/svg%3E");
}

.bi-gear-fill-nav-menu[b-ersa4ksi6z] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-gear-fill' viewBox='0 0 16 16'%3E %3Cpath d='M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-ersa4ksi6z] {
    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 1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-ersa4ksi6z] {
    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-1zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0'/%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 0zM3 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.492z'/%3E%3C/svg%3E");
}

.bi-check2-square-nav-menu[b-ersa4ksi6z] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-check2-square' viewBox='0 0 16 16'%3E %3Cpath d='M3 14.5A1.5 1.5 0 0 1 1.5 13V3A1.5 1.5 0 0 1 3 1.5h8a.5.5 0 0 1 0 1H3a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5h10a.5.5 0 0 0 .5-.5V8a.5.5 0 0 1 1 0v5a1.5 1.5 0 0 1-1.5 1.5z'/%3E %3Cpath d='m8.354 10.354 7-7a.5.5 0 0 0-.708-.708L8 9.293 5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-ersa4ksi6z] {
    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 fill-rule='evenodd' 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.5M10 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.5'/%3E%3C/svg%3E");
}

/* /Components/Pages/Portal.razor.rz.scp.css */
/* Investor portal dashboard — NW Management branding. Palette custom properties come from
   wwwroot/theme.css (:root), with literal fallbacks so the page degrades gracefully. */

/* Full width: the 1100px cap dated from the original single-column dashboard. The redesigned
   portal is a master–detail layout (investments list beside the selected investment's charts,
   transactions, and documents), so it uses the whole window — PortalLayout supplies the outer
   padding. */
.portal-wrap[b-i0n3sjki1f] {
    width: 100%;
}

.portal-head h1[b-i0n3sjki1f] {
    margin-bottom: 0.15rem;
}

.portal-sub[b-i0n3sjki1f] {
    margin: 0;
    color: #64707a;
    font-size: 0.95rem;
}

/* ---- Panels (holdings table, transactions) ------------------------------ */

/* .portal-panel lives in theme.css (global) — scoped CSS cannot reach the shared components that
   also render these panels (InvestorDocumentsSection, OnboardingSection, FundRegistrationOffer). */

.num[b-i0n3sjki1f] {
    font-variant-numeric: tabular-nums;
}

/* ---- Fund mark above each Investments panel ------------------------------ */

/* Identifies which fund a panel belongs to when a login is invested in several. Sits above the
   navy card header, so it uses a light band to separate the branding from the panel title. */
.portal-fund-mark[b-i0n3sjki1f] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.9rem;
    background: var(--nw-white, #ffffff);
    border-bottom: 1px solid var(--nw-line-dark, rgba(16, 25, 34, 0.14));
}

.portal-fund-logo[b-i0n3sjki1f] {
    max-height: 38px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
    flex: none;
}

/* Placeholder when the fund has no logo uploaded — keeps the row height consistent so stacked
   panels stay aligned whether or not every fund has branding. */
.portal-fund-initials[b-i0n3sjki1f] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 50%;
    background: var(--nw-navy, #172532);
    color: var(--nw-accent-light, #d3ba82);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.portal-fund-name[b-i0n3sjki1f] {
    font-weight: 700;
    color: var(--nw-ink, #071016);
    line-height: 1.2;
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Portfolio-wide total, shown above the per-fund panels only when there is more than one fund. */
.portal-alltotal .card-body[b-i0n3sjki1f] {
    background: var(--nw-navy, #172532);
    color: var(--nw-white, #ffffff);
    font-weight: 600;
}

/* ---- Detail-pane tab group ---------------------------------------------- */

/* Investors get a fourth button (Request withdrawal) in this group, which no longer fits one row on
   a phone — a btn-group does not wrap, so the last button would be clipped by the card. Below the
   sm breakpoint the group wraps two-up instead; the 45% basis leaves room for exactly two per row
   whether the group has three buttons (viewer) or four (investor), and the last one on a short row
   grows to fill it. */
@media (max-width: 575.98px) {
    .portal-tabs[b-i0n3sjki1f] {
        flex-wrap: wrap;
        width: 100%;
    }

    .portal-tabs > .btn[b-i0n3sjki1f] {
        flex: 1 1 45%;
        border-radius: 0;
    }
}

/* ---- Transactions list --------------------------------------------------- */

.tx-row[b-i0n3sjki1f] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.9rem;
    align-items: center;
}

.tx-date[b-i0n3sjki1f] {
    font-size: 0.82rem;
    color: #64707a;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.tx-main[b-i0n3sjki1f] {
    min-width: 0;
}

.tx-label[b-i0n3sjki1f] {
    font-weight: 600;
    color: var(--nw-charcoal, #101922);
}

.tx-desc[b-i0n3sjki1f] {
    font-size: 0.82rem;
    color: #6a747c;
}

.tx-amount[b-i0n3sjki1f] {
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.tx-amount.negative[b-i0n3sjki1f] {
    color: #a4373a;
}

@media (max-width: 560px) {
    .tx-row[b-i0n3sjki1f] {
        grid-template-columns: 1fr auto;
    }

    .tx-date[b-i0n3sjki1f] {
        grid-column: 1 / -1;
    }
}

/* Modern account controls (header top-right): initials avatar + name button with a dropdown. */
.portal-avatar[b-i0n3sjki1f] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    background: #b3462f;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .02em;
    flex: 0 0 auto;
}

.portal-avatar-lg[b-i0n3sjki1f] {
    width: 2.4rem;
    height: 2.4rem;
    font-size: .95rem;
}

/* Invisible full-screen layer under the menu so any outside click closes it. */
.portal-menu-backdrop[b-i0n3sjki1f] {
    position: fixed;
    inset: 0;
    z-index: 1049;
}

.portal-menu[b-i0n3sjki1f] {
    position: absolute;
    right: 0;
    top: calc(100% + .35rem);
    min-width: 240px;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: .5rem;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .18);
    z-index: 1050;
    overflow: hidden;
}

.portal-menu-head[b-i0n3sjki1f] {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem .9rem;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    background: var(--bs-tertiary-bg, #f8f9fa);
}

.portal-menu-item[b-i0n3sjki1f] {
    display: block;
    width: 100%;
    text-align: left;
    padding: .55rem .9rem;
    border: 0;
    background: none;
    color: inherit;
    text-decoration: none;
    font-size: .95rem;
}

    .portal-menu-item:hover[b-i0n3sjki1f] {
        background: var(--bs-tertiary-bg, #f1f3f5);
        color: inherit;
    }

.portal-menu-signout[b-i0n3sjki1f] {
    color: var(--bs-danger, #b02a37);
    border-top: 1px solid var(--bs-border-color, #dee2e6);
}
