@import '_content/B3.CRUD.UI.Components/B3.CRUD.UI.Components.5m1gl3hb9b.bundle.scp.css';
@import '_content/B3.EventSourcing.UI.Components/B3.EventSourcing.UI.Components.bombwx4inn.bundle.scp.css';
@import '_content/B3.Identity.UI.Components/B3.Identity.UI.Components.7ibdr0kxro.bundle.scp.css';
@import '_content/NS.UI.Components/NS.UI.Components.k0geb6z4tq.bundle.scp.css';

/* _content/B3.CRM.Web/Pages/Today.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   Today Page — Copilot-First Layout
   ═══════════════════════════════════════════════════════════════ */

/* Escape the article padding and fill full height */
[b-63rwbwn83l] .today-wrap,
.today-wrap[b-63rwbwn83l] {
    display: grid;
    grid-template-columns: 1fr 300px;
    height: 100vh;
    overflow: hidden;
    background: #f7f7f8;
    font-family: var(--b3-font-family, 'Inter', sans-serif);
    /* Negative margins to escape article padding */
    margin: -1rem -1.5rem -1rem -2rem;
}

/* ── Main chat column ── */
.today-main[b-63rwbwn83l] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border-right: 1px solid var(--b3-border-color, #e5e5e8);
}

/* Header */
.today-header[b-63rwbwn83l] {
    display: flex;
    align-items: center;
    padding: 12px 28px;
    border-bottom: 1px solid var(--b3-border-color, #e5e5e8);
    background: #fff;
    gap: 12px;
    flex-shrink: 0;
}

.today-header-left[b-63rwbwn83l] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.today-title[b-63rwbwn83l] {
    font-size: 15px;
    font-weight: 600;
    color: #0b0d12;
}

.today-subtitle[b-63rwbwn83l] {
    font-size: 12px;
    color: #8a8f9a;
}

.today-pill[b-63rwbwn83l] {
    font-size: 11.5px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f1f0ff;
    color: #5b21b6;
    font-weight: 500;
}

/* Agent tab bar */
.today-tab-bar[b-63rwbwn83l] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 28px;
    background: #fff;
    border-bottom: 1px solid var(--b3-border-color, #e5e5e8);
    flex-shrink: 0;
    flex-wrap: wrap;
}

.today-tab[b-63rwbwn83l] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    font-size: 12.5px;
    border-radius: 7px;
    border: 1px solid transparent;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.1s ease, color 0.1s ease;
}

.today-tab:hover[b-63rwbwn83l] {
    background: #f3f4f6;
    color: #111827;
}

.today-tab--active[b-63rwbwn83l] {
    background: #0b0d12;
    color: #fff;
}

.today-tab--active:hover[b-63rwbwn83l] {
    background: #0b0d12;
    color: #fff;
}

.today-tab-av[b-63rwbwn83l] {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #d1d5db;
    display: grid;
    place-items: center;
    font-size: 9px;
    font-weight: 600;
    color: #374151;
}

