@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.mnccjmrpdk.bundle.scp.css';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#blazor-error-ui[b-u9doetyow2] {
    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-u9doetyow2] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ybmfkxjc5i] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.sidebar[b-ybmfkxjc5i] {
    background: #173B74;
    background-image: linear-gradient(180deg,rgba(23, 59, 116, 1) 0%, rgba(112, 133, 165, 1) 100%);
}

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

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

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

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

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

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

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

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

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

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

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

/* User pill in top bar */
.user-pill[b-ybmfkxjc5i] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(23,59,116,0.07);
    border: 1px solid rgba(23,59,116,0.15);
    border-radius: 999px;
    padding: 0.3rem 0.85rem 0.3rem 0.35rem;
}

.user-pill-avatar[b-ybmfkxjc5i] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #173B74;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-pill-identity[b-ybmfkxjc5i] {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.user-pill-name[b-ybmfkxjc5i] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #173B74;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.user-pill-email[b-ybmfkxjc5i] {
    font-size: 0.72rem;
    font-weight: 500;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

/* When the name is shown, the email is the secondary line; when it isn't,
   the email carries the normal weight. */
.user-pill-identity .user-pill-email:only-child[b-ybmfkxjc5i] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #344155;
}

.top-row-signout[b-ybmfkxjc5i] {
    margin-left: 0.75rem;
    border: none;
    display: flex;
}

#blazor-error-ui[b-ybmfkxjc5i] {
    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-ybmfkxjc5i] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* Bottom Sticky Banner Styling */
.progress-bottom-banner[b-ybmfkxjc5i] {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background-color: #ffffff;
    border-top: 1px solid #dee2e6;
    z-index: 1060; /* Higher than standard page content, below modals */
    padding: 10px 24px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08);
}

.banner-container[b-ybmfkxjc5i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
}

.banner-text-info[b-ybmfkxjc5i] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 250px;
}

.banner-progress-wrapper[b-ybmfkxjc5i] {
    flex: 2;
    min-width: 300px;
}

.banner-actions[b-ybmfkxjc5i] {
    display: flex;
    align-items: center;
}

/* THE SCROLL BUFFER FIX */
main[b-ybmfkxjc5i] {
    transition: padding-bottom 0.2s ease-in-out;
}

/* Dynamically pushes content up by 75px when progress bar is active so nothing is covered */
main.has-progress-banner[b-ybmfkxjc5i] {
    padding-bottom: 75px !important;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ── Brand header ── */
.nav-brand[b-rgt5e91kxv] {
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    background: rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-brand-link[b-rgt5e91kxv] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #fff;
}

.nav-brand-icon[b-rgt5e91kxv] {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.nav-brand-text[b-rgt5e91kxv] {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #fff;
}

/* ── Section labels ── */
.nav-section-label[b-rgt5e91kxv] {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    padding: 1.1rem 1.25rem 0.4rem;
}

.nav-divider[b-rgt5e91kxv] {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 0.5rem 1rem;
}

/* ── Nav items ── */
.nav-item[b-rgt5e91kxv] {
    font-size: 0.875rem;
    padding-bottom: 0.15rem;
}

.nav-item[b-rgt5e91kxv]  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255,255,255,0.7);
    background: none;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    width: 100%;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
    position: relative;
}

.nav-item[b-rgt5e91kxv]  .nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding-left: 1.1rem;
    text-decoration: none;
}

.nav-item[b-rgt5e91kxv]  a.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-weight: 600;
    border-left: 3px solid #fff;
    padding-left: calc(0.85rem - 3px);
}

/* ── Nav icons ── */
.nav-icon[b-rgt5e91kxv] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.85;
}

.nav-item[b-rgt5e91kxv]  a.active .nav-icon {
    opacity: 1;
}

/* ── Mobile toggler ── */
.navbar-toggler[b-rgt5e91kxv] {
    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-rgt5e91kxv] {
    background-color: rgba(255,255,255,0.5);
}

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

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

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

    .nav-scrollable[b-rgt5e91kxv] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
        padding: 0.5rem 0;
    }
}
/* /Components/Pages/Account.razor.rz.scp.css */
/* Consolidated Account page CSS (duplicates removed; behavior unchanged) */

/* Page header */
.ac-top[b-qs0mok45uj] {
    padding: 1.25rem 1.5rem 0.5rem;
}

.ac-top-inner[b-qs0mok45uj] {
    max-width: none;
}

.ac-page-header[b-qs0mok45uj] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8faff 0%, #eef3fb 100%);
    border: 1px solid #d6e2f0;
    border-left: 4px solid #173B74;
    border-radius: 10px;
}

.ac-page-header-icon[b-qs0mok45uj] {
    width: 44px;
    height: 44px;
    background: #173B74;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.ac-page-header-top[b-qs0mok45uj] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.2rem;
}

.ac-title[b-qs0mok45uj] {
    font-size: 1.4rem;
    font-weight: 700;
    color: #173B74;
    margin: 0;
}

.ac-admin-badge[b-qs0mok45uj] {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    background: #173B74;
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
}

.ac-sub[b-qs0mok45uj] {
    margin: 0;
    color: #6c757d;
    font-size: 0.88rem;
}

/* Page grid */
.ac-page[b-qs0mok45uj] {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 1.25rem;
    padding: 0 1.5rem 1.5rem;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    align-items: start;
    min-height: 100%;
}

@media (max-width: 900px) {
    .ac-page[b-qs0mok45uj] {
        grid-template-columns: 1fr;
    }
}

