@import '_content/BlackHoleBOP.UI/BlackHoleBOP.UI.3x3vtuw198.bundle.scp.css';
@import '_content/Blazicons/Blazicons.ugzwxlf6d1.bundle.scp.css';

/* /Components/Layout/BopSidebar.razor.rz.scp.css */
/* ============================================
   Aurora Violeta operations navigation
   Wide labeled nav preserved; violet signature skin applied.
   ============================================ */

.bop-sidebar[b-8zqsth8oce] {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    background: #0E0E11;
    border-radius: 0 28px 28px 0;
    display: flex;
    flex-direction: column;
    padding: 14px 12px;
    z-index: 1200;
    box-shadow: 0 8px 40px rgba(14, 14, 17, 0.24);
    border-right: none;
    overflow: hidden;
    transition: transform 0.3s var(--bop-ease-standard, cubic-bezier(0.16, 1, 0.3, 1)), width 0.3s var(--bop-ease-standard, cubic-bezier(0.16, 1, 0.3, 1)), opacity 0.22s ease;
}

/* Brand */
.bop-sidebar-brand[b-8zqsth8oce] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 8px 14px 8px;
    border-bottom: 1px solid var(--bop-sidebar-line, rgba(255, 255, 255, 0.16));
    margin-bottom: 12px;
}

.bop-sidebar-logo[b-8zqsth8oce] {
    width: 30px;
    height: 30px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .bop-sidebar-brand-text[b-8zqsth8oce] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Search */
.bop-sidebar-search[b-8zqsth8oce] {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--bop-radius-sm, 12px);
    padding: 0 10px;
    height: 34px;
    margin-bottom: 12px;
}

.bop-sidebar-search-icon[b-8zqsth8oce] {
    color: rgba(255, 255, 255, 0.64) !important;
    font-size: 1rem !important;
    flex-shrink: 0;
}

.bop-sidebar-search-input[b-8zqsth8oce] {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 8px;
    font-size: 0.8125rem;
    color: #FFFFFF;
    font-family: inherit;
}

.bop-sidebar-search-input[b-8zqsth8oce]::placeholder {
    color: rgba(255, 255, 255, 0.52);
}

.bop-sidebar-search-kbd[b-8zqsth8oce] {
    font-size: 0.6875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 2px 6px;
    flex-shrink: 0;
}

/* Scroll area */
.bop-sidebar-scroll[b-8zqsth8oce] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0 -4px;
    padding: 0 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.bop-sidebar-scroll[b-8zqsth8oce]::-webkit-scrollbar {
    width: 6px;
}
.bop-sidebar-scroll[b-8zqsth8oce]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 3px;
}
.bop-sidebar-scroll[b-8zqsth8oce]::-webkit-scrollbar-track {
    background: transparent;
}

/* Section labels */
.bop-sidebar-section-label[b-8zqsth8oce] {
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.48);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 10px 7px 10px;
}

.bop-sidebar-section-label:first-child[b-8zqsth8oce] {
    padding-top: 4px;
}

/* Nav container */
.bop-sidebar-nav[b-8zqsth8oce] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Nav item */
.bop-sidebar-item[b-8zqsth8oce] {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--bop-radius-sm, 12px);
    text-decoration: none;
    color: var(--bop-sidebar-muted, #C4C4C9);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--bop-transition-fast, 140ms ease), color var(--bop-transition-fast, 140ms ease), transform var(--bop-transition-fast, 140ms ease);
    border: none;
    background: transparent;
    width: 100%;
    font-family: inherit;
    text-align: left;
}

.bop-sidebar-item:hover[b-8zqsth8oce] {
    background: rgba(255, 255, 255, 0.10);
    color: #FFFFFF;
    text-decoration: none;
    opacity: 1;
}

.bop-sidebar-item.active[b-8zqsth8oce] {
    background: #7C3AED;
    color: #FFFFFF;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.45);
}

.bop-sidebar-item.active[b-8zqsth8oce]::before {
    content: none;
}

.bop-sidebar-item.active:hover[b-8zqsth8oce] {
    background: #6D28D9;
    color: #FFFFFF;
}

.bop-sidebar-item-icon[b-8zqsth8oce] {
    color: currentColor !important;
    flex-shrink: 0;
    font-size: 1.2rem !important;
}

.bop-sidebar-item-label[b-8zqsth8oce] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bop-sidebar-item-badge[b-8zqsth8oce] {
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    padding: 2px 7px;
    flex-shrink: 0;
}