.today-tab--active .today-tab-av[b-63rwbwn83l] {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.today-tab-role[b-63rwbwn83l] {
    font-size: 10.5px;
    color: #9aa0ab;
}

.today-tab--active .today-tab-role[b-63rwbwn83l] {
    color: rgba(255, 255, 255, 0.55);
}

.today-tab-right[b-63rwbwn83l] {
    margin-left: auto;
    display: flex;
    gap: 6px;
}

/* Recent conversations panel */
.today-recent-panel[b-63rwbwn83l] {
    border-bottom: 1px solid var(--b3-border-color, #e5e5e8);
    background: #fafafa;
    max-height: 200px;
    overflow-y: auto;
    flex-shrink: 0;
}

.today-recent-item[b-63rwbwn83l] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 8px 28px;
    cursor: pointer;
    border-bottom: 1px solid var(--b3-border-color-light, #eceef2);
    font-size: 12.5px;
}

.today-recent-item:hover[b-63rwbwn83l] {
    background: #f3f4f6;
}

.today-recent-item--active[b-63rwbwn83l] {
    background: #fff;
    font-weight: 500;
}

.today-recent-title[b-63rwbwn83l] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #111827;
}

.today-recent-time[b-63rwbwn83l] {
    font-size: 11px;
    color: #9aa0ab;
    margin-left: 8px;
    flex-shrink: 0;
}

/* Chat scroll area — full width, scrollable */
.today-chat[b-63rwbwn83l] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

/* Centered content column — max 820px, auto side margins */
.today-chat-inner[b-63rwbwn83l] {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    padding: 28px 28px 20px;
}

/* Assistant card */
.today-asst-card[b-63rwbwn83l] {
    background: #fff;
    border: 1px solid var(--b3-border-color, #e5e5e8);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.today-asst-head[b-63rwbwn83l] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.today-asst-av[b-63rwbwn83l] {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #d1d5db;
    display: grid;
    place-items: center;
    color: #374151;
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
}

.today-asst-av--herb[b-63rwbwn83l] {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff;
}

.today-asst-name[b-63rwbwn83l] {
    font-weight: 600;
    font-size: 13px;
    color: #111827;
}

.today-asst-role[b-63rwbwn83l] {
    font-size: 11.5px;
    color: #8a8f9a;
}

.today-asst-time[b-63rwbwn83l] {
    margin-left: auto;
    font-size: 11px;
    color: #8a8f9a;
}

.today-asst-body[b-63rwbwn83l] {
    font-size: 14px;
    color: #111827;
    line-height: 1.6;
}

/* Streaming cursor blink */
.today-cursor[b-63rwbwn83l] {
    animation: blink-b-63rwbwn83l 1s step-start infinite;
}

@keyframes blink-b-63rwbwn83l {
    50% { opacity: 0; }
}

/* Suggestion grid (action cards inside chat) */
.today-suggest-grid[b-63rwbwn83l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.today-suggest-card[b-63rwbwn83l] {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.1s ease, box-shadow 0.1s ease;
}

.today-suggest-card:hover[b-63rwbwn83l] {
    border-color: #a5b4fc;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.today-suggest-top[b-63rwbwn83l] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.today-prio[b-63rwbwn83l] {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    flex-shrink: 0;
}

.today-prio--high[b-63rwbwn83l] {
    background: #fef2f2;
    color: #b91c1c;
}

.today-prio--medium[b-63rwbwn83l] {
    background: #fef9c3;
    color: #92400e;
}

.today-prio--low[b-63rwbwn83l] {
    background: #f3f4f6;
    color: #6b7280;
}

.today-suggest-co[b-63rwbwn83l] {
    font-size: 11px;
    color: #6b7280;
}

.today-suggest-due[b-63rwbwn83l] {
    font-size: 10.5px;
    color: #8a8f9a;
    margin-left: auto;
}

.today-suggest-title[b-63rwbwn83l] {
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 4px;
}

.today-suggest-meta[b-63rwbwn83l] {
    font-size: 11.5px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 4px;
}

.today-suggest-foot[b-63rwbwn83l] {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    align-items: center;
}

/* Mini buttons */
.today-mini-btn[b-63rwbwn83l] {
    font-size: 11.5px;
    padding: 4px 9px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
    transition: background-color 0.1s ease, border-color 0.1s ease;
}

.today-mini-btn:hover[b-63rwbwn83l] {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.today-mini-btn:disabled[b-63rwbwn83l] {
    opacity: 0.5;
    cursor: not-allowed;
}

.today-mini-btn--dark[b-63rwbwn83l] {
    background: #0b0d12;
    color: #fff;
    border-color: #0b0d12;
}

.today-mini-btn--dark:hover[b-63rwbwn83l] {
    background: #1f2937;
    border-color: #1f2937;
    color: #fff;
}

/* User message */
.today-user-row[b-63rwbwn83l] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.today-user-bubble[b-63rwbwn83l] {
    background: #e7e9ff;
    color: #1e1b4b;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13.5px;
    max-width: 480px;
    line-height: 1.5;
}

/* Composer */
.today-composer[b-63rwbwn83l] {
    padding: 12px 28px 16px;
    border-top: 1px solid var(--b3-border-color, #e5e5e8);
    background: #fff;
    flex-shrink: 0;
}

.today-composer-inner[b-63rwbwn83l] {
    max-width: 820px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #fafafa;
    padding: 10px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.today-composer-inner:focus-within[b-63rwbwn83l] {
    border-color: #a5b4fc;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

.today-composer-input[b-63rwbwn83l] {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 14px;
    padding: 4px 4px 8px;
    font-family: inherit;
    resize: none;
    color: #111827;
    line-height: 1.5;
}

.today-composer-input[b-63rwbwn83l]::placeholder {
    color: #9aa0ab;
}

.today-composer-row[b-63rwbwn83l] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.today-prompt-chip[b-63rwbwn83l] {
    font-size: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    cursor: pointer;
    color: #4b5563;
    font-family: inherit;
    white-space: nowrap;
    transition: background-color 0.1s ease, border-color 0.1s ease;
}

.today-prompt-chip:hover[b-63rwbwn83l] {
    background: #f3f4f6;
    border-color: #c7c9d0;
}

.today-prompt-chip:disabled[b-63rwbwn83l] {
    opacity: 0.5;
    cursor: not-allowed;
}

.today-send-btn[b-63rwbwn83l] {
    margin-left: auto;
    background: #0b0d12;
    color: #fff;
    border: 0;
    padding: 6px 14px;
    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    transition: background-color 0.1s ease;
}

.today-send-btn:hover[b-63rwbwn83l] {
    background: #1f2937;
}

.today-send-btn:disabled[b-63rwbwn83l] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ── Right context pane ── */
.today-ctx[b-63rwbwn83l] {
    border-left: 1px solid var(--b3-border-color, #e5e5e8);
    background: #fafafa;
    overflow-y: auto;
    padding: 14px 16px 20px;
}

.today-ctx-label[b-63rwbwn83l] {
    font-size: 10.5px;
    font-weight: 600;
    color: #8a8f9a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    margin-top: 16px;
}

.today-ctx-total[b-63rwbwn83l] {
    margin-left: auto;
    font-size: 10.5px;
    color: #8a8f9a;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.today-ctx-sublabel[b-63rwbwn83l] {
    font-size: 10.5px;
    font-weight: 600;
    color: #8a8f9a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

/* Mini calendar */
.today-mini-cal[b-63rwbwn83l] {
    background: #fff;
    border: 1px solid var(--b3-border-color-light, #eceef2);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 8px;
}

.today-mini-cal-head[b-63rwbwn83l] {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #111827;
}

.today-mini-cal-head span[b-63rwbwn83l] {
    flex: 1;
    text-align: center;
}

.today-cal-nav[b-63rwbwn83l] {
    background: transparent;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
    color: #6b7280;
    font-size: 11px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.today-cal-nav:hover[b-63rwbwn83l] {
    background: #f3f4f6;
    color: #111827;
}

.today-mini-grid[b-63rwbwn83l] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    font-size: 11px;
}

.today-mini-dow[b-63rwbwn83l] {
    text-align: center;
    color: #9aa0ab;
    font-size: 9.5px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 0;
}

.today-mini-day[b-63rwbwn83l] {
    text-align: center;
    padding: 5px 0;
    border-radius: 5px;
    font-variant-numeric: tabular-nums;
    color: #374151;
    position: relative;
    cursor: pointer;
    font-size: 11px;
    line-height: 1.2;
}

.today-mini-day:hover[b-63rwbwn83l] {
    background: #f3f4f6;
}

.today-mini-day--empty[b-63rwbwn83l] {
    cursor: default;
}

.today-mini-day--empty:hover[b-63rwbwn83l] {
    background: transparent;
}

.today-mini-day--today[b-63rwbwn83l] {
    border: 1px solid #6366f1;
}

.today-mini-day--active[b-63rwbwn83l] {
    background: #0b0d12;
    color: #fff;
    font-weight: 600;
}

.today-mini-day--active:hover[b-63rwbwn83l] {
    background: #0b0d12;
}

.today-mini-dot[b-63rwbwn83l] {
    width: 3px;
    height: 3px;
    background: #f59e0b;
    border-radius: 50%;
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
}

/* Upcoming action items */
.today-upcoming[b-63rwbwn83l] {
    padding: 10px;
    background: #fff;
    border: 1px solid var(--b3-border-color-light, #eceef2);
    border-radius: 8px;
    margin-bottom: 6px;
}

.today-upcoming--high[b-63rwbwn83l] {
    border-left: 2px solid #b91c1c;
    padding-left: 9px;
}

.today-upcoming-meta-row[b-63rwbwn83l] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.today-upcoming-date[b-63rwbwn83l] {
    font-size: 10.5px;
    color: #8a8f9a;
    margin-left: auto;
}

.today-upcoming-status[b-63rwbwn83l] {
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 500;
}

.today-upcoming-title[b-63rwbwn83l] {
    font-size: 12.5px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 2px;
}

.today-upcoming-co[b-63rwbwn83l] {
    font-size: 11px;
    color: #8a8f9a;
}

.today-ctx-prio[b-63rwbwn83l] {
    font-size: 9.5px;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: 0.03em;
}

.today-ctx-prio--high[b-63rwbwn83l]   { background: #fef2f2; color: #b91c1c; }
.today-ctx-prio--medium[b-63rwbwn83l] { background: #fef9c3; color: #92400e; }
.today-ctx-prio--low[b-63rwbwn83l]    { background: #f3f4f6; color: #6b7280; }

.today-view-all[b-63rwbwn83l] {
    display: block;
    padding: 8px 10px;
    font-size: 11.5px;
    color: #6366f1;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.today-view-all:hover[b-63rwbwn83l] {
    color: #4f46e5;
    text-decoration: underline;
}

/* ── Mobile: stack vertically, match sidebar breakpoint ── */
@media (max-width: 640.98px) {
    [b-63rwbwn83l] .today-wrap,
    .today-wrap[b-63rwbwn83l] {
        display: flex;
        flex-direction: column;
        /* Mobile article padding is 1.5rem horiz (px-4), 1rem vert (py-3) */
        margin: -1rem -1.5rem;
        height: calc(100vh - 3.5rem); /* below the sticky sidebar bar */
        overflow: hidden;
    }

    .today-main[b-63rwbwn83l] {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .today-ctx[b-63rwbwn83l] {
        display: none;
    }

    .today-header[b-63rwbwn83l] {
        padding: 10px 16px;
        gap: 8px;
    }

    .today-header-left[b-63rwbwn83l] {
        flex-wrap: wrap;
    }

    .today-tab-bar[b-63rwbwn83l] {
        padding: 6px 12px;
        gap: 3px;
        overflow-x: auto;
    }

    .today-tab[b-63rwbwn83l] {
        font-size: 11.5px;
        padding: 4px 8px;
    }

    .today-tab-right[b-63rwbwn83l] {
        display: none; /* hide Recent/New on small screens */
    }

    .today-chat[b-63rwbwn83l] {
        flex: 1;
        overflow-y: auto;
        min-height: 0;
    }

    .today-chat-inner[b-63rwbwn83l] {
        padding: 12px 14px 10px;
    }

    .today-suggest-grid[b-63rwbwn83l] {
        grid-template-columns: 1fr;
    }

    .today-composer[b-63rwbwn83l] {
        padding: 8px 12px 10px;
        /* Extra padding for home-bar on iOS */
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }

    .today-composer-inner[b-63rwbwn83l] {
        padding: 8px;
    }

    .today-user-bubble[b-63rwbwn83l] {
        max-width: 85%;
    }
}
/* _content/B3.CRM.Web/Shared/MainLayout.razor.rz.scp.css */
.page[b-rc66tf8b1a] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.sidebar[b-rc66tf8b1a] {
    background: var(--b3-sidebar-bg);
}

@media (max-width: 640.98px) {
    /* Sidebar becomes a sticky top bar on mobile */
    .sidebar[b-rc66tf8b1a] {
        position: sticky;
        top: 0;
        z-index: 200;
        width: 100%;
        border-bottom: 1px solid var(--b3-border-color, #e5e5e8);
    }

    /* Content area needs no special offset (sidebar is in-flow when collapsed) */
    main[b-rc66tf8b1a] {
        min-height: 0;
    }
}

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

    .sidebar[b-rc66tf8b1a] {
        width: 220px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }

    article[b-rc66tf8b1a] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/B3.CRM.Web/Shared/NavMenu.razor.rz.scp.css */
/* ── Mobile toggle button ── */
.navbar-toggler[b-cf90ai55sd] {
    border: 1px solid var(--b3-border-color, #e5e5e8);
    background-color: var(--b3-bg-surface, #ffffff);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.navbar-toggler-icon[b-cf90ai55sd] {
    display: inline-block;
    width: 22px;
    height: 22px;
    background-color: var(--b3-nav-link-color, #3d4250);
    -webkit-mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 100%;
    mask-size: 100%;
}

/* ── Brand row ── */
.top-row[b-cf90ai55sd] {
    height: auto;
    min-height: 3.5rem;
    background-color: transparent;
    padding-bottom: 6px;
}

.navbar-brand[b-cf90ai55sd] {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--b3-color-dark, #0b0d12);
}

/* Brand gradient dot */
.brand-dot[b-cf90ai55sd] {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    display: inline-block;
    flex-shrink: 0;
}

/* ── Nav scroll container ── */
.nav-scrollable[b-cf90ai55sd] {
    padding: 0 10px 16px;
}

/* ── Icons ── */
.oi[b-cf90ai55sd] {
    width: 1.125rem;
    font-size: 0.875rem;
    vertical-align: middle;
    flex-shrink: 0;
    position: relative;
    top: -1px;
}

/* ── Nav items ── */
.nav-item[b-cf90ai55sd] {
    font-size: 0.8125rem;
    padding-bottom: 1px;
}

.nav-item:first-of-type[b-cf90ai55sd] {
    padding-top: 2px;
}

.nav-item:last-of-type[b-cf90ai55sd] {
    padding-bottom: 4px;
}

.nav-item[b-cf90ai55sd]  a {
    color: var(--b3-nav-link-color, #3d4250);
    border-radius: var(--b3-nav-link-border-radius, 6px);
    height: auto;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 0.1s ease, color 0.1s ease;
    font-size: 0.8125rem;
}

.nav-item[b-cf90ai55sd]  a.active {
    background-color: var(--b3-nav-link-active-bg, #f1f0ff);
    color: var(--b3-nav-link-active-color, #5b21b6);
    font-weight: 500;
}

.nav-item[b-cf90ai55sd]  a:hover:not(.active) {
    background-color: var(--b3-nav-link-hover-bg, rgba(99, 102, 241, 0.06));
    color: var(--b3-nav-link-hover-color, #3d4250);
    text-decoration: none;
}

/* ── Section labels ── */
.nav-section-label[b-cf90ai55sd] {
    font-size: 10.5px;
    font-weight: 500;
    color: var(--b3-nav-section-label-color, #8a8f9a);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 10px 6px;
}

/* ════════════════════════════════════════════════
   Desktop: collapse never applies
   ════════════════════════════════════════════════ */
@media (min-width: 641px) {
    .navbar-toggler[b-cf90ai55sd] {
        display: none;
    }

    .collapse[b-cf90ai55sd] {
        display: block !important;
    }

    .nav-scrollable[b-cf90ai55sd] {
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

/* ════════════════════════════════════════════════
   Mobile: hamburger drawer
   ════════════════════════════════════════════════ */
@media (max-width: 640.98px) {
    /* Brand row stays visible and compact */
    .top-row[b-cf90ai55sd] {
        padding-bottom: 0;
        border-bottom: 1px solid var(--b3-border-color, #e5e5e8);
    }

    /* Collapsed state: hide nav items */
    .nav-scrollable.collapse[b-cf90ai55sd] {
        display: none !important;
    }

    /* Expanded state: slide down as an absolute overlay */
    .nav-scrollable:not(.collapse)[b-cf90ai55sd] {
        position: absolute;
        top: 3.5rem;
        left: 0;
        right: 0;
        background: var(--b3-bg-sidebar, #fafafa);
        border-bottom: 1px solid var(--b3-border-color, #e5e5e8);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        z-index: 150;
        max-height: calc(100vh - 3.5rem);
        overflow-y: auto;
        padding-bottom: 12px;
    }
}