/* Columns */
.ac-left[b-qs0mok45uj],
.ac-right[b-qs0mok45uj] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Profile hero */
.ac-profile-card[b-qs0mok45uj] {
    background: linear-gradient(135deg, #173B74 0%, #7085A5 100%);
    color: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 6px 18px rgba(23,59,116,0.08);
}

.ac-profile-info[b-qs0mok45uj] {
    min-width: 0;
}

.ac-name[b-qs0mok45uj] {
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
}

.ac-email[b-qs0mok45uj] {
    font-size: 0.88rem;
    opacity: 0.9;
    margin-top: 0.25rem;
    color: white;
}

/* Cards */
.ac-card[b-qs0mok45uj] {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1.15rem;
    box-shadow: 0 2px 8px rgba(23,59,116,0.03);
}

.ac-danger-card[b-qs0mok45uj] {
    border-color: #f5c6cb;
}

.ac-card-header[b-qs0mok45uj] {
    font-size: 0.92rem;
    font-weight: 700;
    color: #173B74;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.ac-danger-desc[b-qs0mok45uj] {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* Forms / fields */
.ac-form[b-qs0mok45uj] {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
/* single source of truth for spacing */
.ac-field[b-qs0mok45uj] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

    .ac-field label[b-qs0mok45uj] {
        font-size: 0.78rem;
        font-weight: 600;
        color: #6c757d;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

/* Inputs (keep visual style and ensure full width) */
.form-input[b-qs0mok45uj] {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    background: #f8f9fa;
    box-sizing: border-box;
}

    .form-input:focus[b-qs0mok45uj] {
        border-color: #173B74;
        box-shadow: 0 0 0 3px rgba(23,59,116,0.08);
        background: #fff;
    }

/* Row/grid handling: default two-column on wider, single column on mobile.
   Page-scoped overrides below will force stacking where required. */
.form-row[b-qs0mok45uj] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

@media (max-width: 600px) {
    .form-row[b-qs0mok45uj] {
        grid-template-columns: 1fr;
    }
}

/* Actions / buttons */
.ac-actions[b-qs0mok45uj] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

/* Messages */
.ac-saved[b-qs0mok45uj] {
    color: #28a745;
    font-size: 0.9rem;
    font-weight: 600;
}

.ac-msg-error[b-qs0mok45uj] {
    background: #fff5f5;
    border: 1px solid #f5c6cb;
    color: #7d0d1b;
    border-radius: 6px;
    padding: 0.45rem 0.75rem;
    font-size: 0.88rem;
}

.ac-msg-success[b-qs0mok45uj] {
    background: #f0fff4;
    border: 1px solid #c3e6cb;
    color: #28a745;
    border-radius: 6px;
    padding: 0.45rem 0.75rem;
    font-size: 0.88rem;
}

/* Right-column placeholders */
.ac-stat-grid[b-qs0mok45uj] {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 0.75rem;
}

.ac-stat-pill[b-qs0mok45uj] {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 0.8rem;
    text-align: center;
}

.ac-stat-val[b-qs0mok45uj] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #173B74;
}

.ac-stat-lbl[b-qs0mok45uj] {
    font-size: 0.73rem;
    color: #6c757d;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Timeline / empty */
.ac-empty[b-qs0mok45uj] {
    color: #adb5bd;
    font-size: 0.88rem;
    text-align: center;
    padding: 1.25rem 0;
}

.ac-timeline[b-qs0mok45uj] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ac-tl-item[b-qs0mok45uj] {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.ac-tl-title[b-qs0mok45uj] {
    font-weight: 600;
    color: #173B74;
}

.ac-tl-meta[b-qs0mok45uj] {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Legacy / compatibility */
.btn-danger[b-qs0mok45uj] {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.55rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
}

.no-border-form[b-qs0mok45uj], .no-border-form *[b-qs0mok45uj] {
    box-sizing: border-box !important;
}

/* ========================
   Page-scoped overrides (single consolidated block)
   Purpose: neutralize global `form` rule from wwwroot/app.css and ensure
   consistent stacking & spacing for profile/password forms.
   All overrides scoped under .ac-page to avoid changing globals.
   ======================== */

/* Neutralize global form border/flex for forms inside this page */
.ac-page form[b-qs0mok45uj],
.ac-page form.account-form[b-qs0mok45uj],
.ac-page form.ac-form[b-qs0mok45uj],
.ac-page .no-border-form[b-qs0mok45uj] {
    border-top: none;
    border-left: none;
    border-right: none;
    display: block !important;
    flex-direction: initial !important;
    align-items: stretch !important;
    padding: 0 !important;
    margin: 0 0 0.5rem;
    box-shadow: none !important;
    background: transparent !important;
}

/* Remove any inner wrapper background/border created by global rules */
.ac-page .form-group[b-qs0mok45uj],
.ac-page .ac-field[b-qs0mok45uj],
.ac-page .form-row[b-qs0mok45uj] {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure inputs/selects/textareas on this page occupy full width and have no inset shadows */
.ac-page .form-input[b-qs0mok45uj],
.ac-page input[type="text"][b-qs0mok45uj],
.ac-page input[type="email"][b-qs0mok45uj],
.ac-page input[type="password"][b-qs0mok45uj],
.ac-page textarea[b-qs0mok45uj],
.ac-page select[b-qs0mok45uj] {
    width: 100% !important;
    box-sizing: border-box !important;
    background: #fff !important;
    box-shadow: none !important;
}

/* Keep buttons inside forms sized correctly (undo global width:100%) */
.ac-page form button[b-qs0mok45uj],
.ac-page .ac-btn[b-qs0mok45uj],
.ac-page .btn[b-qs0mok45uj],
.ac-page .btn-primary[b-qs0mok45uj],
.ac-page .btn-danger[b-qs0mok45uj] {
    width: auto !important;
    display: inline-flex !important;
}

/* Force Change Password form to stack all fields (targets form by action) */
.ac-page form[action="/update-password-endpoint"] .form-row[b-qs0mok45uj] {
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
}

.ac-page form[action="/update-password-endpoint"] .ac-field[b-qs0mok45uj],
.ac-page form[action="/update-password-endpoint"] .form-group[b-qs0mok45uj] {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure profile form stacks fields the same way */
.ac-page form[action="/update-profile-endpoint"] .form-row[b-qs0mok45uj] {
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
}

/* Last-child spacing */
.ac-page form .ac-field:last-child[b-qs0mok45uj],
.ac-page form .form-group:last-child[b-qs0mok45uj] {
    margin-bottom: 0 !important;
}

.ac-activity-card[b-qs0mok45uj] {
    min-height: 340px;
}

.ac-activity-scroll[b-qs0mok45uj] {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 0.35rem;
}

.ac-card-header-row[b-qs0mok45uj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}



.ac-detail-grid[b-qs0mok45uj] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.45rem;
}

.ac-detail-row[b-qs0mok45uj] {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.5rem 0.6rem;
}

.ac-detail-label[b-qs0mok45uj] {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
}

.ac-detail-value[b-qs0mok45uj] {
    margin-top: 0.1rem;
    font-weight: 600;
    color: #173B74;
    overflow-wrap: anywhere;
    font-size: 0.85rem;
}


.ac-btn-view-all[b-qs0mok45uj] {
    background: #495057;
    color: #fff;
}

    .ac-btn-view-all:hover[b-qs0mok45uj] {
        background: #3f454b;
    }
    
.ac-detail-grid[b-qs0mok45uj] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.45rem;
}

.ac-detail-row[b-qs0mok45uj] {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.5rem 0.6rem;
}

.ac-detail-label[b-qs0mok45uj] {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
}

.ac-detail-value[b-qs0mok45uj] {
    margin-top: 0.1rem;
    font-weight: 600;
    color: #173B74;
    overflow-wrap: anywhere;
    font-size: 0.85rem;
}
/* ---- Two-factor authentication ---------------------------------------------------- */

/* GoTrue hands back an SVG with no size of its own, so it is bounded here rather than
   allowed to fill the card. */
.ac-qr[b-qs0mok45uj] {
    margin: 0.75rem 0 1rem;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: inline-block;
    line-height: 0;
}

    .ac-qr svg[b-qs0mok45uj] {
        width: 180px;
        height: 180px;
        display: block;
    }

/* The typed-by-hand fallback for the QR. Monospaced and spaced out because it is read off
   one screen and typed into another, which is where transcription errors come from. */
.ac-secret[b-qs0mok45uj] {
    margin: 0 0 1rem;
}

    .ac-secret code[b-qs0mok45uj] {
        display: inline-block;
        padding: 0.5rem 0.75rem;
        background: #f3f4f6;
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
        font-size: 0.95rem;
        letter-spacing: 0.12em;
        word-break: break-all;
    }
/* /Components/Pages/ConsolidatedReport.razor.rz.scp.css */
@media print {
    .cr-card[b-98io34fz45] {
        box-shadow: none !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .cr-metrics[b-98io34fz45] {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .cr-info-grid[b-98io34fz45] {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

.cr-header[b-98io34fz45] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid #e9ecef;
}

.cr-header h1[b-98io34fz45] {
    font-family: var(--font-sans);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--brand);
    margin: 0 0 0.25rem 0;
}

.cr-header .cr-period[b-98io34fz45] {
    font-size: 0.8rem;
    color: #6c757d;
    letter-spacing: 0.04em;
}

.cr-metrics[b-98io34fz45] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.cr-metric[b-98io34fz45] {
    background: #fff;
    border: 1px solid #e9ecef;
    border-left: 4px solid;
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

.cr-metric.blue[b-98io34fz45]  { border-left-color: #1b6ec2; }
.cr-metric.green[b-98io34fz45] { border-left-color: #28a745; }
.cr-metric.amber[b-98io34fz45] { border-left-color: #fd7e14; }

.cr-metric-label[b-98io34fz45] {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 0.35rem;
}

.cr-metric-value[b-98io34fz45] {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
}

.cr-metric-sub[b-98io34fz45] {
    font-size: 0.75rem;
    color: #adb5bd;
    margin-top: 0.2rem;
}

.cr-card[b-98io34fz45] {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.cr-card-title[b-98io34fz45] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cr-dot[b-98io34fz45] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.cr-info-grid[b-98io34fz45] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.cr-info-row[b-98io34fz45] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f8f9fa;
    font-size: 0.875rem;
}

.cr-info-row:last-of-type[b-98io34fz45] { border-bottom: none; }
.cr-info-label[b-98io34fz45] { color: #6c757d; }
.cr-info-value[b-98io34fz45] { font-weight: 600; color: #1a1a2e; }

.cr-table[b-98io34fz45] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.83rem;
}

.cr-table thead th[b-98io34fz45] {
    padding: 0.6rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6c757d;
    border-bottom: 2px solid #e9ecef;
    background: #f8f9fa;
}

    .cr-table thead th:not(:first-child)[b-98io34fz45] {
        text-align: right;
    }


.cr-table tbody td[b-98io34fz45] {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #f3f4f6;
    color: #343a40;
}

.cr-table tbody td:not(:first-child)[b-98io34fz45] { text-align: right; }

    .cr-table thead th.symbol-column[b-98io34fz45] {
        width: 1%;
        min-width: 0;
        padding: 0.6rem 0 0.6rem 1.5rem;
        text-align: right;
        white-space: nowrap;
        font-weight: 700;
    }

    .cr-table tbody td.symbol-column[b-98io34fz45] {
        width: 1%;
        min-width: 0;
        padding: 0.5rem 0 0.5rem 1.5rem;
    }

.cr-table tbody tr:hover[b-98io34fz45] { background: #f8f9fa; }

.amt-neg[b-98io34fz45] { color: #dc3545; }
.amt-pos[b-98io34fz45] { color: #212529; }
.na-cell[b-98io34fz45] { color: #ced4da; font-style: italic; }

.cr-filter-grid[b-98io34fz45] {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: end;
}

.cr-filter-group[b-98io34fz45] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cr-filter-group label[b-98io34fz45] {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #6c757d;
}

.cr-filter-group input[b-98io34fz45] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 0.875rem;
}

.cr-filter-actions[b-98io34fz45] {
    display: flex;
    align-items: end;
}

.cr-inline-message[b-98io34fz45] {
    font-size: 0.82rem;
    color: #5a6a7e;
    background: #f0f4f8;
    border-left: 3px solid #90a4be;
    border-radius: 0 6px 6px 0;
    padding: 0.6rem 0.9rem;
    margin-bottom: 0.75rem;
}
/* /Components/Pages/Forecast.razor.rz.scp.css */
.liquidity-container[b-rlkwfmhkkr] {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.liquidity-page-header[b-rlkwfmhkkr] {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.liquidity-page-title[b-rlkwfmhkkr] {
    font-family: var(--font-sans);
    color: var(--brand);
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0;
}

.liquidity-page-subtitle[b-rlkwfmhkkr] {
    color: #666;
    margin: 0.2rem 0 0;
    font-size: 0.95rem;
}

.forecast-card[b-rlkwfmhkkr] {
    background: #FFFFFF;
    border: 1px solid #dee2e6;
    border-top: 6px solid #173B74;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(23, 59, 116, 0.1);
}

.liquidity-card-header[b-rlkwfmhkkr] {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

.liquidity-card-header h2[b-rlkwfmhkkr] {
    color: #173B74;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.liquidity-description[b-rlkwfmhkkr] {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.forecast-form[b-rlkwfmhkkr] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: none
}

.forecast-form-browse-button[b-rlkwfmhkkr] {
    border: 1px solid #8f8f9d;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    background-color: #e9e9ed;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.forecast-form-browse-button:hover[b-rlkwfmhkkr] {
    border: 1px solid #73737f;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    background-color: #d0d0d7;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.forecast-form-browse-button-disabled[b-rlkwfmhkkr] {
    border: 1px solid #d3d3da;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    background-color: #ececef;
    cursor: not-allowed;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.forecast-form-row[b-rlkwfmhkkr] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.liquidity-form-row.single[b-rlkwfmhkkr] {
    grid-template-columns: 1fr;
}

.liquidity-form-group[b-rlkwfmhkkr] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.forecast-modal-row[b-rlkwfmhkkr] {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    width: 100%;
}

.liquidity-modal-group[b-rlkwfmhkkr] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* Button styles removed — migrated to the shared .btn system in app.css. */

/* Action rows keep buttons at their natural (content) width, side by side. */
.liquidity-form-actions[b-rlkwfmhkkr] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.liquidity-msg-error[b-rlkwfmhkkr] {
    color: #7D0D1B;
    font-size: 0.88rem;
    background: #fde8e8;
    border: 1px solid #f9c3c3;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}

.forecast-balance-table-wrapper[b-rlkwfmhkkr] {
    margin-top: 1.5rem;
    overflow-x: auto;
}

.forecast-table-title[b-rlkwfmhkkr] {
    color: #173B74;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.forecast-balance-table[b-rlkwfmhkkr] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

    .forecast-balance-table th[b-rlkwfmhkkr],
    .forecast-balance-table td[b-rlkwfmhkkr] {
        border: 1px solid #dee2e6;
        padding: 0.65rem 0.75rem;
        text-align: left;
    }

    .forecast-balance-table th[b-rlkwfmhkkr] {
        background-color: #f4f6f9;
        color: #173B74;
        font-weight: 700;
    }

    .forecast-balance-table td[b-rlkwfmhkkr] {
        color: #333;
    }

    .forecast-balance-table tbody tr:nth-child(even)[b-rlkwfmhkkr] {
        background-color: #fafafa;
    }

.progress-sidebar[b-rlkwfmhkkr] {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1050;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    border-left: 1px solid #dee2e6;
    transition: all 0.3s ease;
}
.sidebar-header[b-rlkwfmhkkr] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
    
@media (max-width: 600px) {
    .liquidity-form-row[b-rlkwfmhkkr],
    .liquidity-ratio-grid[b-rlkwfmhkkr] {
        grid-template-columns: 1fr;
    }

    .liquidity-ratio-box.full[b-rlkwfmhkkr] {
        grid-column: auto;
    }

    .liquidity-page-header[b-rlkwfmhkkr] {
        text-align: left;
    }
}


/* Shared "what to upload" panel: names the exact report, extensions and any
   silent-failure rule for the picker it sits above (UX gap: pages described what
   they do, never which file to bring). Scoped per component, so the same block
   is repeated in each page's stylesheet. */
.file-requirements[b-rlkwfmhkkr] {
    background: #f6f8fb;
    border: 1px solid #dde4ef;
    border-left: 3px solid #173B74;
    border-radius: 6px;
    padding: 0.75rem 0.95rem;
    margin: 0;
    color: #495057;
    font-size: 0.85rem;
    line-height: 1.5;
}

.file-requirements-title[b-rlkwfmhkkr] {
    color: #173B74;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
}

.file-requirements ul[b-rlkwfmhkkr] {
    margin: 0;
    padding-left: 1.1rem;
}

.file-requirements li + li[b-rlkwfmhkkr] {
    margin-top: 0.35rem;
}

.file-requirements code[b-rlkwfmhkkr] {
    background: #e9eef6;
    border-radius: 3px;
    padding: 0.05rem 0.3rem;
    font-size: 0.82em;
    color: #173B74;
}

.file-requirements a[b-rlkwfmhkkr] {
    color: #173B74;
}
/* /Components/Pages/ForecastDaily.razor.rz.scp.css */
.liquidity-container[b-hxwv4spb2z] {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.liquidity-page-header[b-hxwv4spb2z] {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.liquidity-page-title[b-hxwv4spb2z] {
    font-family: var(--font-sans);
    color: var(--brand);
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0;
}

.liquidity-page-subtitle[b-hxwv4spb2z] {
    color: #666;
    margin: 0.2rem 0 0;
    font-size: 0.95rem;
}

.forecast-card[b-hxwv4spb2z] {
    background: #FFFFFF;
    border: 1px solid #dee2e6;
    border-top: 6px solid #173B74;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(23, 59, 116, 0.1);
}

.liquidity-card-header[b-hxwv4spb2z] {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

/* Header that carries an action (Export CSV) pushes it to the trailing edge. */
.liquidity-card-header--with-action[b-hxwv4spb2z] {
    justify-content: space-between;
    gap: 1rem;
}

.liquidity-card-header h2[b-hxwv4spb2z] {
    color: #173B74;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.liquidity-description[b-hxwv4spb2z] {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.forecast-form[b-hxwv4spb2z] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: none
}

.forecast-form-browse-button[b-hxwv4spb2z] {
    border: 1px solid #8f8f9d;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    background-color: #e9e9ed;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.forecast-form-browse-button:hover[b-hxwv4spb2z] {
    border: 1px solid #73737f;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    background-color: #d0d0d7;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.forecast-form-browse-button-disabled[b-hxwv4spb2z] {
    border: 1px solid #d3d3da;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    background-color: #ececef;
    cursor: not-allowed;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.forecast-form-row[b-hxwv4spb2z] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.liquidity-form-row.single[b-hxwv4spb2z] {
    grid-template-columns: 1fr;
}

.liquidity-form-group[b-hxwv4spb2z] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.forecast-modal-row[b-hxwv4spb2z] {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    width: 100%;
}

.liquidity-modal-group[b-hxwv4spb2z] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* Button styles removed — migrated to the shared .btn system in app.css. */

.liquidity-msg-error[b-hxwv4spb2z] {
    color: #7D0D1B;
    font-size: 0.88rem;
    background: #fde8e8;
    border: 1px solid #f9c3c3;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}

.forecast-table-wrapper[b-hxwv4spb2z] {
    overflow-x: auto;
}

.forecast-table[b-hxwv4spb2z] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

    .forecast-table thead th[b-hxwv4spb2z] {
        padding: 0.6rem 0.75rem;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #6c757d;
        border-bottom: 2px solid #e9ecef;
        background: #f8f9fa;
    }

        .forecast-table thead th:not(:first-child)[b-hxwv4spb2z] {
            text-align: right;
        }

    .forecast-table tbody td[b-hxwv4spb2z] {
        padding: 0.5rem 0.75rem;
        border-bottom: 1px solid #f3f4f6;
        color: #343a40;
    }

        .forecast-table tbody td:not(:first-child)[b-hxwv4spb2z] {
            text-align: right;
        }

    .forecast-table tbody tr:hover[b-hxwv4spb2z] {
        background: #f8f9fa;
    }

.amt-neg[b-hxwv4spb2z] {
    color: #dc3545;
}

.amt-pos[b-hxwv4spb2z] {
    color: #212529;
}

.na-cell[b-hxwv4spb2z] {
    color: #ced4da;
    font-style: italic;
}

.forecast-inline-message[b-hxwv4spb2z] {
    font-size: 0.85rem;
    color: #dc3545;
    margin-top: 0.75rem;
}

.forecast-table thead th.symbol-column[b-hxwv4spb2z] {
    width: 1%;
    min-width: 0;
    padding: 0.6rem 0 0.6rem 1.5rem;
    text-align: right;
    white-space: nowrap;
    font-weight: 700;
}

.forecast-table tbody td.symbol-column[b-hxwv4spb2z] {
    width: 1%;
    min-width: 0;
    padding: 0.5rem 0 0.5rem 2rem;
}

@media (max-width: 600px) {
    .liquidity-form-row[b-hxwv4spb2z],
    .liquidity-ratio-grid[b-hxwv4spb2z] {
        grid-template-columns: 1fr;
    }

    .liquidity-ratio-box.full[b-hxwv4spb2z] {
        grid-column: auto;
    }

    .liquidity-page-header[b-hxwv4spb2z] {
        text-align: left;
    }
}
/* Shared "what to upload" panel: names the exact report, extensions and any
   silent-failure rule for the picker it sits above (UX gap: pages described what
   they do, never which file to bring). Scoped per component, so the same block
   is repeated in each page's stylesheet. */
.file-requirements[b-hxwv4spb2z] {
    background: #f6f8fb;
    border: 1px solid #dde4ef;
    border-left: 3px solid #173B74;
    border-radius: 6px;
    padding: 0.75rem 0.95rem;
    margin: 0;
    color: #495057;
    font-size: 0.85rem;
    line-height: 1.5;
}

.file-requirements-title[b-hxwv4spb2z] {
    color: #173B74;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
}

.file-requirements ul[b-hxwv4spb2z] {
    margin: 0;
    padding-left: 1.1rem;
}

.file-requirements li + li[b-hxwv4spb2z] {
    margin-top: 0.35rem;
}

.file-requirements code[b-hxwv4spb2z] {
    background: #e9eef6;
    border-radius: 3px;
    padding: 0.05rem 0.3rem;
    font-size: 0.82em;
    color: #173B74;
}

.file-requirements a[b-hxwv4spb2z] {
    color: #173B74;
}
/* /Components/Pages/ForecastUsdBalance.razor.rz.scp.css */
.liquidity-container[b-uc20rbbh7m] {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.liquidity-page-header[b-uc20rbbh7m] {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.liquidity-page-title[b-uc20rbbh7m] {
    font-family: var(--font-sans);
    color: var(--brand);
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0;
}

.liquidity-page-subtitle[b-uc20rbbh7m] {
    color: #666;
    margin: 0.2rem 0 0;
    font-size: 0.95rem;
}

.forecast-card[b-uc20rbbh7m] {
    background: #FFFFFF;
    border: 1px solid #dee2e6;
    border-top: 6px solid #173B74;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(23, 59, 116, 0.1);
}

.liquidity-card-header[b-uc20rbbh7m] {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

.liquidity-card-header h2[b-uc20rbbh7m] {
    color: #173B74;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.liquidity-description[b-uc20rbbh7m] {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.forecast-form[b-uc20rbbh7m] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: none
}

.forecast-form-browse-button[b-uc20rbbh7m] {
    border: 1px solid #8f8f9d;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    background-color: #e9e9ed;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.forecast-form-browse-button:hover[b-uc20rbbh7m] {
    border: 1px solid #73737f;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    background-color: #d0d0d7;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.forecast-form-browse-button-disabled[b-uc20rbbh7m] {
    border: 1px solid #d3d3da;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    background-color: #ececef;
    cursor: not-allowed;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.forecast-form-row[b-uc20rbbh7m] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.liquidity-form-row.single[b-uc20rbbh7m] {
    grid-template-columns: 1fr;
}

.liquidity-form-group[b-uc20rbbh7m] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.forecast-modal-row[b-uc20rbbh7m] {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    width: 100%;
}

.liquidity-modal-group[b-uc20rbbh7m] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* Button styles removed — migrated to the shared .btn system in app.css. */

.liquidity-msg-error[b-uc20rbbh7m] {
    color: #7D0D1B;
    font-size: 0.88rem;
    background: #fde8e8;
    border: 1px solid #f9c3c3;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}

.forecast-chart-wrapper[b-uc20rbbh7m] {
    width: 100%;
    height: 650px;
    margin-top: 1rem;
}

    .forecast-chart-wrapper canvas[b-uc20rbbh7m] {
        width: 100% !important;
        height: 100% !important;
        display: block;
    }

@media (max-width: 600px) {
    .liquidity-form-row[b-uc20rbbh7m],
    .liquidity-ratio-grid[b-uc20rbbh7m] {
        grid-template-columns: 1fr;
    }

    .liquidity-ratio-box.full[b-uc20rbbh7m] {
        grid-column: auto;
    }

    .liquidity-page-header[b-uc20rbbh7m] {
        text-align: left;
    }
}
/* /Components/Pages/LiquidityRatio.razor.rz.scp.css */
.liquidity-container[b-4qe1yg49ff] {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.liquidity-page-header[b-4qe1yg49ff] {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.liquidity-page-title[b-4qe1yg49ff] {
    font-family: var(--font-sans);
    color: var(--brand);
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0;
}

.liquidity-page-subtitle[b-4qe1yg49ff] {
    color: #666;
    margin: 0.2rem 0 0;
    font-size: 0.95rem;
}

.liquidity-card[b-4qe1yg49ff] {
    background: #FFFFFF;
    border: 1px solid #dee2e6;
    border-top: 6px solid #173B74;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(23, 59, 116, 0.1);
}

.liquidity-card-header[b-4qe1yg49ff] {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

    .liquidity-card-header h2[b-4qe1yg49ff] {
        color: #173B74;
        font-size: 1rem;
        font-weight: 600;
        margin: 0;
    }

/* Collapsible card header: renders as a button but keeps the card-header look. */
.liquidity-card-toggle[b-4qe1yg49ff] {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
    background: none;
    border: 0;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0;
    padding: 0 0 0.75rem;
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

    .liquidity-card-toggle:hover h2[b-4qe1yg49ff] {
        color: #1f4a8a;
    }

    .liquidity-card-toggle:focus-visible[b-4qe1yg49ff] {
        outline: 2px solid #173B74;
        outline-offset: 2px;
    }

.liquidity-card-toggle-icon[b-4qe1yg49ff] {
    flex: 0 0 auto;
    color: #173B74;
    transition: transform 0.15s ease-in-out;
}

.liquidity-card-toggle[aria-expanded="false"][b-4qe1yg49ff] {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.liquidity-card-toggle[aria-expanded="false"] .liquidity-card-toggle-icon[b-4qe1yg49ff] {
    transform: rotate(-90deg);
}

@media (prefers-reduced-motion: reduce) {
    .liquidity-card-toggle-icon[b-4qe1yg49ff] {
        transition: none;
    }
}

.liquidity-form[b-4qe1yg49ff] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.liquidity-form-row[b-4qe1yg49ff] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

    .liquidity-form-row.single[b-4qe1yg49ff] {
        grid-template-columns: 1fr;
    }

.liquidity-form-group[b-4qe1yg49ff] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

    .liquidity-form-group label[b-4qe1yg49ff],
    .liquidity-ratio-box label[b-4qe1yg49ff] {
        font-size: 0.85rem;
        font-weight: 500;
        color: #173B74;
    }

    .liquidity-form-group small[b-4qe1yg49ff],
    .liquidity-ratio-box small[b-4qe1yg49ff] {
        color: #6c757d;
        font-size: 0.8rem;
    }

.liquidity-form-input[b-4qe1yg49ff] {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

    .liquidity-form-input:focus[b-4qe1yg49ff] {
        border-color: #173B74;
        box-shadow: 0 0 0 3px rgba(23, 59, 116, 0.1);
    }

.liquidity-form-actions[b-4qe1yg49ff] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.liquidity-description[b-4qe1yg49ff] {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.liquidity-btn-small[b-4qe1yg49ff] {
    padding: 0.4rem 0.9rem;
    font-size: 0.9rem;
}

.liquidity-msg-status[b-4qe1yg49ff] {
    color: #173B74;
    font-size: 0.88rem;
    background: #eef2f9;
    border: 1px solid #c3d0e6;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}

.liquidity-msg-error[b-4qe1yg49ff] {
    color: #7D0D1B;
    font-size: 0.88rem;
    background: #fde8e8;
    border: 1px solid #f9c3c3;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}

.liquidity-ratio-grid[b-4qe1yg49ff] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.liquidity-ratio-box[b-4qe1yg49ff] {
    border: 1px solid #dee2e6;
    border-top: 4px solid #173B74;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: #FFFFFF;
}

    .liquidity-ratio-box.full[b-4qe1yg49ff] {
        grid-column: 1 / -1;
    }

.liquidity-ratio-value[b-4qe1yg49ff] {
    font-size: 1.6rem;
    font-weight: 700;
    color: #173B74;
}

.ratio-status[b-4qe1yg49ff] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ratio-chip[b-4qe1yg49ff] {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius);
    line-height: 1.2;
}

.ratio-chip-ok[b-4qe1yg49ff] {
    color: var(--success);
    background: var(--success-bg);
}

.ratio-chip-warn[b-4qe1yg49ff] {
    color: var(--warning);
    background: var(--warning-bg);
}

.ratio-chip-breach[b-4qe1yg49ff] {
    color: #FFFFFF;
    background: var(--danger);
}

.ratio-floor[b-4qe1yg49ff] {
    color: #6c757d;
    font-size: 0.78rem;
}

.liquidity-table-wrapper[b-4qe1yg49ff] {
    width: 100%;
    overflow-x: auto;
}

.liquidity-table[b-4qe1yg49ff] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

    .liquidity-table th[b-4qe1yg49ff],
    .liquidity-table td[b-4qe1yg49ff] {
        border: 1px solid #dee2e6;
        padding: 0.65rem 0.75rem;
        text-align: left;
        vertical-align: top;
    }

    .liquidity-table thead[b-4qe1yg49ff] {
        background: #f8f9fa;
        color: #173B74;
    }

    .liquidity-table tbody tr:nth-child(even)[b-4qe1yg49ff] {
        background: #f8f9fa;
    }

    .liquidity-table th[b-4qe1yg49ff] {
        font-weight: 700;
    }

.liquidity-modal-backdrop[b-4qe1yg49ff] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
}

.liquidity-modal[b-4qe1yg49ff] {
    width: min(720px, 100%);
    height: 70vh;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.liquidity-modal-header[b-4qe1yg49ff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #dee2e6;
}

    .liquidity-modal-header h3[b-4qe1yg49ff] {
        flex: 1;
        margin: 0;
        color: #173B74;
        font-size: 1rem;
        font-weight: 700;
    }

.liquidity-modal-close[b-4qe1yg49ff] {
    border: none;
    background: transparent;
    color: #6c757d;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.liquidity-modal-body[b-4qe1yg49ff] {
    padding: 1rem 1.25rem 1.25rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.liquidity-modal-empty[b-4qe1yg49ff] {
    color: #6c757d;
    font-size: 0.9rem;
}

.liquidity-upload-list[b-4qe1yg49ff] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* Saved-file row: the select button flexes, the delete button sits alongside it. */
.liquidity-upload-row[b-4qe1yg49ff] {
    display: flex;
    align-items: stretch;
    gap: 0.25rem;
    border-bottom: 1px solid #edf0f2;
}

    .liquidity-upload-row .liquidity-upload-item[b-4qe1yg49ff] {
        border-bottom: 0;
    }

.liquidity-upload-delete[b-4qe1yg49ff] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #8a94a6;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

    .liquidity-upload-delete:hover:not(:disabled)[b-4qe1yg49ff] {
        background: rgba(125, 13, 27, 0.08);
        color: #7D0D1B;
    }

    .liquidity-upload-delete:focus-visible[b-4qe1yg49ff] {
        outline: 2px solid #7D0D1B;
        outline-offset: -2px;
    }

    .liquidity-upload-delete:disabled[b-4qe1yg49ff] {
        opacity: 0.45;
        cursor: not-allowed;
    }

@media (prefers-reduced-motion: reduce) {
    .liquidity-upload-delete[b-4qe1yg49ff] {
        transition: none;
    }
}

.liquidity-upload-item[b-4qe1yg49ff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
    border: 0;
    border-bottom: 1px solid #edf0f2;
    border-radius: 0;
    background: transparent;
    padding: 0.45rem 0.15rem;
    cursor: pointer;
    transition: background 0.15s;
}

    .liquidity-upload-item:hover[b-4qe1yg49ff] {
        background: #f8fbff;
    }

.liquidity-upload-item-title[b-4qe1yg49ff] {
    flex: 1;
    min-width: 0;
    color: #173B74;
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.liquidity-upload-item-meta[b-4qe1yg49ff] {
    flex: 0 0 auto;
    white-space: nowrap;
    color: #6c757d;
    font-size: 0.78rem;
}

.liquidity-modal-header[b-4qe1yg49ff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #dee2e6;
}

    .liquidity-modal-header h3[b-4qe1yg49ff] {
        flex: 1;
        min-width: 0;
        margin: 0;
        color: #173B74;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.2;
        text-align: left;
    }

.liquidity-modal-close[b-4qe1yg49ff] {
    width: auto;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #6c757d;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    flex: 0 0 auto;
}

.usd-exposure-modal-header[b-4qe1yg49ff] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 1rem !important;
    width: 100% !important;
    padding: 1rem 1.25rem !important;
    border-bottom: 1px solid #dee2e6 !important;
}

.usd-exposure-modal-header > h3[b-4qe1yg49ff] {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: #173B74 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: left !important;
}

.usd-exposure-modal-header > .usd-exposure-modal-close[b-4qe1yg49ff] {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #6c757d !important;
    font-size: 1.5rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}a

@media (max-width: 600px)[b-4qe1yg49ff] {
    .liquidity-form-row,
    .liquidity-ratio-grid {
        grid-template-columns: 1fr;
    }

    .liquidity-ratio-box.full[b-4qe1yg49ff] {
        grid-column: auto;
    }

    .liquidity-page-header[b-4qe1yg49ff] {
        text-align: left;
    }
}

/* Shared "what to upload" panel: names the exact report, extensions and any
   silent-failure rule for the picker it sits above (UX gap: pages described what
   they do, never which file to bring). Scoped per component, so the same block
   is repeated in each page's stylesheet. */
.file-requirements[b-4qe1yg49ff] {
    background: #f6f8fb;
    border: 1px solid #dde4ef;
    border-left: 3px solid #173B74;
    border-radius: 6px;
    padding: 0.75rem 0.95rem;
    margin: 0;
    color: #495057;
    font-size: 0.85rem;
    line-height: 1.5;
}

.file-requirements-title[b-4qe1yg49ff] {
    color: #173B74;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
}

.file-requirements ul[b-4qe1yg49ff] {
    margin: 0;
    padding-left: 1.1rem;
}

.file-requirements li + li[b-4qe1yg49ff] {
    margin-top: 0.35rem;
}

.file-requirements code[b-4qe1yg49ff] {
    background: #e9eef6;
    border-radius: 3px;
    padding: 0.05rem 0.3rem;
    font-size: 0.82em;
    color: #173B74;
}

.file-requirements a[b-4qe1yg49ff] {
    color: #173B74;
}

/* Collapsible GL-code reference inside the "what to upload" panel. */
.liquidity-gl-toggle[b-4qe1yg49ff] {
    background: none;
    border: none;
    padding: 0;
    margin-top: 0.55rem;
    color: #173B74;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.liquidity-gl-list[b-4qe1yg49ff] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.25rem 1rem;
    margin: 0.6rem 0 0;
    font-size: 0.82rem;
}

.liquidity-gl-list dt[b-4qe1yg49ff] {
    color: #495057;
    font-weight: 500;
}

.liquidity-gl-list dd[b-4qe1yg49ff] {
    margin: 0;
}

.liquidity-gl-note[b-4qe1yg49ff] {
    margin: 0.5rem 0 0;
    font-size: 0.8rem;
    color: #6c757d;
}

@media (max-width: 600px) {
    .liquidity-gl-list[b-4qe1yg49ff] {
        grid-template-columns: 1fr;
    }

    .liquidity-gl-list dd[b-4qe1yg49ff] {
        margin-bottom: 0.35rem;
    }
}
/* /Components/Pages/Organization.razor.rz.scp.css */
/* Organization profile page. Deliberately shares the admin console's visual language — same header
   band, same card, same field metrics — because it is reached from that console and read as part
   of it. Scoped CSS does not cross components, so the shared pieces are restated here. */

.og-top[b-jf18dnwuu6] {
    padding: 1.25rem 1.5rem 0.5rem;
}

.og-back[b-jf18dnwuu6] {
    display: inline-block;
    margin-bottom: 0.6rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #173B74;
    text-decoration: none;
}

    .og-back:hover[b-jf18dnwuu6] {
        text-decoration: underline;
    }

.og-page-header[b-jf18dnwuu6] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8faff 0%, #eef3fb 100%);
    border: 1px solid #d6e2f0;
    border-left: 4px solid #173B74;
    border-radius: 10px;
}

.og-page-header-icon[b-jf18dnwuu6] {
    width: 44px;
    height: 44px;
    background: #173B74;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.og-page-header-top[b-jf18dnwuu6] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.2rem;
    flex-wrap: wrap;
}

.og-title[b-jf18dnwuu6] {
    font-size: 1.4rem;
    font-weight: 700;
    color: #173B74;
    margin: 0;
    overflow-wrap: anywhere;
}

.og-badge[b-jf18dnwuu6] {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    background: #173B74;
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
}

/* A deactivated organization has to read as different at a glance — its members can see nothing. */
.og-badge-inactive[b-jf18dnwuu6] {
    background: #fdf4e3;
    color: #7a5300;
    border: 1px solid #f0d9a8;
}

.og-sub[b-jf18dnwuu6] {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.og-page[b-jf18dnwuu6] {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1.25rem;
    padding: 0 1.5rem 1.5rem;
    align-items: start;
}

@media (max-width: 900px) {
    .og-page[b-jf18dnwuu6] {
        grid-template-columns: 1fr;
    }
}

.og-col[b-jf18dnwuu6] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

.og-card[b-jf18dnwuu6] {
    background: #ffffff;
    border: 1.5px solid #b8c8dc;
    border-radius: 12px;
    padding: 1.15rem;
    box-shadow: 0 2px 10px rgba(23,59,116,0.07);
}

.og-card-header[b-jf18dnwuu6] {
    font-size: 0.92rem;
    font-weight: 700;
    color: #173B74;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.og-subsection-header[b-jf18dnwuu6] {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6c757d;
    margin-top: 1.25rem;
    padding-top: 0.85rem;
    border-top: 1px solid #dee2e6;
}

.og-field[b-jf18dnwuu6] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.9rem;
    min-width: 0;
}

    .og-field label[b-jf18dnwuu6] {
        font-size: 0.78rem;
        font-weight: 600;
        color: #6c757d;
    }

/* Two fields that belong together read better side by side, and collapse rather than squeeze. */
.og-field-row[b-jf18dnwuu6] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0 0.75rem;
}

.og-notes[b-jf18dnwuu6] {
    resize: vertical;
    font: inherit;
}

.og-hint[b-jf18dnwuu6] {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
}

.og-actions[b-jf18dnwuu6] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.1rem;
    flex-wrap: wrap;
}

.og-empty[b-jf18dnwuu6] {
    color: #adb5bd;
    font-size: 0.88rem;
    text-align: center;
    padding: 1.25rem 0;
}

.og-msg-error[b-jf18dnwuu6] {
    background: #fff5f5;
    border: 1px solid #f5c6cb;
    color: #7d0d1b;
    border-radius: 6px;
    padding: 0.45rem 0.75rem;
    font-size: 0.88rem;
}

.og-msg-success[b-jf18dnwuu6] {
    background: #f0fff4;
    border: 1px solid #c3e6cb;
    color: #28a745;
    border-radius: 6px;
    padding: 0.45rem 0.75rem;
    font-size: 0.88rem;
}

.og-members[b-jf18dnwuu6] {
    display: flex;
    flex-direction: column;
}

.og-member[b-jf18dnwuu6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

    .og-member + .og-member[b-jf18dnwuu6] {
        border-top: 1px solid #f1f3f5;
    }

.og-member-open[b-jf18dnwuu6] {
    display: block;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

    .og-member-open:hover .og-member-title[b-jf18dnwuu6] {
        text-decoration: underline;
    }

.og-member-title[b-jf18dnwuu6] {
    display: block;
    font-weight: 700;
    color: #173B74;
    overflow-wrap: anywhere;
}

.og-member-meta[b-jf18dnwuu6] {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.15rem;
}
/* /Components/Pages/Organizations.razor.rz.scp.css */
/* The organization list. Same visual language as the organization record page it leads to —
   scoped CSS does not cross components, so the shared pieces are restated here. */

.ol-top[b-utl209c5uv] {
    padding: 1.25rem 1.5rem 0.5rem;
}

.ol-page-header[b-utl209c5uv] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8faff 0%, #eef3fb 100%);
    border: 1px solid #d6e2f0;
    border-left: 4px solid #173B74;
    border-radius: 10px;
}

.ol-page-header-icon[b-utl209c5uv] {
    width: 44px;
    height: 44px;
    background: #173B74;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.ol-title[b-utl209c5uv] {
    font-size: 1.4rem;
    font-weight: 700;
    color: #173B74;
    margin: 0 0 0.2rem;
}

.ol-sub[b-utl209c5uv] {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.ol-page[b-utl209c5uv] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0 1.5rem 1.5rem;
    max-width: 900px;
}

.ol-card[b-utl209c5uv] {
    background: #ffffff;
    border: 1.5px solid #b8c8dc;
    border-radius: 12px;
    padding: 1.15rem;
    box-shadow: 0 2px 10px rgba(23,59,116,0.07);
}

.ol-card-header[b-utl209c5uv] {
    font-size: 0.92rem;
    font-weight: 700;
    color: #173B74;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.ol-hint[b-utl209c5uv] {
    color: #6c757d;
    font-size: 0.88rem;
    margin: 0 0 0.5rem;
}

.ol-create-row[b-utl209c5uv] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

    .ol-create-row .form-input[b-utl209c5uv] {
        flex: 1;
        min-width: 0;
    }

.ol-list[b-utl209c5uv] {
    display: flex;
    flex-direction: column;
}

/* A row is the link. Nothing else on it competes for the click. */
.ol-row[b-utl209c5uv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
}

    .ol-row + .ol-row[b-utl209c5uv] {
        border-top: 1px solid #f1f3f5;
    }

    a.ol-row:hover[b-utl209c5uv] {
        background: #f8fbff;
    }

        a.ol-row:hover .ol-row-title[b-utl209c5uv] {
            text-decoration: underline;
        }

/* The unassigned rows carry a control instead, so they must not look clickable. */
.ol-row-static[b-utl209c5uv] {
    cursor: default;
}

.ol-row-main[b-utl209c5uv] {
    min-width: 0;
}

.ol-row-title[b-utl209c5uv] {
    display: block;
    font-weight: 700;
    color: #173B74;
    overflow-wrap: anywhere;
}

.ol-row-meta[b-utl209c5uv] {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.15rem;
}

.ol-row-chevron[b-utl209c5uv] {
    color: #adb5bd;
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}

/* A deactivated organization has to read as different at a glance — its members see nothing. */
.ol-badge-inactive[b-utl209c5uv] {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: #fdf4e3;
    border: 1px solid #f0d9a8;
    color: #7a5300;
    border-radius: 999px;
    padding: 0.1rem 0.5rem;
    vertical-align: middle;
}

.ol-assign[b-utl209c5uv] {
    max-width: 14rem;
    flex-shrink: 0;
}

.ol-empty[b-utl209c5uv] {
    color: #adb5bd;
    font-size: 0.88rem;
    text-align: center;
    padding: 1.25rem 0;
}

.ol-msg-error[b-utl209c5uv] {
    background: #fff5f5;
    border: 1px solid #f5c6cb;
    color: #7d0d1b;
    border-radius: 6px;
    padding: 0.45rem 0.75rem;
    font-size: 0.88rem;
    margin-bottom: 0.85rem;
}

.ol-msg-success[b-utl209c5uv] {
    background: #f0fff4;
    border: 1px solid #c3e6cb;
    color: #28a745;
    border-radius: 6px;
    padding: 0.45rem 0.75rem;
    font-size: 0.88rem;
    margin-bottom: 0.85rem;
}
/* /Components/Pages/UsdExposure.razor.rz.scp.css */
.usd-exposure-container[b-on6mo97y2i] {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.usd-exposure-page-header[b-on6mo97y2i] {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.usd-exposure-page-title[b-on6mo97y2i] {
    color: #173B74;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.usd-exposure-page-subtitle[b-on6mo97y2i] {
    color: #666;
    margin: 0.2rem 0 0;
    font-size: 0.95rem;
}

.usd-exposure-card[b-on6mo97y2i] {
    background: #FFFFFF;
    border: 1px solid #dee2e6;
    border-top: 6px solid #173B74;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(23, 59, 116, 0.1);
}

.usd-exposure-card-header[b-on6mo97y2i] {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

    .usd-exposure-card-header h2[b-on6mo97y2i] {
        color: #173B74;
        font-size: 1rem;
        font-weight: 600;
        margin: 0;
    }

/* Collapsible card header: renders as a button but keeps the card-header look. */
.usd-exposure-card-toggle[b-on6mo97y2i] {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
    background: none;
    border: 0;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0;
    padding: 0 0 0.75rem;
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

    .usd-exposure-card-toggle:hover h2[b-on6mo97y2i] {
        color: #1f4a8a;
    }

    .usd-exposure-card-toggle:focus-visible[b-on6mo97y2i] {
        outline: 2px solid #173B74;
        outline-offset: 2px;
    }

.usd-exposure-card-toggle-icon[b-on6mo97y2i] {
    flex: 0 0 auto;
    color: #173B74;
    transition: transform 0.15s ease-in-out;
}

.usd-exposure-card-toggle[aria-expanded="false"][b-on6mo97y2i] {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.usd-exposure-card-toggle[aria-expanded="false"] .usd-exposure-card-toggle-icon[b-on6mo97y2i] {
    transform: rotate(-90deg);
}

@media (prefers-reduced-motion: reduce) {
    .usd-exposure-card-toggle-icon[b-on6mo97y2i] {
        transition: none;
    }
}

.usd-exposure-form[b-on6mo97y2i] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.usd-exposure-form-row[b-on6mo97y2i] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

    .usd-exposure-form-row.single[b-on6mo97y2i] {
        grid-template-columns: 1fr;
    }

.usd-exposure-form-group[b-on6mo97y2i] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

    .usd-exposure-form-group label[b-on6mo97y2i],
    .usd-exposure-ratio-box label[b-on6mo97y2i] {
        font-size: 0.85rem;
        font-weight: 500;
        color: #173B74;
    }

    .usd-exposure-form-group small[b-on6mo97y2i],
    .usd-exposure-ratio-box small[b-on6mo97y2i] {
        color: #6c757d;
        font-size: 0.8rem;
    }

.usd-exposure-form-input[b-on6mo97y2i] {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

    .usd-exposure-form-input:focus[b-on6mo97y2i] {
        border-color: #173B74;
        box-shadow: 0 0 0 3px rgba(23, 59, 116, 0.1);
    }

.usd-exposure-form-actions[b-on6mo97y2i] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.usd-exposure-description[b-on6mo97y2i] {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.usd-exposure-msg-status[b-on6mo97y2i] {
    color: #173B74;
    font-size: 0.88rem;
    background: #eef2f9;
    border: 1px solid #c3d0e6;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}

.usd-exposure-msg-error[b-on6mo97y2i] {
    color: #7D0D1B;
    font-size: 0.88rem;
    background: #fde8e8;
    border: 1px solid #f9c3c3;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}

.usd-exposure-ratio-grid[b-on6mo97y2i] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.usd-exposure-ratio-box[b-on6mo97y2i] {
    border: 1px solid #dee2e6;
    border-top: 4px solid #173B74;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: #FFFFFF;
}

    .usd-exposure-ratio-box.full[b-on6mo97y2i] {
        grid-column: 1 / -1;
    }

.usd-exposure-ratio-value[b-on6mo97y2i] {
    font-size: 1.6rem;
    font-weight: 700;
    color: #173B74;
}

.usd-exposure-exposure-label[b-on6mo97y2i] {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.usd-exposure-positive[b-on6mo97y2i] {
    color: #127a3a;
}

.usd-exposure-negative[b-on6mo97y2i] {
    color: #7D0D1B;
}

.usd-exposure-zero[b-on6mo97y2i] {
    color: #666;
}

.usd-exposure-btn-small[b-on6mo97y2i] {
    padding: 0.4rem 0.9rem;
    font-size: 0.9rem;
}

.usd-exposure-modal-backdrop[b-on6mo97y2i] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
}

.usd-exposure-modal[b-on6mo97y2i] {
    width: min(720px, 100%);
    height: 70vh;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.usd-exposure-modal-header[b-on6mo97y2i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #dee2e6;
}

    .usd-exposure-modal-header h3[b-on6mo97y2i] {
        flex: 1;
        margin: 0;
        color: #173B74;
        font-size: 1rem;
        font-weight: 700;
    }

.usd-exposure-modal-close[b-on6mo97y2i] {
    border: none;
    background: transparent;
    color: #6c757d;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.usd-exposure-modal-body[b-on6mo97y2i] {
    padding: 1rem 1.25rem 1.25rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.usd-exposure-modal-empty[b-on6mo97y2i] {
    color: #6c757d;
    font-size: 0.9rem;
}

.usd-exposure-upload-list[b-on6mo97y2i] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.usd-exposure-upload-item[b-on6mo97y2i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
    border: 0;
    border-bottom: 1px solid #edf0f2;
    border-radius: 0;
    background: transparent;
    padding: 0.45rem 0.15rem;
    cursor: pointer;
    transition: background 0.15s;
}

    .usd-exposure-upload-item:hover[b-on6mo97y2i] {
        background: #f8fbff;
    }

.usd-exposure-upload-item-title[b-on6mo97y2i] {
    flex: 1;
    min-width: 0;
    color: #173B74;
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.usd-exposure-upload-item-meta[b-on6mo97y2i] {
    flex: 0 0 auto;
    white-space: nowrap;
    color: #6c757d;
    font-size: 0.78rem;
}

.usd-exposure-modal-header[b-on6mo97y2i] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 1rem !important;
    width: 100% !important;
    padding: 1rem 1.25rem !important;
    border-bottom: 1px solid #dee2e6 !important;
}

    .usd-exposure-modal-header > h3[b-on6mo97y2i] {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        color: #173B74 !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        text-align: left !important;
    }

    .usd-exposure-modal-header > .usd-exposure-modal-close[b-on6mo97y2i] {
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #6c757d !important;
        font-size: 1.5rem !important;
        line-height: 1 !important;
        cursor: pointer !important;
        flex: 0 0 auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

@media (max-width: 600px) {
    .usd-exposure-form-row[b-on6mo97y2i],
    .usd-exposure-ratio-grid[b-on6mo97y2i] {
        grid-template-columns: 1fr;
    }

    .usd-exposure-ratio-box.full[b-on6mo97y2i] {
        grid-column: auto;
    }

    .usd-exposure-page-header[b-on6mo97y2i] {
        text-align: left;
    }
}

/* Shared "what to upload" panel: names the exact report, extensions and any
   silent-failure rule for the picker it sits above (UX gap: pages described what
   they do, never which file to bring). Scoped per component, so the same block
   is repeated in each page's stylesheet. */
.file-requirements[b-on6mo97y2i] {
    background: #f6f8fb;
    border: 1px solid #dde4ef;
    border-left: 3px solid #173B74;
    border-radius: 6px;
    padding: 0.75rem 0.95rem;
    margin: 0;
    color: #495057;
    font-size: 0.85rem;
    line-height: 1.5;
}

.file-requirements-title[b-on6mo97y2i] {
    color: #173B74;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
}

.file-requirements ul[b-on6mo97y2i] {
    margin: 0;
    padding-left: 1.1rem;
}

.file-requirements li + li[b-on6mo97y2i] {
    margin-top: 0.35rem;
}

.file-requirements code[b-on6mo97y2i] {
    background: #e9eef6;
    border-radius: 3px;
    padding: 0.05rem 0.3rem;
    font-size: 0.82em;
    color: #173B74;
}

.file-requirements a[b-on6mo97y2i] {
    color: #173B74;
}
/* /Components/Pages/Users.razor.rz.scp.css */
/* Page header */
.ac-top[b-6hsosegpnl] {
    padding: 1.25rem 1.5rem 0.5rem;
}

.ac-top-inner[b-6hsosegpnl] {
    max-width: none;
}

.ac-page-header[b-6hsosegpnl] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8faff 0%, #eef3fb 100%);
    border: 1px solid #d6e2f0;
    border-left: 4px solid #173B74;
    border-radius: 10px;
}

.ac-page-header-icon[b-6hsosegpnl] {
    width: 44px;
    height: 44px;
    background: #173B74;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.ac-page-header-top[b-6hsosegpnl] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.2rem;
}

.ac-title[b-6hsosegpnl] {
    font-size: 1.4rem;
    font-weight: 700;
    color: #173B74;
    margin: 0;
}

.ac-admin-badge[b-6hsosegpnl] {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    background: #173B74;
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    vertical-align: middle;
}

.ac-sub[b-6hsosegpnl] {
    margin: 0;
    color: #6c757d;
    font-size: 0.88rem;
}

/* Page grid */
.ac-page[b-6hsosegpnl] {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 1.25rem;
    padding: 0 1.5rem 1.5rem;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    align-items: start;
    min-height: 100%;
}

@media (max-width: 900px) {
    .ac-page[b-6hsosegpnl] {
        grid-template-columns: 1fr;
    }
}

/* Columns */
.ac-left[b-6hsosegpnl],
.ac-right[b-6hsosegpnl] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* The identity strip inside the Selected User card.
   Its text is white. It used to be the content of .ac-profile-card, a gradient hero, and when the
   four cards were merged into one it kept the white text but lost the dark ground underneath —
   white on white, invisible. The ground travels with it now. */
.ac-profile-info[b-6hsosegpnl] {
    min-width: 0;
    background: linear-gradient(135deg, #173B74 0%, #7085A5 100%);
    color: #ffffff;
    border-radius: 10px;
    padding: 0.9rem 1rem;
}

.ac-name[b-6hsosegpnl] {
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
}

.ac-email[b-6hsosegpnl] {
    font-size: 0.88rem;
    opacity: 0.9;
    margin-top: 0.25rem;
    color: white
}

.ac-badge-row[b-6hsosegpnl] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    color: #ffffff;
}

.ac-badge[b-6hsosegpnl] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    background: rgba(255,255,255,0.14);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Cards */
.ac-card[b-6hsosegpnl] {
    background: #ffffff;
    border: 1.5px solid #b8c8dc;
    border-radius: 12px;
    padding: 1.15rem;
    box-shadow: 0 2px 10px rgba(23,59,116,0.07);
}

.ac-danger-card[b-6hsosegpnl] {
    border-color: #f5c6cb;
}

.ac-card-header[b-6hsosegpnl] {
    font-size: 0.92rem;
    font-weight: 700;
    color: #173B74;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.ac-danger-desc[b-6hsosegpnl] {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* Detail cards */
.ac-detail-grid[b-6hsosegpnl] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.45rem;
}

@media (max-width: 600px) {
    .ac-detail-grid[b-6hsosegpnl] {
        grid-template-columns: 1fr;
    }
}

.ac-detail-row[b-6hsosegpnl] {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.5rem 0.6rem;
}

.ac-detail-label[b-6hsosegpnl] {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
}

.ac-detail-value[b-6hsosegpnl] {
    margin-top: 0.1rem;
    font-weight: 600;
    color: #173B74;
    overflow-wrap: anywhere;
    font-size: 0.85rem;
}

/* Forms / fields */
.ac-form[b-6hsosegpnl] {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

/* single source of truth for spacing */
.ac-field[b-6hsosegpnl] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

    .ac-field label[b-6hsosegpnl] {
        font-size: 0.78rem;
        font-weight: 600;
        color: #6c757d;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

/* Inputs (keep visual style and ensure full width) */
.form-input[b-6hsosegpnl] {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    background: #f8f9fa;
    box-sizing: border-box;
}

    .form-input:focus[b-6hsosegpnl] {
        border-color: #173B74;
        box-shadow: 0 0 0 3px rgba(23,59,116,0.08);
        background: #fff;
    }

/* Row/grid handling */
.form-row[b-6hsosegpnl] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

@media (max-width: 600px) {
    .form-row[b-6hsosegpnl] {
        grid-template-columns: 1fr;
    }
}

/* Actions / buttons */
.ac-actions[b-6hsosegpnl] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

/* Messages */
.ac-saved[b-6hsosegpnl] {
    color: #28a745;
    font-size: 0.9rem;
    font-weight: 600;
}

.ac-msg-error[b-6hsosegpnl] {
    background: #fff5f5;
    border: 1px solid #f5c6cb;
    color: #7d0d1b;
    border-radius: 6px;
    padding: 0.45rem 0.75rem;
    font-size: 0.88rem;
}

.ac-msg-success[b-6hsosegpnl] {
    background: #f0fff4;
    border: 1px solid #c3e6cb;
    color: #28a745;
    border-radius: 6px;
    padding: 0.45rem 0.75rem;
    font-size: 0.88rem;
}

/* Right-column placeholders */
.ac-stat-grid[b-6hsosegpnl] {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 0.75rem;
}

.ac-stat-pill[b-6hsosegpnl] {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 0.8rem;
    text-align: center;
}

.ac-stat-val[b-6hsosegpnl] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #173B74;
}

.ac-stat-lbl[b-6hsosegpnl] {
    font-size: 0.73rem;
    color: #6c757d;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Search */
.ac-search-row[b-6hsosegpnl] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.ac-search-input[b-6hsosegpnl] {
    flex: 1;
}

.ac-search-results[b-6hsosegpnl] {
    margin-top: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.35rem;
}

.ac-result-btn[b-6hsosegpnl] {
    width: 100%;
    text-align: left;
    border: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    cursor: pointer;
}

    .ac-result-btn:hover[b-6hsosegpnl] {
        background: #eef4ff;
    }

.ac-result-btn-selected[b-6hsosegpnl] {
    background: #e9f1ff;
    border-color: #173B74;
}

.ac-result-title[b-6hsosegpnl] {
    font-weight: 700;
    color: #173B74;
}

.ac-result-meta[b-6hsosegpnl] {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.15rem;
}

/* Timeline / empty */
.ac-empty[b-6hsosegpnl] {
    color: #adb5bd;
    font-size: 0.88rem;
    text-align: center;
    padding: 1.25rem 0;
}

.ac-timeline[b-6hsosegpnl] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ac-tl-item[b-6hsosegpnl] {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.ac-tl-title[b-6hsosegpnl] {
    font-weight: 600;
    color: #173B74;
}

.ac-tl-meta[b-6hsosegpnl] {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Legacy / compatibility */
.btn-danger[b-6hsosegpnl] {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.55rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
}

.no-border-form[b-6hsosegpnl], .no-border-form *[b-6hsosegpnl] {
    box-sizing: border-box !important;
}

/* ========================
   Page-scoped overrides
   ======================== */

.ac-page form[b-6hsosegpnl],
.ac-page form.account-form[b-6hsosegpnl],
.ac-page form.ac-form[b-6hsosegpnl],
.ac-page .no-border-form[b-6hsosegpnl] {
    border: none !important;
    display: block !important;
    flex-direction: initial !important;
    align-items: stretch !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.ac-page .form-group[b-6hsosegpnl],
.ac-page .ac-field[b-6hsosegpnl],
.ac-page .form-row[b-6hsosegpnl] {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ac-page .form-input[b-6hsosegpnl],
.ac-page input[type="text"][b-6hsosegpnl],
.ac-page input[type="email"][b-6hsosegpnl],
.ac-page input[type="password"][b-6hsosegpnl],
.ac-page textarea[b-6hsosegpnl],
.ac-page select[b-6hsosegpnl] {
    width: 100% !important;
    box-sizing: border-box !important;
    background: #fff !important;
    box-shadow: none !important;
}

.ac-page form button[b-6hsosegpnl],
.ac-page .ac-btn[b-6hsosegpnl],
.ac-page .btn[b-6hsosegpnl],
.ac-page .btn-primary[b-6hsosegpnl],
.ac-page .btn-danger[b-6hsosegpnl] {
    width: auto !important;
    display: inline-flex !important;
}

.ac-page form .ac-field:last-child[b-6hsosegpnl],
.ac-page form .form-group:last-child[b-6hsosegpnl] {
    margin-bottom: 0 !important;
}

.ac-activity-card[b-6hsosegpnl] {
    min-height: 340px;
}

.ac-activity-scroll[b-6hsosegpnl] {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 0.35rem;
}

.ac-request-actions[b-6hsosegpnl] {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.85rem;
    flex-wrap: wrap;
}

/* Signup request items: stack vertically to prevent horizontal overflow */
.ac-search-results .persona-upload-item[b-6hsosegpnl] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}

.ac-card-header-row[b-6hsosegpnl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.ac-detail-grid[b-6hsosegpnl] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.45rem;
}

.ac-detail-row[b-6hsosegpnl] {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.5rem 0.6rem;
}

.ac-detail-label[b-6hsosegpnl] {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
}

.ac-detail-value[b-6hsosegpnl] {
    margin-top: 0.1rem;
    font-weight: 600;
    color: #173B74;
    overflow-wrap: anywhere;
    font-size: 0.85rem;
}


.ac-field[b-6hsosegpnl] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.9rem;
}

    .ac-field label[b-6hsosegpnl] {
        font-size: 0.78rem;
        font-weight: 600;
        color: #6c757d;
    }

/* One card now holds everything about the selected user, so its parts need to read as parts
   rather than as separate cards. */
.ac-subsection[b-6hsosegpnl] {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #dee2e6;
}

.ac-subsection-header[b-6hsosegpnl] {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 0.75rem;
}

/* The destructive action sits last and is tinted so it cannot be mistaken for the rest. */
.ac-danger-subsection[b-6hsosegpnl] {
    background: #fdf3f3;
    border-top: 1px solid #f3c9c9;
    margin: 1rem -1.25rem -1.25rem;
    padding: 1rem 1.25rem 1.25rem;
    border-radius: 0 0 10px 10px;
}

/* A value that cannot be edited should not be dressed as an input. Same metrics as .form-input so
   it lines up with the fields around it, without the border and white well that invite a click. */
.ac-static-value[b-6hsosegpnl] {
    padding: 0.5rem 0.1rem;
    font-weight: 600;
    color: #173B74;
    overflow-wrap: anywhere;
}
/* /Components/Pages/YearlyCalendarWidget.razor.rz.scp.css */
.calendar-year-header-container[b-j7ycppie3z] {
    width: 100%;
    margin-bottom: 1rem;
}

.calendar-year-header[b-j7ycppie3z] {
    width: 100%;
    max-width: 30%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 2% auto;
}

.year-title[b-j7ycppie3z] {
    font-size: 150%;
    font-weight: 500;
    color: #333333;
    font-family: inherit;
}

.year-nav-btn[b-j7ycppie3z] {
    background: transparent;
    border: none;
    font-size: 125%;
    cursor: pointer;
    color: #666666;
    padding: 1% 3%;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

    .year-nav-btn:hover[b-j7ycppie3z] {
        background: rgba(0, 0, 0, 0.05);
        color: #000000;
    }

.year-picker[b-j7ycppie3z] {
    margin-left: 0.75rem;
    padding: 0.2rem 0.4rem;
    font-family: inherit;
    font-size: 90%;
    color: #333333;
    background: var(--surface, #ffffff);
    border: 1px solid var(--line, #e0e0e0);
    border-radius: var(--radius, 4px);
    cursor: pointer;
}

    .year-picker:focus-visible[b-j7ycppie3z] {
        outline: 2px solid var(--brand, #173B74);
        outline-offset: 1px;
    }

.calendar-legend[b-j7ycppie3z] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin: 0 auto;
    font-size: 85%;
    color: var(--muted, #666666);
}

.legend-item[b-j7ycppie3z] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.legend-swatch[b-j7ycppie3z] {
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    flex: 0 0 auto;
}

.legend-swatch-data[b-j7ycppie3z] {
    background: var(--brand, #173B74);
}

.legend-swatch-selected[b-j7ycppie3z] {
    border-radius: 3px;
    background: rgba(23, 59, 116, 0.1);
    outline: 1px solid var(--brand, #173B74);
}

.calendar-load-error[b-j7ycppie3z] {
    color: var(--danger, #dc3545);
}

.calendar-layout-override[b-j7ycppie3z] {
    display: grid;
    gap: 1%;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 1400px) {
    .calendar-layout-override[b-j7ycppie3z] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .calendar-layout-override[b-j7ycppie3z] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .calendar-layout-override[b-j7ycppie3z] {
        grid-template-columns: 1fr;
    }
}

.month-card-wrapper[b-j7ycppie3z] {
    min-width: 0;
}

.custom-month-card[b-j7ycppie3z] {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: 3%;
}

.month-title[b-j7ycppie3z] {
    font-size: 100%;
    font-weight: 600;
    text-align: center;
    margin: 12% 0 10% 0;
    color: var(--brand);
}

.calendar-grid-widget[b-j7ycppie3z] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2%;
    padding: 5%;
    flex: 1;
    align-content: start;
}

.widget-weekday[b-j7ycppie3z] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 65%;
    font-weight: 600;
    color: var(--muted, #666666);
    text-transform: uppercase;
    line-height: 1;
    padding-bottom: 4%;
}

.widget-day-blank[b-j7ycppie3z] {
    display: block;
    width: 100%;
    min-width: 0;
    pointer-events: none;
}

.widget-day-btn[b-j7ycppie3z] {
    background: transparent;
    border: none;
    border-radius: 4px;
    padding: 14% 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 75%;
    color: #333333;
    width: 100%;
    min-width: 0;
    line-height: 1;
}

    .widget-day-btn:hover[b-j7ycppie3z] {
        background: rgba(0, 0, 0, 0.06);
    }

    .widget-day-btn.has-data .day-num[b-j7ycppie3z] {
        font-weight: 700;
        color: var(--brand, #173B74);
    }

    .widget-day-btn.is-selected[b-j7ycppie3z] {
        background: rgba(23, 59, 116, 0.1) !important;
        outline: 1px solid var(--brand, #173B74);
    }

.day-num[b-j7ycppie3z] {
    line-height: 1;
}

.widget-dot[b-j7ycppie3z] {
    display: none;
}