.bop-sidebar-item.active .bop-sidebar-item-badge[b-8zqsth8oce] {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile backdrop */
.bop-sidebar-backdrop[b-8zqsth8oce] {
    position: fixed;
    inset: 0;
    z-index: 1150;
    background: rgba(28, 26, 51, 0.40);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Mobile: hide by default, slide in when open */
@media (max-width: 767px) {
    .bop-sidebar[b-8zqsth8oce] {
        transform: translateX(-100%) !important;
        transition: transform 0.28s var(--bop-ease-standard, cubic-bezier(0.16, 1, 0.3, 1));
        width: 268px;
    }

    .bop-sidebar.open[b-8zqsth8oce] {
        transform: translateX(0) !important;
    }
}

/* Desktop: hide mobile backdrop */
@media (min-width: 768px) {
    .bop-sidebar.hidden[b-8zqsth8oce] {
        transform: translateX(-100%);
        opacity: 0;
        pointer-events: none;
    }

    .bop-sidebar-backdrop[b-8zqsth8oce] {
        display: none;
    }
}

/* ============================================
   Desktop: collapsible rail — slim by default, expands on hover/focus.
   Pure CSS; markup, navigation and permissions are untouched.
   Content + impersonation banner reserve the 76px rail width.
   ============================================ */
@media (min-width: 768px) {
    .bop-sidebar[b-8zqsth8oce] {
        width: 76px;
    }

    /* Expand on hover or keyboard focus — overlays content, no reflow. */
    .bop-sidebar:hover[b-8zqsth8oce],
    .bop-sidebar:focus-within[b-8zqsth8oce] {
        width: 260px;
        box-shadow: 0 18px 60px rgba(14, 14, 17, 0.30);
    }

    /* Smooth fades for the labels + a gentle icon-centering slide. */
    .bop-sidebar-brand-text[b-8zqsth8oce],
    .bop-sidebar-item-label[b-8zqsth8oce],
    .bop-sidebar-item-badge[b-8zqsth8oce],
    .bop-sidebar-section-label[b-8zqsth8oce] {
        transition: opacity 0.18s ease;
    }

    /* Labels fade in just after the rail starts opening → smoother */
    .bop-sidebar:hover .bop-sidebar-brand-text[b-8zqsth8oce],
    .bop-sidebar:hover .bop-sidebar-item-label[b-8zqsth8oce],
    .bop-sidebar:hover .bop-sidebar-item-badge[b-8zqsth8oce],
    .bop-sidebar:hover .bop-sidebar-section-label[b-8zqsth8oce],
    .bop-sidebar:focus-within .bop-sidebar-brand-text[b-8zqsth8oce],
    .bop-sidebar:focus-within .bop-sidebar-item-label[b-8zqsth8oce],
    .bop-sidebar:focus-within .bop-sidebar-item-badge[b-8zqsth8oce],
    .bop-sidebar:focus-within .bop-sidebar-section-label[b-8zqsth8oce] {
        transition-delay: 0.08s;
    }

    .bop-sidebar-item[b-8zqsth8oce] {
        transition: background-color var(--bop-transition-fast, 140ms ease),
                    color var(--bop-transition-fast, 140ms ease),
                    padding-left 0.3s var(--bop-ease-standard, cubic-bezier(0.16, 1, 0.3, 1));
    }

    /* Collapsed (not hovered/focused): hide text, keep the icons. */
    .bop-sidebar:not(:hover):not(:focus-within) .bop-sidebar-brand-text[b-8zqsth8oce],
    .bop-sidebar:not(:hover):not(:focus-within) .bop-sidebar-item-label[b-8zqsth8oce],
    .bop-sidebar:not(:hover):not(:focus-within) .bop-sidebar-item-badge[b-8zqsth8oce],
    .bop-sidebar:not(:hover):not(:focus-within) .bop-sidebar-search-input[b-8zqsth8oce],
    .bop-sidebar:not(:hover):not(:focus-within) .bop-sidebar-search-kbd[b-8zqsth8oce],
    .bop-sidebar:not(:hover):not(:focus-within) .bop-sidebar-section-label[b-8zqsth8oce] {
        opacity: 0;
        pointer-events: none;
    }

    /* Collapsed: nudge icons toward center (slides back on expand). */
    .bop-sidebar:not(:hover):not(:focus-within) .bop-sidebar-item[b-8zqsth8oce],
    .bop-sidebar:not(:hover):not(:focus-within) .bop-sidebar-search[b-8zqsth8oce] {
        padding-left: 17px;
    }
}
/* /Components/Layout/BopTopBar.razor.rz.scp.css */
/* Content-area header — not a fixed top bar */

.bop-content-header[b-qephuktnmn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 10px 14px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(236, 234, 246, 0.72);
    border-radius: var(--bop-radius-lg, 24px);
    box-shadow: var(--bop-shadow-1, 0 2px 8px rgba(76, 57, 144, 0.06));
}

.bop-content-header-left[b-qephuktnmn] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bop-content-header-right[b-qephuktnmn] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bop-sidebar-toggle-slot[b-qephuktnmn] {
    display: inline-flex;
    align-items: center;
}

.bop-sidebar-toggle-slot--mobile[b-qephuktnmn] {
    display: none;
}

:deep(.bop-sidebar-toggle)[b-qephuktnmn] {
    border: 1px solid rgba(236, 234, 246, 0.72) !important;
    border-radius: var(--bop-radius-pill, 999px) !important;
    background: #FFFFFF !important;
    color: var(--bop-text-secondary, #5B5972) !important;
    box-shadow: var(--bop-shadow-1, 0 2px 8px rgba(76, 57, 144, 0.06));
}

:deep(.bop-sidebar-toggle:hover)[b-qephuktnmn] {
    background: var(--bop-primary-soft, #EDE9FE) !important;
    color: var(--bop-primary-dark, #6D28D9) !important;
}

/* Search pill — soft filled style */
.bop-header-search[b-qephuktnmn] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    background: #FFFFFF;
    border: 1px solid rgba(236, 234, 246, 0.82);
    border-radius: var(--bop-radius-pill, 999px);
    cursor: pointer;
    box-shadow: var(--bop-shadow-1, 0 2px 8px rgba(76, 57, 144, 0.06));
    transition: background var(--bop-transition-fast, 140ms ease), border-color var(--bop-transition-fast, 140ms ease), box-shadow var(--bop-transition-fast, 140ms ease);
    min-width: 240px;
}

.bop-header-search:hover[b-qephuktnmn] {
    background: #FFFFFF;
    border-color: rgba(216, 213, 236, 0.9);
    box-shadow: var(--bop-shadow-2, 0 10px 30px rgba(76, 57, 144, 0.10));
}

.bop-header-search:focus-within[b-qephuktnmn] {
    background: #FFFFFF;
    border-color: var(--bop-primary, #7C3AED);
    box-shadow: var(--bop-shadow-focus, 0 0 0 4px rgba(124, 58, 237, 0.18));
}

.bop-header-search-text[b-qephuktnmn] {
    font-size: 0.8125rem;
    color: var(--bop-text-secondary, #525252);
    font-weight: 400;
}

/* User avatar */
.bop-user-avatar[b-qephuktnmn] {
    background: var(--bop-hero-gradient, linear-gradient(150deg, #7C3AED, #6D28D9 45%, #A435CE)) !important;
    color: #FFFFFF !important;
    width: 36px !important;
    height: 36px !important;
    box-shadow: var(--bop-shadow-primary, 0 14px 30px rgba(124, 58, 237, 0.30));
}

@media (max-width: 767px) {
    .bop-sidebar-toggle-slot--desktop[b-qephuktnmn] {
        display: none;
    }

    .bop-sidebar-toggle-slot--mobile[b-qephuktnmn] {
        display: inline-flex;
    }

    .bop-header-search[b-qephuktnmn] {
        min-width: unset;
        padding: 8px 14px;
    }

    .bop-header-search-text[b-qephuktnmn] {
        display: none;
    }
}
/* /Components/Layout/ImpersonationBanner.razor.rz.scp.css */
/* ImpersonationBanner — persistent warning banner for active impersonation sessions */

.impersonation-banner[b-mqsa9rx9rr] {
    position: fixed;
    top: 0;
    left: 76px;
    right: 0;
    z-index: 1100;
    background: var(--bop-warning-soft, #FFFAEB);
    color: #7A2E0E;
    border-bottom: 1px solid rgba(220, 104, 3, 0.24);
    box-shadow: none;
    font-size: 0.8125rem;
    line-height: 1.4;
    user-select: none;
}

.impersonation-banner-content[b-mqsa9rx9rr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 20px;
    max-width: 100%;
    min-height: 40px;
}

.impersonation-banner-info[b-mqsa9rx9rr] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.impersonation-banner-icon[b-mqsa9rx9rr] {
    color: #1c1917;
    flex-shrink: 0;
}

.impersonation-banner-label[b-mqsa9rx9rr] {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.6875rem;
    background: rgba(0, 0, 0, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.impersonation-banner-detail[b-mqsa9rx9rr] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.impersonation-banner-field[b-mqsa9rx9rr] {
    font-weight: 600;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    opacity: 0.7;
}

.impersonation-banner-value[b-mqsa9rx9rr] {
    font-weight: 600;
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.08);
    padding: 1px 6px;
    border-radius: 3px;
}

.impersonation-banner-separator[b-mqsa9rx9rr] {
    opacity: 0.4;
    font-weight: 300;
}

.impersonation-banner-timer[b-mqsa9rx9rr] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.8125rem;
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.impersonation-banner-timer-icon[b-mqsa9rx9rr] {
    color: #1c1917;
    font-size: 1rem !important;
}

/* End Impersonation button */
.impersonation-banner-exit[b-mqsa9rx9rr] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 2px solid rgba(28, 25, 23, 0.5);
    border-radius: 6px;
    background: rgba(28, 25, 23, 0.1);
    color: #1c1917;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.impersonation-banner-exit:hover:not(:disabled)[b-mqsa9rx9rr] {
    background: rgba(28, 25, 23, 0.2);
    border-color: rgba(28, 25, 23, 0.7);
}

.impersonation-banner-exit:active:not(:disabled)[b-mqsa9rx9rr] {
    transform: scale(0.97);
}

.impersonation-banner-exit:disabled[b-mqsa9rx9rr] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .impersonation-banner[b-mqsa9rx9rr] {
        left: 0;
    }

    .impersonation-banner-content[b-mqsa9rx9rr] {
        flex-wrap: wrap;
        padding: 8px 12px;
        gap: 8px;
    }

    .impersonation-banner-info[b-mqsa9rx9rr] {
        gap: 6px;
    }

    .hidden-mobile[b-mqsa9rx9rr] {
        display: none !important;
    }

    .impersonation-banner-exit[b-mqsa9rx9rr] {
        width: 100%;
        justify-content: center;
        padding: 8px 14px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .impersonation-banner-content[b-mqsa9rx9rr] {
        padding: 8px 16px;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* MainLayout - SaaS app shell with fixed navigation rail */

.bop-main-content[b-ius18awsfq] {
    background: var(--bop-app-gradient, #F5F4FD);
    min-height: 100vh;
    margin-left: 76px;
    transition: margin-left 0.24s var(--bop-ease-standard, cubic-bezier(0.16, 1, 0.3, 1));
    position: relative;
    overflow: hidden;
}

.bop-main-content.sidebar-hidden[b-ius18awsfq] {
    margin-left: 0;
}

/* Extra top padding when impersonation banner is visible */
.bop-main-content.has-impersonation-banner[b-ius18awsfq] {
    padding-top: 40px;
}

.bop-main-inner[b-ius18awsfq] {
    padding: 14px 22px 28px;
    max-width: 1760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Mobile: no sidebar margin */
@media (max-width: 767px) {
    .bop-main-content[b-ius18awsfq] {
        margin-left: 0 !important;
    }

    .bop-main-inner[b-ius18awsfq] {
        padding: 14px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .bop-main-inner[b-ius18awsfq] {
        padding: 18px;
    }
}

/* Error UI */
#blazor-error-ui[b-ius18awsfq] {
    color-scheme: light only;
    background: var(--bop-warning-soft, #FFF3DE);
    bottom: 0;
    box-shadow: 0 -8px 24px rgba(76, 57, 144, 0.14);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-ius18awsfq] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

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

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

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

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

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

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

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

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

.bi-ui-checks-nav-menu[b-3b4imhm00c] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-ui-checks' viewBox='0 0 16 16'%3E%3Cpath d='M7 2.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5zM2 1a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zm0 8a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2zm.854-3.646a.5.5 0 0 1-.708 0l-1-1a.5.5 0 1 1 .708-.708l.646.647 1.646-1.647a.5.5 0 1 1 .708.708zm0 8a.5.5 0 0 1-.708 0l-1-1a.5.5 0 0 1 .708-.708l.646.647 1.646-1.647a.5.5 0 0 1 .708.708zM7 10.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5zm0-5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 8a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-inbox-fill-nav-menu[b-3b4imhm00c] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-inbox-fill' viewBox='0 0 16 16'%3E%3Cpath d='M4.98 4a.5.5 0 0 0-.39.188L1.54 8H6a.5.5 0 0 1 .5.5 1.5 1.5 0 1 0 3 0A.5.5 0 0 1 10 8h4.46l-3.05-3.812A.5.5 0 0 0 11.02 4zm-1.17-.437A1.5 1.5 0 0 1 4.98 3h6.04a1.5 1.5 0 0 1 1.17.563l3.7 4.625a.5.5 0 0 1 .106.374l-.39 3.124A1.5 1.5 0 0 1 14.117 13H1.883a1.5 1.5 0 0 1-1.489-1.314l-.39-3.124a.5.5 0 0 1 .106-.374z'/%3E%3C/svg%3E");
}

.bi-calculator-nav-menu[b-3b4imhm00c] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-calculator' viewBox='0 0 16 16'%3E%3Cpath d='M12 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z'/%3E%3Cpath d='M4 2.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5zm0 4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm3-6a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm3-6a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-section-header[b-3b4imhm00c] {
    padding-top: 1rem;
    padding-bottom: 0.25rem;
}

.nav-section-label[b-3b4imhm00c] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    padding-left: 0.75rem;
}

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

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

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

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

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

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

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

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

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

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

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-xi6ioe64m8],
.components-reconnect-repeated-attempt-visible[b-xi6ioe64m8],
.components-reconnect-failed-visible[b-xi6ioe64m8],
.components-pause-visible[b-xi6ioe64m8],
.components-resume-failed-visible[b-xi6ioe64m8],
.components-rejoining-animation[b-xi6ioe64m8] {
    display: none;
}

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


#components-reconnect-modal[b-xi6ioe64m8] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: var(--bop-radius-xl, 10px);
    box-shadow: var(--bop-shadow-3, 0 12px 28px rgba(16, 24, 40, 0.12));
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-xi6ioe64m8 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

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

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

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

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Layout/TenantImpersonationBanner.razor.rz.scp.css */
/* TenantImpersonationBanner — persistent warning banner for active impersonation on tenant side */

.tenant-impersonation-banner[b-to0mjx6xk9] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: var(--bop-warning-soft, #FFFAEB);
    color: #7A2E0E;
    border-bottom: 1px solid rgba(220, 104, 3, 0.24);
    box-shadow: none;
    font-size: 0.8125rem;
    line-height: 1.4;
    user-select: none;
}

.tenant-impersonation-banner-content[b-to0mjx6xk9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 20px;
    max-width: 100%;
    min-height: 40px;
}

.tenant-impersonation-banner-info[b-to0mjx6xk9] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.tenant-impersonation-banner-icon[b-to0mjx6xk9] {
    color: #1c1917;
    flex-shrink: 0;
}

.tenant-impersonation-banner-label[b-to0mjx6xk9] {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.6875rem;
    background: rgba(0, 0, 0, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.tenant-impersonation-banner-detail[b-to0mjx6xk9] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.tenant-impersonation-banner-field[b-to0mjx6xk9] {
    font-weight: 600;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    opacity: 0.7;
}

.tenant-impersonation-banner-value[b-to0mjx6xk9] {
    font-weight: 600;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.08);
    padding: 1px 6px;
    border-radius: 3px;
}

.tenant-impersonation-banner-separator[b-to0mjx6xk9] {
    opacity: 0.4;
    font-weight: 300;
}

.tenant-impersonation-banner-timer[b-to0mjx6xk9] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.8125rem;
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.tenant-impersonation-banner-timer-icon[b-to0mjx6xk9] {
    color: #1c1917;
    font-size: 1rem !important;
}

/* Exit button */
.tenant-impersonation-banner-exit[b-to0mjx6xk9] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border: 2px solid rgba(28, 25, 23, 0.5);
    border-radius: 8px;
    background: rgba(28, 25, 23, 0.1);
    color: #1c1917;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.tenant-impersonation-banner-exit:hover:not(:disabled)[b-to0mjx6xk9] {
    background: rgba(28, 25, 23, 0.2);
    border-color: rgba(28, 25, 23, 0.7);
}

.tenant-impersonation-banner-exit:active:not(:disabled)[b-to0mjx6xk9] {
    transform: scale(0.97);
}

.tenant-impersonation-banner-exit:disabled[b-to0mjx6xk9] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .tenant-impersonation-banner-content[b-to0mjx6xk9] {
        flex-wrap: wrap;
        padding: 8px 12px;
        gap: 8px;
    }

    .tenant-impersonation-banner-info[b-to0mjx6xk9] {
        gap: 6px;
    }

    .hidden-mobile[b-to0mjx6xk9] {
        display: none !important;
    }

    .tenant-impersonation-banner-exit[b-to0mjx6xk9] {
        width: 100%;
        justify-content: center;
        padding: 8px 14px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .tenant-impersonation-banner-content[b-to0mjx6xk9] {
        padding: 8px 16px;
    }
}
/* /Components/Pages/Crm/Webforms/SubmissionDetail.razor.rz.scp.css */
/* Glass-themed dialog surface */
[b-96iw8xo65t] .submission-detail-dialog .mud-dialog,
[b-96iw8xo65t] .submission-detail-dialog.mud-dialog {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    min-width: 480px;
    max-width: 600px;
}

/* Header */
.submission-detail-header[b-96iw8xo65t] {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Loading state */
.submission-detail-loading[b-96iw8xo65t] {
    padding: 1.5rem 0;
    min-width: 400px;
}

/* Error state */
.submission-detail-error[b-96iw8xo65t] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1rem;
    text-align: center;
    min-width: 400px;
}

/* Body layout */
.submission-detail-body[b-96iw8xo65t] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0.25rem 0;
}

/* Section dividers */
.submission-section[b-96iw8xo65t] {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.submission-section:last-of-type[b-96iw8xo65t] {
    border-bottom: none;
    padding-bottom: 0;
}

/* Field key-value list */
.submission-fields-list[b-96iw8xo65t] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
}

.submission-field-item[b-96iw8xo65t] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

/* Monospace IDs */
.submission-id-value[b-96iw8xo65t] {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    color: #616161;
    word-break: break-all;
}

/* Metadata footer */
.submission-meta-footer[b-96iw8xo65t] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Responsive */
@media (max-width: 600px) {
    [b-96iw8xo65t] .submission-detail-dialog .mud-dialog,
    [b-96iw8xo65t] .submission-detail-dialog.mud-dialog {
        min-width: unset;
        max-width: 100%;
    }

    .submission-detail-loading[b-96iw8xo65t],
    .submission-detail-error[b-96iw8xo65t] {
        min-width: unset;
    }

    .submission-fields-list[b-96iw8xo65t] {
        grid-template-columns: 1fr;
        gap: 0.625rem;
    }

    .submission-meta-footer[b-96iw8xo65t] {
        flex-direction: column;
        gap: 0.25rem;
    }
}
/* /Components/Pages/Crm/Webforms/SubmissionsInbox.razor.rz.scp.css */
/* Filter bar layout */
.inbox-filter-bar[b-hz38tljiqt] {
    /* Inherits BopFilterBar flex-wrap layout */
}

.inbox-search[b-hz38tljiqt] {
    min-width: 220px;
    flex: 1 1 220px;
    max-width: 320px;
}

.inbox-filter-select[b-hz38tljiqt] {
    min-width: 150px;
    max-width: 200px;
}

.inbox-filter-date[b-hz38tljiqt] {
    min-width: 140px;
    max-width: 170px;
}

.inbox-filter-summary[b-hz38tljiqt] {
    margin-left: auto;
    display: flex;
    align-items: center;
}

/* Grid styling */
.inbox-grid[b-hz38tljiqt] {
    border: none;
}

/* Responsive: tablet */
@media (max-width: 1024px) {
    .inbox-search[b-hz38tljiqt] {
        max-width: 100%;
    }

    .inbox-filter-select[b-hz38tljiqt] {
        max-width: 180px;
    }

    /* Hide CRM Outcome column on tablet */
    [b-hz38tljiqt] .inbox-grid .mud-table-cell:nth-child(5),
    [b-hz38tljiqt] .inbox-grid .mud-table-head .mud-table-cell:nth-child(5) {
        display: none;
    }
}

/* Responsive: mobile */
@media (max-width: 768px) {
    .inbox-search[b-hz38tljiqt] {
        min-width: 100%;
        max-width: 100%;
    }

    .inbox-filter-select[b-hz38tljiqt] {
        min-width: 100%;
        max-width: 100%;
    }

    .inbox-filter-date[b-hz38tljiqt] {
        min-width: 100%;
        max-width: 100%;
    }

    .inbox-filter-summary[b-hz38tljiqt] {
        margin-left: 0;
        text-align: center;
        justify-content: center;
    }

    /* Hide Contact and CRM Outcome columns on mobile */
    [b-hz38tljiqt] .inbox-grid .mud-table-cell:nth-child(2),
    [b-hz38tljiqt] .inbox-grid .mud-table-head .mud-table-cell:nth-child(2),
    [b-hz38tljiqt] .inbox-grid .mud-table-cell:nth-child(5),
    [b-hz38tljiqt] .inbox-grid .mud-table-head .mud-table-cell:nth-child(5) {
        display: none;
    }
}
/* /Components/Pages/Crm/Webforms/WebformCreate.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Webform Builder — Aurora Violeta
   Floating workspace: palette / canvas / properties panels
   over the lavender app canvas. Shadow separates surfaces.
   ═══════════════════════════════════════════════════════════ */

.builder-root[b-eoqplk9509] {
    /* Darker red for small text on error-soft backgrounds (AA) */
    --wfb-error-text: #B42318;
    --wfb-violet-glow: 0 8px 18px rgba(124, 58, 237, 0.28);

    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    height: calc(100vh - 240px);
    min-height: 480px;
}

.builder-root:has(.builder-properties)[b-eoqplk9509] {
    grid-template-columns: 300px minmax(0, 1fr) 300px;
}

/* ── Shared panel chrome: palette + properties float as cards ── */

.builder-palette[b-eoqplk9509],
.builder-properties[b-eoqplk9509] {
    background: var(--bop-surface, #FFFFFF);
    border: 1px solid var(--bop-divider, #ECEAF6);
    border-radius: var(--bop-radius-lg, 24px);
    box-shadow: var(--bop-shadow-2, 0 10px 30px rgba(76, 57, 144, 0.10));
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    height: 100%;
    min-height: 0;
}

/* ── Left Palette ── */

.palette-header[b-eoqplk9509] {
    padding: 18px 18px 10px;
}

.palette-title[b-eoqplk9509] {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--bop-text-secondary, #5B5972);
}

.palette-fields[b-eoqplk9509] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 16px 16px;
}

.palette-item[b-eoqplk9509] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 13px 8px 11px;
    background: var(--bop-surface-muted, #F5F3FD);
    border: 1px solid transparent;
    border-radius: var(--bop-radius-sm, 12px);
    cursor: grab;
    user-select: none;
    transition: background-color var(--bop-transition-fast, 140ms ease-out),
                border-color var(--bop-transition-fast, 140ms ease-out),
                box-shadow var(--bop-transition-fast, 140ms ease-out),
                transform var(--bop-transition-fast, 140ms ease-out);
}

.palette-item:hover[b-eoqplk9509] {
    background: var(--bop-primary-soft, #EDE9FE);
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: var(--bop-shadow-1, 0 2px 8px rgba(76, 57, 144, 0.06));
    transform: translateY(-1px);
}

.palette-item:active[b-eoqplk9509] {
    cursor: grabbing;
    transform: scale(0.97);
}

.palette-item:focus-visible[b-eoqplk9509] {
    outline: none;
    border-color: var(--bop-primary, #7C3AED);
    box-shadow: var(--bop-shadow-focus, 0 0 0 4px rgba(124, 58, 237, 0.18));
}

.palette-item[b-eoqplk9509]  .mud-icon-root {
    color: var(--bop-primary, #7C3AED);
}

.palette-item-label[b-eoqplk9509] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bop-text-secondary, #5B5972);
    text-align: center;
    line-height: 1.2;
    transition: color var(--bop-transition-fast, 140ms ease-out);
}

.palette-item:hover .palette-item-label[b-eoqplk9509] {
    color: var(--bop-text-primary, #1C1A33);
}

.palette-section-divider[b-eoqplk9509] {
    height: 1px;
    background: var(--bop-divider, #ECEAF6);
    margin: 4px 18px 12px;
    flex-shrink: 0;
}

.palette-settings[b-eoqplk9509] {
    padding: 0 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Nested section headings inside the settings column */
.palette-settings .palette-section-divider[b-eoqplk9509] {
    margin: 4px 0 0;
}

.palette-settings .palette-header[b-eoqplk9509] {
    padding: 0;
}

.routing-settings[b-eoqplk9509] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.palette-toggle-row[b-eoqplk9509] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 46px;
    padding: 6px 8px 6px 14px;
    background: var(--bop-surface-muted, #F5F3FD);
    border-radius: var(--bop-radius-sm, 12px);
}

.palette-toggle-label[b-eoqplk9509] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bop-text-primary, #1C1A33);
}

/* The global .mud-icon-button override paints the switch thumb dark;
   restore the standard white thumb inside the builder */
.palette-toggle-row[b-eoqplk9509]  .mud-switch .mud-icon-button {
    color: #FFFFFF !important;
}

.palette-hint[b-eoqplk9509] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bop-text-secondary, #5B5972);
}

.color-setting[b-eoqplk9509] {
    display: grid;
    gap: 8px;
}

.color-setting-label[b-eoqplk9509] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bop-text-secondary, #5B5972);
}

.color-setting-row[b-eoqplk9509] {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
}

.color-picker[b-eoqplk9509] {
    width: 46px;
    height: 46px;
    border: 1px solid var(--bop-divider, #ECEAF6);
    border-radius: var(--bop-radius-sm, 12px);
    padding: 4px;
    background: var(--bop-surface, #FFFFFF);
    cursor: pointer;
    transition: border-color var(--bop-transition-fast, 140ms ease-out),
                box-shadow var(--bop-transition-fast, 140ms ease-out);
}

.color-picker:hover[b-eoqplk9509] {
    border-color: rgba(124, 58, 237, 0.45);
}

.color-picker:focus-visible[b-eoqplk9509] {
    outline: none;
    border-color: var(--bop-primary, #7C3AED);
    box-shadow: var(--bop-shadow-focus, 0 0 0 4px rgba(124, 58, 237, 0.18));
}

.color-picker[b-eoqplk9509]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker[b-eoqplk9509]::-webkit-color-swatch {
    border: none;
    border-radius: 8px;
}

/* ── Step editors (palette): vertical timeline ── */

.palette-steps[b-eoqplk9509] {
    display: flex;
    flex-direction: column;
    margin-top: 2px;
}

.palette-step-editor[b-eoqplk9509] {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 10px;
}

.palette-step-rail[b-eoqplk9509] {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 6px;
    /* center the badge against the 38px title input */
    padding-top: 7px;
}

.step-rail-line[b-eoqplk9509] {
    width: 2px;
    flex: 1;
    background: var(--bop-divider-strong, #D8D5EC);
    border-radius: 999px;
}

.palette-step-editor:last-of-type .step-rail-line[b-eoqplk9509] {
    display: none;
}

.palette-step-main[b-eoqplk9509] {
    display: grid;
    gap: 8px;
    padding-bottom: 18px;
    min-width: 0;
}

.palette-step-editor:last-of-type .palette-step-main[b-eoqplk9509] {
    padding-bottom: 10px;
}

/* Label-less step inputs: drop the reserved label space */
.palette-step-main[b-eoqplk9509]  .mud-input.mud-input-filled {
    min-height: 38px;
    border-radius: var(--bop-radius-sm, 12px);
}

.palette-step-main[b-eoqplk9509]  input.mud-input-root {
    padding: 9px 12px !important;
    margin: 0 !important;
}

.palette-step-main[b-eoqplk9509]  .mud-input-root {
    font-size: 0.8125rem;
}

.palette-step-editor.step-error .step-badge-sm[b-eoqplk9509] {
    background: var(--bop-error, #EF4444);
    color: #FFFFFF;
}

.palette-step-editor.step-error .step-rail-line[b-eoqplk9509] {
    background: rgba(239, 68, 68, 0.45);
}

.step-error-text[b-eoqplk9509] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--wfb-error-text, #B42318);
}

.palette-step-row[b-eoqplk9509] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    align-items: center;
    gap: 4px;
}

.palette-step-row[b-eoqplk9509]  .mud-icon-button {
    color: var(--bop-text-tertiary, #8A89A3);
}

/* "Add Step": dashed ghost node at the end of the timeline */
.palette-step-add[b-eoqplk9509]  .bop-button {
    width: 100%;
    justify-content: flex-start;
    min-height: 38px;
    border: 1px dashed var(--bop-divider-strong, #D8D5EC) !important;
    border-radius: var(--bop-radius-sm, 12px) !important;
    color: var(--bop-text-secondary, #5B5972) !important;
    background: transparent !important;
}

.palette-step-add[b-eoqplk9509]  .bop-button:hover {
    border-color: var(--bop-primary, #7C3AED) !important;
    color: var(--bop-primary, #7C3AED) !important;
    background: var(--bop-primary-whisper, #F5F3FE) !important;
}

.step-badge-sm[b-eoqplk9509] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: var(--bop-primary-soft, #EDE9FE);
    color: var(--bop-primary-deep, #5B21B6);
    font-size: 0.72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

/* ── Center Canvas: fields float directly on the lavender bg ── */

.builder-canvas[b-eoqplk9509] {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    height: 100%;
    min-height: 0;
    min-width: 0;
}

.canvas-step-tabs[b-eoqplk9509] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 8px 2rem 0;
}

.canvas-step-tab[b-eoqplk9509] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px 7px 8px;
    background: var(--bop-surface, #FFFFFF);
    border: 1px solid var(--bop-divider, #ECEAF6);
    border-radius: var(--bop-radius-pill, 999px);
    box-shadow: var(--bop-shadow-1, 0 2px 8px rgba(76, 57, 144, 0.06));
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bop-text-secondary, #5B5972);
    cursor: pointer;
    transition: color var(--bop-transition-fast, 140ms ease-out),
                border-color var(--bop-transition-fast, 140ms ease-out),
                background-color var(--bop-transition-fast, 140ms ease-out),
                box-shadow var(--bop-transition-fast, 140ms ease-out),
                transform var(--bop-transition-fast, 140ms ease-out);
}

.canvas-step-tab:hover[b-eoqplk9509] {
    color: var(--bop-text-primary, #1C1A33);
    border-color: var(--bop-divider-strong, #D8D5EC);
    transform: translateY(-1px);
}

.canvas-step-tab:focus-visible[b-eoqplk9509] {
    outline: none;
    box-shadow: var(--bop-shadow-focus, 0 0 0 4px rgba(124, 58, 237, 0.18));
}

.canvas-step-tab.active[b-eoqplk9509] {
    background: var(--bop-primary, #7C3AED);
    border-color: var(--bop-primary, #7C3AED);
    color: #FFFFFF;
    box-shadow: var(--wfb-violet-glow);
}

.canvas-step-tab.active .step-badge-sm[b-eoqplk9509] {
    background: rgba(255, 255, 255, 0.24);
    color: #FFFFFF;
}

.canvas-step-tab.step-error[b-eoqplk9509] {
    background: var(--bop-error-soft, #FEE2E2);
    border-color: rgba(239, 68, 68, 0.45);
    color: var(--wfb-error-text, #B42318);
    box-shadow: none;
}

.canvas-step-tab.step-error .step-badge-sm[b-eoqplk9509] {
    background: var(--bop-error, #EF4444);
    color: #FFFFFF;
}

.canvas-form-area[b-eoqplk9509] {
    flex: 1;
    padding: 16px 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

/* Empty state */
.canvas-empty[b-eoqplk9509] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.55);
    border: 2px dashed var(--bop-divider-strong, #D8D5EC);
    border-radius: var(--bop-radius-lg, 24px);
    transition: border-color var(--bop-transition-fast, 140ms ease-out),
                background-color var(--bop-transition-fast, 140ms ease-out);
    min-height: 320px;
    text-align: center;
}

.canvas-empty-active[b-eoqplk9509] {
    border-color: var(--bop-primary, #7C3AED);
    background: var(--bop-primary-whisper, #F5F3FE);
}

.canvas-empty-icon[b-eoqplk9509] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--bop-radius-md, 16px);
    background: var(--bop-primary-soft, #EDE9FE);
    margin-bottom: 6px;
}

.canvas-empty-icon[b-eoqplk9509]  .mud-icon-root {
    color: var(--bop-primary, #7C3AED);
}

.canvas-empty-title[b-eoqplk9509] {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--bop-text-primary, #1C1A33);
}

.canvas-empty-hint[b-eoqplk9509] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--bop-text-secondary, #5B5972);
}

/* Field cards on canvas */
.canvas-field[b-eoqplk9509] {
    display: flex;
    align-items: flex-start;
    background: var(--bop-surface, #FFFFFF);
    border: 1px solid var(--bop-divider, #ECEAF6);
    border-radius: var(--bop-radius-md, 16px);
    box-shadow: var(--bop-shadow-1, 0 2px 8px rgba(76, 57, 144, 0.06));
    cursor: pointer;
    position: relative;
    transition: border-color var(--bop-transition-fast, 140ms ease-out),
                box-shadow var(--bop-transition-fast, 140ms ease-out),
                transform var(--bop-transition-fast, 140ms ease-out);
}

.canvas-field:hover[b-eoqplk9509] {
    border-color: var(--bop-divider-strong, #D8D5EC);
    box-shadow: var(--bop-shadow-2, 0 10px 30px rgba(76, 57, 144, 0.10));
    transform: translateY(-1px);
}

.canvas-field-selected[b-eoqplk9509],
.canvas-field-selected:hover[b-eoqplk9509] {
    border-color: var(--bop-primary, #7C3AED);
    box-shadow: var(--bop-shadow-focus, 0 0 0 4px rgba(124, 58, 237, 0.18)),
                var(--bop-shadow-2, 0 10px 30px rgba(76, 57, 144, 0.10));
    transform: none;
}

.canvas-field-error[b-eoqplk9509],
.canvas-field-error:hover[b-eoqplk9509] {
    border-color: var(--bop-error, #EF4444);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14),
                var(--bop-shadow-1, 0 2px 8px rgba(76, 57, 144, 0.06));
}

.canvas-field-error .canvas-field-label[b-eoqplk9509] {
    color: var(--wfb-error-text, #B42318);
}

.canvas-field-dragover[b-eoqplk9509] {
    border-style: dashed;
    border-color: var(--bop-primary, #7C3AED);
    background: var(--bop-primary-whisper, #F5F3FE);
}

.canvas-field-drag-handle[b-eoqplk9509] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 8px 18px 12px;
    cursor: grab;
    opacity: 0.35;
    transition: opacity var(--bop-transition-fast, 140ms ease-out);
    flex-shrink: 0;
}

.canvas-field:hover .canvas-field-drag-handle[b-eoqplk9509],
.canvas-field-selected .canvas-field-drag-handle[b-eoqplk9509] {
    opacity: 0.9;
}

.canvas-field-drag-handle:active[b-eoqplk9509] {
    cursor: grabbing;
}

.canvas-field-drag-handle[b-eoqplk9509]  .mud-icon-root {
    color: var(--bop-text-tertiary, #8A89A3);
}

.canvas-field-preview[b-eoqplk9509] {
    flex: 1;
    padding: 16px 10px 16px 0;
    min-width: 0;
}

.canvas-field-label-row[b-eoqplk9509] {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.canvas-field-label[b-eoqplk9509] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bop-text-primary, #1C1A33);
}

.canvas-required-dot[b-eoqplk9509] {
    color: var(--bop-error, #EF4444);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
}

.canvas-field-actions[b-eoqplk9509] {
    display: flex;
    align-items: center;
    padding: 12px 10px 12px 0;
    opacity: 0;
    transition: opacity var(--bop-transition-fast, 140ms ease-out);
    flex-shrink: 0;
}

.canvas-field:hover .canvas-field-actions[b-eoqplk9509],
.canvas-field-selected .canvas-field-actions[b-eoqplk9509],
.canvas-field-actions:focus-within[b-eoqplk9509] {
    opacity: 1;
}

.canvas-field-actions[b-eoqplk9509]  .mud-icon-button {
    color: var(--bop-text-tertiary, #8A89A3);
}

/* Field preview mocks */
.preview-input[b-eoqplk9509],
.preview-select[b-eoqplk9509] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
    padding: 0 12px;
    background: var(--bop-surface-muted, #F5F3FD);
    border: 1px solid var(--bop-divider, #ECEAF6);
    border-radius: var(--bop-radius-sm, 12px);
}

.preview-textarea[b-eoqplk9509] {
    display: flex;
    align-items: flex-start;
    min-height: 60px;
    padding: 10px 12px;
    background: var(--bop-surface-muted, #F5F3FD);
    border: 1px solid var(--bop-divider, #ECEAF6);
    border-radius: var(--bop-radius-sm, 12px);
}

.preview-checkbox[b-eoqplk9509] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.preview-checkbox-box[b-eoqplk9509] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--bop-divider-strong, #D8D5EC);
    border-radius: 6px;
    background: var(--bop-surface, #FFFFFF);
    flex-shrink: 0;
}

.preview-placeholder[b-eoqplk9509] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--bop-text-secondary, #5B5972);
}

.preview-input[b-eoqplk9509]  .mud-icon-root,
.preview-select[b-eoqplk9509]  .mud-icon-root {
    color: var(--bop-text-tertiary, #8A89A3);
}

/* ── Right Properties Panel ── */

/* Floating header: space separates, no title-bar border */
.properties-header[b-eoqplk9509] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px 0;
    flex-shrink: 0;
}

.properties-header[b-eoqplk9509]  .mud-icon-button {
    color: var(--bop-text-tertiary, #8A89A3);
}

.properties-body[b-eoqplk9509] {
    padding: 12px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── Responsive ── */

@media (max-width: 1280px) {
    .builder-root[b-eoqplk9509] {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .builder-root:has(.builder-properties)[b-eoqplk9509] {
        grid-template-columns: 260px minmax(0, 1fr) 272px;
    }
}

@media (max-width: 900px) {
    .builder-root[b-eoqplk9509],
    .builder-root:has(.builder-properties)[b-eoqplk9509] {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 0;
    }

    .builder-palette[b-eoqplk9509],
    .builder-properties[b-eoqplk9509],
    .builder-canvas[b-eoqplk9509] {
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .palette-fields[b-eoqplk9509] {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }

    .canvas-step-tabs[b-eoqplk9509] {
        padding: 4px 1rem 0;
    }

    .canvas-form-area[b-eoqplk9509] {
        padding: 14px 1rem 2rem;
    }
}

/* ── Reduced motion ── */

@media (prefers-reduced-motion: reduce) {
    .palette-item[b-eoqplk9509],
    .palette-item-label[b-eoqplk9509],
    .color-picker[b-eoqplk9509],
    .canvas-step-tab[b-eoqplk9509],
    .canvas-empty[b-eoqplk9509],
    .canvas-field[b-eoqplk9509],
    .canvas-field-drag-handle[b-eoqplk9509],
    .canvas-field-actions[b-eoqplk9509] {
        transition: none;
    }

    .palette-item:hover[b-eoqplk9509],
    .palette-item:active[b-eoqplk9509],
    .canvas-step-tab:hover[b-eoqplk9509],
    .canvas-field:hover[b-eoqplk9509] {
        transform: none;
    }
}
/* /Components/Pages/Crm/Webforms/WebformDetail.razor.rz.scp.css */
.webform-detail-layout[b-2vt52zhitl] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1100px;
}

/* Summary grid */
.detail-summary-grid[b-2vt52zhitl] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem 2rem;
}

.detail-field[b-2vt52zhitl] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-slug[b-2vt52zhitl] {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    color: #757575;
    font-weight: 500;
}

.detail-color-row[b-2vt52zhitl] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.detail-color-swatch[b-2vt52zhitl] {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 1px solid #d0d0d0;
}

/* Fields table */
.detail-fields-table[b-2vt52zhitl] {
    border: none;
}

[b-2vt52zhitl] .detail-fields-table th {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #757575;
    background: transparent;
    border-bottom: 1px solid #E8E8E8;
}

[b-2vt52zhitl] .detail-fields-table td {
    border-bottom: 1px solid #F5F5F5;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

/* Submissions filter */
.detail-submissions-filter[b-2vt52zhitl] {
    padding: 0;
    background: transparent;
    border: none;
}

.detail-status-select[b-2vt52zhitl] {
    margin: 0 !important;
    min-width: 160px;
    max-width: 200px;
}

/* Submissions grid */
.detail-submissions-grid[b-2vt52zhitl] {
    border: none;
}

/* Step display */
.detail-steps-container[b-2vt52zhitl] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.detail-step-group[b-2vt52zhitl] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-step-header[b-2vt52zhitl] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.step-badge[b-2vt52zhitl] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--mud-palette-dark);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 1px;
}

.detail-step-info[b-2vt52zhitl] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.detail-step-empty[b-2vt52zhitl] {
    padding: 0.75rem 1rem;
    font-style: italic;
}

/* Embed code panel — glass theme */
.embed-code-card[b-2vt52zhitl] {
    position: relative;
}

[b-2vt52zhitl] .embed-code-card-inner {
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.embed-dimensions-row[b-2vt52zhitl] {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.embed-dimension-field[b-2vt52zhitl] {
    max-width: 140px;
}

.embed-code-block[b-2vt52zhitl] {
    position: relative;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 1rem;
    padding-right: 2.75rem;
    margin-bottom: 1rem;
    overflow-x: auto;
}

.embed-code-block pre[b-2vt52zhitl] {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
}

.embed-code-block code[b-2vt52zhitl] {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #333;
}

.embed-copy-btn[b-2vt52zhitl] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.embed-url-row[b-2vt52zhitl] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.embed-url-link[b-2vt52zhitl] {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    word-break: break-all;
}

/* Responsive */
@media (max-width: 768px) {
    .webform-detail-layout[b-2vt52zhitl] {
        max-width: 100%;
    }

    .detail-summary-grid[b-2vt52zhitl] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .detail-status-select[b-2vt52zhitl] {
        max-width: 100%;
        min-width: 100%;
    }

    .embed-dimensions-row[b-2vt52zhitl] {
        flex-wrap: wrap;
    }

    .embed-dimension-field[b-2vt52zhitl] {
        max-width: 100%;
        flex: 1 1 100px;
    }
}

@media (max-width: 1024px) {
    .detail-summary-grid[b-2vt52zhitl] {
        grid-template-columns: 1fr 1fr;
    }
}
/* /Components/Pages/Crm/Webforms/WebformEdit.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Webform Builder — Aurora Violeta
   Floating workspace: palette / canvas / properties panels
   over the lavender app canvas. Shadow separates surfaces.
   ═══════════════════════════════════════════════════════════ */

.builder-root[b-mt7dbod7uq] {
    /* Darker red for small text on error-soft backgrounds (AA) */
    --wfb-error-text: #B42318;
    --wfb-violet-glow: 0 8px 18px rgba(124, 58, 237, 0.28);

    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    height: calc(100vh - 240px);
    min-height: 480px;
}

.builder-root:has(.builder-properties)[b-mt7dbod7uq] {
    grid-template-columns: 300px minmax(0, 1fr) 300px;
}

/* ── Shared panel chrome: palette + properties float as cards ── */

.builder-palette[b-mt7dbod7uq],
.builder-properties[b-mt7dbod7uq] {
    background: var(--bop-surface, #FFFFFF);
    border: 1px solid var(--bop-divider, #ECEAF6);
    border-radius: var(--bop-radius-lg, 24px);
    box-shadow: var(--bop-shadow-2, 0 10px 30px rgba(76, 57, 144, 0.10));
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    height: 100%;
    min-height: 0;
}

/* ── Left Palette ── */

.palette-header[b-mt7dbod7uq] {
    padding: 18px 18px 10px;
}

.palette-title[b-mt7dbod7uq] {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--bop-text-secondary, #5B5972);
}

.palette-fields[b-mt7dbod7uq] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 16px 16px;
}

.palette-item[b-mt7dbod7uq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 13px 8px 11px;
    background: var(--bop-surface-muted, #F5F3FD);
    border: 1px solid transparent;
    border-radius: var(--bop-radius-sm, 12px);
    cursor: grab;
    user-select: none;
    transition: background-color var(--bop-transition-fast, 140ms ease-out),
                border-color var(--bop-transition-fast, 140ms ease-out),
                box-shadow var(--bop-transition-fast, 140ms ease-out),
                transform var(--bop-transition-fast, 140ms ease-out);
}

.palette-item:hover[b-mt7dbod7uq] {
    background: var(--bop-primary-soft, #EDE9FE);
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: var(--bop-shadow-1, 0 2px 8px rgba(76, 57, 144, 0.06));
    transform: translateY(-1px);
}

.palette-item:active[b-mt7dbod7uq] {
    cursor: grabbing;
    transform: scale(0.97);
}

.palette-item:focus-visible[b-mt7dbod7uq] {
    outline: none;
    border-color: var(--bop-primary, #7C3AED);
    box-shadow: var(--bop-shadow-focus, 0 0 0 4px rgba(124, 58, 237, 0.18));
}

.palette-item[b-mt7dbod7uq]  .mud-icon-root {
    color: var(--bop-primary, #7C3AED);
}

.palette-item-label[b-mt7dbod7uq] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bop-text-secondary, #5B5972);
    text-align: center;
    line-height: 1.2;
    transition: color var(--bop-transition-fast, 140ms ease-out);
}

.palette-item:hover .palette-item-label[b-mt7dbod7uq] {
    color: var(--bop-text-primary, #1C1A33);
}

.palette-section-divider[b-mt7dbod7uq] {
    height: 1px;
    background: var(--bop-divider, #ECEAF6);
    margin: 4px 18px 12px;
    flex-shrink: 0;
}

.palette-settings[b-mt7dbod7uq] {
    padding: 0 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Nested section headings inside the settings column */
.palette-settings .palette-section-divider[b-mt7dbod7uq] {
    margin: 4px 0 0;
}

.palette-settings .palette-header[b-mt7dbod7uq] {
    padding: 0;
}

.routing-settings[b-mt7dbod7uq] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.palette-toggle-row[b-mt7dbod7uq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 46px;
    padding: 6px 8px 6px 14px;
    background: var(--bop-surface-muted, #F5F3FD);
    border-radius: var(--bop-radius-sm, 12px);
}

.palette-toggle-label[b-mt7dbod7uq] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bop-text-primary, #1C1A33);
}

/* The global .mud-icon-button override paints the switch thumb dark;
   restore the standard white thumb inside the builder */
.palette-toggle-row[b-mt7dbod7uq]  .mud-switch .mud-icon-button {
    color: #FFFFFF !important;
}

.palette-hint[b-mt7dbod7uq] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bop-text-secondary, #5B5972);
}

.color-setting[b-mt7dbod7uq] {
    display: grid;
    gap: 8px;
}

.color-setting-label[b-mt7dbod7uq] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bop-text-secondary, #5B5972);
}

.color-setting-row[b-mt7dbod7uq] {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
}

.color-picker[b-mt7dbod7uq] {
    width: 46px;
    height: 46px;
    border: 1px solid var(--bop-divider, #ECEAF6);
    border-radius: var(--bop-radius-sm, 12px);
    padding: 4px;
    background: var(--bop-surface, #FFFFFF);
    cursor: pointer;
    transition: border-color var(--bop-transition-fast, 140ms ease-out),
                box-shadow var(--bop-transition-fast, 140ms ease-out);
}

.color-picker:hover[b-mt7dbod7uq] {
    border-color: rgba(124, 58, 237, 0.45);
}

.color-picker:focus-visible[b-mt7dbod7uq] {
    outline: none;
    border-color: var(--bop-primary, #7C3AED);
    box-shadow: var(--bop-shadow-focus, 0 0 0 4px rgba(124, 58, 237, 0.18));
}

.color-picker[b-mt7dbod7uq]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker[b-mt7dbod7uq]::-webkit-color-swatch {
    border: none;
    border-radius: 8px;
}

/* ── Step editors (palette): vertical timeline ── */

.palette-steps[b-mt7dbod7uq] {
    display: flex;
    flex-direction: column;
    margin-top: 2px;
}

.palette-step-editor[b-mt7dbod7uq] {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 10px;
}

.palette-step-rail[b-mt7dbod7uq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 6px;
    /* center the badge against the 38px title input */
    padding-top: 7px;
}

.step-rail-line[b-mt7dbod7uq] {
    width: 2px;
    flex: 1;
    background: var(--bop-divider-strong, #D8D5EC);
    border-radius: 999px;
}

.palette-step-editor:last-of-type .step-rail-line[b-mt7dbod7uq] {
    display: none;
}

.palette-step-main[b-mt7dbod7uq] {
    display: grid;
    gap: 8px;
    padding-bottom: 18px;
    min-width: 0;
}

.palette-step-editor:last-of-type .palette-step-main[b-mt7dbod7uq] {
    padding-bottom: 10px;
}

/* Label-less step inputs: drop the reserved label space */
.palette-step-main[b-mt7dbod7uq]  .mud-input.mud-input-filled {
    min-height: 38px;
    border-radius: var(--bop-radius-sm, 12px);
}

.palette-step-main[b-mt7dbod7uq]  input.mud-input-root {
    padding: 9px 12px !important;
    margin: 0 !important;
}

.palette-step-main[b-mt7dbod7uq]  .mud-input-root {
    font-size: 0.8125rem;
}

.palette-step-editor.step-error .step-badge-sm[b-mt7dbod7uq] {
    background: var(--bop-error, #EF4444);
    color: #FFFFFF;
}

.palette-step-editor.step-error .step-rail-line[b-mt7dbod7uq] {
    background: rgba(239, 68, 68, 0.45);
}

.step-error-text[b-mt7dbod7uq] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--wfb-error-text, #B42318);
}

.palette-step-row[b-mt7dbod7uq] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    align-items: center;
    gap: 4px;
}

.palette-step-row[b-mt7dbod7uq]  .mud-icon-button {
    color: var(--bop-text-tertiary, #8A89A3);
}

/* "Add Step": dashed ghost node at the end of the timeline */
.palette-step-add[b-mt7dbod7uq]  .bop-button {
    width: 100%;
    justify-content: flex-start;
    min-height: 38px;
    border: 1px dashed var(--bop-divider-strong, #D8D5EC) !important;
    border-radius: var(--bop-radius-sm, 12px) !important;
    color: var(--bop-text-secondary, #5B5972) !important;
    background: transparent !important;
}

.palette-step-add[b-mt7dbod7uq]  .bop-button:hover {
    border-color: var(--bop-primary, #7C3AED) !important;
    color: var(--bop-primary, #7C3AED) !important;
    background: var(--bop-primary-whisper, #F5F3FE) !important;
}

.step-badge-sm[b-mt7dbod7uq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: var(--bop-primary-soft, #EDE9FE);
    color: var(--bop-primary-deep, #5B21B6);
    font-size: 0.72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

/* ── Center Canvas: fields float directly on the lavender bg ── */

.builder-canvas[b-mt7dbod7uq] {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    height: 100%;
    min-height: 0;
    min-width: 0;
}

.canvas-step-tabs[b-mt7dbod7uq] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 8px 2rem 0;
}

.canvas-step-tab[b-mt7dbod7uq] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px 7px 8px;
    background: var(--bop-surface, #FFFFFF);
    border: 1px solid var(--bop-divider, #ECEAF6);
    border-radius: var(--bop-radius-pill, 999px);
    box-shadow: var(--bop-shadow-1, 0 2px 8px rgba(76, 57, 144, 0.06));
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bop-text-secondary, #5B5972);
    cursor: pointer;
    transition: color var(--bop-transition-fast, 140ms ease-out),
                border-color var(--bop-transition-fast, 140ms ease-out),
                background-color var(--bop-transition-fast, 140ms ease-out),
                box-shadow var(--bop-transition-fast, 140ms ease-out),
                transform var(--bop-transition-fast, 140ms ease-out);
}

.canvas-step-tab:hover[b-mt7dbod7uq] {
    color: var(--bop-text-primary, #1C1A33);
    border-color: var(--bop-divider-strong, #D8D5EC);
    transform: translateY(-1px);
}

.canvas-step-tab:focus-visible[b-mt7dbod7uq] {
    outline: none;
    box-shadow: var(--bop-shadow-focus, 0 0 0 4px rgba(124, 58, 237, 0.18));
}

.canvas-step-tab.active[b-mt7dbod7uq] {
    background: var(--bop-primary, #7C3AED);
    border-color: var(--bop-primary, #7C3AED);
    color: #FFFFFF;
    box-shadow: var(--wfb-violet-glow);
}

.canvas-step-tab.active .step-badge-sm[b-mt7dbod7uq] {
    background: rgba(255, 255, 255, 0.24);
    color: #FFFFFF;
}

.canvas-step-tab.step-error[b-mt7dbod7uq] {
    background: var(--bop-error-soft, #FEE2E2);
    border-color: rgba(239, 68, 68, 0.45);
    color: var(--wfb-error-text, #B42318);
    box-shadow: none;
}

.canvas-step-tab.step-error .step-badge-sm[b-mt7dbod7uq] {
    background: var(--bop-error, #EF4444);
    color: #FFFFFF;
}

.canvas-form-area[b-mt7dbod7uq] {
    flex: 1;
    padding: 16px 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

/* Empty state */
.canvas-empty[b-mt7dbod7uq] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.55);
    border: 2px dashed var(--bop-divider-strong, #D8D5EC);
    border-radius: var(--bop-radius-lg, 24px);
    transition: border-color var(--bop-transition-fast, 140ms ease-out),
                background-color var(--bop-transition-fast, 140ms ease-out);
    min-height: 320px;
    text-align: center;
}

.canvas-empty-active[b-mt7dbod7uq] {
    border-color: var(--bop-primary, #7C3AED);
    background: var(--bop-primary-whisper, #F5F3FE);
}

.canvas-empty-icon[b-mt7dbod7uq] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--bop-radius-md, 16px);
    background: var(--bop-primary-soft, #EDE9FE);
    margin-bottom: 6px;
}

.canvas-empty-icon[b-mt7dbod7uq]  .mud-icon-root {
    color: var(--bop-primary, #7C3AED);
}

.canvas-empty-title[b-mt7dbod7uq] {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--bop-text-primary, #1C1A33);
}

.canvas-empty-hint[b-mt7dbod7uq] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--bop-text-secondary, #5B5972);
}

/* Field cards on canvas */
.canvas-field[b-mt7dbod7uq] {
    display: flex;
    align-items: flex-start;
    background: var(--bop-surface, #FFFFFF);
    border: 1px solid var(--bop-divider, #ECEAF6);
    border-radius: var(--bop-radius-md, 16px);
    box-shadow: var(--bop-shadow-1, 0 2px 8px rgba(76, 57, 144, 0.06));
    cursor: pointer;
    position: relative;
    transition: border-color var(--bop-transition-fast, 140ms ease-out),
                box-shadow var(--bop-transition-fast, 140ms ease-out),
                transform var(--bop-transition-fast, 140ms ease-out);
}

.canvas-field:hover[b-mt7dbod7uq] {
    border-color: var(--bop-divider-strong, #D8D5EC);
    box-shadow: var(--bop-shadow-2, 0 10px 30px rgba(76, 57, 144, 0.10));
    transform: translateY(-1px);
}

.canvas-field-selected[b-mt7dbod7uq],
.canvas-field-selected:hover[b-mt7dbod7uq] {
    border-color: var(--bop-primary, #7C3AED);
    box-shadow: var(--bop-shadow-focus, 0 0 0 4px rgba(124, 58, 237, 0.18)),
                var(--bop-shadow-2, 0 10px 30px rgba(76, 57, 144, 0.10));
    transform: none;
}

.canvas-field-error[b-mt7dbod7uq],
.canvas-field-error:hover[b-mt7dbod7uq] {
    border-color: var(--bop-error, #EF4444);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14),
                var(--bop-shadow-1, 0 2px 8px rgba(76, 57, 144, 0.06));
}

.canvas-field-error .canvas-field-label[b-mt7dbod7uq] {
    color: var(--wfb-error-text, #B42318);
}

.canvas-field-dragover[b-mt7dbod7uq] {
    border-style: dashed;
    border-color: var(--bop-primary, #7C3AED);
    background: var(--bop-primary-whisper, #F5F3FE);
}

.canvas-field-drag-handle[b-mt7dbod7uq] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 8px 18px 12px;
    cursor: grab;
    opacity: 0.35;
    transition: opacity var(--bop-transition-fast, 140ms ease-out);
    flex-shrink: 0;
}

.canvas-field:hover .canvas-field-drag-handle[b-mt7dbod7uq],
.canvas-field-selected .canvas-field-drag-handle[b-mt7dbod7uq] {
    opacity: 0.9;
}

.canvas-field-drag-handle:active[b-mt7dbod7uq] {
    cursor: grabbing;
}

.canvas-field-drag-handle[b-mt7dbod7uq]  .mud-icon-root {
    color: var(--bop-text-tertiary, #8A89A3);
}

.canvas-field-preview[b-mt7dbod7uq] {
    flex: 1;
    padding: 16px 10px 16px 0;
    min-width: 0;
}

.canvas-field-label-row[b-mt7dbod7uq] {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.canvas-field-label[b-mt7dbod7uq] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bop-text-primary, #1C1A33);
}

.canvas-required-dot[b-mt7dbod7uq] {
    color: var(--bop-error, #EF4444);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
}

.canvas-field-actions[b-mt7dbod7uq] {
    display: flex;
    align-items: center;
    padding: 12px 10px 12px 0;
    opacity: 0;
    transition: opacity var(--bop-transition-fast, 140ms ease-out);
    flex-shrink: 0;
}

.canvas-field:hover .canvas-field-actions[b-mt7dbod7uq],
.canvas-field-selected .canvas-field-actions[b-mt7dbod7uq],
.canvas-field-actions:focus-within[b-mt7dbod7uq] {
    opacity: 1;
}

.canvas-field-actions[b-mt7dbod7uq]  .mud-icon-button {
    color: var(--bop-text-tertiary, #8A89A3);
}

/* Field preview mocks */
.preview-input[b-mt7dbod7uq],
.preview-select[b-mt7dbod7uq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
    padding: 0 12px;
    background: var(--bop-surface-muted, #F5F3FD);
    border: 1px solid var(--bop-divider, #ECEAF6);
    border-radius: var(--bop-radius-sm, 12px);
}

.preview-textarea[b-mt7dbod7uq] {
    display: flex;
    align-items: flex-start;
    min-height: 60px;
    padding: 10px 12px;
    background: var(--bop-surface-muted, #F5F3FD);
    border: 1px solid var(--bop-divider, #ECEAF6);
    border-radius: var(--bop-radius-sm, 12px);
}

.preview-checkbox[b-mt7dbod7uq] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.preview-checkbox-box[b-mt7dbod7uq] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--bop-divider-strong, #D8D5EC);
    border-radius: 6px;
    background: var(--bop-surface, #FFFFFF);
    flex-shrink: 0;
}

.preview-placeholder[b-mt7dbod7uq] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--bop-text-secondary, #5B5972);
}

.preview-input[b-mt7dbod7uq]  .mud-icon-root,
.preview-select[b-mt7dbod7uq]  .mud-icon-root {
    color: var(--bop-text-tertiary, #8A89A3);
}

/* ── Right Properties Panel ── */

/* Floating header: space separates, no title-bar border */
.properties-header[b-mt7dbod7uq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px 0;
    flex-shrink: 0;
}

.properties-header[b-mt7dbod7uq]  .mud-icon-button {
    color: var(--bop-text-tertiary, #8A89A3);
}

.properties-body[b-mt7dbod7uq] {
    padding: 12px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── Responsive ── */

@media (max-width: 1280px) {
    .builder-root[b-mt7dbod7uq] {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .builder-root:has(.builder-properties)[b-mt7dbod7uq] {
        grid-template-columns: 260px minmax(0, 1fr) 272px;
    }
}

@media (max-width: 900px) {
    .builder-root[b-mt7dbod7uq],
    .builder-root:has(.builder-properties)[b-mt7dbod7uq] {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 0;
    }

    .builder-palette[b-mt7dbod7uq],
    .builder-properties[b-mt7dbod7uq],
    .builder-canvas[b-mt7dbod7uq] {
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .palette-fields[b-mt7dbod7uq] {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }

    .canvas-step-tabs[b-mt7dbod7uq] {
        padding: 4px 1rem 0;
    }

    .canvas-form-area[b-mt7dbod7uq] {
        padding: 14px 1rem 2rem;
    }
}

/* ── Reduced motion ── */

@media (prefers-reduced-motion: reduce) {
    .palette-item[b-mt7dbod7uq],
    .palette-item-label[b-mt7dbod7uq],
    .color-picker[b-mt7dbod7uq],
    .canvas-step-tab[b-mt7dbod7uq],
    .canvas-empty[b-mt7dbod7uq],
    .canvas-field[b-mt7dbod7uq],
    .canvas-field-drag-handle[b-mt7dbod7uq],
    .canvas-field-actions[b-mt7dbod7uq] {
        transition: none;
    }

    .palette-item:hover[b-mt7dbod7uq],
    .palette-item:active[b-mt7dbod7uq],
    .canvas-step-tab:hover[b-mt7dbod7uq],
    .canvas-field:hover[b-mt7dbod7uq] {
        transform: none;
    }
}
/* /Components/WorkspaceTabs/WorkspaceTabs.razor.rz.scp.css */
.workspace-tabs[b-4ex0a5vsfk] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    margin: 0 0 12px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(236, 234, 246, 0.72);
    border-radius: 16px;
    box-shadow: var(--bop-shadow-1, 0 2px 8px rgba(76, 57, 144, 0.06));
}

.workspace-tabs__track[b-4ex0a5vsfk] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.workspace-tabs__tab[b-4ex0a5vsfk] {
    display: inline-flex;
    align-items: center;
    height: 30px;
    max-width: 230px;
    padding: 0 4px 0 0;
    color: var(--bop-text-secondary, #5B5972);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    flex: 0 0 auto;
    transition: background var(--bop-transition-fast, 140ms ease), border-color var(--bop-transition-fast, 140ms ease), color var(--bop-transition-fast, 140ms ease);
}

.workspace-tabs__tab:hover[b-4ex0a5vsfk] {
    color: var(--bop-text-primary, #1C1A33);
    background: rgba(245, 243, 253, 0.86);
    border-color: rgba(216, 213, 236, 0.78);
}

.workspace-tabs__tab--active[b-4ex0a5vsfk] {
    color: var(--bop-primary-dark, #6D28D9);
    background: #FFFFFF;
    border-color: rgba(124, 58, 237, 0.24);
    box-shadow: var(--bop-shadow-1, 0 2px 8px rgba(76, 57, 144, 0.06));
}

.workspace-tabs__main[b-4ex0a5vsfk] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 100%;
    min-width: 0;
    padding: 0 4px 0 10px;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.workspace-tabs__icon[b-4ex0a5vsfk] {
    flex: 0 0 auto;
}

.workspace-tabs__title[b-4ex0a5vsfk] {
    min-width: 0;
    overflow: hidden;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workspace-tabs__expiry[b-4ex0a5vsfk] {
    padding: 2px 5px;
    color: var(--bop-text-tertiary, #7A7890);
    background: rgba(245, 243, 253, 0.94);
    border-radius: 7px;
    font-size: 0.6875rem;
    font-weight: 800;
    line-height: 1;
    flex: 0 0 auto;
}

.workspace-tabs__close[b-4ex0a5vsfk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--bop-text-tertiary, #7A7890);
    background: transparent;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    flex: 0 0 auto;
}

.workspace-tabs__close:hover[b-4ex0a5vsfk] {
    color: var(--bop-danger, #DC2626);
    background: rgba(220, 38, 38, 0.08);
}

.workspace-tabs__count[b-4ex0a5vsfk] {
    color: var(--bop-text-tertiary, #7A7890);
    font-size: 0.75rem;
    font-weight: 800;
    flex: 0 0 auto;
}

@media (max-width: 767px) {
    .workspace-tabs[b-4ex0a5vsfk] {
        margin-top: -4px;
        border-radius: 12px;
    }

    .workspace-tabs__tab[b-4ex0a5vsfk] {
        max-width: 190px;
    }
}
/* /Features/CallCenter/Pages/Components/CallFlowBreakdownTab.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Call Flow Breakdown — Aurora Violeta
   Sankey-style outcome map with volume-weighted flow beads.
   ═══════════════════════════════════════════════════════════ */

.cfb[b-29ea3lgmo4] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 4px 2px 10px;
}

/* ── Header + filters ── */

.cfb-header[b-29ea3lgmo4] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cfb-title[b-29ea3lgmo4] {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--bop-text-primary, #1C1A33);
}

.cfb-subtitle[b-29ea3lgmo4] {
    margin: 2px 0 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--bop-text-secondary, #5B5972);
}

.cfb-range[b-29ea3lgmo4] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cfb-range-picker[b-29ea3lgmo4] {
    min-width: 230px;
}

.cfb-scope[b-29ea3lgmo4] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cfb-queue-select[b-29ea3lgmo4] {
    min-width: 280px;
    max-width: min(420px, 100%);
}

.cfb-scope-count[b-29ea3lgmo4] {
    padding: 7px 12px;
    border-radius: var(--bop-radius-pill, 999px);
    background: var(--bop-primary-soft, #EDE9FE);
    color: var(--bop-primary, #7C3AED);
    font-size: 0.75rem;
    font-weight: 700;
}

.cfb-pill[b-29ea3lgmo4] {
    padding: 7px 15px;
    background: var(--bop-surface, #FFFFFF);
    border: 1px solid var(--bop-divider, #ECEAF6);
    border-radius: var(--bop-radius-pill, 999px);
    box-shadow: var(--bop-shadow-1, 0 2px 8px rgba(76, 57, 144, 0.06));
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bop-text-secondary, #5B5972);
    cursor: pointer;
    transition: color var(--bop-transition-fast, 140ms ease-out),
                border-color var(--bop-transition-fast, 140ms ease-out),
                background-color var(--bop-transition-fast, 140ms ease-out),
                box-shadow var(--bop-transition-fast, 140ms ease-out),
                transform var(--bop-transition-fast, 140ms ease-out);
}

.cfb-pill:hover[b-29ea3lgmo4] {
    color: var(--bop-text-primary, #1C1A33);
    border-color: var(--bop-divider-strong, #D8D5EC);
    transform: translateY(-1px);
}

.cfb-pill:focus-visible[b-29ea3lgmo4] {
    outline: none;
    box-shadow: var(--bop-shadow-focus, 0 0 0 4px rgba(124, 58, 237, 0.18));
}

.cfb-pill--active[b-29ea3lgmo4] {
    background: var(--bop-primary, #7C3AED);
    border-color: var(--bop-primary, #7C3AED);
    color: #FFFFFF;
    box-shadow: 0 8px 18px rgba(124, 58, 237, 0.28);
}

/* ── KPI strip ── */

.cfb-kpis[b-29ea3lgmo4] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.cfb-kpi[b-29ea3lgmo4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 18px;
    background: var(--bop-surface, #FFFFFF);
    border: 1px solid var(--bop-divider, #ECEAF6);
    border-radius: var(--bop-radius-md, 16px);
    box-shadow: var(--bop-shadow-1, 0 2px 8px rgba(76, 57, 144, 0.06));
}

.cfb-kpi-value[b-29ea3lgmo4] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.375rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--bop-text-primary, #1C1A33);
}

.cfb-kpi-value em[b-29ea3lgmo4] {
    font-style: normal;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--bop-text-secondary, #5B5972);
}

.cfb-kpi-label[b-29ea3lgmo4] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bop-text-secondary, #5B5972);
}

.cfb-live-dot[b-29ea3lgmo4] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bop-viz-cyan, #38BDF8);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.45);
    animation: cfb-pulse-b-29ea3lgmo4 2.2s ease-out infinite;
}

.cfb-skeletons[b-29ea3lgmo4] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cfb-alert[b-29ea3lgmo4] {
    border-radius: var(--bop-radius-sm, 12px);
}

/* ── Flow map ── */

.cfb-map-scroll[b-29ea3lgmo4] {
    background: var(--bop-surface, #FFFFFF);
    border: 1px solid var(--bop-divider, #ECEAF6);
    border-radius: var(--bop-radius-lg, 24px);
    box-shadow: var(--bop-shadow-2, 0 10px 30px rgba(76, 57, 144, 0.10));
    padding: 10px 12px;
    overflow: hidden;
}

.cfb-map[b-29ea3lgmo4] {
    display: block;
    width: 100%;
    height: clamp(390px, 52vh, 560px);
    font-family: var(--bop-font-family, 'Plus Jakarta Sans', sans-serif);
}

/* Ribbons */
.cfb-link-base[b-29ea3lgmo4] {
    fill: none;
    stroke: var(--bop-primary-soft, #EDE9FE);
    stroke-linecap: round;
}

.cfb-link-flow[b-29ea3lgmo4] {
    fill: none;
    stroke-linecap: round;
    animation: cfb-flow-b-29ea3lgmo4 var(--cfb-dur, 3s) linear infinite;
}

@keyframes cfb-flow-b-29ea3lgmo4 {
    to { stroke-dashoffset: var(--cfb-shift, -140px); }
}

/* Nodes */
.cfb-node rect[b-29ea3lgmo4] {
    fill: var(--bop-surface, #FFFFFF);
    stroke: var(--bop-divider, #ECEAF6);
    stroke-width: 1;
    filter: drop-shadow(0 2px 6px rgba(76, 57, 144, 0.08));
    transition: filter var(--bop-transition-fast, 140ms ease-out),
                stroke var(--bop-transition-fast, 140ms ease-out);
}

.cfb-node--clickable[b-29ea3lgmo4] {
    cursor: pointer;
}

.cfb-node:hover rect[b-29ea3lgmo4] {
    stroke: rgba(124, 58, 237, 0.45);
    filter: drop-shadow(0 8px 18px rgba(76, 57, 144, 0.18));
}

.cfb-node--hero rect[b-29ea3lgmo4] {
    fill: url(#cfbHero);
    stroke: none;
    filter: drop-shadow(0 10px 22px rgba(124, 58, 237, 0.32));
}

.cfb-node--empty rect[b-29ea3lgmo4] {
    filter: none;
}

.cfb-node--empty .cfb-node-count[b-29ea3lgmo4],
.cfb-node--empty .cfb-node-label[b-29ea3lgmo4] {
    fill: var(--bop-text-tertiary, #8A89A3);
}

.cfb-node-count[b-29ea3lgmo4] {
    font-size: 16px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    fill: var(--bop-text-primary, #1C1A33);
}

.cfb-node-pct[b-29ea3lgmo4] {
    font-size: 9px;
    font-weight: 700;
    fill: var(--bop-text-secondary, #5B5972);
}

.cfb-node-label[b-29ea3lgmo4] {
    font-size: 10px;
    font-weight: 600;
    fill: var(--bop-text-secondary, #5B5972);
}

.cfb-node--hero .cfb-node-count[b-29ea3lgmo4] {
    font-size: 20px;
    fill: #FFFFFF;
}

.cfb-node--hero .cfb-node-pct[b-29ea3lgmo4],
.cfb-node--hero .cfb-node-label[b-29ea3lgmo4] {
    fill: rgba(255, 255, 255, 0.85);
}

/* ── Detail modal ── */

.cfb-detail[b-29ea3lgmo4] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 4px 0;
}

.cfb-detail__header[b-29ea3lgmo4] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.cfb-detail__eyebrow[b-29ea3lgmo4] {
    display: inline-flex;
    margin-bottom: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--bop-primary, #7C3AED);
}

.cfb-detail__header h3[b-29ea3lgmo4] {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 850;
    color: var(--bop-text-primary, #1C1A33);
}

.cfb-detail__close[b-29ea3lgmo4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--bop-divider, #ECEAF6);
    border-radius: 50%;
    background: var(--bop-surface, #FFFFFF);
    color: var(--bop-text-secondary, #5B5972);
    cursor: pointer;
    box-shadow: var(--bop-shadow-1, 0 2px 8px rgba(76, 57, 144, 0.06));
}

.cfb-detail__close:hover[b-29ea3lgmo4] {
    color: var(--bop-primary, #7C3AED);
    border-color: rgba(124, 58, 237, 0.35);
}

@media (max-width: 900px) {
    .cfb-map[b-29ea3lgmo4] {
        height: clamp(360px, 58vh, 500px);
    }

    .cfb-queue-select[b-29ea3lgmo4] {
        min-width: 100%;
    }
}

.cfb-node-dot--pulse[b-29ea3lgmo4] {
    animation: cfb-dot-pulse-b-29ea3lgmo4 2.2s ease-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}

@keyframes cfb-pulse-b-29ea3lgmo4 {
    0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.45); }
    70% { box-shadow: 0 0 0 9px rgba(56, 189, 248, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

@keyframes cfb-dot-pulse-b-29ea3lgmo4 {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(1.45); }
}

/* ── Reduced motion ── */

@media (prefers-reduced-motion: reduce) {
    .cfb-link-flow[b-29ea3lgmo4] {
        animation: none;
        opacity: 0.22 !important;
    }

    .cfb-live-dot[b-29ea3lgmo4],
    .cfb-node-dot--pulse[b-29ea3lgmo4] {
        animation: none;
    }

    .cfb-pill[b-29ea3lgmo4] {
        transition: none;
    }

    .cfb-pill:hover[b-29ea3lgmo4] {
        transform: none;
    }
}
