/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* MainLayout with Top Navigation */
.page[b-crx00wc8g6] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main.main-content[b-crx00wc8g6] {
    flex: 1;
    background-color: #f8f9fa;
    padding: 0;
}

.content[b-crx00wc8g6] {
    background-color: white;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin: 1rem 0;
    min-height: calc(100vh - 200px);
}

/* Navbar enhancements */
.navbar[b-crx00wc8g6] {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1030;
}

.navbar-brand[b-crx00wc8g6] {
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover[b-crx00wc8g6] {
    transform: scale(1.02);
}

.navbar-nav .nav-link[b-crx00wc8g6] {
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover[b-crx00wc8g6] {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active[b-crx00wc8g6] {
    background-color: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

.navbar-nav .nav-link.active[b-crx00wc8g6]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #ffc107;
    border-radius: 2px 2px 0 0;
}

/* Dropdown menu styling */
.dropdown-menu[b-crx00wc8g6] {
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item[b-crx00wc8g6] {
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
    border-radius: 0.375rem;
    margin: 0.25rem;
}

.dropdown-item:hover[b-crx00wc8g6] {
    background-color: var(--durakey-primary);
    color: white;
    transform: translateX(2px);
}

.dropdown-item i[b-crx00wc8g6] {
    width: 20px;
    text-align: center;
}

/* Mobile responsive navbar */
@media (max-width: 991.98px) {
    .navbar-collapse[b-crx00wc8g6] {
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 0.5rem;
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .navbar-nav[b-crx00wc8g6] {
        align-items: flex-start;
    }
    
    .navbar-nav .nav-link[b-crx00wc8g6] {
        margin: 0.25rem 0;
        padding: 0.75rem 1rem;
        border-radius: 0.375rem;
        width: 100%;
    }
    
    .navbar-nav .dropdown-menu[b-crx00wc8g6] {
        background-color: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin-left: 1rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .content[b-crx00wc8g6] {
        margin: 0.5rem 0;
        border-radius: 0.25rem;
        min-height: calc(100vh - 180px);
    }
    
    .navbar-brand[b-crx00wc8g6] {
        font-size: 1.25rem;
    }
    
    .navbar-brand img[b-crx00wc8g6] {
        height: 35px !important;
    }
}

@media (max-width: 576px) {
    .content[b-crx00wc8g6] {
        margin: 0.25rem 0;
        padding: 1rem;
        min-height: calc(100vh - 160px);
    }
    
    .navbar-brand[b-crx00wc8g6] {
        font-size: 1.1rem;
    }
    
    .navbar-brand img[b-crx00wc8g6] {
        height: 30px !important;
        margin-right: 0.5rem !important;
    }
    
    .navbar-toggler[b-crx00wc8g6] {
        font-size: 1rem;
        padding: 0.5rem;
    }
}


/* Enhanced error UI for better visibility with top nav */
#blazor-error-ui[b-crx00wc8g6] {
    color-scheme: light only;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    bottom: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    z-index: 1050;
    color: #856404;
    font-weight: 500;
}

#blazor-error-ui .dismiss[b-crx00wc8g6] {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    background: none;
    border: none;
    color: #856404;
    padding: 0.25rem;
    line-height: 1;
}

#blazor-error-ui .dismiss:hover[b-crx00wc8g6] {
    color: #533f03;
    background-color: rgba(133, 100, 4, 0.1);
    border-radius: 0.25rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/*
 * NavMenu Component Styles
 *
 * NOTE: The sidebar navigation has been replaced by top navigation in MainLayout.razor
 * This file is kept minimal for backwards compatibility.
 * Primary styling is now in app.css and MainLayout.razor.css
 */

/* Hide legacy nav menu if ever rendered */
.legacy-nav-menu[b-hbsy5celea] {
    display: none !important;
}

/* Minimal nav-icon class kept for any shared component usage */
.nav-icon[b-hbsy5celea] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}
/* /Components/Pages/Account/InventoryLocations.razor.rz.scp.css */
/*
    The global `.card` rule in app.css sets `overflow: hidden` (to clip its rounded
    corners) and a `:hover` lift via `transform`. Both break the SKU autocomplete on
    this page: `overflow: hidden` clips the results dropdown that must extend below the
    card, and the hover transform makes the card (and dropdown) jump while the user is
    selecting a result. Scope the overrides to the add-mapping card only.

    Scoped-CSS selectors are emitted with a `[b-xxxxx]` attribute, so these out-specify
    the global `.card` / `.card:hover` rules without `!important`.
*/
.add-mapping-card[b-67oly2gyx2] {
    overflow: visible;
}

.add-mapping-card:hover[b-67oly2gyx2] {
    transform: none;
}
/* /Components/Pages/AceStoreSupport.razor.rz.scp.css */
.ss-wrap[b-i7cwg10c4c] { max-width: 720px; margin: 40px auto; padding: 0 16px; }
.ss-card[b-i7cwg10c4c] { background: #ffffff; border: 1px solid #e4e7ec; border-radius: 14px; padding: 32px 36px; box-shadow: 0 6px 24px rgba(16,24,40,.06); }

.ss-logo[b-i7cwg10c4c] { text-align: center; margin-bottom: 26px; }
.ss-logo img[b-i7cwg10c4c] { height: 46px; width: auto; max-width: 240px; display: inline-block; }

.ss-head h1[b-i7cwg10c4c] { font-size: 26px; font-weight: 700; color: #18212e; margin: 0 0 10px; }
.ss-head p[b-i7cwg10c4c] { color: #475467; font-size: 15px; line-height: 1.6; margin: 0 0 24px; }

.ss-grid[b-i7cwg10c4c] { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ss-field[b-i7cwg10c4c] { display: flex; flex-direction: column; }
.ss-field.ss-full[b-i7cwg10c4c] { grid-column: 1 / -1; }
.ss-field label[b-i7cwg10c4c] { font-size: 13px; font-weight: 600; color: #344054; margin-bottom: 5px; }
.ss-field small[b-i7cwg10c4c] { color: #8a94a4; font-size: 12px; margin-top: 4px; }
.ss-field[b-i7cwg10c4c] { margin-bottom: 4px; }

.ss-error[b-i7cwg10c4c] { color: #b42318; background: #fde2e1; border: 1px solid #fecdca; border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-top: 18px; }

.ss-submit[b-i7cwg10c4c] { margin-top: 22px; padding: 12px 28px; font-size: 16px; font-weight: 600; }

.ss-thanks[b-i7cwg10c4c] { text-align: center; padding: 24px 8px; }
.ss-thanks i[b-i7cwg10c4c] { font-size: 56px; color: #10b981; }
.ss-thanks h2[b-i7cwg10c4c] { font-size: 24px; font-weight: 700; color: #18212e; margin: 14px 0 8px; }
.ss-thanks p[b-i7cwg10c4c] { color: #475467; font-size: 15px; line-height: 1.6; max-width: 520px; margin: 0 auto; }

@media (max-width: 600px) {
    .ss-grid[b-i7cwg10c4c] { grid-template-columns: 1fr; }
    .ss-card[b-i7cwg10c4c] { padding: 24px 20px; }
}

/* Dark mode: flip the card surface so the dark-variant logo (and text) stay legible */
@media (prefers-color-scheme: dark) {
    .ss-card[b-i7cwg10c4c] { background: #1b2230; border-color: #2c3647; box-shadow: 0 6px 24px rgba(0,0,0,.45); }

    .ss-head h1[b-i7cwg10c4c], .ss-thanks h2[b-i7cwg10c4c] { color: #f1f4f9; }
    .ss-head p[b-i7cwg10c4c], .ss-thanks p[b-i7cwg10c4c] { color: #b3bccb; }

    .ss-field label[b-i7cwg10c4c] { color: #cdd5e0; }
    .ss-field small[b-i7cwg10c4c] { color: #8a94a4; }
    .ss-field .form-control[b-i7cwg10c4c] { background: #0f1622; border-color: #2c3647; color: #e7ecf3; }
    .ss-field .form-control[b-i7cwg10c4c]::placeholder { color: #6b7787; }
    .ss-field .form-control:focus[b-i7cwg10c4c] { background: #0f1622; border-color: #4a90d9; color: #e7ecf3; }

    .ss-error[b-i7cwg10c4c] { color: #ffb4ab; background: #3a1f1d; border-color: #5c2b27; }
}
/* /Components/Pages/Admin/AceOutreachDashboard.razor.rz.scp.css */
.ac-page[b-8sjcus9v3s] { padding: 24px 28px; max-width: 1200px; }
.ac-page-head[b-8sjcus9v3s] { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.ac-h1[b-8sjcus9v3s] { font-size: 22px; font-weight: 700; color: var(--ac-ink); margin: 0; }
.ac-sub[b-8sjcus9v3s] { color: var(--ac-ink-3); font-size: 13px; margin: 4px 0 0; }

.ac-card[b-8sjcus9v3s] { background: var(--ac-surface); border: 1px solid var(--ac-border); border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.ace-card-title[b-8sjcus9v3s] { font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--ac-ink-3); margin-bottom: 14px; }

.ace-filters[b-8sjcus9v3s] { padding: 14px 16px; }
.ace-filter-grid[b-8sjcus9v3s] { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.ace-filter label[b-8sjcus9v3s] { display: block; font-size: 11px; font-weight: 600; color: var(--ac-ink-3); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 3px; }

/* KPI tiles */
.ace-kpis[b-8sjcus9v3s] { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 16px; }
.ace-kpi[b-8sjcus9v3s] { background: var(--ac-surface); border: 1px solid var(--ac-border); border-radius: 10px; padding: 16px 18px; }
.ace-kpi-value[b-8sjcus9v3s] { font-size: 28px; font-weight: 700; color: var(--ac-ink); line-height: 1.1; }
.ace-kpi-label[b-8sjcus9v3s] { font-size: 12px; color: var(--ac-ink-3); margin-top: 4px; }

/* progress */
.ace-progress[b-8sjcus9v3s] { height: 12px; border-radius: 999px; background: var(--ac-surface-sunken); overflow: hidden; }
.ace-progress-fill[b-8sjcus9v3s] { height: 100%; background: linear-gradient(90deg, var(--ac-primary), var(--ac-primary-600)); border-radius: 999px; }

.ace-grid-2[b-8sjcus9v3s] { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .ace-grid-2[b-8sjcus9v3s] { grid-template-columns: 1fr; } }

/* horizontal bars */
.ace-bar-row[b-8sjcus9v3s] { display: grid; grid-template-columns: 130px 1fr 36px; align-items: center; gap: 10px; margin-bottom: 8px; }
.ace-bar-label[b-8sjcus9v3s] { font-size: 12.5px; color: var(--ac-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ace-bar-track[b-8sjcus9v3s] { background: var(--ac-surface-sunken); border-radius: 6px; height: 18px; overflow: hidden; }
.ace-bar-fill[b-8sjcus9v3s] { height: 100%; border-radius: 6px; min-width: 2px; background: var(--ac-primary); }
.ace-bar-user[b-8sjcus9v3s] { background: var(--ac-primary); }
.ace-bar-value[b-8sjcus9v3s] { font-size: 12.5px; font-weight: 600; color: var(--ac-ink); text-align: right; }

.ace-bar-fill.ace-st-ok[b-8sjcus9v3s] { background: #10b981; }
.ace-bar-fill.ace-st-bad[b-8sjcus9v3s] { background: #ef4444; }
.ace-bar-fill.ace-st-unreach[b-8sjcus9v3s] { background: #9ca3af; }
.ace-bar-fill.ace-st-follow[b-8sjcus9v3s] { background: #f59e0b; }
.ace-bar-fill.ace-st-return[b-8sjcus9v3s] { background: var(--ac-primary); }
.ace-bar-fill.ace-st-none[b-8sjcus9v3s] { background: var(--ac-border-strong); }

.ace-substats[b-8sjcus9v3s] { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ac-border); font-size: 12.5px; color: var(--ac-ink-2); }

/* timeline columns */
.ace-timeline[b-8sjcus9v3s] { display: flex; align-items: flex-end; gap: 6px; height: 140px; overflow-x: auto; padding-top: 8px; -webkit-overflow-scrolling: touch; }
.ace-tl-col[b-8sjcus9v3s] { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 34px; }
.ace-tl-bar[b-8sjcus9v3s] { width: 22px; background: var(--ac-primary); border-radius: 4px 4px 0 0; }
.ace-tl-label[b-8sjcus9v3s] { font-size: 10px; color: var(--ac-ink-3); margin-top: 4px; white-space: nowrap; }

/* ===== 🏆 Race for the Prize leaderboard ===== */
.ace-lb[b-8sjcus9v3s] { overflow: hidden; }
.ace-lb-head[b-8sjcus9v3s] { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ace-lb-trophy[b-8sjcus9v3s] { display: inline-block; animation: ace-trophy-bob-b-8sjcus9v3s 2.4s ease-in-out infinite; }
.ace-lb-prize[b-8sjcus9v3s] {
    font-size: 12px; font-weight: 700; color: #7a5b00;
    background: linear-gradient(90deg, #ffe79a, #ffd24a);
    border: 1px solid #f0c040; border-radius: 999px; padding: 4px 12px;
    box-shadow: 0 1px 4px rgba(240, 192, 64, .4);
}
@keyframes ace-trophy-bob-b-8sjcus9v3s { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-3px) rotate(4deg); } }

/* Champion banner */
.ace-champ[b-8sjcus9v3s] {
    position: relative; display: flex; align-items: center; gap: 16px;
    padding: 16px 20px; margin-bottom: 22px; border-radius: 12px;
    background: linear-gradient(120deg, #1f2a44 0%, #3a2f6b 45%, #7b3fb0 100%);
    color: #fff; overflow: hidden;
    box-shadow: 0 6px 22px rgba(80, 40, 140, .35);
}
/* Animated shimmer sweep */
.ace-champ[b-8sjcus9v3s]::after {
    content: ""; position: absolute; top: 0; left: -60%; width: 50%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
    transform: skewX(-20deg); animation: ace-shimmer-b-8sjcus9v3s 3.4s ease-in-out infinite;
}
@keyframes ace-shimmer-b-8sjcus9v3s { 0% { left: -60%; } 55%, 100% { left: 130%; } }
.ace-champ-crown[b-8sjcus9v3s] { font-size: 38px; line-height: 1; animation: ace-trophy-bob-b-8sjcus9v3s 2.4s ease-in-out infinite; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.ace-champ-body[b-8sjcus9v3s] { flex: 1; min-width: 0; z-index: 1; }
.ace-champ-label[b-8sjcus9v3s] { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; opacity: .8; }
.ace-champ-name[b-8sjcus9v3s] { font-size: 22px; font-weight: 800; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ace-champ-sub[b-8sjcus9v3s] { font-size: 13px; opacity: .92; margin-top: 2px; }
.ace-champ-lead[b-8sjcus9v3s] { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: rgba(255,255,255,.18); font-weight: 600; }
.ace-champ-count[b-8sjcus9v3s] {
    z-index: 1; font-size: 44px; font-weight: 800; line-height: 1;
    color: #ffd24a; text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.ace-tie-badge[b-8sjcus9v3s] {
    display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px;
    font-size: 10px; font-weight: 800; letter-spacing: .5px; color: #3a1d00;
    background: linear-gradient(90deg, #ffe79a, #ffb347);
    box-shadow: 0 0 10px rgba(255, 180, 70, .7); animation: ace-tie-pulse-b-8sjcus9v3s 1.3s ease-in-out infinite;
}
@keyframes ace-tie-pulse-b-8sjcus9v3s { 0%, 100% { box-shadow: 0 0 6px rgba(255,180,70,.5); } 50% { box-shadow: 0 0 16px rgba(255,180,70,.95); } }
/* In a tie the single number is ambiguous — hide it; the names carry the story. */
.ace-champ-tie .ace-champ-count[b-8sjcus9v3s] { display: none; }

/* Podium */
.ace-podium[b-8sjcus9v3s] { display: flex; align-items: flex-end; justify-content: center; gap: 14px; margin-bottom: 6px; }
.ace-pod[b-8sjcus9v3s] { display: flex; flex-direction: column; align-items: center; flex: 0 1 150px; max-width: 170px; }
.ace-pod-medal[b-8sjcus9v3s] { font-size: 30px; line-height: 1; margin-bottom: 4px; }
.ace-pod-name[b-8sjcus9v3s] { font-size: 13px; font-weight: 600; color: var(--ac-ink); margin-bottom: 6px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ace-pod-block[b-8sjcus9v3s] {
    width: 100%; border-radius: 8px 8px 0 0; position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    padding-top: 8px; color: #fff; transition: height .6s cubic-bezier(.2,.8,.2,1);
}
.ace-pod-count[b-8sjcus9v3s] { font-size: 20px; font-weight: 800; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.ace-pod-rank[b-8sjcus9v3s] { position: absolute; bottom: 8px; font-size: 26px; font-weight: 800; opacity: .35; }
.ace-pod-1 .ace-pod-block[b-8sjcus9v3s] { background: linear-gradient(180deg, #ffd24a, #e0a800); box-shadow: 0 0 18px rgba(255, 200, 64, .55); }
.ace-pod-2 .ace-pod-block[b-8sjcus9v3s] { background: linear-gradient(180deg, #d2d8e0, #9aa4b2); }
.ace-pod-3 .ace-pod-block[b-8sjcus9v3s] { background: linear-gradient(180deg, #e0a072, #b5703f); }
.ace-pod-1 .ace-pod-medal[b-8sjcus9v3s] { animation: ace-trophy-bob-b-8sjcus9v3s 2.4s ease-in-out infinite; }

/* Standings (rank 4+) */
.ace-standings[b-8sjcus9v3s] { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ac-border); }
.ace-stand-row[b-8sjcus9v3s] { display: grid; grid-template-columns: 28px 140px 1fr 36px; align-items: center; gap: 10px; margin-bottom: 7px; }
.ace-stand-rank[b-8sjcus9v3s] { font-size: 12.5px; font-weight: 700; color: var(--ac-ink-3); text-align: center; }
.ace-stand-name[b-8sjcus9v3s] { font-size: 12.5px; color: var(--ac-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ace-stand-track[b-8sjcus9v3s] { background: var(--ac-surface-sunken); border-radius: 6px; height: 14px; overflow: hidden; }
.ace-stand-fill[b-8sjcus9v3s] { height: 100%; border-radius: 6px; min-width: 2px; background: linear-gradient(90deg, var(--ac-primary), var(--ac-primary-600)); }
.ace-stand-count[b-8sjcus9v3s] { font-size: 12.5px; font-weight: 600; color: var(--ac-ink); text-align: right; }

/* Tablet / small screens */
@media (max-width: 768px) {
    .ac-page[b-8sjcus9v3s] { padding: 16px 14px; }
    .ac-h1[b-8sjcus9v3s] { font-size: 19px; }
    .ace-kpi-value[b-8sjcus9v3s] { font-size: 24px; }
    /* Reclaim space for the bar from the fixed label column. */
    .ace-bar-row[b-8sjcus9v3s] { grid-template-columns: 100px 1fr 32px; gap: 8px; }
    .ace-champ-count[b-8sjcus9v3s] { font-size: 34px; }
    .ace-champ-name[b-8sjcus9v3s] { font-size: 19px; }
    .ace-pod[b-8sjcus9v3s] { flex-basis: 110px; }
    .ace-stand-row[b-8sjcus9v3s] { grid-template-columns: 24px 100px 1fr 32px; }
}

/* Phones */
@media (max-width: 576px) {
    .ac-page[b-8sjcus9v3s] { padding: 12px 10px; }
    .ac-card[b-8sjcus9v3s] { padding: 12px; }
    .ace-filters[b-8sjcus9v3s] { padding: 12px; }
    .ace-filter-grid[b-8sjcus9v3s] { grid-template-columns: 1fr 1fr; }
    .ace-kpis[b-8sjcus9v3s] { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ace-kpi[b-8sjcus9v3s] { padding: 12px 14px; }
    .ace-bar-row[b-8sjcus9v3s] { grid-template-columns: 84px 1fr 28px; }
    .ace-bar-label[b-8sjcus9v3s] { font-size: 12px; }
    .ace-substats[b-8sjcus9v3s] { gap: 10px; }
}
/* /Components/Pages/Admin/AceOutreachList.razor.rz.scp.css */
.ac-page[b-dmtjss1myf] { padding: 24px 28px; max-width: 1400px; }
.ac-page-head[b-dmtjss1myf] { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.ac-h1[b-dmtjss1myf] { font-size: 22px; font-weight: 700; color: var(--ac-ink); margin: 0; }
.ac-sub[b-dmtjss1myf] { color: var(--ac-ink-3); font-size: 13px; margin: 4px 0 0; }
.ac-page-actions[b-dmtjss1myf] { display: flex; gap: 8px; flex-wrap: wrap; }

.ac-card[b-dmtjss1myf] { background: var(--ac-surface); border: 1px solid var(--ac-border); border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.ac-card.p-0[b-dmtjss1myf] { padding: 0; overflow: hidden; }

.ace-guidance[b-dmtjss1myf] {
    background: var(--ac-primary-tint); color: var(--ac-primary-700);
    border: 1px solid var(--ac-primary-tint-2); border-radius: 8px;
    padding: 10px 14px; font-size: 13px; margin-bottom: 14px;
}

/* Call script */
.ace-script[b-dmtjss1myf] { background: var(--ac-surface); border: 1px solid var(--ac-border); border-radius: 10px; margin-bottom: 16px; overflow: hidden; }
.ace-script-toggle[b-dmtjss1myf] {
    width: 100%; text-align: left; background: var(--ac-surface-2); border: none;
    padding: 12px 16px; font-weight: 600; color: var(--ac-ink); cursor: pointer; font-size: 14px;
}
.ace-script-toggle:hover[b-dmtjss1myf] { background: var(--ac-surface-sunken); }
.ace-script-body[b-dmtjss1myf] { padding: 8px 18px 16px; color: var(--ac-ink-2); font-size: 13.5px; line-height: 1.6; }
.ace-script-body[b-dmtjss1myf]  h2 { font-size: 15px; color: var(--ac-ink); margin: 14px 0 6px; }
.ace-script-body[b-dmtjss1myf]  ul { margin: 4px 0 8px; padding-left: 20px; }
.ace-script-body[b-dmtjss1myf]  strong { color: var(--ac-ink); }
.ace-script-body[b-dmtjss1myf]  p { margin: 6px 0; }

/* Filters */
.ace-filters[b-dmtjss1myf] { padding: 14px 16px; }
.ace-filter-grid[b-dmtjss1myf] { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.ace-filter label[b-dmtjss1myf] { display: block; font-size: 11px; font-weight: 600; color: var(--ac-ink-3); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 3px; }
.ace-filter-checks[b-dmtjss1myf] { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.ace-check[b-dmtjss1myf] { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ac-ink-2); margin: 0; }
.ace-count[b-dmtjss1myf] { margin-top: 10px; font-size: 12px; color: var(--ac-ink-3); }

/* Table */
.ace-table[b-dmtjss1myf] { font-size: 13.5px; }
.ace-table thead th[b-dmtjss1myf] { font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: var(--ac-ink-3); border-bottom: 1px solid var(--ac-border); background: var(--ac-surface-2); }
.ace-table td[b-dmtjss1myf] { vertical-align: middle; border-bottom: 1px solid var(--ac-border); color: var(--ac-ink); }
.ace-row-open td[b-dmtjss1myf] { background: var(--ac-surface); }
.ace-row-contacted td[b-dmtjss1myf] { background: var(--ac-surface-sunken); }
.ace-row-contacted .ace-store-name[b-dmtjss1myf] { color: var(--ac-ink-2); }

.ace-store-name[b-dmtjss1myf] { font-weight: 600; }
.ace-store-id[b-dmtjss1myf] { font-size: 11.5px; color: var(--ac-ink-3); }
.ace-runrate[b-dmtjss1myf] { white-space: nowrap; }
.ace-rr-recent[b-dmtjss1myf] { font-weight: 600; }
.ace-rr-post[b-dmtjss1myf] { color: var(--ac-accent); font-weight: 600; }

/* Phone (click-to-dial) */
.ace-phone[b-dmtjss1myf] { white-space: nowrap; }
.ace-tel[b-dmtjss1myf] { display: inline-block; font-weight: 600; color: var(--ac-primary); text-decoration: none; }
.ace-tel:hover[b-dmtjss1myf] { text-decoration: underline; }
.ace-tel-secondary[b-dmtjss1myf] { display: block; font-size: 11px; font-weight: 500; color: var(--ac-ink-3); margin-top: 2px; }
.ace-phone-locked[b-dmtjss1myf] { font-size: 12px; font-weight: 500; color: var(--ac-ink-3); white-space: nowrap; }

/* Claim */
.ace-claim-cell[b-dmtjss1myf] { white-space: nowrap; }
.ace-claim[b-dmtjss1myf] { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.ace-claim-mine[b-dmtjss1myf] { background: #d1fae5; color: #047857; }
.ace-claim-other[b-dmtjss1myf] { background: #fef3c7; color: #92400e; }
.ace-release[b-dmtjss1myf] { font-size: 11px; padding: 0 4px; vertical-align: baseline; }

/* Pager */
.ace-pager[b-dmtjss1myf] { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.ace-pager-info[b-dmtjss1myf] { font-size: 13px; color: var(--ac-ink-2); }
.ace-pager-controls[b-dmtjss1myf] { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ace-pagesize[b-dmtjss1myf] { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ac-ink-3); margin: 0; }
.ace-pagesize select[b-dmtjss1myf] { width: auto; }
.ace-page-indicator[b-dmtjss1myf] { display: inline-flex; align-items: center; padding: 0 12px; font-size: 13px; color: var(--ac-ink-2); }

.ace-expand[b-dmtjss1myf] { border: none; background: transparent; color: var(--ac-ink-3); cursor: pointer; padding: 2px 6px; }
.ace-expand:hover[b-dmtjss1myf] { color: var(--ac-primary); }

.ace-flags[b-dmtjss1myf] { white-space: nowrap; }
.ace-flags i[b-dmtjss1myf] { margin-right: 5px; }
.ace-flag[b-dmtjss1myf] { font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 1px 6px; border-radius: 4px; margin-right: 5px; }
.ace-flag-pending[b-dmtjss1myf] { background: #fff3d6; color: #b54708; }

/* Badges */
.ace-badge[b-dmtjss1myf] { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.ace-prio-high[b-dmtjss1myf] { background: #fde2e1; color: #b42318; }
.ace-prio-medium[b-dmtjss1myf] { background: #fff3d6; color: #b54708; }
.ace-prio-low[b-dmtjss1myf] { background: var(--ac-surface-sunken); color: var(--ac-ink-2); }

.ace-status[b-dmtjss1myf] { border: 1px solid transparent; }
.ace-st-none[b-dmtjss1myf] { background: var(--ac-surface-sunken); color: var(--ac-ink-2); }
.ace-st-ok[b-dmtjss1myf] { background: #d1fae5; color: #047857; }
.ace-st-bad[b-dmtjss1myf] { background: #fde2e1; color: #b42318; }
.ace-st-unreach[b-dmtjss1myf] { background: #e5e7eb; color: #4b5563; }
.ace-st-follow[b-dmtjss1myf] { background: #fff3d6; color: #b54708; }
.ace-st-return[b-dmtjss1myf] { background: var(--ac-primary-tint); color: var(--ac-primary-700); }

/* Detail row */
.ace-detail-row td[b-dmtjss1myf] { background: var(--ac-surface-2); }
.ace-detail[b-dmtjss1myf] { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; gap: 24px; padding: 16px 8px; }
.ace-detail h6[b-dmtjss1myf] { font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--ac-ink-3); margin-bottom: 8px; }
.ace-detail-context dl[b-dmtjss1myf] { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: 12.5px; margin: 0; }
.ace-detail-context dt[b-dmtjss1myf] { color: var(--ac-ink-3); }
.ace-detail-context dd[b-dmtjss1myf] { color: var(--ac-ink); margin: 0; }

.ace-selfsub[b-dmtjss1myf] { margin-top: 14px; padding: 10px 12px; background: #e0f2fe; border: 1px solid #bae6fd; border-radius: 8px; font-size: 12.5px; color: #075985; }
.ace-selfsub h6[b-dmtjss1myf] { color: #075985; }
.ace-selfsub-notes[b-dmtjss1myf] { margin-top: 6px; font-style: italic; }

.ace-mini-script[b-dmtjss1myf] { margin-top: 14px; font-size: 12.5px; }
.ace-mini-script summary[b-dmtjss1myf] { cursor: pointer; color: var(--ac-primary); font-weight: 600; }

.ace-detail-edit label[b-dmtjss1myf] { font-size: 11px; font-weight: 600; color: var(--ac-ink-3); margin-bottom: 2px; }
.ace-edit-meta[b-dmtjss1myf] { margin-top: 10px; font-size: 12px; color: var(--ac-ink-3); }
.ace-rowmsg[b-dmtjss1myf] { font-size: 12px; color: #047857; font-weight: 600; }
.ace-escalate[b-dmtjss1myf] { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.ace-escalate-hint[b-dmtjss1myf] { font-size: 11px; color: var(--ac-ink-3); }

/* Follow-up history (260607-o16) */
.ace-notes[b-dmtjss1myf] { border-top: 1px solid var(--ac-line, #e5e7eb); padding-top: 10px; }
.ace-notes h6[b-dmtjss1myf] { margin-bottom: 6px; }
.ace-note-add textarea[b-dmtjss1myf] { resize: vertical; }
.ace-note-list[b-dmtjss1myf] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ace-note[b-dmtjss1myf] { border: 1px solid var(--ac-line, #e5e7eb); border-radius: 6px; padding: 6px 8px; background: var(--ac-surface-2, #f9fafb); }
.ace-note-system[b-dmtjss1myf] { font-style: italic; color: var(--ac-ink-3); background: transparent; border-style: dashed; }
.ace-note-text[b-dmtjss1myf] { font-size: 13px; white-space: pre-wrap; word-break: break-word; }
.ace-note-meta[b-dmtjss1myf] { margin-top: 3px; font-size: 11px; color: var(--ac-ink-3); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ace-note-source[b-dmtjss1myf] { font-weight: 600; font-size: 10px; text-transform: uppercase; padding: 1px 6px; border-radius: 10px; background: #e5e7eb; color: #374151; }
.ace-note-source-it[b-dmtjss1myf] { background: #dbeafe; color: #1e40af; }
.ace-note-source-system[b-dmtjss1myf] { background: #f3f4f6; color: #6b7280; }
.ace-note-empty[b-dmtjss1myf] { font-size: 12px; }

@media (max-width: 900px) {
    .ace-detail[b-dmtjss1myf] { grid-template-columns: 1fr; }
}

/* Tablet / small screens */
@media (max-width: 768px) {
    .ac-page[b-dmtjss1myf] { padding: 16px 14px; }
    .ac-h1[b-dmtjss1myf] { font-size: 19px; }
    .ace-page-actions[b-dmtjss1myf] { width: 100%; }
    .ace-page-actions .btn[b-dmtjss1myf] { flex: 1 1 auto; }

    /* Keep the data table usable via horizontal scroll instead of crushing columns. */
    .table-responsive[b-dmtjss1myf] { -webkit-overflow-scrolling: touch; }
    .ace-table[b-dmtjss1myf] { min-width: 720px; }
}

/* Phones */
@media (max-width: 576px) {
    .ac-page[b-dmtjss1myf] { padding: 12px 10px; }
    .ac-card[b-dmtjss1myf] { padding: 12px; }
    .ace-filters[b-dmtjss1myf] { padding: 12px; }
    .ace-filter-grid[b-dmtjss1myf] { grid-template-columns: 1fr 1fr; }

    /* Bigger touch targets for the primary call/claim actions. */
    .ace-tel[b-dmtjss1myf] { padding: 4px 0; }
    .ace-claim-cell .btn[b-dmtjss1myf],
    .ace-table td .btn[b-dmtjss1myf] { min-height: 38px; }

    /* Pager stacks so controls don't overflow the viewport. */
    .ace-pager[b-dmtjss1myf] { flex-direction: column; align-items: stretch; }
    .ace-pager-controls[b-dmtjss1myf] { justify-content: space-between; }

    /* Detail edit fields are full-width and comfortably tappable. */
    .ace-detail[b-dmtjss1myf] { padding: 12px 4px; }
    .ace-detail-edit .form-select-sm[b-dmtjss1myf],
    .ace-detail-edit .form-control-sm[b-dmtjss1myf] { min-height: 36px; }
}

/* Add Store / Upload CSV modal */
.ace-modal-backdrop[b-dmtjss1myf] {
    position: fixed; inset: 0; z-index: 1050;
    background: rgba(0, 0, 0, .45);
    display: flex; align-items: flex-start; justify-content: center;
    padding: 6vh 16px 16px; overflow-y: auto;
}
.ace-modal[b-dmtjss1myf] {
    background: var(--ac-surface); border: 1px solid var(--ac-border);
    border-radius: 12px; width: 100%; max-width: 560px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.ace-modal-head[b-dmtjss1myf] {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; border-bottom: 1px solid var(--ac-border);
}
.ace-modal-head h5[b-dmtjss1myf] { margin: 0; font-size: 16px; font-weight: 700; color: var(--ac-ink); }
.ace-modal-body[b-dmtjss1myf] { padding: 16px 18px; color: var(--ac-ink); }
.ace-modal-body label[b-dmtjss1myf] { display: block; font-size: 11px; font-weight: 600; color: var(--ac-ink-3); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 3px; }
.ace-modal-foot[b-dmtjss1myf] {
    display: flex; justify-content: flex-end; gap: 8px;
    padding: 12px 18px; border-top: 1px solid var(--ac-border);
}
.ace-upload-help[b-dmtjss1myf] { font-size: 13px; color: var(--ac-ink-2); margin-bottom: 8px; }
.ace-upload-help code[b-dmtjss1myf] { font-size: 12px; color: var(--ac-ink); background: var(--ac-surface-2); padding: 1px 4px; border-radius: 4px; }

.ace-import-result[b-dmtjss1myf] {
    border: 1px solid var(--ac-border); border-radius: 8px;
    background: var(--ac-surface-2); padding: 12px 14px;
}
.ace-import-summary[b-dmtjss1myf] { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; font-weight: 600; }
.ace-import-stat[b-dmtjss1myf] { display: inline-flex; align-items: center; }
.ace-import-added[b-dmtjss1myf] { color: var(--ac-success, #198754); }
.ace-import-skipped[b-dmtjss1myf] { color: var(--ac-ink-3); }
.ace-import-errored[b-dmtjss1myf] { color: var(--ac-danger, #dc3545); }
.ace-import-errors[b-dmtjss1myf] { margin: 10px 0 0; padding-left: 18px; font-size: 12.5px; color: var(--ac-ink-2); }
.ace-import-errors li[b-dmtjss1myf] { margin: 2px 0; }
/* /Components/Pages/Admin/AgentConsole.razor.rz.scp.css */
/*
    Agent support console (sketch 002/A — three-pane).
    Inherits the admin shell --ac-* palette (slate / blue / amber); adds local accent tokens.
    Three-pane grid: queue | thread | rail. Collapses to two-pane then single-column on narrow laptops.
*/

.agent-console[b-n1jg7di1sw] {
    /* local accents derived from the sketch (admin shell already provides --ac-* base palette) */
    --acn-primary: var(--ac-primary, #2B5797);
    --acn-primary-700: var(--ac-primary-700, #1e4176);
    --acn-primary-tint: var(--ac-primary-tint, #eaf0f9);
    --acn-accent: var(--ac-accent, #e0851b);
    --acn-accent-tint: var(--ac-accent-tint, #fbf1e2);
    --acn-success: var(--ac-success, #1f9d57);
    --acn-success-tint: var(--ac-success-tint, #e6f5ec);
    --acn-teams: #6264A7;
    --acn-teams-tint: #ecedf7;
    --acn-border: var(--ac-border, #e4e7ec);
    --acn-surface: var(--ac-surface, #fff);
    --acn-surface-2: var(--ac-surface-2, #fafbfc);
    --acn-sunken: var(--ac-surface-sunken, #f1f3f5);
    --acn-ink: var(--ac-ink, #18212e);
    --acn-ink-2: var(--ac-ink-2, #475467);
    --acn-ink-3: var(--ac-ink-3, #8a94a4);
    --acn-r: 8px;
    --acn-r-full: 9999px;
}

/* ---------- toolbar (title + presence toggle) ---------- */
.acn-toolbar[b-n1jg7di1sw] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.acn-presence[b-n1jg7di1sw] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--acn-border);
    background: var(--acn-surface);
    color: var(--acn-ink-2);
    border-radius: var(--acn-r-full);
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    flex: none;
}

.acn-presence-dot[b-n1jg7di1sw] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--acn-ink-3);
}

.acn-presence.is-available .acn-presence-dot[b-n1jg7di1sw] {
    background: var(--acn-success);
}

.acn-presence.is-away .acn-presence-dot[b-n1jg7di1sw] {
    background: var(--acn-accent);
}

.acn-teams-banner[b-n1jg7di1sw] {
    border-left: 3px solid var(--acn-teams);
}

/* ---------- three-pane grid ---------- */
.acn-grid[b-n1jg7di1sw] {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 300px;
    gap: 0;
    border: 1px solid var(--acn-border);
    border-radius: var(--acn-r);
    overflow: hidden;
    background: var(--acn-surface);
    /* fill the remaining viewport under the admin top bar + page head */
    height: calc(100vh - 230px);
    min-height: 460px;
}

/* ---------- left: queue ---------- */
.acn-queue[b-n1jg7di1sw] {
    border-right: 1px solid var(--acn-border);
    background: var(--acn-surface);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.acn-queue-head[b-n1jg7di1sw] {
    padding: 12px 14px;
    border-bottom: 1px solid var(--acn-border);
    flex: none;
}

.acn-q-tabs[b-n1jg7di1sw] {
    display: flex;
    gap: 5px;
}

.acn-q-tabs button[b-n1jg7di1sw] {
    border: 1px solid var(--acn-border);
    background: var(--acn-surface);
    color: var(--acn-ink-2);
    border-radius: var(--acn-r-full);
    padding: 4px 11px;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
}

.acn-q-tabs button.on[b-n1jg7di1sw] {
    background: var(--acn-primary);
    color: #fff;
    border-color: var(--acn-primary);
}

.acn-count[b-n1jg7di1sw] {
    opacity: .85;
    font-weight: 700;
    margin-left: 4px;
}

.acn-q-list[b-n1jg7di1sw] {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.acn-q-item[b-n1jg7di1sw] {
    padding: 11px 14px;
    border-bottom: 1px solid var(--acn-border);
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background .12s;
}

.acn-q-item:hover[b-n1jg7di1sw] {
    background: var(--acn-surface-2);
}

.acn-q-item.sel[b-n1jg7di1sw] {
    background: var(--acn-primary-tint);
    border-left-color: var(--acn-primary);
}

/* Offline group is visually distinct (D-04) */
.acn-q-item.is-offline[b-n1jg7di1sw] {
    background: var(--acn-sunken);
}

.acn-q-top[b-n1jg7di1sw] {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 3px;
}

.acn-q-co[b-n1jg7di1sw] {
    font-weight: 600;
    font-size: 13.5px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--acn-ink);
}

.acn-q-ago[b-n1jg7di1sw] {
    font-size: 11px;
    color: var(--acn-ink-3);
    flex: none;
}

.acn-q-tags[b-n1jg7di1sw] {
    display: flex;
    gap: 5px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.acn-tag[b-n1jg7di1sw] {
    font-size: 10.5px;
    font-weight: 600;
    border-radius: var(--acn-r-full);
    padding: 2px 8px;
    border: 1px solid transparent;
}

.acn-tag.topic[b-n1jg7di1sw] {
    background: var(--acn-sunken);
    color: var(--acn-ink-2);
}

.acn-tag.wait[b-n1jg7di1sw] {
    background: var(--acn-accent-tint);
    color: var(--acn-accent);
    border-color: #f0d9b6;
}

.acn-tag.offline[b-n1jg7di1sw] {
    background: var(--acn-sunken);
    color: var(--acn-ink-3);
    border-color: var(--acn-border);
}

.acn-tag.mine[b-n1jg7di1sw] {
    background: var(--acn-primary-tint);
    color: var(--acn-primary-700);
}

.acn-tag.teams[b-n1jg7di1sw] {
    background: var(--acn-teams-tint);
    color: var(--acn-teams);
    border-color: #d6d8ee;
}

.acn-q-actions[b-n1jg7di1sw] {
    margin-top: 8px;
}

.acn-q-empty[b-n1jg7di1sw] {
    padding: 40px 20px;
    text-align: center;
    color: var(--acn-ink-3);
}

.acn-q-empty-ic[b-n1jg7di1sw] {
    font-size: 34px;
    color: var(--acn-success);
}

.acn-q-empty-sub[b-n1jg7di1sw] {
    font-size: 12px;
}

/* ---------- middle: thread ---------- */
.acn-thread[b-n1jg7di1sw] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    background: var(--acn-sunken);
}

.acn-thread-empty[b-n1jg7di1sw] {
    margin: auto;
    text-align: center;
    color: var(--acn-ink-3);
    padding: 40px;
}

.acn-thread-empty i[b-n1jg7di1sw] {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
}

/* thread header */
.acn-t-head[b-n1jg7di1sw] {
    background: var(--acn-surface);
    border-bottom: 1px solid var(--acn-border);
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.acn-t-who[b-n1jg7di1sw] {
    flex: 1;
    min-width: 0;
}

.acn-t-who strong[b-n1jg7di1sw] {
    font-size: 15px;
    color: var(--acn-ink);
}

.acn-t-sub[b-n1jg7di1sw] {
    font-size: 12px;
    color: var(--acn-ink-3);
}

.acn-t-actions[b-n1jg7di1sw] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: none;
}

.acn-t-heldby[b-n1jg7di1sw] {
    font-size: 12px;
    color: var(--acn-ink-3);
}

/* message timeline */
.acn-t-body[b-n1jg7di1sw] {
    flex: 1;
    overflow-y: auto;
    padding: 18px 20px;
    min-height: 0;
}

.acn-msgs[b-n1jg7di1sw] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 760px;
    margin: 0 auto;
}

.acn-sys[b-n1jg7di1sw] {
    align-self: center;
    font-size: 11.5px;
    color: var(--acn-ink-3);
    background: var(--acn-surface);
    border: 1px solid var(--acn-border);
    border-radius: var(--acn-r-full);
    padding: 3px 12px;
}

.acn-row[b-n1jg7di1sw] {
    display: flex;
    flex-direction: column;
    max-width: 78%;
}

.acn-row.them[b-n1jg7di1sw] {
    align-self: flex-start;
    align-items: flex-start;
}

.acn-row.me[b-n1jg7di1sw] {
    align-self: flex-end;
    align-items: flex-end;
}

.acn-bubble[b-n1jg7di1sw] {
    padding: 9px 13px;
    border-radius: 13px;
    font-size: 13.5px;
    line-height: 1.45;
    box-shadow: var(--sh, 0 1px 3px #18212e14);
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.acn-row.them .acn-bubble[b-n1jg7di1sw] {
    background: var(--acn-surface);
    color: var(--acn-ink);
    border-bottom-left-radius: 4px;
}

.acn-row.me .acn-bubble[b-n1jg7di1sw] {
    background: var(--acn-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.acn-meta[b-n1jg7di1sw] {
    font-size: 10px;
    color: var(--acn-ink-3);
    margin: 2px 4px 0;
}

/* customer typing dots */
.acn-typing[b-n1jg7di1sw] {
    display: flex;
    gap: 4px;
    padding: 11px 14px;
    background: var(--acn-surface);
    border-radius: 13px;
    border-bottom-left-radius: 4px;
    width: fit-content;
    box-shadow: var(--sh, 0 1px 3px #18212e14);
}

.acn-typing i[b-n1jg7di1sw] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #bcc6d4;
    animation: acn-bounce-b-n1jg7di1sw 1.2s infinite;
}

.acn-typing i:nth-child(2)[b-n1jg7di1sw] { animation-delay: .15s; }
.acn-typing i:nth-child(3)[b-n1jg7di1sw] { animation-delay: .3s; }

@keyframes acn-bounce-b-n1jg7di1sw {
    0%, 60%, 100% { transform: translateY(0); opacity: .5; }
    30% { transform: translateY(-5px); opacity: 1; }
}

/* composer */
.acn-composer[b-n1jg7di1sw] {
    background: var(--acn-surface);
    border-top: 1px solid var(--acn-border);
    padding: 11px 16px;
    flex: none;
}

.acn-c-row[b-n1jg7di1sw] {
    display: flex;
    gap: 9px;
    align-items: flex-end;
}

.acn-c-row textarea[b-n1jg7di1sw] {
    flex: 1;
    border: 1px solid var(--acn-border);
    border-radius: 12px;
    padding: 10px 13px;
    font: inherit;
    font-size: 13.5px;
    resize: none;
    min-height: 42px;
    max-height: 120px;
}

.acn-c-row textarea:focus[b-n1jg7di1sw] {
    outline: none;
    border-color: var(--acn-primary);
}

.acn-send[b-n1jg7di1sw] {
    border: none;
    background: var(--acn-primary);
    color: #fff;
    border-radius: var(--acn-r);
    height: 42px;
    padding: 0 18px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.acn-send:hover:not(:disabled)[b-n1jg7di1sw] {
    background: var(--acn-primary-700);
}

.acn-send:disabled[b-n1jg7di1sw] {
    opacity: .55;
    cursor: not-allowed;
}

.acn-c-warn[b-n1jg7di1sw] {
    font-size: 11.5px;
    color: var(--ac-danger, #d6322b);
    margin-top: 6px;
}

/* ---------- right: context rail ---------- */
.acn-rail[b-n1jg7di1sw] {
    border-left: 1px solid var(--acn-border);
    background: var(--acn-surface);
    overflow-y: auto;
    min-height: 0;
}

.acn-rail-empty[b-n1jg7di1sw] {
    padding: 30px 18px;
    text-align: center;
    color: var(--acn-ink-3);
    font-size: 13px;
}

.acn-ctx-h[b-n1jg7di1sw] {
    padding: 16px 16px 12px;
    border-bottom: 1px solid var(--acn-border);
}

.acn-ctx-co[b-n1jg7di1sw] {
    font-size: 16px;
    font-weight: 700;
    color: var(--acn-ink);
    word-break: break-word;
}

.acn-ctx-cus[b-n1jg7di1sw] {
    font-size: 12px;
    color: var(--acn-ink-3);
    margin-top: 2px;
    word-break: break-word;
}

.acn-ctx-sec[b-n1jg7di1sw] {
    padding: 13px 16px;
    border-bottom: 1px solid var(--acn-border);
}

.acn-ctx-sec h5[b-n1jg7di1sw] {
    margin: 0 0 9px;
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--acn-ink-3);
}

.acn-ctx-muted[b-n1jg7di1sw] {
    font-size: 12.5px;
    color: var(--acn-ink-3);
}

.acn-kv[b-n1jg7di1sw] {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 6px;
}

.acn-kv .acn-k[b-n1jg7di1sw] {
    color: var(--acn-ink-3);
    flex: none;
}

.acn-kv .acn-v[b-n1jg7di1sw] {
    font-weight: 600;
    color: var(--acn-ink);
    text-align: right;
    word-break: break-word;
    min-width: 0;
}

.acn-ord[b-n1jg7di1sw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    padding: 6px 0;
    border-bottom: 1px dashed var(--acn-border);
}

.acn-ord:last-of-type[b-n1jg7di1sw] {
    border-bottom: none;
}

.acn-so[b-n1jg7di1sw] {
    color: var(--acn-primary);
    font-weight: 600;
}

.acn-ord-amt[b-n1jg7di1sw] {
    margin-left: 6px;
    color: var(--acn-ink-2);
}

.acn-pill[b-n1jg7di1sw] {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    border-radius: var(--acn-r-full);
    padding: 2px 8px;
}

.acn-pill.ship[b-n1jg7di1sw] {
    background: var(--acn-primary-tint);
    color: var(--acn-primary-700);
}

.acn-pill.deliv[b-n1jg7di1sw] {
    background: var(--acn-success-tint);
    color: var(--acn-success);
}

.acn-pill.neutral[b-n1jg7di1sw] {
    background: var(--acn-sunken);
    color: var(--acn-ink-2);
}

.acn-ns-link[b-n1jg7di1sw] {
    display: inline-block;
    margin-top: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--acn-primary);
    text-decoration: none;
}

.acn-ns-link:hover[b-n1jg7di1sw] {
    text-decoration: underline;
}

/* ---------- responsive collapse ---------- */
/* On narrow laptops, drop the context rail to keep queue + thread usable. */
@media (max-width: 1280px) {
    .acn-grid[b-n1jg7di1sw] {
        grid-template-columns: 280px minmax(0, 1fr);
        height: calc(100vh - 210px);
    }

    .acn-rail[b-n1jg7di1sw] {
        display: none;
    }
}

/* On small screens, single-column: queue above, thread below. */
@media (max-width: 820px) {
    .acn-grid[b-n1jg7di1sw] {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(180px, 38vh) minmax(0, 1fr);
        height: calc(100vh - 190px);
    }

    .acn-queue[b-n1jg7di1sw] {
        border-right: none;
        border-bottom: 1px solid var(--acn-border);
    }
}
/* /Components/Pages/Admin/CardTemplateDesigner.razor.rz.scp.css */
/* ──────────────────────────────────────────────── */
/* Card Template Designer — Scoped Styles          */
/* ──────────────────────────────────────────────── */

/* Zone drop targets */
[b-jqfmi5y4km] .zone-drop-target {
    min-height: 48px;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

[b-jqfmi5y4km] .zone-drop-target:empty {
    border: 2px dashed #dee2e6;
    background: #f8f9fa;
}

/* SortableJS ghost (item being dragged, placeholder in list) */
[b-jqfmi5y4km] .sortable-ghost {
    opacity: 0.4;
    background: #cfe2ff !important;
    border: 2px dashed #0d6efd !important;
    border-radius: 0.375rem;
}

/* SortableJS chosen (the original item while dragging) */
[b-jqfmi5y4km] .sortable-chosen {
    opacity: 0.85;
}

/* SortableJS drag (the clone being dragged around) */
[b-jqfmi5y4km] .sortable-drag {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: rotate(2deg);
    z-index: 9999;
}

/* Field items in zones */
[b-jqfmi5y4km] .sortable-field {
    cursor: default;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
    background: #fff;
}

[b-jqfmi5y4km] .sortable-field:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Drag handle cursor */
[b-jqfmi5y4km] .sortable-field .bi-grip-vertical {
    cursor: grab;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

[b-jqfmi5y4km] .sortable-field:hover .bi-grip-vertical {
    opacity: 1;
}

/* Palette field items */
[b-jqfmi5y4km] .palette-field {
    transition: background-color 0.15s ease, transform 0.1s ease;
    border: 1px solid transparent;
}

[b-jqfmi5y4km] .palette-field:hover {
    background-color: #e8f0fe;
    border-color: #b6d4fe;
}

[b-jqfmi5y4km] .palette-field:active {
    transform: scale(0.97);
}

/* Zone card headers — subtle color coding */
[b-jqfmi5y4km] .card-header h6 .bi {
    opacity: 0.7;
}

/* Inline field edit panel */
[b-jqfmi5y4km] .bg-light.border.rounded {
    border-color: #b6d4fe !important;
    background-color: #f0f6ff !important;
}

/* Stats cards on the list view */
[b-jqfmi5y4km] .card.bg-primary {
    border: none;
    box-shadow: 0 2px 12px rgba(13, 110, 253, 0.15);
}

[b-jqfmi5y4km] .card.bg-light {
    border: 1px solid #e9ecef;
}

/* Dashed border placeholder in empty zones */
[b-jqfmi5y4km] .border-dashed {
    border-style: dashed !important;
    border-color: #adb5bd !important;
    border-width: 2px !important;
}

/* Template table */
[b-jqfmi5y4km] .table td,
[b-jqfmi5y4km] .table th {
    vertical-align: middle;
}

/* Sticky palette sidebar */
[b-jqfmi5y4km] .col-md-4 > .card {
    max-height: calc(100vh - 100px);
}

/* Palette collapse toggle */
[b-jqfmi5y4km] .btn-link.fw-bold {
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Modal overlay */
[b-jqfmi5y4km] .modal.fade.show.d-block {
    z-index: 1050;
}

/* Badge color preview in field row */
[b-jqfmi5y4km] .badge[style*="font-size: 0.65em"] {
    padding: 0.15em 0.4em;
    font-weight: 500;
}

/* Layout settings card */
[b-jqfmi5y4km] .form-range {
    margin-top: 0.5rem;
}

/* ──────────────────────────────────────────────── */
/* Live Preview Panel                              */
/* ──────────────────────────────────────────────── */

/* Card preview container — disable all interaction */
[b-jqfmi5y4km] .preview-container {
    pointer-events: none;
    user-select: none;
}

/* Ensure preview card doesn't add extra margin inside the wrapper */
[b-jqfmi5y4km] .preview-container .card {
    margin-bottom: 0 !important;
}

/* Detail Modal inline preview — override fixed-position overlay */
[b-jqfmi5y4km] .preview-modal-container {
    position: relative;
    pointer-events: none;
    user-select: none;
}

/* Override the modal's fullscreen backdrop to render inline */
[b-jqfmi5y4km] .preview-modal-container > .modal.fade.show.d-block {
    position: relative !important;
    background-color: transparent !important;
    z-index: auto !important;
    display: block !important;
}

[b-jqfmi5y4km] .preview-modal-container .modal-dialog {
    margin: 0 !important;
    max-width: 100% !important;
    transform: none !important;
}

[b-jqfmi5y4km] .preview-modal-container .modal-content {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
}

/* Preview header badge */
[b-jqfmi5y4km] .bg-info.bg-opacity-10 {
    background-color: rgba(13, 202, 240, 0.1) !important;
}

/* ──────────────────────────────────────────────── */
/* Responsive adjustments                           */
/* ──────────────────────────────────────────────── */

@media (max-width: 767.98px) {
    [b-jqfmi5y4km] .col-md-8,
    [b-jqfmi5y4km] .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    [b-jqfmi5y4km] .col-md-4 > .card {
        position: static !important;
        max-height: none;
    }
}

/* When preview is shown, stack on medium screens */
@media (max-width: 991.98px) {
    [b-jqfmi5y4km] .col-lg-5,
    [b-jqfmi5y4km] .col-lg-4,
    [b-jqfmi5y4km] .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    /* Remove sticky on stacked layout */
    [b-jqfmi5y4km] .col-lg-4 > .card,
    [b-jqfmi5y4km] .col-lg-3 > .card {
        position: static !important;
        max-height: none;
    }
}
/* /Components/Pages/Admin/Monitoring.razor.rz.scp.css */
/* Filter bar */
.filter-bar[b-66ysbxx0j1] {
    margin-bottom: 1.5rem;
}

/* Severity badge */
.severity-badge[b-66ysbxx0j1] {
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 0.25rem;
}

/* Event row - clickable */
.event-row[b-66ysbxx0j1] {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.event-row:hover[b-66ysbxx0j1] {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Expanded detail section */
.expanded-details[b-66ysbxx0j1] {
    background-color: #f8f9fa;
    padding: 1rem 1.25rem;
    border-left: 3px solid #6c757d;
}

.expanded-details.border-info[b-66ysbxx0j1] {
    border-left-color: #0dcaf0;
}

.expanded-details.border-warning[b-66ysbxx0j1] {
    border-left-color: #ffc107;
}

.expanded-details.border-error[b-66ysbxx0j1] {
    border-left-color: #dc3545;
}

.expanded-details.border-critical[b-66ysbxx0j1] {
    border-left-color: #dc3545;
    background-color: #fff5f5;
}

.expanded-details pre[b-66ysbxx0j1] {
    word-wrap: break-word;
    white-space: pre-wrap;
    max-height: 300px;
    overflow-y: auto;
    font-size: 0.85rem;
    background-color: #fff;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

/* Event type badge - monospace for readability */
.event-type-badge[b-66ysbxx0j1] {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.825rem;
}

/* Timestamp cell - no wrapping */
.timestamp-cell[b-66ysbxx0j1] {
    white-space: nowrap;
    font-size: 0.85rem;
}

/* Entity cell - truncate with ellipsis */
.entity-cell[b-66ysbxx0j1] {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Message cell - truncate with ellipsis */
.message-cell[b-66ysbxx0j1] {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Pagination info text */
.pagination-info[b-66ysbxx0j1] {
    color: #6c757d;
}

/* Empty state */
.empty-state[b-66ysbxx0j1] {
    padding: 3rem 1rem;
    text-align: center;
}

/* Severity color classes */
.severity-info[b-66ysbxx0j1] {
    color: #0dcaf0;
}

.severity-warning[b-66ysbxx0j1] {
    color: #ffc107;
}

.severity-error[b-66ysbxx0j1] {
    color: #dc3545;
}

.severity-critical[b-66ysbxx0j1] {
    color: #dc3545;
    font-weight: bold;
}
/* /Components/Pages/Admin/OnboardingFlowEditor.razor.rz.scp.css */
.bi-grip-vertical[b-bw3oerwaur] { cursor: grab; }
.bi-grip-vertical:active[b-bw3oerwaur] { cursor: grabbing; }
.onboarding-preview-pane[b-bw3oerwaur] { min-height: 6rem; max-height: 16rem; overflow: auto; }
/* /Components/Pages/Admin/RetailPortfolioAnalysis.razor.rz.scp.css */
/*
 * Scoped styles for /admin/retail-portfolio-analysis.
 * Ported from .planning/sketches/admin-retail-portfolio-analysis/variant-d-hybrid.html
 * (Phase 7 plan 04, variant-d-hybrid visual contract). Do not add global resets
 * or body styling — AdminLayout owns those.
 */

:root[b-iqljw5jwgy] {
    --akg-navy: #1a2a47;
    --akg-orange: #f47b20;
    --t1: #198754;
    --t2: #20c997;
    --t3: #ffc107;
    --t4: #dc3545;
    --empty: #eef0f3;
}

/* ---- Live recompute badge in page header ---- */
.live-badge[b-iqljw5jwgy] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(25, 135, 84, 0.12);
    color: #0e5132;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
}

.live-badge .pulse[b-iqljw5jwgy] {
    width: 7px;
    height: 7px;
    background: var(--t1);
    border-radius: 50%;
    animation: pulse-b-iqljw5jwgy 2s infinite;
}

@keyframes pulse-b-iqljw5jwgy {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.35; }
}

/* ---- Panels (tier builder + matrix) ---- */
.panel[b-iqljw5jwgy] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    margin: 0 0 16px;
}

.panel-h[b-iqljw5jwgy] {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f3f5;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--akg-navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-h .step[b-iqljw5jwgy] {
    background: var(--akg-orange);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 8px;
}

/* ---- Tier builder grid ---- */
.builder[b-iqljw5jwgy] { padding: 14px 16px; }

.tier-grid[b-iqljw5jwgy] {
    display: grid;
    gap: 6px;
}

.tier-grid .col-head[b-iqljw5jwgy] {
    font-size: 0.68rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    padding-bottom: 4px;
}

.tier-grid .col-head.first[b-iqljw5jwgy] {
    text-align: left;
    padding-left: 4px;
}

.tier-grid .row-head[b-iqljw5jwgy] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #212529;
    padding: 6px 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tier-grid .row-head i[b-iqljw5jwgy] { color: var(--akg-orange); }

.tier-cell[b-iqljw5jwgy] {
    border-radius: 6px;
    padding: 6px 8px;
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tier-cell select[b-iqljw5jwgy] {
    border: none;
    background: transparent;
    font-size: 0.76rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
}

.tier-cell select:focus[b-iqljw5jwgy] {
    outline: 2px solid var(--akg-orange);
    border-radius: 4px;
}

.tier-cell .rb[b-iqljw5jwgy] {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 3px;
    color: white;
    flex-shrink: 0;
}

.tier-cell.r1[b-iqljw5jwgy] { background: rgba(25, 135, 84, 0.10);  border: 1px solid rgba(25, 135, 84, 0.4); }
.tier-cell.r1 .rb[b-iqljw5jwgy] { background: var(--t1); }
.tier-cell.r2[b-iqljw5jwgy] { background: rgba(32, 201, 151, 0.10); border: 1px solid rgba(32, 201, 151, 0.4); }
.tier-cell.r2 .rb[b-iqljw5jwgy] { background: var(--t2); color: #163a23; }
.tier-cell.r3[b-iqljw5jwgy] { background: rgba(255, 193, 7, 0.12);  border: 1px solid rgba(255, 193, 7, 0.5); }
.tier-cell.r3 .rb[b-iqljw5jwgy] { background: var(--t3); color: #5a4500; }
.tier-cell.r4[b-iqljw5jwgy] { background: rgba(220, 53, 69, 0.08);  border: 1px solid rgba(220, 53, 69, 0.35); }
.tier-cell.r4 .rb[b-iqljw5jwgy] { background: var(--t4); }

/* ---- Presets row ---- */
.presets[b-iqljw5jwgy] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f3f5;
}

.presets .badge-preset[b-iqljw5jwgy] {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 14px;
    font-size: 0.75rem;
    border: 1px solid #dee2e6;
    background: white;
    color: #495057;
    user-select: none;
}

.presets .badge-preset:hover[b-iqljw5jwgy] {
    background: var(--akg-navy);
    color: white;
    border-color: var(--akg-navy);
}

.presets .badge-preset.active[b-iqljw5jwgy] {
    background: var(--akg-orange);
    color: white;
    border-color: var(--akg-orange);
}

/* ---- KPI strip ---- */
.kpis[b-iqljw5jwgy] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: #e9ecef;
    margin: 0 0 16px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    position: relative;
}

.kpi[b-iqljw5jwgy] {
    background: white;
    padding: 12px 14px;
}

.kpi.channel[b-iqljw5jwgy] {
    background: linear-gradient(135deg, rgba(244, 123, 32, 0.06), white);
}

.kpi.channel .val[b-iqljw5jwgy] { color: var(--akg-orange); }

.kpi .lab[b-iqljw5jwgy] {
    font-size: 0.66rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi .val[b-iqljw5jwgy] {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--akg-navy);
    line-height: 1.15;
}

.kpi .sub[b-iqljw5jwgy] {
    font-size: 0.72rem;
    color: #6c757d;
}

.kpi.flash .val[b-iqljw5jwgy] {
    animation: flash-b-iqljw5jwgy 0.6s ease-out;
}

@keyframes flash-b-iqljw5jwgy {
    0%   { color: var(--akg-orange); }
    100% { color: var(--akg-navy); }
}

.kpi-spinner[b-iqljw5jwgy] {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 2;
}

/* ---- Matrix ---- */
.matrix-wrap[b-iqljw5jwgy] {
    overflow-x: auto;
    padding: 8px 12px 14px;
}

table.matrix[b-iqljw5jwgy] {
    border-collapse: separate;
    border-spacing: 3px;
    width: 100%;
    table-layout: fixed;
}

table.matrix th[b-iqljw5jwgy] {
    font-size: 0.66rem;
    font-weight: 600;
    color: #6c757d;
    padding: 4px 2px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    vertical-align: bottom;
}

table.matrix th.ymm[b-iqljw5jwgy] {
    text-align: left;
    padding-left: 12px;
    width: 200px;
}

table.matrix td[b-iqljw5jwgy] { padding: 0; }

table.matrix td.ymm[b-iqljw5jwgy] {
    font-size: 0.78rem;
    padding: 4px 12px;
    color: #212529;
    background: #fafbfc;
    border-radius: 4px;
    white-space: nowrap;
}

table.matrix td.ymm .year[b-iqljw5jwgy] {
    color: var(--akg-orange);
    font-weight: 700;
    margin-right: 6px;
}

/* ---- Cells ---- */
.cell[b-iqljw5jwgy] {
    position: relative;
    width: 100%;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.12s, box-shadow 0.12s;
}

.cell:hover[b-iqljw5jwgy] {
    transform: scale(1.18);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    z-index: 5;
}

.cell.t1[b-iqljw5jwgy] { background: var(--t1); }
.cell.t2[b-iqljw5jwgy] { background: var(--t2); color: #163a23; }
.cell.t3[b-iqljw5jwgy] { background: var(--t3); color: #5a4500; }
.cell.t4[b-iqljw5jwgy] { background: var(--t4); }

.cell.empty[b-iqljw5jwgy] {
    background: var(--empty);
    color: #adb5bd;
    cursor: default;
}

.cell.empty[b-iqljw5jwgy]::after { content: "—"; }

.cell.in-channel[b-iqljw5jwgy] {
    box-shadow: inset 0 0 0 2px var(--akg-orange);
}

.cell.in-channel[b-iqljw5jwgy]::before {
    content: 'D';
    position: absolute;
    top: 1px;
    right: 2px;
    font-size: 0.55rem;
    font-weight: 800;
    background: var(--akg-orange);
    color: white;
    padding: 0 3px;
    border-radius: 2px;
    line-height: 1.2;
}

.alt-badge[b-iqljw5jwgy] {
    position: absolute;
    top: 1px;
    left: 2px;
    font-size: 0.55rem;
    font-weight: 800;
    background: rgba(26, 42, 71, 0.92);
    color: white;
    padding: 0 4px;
    border-radius: 2px;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

/* ---- Hover tooltip card ---- */
.cell-tooltip[b-iqljw5jwgy] {
    position: fixed;
    top: 80px;
    right: 24px;
    background: var(--akg-navy);
    color: white;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    z-index: 1050;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    max-width: 320px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.12s;
}

.cell-tooltip.show[b-iqljw5jwgy] { opacity: 1; }

.cell-tooltip .sku[b-iqljw5jwgy] {
    color: var(--akg-orange);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.cell-tooltip .title-line[b-iqljw5jwgy] {
    font-size: 0.74rem;
    color: #e6edf7;
    margin-top: 2px;
}

.cell-tooltip .cond[b-iqljw5jwgy] {
    color: #b8c8e0;
    font-size: 0.7rem;
    margin-top: 2px;
}

.cell-tooltip .prices[b-iqljw5jwgy] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 10px;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid #2a3b5c;
    font-size: 0.72rem;
}

.cell-tooltip .prices .row[b-iqljw5jwgy] {
    display: flex;
    justify-content: space-between;
}

.cell-tooltip .prices .row .l[b-iqljw5jwgy] { color: #b8c8e0; }

.cell-tooltip .prices .row .v[b-iqljw5jwgy] {
    font-weight: 700;
    color: white;
    font-variant-numeric: tabular-nums;
}

.cell-tooltip .prices .row.full[b-iqljw5jwgy] {
    grid-column: 1 / -1;
    font-size: 0.78rem;
}

.cell-tooltip .prices .row.full .v[b-iqljw5jwgy] { color: var(--akg-orange); }

.cell-tooltip .meta-line[b-iqljw5jwgy] {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
}

.cell-tooltip .ch-badge[b-iqljw5jwgy] {
    display: inline-block;
    background: var(--akg-orange);
    color: white;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.cell-tooltip .ch-badge.off[b-iqljw5jwgy] {
    background: #4a5a78;
    color: #b8c8e0;
}

.cell-tooltip .alt-text[b-iqljw5jwgy] {
    color: #b8c8e0;
}
/* /Components/Pages/Admin/RetailPortfolioAnalysisStructured.razor.rz.scp.css */
/* Scoped styles for /admin/retail-portfolio-analysis-structured.
   Moved out of an inline <style> block in the .razor file because inline
   <style> tags inside an Interactive Server component break Blazor's
   enhanced navigation — the page didn't render when reached via NavLink
   (only on full refresh). Component-scoped CSS (.razor.css) is the
   Blazor convention and is enhanced-nav-safe. */

/* Raise the filter card into its own stacking context above Bootstrap's
   sticky-top (z-index: 1020) so SearchableDropdown menus (z-index 1050)
   paint over the results matrix instead of being clipped/covered by the
   sticky table header that follows. Fix for #260528-gnh.
   overflow: visible overrides the global .card { overflow: hidden } in
   app.css so the Make/Model dropdown menus aren't clipped at the card's
   bottom edge (which made them appear "behind" the metrics panel). */
.filter-controls-card[b-0audcl0uyy] { position: relative; z-index: 1030; overflow: visible; }

/* Give the header Actions dropdown its own stacking context above the
   filter card (z-index: 1030, set above) so the menu paints over the
   filter card / matrix below it in DOM order. Bootstrap's default
   .dropdown-menu is z-index: 1000 and was being covered. Stay below
   the modal backdrop (1050). Fix for #260528-iue. */
.header-actions-dropdown[b-0audcl0uyy] { position: relative; z-index: 1040; }
.header-actions-dropdown[b-0audcl0uyy]  .dropdown-menu { z-index: 1041; }

.structured-matrix-wrap[b-0audcl0uyy] { max-height: 70vh; overflow: auto; }
.structured-matrix[b-0audcl0uyy] {
    /* Fixed layout makes every Product-Type column the same width regardless
       of cell content, so the grid stays readable as content varies. */
    table-layout: fixed;
    width: max-content;
}
.structured-matrix[b-0audcl0uyy]  th,
.structured-matrix[b-0audcl0uyy]  td { font-size: 0.82rem; }
.structured-matrix[b-0audcl0uyy]  .sticky-col {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 2;
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    border-right: 1px solid #dee2e6;
}
.structured-matrix[b-0audcl0uyy]  thead .sticky-col,
.structured-matrix[b-0audcl0uyy]  tfoot .sticky-col { z-index: 3; background: #f8f9fa; }
.structured-matrix[b-0audcl0uyy]  tfoot td { background: #f8f9fa; }
/* All Product-Type columns get the same fixed width. */
.structured-matrix[b-0audcl0uyy]  th:not(.sticky-col),
.structured-matrix[b-0audcl0uyy]  td:not(.sticky-col) {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
}
.structured-matrix[b-0audcl0uyy]  td.gap-cell { background: #fafafa; }
.structured-matrix[b-0audcl0uyy]  td.cell-filled { background: #f0f8ff; vertical-align: top; }
.structured-matrix[b-0audcl0uyy]  td.cell-channel { background: #effaf2; }
.structured-matrix[b-0audcl0uyy]  td.cell-alternate { background: #fff8e1; }
.qoh-badge[b-0audcl0uyy] { color: #495057; }

.per-type-stats[b-0audcl0uyy]  th,
.per-type-stats[b-0audcl0uyy]  td { padding: 0.25rem 0.5rem; font-size: 0.78rem; }
.per-type-stats[b-0audcl0uyy]  th:first-child,
.per-type-stats[b-0audcl0uyy]  td:first-child { white-space: nowrap; }
/* /Components/Pages/Admin/RetailPortfolioCoverage.razor.rz.scp.css */
/* Scoped styles for /admin/retail-portfolio-coverage.
   Adapted from RetailPortfolioAnalysisStructured.razor.css. Component-scoped CSS
   (.razor.css) instead of an inline <style> block because inline <style> tags
   inside an Interactive Server component break Blazor's enhanced navigation. */

/* Raise the filter card into its own stacking context above Bootstrap's
   sticky-top (z-index: 1020) so SearchableDropdown menus (z-index 1050)
   paint over the matrix below instead of being clipped. overflow: visible
   overrides the global .card { overflow: hidden } so menus aren't clipped. */
.filter-controls-card[b-br63e3q1vj] { position: relative; z-index: 1030; overflow: visible; }

.coverage-divergence-note[b-br63e3q1vj] { border-left: 4px solid var(--bs-info, #0dcaf0); }

.coverage-matrix-wrap[b-br63e3q1vj] { max-height: 70vh; overflow: auto; }
.coverage-matrix[b-br63e3q1vj] {
    table-layout: fixed;
    width: max-content;
}
.coverage-matrix[b-br63e3q1vj]  th,
.coverage-matrix[b-br63e3q1vj]  td { font-size: 0.82rem; }
.coverage-matrix[b-br63e3q1vj]  .sticky-col {
    position: sticky;
    left: 0;
    background: var(--bs-body-bg, #fff);
    z-index: 2;
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    border-right: 1px solid var(--bs-border-color, #dee2e6);
}
.coverage-matrix[b-br63e3q1vj]  thead .sticky-col {
    z-index: 3;
    background: var(--bs-tertiary-bg, #f8f9fa);
}
/* All Product-Type columns get the same fixed width. */
.coverage-matrix[b-br63e3q1vj]  th:not(.sticky-col),
.coverage-matrix[b-br63e3q1vj]  td:not(.sticky-col) {
    width: 170px;
    min-width: 170px;
    max-width: 170px;
}
.coverage-matrix[b-br63e3q1vj]  td.gap-cell { background: var(--bs-tertiary-bg, #fafafa); }
.coverage-matrix[b-br63e3q1vj]  td.cell-gap { vertical-align: top; }
.coverage-matrix[b-br63e3q1vj]  td.cell-covered {
    background: color-mix(in srgb, var(--bs-success-bg-subtle, #effaf2) 70%, transparent);
    vertical-align: top;
}
.coverage-matrix[b-br63e3q1vj]  td.cell-nobgpn {
    background: color-mix(in srgb, var(--bs-warning-bg-subtle, #fff8e1) 70%, transparent);
}

/* ROP: expandable YMM rows + descendant sub-rows in the Detail coverage matrix. */
.coverage-matrix[b-br63e3q1vj]  .ymm-chevron {
    cursor: pointer;
    color: var(--bs-secondary-color, #6c757d);
    user-select: none;
}
.coverage-matrix[b-br63e3q1vj]  .ymm-chevron:hover { color: var(--bs-primary, #0d6efd); }
.coverage-matrix[b-br63e3q1vj]  .ymm-model-line { padding-left: 1.25rem; }

/* Sub-rows read as a lighter, indented continuation of their parent YMM row. The sticky-col keeps
   the same 200px width as the main sticky-col so the depth indent reads as hierarchy. */
.coverage-matrix[b-br63e3q1vj]  tr.ymm-subrow td {
    background: var(--bs-tertiary-bg, #f8f9fa);
    font-size: 0.78rem;
    color: var(--bs-secondary-color, #6c757d);
}
.coverage-matrix[b-br63e3q1vj]  tr.ymm-subrow .ymm-node-label { color: var(--bs-body-color, #212529); }

/* Depth-indent for descendant node labels (depth 0 = top-level parent's direct child, etc.). */
.coverage-matrix[b-br63e3q1vj]  .ymm-node-depth-0 { padding-left: 0.5rem; }
.coverage-matrix[b-br63e3q1vj]  .ymm-node-depth-1 { padding-left: 1.5rem; }
.coverage-matrix[b-br63e3q1vj]  .ymm-node-depth-2 { padding-left: 2.5rem; }
.coverage-matrix[b-br63e3q1vj]  .ymm-node-depth-3 { padding-left: 3.5rem; }
.coverage-matrix[b-br63e3q1vj]  .ymm-node-depth-4 { padding-left: 4.5rem; }

.coverage-kpis[b-br63e3q1vj]  .card-body { min-height: 64px; }

.worklist-table-wrap[b-br63e3q1vj] { max-height: 50vh; overflow: auto; }
.worklist-panel[b-br63e3q1vj]  th,
.worklist-panel[b-br63e3q1vj]  td { font-size: 0.82rem; }

/* Dashboard per-year breakdown — clickable rows drill into the Detail matrix. */
.dashboard-year-table[b-br63e3q1vj]  th,
.dashboard-year-table[b-br63e3q1vj]  td { font-size: 0.82rem; }
.dashboard-year-row[b-br63e3q1vj] { cursor: pointer; }
.dashboard-year-row:hover[b-br63e3q1vj] { background: var(--bs-tertiary-bg, #f8f9fa); }
/* /Components/Pages/Home.razor.rz.scp.css */
/* Home page wrapper - pushes CTA section to bottom of viewport */
.home-page-wrapper[b-gze9mxtc7w] {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 180px); /* Account for navbar and margins */
}

/* Push CTA section to bottom when content is short */
.home-page-wrapper > .cta-section[b-gze9mxtc7w] {
    margin-top: auto;
}

/* Ensure modals don't participate in flex layout */
.home-page-wrapper > .modal[b-gze9mxtc7w] {
    margin-top: 0;
}
/* /Components/Pages/Reorder.razor.rz.scp.css */
/* Reorder page component-scoped styles */

/* Table thumbnail sizing */
.reorder-table img[b-3wtxfm9tm0] {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* Out-of-stock row styling */
.reorder-row-oos[b-3wtxfm9tm0] {
    opacity: 0.5;
}

/* Quantity stepper width constraint */
.quantity-stepper[b-3wtxfm9tm0] {
    width: 120px;
}

.quantity-stepper input[type="number"][b-3wtxfm9tm0] {
    -moz-appearance: textfield;
}

.quantity-stepper input[type="number"][b-3wtxfm9tm0]::-webkit-outer-spin-button,
.quantity-stepper input[type="number"][b-3wtxfm9tm0]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Floating bulk action button */
.floating-cart-action[b-3wtxfm9tm0] {
    animation: fadeInUp-b-3wtxfm9tm0 0.2s ease-out;
}

@keyframes fadeInUp-b-3wtxfm9tm0 {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile product cards */
.reorder-card[b-3wtxfm9tm0] {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
}

.reorder-card-oos[b-3wtxfm9tm0] {
    opacity: 0.5;
}

.reorder-card-img img[b-3wtxfm9tm0] {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.reorder-card-img-placeholder[b-3wtxfm9tm0] {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Truncate product title to 2 lines on cards */
.reorder-card-title[b-3wtxfm9tm0] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-size: 0.9rem;
}

/* Prevent flex children from overflowing */
.min-width-0[b-3wtxfm9tm0] {
    min-width: 0;
}

/* Responsive adjustments for small screens */
@media (max-width: 767.98px) {
    /* Sticky search bar */
    .reorder-search-sticky[b-3wtxfm9tm0] {
        position: sticky;
        top: 0;
        z-index: 100;
        background: white;
        padding: 8px 0 8px 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    }

    /* Quantity stepper touch targets -- 44px minimum */
    .quantity-stepper[b-3wtxfm9tm0] {
        width: 130px;
    }

    .quantity-stepper .btn[b-3wtxfm9tm0] {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .quantity-stepper input[type="number"][b-3wtxfm9tm0] {
        min-height: 44px;
    }

    /* Mobile filter panel */
    .reorder-mobile-filters[b-3wtxfm9tm0] {
        padding: 8px 0;
    }

    .reorder-mobile-filters .form-select[b-3wtxfm9tm0] {
        width: 100% !important;
    }

    /* Floating bulk button adjustments for mobile */
    .floating-cart-action[b-3wtxfm9tm0] {
        left: 16px;
        right: 16px;
        bottom: 16px !important;
    }

    .floating-cart-action .btn[b-3wtxfm9tm0] {
        width: 100%;
        border-radius: 12px !important;
    }
}

/* Tablet breakpoint -- tighter table */
@media (min-width: 768px) and (max-width: 991.98px) {
    .reorder-table th[b-3wtxfm9tm0],
    .reorder-table td[b-3wtxfm9tm0] {
        padding: 0.35rem 0.5rem;
        font-size: 0.875rem;
    }
}
/* /Components/Shared/AddToCartModal.razor.rz.scp.css */
/* AddToCartModal - Bottom sheet, toast, and mobile styles */

/* Backdrop overlay */
.atc-modal-backdrop[b-9dhpe8cx08] {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Toast notification (fixed position, appears after add-to-cart) */
.atc-toast[b-9dhpe8cx08] {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #198754;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1090;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    animation: toastSlideUp-b-9dhpe8cx08 0.3s ease-out;
}

.atc-toast-fade-out[b-9dhpe8cx08] {
    animation: toastFadeOut-b-9dhpe8cx08 0.3s ease-in forwards;
}

@keyframes toastSlideUp-b-9dhpe8cx08 {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes toastFadeOut-b-9dhpe8cx08 {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

/* Swipe handle (visible only on mobile via d-md-none in markup) */
.atc-swipe-handle[b-9dhpe8cx08] {
    display: flex;
    justify-content: center;
    padding: 8px 0 4px 0;
    cursor: grab;
}

.atc-swipe-handle-bar[b-9dhpe8cx08] {
    width: 36px;
    height: 4px;
    background: #dee2e6;
    border-radius: 2px;
}

/* Mobile bottom sheet styles */
@media (max-width: 767.98px) {
    /* Bottom sheet positioning */
    .atc-modal-dialog[b-9dhpe8cx08] {
        margin: 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        transform: none;
    }

    .atc-modal-dialog[b-9dhpe8cx08]  .modal-content {
        border-radius: 16px 16px 0 0;
        max-height: 70vh;
        overflow-y: auto;
        animation: bottomSheetSlideUp-b-9dhpe8cx08 0.3s ease-out;
    }

    @keyframes bottomSheetSlideUp-b-9dhpe8cx08 {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }

    /* Toast at bottom of screen on mobile */
    .atc-toast[b-9dhpe8cx08] {
        bottom: 16px;
        left: 16px;
        right: 16px;
        transform: none;
    }

    .atc-toast-fade-out[b-9dhpe8cx08] {
        animation: toastFadeOutMobile-b-9dhpe8cx08 0.3s ease-in forwards;
    }

    @keyframes toastSlideUp-b-9dhpe8cx08 {
        from {
            opacity: 0;
            transform: translateY(16px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes toastFadeOutMobile-b-9dhpe8cx08 {
        from {
            opacity: 1;
            transform: translateY(0);
        }
        to {
            opacity: 0;
            transform: translateY(16px);
        }
    }

    /* Larger touch targets for modal buttons */
    .atc-modal-dialog[b-9dhpe8cx08]  .modal-footer .btn {
        min-height: 44px;
        padding: 10px 20px;
    }

    .atc-modal-dialog[b-9dhpe8cx08]  .modal-body .btn {
        min-height: 44px;
    }

    /* Quantity input touch-friendly */
    .atc-modal-dialog[b-9dhpe8cx08]  input[type="number"] {
        min-height: 44px;
        font-size: 1rem;
    }
}
/* /Components/Shared/ButtonConfigurationDisplay.razor.rz.scp.css */
.button-config-chips[b-b4cywx3k1e] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.button-chip[b-b4cywx3k1e] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #495057;
    background-color: #e9ecef;
    border-radius: 12px;
    white-space: nowrap;
    line-height: 1.4;
}

.button-chip i[b-b4cywx3k1e] {
    font-size: 0.7rem;
}
/* /Components/Shared/ChatDrawer.razor.rz.scp.css */
/* ChatDrawer — slide-in drawer (sketch 001/B). Scoped CSS ported from the locked
   variant-B sketch. Themes against the storefront CSS variables set by MainLayout
   (#2B5797 gradient + Inter) so it reads as native. The scrim itself lives in
   ChatLauncher.razor.css; this file owns the panel + its contents. */

.chat-panel[b-h3gijyledf] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 100vw;
    z-index: 1071; /* above the launcher scrim (1065) */
    background: #fff;
    color: #1A1A1A;
    font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-left: 1px solid #e4e7ec;
    box-shadow: var(--durakey-shadow-lg, 0 8px 32px rgba(43, 87, 151, 0.29));
    transform: translateX(110%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-panel.open[b-h3gijyledf] {
    transform: translateX(0);
}

/* ---- header ---- */
.cp-head[b-h3gijyledf] {
    background: var(--durakey-gradient-primary, linear-gradient(135deg, #2B5797 0%, #1E4176 100%));
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 11px;
    flex: none;
}

.cp-avatars[b-h3gijyledf] {
    position: relative;
    width: 42px;
    height: 34px;
    flex: none;
}

.cp-av[b-h3gijyledf] {
    width: 30px;
    height: 30px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.13);
    border: 2px solid rgba(255, 255, 255, 0.33);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    position: absolute;
    top: 2px;
}

.cp-av:nth-child(2)[b-h3gijyledf] {
    left: 14px;
    background: rgba(255, 255, 255, 0.13);
}

.cp-title[b-h3gijyledf] {
    flex: 1;
    min-width: 0;
}

.cp-title strong[b-h3gijyledf] {
    display: block;
    font-size: 15px;
}

.cp-title .status[b-h3gijyledf] {
    font-size: 12px;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot[b-h3gijyledf] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7CFC9A;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
    flex: none;
}

.dot.off[b-h3gijyledf] {
    background: #ffd27a;
}

.cp-x[b-h3gijyledf] {
    background: rgba(255, 255, 255, 0.13);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    flex: none;
}

.cp-x:hover[b-h3gijyledf] {
    background: rgba(255, 255, 255, 0.22);
}

/* ---- body ---- */
.cp-body[b-h3gijyledf] {
    flex: 1;
    overflow-y: auto;
    background: #F5F7FA;
    padding: 16px;
}

.state[b-h3gijyledf] {
    display: none;
}

.state.show[b-h3gijyledf] {
    display: block;
}

/* ---- pre-chat ---- */
.pc-hi[b-h3gijyledf] {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px;
}

.pc-sub[b-h3gijyledf] {
    font-size: 13px;
    color: #6C757D;
    margin: 0 0 14px;
}

.pc-auth[b-h3gijyledf] {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
}

.pc-auth .badge[b-h3gijyledf] {
    background: #28A745;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9999px;
    padding: 2px 8px;
}

.pc-label[b-h3gijyledf] {
    font-size: 12px;
    font-weight: 600;
    color: #6C757D;
    margin: 12px 0 6px;
}

.field[b-h3gijyledf] {
    width: 100%;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    padding: 10px 12px;
    font: inherit;
    font-size: 14px;
    margin-bottom: 8px;
}

.field:focus[b-h3gijyledf] {
    outline: none;
    border-color: var(--durakey-primary, #2B5797);
}

.chips[b-h3gijyledf] {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.chip[b-h3gijyledf] {
    border: 1px solid #e4e7ec;
    background: #fff;
    color: var(--durakey-primary, #2B5797);
    border-radius: 9999px;
    padding: 7px 12px;
    font: inherit;
    font-size: 12.5px;
    cursor: pointer;
    transition: all 0.15s;
}

.chip:hover[b-h3gijyledf],
.chip.sel[b-h3gijyledf] {
    background: var(--durakey-primary, #2B5797);
    color: #fff;
    border-color: var(--durakey-primary, #2B5797);
}

.anon-toggle[b-h3gijyledf] {
    font-size: 12px;
    color: var(--durakey-primary, #2B5797);
    cursor: pointer;
    margin-top: 12px;
    display: inline-block;
    text-decoration: underline;
}

.anon-fields[b-h3gijyledf] {
    margin-top: 12px;
}

.pc-validation[b-h3gijyledf] {
    font-size: 12px;
    color: #DC3545;
    margin: 2px 0 4px;
}

/* ---- conversation thread (ported from sketch 001/B) ---- */
.msgs[b-h3gijyledf] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.day[b-h3gijyledf] {
    align-self: center;
    font-size: 11px;
    color: #6C757D;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 9999px;
    padding: 2px 10px;
    margin-bottom: 2px;
}

.row[b-h3gijyledf] {
    display: flex;
    gap: 8px;
    max-width: 86%;
}

.row.me[b-h3gijyledf] {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.row.them[b-h3gijyledf] {
    align-self: flex-start;
}

.bubble[b-h3gijyledf] {
    padding: 9px 13px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.45;
    box-shadow: var(--durakey-shadow-md, 0 4px 16px rgba(43, 87, 151, 0.12));
    overflow-wrap: anywhere;
}

.row.them .bubble[b-h3gijyledf] {
    background: #fff;
    border-bottom-left-radius: 4px;
}

.row.me .bubble[b-h3gijyledf] {
    background: var(--durakey-primary, #2B5797);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.mini-av[b-h3gijyledf] {
    width: 26px;
    height: 26px;
    border-radius: 9999px;
    background: var(--durakey-accent, #4A90A4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex: none;
    align-self: flex-end;
}

.meta[b-h3gijyledf] {
    font-size: 10px;
    color: #6C757D;
    margin: 2px 4px 0;
}

.meta-me[b-h3gijyledf] {
    align-self: flex-end;
}

/* ---- agent typing indicator (transient, CHAT-05/D-06) ---- */
.typing[b-h3gijyledf] {
    display: flex;
    gap: 4px;
    padding: 11px 14px;
    background: #fff;
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    width: fit-content;
    box-shadow: var(--durakey-shadow-md, 0 4px 16px rgba(43, 87, 151, 0.12));
}

.typing i[b-h3gijyledf] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #bcc6d4;
    animation: durakey-typing-bounce-b-h3gijyledf 1.2s infinite;
}

.typing i:nth-child(2)[b-h3gijyledf] {
    animation-delay: 0.15s;
}

.typing i:nth-child(3)[b-h3gijyledf] {
    animation-delay: 0.3s;
}

@keyframes durakey-typing-bounce-b-h3gijyledf {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    30% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

/* ---- offline card + leave-a-message form (Plan 04, CHAT-07) ---- */
.off-card[b-h3gijyledf] {
    text-align: center;
    padding: 10px 4px;
}

.off-card .ic[b-h3gijyledf] {
    font-size: 30px;
}

.off-card h4[b-h3gijyledf] {
    margin: 8px 0 4px;
}

.off-card p[b-h3gijyledf] {
    font-size: 13px;
    color: #6C757D;
    margin: 0 0 14px;
}

.off-msg[b-h3gijyledf] {
    resize: none;
    height: 72px;
    max-height: 120px;
}

.btn-primary[b-h3gijyledf] {
    border: none;
    background: var(--durakey-gradient-primary, linear-gradient(135deg, #2B5797 0%, #1E4176 100%));
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    padding: 11px 18px;
    cursor: pointer;
    font: inherit;
    width: 100%;
    margin-top: 6px;
}

.btn-primary:hover:not(:disabled)[b-h3gijyledf] {
    filter: brightness(1.08);
}

.btn-primary:disabled[b-h3gijyledf] {
    opacity: 0.5;
    cursor: not-allowed;
}

.off-confirm[b-h3gijyledf] {
    background: #e9f7ee;
    border: 1px solid #28A745;
    color: #1e7e34;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    text-align: center;
}

/* ---- composer ---- */
.composer[b-h3gijyledf] {
    display: flex;
    gap: 8px;
    padding: 11px 12px;
    border-top: 1px solid #e4e7ec;
    background: #fff;
    align-items: flex-end;
    flex: none;
}

.composer textarea[b-h3gijyledf] {
    flex: 1;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 10px 12px;
    font: inherit;
    font-size: 14px;
    resize: none;
    height: 40px;
    max-height: 96px;
}

.composer textarea:focus[b-h3gijyledf] {
    outline: none;
    border-color: var(--durakey-primary, #2B5797);
}

.composer textarea:disabled[b-h3gijyledf] {
    background: #f1f3f5;
    cursor: not-allowed;
}

.send[b-h3gijyledf] {
    border: none;
    background: var(--durakey-gradient-primary, linear-gradient(135deg, #2B5797 0%, #1E4176 100%));
    color: #fff;
    border-radius: 9999px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 17px;
    flex: none;
}

.send:hover:not(:disabled)[b-h3gijyledf] {
    filter: brightness(1.08);
}

.send:disabled[b-h3gijyledf] {
    opacity: 0.5;
    cursor: not-allowed;
}

.cp-foot[b-h3gijyledf] {
    text-align: center;
    font-size: 10.5px;
    color: #6C757D;
    padding: 6px;
    background: #fff;
    border-top: 1px solid #e4e7ec;
    flex: none;
}

/* ---- mobile: near-fullscreen at phone width (sketch phone viewport) ---- */
@media (max-width: 430px) {
    .chat-panel[b-h3gijyledf] {
        width: 100vw;
        max-width: 100vw;
        left: 0;
        right: 0;
        border-left: none;
    }
}
/* /Components/Shared/ChatLauncher.razor.rz.scp.css */
/* ChatLauncher — bottom-right FAB + unread badge + scrim (sketch 001/B).
   Themes against the storefront CSS variables set by MainLayout so it reads as
   native (#2B5797 gradient + Inter via the inherited body font). */

.chat-launcher-root[b-xbna06kcw7] {
    font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
}

/* Launcher anchor — bottom-right, above page content, below the open drawer. */
.chat-launcher[b-xbna06kcw7] {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 1060;
}

.fab[b-xbna06kcw7] {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--durakey-gradient-primary, linear-gradient(135deg, #2B5797 0%, #1E4176 100%));
    box-shadow: var(--durakey-shadow-lg, 0 8px 32px rgba(43, 87, 151, 0.29));
    transition: transform 0.15s ease, filter 0.15s ease;
}

.fab:hover[b-xbna06kcw7] {
    transform: scale(1.06);
    filter: brightness(1.05);
}

.fab:focus-visible[b-xbna06kcw7] {
    outline: 3px solid var(--durakey-focus-ring, rgba(43, 87, 151, 0.25));
    outline-offset: 2px;
}

/* Unread-count overlay (D-06). Top-right of the FAB, accent fill. */
.badge-n[b-xbna06kcw7] {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 9999px;
    background: var(--durakey-accent, #4A90A4);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* Scrim behind the open drawer (sketch 001/B). Sits below the drawer panel
   (the drawer owns z-index 1071), above the launcher. */
.chat-scrim[b-xbna06kcw7] {
    position: fixed;
    inset: 0;
    background: rgba(16, 32, 58, 0.27);
    z-index: 1065;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.chat-scrim.open[b-xbna06kcw7] {
    opacity: 1;
    pointer-events: auto;
}
/* /Components/Shared/DifficultyIndicator.razor.rz.scp.css */
.difficulty-row[b-69hevn9uma] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    font-size: 0.875rem;
}

.difficulty-label[b-69hevn9uma] {
    font-weight: 600;
    min-width: 60px;
}

.difficulty-procedure[b-69hevn9uma] {
    color: #6c757d;
    font-size: 0.8rem;
    min-width: 80px;
}

.difficulty-circles[b-69hevn9uma] {
    display: flex;
    gap: 0.2rem;
    font-size: 0.65rem;
}

.difficulty-filled[b-69hevn9uma] {
    color: var(--theme-primary, #2B5797);
}

.difficulty-unfilled[b-69hevn9uma] {
    color: #dee2e6;
}

.difficulty-time[b-69hevn9uma] {
    color: #6c757d;
    font-size: 0.8rem;
}
/* /Components/Shared/ProductFieldRenderer.razor.rz.scp.css */
/* ProductFieldRenderer component-scoped styles */

.field-row[b-nnkcum7lw7] {
    display: flex;
    align-items: baseline;
    padding: 4px 0;
    font-size: 0.835rem;
    line-height: 1.4;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.field-row:last-child[b-nnkcum7lw7] {
    border-bottom: none;
}

.field-label[b-nnkcum7lw7] {
    flex-shrink: 0;
    font-weight: 600;
    color: #5a6370;
    margin-right: 8px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.field-label[b-nnkcum7lw7]::after {
    content: "";
}

.field-value[b-nnkcum7lw7] {
    color: #2d3436;
    font-weight: 500;
    word-break: break-word;
}
/* /Components/Shared/SearchableDropdown.razor.rz.scp.css */
.searchable-dropdown[b-zyj4512gq9] {
    position: relative;
    display: inline-block;
    min-width: 140px;
    width: 100%;
}

.searchable-dropdown-input[b-zyj4512gq9] {
    padding-right: 2rem; /* space for clear button */
}

.searchable-dropdown-clear[b-zyj4512gq9] {
    position: absolute;
    right: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--bs-secondary-color, #6c757d);
    cursor: pointer;
    padding: 0 0.25rem;
}

.searchable-dropdown-clear:hover[b-zyj4512gq9] {
    color: var(--bs-danger, #dc3545);
}

.searchable-dropdown-menu[b-zyj4512gq9] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    margin: 0;
    padding: 0.25rem 0;
    background: #fff;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.075);
    max-height: 240px;
    overflow-y: auto;
    min-width: 100%;
}

.searchable-dropdown-item[b-zyj4512gq9] {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    text-align: left;
    border: none;
    background: transparent;
    font-size: 0.875rem;
    cursor: pointer;
}

.searchable-dropdown-item:hover[b-zyj4512gq9] {
    background: var(--bs-secondary-bg, #f8f9fa);
}

.searchable-dropdown-item-active[b-zyj4512gq9] {
    background: var(--bs-primary-bg-subtle, #cfe2ff);
    font-weight: 600;
}

.searchable-dropdown-item-any[b-zyj4512gq9] {
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    font-style: italic;
    color: var(--bs-secondary-color, #6c757d);
}

.searchable-dropdown-item-empty[b-zyj4512gq9] {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-style: italic;
    color: var(--bs-secondary-color, #6c757d);
}
/* /Components/Shared/ThemedProductCard.razor.rz.scp.css */
/* ThemedProductCard component-scoped styles */

.product-image[b-k7mbizbhad] {
    height: 220px;
    object-fit: contain;
    background-color: #f8f9fa;
}

/* ── Placeholder icon for missing product images ── */
.placeholder-icon[b-k7mbizbhad] {
    font-size: 3.5rem;
    opacity: 0.25;
    color: #6c757d;
}

.out-of-stock[b-k7mbizbhad] {
    opacity: 0.6;
    position: relative;
}

.out-of-stock img[b-k7mbizbhad] {
    filter: grayscale(70%);
}

.out-of-stock-banner[b-k7mbizbhad] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: #dc3545;
    color: white;
    text-align: center;
    padding: 4px 0;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
    border-radius: 0.375rem 0.375rem 0 0;
}

.card[b-k7mbizbhad] {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover[b-k7mbizbhad] {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* ── MSRP Price display ── */
.card-price[b-k7mbizbhad] {
    padding: 4px 0;
}

/* ── Fitment summary line ── */
.fitment-summary[b-k7mbizbhad] {
    font-size: 0.8rem;
    line-height: 1.4;
}

/* ── Detail Attributes Container ── */
.detail-attributes[b-k7mbizbhad] {
    background: #f8f9fb;
    border-radius: 6px;
    padding: 8px 12px;
    border: 1px solid #e9ecef;
}

/* ── Default Fallback Detail Rows (non-template path) ── */
.detail-attr-row[b-k7mbizbhad] {
    display: flex;
    align-items: baseline;
    padding: 4px 0;
    font-size: 0.835rem;
    line-height: 1.4;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-attr-row:last-child[b-k7mbizbhad] {
    border-bottom: none;
}

.detail-attr-label[b-k7mbizbhad] {
    flex-shrink: 0;
    font-weight: 600;
    color: #5a6370;
    margin-right: 8px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.detail-attr-value[b-k7mbizbhad] {
    color: #2d3436;
    font-weight: 500;
    word-break: break-word;
}

/* ── Template-driven Detail Fields (child ProductFieldRenderer) ── */
[b-k7mbizbhad] .field-row {
    display: flex;
    align-items: baseline;
    padding: 4px 0;
    font-size: 0.835rem;
    line-height: 1.4;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[b-k7mbizbhad] .field-row:last-child {
    border-bottom: none;
}

[b-k7mbizbhad] .field-label {
    flex-shrink: 0;
    font-weight: 600;
    color: #5a6370;
    margin-right: 8px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

[b-k7mbizbhad] .field-value {
    color: #2d3436;
    font-weight: 500;
    word-break: break-word;
}
/* /Components/Shared/ThemedProductDetailModal.razor.rz.scp.css */
/* ThemedProductDetailModal component-scoped styles */

/* Tab styling */
[b-zixcjvyxs3] .nav-tabs .nav-link {
    color: #495057;
    border: 1px solid transparent;
    background-color: #f8f9fa;
    margin-right: 2px;
}

[b-zixcjvyxs3] .nav-tabs .nav-link:hover {
    color: #2b5797;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

[b-zixcjvyxs3] .nav-tabs .nav-link.active {
    color: #2b5797;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    font-weight: 500;
}

[b-zixcjvyxs3] .tab-content {
    border: 1px solid #dee2e6;
    border-top: none;
    background-color: #fff;
    min-height: 200px;
}

[b-zixcjvyxs3] .tab-pane {
    min-height: 150px;
}

/* Product description content */
[b-zixcjvyxs3] .product-description-content {
    background-color: #e7f3ff;
    border: 1px solid #b8daff;
    border-radius: 0.375rem;
    padding: 1rem;
    color: #004085;
    line-height: 1.6;
}

/* ── Pricing Section ── */
.pricing-section[b-zixcjvyxs3] {
    padding: 10px 0;
    border-top: 1px solid #e9ecef;
}

.customer-price[b-zixcjvyxs3] {
    padding: 4px 0;
}

.msrp-price[b-zixcjvyxs3] {
    font-size: 0.95rem;
}

/* ── Fitment Table ── */
.fitment-table[b-zixcjvyxs3] {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

.fitment-table table[b-zixcjvyxs3] {
    font-size: 0.875rem;
}

.fitment-table thead th[b-zixcjvyxs3] {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #5a6370;
}

/* Modal sizing */
.modal-dialog.modal-xl[b-zixcjvyxs3] {
    max-width: 1140px;
}
/* /Components/Shared/Walkthrough.razor.rz.scp.css */
/* Walkthrough.razor.css — scoped styles for the host element only.
   Tour chrome (tooltip, overlay, buttons) is styled globally by
   wwwroot/css/shepherd-durakey.css so Shepherd's body-relative DOM
   can be reached by the rules. */

.walkthrough-host[b-l4b0kppt5i] {
    display: contents;
}
