@import 'P4Software.CifraHq.Web.Client.lbj7wzef6j.bundle.scp.css';

/* /P4Software.CifraHq.Web/Components/Layout/AdminLayout.razor.rz.scp.css */
/* Content loading state (inline, not fullscreen) */
.p4-content-loading[b-vnvaa47gtv] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
}

/* Sidebar - positioned below top bar */
[b-vnvaa47gtv] .e-sidebar {
    margin-top: 48px !important;
    transition: width 0.3s ease;
}

/* Main content area - positioned below top bar */
.main[b-vnvaa47gtv] {
    margin-top: 48px;
    margin-left: 0;
}
/* /P4Software.CifraHq.Web/Components/Layout/DesignSystemLayout.razor.rz.scp.css */
/* =====================================================
   DESIGN SYSTEM LAYOUT v2.0 — Soft & Approachable
   Fluent 2 aligned, Plus Jakarta Sans, logo palette
   Scoped via .ds-layout
   ===================================================== */

/* Plus Jakarta Sans — already loaded via AppRoot.razor, no duplicate import needed */

/* ===========================================
   DESIGN TOKENS
   =========================================== */

.ds-layout[b-a0ll05r656] {
    /* Primary (Blue from logo waves) */
    --ds-primary: #1976D2;
    --ds-on-primary: #FFFFFF;
    --ds-primary-container: #DBEAFE;
    --ds-on-primary-container: #1E3A5F;
    --ds-primary-hover: #1565C0;
    --ds-primary-pressed: #0D47A1;
    --ds-primary-8: rgba(25, 118, 210, 0.08);
    --ds-primary-12: rgba(25, 118, 210, 0.12);

    /* Secondary / CTA (Orange from logo waves) */
    --ds-secondary: #F97316;
    --ds-on-secondary: #FFFFFF;
    --ds-secondary-container: #FFF1E6;
    --ds-on-secondary-container: #7C2D12;
    --ds-secondary-hover: #EA580C;
    --ds-secondary-pressed: #C2410C;

    /* Tertiary (Cyan transition) */
    --ds-tertiary: #0EA5E9;
    --ds-on-tertiary: #FFFFFF;
    --ds-tertiary-container: #E0F7FF;
    --ds-on-tertiary-container: #0C4A6E;

    /* Semantic */
    --ds-error: #DC2626;
    --ds-error-container: #FEF2F2;
    --ds-on-error-container: #991B1B;
    --ds-success: #16A34A;
    --ds-success-container: #ECFDF5;
    --ds-on-success-container: #14532D;
    --ds-warning: #F59E0B;
    --ds-warning-container: #FFFBEB;
    --ds-on-warning-container: #78350F;
    --ds-info: #1976D2;
    --ds-info-container: #DBEAFE;
    --ds-on-info-container: #1E3A5F;

    /* Surfaces */
    --ds-surface: #FFFFFF;
    --ds-on-surface: #1E293B;
    --ds-on-surface-muted: #64748B;
    --ds-surface-variant: #F1F5F9;
    --ds-surface-container: #F8FAFC;
    --ds-surface-container-high: #E2E8F0;
    --ds-outline: #94A3B8;
    --ds-outline-variant: #E2E8F0;

    /* Elevation (Fluent 2 — more subtle than M3) */
    --ds-elevation-0: none;
    --ds-elevation-1: 0 1px 2px rgba(0,0,0,0.12);
    --ds-elevation-2: 0 2px 4px rgba(0,0,0,0.14);
    --ds-elevation-3: 0 2px 8px rgba(0,0,0,0.14);

    /* Shape (Fluent 2 scale — sharper corners) */
    --ds-shape-xs: 2px;
    --ds-shape-sm: 4px;
    --ds-shape-md: 6px;
    --ds-shape-lg: 8px;
    --ds-shape-xl: 12px;
    --ds-shape-full: 9999px;

    /* Typography */
    --ds-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ds-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;

    /* Sidebar */
    --ds-sidebar-width: 260px;
    --ds-sidebar-bg: #F8FAFC;
    --ds-appbar-height: 56px;
}

/* ===========================================
   DARK MODE TOKENS
   =========================================== */

.ds-layout.ds-dark[b-a0ll05r656] {
    --ds-primary: #60A5FA;
    --ds-on-primary: #1E3A5F;
    --ds-primary-container: #1E3A5F;
    --ds-on-primary-container: #DBEAFE;
    --ds-primary-hover: #93C5FD;
    --ds-primary-pressed: #3B82F6;
    --ds-primary-8: rgba(96, 165, 250, 0.08);
    --ds-primary-12: rgba(96, 165, 250, 0.12);

    --ds-secondary: #FB923C;
    --ds-on-secondary: #7C2D12;
    --ds-secondary-container: #7C2D12;
    --ds-on-secondary-container: #FFF1E6;
    --ds-secondary-hover: #FDBA74;
    --ds-secondary-pressed: #F97316;

    --ds-tertiary: #38BDF8;
    --ds-on-tertiary: #0C4A6E;
    --ds-tertiary-container: #0C4A6E;
    --ds-on-tertiary-container: #E0F7FF;

    --ds-error: #F87171;
    --ds-error-container: #450A0A;
    --ds-on-error-container: #FEF2F2;
    --ds-success: #4ADE80;
    --ds-success-container: #052E16;
    --ds-on-success-container: #ECFDF5;
    --ds-warning: #FBBF24;
    --ds-warning-container: #451A03;
    --ds-on-warning-container: #FFFBEB;
    --ds-info: #60A5FA;
    --ds-info-container: #1E3A5F;
    --ds-on-info-container: #DBEAFE;

    --ds-surface: #0F172A;
    --ds-on-surface: #E2E8F0;
    --ds-on-surface-muted: #94A3B8;
    --ds-surface-variant: #1E293B;
    --ds-surface-container: #1E293B;
    --ds-surface-container-high: #334155;
    --ds-outline: #475569;
    --ds-outline-variant: #334155;

    --ds-elevation-1: 0 1px 2px rgba(0,0,0,0.4);
    --ds-elevation-2: 0 2px 4px rgba(0,0,0,0.5);
    --ds-elevation-3: 0 2px 8px rgba(0,0,0,0.5);

    --ds-sidebar-bg: #1E293B;
}

/* ===========================================
   ROOT LAYOUT
   =========================================== */

.ds-layout[b-a0ll05r656] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background: var(--ds-surface-variant);
    font-family: var(--ds-font);
    color: var(--ds-on-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===========================================
   APPBAR
   =========================================== */

.ds-layout .ds-appbar[b-a0ll05r656] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--ds-appbar-height);
    padding: 0 12px;
    background: var(--ds-surface);
    color: var(--ds-on-surface);
    border-bottom: 1px solid var(--ds-outline-variant);
    flex-shrink: 0;
    z-index: 1001;
}

.ds-layout .ds-appbar-left[b-a0ll05r656],
.ds-layout .ds-appbar-right[b-a0ll05r656] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ds-layout .ds-appbar-icon-btn[b-a0ll05r656] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: inherit;
    border-radius: var(--ds-shape-full);
    cursor: pointer;
    transition: background 0.15s;
}

.ds-layout .ds-appbar-icon-btn:hover[b-a0ll05r656] {
    background: var(--ds-primary-8);
}

.ds-layout .ds-appbar-icon-btn .e-icons[b-a0ll05r656] {
    font-size: 22px;
}

.ds-layout .ds-appbar-logo[b-a0ll05r656] {
    display: flex;
    align-items: center;
    margin-left: 4px;
}

.ds-layout .ds-logo-img[b-a0ll05r656] {
    height: 32px;
    cursor: pointer;
}

.ds-layout .ds-env-badge[b-a0ll05r656] {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    margin-left: 12px;
    background: var(--ds-secondary);
    color: var(--ds-on-secondary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: var(--ds-shape-full);
    text-transform: uppercase;
}

.ds-layout .ds-appbar-divider[b-a0ll05r656] {
    width: 1px;
    height: 28px;
    background: var(--ds-outline-variant);
    margin: 0 4px;
}

.ds-layout .ds-appbar-profile[b-a0ll05r656] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    border: none;
    background: transparent;
    color: inherit;
    border-radius: var(--ds-shape-full);
    cursor: pointer;
    transition: background 0.15s;
}

.ds-layout .ds-appbar-profile:hover[b-a0ll05r656] {
    background: var(--ds-primary-8);
}

.ds-layout .ds-avatar[b-a0ll05r656] {
    width: 32px;
    height: 32px;
    border-radius: var(--ds-shape-full);
    background: var(--ds-primary-container);
    color: var(--ds-on-primary-container);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ds-layout .ds-profile-name[b-a0ll05r656] {
    font-size: 13px;
    font-weight: 500;
}

/* ===========================================
   MAIN CONTAINER
   =========================================== */

.ds-layout .ds-main-container[b-a0ll05r656] {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* ===========================================
   SIDEBAR
   =========================================== */

.ds-layout .ds-sidebar[b-a0ll05r656] {
    width: var(--ds-sidebar-width);
    min-width: 0;
    background: var(--ds-sidebar-bg);
    border-right: 1px solid var(--ds-outline-variant);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: hidden;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ds-layout .ds-sidebar-collapsed[b-a0ll05r656] {
    width: 0;
    border-right: none;
}

/* ===========================================
   SIDEBAR SEARCH
   =========================================== */

.ds-layout .ds-sidebar-search[b-a0ll05r656] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 12px 4px 12px;
    padding: 8px 12px;
    background: var(--ds-surface);
    border: 1px solid var(--ds-outline-variant);
    border-radius: var(--ds-shape-sm);
    transition: border-color 0.15s;
}

.ds-layout .ds-sidebar-search:focus-within[b-a0ll05r656] {
    border-color: var(--ds-primary);
}

.ds-layout .ds-search-icon[b-a0ll05r656] {
    font-size: 18px;
    color: var(--ds-on-surface-muted);
    flex-shrink: 0;
}

.ds-layout .ds-search-input[b-a0ll05r656] {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--ds-font);
    font-size: 13px;
    color: var(--ds-on-surface);
    min-width: 0;
}

.ds-layout .ds-search-input[b-a0ll05r656]::placeholder {
    color: var(--ds-on-surface-muted);
}

.ds-layout .ds-search-clear[b-a0ll05r656] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: none;
    background: var(--ds-surface-container-high);
    border-radius: var(--ds-shape-full);
    cursor: pointer;
    padding: 0;
    color: var(--ds-on-surface-muted);
}

.ds-layout .ds-search-clear .e-icons[b-a0ll05r656] {
    font-size: 14px;
}

/* ===========================================
   NAVIGATION MENU
   =========================================== */

.ds-layout .ds-nav-menu[b-a0ll05r656] {
    flex: 1;
    overflow-y: auto;
    padding: 8px 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--ds-outline-variant) transparent;
}

.ds-layout .ds-nav-section-header[b-a0ll05r656] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--ds-on-surface-muted);
    padding: 20px 12px 6px 12px;
}

.ds-layout .ds-nav-section-header:first-child[b-a0ll05r656] {
    padding-top: 8px;
}

.ds-layout .ds-nav-item[b-a0ll05r656] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: var(--ds-shape-sm);
    cursor: pointer;
    text-decoration: none;
    color: var(--ds-on-surface);
    font-size: 13.5px;
    font-weight: 450;
    transition: background 0.15s, color 0.15s;
    margin-bottom: 1px;
}

.ds-layout .ds-nav-item:hover[b-a0ll05r656] {
    background: var(--ds-primary-8);
}

.ds-layout .ds-nav-item.active[b-a0ll05r656] {
    background: var(--ds-primary);
    color: var(--ds-on-primary);
    font-weight: 600;
}

.ds-layout .ds-nav-item.active .ds-nav-icon[b-a0ll05r656] {
    color: var(--ds-on-primary);
}

.ds-layout .ds-nav-icon[b-a0ll05r656] {
    font-size: 20px;
    color: var(--ds-on-surface-muted);
    flex-shrink: 0;
}

.ds-layout .ds-nav-label[b-a0ll05r656] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===========================================
   SIDEBAR FOOTER
   =========================================== */

.ds-layout .ds-sidebar-footer[b-a0ll05r656] {
    padding: 12px 16px;
    text-align: center;
    border-top: 1px solid var(--ds-outline-variant);
    flex-shrink: 0;
}

.ds-layout .ds-sidebar-footer-version[b-a0ll05r656] {
    font-size: 11px;
    color: var(--ds-on-surface-muted);
}

/* ===========================================
   CONTENT AREA
   =========================================== */

.ds-layout .ds-content-area[b-a0ll05r656] {
    flex: 1;
    overflow-y: auto;
    background: var(--ds-surface-variant);
}

.ds-layout .ds-content-wrapper[b-a0ll05r656] {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px;
}

/* ===========================================
   DESIGN SYSTEM SCOPED COMPONENT OVERRIDES
   Cards, Badges, Buttons, KPIs, Loading, etc.
   =========================================== */

/* --- Cards (no border, elevation-1, 16px radius) --- */
.ds-layout .p4-card[b-a0ll05r656],
.ds-layout .e-card[b-a0ll05r656] {
    background: var(--ds-surface);
    border-radius: var(--ds-shape-lg);
    box-shadow: var(--ds-elevation-1);
    border: none;
    padding: 20px;
}

.ds-layout .e-card .e-card-header[b-a0ll05r656] {
    padding: 0 0 12px 0;
}

.ds-layout .e-card .e-card-content[b-a0ll05r656] {
    padding: 0;
}

/* --- Page Title --- */
.ds-layout .p4-page-title[b-a0ll05r656] {
    font-family: var(--ds-font);
    font-size: 22px;
    font-weight: 700;
    color: var(--ds-on-surface);
    margin: 0 0 20px 0;
    letter-spacing: -0.2px;
}

/* --- Page Header (detail pages) --- */
.ds-layout .p4-page-header[b-a0ll05r656] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--ds-surface);
    border-radius: var(--ds-shape-lg);
    box-shadow: var(--ds-elevation-1);
    margin-bottom: 20px;
}

/* --- Contextual Action Bar (appears when grid rows are selected) --- */
.ds-layout .p4-page-header.ds-contextual-bar[b-a0ll05r656] {
    background: var(--ds-primary-container);
    transition: background 0.2s ease;
}

.ds-layout .ds-selection-count[b-a0ll05r656] {
    font-size: 14px;
    font-weight: 600;
    color: var(--ds-on-primary-container);
}

/* --- KPI Row --- */
.ds-layout .p4-kpi-row[b-a0ll05r656] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.ds-layout .p4-kpi-card[b-a0ll05r656] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--ds-surface);
    border-radius: var(--ds-shape-lg);
    box-shadow: var(--ds-elevation-1);
    border: none;
}

.ds-layout .p4-kpi-icon[b-a0ll05r656] {
    width: 48px;
    height: 48px;
    border-radius: var(--ds-shape-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ds-layout .p4-kpi-icon .e-icons[b-a0ll05r656] {
    font-size: 24px;
}

.ds-layout .p4-kpi-primary[b-a0ll05r656] {
    background: var(--ds-primary-container);
    color: var(--ds-primary);
}

.ds-layout .p4-kpi-info[b-a0ll05r656] {
    background: var(--ds-info-container);
    color: var(--ds-info);
}

.ds-layout .p4-kpi-warning[b-a0ll05r656] {
    background: var(--ds-warning-container);
    color: var(--ds-warning);
}

.ds-layout .p4-kpi-success[b-a0ll05r656] {
    background: var(--ds-success-container);
    color: var(--ds-success);
}

.ds-layout .p4-kpi-value[b-a0ll05r656] {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--ds-on-surface);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.ds-layout .p4-kpi-label[b-a0ll05r656] {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ds-on-surface-muted);
    margin-top: 2px;
}

/* --- Badges (fully rounded, tonal) --- */
.ds-layout .p4-badge[b-a0ll05r656] {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    border-radius: var(--ds-shape-full);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    
}

.ds-layout .p4-badge-info[b-a0ll05r656] {
    background: var(--ds-info-container);
    color: var(--ds-on-info-container);
}

.ds-layout .p4-badge-success[b-a0ll05r656] {
    background: var(--ds-success-container);
    color: var(--ds-on-success-container);
}

.ds-layout .p4-badge-warning[b-a0ll05r656] {
    background: var(--ds-warning-container);
    color: var(--ds-on-warning-container);
}

.ds-layout .p4-badge-secondary[b-a0ll05r656] {
    background: var(--ds-surface-container-high);
    color: var(--ds-on-surface-muted);
}

/* --- 3-Tier Button System --- */

/* Tier 1: Orange CTA (highest emphasis) */
.ds-layout .e-btn.e-cta[b-a0ll05r656],
.ds-layout .ds-btn-cta[b-a0ll05r656] {
    background: var(--ds-secondary) !important;
    color: var(--ds-on-secondary) !important;
    border: none !important;
    border-radius: var(--ds-shape-md) !important;
    font-family: var(--ds-font) !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: var(--ds-elevation-1) !important;
}

.ds-layout .e-btn.e-cta:hover[b-a0ll05r656],
.ds-layout .ds-btn-cta:hover[b-a0ll05r656] {
    background: var(--ds-secondary-hover) !important;
    box-shadow: var(--ds-elevation-2) !important;
}

/* Tier 2: Blue Primary (standard actions) */
.ds-layout .e-btn.e-primary[b-a0ll05r656],
.ds-layout .e-btn.e-primary:not(:disabled)[b-a0ll05r656] {
    background: var(--ds-primary) !important;
    border-color: var(--ds-primary) !important;
    color: var(--ds-on-primary) !important;
    border-radius: var(--ds-shape-md) !important;
    font-family: var(--ds-font) !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.ds-layout .e-btn.e-primary:hover[b-a0ll05r656] {
    background: var(--ds-primary-hover) !important;
    border-color: var(--ds-primary-hover) !important;
}

/* Tier 3: Blue Outlined (secondary actions) */
.ds-layout .e-btn.e-outline[b-a0ll05r656] {
    background: transparent !important;
    border: 1.5px solid var(--ds-primary) !important;
    color: var(--ds-primary) !important;
    border-radius: var(--ds-shape-md) !important;
    font-family: var(--ds-font) !important;
    font-weight: 600 !important;
    text-transform: none !important;
}

.ds-layout .e-btn.e-outline:hover[b-a0ll05r656] {
    background: var(--ds-primary-8) !important;
}

/* Flat buttons */
.ds-layout .e-btn.e-flat[b-a0ll05r656] {
    font-family: var(--ds-font) !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    border-radius: var(--ds-shape-md) !important;
    color: var(--ds-primary) !important;
}

/* All buttons: override Syncfusion font */
.ds-layout .e-btn[b-a0ll05r656] {
    font-family: var(--ds-font);
}

/* --- Links --- */
.ds-layout .p4-link[b-a0ll05r656],
.ds-layout a:not(.e-btn):not(.ds-nav-item)[b-a0ll05r656] {
    color: var(--ds-primary);
    text-decoration: none;
    font-weight: 500;
}

.ds-layout .p4-link:hover[b-a0ll05r656],
.ds-layout a:not(.e-btn):not(.ds-nav-item):hover[b-a0ll05r656] {
    color: var(--ds-primary-hover);
    text-decoration: underline;
}

/* --- Summary Row (detail pages) --- */
.ds-layout .p4-summary-row[b-a0ll05r656] {
    display: flex;
    gap: 24px;
    padding: 16px 20px;
    background: var(--ds-surface);
    border-radius: var(--ds-shape-lg);
    box-shadow: var(--ds-elevation-1);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ds-layout .p4-summary-label[b-a0ll05r656] {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--ds-on-surface-muted);
    margin-bottom: 4px;
}

.ds-layout .p4-summary-value[b-a0ll05r656] {
    font-size: 14px;
    font-weight: 600;
    color: var(--ds-on-surface);
}

/* --- Progress bar --- */
.ds-layout .p4-progress-container[b-a0ll05r656] {
    position: relative;
}

.ds-layout .p4-progress-container[b-a0ll05r656]::before {
    content: '';
    display: block;
    height: 6px;
    background: var(--ds-surface-container-high);
    border-radius: var(--ds-shape-full);
}

.ds-layout .p4-progress-bar[b-a0ll05r656] {
    height: 6px;
    background: var(--ds-primary);
    border-radius: var(--ds-shape-full);
    transition: width 0.3s;
    position: absolute;
    top: 0;
    left: 0;
}

.ds-layout .p4-progress-text[b-a0ll05r656] {
    font-size: 12px;
    font-weight: 600;
    color: var(--ds-on-surface-muted);
    margin-top: 4px;
    display: block;
}

/* --- Tabs --- */
.ds-layout .p4-tabs.e-tab[b-a0ll05r656] {
    font-family: var(--ds-font);
}

.ds-layout .p4-tabs .e-tab-header .e-toolbar-item .e-tab-text[b-a0ll05r656] {
    font-family: var(--ds-font) !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 14px !important;
}

/* --- Filter bar --- */
.ds-layout .p4-filter-bar[b-a0ll05r656] {
    padding: 12px 16px;
    background: var(--ds-surface);
    border-radius: var(--ds-shape-lg);
    margin-bottom: 16px;
    box-shadow: var(--ds-elevation-1);
}

/* --- Grids --- */
.ds-layout .e-grid[b-a0ll05r656] {
    font-family: var(--ds-font) !important;
    border: none !important;
    border-radius: var(--ds-shape-lg) !important;
    overflow: hidden;
}

.ds-layout .e-grid .e-headercell[b-a0ll05r656] {
    font-family: var(--ds-font) !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
}

.ds-layout .e-grid .e-rowcell[b-a0ll05r656] {
    font-family: var(--ds-font) !important;
    font-size: 13.5px !important;
}

.ds-layout .e-grid .e-toolbar[b-a0ll05r656] {
    font-family: var(--ds-font) !important;
    border-radius: var(--ds-shape-lg) var(--ds-shape-lg) 0 0 !important;
}

/* --- Forms --- */
.ds-layout .p4-form-label[b-a0ll05r656] {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ds-on-surface-muted);
    margin-bottom: 4px;
}

.ds-layout .e-input-group[b-a0ll05r656],
.ds-layout .e-float-input[b-a0ll05r656] {
    font-family: var(--ds-font) !important;
}

/* --- Totals grid --- */
.ds-layout .p4-totals-row[b-a0ll05r656] {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}

.ds-layout .p4-totals-total[b-a0ll05r656] {
    font-weight: 700;
    font-size: 16px;
    color: var(--ds-on-surface);
}

.ds-layout .p4-font-mono[b-a0ll05r656] {
    font-family: var(--ds-mono);
    font-size: 13px;
}

.ds-layout .p4-font-medium[b-a0ll05r656] {
    font-weight: 600;
}

.ds-layout .p4-font-semibold[b-a0ll05r656] {
    font-weight: 600;
}

/* --- Dividers --- */
.ds-layout .p4-divider[b-a0ll05r656],
.ds-layout .p4-my-2[b-a0ll05r656] {
    border: none;
    border-top: 1px solid var(--ds-outline-variant);
    margin: 8px 0;
}

.ds-layout .p4-divider-vertical[b-a0ll05r656] {
    width: 1px;
    height: 24px;
    background: var(--ds-outline-variant);
    margin: 0 8px;
}

/* --- Text utilities --- */
.ds-layout .p4-text-muted[b-a0ll05r656] {
    color: var(--ds-on-surface-muted);
}

.ds-layout .p4-text-success[b-a0ll05r656] {
    color: var(--ds-success);
}

.ds-layout .p4-text-ellipsis[b-a0ll05r656] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ds-layout .p4-text-body[b-a0ll05r656] {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ds-on-surface);
}

/* --- Layout utilities --- */
.ds-layout .p4-flex[b-a0ll05r656] { display: flex; }
.ds-layout .p4-items-center[b-a0ll05r656] { align-items: center; }
.ds-layout .p4-justify-center[b-a0ll05r656] { justify-content: center; }
.ds-layout .p4-gap-2[b-a0ll05r656] { gap: 8px; }
.ds-layout .p4-gap-3[b-a0ll05r656] { gap: 12px; }
.ds-layout .p4-gap-4[b-a0ll05r656] { gap: 16px; }
.ds-layout .p4-gap-6[b-a0ll05r656] { gap: 24px; }
.ds-layout .p4-mb-0[b-a0ll05r656] { margin-bottom: 0; }
.ds-layout .p4-mb-2[b-a0ll05r656] { margin-bottom: 8px; }
.ds-layout .p4-mb-3[b-a0ll05r656] { margin-bottom: 12px; }
.ds-layout .p4-mb-4[b-a0ll05r656] { margin-bottom: 16px; }
.ds-layout .p4-mt-4[b-a0ll05r656] { margin-top: 16px; }
.ds-layout .p4-mt-6[b-a0ll05r656] { margin-top: 24px; }
.ds-layout .p4-ml-2[b-a0ll05r656] { margin-left: 8px; }
.ds-layout .p4-p-6[b-a0ll05r656] { padding: 24px; }
.ds-layout .p4-grid[b-a0ll05r656] { display: grid; }
.ds-layout .p4-grid-cols-2[b-a0ll05r656] { grid-template-columns: repeat(2, 1fr); }
.ds-layout .p4-grid-cols-3[b-a0ll05r656] { grid-template-columns: repeat(3, 1fr); }

/* --- Empty State --- */
.ds-layout .p4-empty-state[b-a0ll05r656] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
}

.ds-layout .p4-empty-state-icon[b-a0ll05r656] {
    font-size: 48px;
    color: var(--ds-on-surface-muted);
    opacity: 0.4;
    margin-bottom: 16px;
}

.ds-layout .p4-empty-state-title[b-a0ll05r656] {
    font-size: 16px;
    font-weight: 600;
    color: var(--ds-on-surface);
    margin-bottom: 6px;
}

.ds-layout .p4-empty-state-text[b-a0ll05r656] {
    font-size: 14px;
    color: var(--ds-on-surface-muted);
    margin-bottom: 20px;
    max-width: 320px;
}

/* Empty state CTA uses orange */
.ds-layout .p4-empty-state .e-btn.e-primary[b-a0ll05r656],
.ds-layout .p4-empty-state .e-btn.e-outline[b-a0ll05r656] {
    background: var(--ds-secondary) !important;
    border-color: var(--ds-secondary) !important;
    color: var(--ds-on-secondary) !important;
}

.ds-layout .p4-empty-state .e-btn.e-primary:hover[b-a0ll05r656],
.ds-layout .p4-empty-state .e-btn.e-outline:hover[b-a0ll05r656] {
    background: var(--ds-secondary-hover) !important;
}

/* --- Skeleton Loading (KPI shimmer) --- */
.ds-layout .ds-skeleton[b-a0ll05r656] {
    background: linear-gradient(
        90deg,
        var(--ds-surface-container-high) 25%,
        var(--ds-surface-variant) 50%,
        var(--ds-surface-container-high) 75%
    );
    background-size: 200% 100%;
    animation: ds-shimmer-b-a0ll05r656 1.5s ease-in-out infinite;
    border-radius: var(--ds-shape-sm);
}

.ds-layout .ds-skeleton-text[b-a0ll05r656] {
    height: 14px;
    width: 80%;
    margin-bottom: 8px;
}

.ds-layout .ds-skeleton-value[b-a0ll05r656] {
    height: 28px;
    width: 50%;
}

.ds-layout .ds-skeleton-icon[b-a0ll05r656] {
    width: 48px;
    height: 48px;
    border-radius: var(--ds-shape-md);
}

@keyframes ds-shimmer-b-a0ll05r656 {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.ds-layout .p4-spinner[b-a0ll05r656] {
    width: 36px;
    height: 36px;
    border: 3px solid var(--ds-outline-variant);
    border-top-color: var(--ds-primary);
    border-radius: 50%;
    animation: ds-spin-b-a0ll05r656 0.75s linear infinite;
}

.ds-layout .p4-spinner-sm[b-a0ll05r656] { width: 20px; height: 20px; border-width: 2px; }
.ds-layout .p4-spinner-lg[b-a0ll05r656] { width: 48px; height: 48px; border-width: 4px; }

@keyframes ds-spin-b-a0ll05r656 {
    to { transform: rotate(360deg); }
}

/* --- Property List (list tile for read-only data) --- */
.ds-layout .ds-property-list[b-a0ll05r656] {
    margin: 0;
    padding: 0;
}

.ds-layout .ds-property-item[b-a0ll05r656] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid var(--ds-outline-variant);
    gap: 16px;
}

.ds-layout .ds-property-item:last-child[b-a0ll05r656] {
    border-bottom: none;
}

.ds-layout .ds-property-item dt[b-a0ll05r656] {
    font-size: 13px;
    font-weight: 500;
    color: var(--ds-on-surface-muted);
    flex-shrink: 0;
    min-width: 90px;
}

.ds-layout .ds-property-item dd[b-a0ll05r656] {
    margin: 0;
    font-size: 14px;
    color: var(--ds-on-surface);
    text-align: right;
}

/* --- Static value (readonly display) --- */
.ds-layout .p4-static-value[b-a0ll05r656] {
    font-size: 14px;
    color: var(--ds-on-surface);
    line-height: 1.5;
}

.ds-layout .p4-input-readonly[b-a0ll05r656] {
    opacity: 0.7;
}

/* --- Form grid --- */
.ds-layout .p4-form-grid[b-a0ll05r656] {
    display: grid;
    gap: 16px;
}

.ds-layout .p4-form[b-a0ll05r656] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ds-layout .p4-form-row[b-a0ll05r656] {
    display: flex;
    flex-direction: column;
}

.ds-layout .p4-form-row-full[b-a0ll05r656] {
    grid-column: 1 / -1;
}

.ds-layout .p4-required[b-a0ll05r656] {
    color: var(--ds-error);
}

.ds-layout .p4-field-error[b-a0ll05r656] {
    font-size: 12px;
    color: var(--ds-error);
    margin-top: 4px;
}

.ds-layout .p4-dialog-footer[b-a0ll05r656] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* --- Dialog form overrides --- */
.ds-layout .e-dialog .p4-form[b-a0ll05r656] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 8px 0;
}

.ds-layout .e-dialog .p4-form .p4-form-row[b-a0ll05r656] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ds-layout .e-dialog .p4-form .p4-form-row .p4-form-label[b-a0ll05r656] {
    display: block;
    margin-bottom: 6px;
}

.ds-layout .e-dialog .e-dlg-content[b-a0ll05r656] {
    padding: 16px 24px !important;
}

.ds-layout .e-dialog .e-footer-content[b-a0ll05r656] {
    padding: 12px 24px !important;
    border-top: 1px solid var(--ds-outline-variant);
}

/* --- Checkbox --- */
.ds-layout .p4-checkbox[b-a0ll05r656] {
    accent-color: var(--ds-primary);
}

/* --- Card subcomponent headers --- */
.ds-layout .e-custom-card[b-a0ll05r656] {
    background: var(--ds-surface);
    border-radius: var(--ds-shape-lg);
    box-shadow: var(--ds-elevation-1);
    border: none;
}

/* --- Headings --- */
.ds-layout h4[b-a0ll05r656], .ds-layout h5[b-a0ll05r656], .ds-layout h6[b-a0ll05r656] {
    font-family: var(--ds-font);
    color: var(--ds-on-surface);
    letter-spacing: -0.15px;
}

/* --- Dialog --- */
.ds-layout .e-dialog[b-a0ll05r656],
.ds-create-dialog.e-dialog[b-a0ll05r656] {
    border-radius: var(--ds-shape-xl, 12px) !important;
    font-family: var(--ds-font, 'Plus Jakarta Sans', sans-serif) !important;
}

.ds-create-dialog .e-dlg-header[b-a0ll05r656] {
    font-family: var(--ds-font, 'Plus Jakarta Sans', sans-serif) !important;
    font-weight: 600 !important;
    font-size: 18px !important;
}

.ds-create-dialog .e-footer-content[b-a0ll05r656] {
    padding: 12px 24px !important;
}

.ds-create-dialog .e-dlg-content[b-a0ll05r656] {
    padding: 20px 24px !important;
}

.ds-create-dialog .p4-form[b-a0ll05r656] {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    text-align: left;
}

.ds-create-dialog .p4-form-row[b-a0ll05r656] {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    text-align: left;
}

.ds-create-dialog .p4-form-label[b-a0ll05r656] {
    display: block !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: var(--ds-on-surface-muted, #5f6368) !important;
    margin-bottom: 6px !important;
    text-align: left !important;
}

.ds-create-dialog .p4-required[b-a0ll05r656] {
    color: var(--ds-error, #d32f2f);
}

.ds-create-dialog .p4-dialog-footer[b-a0ll05r656] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* ===========================================
   GRID — BORDER VISIBILITY INSIDE CARDS
   The grid border gets clipped by card overflow:hidden.
   Allow overflow on cards containing grids so the outline
   and group drop area are visible.
   =========================================== */

.ds-layout .p4-card:has(.e-grid)[b-a0ll05r656],
.ds-layout .e-card:has(.e-grid)[b-a0ll05r656],
.ds-layout .e-custom-card:has(.e-grid)[b-a0ll05r656] {
    overflow: visible;
}

.ds-layout .e-grid[b-a0ll05r656] {
    border: 1px solid var(--ds-outline-variant) !important;
    border-radius: var(--ds-shape-lg) !important;
}

/* Grid group drop area — always visible when grouping enabled */
.ds-layout .e-grid .e-groupdroparea[b-a0ll05r656] {
    border-bottom: 1px solid var(--ds-outline-variant);
    padding: 8px 16px;
    min-height: 36px;
    font-family: var(--ds-font);
    font-size: 13px;
    color: var(--ds-on-surface-muted);
    background: var(--ds-surface-container);
}

/* ===========================================
   GRID — AUTO ROW HEIGHT
   Rows should size to content, not be fixed.
   =========================================== */

.ds-layout .e-grid .e-rowcell[b-a0ll05r656] {
    white-space: normal !important;
    height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.ds-layout .e-grid .e-row[b-a0ll05r656] {
    height: auto !important;
}

/* ===========================================
   GRID — SHOW ARCHIVED TOGGLE IN TOOLBAR
   Moves the archived toggle into the grid toolbar
   instead of floating above the card.
   =========================================== */

.ds-layout .p4-toolbar-toggle[b-a0ll05r656] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    font-size: 13px;
    color: var(--ds-on-surface-muted);
    font-family: var(--ds-font);
    cursor: pointer;
}

.ds-layout .p4-toolbar-toggle input[type="checkbox"][b-a0ll05r656] {
    accent-color: var(--ds-primary);
    cursor: pointer;
}

/* ===========================================
   DIALOG — CONSISTENT FORM SPACING
   All dialogs should have uniform gap between
   form fields: 16px between rows, 6px between
   label and input.
   =========================================== */

/* Dialog form grid: consistent spacing */
.ds-layout .e-dialog .e-dlg-content .p4-grid[b-a0ll05r656],
.ds-layout .p4-dialog .e-dlg-content .p4-grid[b-a0ll05r656] {
    gap: 16px !important;
}

/* Label-to-input spacing inside dialogs */
.ds-layout .e-dialog .p4-form-label[b-a0ll05r656],
.ds-layout .p4-dialog .p4-form-label[b-a0ll05r656] {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ds-on-surface-muted);
    font-family: var(--ds-font);
}

/* Dialog content padding */
.ds-layout .e-dialog .e-dlg-content[b-a0ll05r656],
.ds-layout .p4-dialog .e-dlg-content[b-a0ll05r656] {
    padding: 16px 24px !important;
}

/* Dialog footer */
.ds-layout .e-dialog .e-footer-content[b-a0ll05r656],
.ds-layout .p4-dialog .e-footer-content[b-a0ll05r656] {
    padding: 12px 24px 16px !important;
    border-top: 1px solid var(--ds-outline-variant);
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* Dialog header */
.ds-layout .e-dialog .e-dlg-header-content[b-a0ll05r656],
.ds-layout .p4-dialog .e-dlg-header-content[b-a0ll05r656] {
    padding: 16px 24px 12px !important;
    border-bottom: 1px solid var(--ds-outline-variant);
}

.ds-layout .e-dialog .e-dlg-header[b-a0ll05r656],
.ds-layout .p4-dialog .e-dlg-header[b-a0ll05r656] {
    font-family: var(--ds-font) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* Dialog border-radius */
.ds-layout .e-dialog[b-a0ll05r656] {
    border-radius: var(--ds-shape-xl) !important;
    overflow: hidden;
}

/* ===========================================
   FORMS — SETTINGS-STYLE LAYOUT
   Forms should use Bootstrap-like row/col grid
   with top-aligned labels (like TenantConfig).
   Label above input, consistent spacing.
   =========================================== */

.ds-layout .form-label[b-a0ll05r656] {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--ds-on-surface-muted);
    margin-bottom: 6px;
    font-family: var(--ds-font);
}

/* Syncfusion input override for consistent sizing */
.ds-layout .e-input-group[b-a0ll05r656],
.ds-layout .e-float-input[b-a0ll05r656],
.ds-layout .e-input-group.e-control-wrapper[b-a0ll05r656] {
    font-family: var(--ds-font) !important;
}

/* Form section spacing (Bootstrap .mb-3 equivalent) */
.ds-layout .mb-3[b-a0ll05r656] {
    margin-bottom: 16px;
}

/* Form row grid */
.ds-layout .row[b-a0ll05r656] {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
}

.ds-layout .row > [class*="col-"][b-a0ll05r656] {
    padding: 0 8px;
}

.ds-layout .col-12[b-a0ll05r656] { flex: 0 0 100%; max-width: 100%; }
.ds-layout .col-sm-4[b-a0ll05r656] { flex: 0 0 33.33%; max-width: 33.33%; }
.ds-layout .col-sm-6[b-a0ll05r656] { flex: 0 0 50%; max-width: 50%; }
.ds-layout .col-md-4[b-a0ll05r656] { flex: 0 0 33.33%; max-width: 33.33%; }
.ds-layout .col-md-6[b-a0ll05r656] { flex: 0 0 50%; max-width: 50%; }

/* ===========================================
   GRID — PAGER SELECTED PAGE WHITE TEXT
   The active page number should be white on
   the primary-colored background.
   =========================================== */

.ds-layout .e-grid .e-gridpager .e-currentitem[b-a0ll05r656],
.ds-layout .e-grid .e-pager .e-currentitem[b-a0ll05r656] {
    color: #fff !important;
}

/* ===========================================
   GRID — AGGREGATE ROW NOT CUT OFF
   Ensure the aggregate footer row is fully
   visible inside card containers.
   =========================================== */

.ds-layout .e-grid .e-gridfooter[b-a0ll05r656] {
    overflow: visible !important;
}

.ds-layout .e-grid .e-summaryrow .e-summarycell[b-a0ll05r656] {
    padding: 10px 8px !important;
}

/* ===========================================
   DETAIL PAGE — LEFT-ALIGNED FORM LAYOUT
   Forms inside detail page cards (Order Info,
   Freight) use stacked label-above-input with
   left-aligned labels, NOT centered.
   =========================================== */

/* Page layout: uses 55/45 split (11fr 9fr) from p4-design-system.css */
/* No overrides needed — base CSS handles the column ratio */

/* Form fields: use horizontal label+input layout from p4-design-system.css */
/* No overrides needed — base CSS handles row layout with label 120px + input flex */

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 768px) {
    .ds-layout .ds-content-wrapper[b-a0ll05r656] {
        padding: 16px;
    }

    .ds-layout .ds-appbar[b-a0ll05r656] {
        height: 48px;
    }

    .ds-layout .p4-kpi-row[b-a0ll05r656] {
        grid-template-columns: repeat(2, 1fr);
    }

    .ds-layout .p4-grid-cols-2[b-a0ll05r656],
    .ds-layout .p4-grid-cols-3[b-a0ll05r656] {
        grid-template-columns: 1fr;
    }
}
/* /P4Software.CifraHq.Web/Components/Layout/PortalLayout.razor.rz.scp.css */
/* ── Portal Layout Shell ── */

.portal-layout[b-zil3559n45] {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    background: var(--ds-surface);
}

/* Appbar */
.portal-appbar[b-zil3559n45] {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-4);
    background: var(--ds-surface-container);
    border-bottom: 1px solid var(--ds-outline-variant);
}

.portal-appbar-logo[b-zil3559n45] {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.portal-logo-img[b-zil3559n45] {
    height: 28px;
    width: auto;
}

.portal-appbar-right[b-zil3559n45] {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.portal-icon-btn[b-zil3559n45] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: var(--ds-radius-button);
    cursor: pointer;
    color: var(--ds-on-surface-variant);
    transition: background 0.15s;
}

.portal-icon-btn:hover[b-zil3559n45] {
    background: var(--ds-surface-container-high);
    color: var(--ds-on-surface);
}

/* Main content */
.portal-main[b-zil3559n45] {
    flex: 1;
    overflow-y: auto;
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

.portal-content[b-zil3559n45] {
    max-width: 640px;
    margin: 0 auto;
    padding: var(--space-4);
}

/* Bottom navigation */
.portal-bottom-nav[b-zil3559n45] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    height: calc(64px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    display: flex;
    background: var(--ds-surface-container);
    border-top: 1px solid var(--ds-outline-variant);
}

.portal-nav-btn[b-zil3559n45] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--ds-on-surface-variant);
    font-size: 10px;
    font-family: inherit;
    padding: var(--space-1) 0;
    transition: color 0.15s;
}

.portal-nav-btn .p4-icon[b-zil3559n45] {
    font-size: 22px;
}

.portal-nav-btn span:not(.p4-icon)[b-zil3559n45] {
    font-size: 10px;
    line-height: 1;
}

.portal-nav-btn.active[b-zil3559n45] {
    color: var(--ds-primary);
}

.portal-nav-btn.active .p4-icon[b-zil3559n45] {
    font-variation-settings: 'FILL' 1;
}

/* Section title with optional inline help icon */
[b-zil3559n45] .portal-section-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 18px;
    font-weight: 600;
    color: var(--ds-on-surface);
    margin: 0 0 var(--space-4);
}

[b-zil3559n45] .portal-section-title > .p4-icon {
    font-size: 22px;
    color: var(--ds-primary);
    font-variation-settings: 'FILL' 1;
}

[b-zil3559n45] .portal-help-icon {
    margin-left: auto;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--ds-on-surface-variant);
    cursor: help;
    transition: background 0.15s, color 0.15s;
}

[b-zil3559n45] .portal-help-icon:hover,
[b-zil3559n45] .portal-help-icon:focus-visible {
    background: var(--ds-surface-container-high);
    color: var(--ds-primary);
    outline: none;
}

[b-zil3559n45] .portal-help-icon .p4-icon {
    font-size: 18px;
}

/* KPI cards: gradient surface with hover lift */
[b-zil3559n45] .portal-kpi-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--space-4);
    background: linear-gradient(
        160deg,
        var(--ds-surface-container) 0%,
        var(--ds-surface-container-high) 100%
    );
    border: 1px solid var(--ds-outline-variant);
    border-radius: var(--ds-radius-card, 12px);
    box-shadow: var(--ds-shadow-sm, 0 1px 2px rgba(0,0,0,0.04));
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

[b-zil3559n45] .portal-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ds-shadow-md, 0 4px 12px rgba(0,0,0,0.08));
}

[b-zil3559n45] .portal-kpi-card.highlight {
    background: linear-gradient(
        160deg,
        var(--ds-primary-container, var(--ds-surface-container-high)) 0%,
        var(--ds-surface-container-high) 100%
    );
    border-color: var(--ds-primary);
}

[b-zil3559n45] .portal-kpi-card.highlight .portal-kpi-value {
    color: var(--ds-primary);
}

/* Empty state */
[b-zil3559n45] .portal-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-8) var(--space-4);
    gap: var(--space-2);
    color: var(--ds-on-surface-variant);
}

[b-zil3559n45] .portal-empty-icon {
    font-size: 56px;
    opacity: 0.35;
    color: var(--ds-on-surface-variant);
}

[b-zil3559n45] .portal-empty-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ds-on-surface);
}

[b-zil3559n45] .portal-empty-text {
    font-size: 13px;
    max-width: 320px;
    line-height: 1.5;
}

/* Skeleton loaders (shimmer placeholders) */
[b-zil3559n45] .portal-skeleton-card {
    pointer-events: none;
}

[b-zil3559n45] .portal-skeleton {
    display: block;
    background: linear-gradient(
        90deg,
        var(--ds-surface-container) 0%,
        var(--ds-surface-container-high) 50%,
        var(--ds-surface-container) 100%
    );
    background-size: 200% 100%;
    animation: portal-shimmer-b-zil3559n45 1.4s linear infinite;
    border-radius: 6px;
}

[b-zil3559n45] .portal-skeleton-label {
    height: 12px;
    width: 60%;
    margin-bottom: 12px;
}

[b-zil3559n45] .portal-skeleton-value {
    height: 22px;
    width: 80%;
}

[b-zil3559n45] .portal-skeleton-line {
    height: 14px;
    width: 70%;
}

[b-zil3559n45] .portal-skeleton-amt {
    height: 18px;
    width: 30%;
    margin-left: auto;
}

[b-zil3559n45] .portal-skeleton-button {
    height: 44px;
    width: 100%;
    margin-top: var(--space-3);
}

@keyframes portal-shimmer-b-zil3559n45 {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    [b-zil3559n45] .portal-skeleton { animation: none; }
    [b-zil3559n45] .portal-kpi-card:hover { transform: none; }
}

/* Animated entrance for content blocks */
[b-zil3559n45] .portal-balance-section,
[b-zil3559n45] .portal-balance-card,
[b-zil3559n45] .portal-card-list,
[b-zil3559n45] .portal-data-section,
[b-zil3559n45] .portal-info-card,
[b-zil3559n45] .portal-doc-list,
[b-zil3559n45] .portal-empty-state {
    animation: portal-rise-b-zil3559n45 0.22s ease-out both;
}

@keyframes portal-rise-b-zil3559n45 {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    [b-zil3559n45] .portal-balance-section,
    [b-zil3559n45] .portal-balance-card,
    [b-zil3559n45] .portal-card-list,
    [b-zil3559n45] .portal-data-section,
    [b-zil3559n45] .portal-info-card,
    [b-zil3559n45] .portal-doc-list,
    [b-zil3559n45] .portal-empty-state {
        animation: none;
    }
}

/* Status badges with icons */
[b-zil3559n45] .p4-badge .p4-icon-sm {
    font-size: 14px;
    margin-right: 4px;
    vertical-align: middle;
    font-variation-settings: 'FILL' 1;
}

/* Days preview pill in vacation request form */
[b-zil3559n45] .portal-days-preview {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--space-3);
    padding: 6px 12px;
    background: var(--ds-primary-container, var(--ds-surface-container-high));
    color: var(--ds-primary);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

[b-zil3559n45] .portal-days-preview .p4-icon {
    font-size: 16px;
}

/* Document list items: clickable affordance */
[b-zil3559n45] .portal-doc-item {
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

[b-zil3559n45] .portal-doc-item:hover {
    background: var(--ds-surface-container-high);
}

[b-zil3559n45] .portal-doc-item:active {
    transform: scale(0.99);
}

/* Desktop: render the nav as a horizontal tab bar under the appbar
   instead of a bottom bar. */
@media (min-width: 768px) {
    .portal-layout[b-zil3559n45] {
        flex-direction: column;
    }

    .portal-main[b-zil3559n45] {
        padding-bottom: 0;
    }

    .portal-bottom-nav[b-zil3559n45] {
        position: sticky;
        top: 52px;
        bottom: auto;
        height: 56px;
        padding-bottom: 0;
        border-top: none;
        border-bottom: 1px solid var(--ds-outline-variant);
        justify-content: center;
        gap: var(--space-1);
        padding-inline: var(--space-4);
    }

    .portal-nav-btn[b-zil3559n45] {
        flex: 0 0 auto;
        flex-direction: row;
        gap: var(--space-2);
        padding: var(--space-2) var(--space-4);
        font-size: 14px;
        border-radius: var(--ds-radius-button);
    }

    .portal-nav-btn .p4-icon[b-zil3559n45] {
        font-size: 18px;
    }

    .portal-nav-btn span:not(.p4-icon)[b-zil3559n45] {
        font-size: 14px;
        line-height: 1.2;
    }

    .portal-nav-btn:hover[b-zil3559n45] {
        background: var(--ds-surface-container-high);
    }

    .portal-nav-btn.active[b-zil3559n45] {
        background: var(--ds-primary-container, var(--ds-surface-container-high));
    }

    .portal-content[b-zil3559n45] {
        padding: var(--space-6);
    }
}
/* /P4Software.CifraHq.Web/Components/Layout/StorefrontLayout.razor.rz.scp.css */
/* Public storefront shell: the header, the announcement bar and the frame every store page sits in. Colours, shapes and
   spacing come from --ds-* tokens only; the theme (StorefrontThemeCss) re-assigns them inside .sf-shell. The rules without a
   [data-layout] are the classic store, exactly as it was before themes (Clásico is today's store, by Glenn's ruling); each
   layout's own rules follow, keyed on .sf-shell[data-layout], and match that layout's mockup (Main.dc.html, Minimal.dc.html,
   ...). Light themes and the dark presets alike: there is no dark mode here, only the palette the store chose. */

.sf-shell[b-x7ooq4dty3] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--ds-surface);
    color: var(--ds-on-surface);
    font-family: var(--ds-font);
    /* One comfortable reading rhythm for every message, hint and description in the store. */
    line-height: 1.5;
}

/* The focus ring is for the keyboard only, in the theme's accent (--border-color-focus is set to it by the theme). A mouse
   click draws none, and neither do the two elements only script focuses: the page's h1, which FocusOnNavigate focuses on
   every load, and the main area the skip link moves to. */
.sf-shell[b-x7ooq4dty3]  :focus:not(:focus-visible) {
    outline: none;
}

.sf-shell[b-x7ooq4dty3]  h1:focus,
.sf-shell[b-x7ooq4dty3]  [tabindex="-1"]:focus {
    outline: none;
}

/* Text for assistive technology only (the header search's label). */
.sf-visually-hidden[b-x7ooq4dty3] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* The owner's announcement: a thin bar above the header, on every page. Each layout colours it below. */
.sf-announcement[b-x7ooq4dty3] {
    padding: 8px max(16px, calc((100% - 1200px) / 2 + var(--ds-page-padding)));
    color: var(--ds-on-primary);
    background: var(--ds-primary);
    text-align: center;
}

.sf-announcement-text[b-x7ooq4dty3] {
    max-width: 70ch;
    margin: 0 auto;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.sf-header[b-x7ooq4dty3] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 64px;
    box-sizing: border-box;
    padding-block: 8px;
    /* Lines the logo up with the 1200px content column below it on wide screens, instead of
       leaving it stranded at the browser's left edge while the page content sits centred. */
    padding-inline: max(var(--ds-page-padding), calc((100% - 1200px) / 2 + var(--ds-page-padding)));
    background: var(--ds-surface);
    border-bottom: 1px solid var(--ds-border-default);
}

.sf-brand[b-x7ooq4dty3] {
    display: inline-flex;
    align-items: center;
    /* Shrinks (the company name wraps) before the cart and account actions are ever pushed off screen. */
    flex: 0 1 auto;
    min-width: 0;
    min-height: 44px;
    color: var(--ds-on-surface);
    text-decoration: none;
    border-radius: var(--ds-radius-button);
}

/* Skip link: off-screen until focused, then shown at the top left above the header. */
.sf-skip-link[b-x7ooq4dty3] {
    position: absolute;
    left: 8px;
    top: -48px;
    z-index: 10;
    padding: 12px 16px;
    background: var(--ds-surface);
    color: var(--ds-primary);
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
}

.sf-skip-link:focus-visible[b-x7ooq4dty3] {
    top: 8px;
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

/* Focus moved here by the skip link: no outline box around the whole page content. */
.sf-main:focus[b-x7ooq4dty3] {
    outline: none;
}

.sf-brand:focus-visible[b-x7ooq4dty3] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

.sf-logo[b-x7ooq4dty3] {
    display: block;
    max-height: 40px;
    max-width: 200px;
    object-fit: contain;
}

.sf-brand-text[b-x7ooq4dty3] {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    /* A long company name stops at two lines rather than growing the header. */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.sf-header-actions[b-x7ooq4dty3] {
    display: flex;
    align-items: center;
    flex: none;
    gap: 4px;
    margin-left: auto;
}

.sf-cart-link[b-x7ooq4dty3],
.sf-account-link[b-x7ooq4dty3],
.sf-header-link[b-x7ooq4dty3] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /* 44px: the minimum comfortable touch target. */
    min-height: 44px;
    padding: 8px 12px;
    box-sizing: border-box;
    font-weight: 600;
    /* "Iniciar Sesión" must not wrap onto two lines beside the cart. */
    white-space: nowrap;
    color: var(--ds-on-surface);
    text-decoration: none;
    border-radius: var(--ds-radius-button);
}

.sf-cart-link:hover[b-x7ooq4dty3],
.sf-cart-link:focus-visible[b-x7ooq4dty3],
.sf-account-link:hover[b-x7ooq4dty3],
.sf-account-link:focus-visible[b-x7ooq4dty3],
.sf-header-link:hover[b-x7ooq4dty3],
.sf-header-link:focus-visible[b-x7ooq4dty3] {
    background: var(--ds-surface-container);
}

.sf-cart-link:focus-visible[b-x7ooq4dty3],
.sf-account-link:focus-visible[b-x7ooq4dty3],
.sf-header-link:focus-visible[b-x7ooq4dty3] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

.sf-cart-link .p4-icon[b-x7ooq4dty3],
.sf-account-link .p4-icon[b-x7ooq4dty3],
.sf-header-link .p4-icon[b-x7ooq4dty3] {
    font-size: 1.375rem;
}

/* The start slot of the centred-logo layouts (Minimal's "Products", Boutique's search link). */
.sf-header-start[b-x7ooq4dty3] {
    display: flex;
    align-items: center;
    min-width: 0;
}

/* The header search of the layouts that carry it: the field and its search button in one box. */
.sf-header-search[b-x7ooq4dty3] {
    display: flex;
    align-items: center;
    flex: 1 1 240px;
    min-width: 0;
    min-height: 44px;
    box-sizing: border-box;
    background: var(--ds-surface);
    /* A field's border needs 3:1 against the page to be found (WCAG 1.4.11). */
    border: 1px solid var(--ds-on-surface-muted);
    border-radius: var(--ds-radius-input);
    overflow: hidden;
}

.sf-header-search-input[b-x7ooq4dty3] {
    flex: 1;
    min-width: 0;
    height: 42px;
    box-sizing: border-box;
    padding: 0 12px;
    font: inherit;
    color: var(--ds-on-surface);
    background: transparent;
    border: 0;
}

.sf-header-search-input[b-x7ooq4dty3]::placeholder {
    color: var(--ds-on-surface-muted);
    opacity: 1;
}

.sf-header-search-input:focus[b-x7ooq4dty3] {
    outline: none;
}

/* The box shows the keyboard focus of the field inside it. */
.sf-header-search:focus-within[b-x7ooq4dty3] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

.sf-header-search-button[b-x7ooq4dty3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    align-self: stretch;
    min-width: 44px;
    padding: 0 12px;
    font: inherit;
    font-weight: 600;
    color: var(--ds-on-surface-muted);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.sf-header-search-button .p4-icon[b-x7ooq4dty3] {
    font-size: 1.25rem;
}

/* The search word is for Corporativo's text button; the other layouts show the magnifier alone. */
.sf-header-search-button-text[b-x7ooq4dty3] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.sf-header-search-button:focus-visible[b-x7ooq4dty3] {
    outline: 2px solid var(--ds-primary);
    outline-offset: -4px;
}

.sf-main[b-x7ooq4dty3] {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--ds-page-padding) var(--ds-page-padding) 48px;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .sf-header[b-x7ooq4dty3] {
        gap: 8px;
        padding-inline: 16px;
    }

    .sf-logo[b-x7ooq4dty3] {
        max-width: 120px;
    }

    .sf-brand-text[b-x7ooq4dty3] {
        font-size: 1.0625rem;
    }

    .sf-main[b-x7ooq4dty3] {
        padding: 16px 16px 32px;
    }

    .sf-announcement[b-x7ooq4dty3] {
        padding-inline: 16px;
    }

    /* A header search takes a row of its own under the name and the actions. The name gives way first (it wraps inside
       its two-line clamp), so the name and the actions always share the first row. */
    .sf-header:has(.sf-header-search)[b-x7ooq4dty3] {
        flex-wrap: wrap;
    }

    .sf-header:has(.sf-header-search) .sf-brand[b-x7ooq4dty3] {
        flex: 1 1 0;
    }

    .sf-header-search[b-x7ooq4dty3] {
        order: 3;
        flex-basis: 100%;
    }
}

@media (max-width: 479px) {
    /* At 390px the header holds the brand, Cart and Sign in / Sign out side by side. Cart is the one
       action every shopper recognises from its icon alone, so its label gives way (it stays in the
       accessibility tree, hidden from sight only) and the room goes to the store name and the account
       action, whose Spanish label is the longest. */
    .sf-cart-link-text[b-x7ooq4dty3],
    .sf-header-link-text[b-x7ooq4dty3] {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
        border: 0;
    }

    .sf-cart-link[b-x7ooq4dty3],
    .sf-search-link[b-x7ooq4dty3] {
        justify-content: center;
        min-width: 44px;
        padding-inline: 10px;
    }
}

/* ---- Every layout but Clásico: the store name's room ---------------------------------------------------------------- */

/* A little more line height than the classic name: several layout faces draw a "Q" tail or descender that the two-line
   clamp would otherwise shave off. */
.sf-shell[data-layout]:not([data-layout="clasico"]) .sf-brand-text[b-x7ooq4dty3] {
    line-height: 1.3;
}

/* Beside a header search the field gives way before the store name does, up to two fifths of the header. */
@media (min-width: 768px) {
    .sf-shell[data-layout] .sf-header:has(.sf-header-search) .sf-brand[b-x7ooq4dty3] {
        flex: 0 0 auto;
        max-width: 40%;
    }
}

/* ---- Text-link headers: Minimal, Editorial, Boutique, Galería, Industrial ------------------------------------------------
   Their mockups write Cart and Sign in as words, with no icons. On a phone the cart keeps its icon, since its word gives way. */

@media (min-width: 480px) {
    .sf-shell[data-layout="minimal"] .sf-header-actions .p4-icon[b-x7ooq4dty3],
    .sf-shell[data-layout="editorial"] .sf-header-actions .p4-icon[b-x7ooq4dty3],
    .sf-shell[data-layout="boutique"] .sf-header-actions .p4-icon[b-x7ooq4dty3],
    .sf-shell[data-layout="galeria"] .sf-header-actions .p4-icon[b-x7ooq4dty3],
    .sf-shell[data-layout="industrial"] .sf-header-actions .p4-icon[b-x7ooq4dty3] {
        display: none;
    }
}

.sf-shell[data-layout="minimal"] .sf-account-link .p4-icon[b-x7ooq4dty3],
.sf-shell[data-layout="editorial"] .sf-account-link .p4-icon[b-x7ooq4dty3],
.sf-shell[data-layout="boutique"] .sf-account-link .p4-icon[b-x7ooq4dty3],
.sf-shell[data-layout="galeria"] .sf-account-link .p4-icon[b-x7ooq4dty3],
.sf-shell[data-layout="industrial"] .sf-account-link .p4-icon[b-x7ooq4dty3] {
    display: none;
}

/* ---- Centred name: Minimal and Boutique -------------------------------------------------------------------------------- */

.sf-shell[data-layout="minimal"] .sf-header[b-x7ooq4dty3],
.sf-shell[data-layout="boutique"] .sf-header[b-x7ooq4dty3] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.sf-shell[data-layout="minimal"] .sf-brand[b-x7ooq4dty3],
.sf-shell[data-layout="boutique"] .sf-brand[b-x7ooq4dty3] {
    justify-self: center;
    text-align: center;
}

.sf-shell[data-layout="minimal"] .sf-header-actions[b-x7ooq4dty3],
.sf-shell[data-layout="boutique"] .sf-header-actions[b-x7ooq4dty3] {
    justify-self: end;
    margin-left: 0;
}

/* ---- Minimal: hairline, uppercase, letter-spaced ---------------------------------------------------------------------- */

.sf-shell[data-layout="minimal"] .sf-header[b-x7ooq4dty3] {
    min-height: 84px;
    font-size: 0.8125rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.sf-shell[data-layout="minimal"] .sf-brand-text[b-x7ooq4dty3] {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.sf-shell[data-layout="minimal"] .sf-cart-link[b-x7ooq4dty3],
.sf-shell[data-layout="minimal"] .sf-account-link[b-x7ooq4dty3],
.sf-shell[data-layout="minimal"] .sf-header-link[b-x7ooq4dty3] {
    font-weight: 500;
}

.sf-shell[data-layout="minimal"] .sf-announcement[b-x7ooq4dty3] {
    color: var(--ds-surface);
    background: var(--ds-on-surface);
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* ---- Editorial: serif name, quiet text links -------------------------------------------------------------------------- */

.sf-shell[data-layout="editorial"] .sf-header[b-x7ooq4dty3] {
    min-height: 88px;
}

.sf-shell[data-layout="editorial"] .sf-brand-text[b-x7ooq4dty3] {
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.sf-shell[data-layout="editorial"] .sf-cart-link[b-x7ooq4dty3],
.sf-shell[data-layout="editorial"] .sf-account-link[b-x7ooq4dty3] {
    font-weight: 400;
}

.sf-shell[data-layout="editorial"] .sf-announcement[b-x7ooq4dty3] {
    color: var(--ds-on-surface);
    background: var(--ds-surface-container);
    border-bottom: 1px solid var(--ds-border-default);
}

/* ---- Noche: pill search, accent cart pill ----------------------------------------------------------------------------- */

.sf-shell[data-layout="noche"] .sf-header[b-x7ooq4dty3] {
    gap: 40px;
    min-height: 80px;
}

.sf-shell[data-layout="noche"] .sf-brand-text[b-x7ooq4dty3] {
    font-size: 1.375rem;
    letter-spacing: -0.4px;
}

.sf-shell[data-layout="noche"] .sf-header-search[b-x7ooq4dty3],
.sf-shell[data-layout="fresco"] .sf-header-search[b-x7ooq4dty3] {
    flex-direction: row-reverse;
    min-height: 46px;
    background: var(--ds-surface-container);
    border-radius: var(--ds-radius-badge);
}

.sf-shell[data-layout="noche"] .sf-header-search-button[b-x7ooq4dty3],
.sf-shell[data-layout="fresco"] .sf-header-search-button[b-x7ooq4dty3] {
    padding: 0 4px 0 14px;
}

.sf-shell[data-layout="noche"] .sf-header-actions[b-x7ooq4dty3] {
    gap: 16px;
}

.sf-shell[data-layout="noche"] .sf-cart-link[b-x7ooq4dty3],
.sf-shell[data-layout="fresco"] .sf-cart-link[b-x7ooq4dty3],
.sf-shell[data-layout="tropical"] .sf-cart-link[b-x7ooq4dty3] {
    padding-inline: 18px;
    color: var(--ds-on-primary);
    background: var(--ds-primary);
    border-radius: var(--ds-radius-badge);
}

.sf-shell[data-layout="noche"] .sf-cart-link:hover[b-x7ooq4dty3],
.sf-shell[data-layout="fresco"] .sf-cart-link:hover[b-x7ooq4dty3],
.sf-shell[data-layout="tropical"] .sf-cart-link:hover[b-x7ooq4dty3] {
    background: var(--ds-primary-hover);
}

.sf-shell[data-layout="noche"] .sf-cart-link:focus-visible[b-x7ooq4dty3],
.sf-shell[data-layout="fresco"] .sf-cart-link:focus-visible[b-x7ooq4dty3],
.sf-shell[data-layout="tropical"] .sf-cart-link:focus-visible[b-x7ooq4dty3] {
    background: var(--ds-primary);
}

/* ---- Mercado: the yellow band, thick ink rules ------------------------------------------------------------------------ */

.sf-shell[data-layout="mercado"] .sf-announcement[b-x7ooq4dty3] {
    color: var(--ds-secondary);
    background: var(--ds-on-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sf-shell[data-layout="mercado"] .sf-announcement-text[b-x7ooq4dty3] {
    font-weight: 700;
}

.sf-shell[data-layout="mercado"] .sf-header[b-x7ooq4dty3] {
    gap: 32px;
    min-height: 84px;
    color: var(--ds-on-secondary);
    background: var(--ds-secondary);
    border-bottom: 3px solid var(--ds-on-secondary);
}

.sf-shell[data-layout="mercado"] .sf-brand[b-x7ooq4dty3],
.sf-shell[data-layout="mercado"] .sf-account-link[b-x7ooq4dty3] {
    color: var(--ds-on-secondary);
}

.sf-shell[data-layout="mercado"] .sf-brand-text[b-x7ooq4dty3] {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.8px;
    text-transform: uppercase;
}

.sf-shell[data-layout="mercado"] .sf-header-search[b-x7ooq4dty3] {
    min-height: 48px;
    border: 3px solid var(--ds-on-secondary);
    border-radius: 0;
}

.sf-shell[data-layout="mercado"] .sf-header-search-input[b-x7ooq4dty3] {
    font-weight: 500;
}

.sf-shell[data-layout="mercado"] .sf-header-search-button[b-x7ooq4dty3] {
    padding: 0 16px;
    color: var(--ds-secondary);
    background: var(--ds-on-secondary);
}

.sf-shell[data-layout="mercado"] .sf-account-link[b-x7ooq4dty3],
.sf-shell[data-layout="mercado"] .sf-cart-link[b-x7ooq4dty3] {
    font-weight: 800;
    text-transform: uppercase;
}

.sf-shell[data-layout="mercado"] .sf-cart-link[b-x7ooq4dty3] {
    min-height: 48px;
    padding-inline: 18px;
    color: var(--ds-secondary);
    background: var(--ds-on-secondary);
    border-radius: 0;
}

.sf-shell[data-layout="mercado"] .sf-account-link:hover[b-x7ooq4dty3],
.sf-shell[data-layout="mercado"] .sf-account-link:focus-visible[b-x7ooq4dty3] {
    background: var(--ds-secondary-hover);
}

.sf-shell[data-layout="mercado"] .sf-cart-link:hover[b-x7ooq4dty3],
.sf-shell[data-layout="mercado"] .sf-cart-link:focus-visible[b-x7ooq4dty3] {
    color: var(--ds-secondary);
    background: var(--ds-on-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---- Industrial: the dark header band --------------------------------------------------------------------------------- */

.sf-shell[data-layout="industrial"] .sf-header[b-x7ooq4dty3] {
    gap: 32px;
    min-height: 72px;
    color: var(--ds-on-secondary);
    background: var(--ds-secondary);
    border-bottom: 0;
}

.sf-shell[data-layout="industrial"] .sf-brand[b-x7ooq4dty3],
.sf-shell[data-layout="industrial"] .sf-cart-link[b-x7ooq4dty3],
.sf-shell[data-layout="industrial"] .sf-account-link[b-x7ooq4dty3] {
    color: var(--ds-on-secondary);
}

.sf-shell[data-layout="industrial"] .sf-cart-link[b-x7ooq4dty3],
.sf-shell[data-layout="industrial"] .sf-account-link[b-x7ooq4dty3] {
    font-weight: 500;
}

.sf-shell[data-layout="industrial"] .sf-cart-link:hover[b-x7ooq4dty3],
.sf-shell[data-layout="industrial"] .sf-cart-link:focus-visible[b-x7ooq4dty3],
.sf-shell[data-layout="industrial"] .sf-account-link:hover[b-x7ooq4dty3],
.sf-shell[data-layout="industrial"] .sf-account-link:focus-visible[b-x7ooq4dty3] {
    background: var(--ds-secondary-hover);
}

.sf-shell[data-layout="industrial"] .sf-header-search[b-x7ooq4dty3] {
    flex-direction: row-reverse;
    background: var(--ds-surface-container);
    border-color: var(--ds-surface-container);
}

.sf-shell[data-layout="industrial"] .sf-header-search-button[b-x7ooq4dty3] {
    padding: 0 2px 0 12px;
}

.sf-shell[data-layout="industrial"] .sf-announcement[b-x7ooq4dty3],
.sf-shell[data-layout="tropical"] .sf-announcement[b-x7ooq4dty3],
.sf-shell[data-layout="noche"] .sf-announcement[b-x7ooq4dty3],
.sf-shell[data-layout="boutique"] .sf-announcement[b-x7ooq4dty3] {
    color: var(--ds-on-primary);
    background: var(--ds-primary);
}

/* ---- Boutique: centred serif name over the category row --------------------------------------------------------------- */

.sf-shell[data-layout="boutique"] .sf-masthead[b-x7ooq4dty3] {
    border-bottom: 1px solid var(--ds-border-default);
}

.sf-shell[data-layout="boutique"] .sf-header[b-x7ooq4dty3] {
    min-height: 96px;
    padding-block: 20px 12px;
    font-size: 0.875rem;
    letter-spacing: 0.4px;
    border-bottom: 0;
}

.sf-shell[data-layout="boutique"] .sf-brand-text[b-x7ooq4dty3] {
    font-size: 2.375rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.sf-shell[data-layout="boutique"] .sf-cart-link[b-x7ooq4dty3],
.sf-shell[data-layout="boutique"] .sf-account-link[b-x7ooq4dty3],
.sf-shell[data-layout="boutique"] .sf-header-link[b-x7ooq4dty3] {
    font-weight: 400;
}

.sf-shell[data-layout="boutique"] .sf-header-link .p4-icon[b-x7ooq4dty3] {
    font-size: 1.125rem;
}

.sf-shell[data-layout="boutique"] .sf-announcement-text[b-x7ooq4dty3] {
    font-size: 0.8125rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

/* ---- Fresco: the floating pill header --------------------------------------------------------------------------------- */

.sf-shell[data-layout="fresco"] .sf-masthead[b-x7ooq4dty3] {
    padding: 24px max(16px, calc((100% - 1200px) / 2 + var(--ds-page-padding))) 0;
}

.sf-shell[data-layout="fresco"] .sf-header[b-x7ooq4dty3] {
    gap: 28px;
    min-height: 76px;
    padding-inline: 28px 16px;
    background: var(--ds-surface-container);
    border-bottom: 0;
    border-radius: var(--ds-radius-badge);
    box-shadow: var(--ds-elevation-1);
}

.sf-shell[data-layout="fresco"] .sf-brand-text[b-x7ooq4dty3] {
    font-size: 1.4375rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.sf-shell[data-layout="fresco"] .sf-header-search[b-x7ooq4dty3] {
    min-height: 48px;
    background: var(--ds-surface);
}

.sf-shell[data-layout="fresco"] .sf-cart-link[b-x7ooq4dty3],
.sf-shell[data-layout="fresco"] .sf-account-link[b-x7ooq4dty3] {
    font-weight: 800;
}

.sf-shell[data-layout="fresco"] .sf-announcement[b-x7ooq4dty3] {
    color: var(--ds-on-secondary-container);
    background: var(--ds-secondary-container);
}

/* ---- Bento: tiles in the header --------------------------------------------------------------------------------------- */

.sf-shell[data-layout="bento"] .sf-header[b-x7ooq4dty3] {
    min-height: 80px;
    background: transparent;
    border-bottom: 0;
}

.sf-shell[data-layout="bento"] .sf-brand-text[b-x7ooq4dty3] {
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.sf-shell[data-layout="bento"] .sf-header-actions[b-x7ooq4dty3] {
    gap: 12px;
}

.sf-shell[data-layout="bento"] .sf-search-tile[b-x7ooq4dty3],
.sf-shell[data-layout="bento"] .sf-account-link[b-x7ooq4dty3],
.sf-shell[data-layout="bento"] .sf-cart-link[b-x7ooq4dty3] {
    padding-inline: 16px;
    background: var(--ds-surface-container);
    border-radius: var(--ds-radius-button);
}

.sf-shell[data-layout="bento"] .sf-search-tile[b-x7ooq4dty3] {
    justify-content: center;
    width: 44px;
    padding: 0;
}

.sf-shell[data-layout="bento"] .sf-cart-link[b-x7ooq4dty3] {
    color: var(--ds-surface);
    background: var(--ds-on-surface);
}

.sf-shell[data-layout="bento"] .sf-search-tile:hover[b-x7ooq4dty3],
.sf-shell[data-layout="bento"] .sf-account-link:hover[b-x7ooq4dty3] {
    background: var(--ds-surface-container-low);
}

.sf-shell[data-layout="bento"] .sf-cart-link:hover[b-x7ooq4dty3],
.sf-shell[data-layout="bento"] .sf-cart-link:focus-visible[b-x7ooq4dty3] {
    color: var(--ds-on-primary);
    background: var(--ds-primary);
}

.sf-shell[data-layout="bento"] .sf-announcement[b-x7ooq4dty3],
.sf-shell[data-layout="galeria"] .sf-announcement[b-x7ooq4dty3] {
    color: var(--ds-surface);
    background: var(--ds-on-surface);
}

/* ---- Tropical: the band runs under the header and into the catalog's hero --------------------------------------------- */

.sf-shell[data-layout="tropical"] .sf-masthead[b-x7ooq4dty3] {
    color: var(--ds-on-secondary);
    background: var(--ds-secondary);
}

.sf-shell[data-layout="tropical"] .sf-header[b-x7ooq4dty3] {
    min-height: 84px;
    background: transparent;
    border-bottom: 0;
}

.sf-shell[data-layout="tropical"] .sf-brand[b-x7ooq4dty3],
.sf-shell[data-layout="tropical"] .sf-account-link[b-x7ooq4dty3] {
    color: var(--ds-on-secondary);
}

.sf-shell[data-layout="tropical"] .sf-brand-text[b-x7ooq4dty3] {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.sf-shell[data-layout="tropical"] .sf-account-link[b-x7ooq4dty3] {
    font-weight: 500;
}

.sf-shell[data-layout="tropical"] .sf-account-link:hover[b-x7ooq4dty3],
.sf-shell[data-layout="tropical"] .sf-account-link:focus-visible[b-x7ooq4dty3] {
    background: var(--ds-secondary-hover);
}

.sf-shell[data-layout="tropical"] .sf-cart-link[b-x7ooq4dty3] {
    border-radius: var(--ds-radius-button);
}

/* ---- Galería: italic serif name, small links -------------------------------------------------------------------------- */

.sf-shell[data-layout="galeria"] .sf-header[b-x7ooq4dty3] {
    min-height: 72px;
    border-bottom: 0;
}

.sf-shell[data-layout="galeria"] .sf-brand-text[b-x7ooq4dty3] {
    font-size: 1.875rem;
    font-weight: 400;
    font-style: italic;
}

.sf-shell[data-layout="galeria"] .sf-cart-link[b-x7ooq4dty3],
.sf-shell[data-layout="galeria"] .sf-account-link[b-x7ooq4dty3] {
    font-size: 0.875rem;
    font-weight: 400;
}

/* ---- Corporativo: the top bar, a boxed search with its button --------------------------------------------------------- */

.sf-shell[data-layout="corporativo"] .sf-announcement[b-x7ooq4dty3] {
    color: var(--ds-on-secondary);
    background: var(--ds-secondary);
    text-align: left;
}

.sf-shell[data-layout="corporativo"] .sf-announcement-text[b-x7ooq4dty3] {
    margin: 0;
    font-weight: 400;
}

.sf-shell[data-layout="corporativo"] .sf-header[b-x7ooq4dty3] {
    gap: 40px;
    min-height: 88px;
    border-bottom: 0;
}

.sf-shell[data-layout="corporativo"] .sf-brand[b-x7ooq4dty3] {
    color: var(--ds-secondary);
}

.sf-shell[data-layout="corporativo"] .sf-brand-text[b-x7ooq4dty3] {
    font-size: 1.625rem;
}

.sf-shell[data-layout="corporativo"] .sf-header-search[b-x7ooq4dty3] {
    min-height: 48px;
    border: 2px solid var(--ds-secondary);
}

.sf-shell[data-layout="corporativo"] .sf-header-search-button[b-x7ooq4dty3] {
    padding: 0 22px;
    color: var(--ds-on-primary);
    background: var(--ds-primary);
}

.sf-shell[data-layout="corporativo"] .sf-header-search-button:hover[b-x7ooq4dty3] {
    background: var(--ds-primary-hover);
}

.sf-shell[data-layout="corporativo"] .sf-header-search-button .p4-icon[b-x7ooq4dty3] {
    display: none;
}

.sf-shell[data-layout="corporativo"] .sf-header-search-button-text[b-x7ooq4dty3] {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
}

/* ---- The "Sign out" island (a signed-in shopper's header): the same treatment as the "Sign in" link on every layout.
   The island inherits its colour from here; ::deep reaches into it. ---------------------------------------------------- */

.sf-header-actions[b-x7ooq4dty3] {
    color: var(--ds-on-surface);
}

.sf-shell[data-layout="mercado"] .sf-header-actions[b-x7ooq4dty3],
.sf-shell[data-layout="industrial"] .sf-header-actions[b-x7ooq4dty3],
.sf-shell[data-layout="tropical"] .sf-header-actions[b-x7ooq4dty3] {
    color: var(--ds-on-secondary);
}

.sf-shell[data-layout="mercado"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button,
.sf-shell[data-layout="industrial"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button,
.sf-shell[data-layout="tropical"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button {
    color: var(--ds-on-secondary);
}

.sf-shell[data-layout="mercado"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button:hover:not(:disabled),
.sf-shell[data-layout="industrial"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button:hover:not(:disabled),
.sf-shell[data-layout="tropical"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button:hover:not(:disabled),
.sf-shell[data-layout="mercado"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button:focus-visible,
.sf-shell[data-layout="industrial"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button:focus-visible,
.sf-shell[data-layout="tropical"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button:focus-visible {
    background: var(--ds-secondary-hover);
    outline-color: var(--ds-on-secondary);
}

.sf-shell[data-layout="mercado"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button {
    font-weight: 800;
    text-transform: uppercase;
}

/* The text-link layouts write it as a word, as their "Sign in". */
.sf-shell[data-layout="minimal"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button .p4-icon,
.sf-shell[data-layout="editorial"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button .p4-icon,
.sf-shell[data-layout="boutique"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button .p4-icon,
.sf-shell[data-layout="galeria"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button .p4-icon,
.sf-shell[data-layout="industrial"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button .p4-icon {
    display: none;
}

.sf-shell[data-layout="minimal"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button,
.sf-shell[data-layout="editorial"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button,
.sf-shell[data-layout="boutique"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button,
.sf-shell[data-layout="galeria"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button {
    font-weight: 400;
}

.sf-shell[data-layout="minimal"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button {
    font-weight: 500;
    text-transform: uppercase;
}

/* Bento's tile. */
.sf-shell[data-layout="bento"] .sf-header-actions[b-x7ooq4dty3]  .sf-signout-button {
    padding-inline: 16px;
    background: var(--ds-surface-container);
    border-radius: var(--ds-radius-button);
}

/* ---- Focus on the bands: the accent can vanish on a dark or coloured band, so the ring there is the band's own text
   colour (Industrial Grafito's dark grey accent on its near-black head, for one). ------------------------------------------ */

.sf-shell[data-layout="mercado"] .sf-header[b-x7ooq4dty3]  :focus-visible,
.sf-shell[data-layout="industrial"] .sf-header[b-x7ooq4dty3]  :focus-visible,
.sf-shell[data-layout="tropical"] .sf-masthead[b-x7ooq4dty3]  :focus-visible {
    outline-color: var(--ds-on-secondary);
}

/* The header search's ring sits on the band too (it rings the whole box while its field has focus). */
.sf-shell[data-layout="mercado"] .sf-header-search:focus-within[b-x7ooq4dty3],
.sf-shell[data-layout="industrial"] .sf-header-search:focus-within[b-x7ooq4dty3] {
    outline-color: var(--ds-on-secondary);
}

/* ---- Phones --------------------------------------------------------------------------------------------------------- */

@media (max-width: 767px) {
    /* The equal side columns no longer fit the actions: the side slots take what they need, and the name the rest of
       the middle, wrapping rather than ever sitting under the cart. */
    .sf-shell[data-layout="minimal"] .sf-header[b-x7ooq4dty3],
    .sf-shell[data-layout="boutique"] .sf-header[b-x7ooq4dty3] {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 4px;
        min-height: 64px;
        padding-block: 8px;
    }

    /* Centred by its own text inside the whole middle column: a centred box wider than its column spills both ways. */
    .sf-shell[data-layout="minimal"] .sf-brand[b-x7ooq4dty3],
    .sf-shell[data-layout="boutique"] .sf-brand[b-x7ooq4dty3] {
        justify-self: stretch;
        justify-content: center;
    }

    .sf-shell[data-layout="minimal"] .sf-brand-text[b-x7ooq4dty3] {
        letter-spacing: 2px;
    }

    .sf-shell[data-layout="boutique"] .sf-brand-text[b-x7ooq4dty3] {
        font-size: 1.5rem;
    }

    .sf-shell[data-layout="noche"] .sf-header[b-x7ooq4dty3],
    .sf-shell[data-layout="mercado"] .sf-header[b-x7ooq4dty3],
    .sf-shell[data-layout="industrial"] .sf-header[b-x7ooq4dty3],
    .sf-shell[data-layout="fresco"] .sf-header[b-x7ooq4dty3],
    .sf-shell[data-layout="corporativo"] .sf-header[b-x7ooq4dty3] {
        gap: 8px 12px;
        padding-block: 10px 12px;
    }

    .sf-shell[data-layout="mercado"] .sf-brand-text[b-x7ooq4dty3] {
        font-size: 1.25rem;
    }

    .sf-shell[data-layout="editorial"] .sf-brand-text[b-x7ooq4dty3],
    .sf-shell[data-layout="galeria"] .sf-brand-text[b-x7ooq4dty3] {
        font-size: 1.375rem;
    }

    .sf-shell[data-layout="corporativo"] .sf-brand-text[b-x7ooq4dty3],
    .sf-shell[data-layout="tropical"] .sf-brand-text[b-x7ooq4dty3],
    .sf-shell[data-layout="fresco"] .sf-brand-text[b-x7ooq4dty3],
    .sf-shell[data-layout="bento"] .sf-brand-text[b-x7ooq4dty3],
    .sf-shell[data-layout="noche"] .sf-brand-text[b-x7ooq4dty3] {
        font-size: 1.1875rem;
    }

    .sf-shell[data-layout="fresco"] .sf-masthead[b-x7ooq4dty3] {
        padding: 12px 16px 0;
    }

    /* The pill header becomes a rounded panel once the search wraps onto its own row. */
    .sf-shell[data-layout="fresco"] .sf-header[b-x7ooq4dty3] {
        padding-inline: 16px 12px;
        border-radius: var(--ds-radius-card);
    }

    .sf-shell[data-layout="bento"] .sf-header-actions[b-x7ooq4dty3] {
        gap: 6px;
    }

    .sf-shell[data-layout="bento"] .sf-account-link[b-x7ooq4dty3],
    .sf-shell[data-layout="bento"] .sf-cart-link[b-x7ooq4dty3] {
        padding-inline: 10px;
    }
}

@media (max-width: 479px) {
    /* The store name always shows in full: on a phone Minimal drops its "Products" link (the name itself links to the
       catalog) and sets the name at the start, as the classic header does. */
    .sf-shell[data-layout="minimal"] .sf-header[b-x7ooq4dty3] {
        display: flex;
    }

    .sf-shell[data-layout="minimal"] .sf-header-start[b-x7ooq4dty3] {
        display: none;
    }

    .sf-shell[data-layout="minimal"] .sf-brand[b-x7ooq4dty3] {
        justify-content: flex-start;
        text-align: left;
    }

    .sf-shell[data-layout="minimal"] .sf-brand-text[b-x7ooq4dty3] {
        font-size: 0.9375rem;
        letter-spacing: 1.5px;
    }

    .sf-shell[data-layout="minimal"] .sf-header-actions[b-x7ooq4dty3] {
        margin-left: auto;
    }

    .sf-shell[data-layout="noche"] .sf-cart-link[b-x7ooq4dty3],
    .sf-shell[data-layout="fresco"] .sf-cart-link[b-x7ooq4dty3],
    .sf-shell[data-layout="tropical"] .sf-cart-link[b-x7ooq4dty3],
    .sf-shell[data-layout="mercado"] .sf-cart-link[b-x7ooq4dty3] {
        padding-inline: 10px;
    }
}

/* ---- The footer: only when the owner has written a policy (links to the set ones, the name and the year) -------------- */

.sf-footer[b-x7ooq4dty3] {
    color: var(--ds-on-surface-muted);
    background: var(--ds-surface-container-low);
    border-top: 1px solid var(--ds-border-default);
}

.sf-footer-inner[b-x7ooq4dty3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px var(--ds-page-padding);
    box-sizing: border-box;
}

/* The links' own padding is their touch target; the list steps back by it so the first word lines up with the page. */
.sf-footer-links[b-x7ooq4dty3] {
    display: flex;
    flex-wrap: wrap;
    gap: 0 8px;
    margin: 0 0 0 -8px;
    padding: 0;
    list-style: none;
}

.sf-footer-link[b-x7ooq4dty3] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
    box-sizing: border-box;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ds-on-surface);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    border-radius: var(--ds-radius-button);
}

/* The page being read, and the one under the pointer, are underlined. */
.sf-footer-link:hover[b-x7ooq4dty3],
.sf-footer-link[aria-current="page"][b-x7ooq4dty3] {
    text-decoration-color: currentColor;
}

.sf-footer-link:focus-visible[b-x7ooq4dty3] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

.sf-footer-legal[b-x7ooq4dty3] {
    margin: 0;
    font-size: 0.8125rem;
    overflow-wrap: anywhere;
}

/* The airy layouts: a hairline over the page colour. */
.sf-shell[data-layout="minimal"] .sf-footer[b-x7ooq4dty3],
.sf-shell[data-layout="editorial"] .sf-footer[b-x7ooq4dty3],
.sf-shell[data-layout="boutique"] .sf-footer[b-x7ooq4dty3],
.sf-shell[data-layout="galeria"] .sf-footer[b-x7ooq4dty3] {
    background: transparent;
}

.sf-shell[data-layout="minimal"] .sf-footer-link[b-x7ooq4dty3] {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.sf-shell[data-layout="editorial"] .sf-footer-link[b-x7ooq4dty3],
.sf-shell[data-layout="galeria"] .sf-footer-link[b-x7ooq4dty3],
.sf-shell[data-layout="boutique"] .sf-footer-link[b-x7ooq4dty3] {
    font-weight: 400;
}

/* Boutique: centred, as its name is. */
.sf-shell[data-layout="boutique"] .sf-footer-inner[b-x7ooq4dty3] {
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.sf-shell[data-layout="boutique"] .sf-footer-links[b-x7ooq4dty3] {
    justify-content: center;
    margin-left: 0;
}

/* Noche: the raised panel colour. */
.sf-shell[data-layout="noche"] .sf-footer[b-x7ooq4dty3] {
    background: var(--ds-surface-container);
}

/* The band layouts close the page with the header's band: Mercado (with its thick ink rule), Industrial, Tropical and
   Corporativo's top bar. */
.sf-shell[data-layout="mercado"] .sf-footer[b-x7ooq4dty3],
.sf-shell[data-layout="industrial"] .sf-footer[b-x7ooq4dty3],
.sf-shell[data-layout="tropical"] .sf-footer[b-x7ooq4dty3],
.sf-shell[data-layout="corporativo"] .sf-footer[b-x7ooq4dty3] {
    color: var(--ds-on-secondary);
    background: var(--ds-secondary);
    border-top: 0;
}

.sf-shell[data-layout="mercado"] .sf-footer[b-x7ooq4dty3] {
    border-top: 3px solid var(--ds-on-secondary);
}

.sf-shell[data-layout="mercado"] .sf-footer-link[b-x7ooq4dty3],
.sf-shell[data-layout="industrial"] .sf-footer-link[b-x7ooq4dty3],
.sf-shell[data-layout="tropical"] .sf-footer-link[b-x7ooq4dty3],
.sf-shell[data-layout="corporativo"] .sf-footer-link[b-x7ooq4dty3] {
    color: var(--ds-on-secondary);
}

.sf-shell[data-layout="mercado"] .sf-footer-link[b-x7ooq4dty3] {
    font-weight: 800;
    text-transform: uppercase;
}

.sf-shell[data-layout="industrial"] .sf-footer-link[b-x7ooq4dty3] {
    font-weight: 500;
}

/* On a band the accent can vanish, so the ring is the band's own text colour, as in the header. */
.sf-shell[data-layout="mercado"] .sf-footer-link:focus-visible[b-x7ooq4dty3],
.sf-shell[data-layout="industrial"] .sf-footer-link:focus-visible[b-x7ooq4dty3],
.sf-shell[data-layout="tropical"] .sf-footer-link:focus-visible[b-x7ooq4dty3],
.sf-shell[data-layout="corporativo"] .sf-footer-link:focus-visible[b-x7ooq4dty3] {
    outline-color: var(--ds-on-secondary);
}

/* Fresco and Bento: a rounded panel inside the page's gutter, like Fresco's header and Bento's tiles. */
.sf-shell[data-layout="fresco"] .sf-footer[b-x7ooq4dty3],
.sf-shell[data-layout="bento"] .sf-footer[b-x7ooq4dty3] {
    padding: 0 max(16px, calc((100% - 1200px) / 2 + var(--ds-page-padding))) 24px;
    background: transparent;
    border-top: 0;
}

.sf-shell[data-layout="fresco"] .sf-footer-inner[b-x7ooq4dty3],
.sf-shell[data-layout="bento"] .sf-footer-inner[b-x7ooq4dty3] {
    max-width: none;
    padding: 16px 24px;
    background: var(--ds-surface-container);
}

.sf-shell[data-layout="fresco"] .sf-footer-inner[b-x7ooq4dty3] {
    border-radius: var(--ds-radius-card);
    box-shadow: var(--ds-elevation-1);
}

.sf-shell[data-layout="bento"] .sf-footer-inner[b-x7ooq4dty3] {
    border-radius: var(--ds-radius-dialog);
}

.sf-shell[data-layout="fresco"] .sf-footer-link[b-x7ooq4dty3] {
    font-weight: 800;
}

/* ---- Room for the floating WhatsApp button ------------------------------------------------------------------------------
   The button (StorefrontWhatsAppButton: 56px, 16px from the corner) sits over the page wherever the content column reaches
   the window's right edge, so the page's last block (the footer, or the main area when there is none) gets that much more
   room at its end: the last words and controls always scroll clear of it. Wider windows keep the button in the margin. */

@media (max-width: 1343px) {
    .sf-shell--chat .sf-footer-inner[b-x7ooq4dty3] {
        padding-bottom: 88px;
    }

    .sf-shell--chat:not(:has(.sf-footer)) .sf-main[b-x7ooq4dty3] {
        padding-bottom: 96px;
    }

    .sf-shell--chat[data-layout="fresco"] .sf-footer[b-x7ooq4dty3],
    .sf-shell--chat[data-layout="bento"] .sf-footer[b-x7ooq4dty3] {
        padding-bottom: 88px;
    }

    .sf-shell--chat[data-layout="fresco"] .sf-footer-inner[b-x7ooq4dty3],
    .sf-shell--chat[data-layout="bento"] .sf-footer-inner[b-x7ooq4dty3] {
        padding-bottom: 16px;
    }
}

@media (max-width: 767px) {
    .sf-footer-inner[b-x7ooq4dty3] {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 16px 16px 24px;
    }

    .sf-shell[data-layout="boutique"] .sf-footer-inner[b-x7ooq4dty3] {
        align-items: center;
    }

    .sf-shell[data-layout="fresco"] .sf-footer[b-x7ooq4dty3],
    .sf-shell[data-layout="bento"] .sf-footer[b-x7ooq4dty3] {
        padding-inline: 16px;
    }

    .sf-shell[data-layout="fresco"] .sf-footer-inner[b-x7ooq4dty3],
    .sf-shell[data-layout="bento"] .sf-footer-inner[b-x7ooq4dty3] {
        padding: 12px 16px;
    }
}

@media print {
    .sf-footer-nav[b-x7ooq4dty3] {
        display: none;
    }
}
/* /P4Software.CifraHq.Web/Components/Layout/TenantLayout.razor.rz.scp.css */
/* Content loading state (inline, not fullscreen) */
.p4-content-loading[b-p8z7ceqyae] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
}

/* Sidebar - positioned below top bar */
[b-p8z7ceqyae] .e-sidebar {
    margin-top: 48px !important;
    transition: width 0.3s ease;
}

/* Main content area - positioned below top bar */
.main[b-p8z7ceqyae] {
    margin-top: 48px;
    margin-left: 0;
}

/* Color-coded menu icons (brand-consistent) */
[b-p8z7ceqyae] .sidebar .icon-dashboard,
[b-p8z7ceqyae] .sidebar .oi-dashboard { color: #28a745 !important; }

[b-p8z7ceqyae] .sidebar .icon-accounting,
[b-p8z7ceqyae] .sidebar .oi-book { color: #0A5FAD !important; }

[b-p8z7ceqyae] .sidebar .icon-sales,
[b-p8z7ceqyae] .sidebar .oi-cart { color: #ff6b35 !important; }

[b-p8z7ceqyae] .sidebar .icon-purchases,
[b-p8z7ceqyae] .sidebar .oi-inbox { color: #6f42c1 !important; }

[b-p8z7ceqyae] .sidebar .icon-inventory,
[b-p8z7ceqyae] .sidebar .oi-box { color: #fd7e14 !important; }

[b-p8z7ceqyae] .sidebar .icon-reports,
[b-p8z7ceqyae] .sidebar .oi-bar-chart { color: #20c997 !important; }

[b-p8z7ceqyae] .sidebar .icon-settings,
[b-p8z7ceqyae] .sidebar .oi-cog { color: #6c757d !important; }

[b-p8z7ceqyae] .e-filemanager .e-fe-popup.e-dialog.e-popup.e-dlg-resizable {
    z-index: 1202 !important;
}
/* /P4Software.CifraHq.Web/Components/Navigation/AppGridMenu.razor.rz.scp.css */
/* App Grid Menu Container */
.app-grid-container[b-yiacm6pfwa] {
    position: relative;
    display: inline-block;
}

/* App Grid Button (Waffle Icon) */
.app-grid-button[b-yiacm6pfwa] {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 12px;
    margin: 0;
    border-radius: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    color: inherit;
}

.app-grid-button:hover[b-yiacm6pfwa] {
    background-color: rgba(0, 0, 0, 0.05);
}

body[data-theme*="dark"] .app-grid-button:hover[b-yiacm6pfwa] {
    background-color: rgba(255, 255, 255, 0.1);
}

.app-grid-button:focus-visible[b-yiacm6pfwa] {
    outline: 2px solid var(--topbar-icon-hover, #0A5FAD);
    outline-offset: -2px;
}

.app-grid-button[aria-expanded="true"][b-yiacm6pfwa] {
    background-color: rgba(0, 0, 0, 0.08);
}

body[data-theme*="dark"] .app-grid-button[aria-expanded="true"][b-yiacm6pfwa] {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Waffle Icon (3x3 dots rotated) */
.app-grid-icon[b-yiacm6pfwa] {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: -2px;
    transform: rotate(90deg);
    display: inline-block;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .app-grid-button[b-yiacm6pfwa] {
        padding: 8px 10px;
        min-width: 40px;
        min-height: 40px;
    }

    .app-grid-icon[b-yiacm6pfwa] {
        font-size: 16px;
    }
}
/* /P4Software.CifraHq.Web/Components/Navigation/AppGridPopover.razor.rz.scp.css */
/* Backdrop */
.app-grid-backdrop[b-9qwa2vkoj9] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1001;
}

/* Popover Dialog */
.app-grid-popover[b-9qwa2vkoj9] {
    position: fixed;
    top: 56px;
    left: 16px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 1002;
    min-width: 320px;
    max-width: 480px;
    padding: 16px;
}

body[data-theme*="dark"] .app-grid-popover[b-9qwa2vkoj9] {
    background: #2d2d2d;
    border-color: #3a3a3a;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Header */
.app-grid-header[b-9qwa2vkoj9] {
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 16px;
}

body[data-theme*="dark"] .app-grid-header[b-9qwa2vkoj9] {
    border-bottom-color: #3a3a3a;
}

.app-grid-title[b-9qwa2vkoj9] {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #323130;
}

body[data-theme*="dark"] .app-grid-title[b-9qwa2vkoj9] {
    color: #e1e1e1;
}

/* Grid Layout */
.app-grid-items[b-9qwa2vkoj9] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

/* Individual App Item */
.app-grid-item[b-9qwa2vkoj9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.15s ease;
    text-align: center;
    min-height: 100px;
}

.app-grid-item:hover[b-9qwa2vkoj9] {
    background-color: rgba(0, 0, 0, 0.05);
}

body[data-theme*="dark"] .app-grid-item:hover[b-9qwa2vkoj9] {
    background-color: rgba(255, 255, 255, 0.1);
}

.app-grid-item:focus[b-9qwa2vkoj9] {
    outline: 2px solid #0A5FAD;
    outline-offset: -2px;
}

body[data-theme*="dark"] .app-grid-item:focus[b-9qwa2vkoj9] {
    outline-color: #FBAD48;
}

/* App Icon */
.app-icon[b-9qwa2vkoj9] {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 8px;
    color: #0A5FAD; /* Default P4 Blue */
}

.app-icon span[b-9qwa2vkoj9] {
    line-height: 1;
}

/* App Title */
.app-title[b-9qwa2vkoj9] {
    font-size: 13px;
    font-weight: 500;
    color: #323130;
    margin-bottom: 4px;
    line-height: 1.3;
}

body[data-theme*="dark"] .app-title[b-9qwa2vkoj9] {
    color: #e1e1e1;
}

/* App Description */
.app-description[b-9qwa2vkoj9] {
    font-size: 11px;
    color: #605e5c;
    line-height: 1.2;
}

body[data-theme*="dark"] .app-description[b-9qwa2vkoj9] {
    color: #939598;
}

/* Responsive Design */

/* Tablet */
@media (max-width: 1199px) {
    .app-grid-popover[b-9qwa2vkoj9] {
        min-width: 280px;
        max-width: 400px;
    }

    .app-grid-items[b-9qwa2vkoj9] {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }

    .app-icon[b-9qwa2vkoj9] {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .app-grid-popover[b-9qwa2vkoj9] {
        left: 8px;
        right: 8px;
        min-width: auto;
        max-width: none;
        padding: 12px;
    }

    .app-grid-items[b-9qwa2vkoj9] {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 8px;
    }

    .app-grid-item[b-9qwa2vkoj9] {
        padding: 12px 8px;
        min-height: 90px;
    }

    .app-icon[b-9qwa2vkoj9] {
        width: 36px;
        height: 36px;
        font-size: 20px;
        margin-bottom: 6px;
    }

    .app-title[b-9qwa2vkoj9] {
        font-size: 12px;
    }

    .app-description[b-9qwa2vkoj9] {
        font-size: 10px;
    }
}
/* /P4Software.CifraHq.Web/Components/Navigation/AzureTopBar.razor.rz.scp.css */
/* Azure-Style Top Navigation Bar */
.azure-top-bar[b-ec3so18uu2] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: var(--topbar-bg);
    border-bottom: 1px solid var(--topbar-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    gap: 16px;
    z-index: 1000;
    transition: background var(--transition-fast) ease,
                border-color var(--transition-fast) ease;
}

/* Layout Sections */
.top-bar-left[b-ec3so18uu2] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.top-bar-center[b-ec3so18uu2] {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.top-bar-right[b-ec3so18uu2] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

/* Hamburger Toggle Button */
.hamburger-toggle[b-ec3so18uu2] {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 12px;
    margin: 0;
    border-radius: var(--border-radius-none);
    transition: background-color var(--transition-fast) ease,
                color var(--transition-fast) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--topbar-text);
    min-width: 44px;
    min-height: 44px;
}

.hamburger-toggle:hover[b-ec3so18uu2] {
    background-color: var(--topbar-button-hover-bg);
    color: var(--topbar-icon-hover);
}

.hamburger-toggle:focus[b-ec3so18uu2] {
    outline: 2px solid var(--border-color-focus);
    outline-offset: -2px;
}

.hamburger-toggle .e-icons[b-ec3so18uu2] {
    font-size: 20px;
    color: inherit;
}

/* P4 Software Logo */
.p4-logo[b-ec3so18uu2] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
    color: var(--topbar-text);
    padding: 0 8px;
    white-space: nowrap;
}

.p4-logo .logo-image[b-ec3so18uu2] {
    height: 32px;
    width: auto;
}

/* Responsive Design */

/* Tablet: 768px - 1199px */
@media (max-width: 1199px) {
    .top-bar-center[b-ec3so18uu2] {
        max-width: 400px;
    }

    .p4-logo[b-ec3so18uu2] {
        font-size: 14px;
    }
}

/* Mobile: 320px - 767px */
@media (max-width: 767px) {
    .azure-top-bar[b-ec3so18uu2] {
        padding: 0 8px;
        gap: 8px;
    }

    .top-bar-left[b-ec3so18uu2] {
        gap: 4px;
    }

    .top-bar-center[b-ec3so18uu2] {
        max-width: 250px;
    }

    .top-bar-right[b-ec3so18uu2] {
        gap: 2px;
    }

    .p4-logo .logo-image[b-ec3so18uu2] {
        height: 28px;
    }

    /* Hide text labels on mobile */
    .p4-logo[b-ec3so18uu2] {
        font-size: 0;
    }

    .hamburger-toggle[b-ec3so18uu2] {
        padding: 8px 10px;
        min-width: 40px;
        min-height: 40px;
    }
}

/* Accessibility - Focus States */
.azure-top-bar button:focus-visible[b-ec3so18uu2] {
    outline: 2px solid var(--border-color-focus);
    outline-offset: -2px;
}

/* Print Styles - Hide top bar when printing */
@media print {
    .azure-top-bar[b-ec3so18uu2] {
        display: none;
    }
}
/* /P4Software.CifraHq.Web/Components/Navigation/Breadcrumb.razor.rz.scp.css */
/* Breadcrumb Container - Full width with subtle background */
.breadcrumb-container[b-10me1ohdy4] {
    width: 100%;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 24px;
    margin: 0;
}

.breadcrumb[b-10me1ohdy4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.5;
}

.breadcrumb-item[b-10me1ohdy4] {
    display: flex;
    align-items: center;
    color: #404040;
}

.breadcrumb-item a[b-10me1ohdy4] {
    color: #0A5FAD; /* P4 Blue */
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.breadcrumb-item a:hover[b-10me1ohdy4] {
    color: #084b8a; /* Darker P4 Blue on hover */
    text-decoration: underline;
    background-color: rgba(10, 95, 173, 0.05);
}

.breadcrumb-item a:focus[b-10me1ohdy4] {
    outline: 2px solid #0A5FAD;
    outline-offset: 2px;
}

.breadcrumb-separator[b-10me1ohdy4] {
    margin: 0 8px;
    color: #939598; /* Cool Grey */
    font-weight: 300;
}

.breadcrumb-item.active[b-10me1ohdy4] {
    color: #323130;
    font-weight: 500;
    padding: 4px 8px;
}

/* Dark theme support - Bootstrap5-dark theme */
body[data-theme="bootstrap5-dark"] .breadcrumb-container[b-10me1ohdy4] {
    background-color: #2C1810;
    border-bottom: 1px solid #BF5700;
}

body[data-theme="bootstrap5-dark"] .breadcrumb-item[b-10me1ohdy4] {
    color: #F0F0F0;
}

body[data-theme="bootstrap5-dark"] .breadcrumb-item a[b-10me1ohdy4] {
    color: #FF8C42; /* Burnt orange for links in dark mode */
}

body[data-theme="bootstrap5-dark"] .breadcrumb-item a:hover[b-10me1ohdy4] {
    color: #FFA55F;
    background-color: rgba(255, 140, 66, 0.1);
}

body[data-theme="bootstrap5-dark"] .breadcrumb-item.active[b-10me1ohdy4] {
    color: #F0F0F0;
}

body[data-theme="bootstrap5-dark"] .breadcrumb-separator[b-10me1ohdy4] {
    color: #939598;
}

/* Material 3 theme support */
body[data-theme="material3"] .breadcrumb-container[b-10me1ohdy4] {
    background-color: #E3F2FD;
    border-bottom: 1px solid #BBDEFB;
}

body[data-theme="material3"] .breadcrumb-item a[b-10me1ohdy4] {
    color: #1976D2;
}

body[data-theme="material3"] .breadcrumb-item a:hover[b-10me1ohdy4] {
    color: #1565C0;
    background-color: rgba(25, 118, 210, 0.08);
}

/* Material 3 Dark theme support */
body[data-theme="material3-dark"] .breadcrumb-container[b-10me1ohdy4] {
    background-color: #1A252F;
    border-bottom: 1px solid #2C5282;
}

body[data-theme="material3-dark"] .breadcrumb-item[b-10me1ohdy4] {
    color: #CFD8DC;
}

body[data-theme="material3-dark"] .breadcrumb-item a[b-10me1ohdy4] {
    color: #90CAF9;
}

body[data-theme="material3-dark"] .breadcrumb-item a:hover[b-10me1ohdy4] {
    color: #BBDEFB;
    background-color: rgba(144, 202, 249, 0.12);
}

body[data-theme="material3-dark"] .breadcrumb-item.active[b-10me1ohdy4] {
    color: #E3F2FD;
}

/* Fluent 2 theme support */
body[data-theme="fluent2"] .breadcrumb-container[b-10me1ohdy4] {
    background-color: #F3F2F1;
    border-bottom: 1px solid #E1DFDD;
}

body[data-theme="fluent2"] .breadcrumb-item a[b-10me1ohdy4] {
    color: #0078D7;
}

body[data-theme="fluent2"] .breadcrumb-item a:hover[b-10me1ohdy4] {
    color: #005A9E;
    background-color: rgba(0, 120, 215, 0.06);
}

/* Fluent 2 Dark theme support */
body[data-theme="fluent2-dark"] .breadcrumb-container[b-10me1ohdy4] {
    background-color: #1A1A1A;
    border-bottom: 1px solid #3A3A3A;
}

body[data-theme="fluent2-dark"] .breadcrumb-item[b-10me1ohdy4] {
    color: #E1E1E1;
}

body[data-theme="fluent2-dark"] .breadcrumb-item a[b-10me1ohdy4] {
    color: #4CC2FF;
}

body[data-theme="fluent2-dark"] .breadcrumb-item a:hover[b-10me1ohdy4] {
    color: #7FD4FF;
    background-color: rgba(76, 194, 255, 0.1);
}

body[data-theme="fluent2-dark"] .breadcrumb-item.active[b-10me1ohdy4] {
    color: #FFFFFF;
}

/* Responsive design - collapse on smaller screens */
@media (max-width: 768px) {
    .breadcrumb-container[b-10me1ohdy4] {
        padding: 8px 16px;
    }

    .breadcrumb[b-10me1ohdy4] {
        font-size: 12px;
    }

    .breadcrumb-separator[b-10me1ohdy4] {
        margin: 0 4px;
    }

    .breadcrumb-item a[b-10me1ohdy4],
    .breadcrumb-item.active[b-10me1ohdy4] {
        padding: 3px 6px;
    }
}

/* Accessibility - High contrast mode support */
@media (prefers-contrast: high) {
    .breadcrumb-item a[b-10me1ohdy4] {
        text-decoration: underline;
    }

    .breadcrumb-item.active[b-10me1ohdy4] {
        font-weight: 600;
    }
}

/* Print styles */
@media print {
    .breadcrumb-container[b-10me1ohdy4] {
        background-color: transparent;
        border-bottom: 1px solid #000;
        padding: 6px 0;
    }

    .breadcrumb-item a[b-10me1ohdy4] {
        color: #000;
        text-decoration: underline;
    }

    .breadcrumb-separator[b-10me1ohdy4] {
        color: #000;
    }
}
/* /P4Software.CifraHq.Web/Components/Navigation/CommandPalette.razor.rz.scp.css */
/* Command Palette - Azure Portal inspired design */

.command-palette-backdrop[b-gvxu6ppa1x] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
    animation: fadeIn-b-gvxu6ppa1x 0.15s ease-out;
}

@keyframes fadeIn-b-gvxu6ppa1x {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.command-palette-dialog[b-gvxu6ppa1x] {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    width: 90%;
    max-width: 600px;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    animation: slideDown-b-gvxu6ppa1x 0.2s ease-out;
    overflow: hidden;
}

@keyframes slideDown-b-gvxu6ppa1x {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Search Input */
.search-input-container[b-gvxu6ppa1x] {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
}

.search-icon[b-gvxu6ppa1x] {
    font-size: 20px;
    color: #757575;
    margin-right: 12px;
}

.command-search-input[b-gvxu6ppa1x] {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #212121;
    background: transparent;
    padding: 8px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.command-search-input[b-gvxu6ppa1x]::placeholder {
    color: #9e9e9e;
}

.keyboard-hint[b-gvxu6ppa1x] {
    font-size: 12px;
    color: #9e9e9e;
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    font-family: 'Courier New', monospace;
    user-select: none;
}

/* Results Container */
.results-container[b-gvxu6ppa1x] {
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
    padding: 8px 0;
}

.results-container[b-gvxu6ppa1x]::-webkit-scrollbar {
    width: 8px;
}

.results-container[b-gvxu6ppa1x]::-webkit-scrollbar-track {
    background: transparent;
}

.results-container[b-gvxu6ppa1x]::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 4px;
}

.results-container[b-gvxu6ppa1x]::-webkit-scrollbar-thumb:hover {
    background: #bdbdbd;
}

/* Result Groups */
.result-group[b-gvxu6ppa1x] {
    margin-bottom: 16px;
}

.result-group:last-child[b-gvxu6ppa1x] {
    margin-bottom: 0;
}

.group-header[b-gvxu6ppa1x] {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #616161;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.group-header .e-icons[b-gvxu6ppa1x],
.group-header .oi[b-gvxu6ppa1x] {
    font-size: 14px;
    margin-right: 8px;
    color: #757575;
}

/* Result Items */
.result-item[b-gvxu6ppa1x] {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.1s ease;
    border-left: 3px solid transparent;
}

.result-item:hover[b-gvxu6ppa1x] {
    background-color: #f5f5f5;
}

.result-item.selected[b-gvxu6ppa1x] {
    background-color: #e3f2fd;
    border-left-color: #0A5FAD;
}

.result-item .oi[b-gvxu6ppa1x],
.result-item .e-icons[b-gvxu6ppa1x] {
    font-size: 18px;
    color: #757575;
    margin-right: 12px;
    min-width: 20px;
    text-align: center;
}

.item-content[b-gvxu6ppa1x] {
    flex: 1;
    min-width: 0;
}

.item-title[b-gvxu6ppa1x] {
    font-size: 14px;
    font-weight: 500;
    color: #212121;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-breadcrumb[b-gvxu6ppa1x] {
    color: #757575;
    font-weight: 400;
    margin-right: 4px;
}

.breadcrumb-separator[b-gvxu6ppa1x] {
    margin: 0 4px;
    color: #bdbdbd;
}

.item-description[b-gvxu6ppa1x] {
    font-size: 12px;
    color: #757575;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-title mark[b-gvxu6ppa1x] {
    background-color: #FBAD48;
    color: #212121;
    padding: 2px 0;
    border-radius: 2px;
    font-weight: 600;
}

/* No Results */
.no-results[b-gvxu6ppa1x] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    color: #9e9e9e;
}

.no-results-icon[b-gvxu6ppa1x] {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.no-results p[b-gvxu6ppa1x] {
    margin: 0;
    font-size: 14px;
}

/* Loading Indicator */
.loading-indicator[b-gvxu6ppa1x] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #757575;
}

.loading-spinner[b-gvxu6ppa1x] {
    font-size: 32px;
    margin-bottom: 12px;
    animation: spin-b-gvxu6ppa1x 1s linear infinite;
}

@keyframes spin-b-gvxu6ppa1x {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.loading-indicator p[b-gvxu6ppa1x] {
    margin: 0;
    font-size: 14px;
}

/* Footer */
.command-palette-footer[b-gvxu6ppa1x] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 12px 16px;
    border-top: 1px solid #e0e0e0;
    background: #fafafa;
}

.footer-hint[b-gvxu6ppa1x] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #757575;
}

.footer-hint kbd[b-gvxu6ppa1x] {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-family: 'Courier New', monospace;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #424242;
    min-width: 24px;
    text-align: center;
}

/* Dark Theme Support */
body[data-theme="bootstrap5-dark"] .command-palette-dialog[b-gvxu6ppa1x],
body[data-theme="material3-dark"] .command-palette-dialog[b-gvxu6ppa1x],
body[data-theme="fluent2-dark"] .command-palette-dialog[b-gvxu6ppa1x] {
    background: #2C2C2C;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

body[data-theme="bootstrap5-dark"] .search-input-container[b-gvxu6ppa1x],
body[data-theme="material3-dark"] .search-input-container[b-gvxu6ppa1x],
body[data-theme="fluent2-dark"] .search-input-container[b-gvxu6ppa1x] {
    border-bottom-color: #424242;
}

body[data-theme="bootstrap5-dark"] .command-search-input[b-gvxu6ppa1x],
body[data-theme="material3-dark"] .command-search-input[b-gvxu6ppa1x],
body[data-theme="fluent2-dark"] .command-search-input[b-gvxu6ppa1x] {
    color: #E0E0E0;
}

body[data-theme="bootstrap5-dark"] .command-search-input[b-gvxu6ppa1x]::placeholder,
body[data-theme="material3-dark"] .command-search-input[b-gvxu6ppa1x]::placeholder,
body[data-theme="fluent2-dark"] .command-search-input[b-gvxu6ppa1x]::placeholder {
    color: #757575;
}

body[data-theme="bootstrap5-dark"] .keyboard-hint[b-gvxu6ppa1x],
body[data-theme="material3-dark"] .keyboard-hint[b-gvxu6ppa1x],
body[data-theme="fluent2-dark"] .keyboard-hint[b-gvxu6ppa1x] {
    background: #3C3C3C;
    border-color: #555555;
    color: #BDBDBD;
}

body[data-theme="bootstrap5-dark"] .search-icon[b-gvxu6ppa1x],
body[data-theme="material3-dark"] .search-icon[b-gvxu6ppa1x],
body[data-theme="fluent2-dark"] .search-icon[b-gvxu6ppa1x] {
    color: #9E9E9E;
}

body[data-theme="bootstrap5-dark"] .group-header[b-gvxu6ppa1x],
body[data-theme="material3-dark"] .group-header[b-gvxu6ppa1x],
body[data-theme="fluent2-dark"] .group-header[b-gvxu6ppa1x] {
    color: #BDBDBD;
}

body[data-theme="bootstrap5-dark"] .result-item:hover[b-gvxu6ppa1x],
body[data-theme="material3-dark"] .result-item:hover[b-gvxu6ppa1x],
body[data-theme="fluent2-dark"] .result-item:hover[b-gvxu6ppa1x] {
    background-color: #383838;
}

body[data-theme="bootstrap5-dark"] .result-item.selected[b-gvxu6ppa1x],
body[data-theme="material3-dark"] .result-item.selected[b-gvxu6ppa1x],
body[data-theme="fluent2-dark"] .result-item.selected[b-gvxu6ppa1x] {
    background-color: rgba(10, 95, 173, 0.25);
    border-left-color: #0A5FAD;
}

body[data-theme="bootstrap5-dark"] .item-title[b-gvxu6ppa1x],
body[data-theme="material3-dark"] .item-title[b-gvxu6ppa1x],
body[data-theme="fluent2-dark"] .item-title[b-gvxu6ppa1x] {
    color: #E0E0E0;
}

body[data-theme="bootstrap5-dark"] .item-description[b-gvxu6ppa1x],
body[data-theme="material3-dark"] .item-description[b-gvxu6ppa1x],
body[data-theme="fluent2-dark"] .item-description[b-gvxu6ppa1x] {
    color: #9E9E9E;
}

body[data-theme="bootstrap5-dark"] .item-breadcrumb[b-gvxu6ppa1x],
body[data-theme="material3-dark"] .item-breadcrumb[b-gvxu6ppa1x],
body[data-theme="fluent2-dark"] .item-breadcrumb[b-gvxu6ppa1x] {
    color: #9E9E9E;
}

body[data-theme="bootstrap5-dark"] .command-palette-footer[b-gvxu6ppa1x],
body[data-theme="material3-dark"] .command-palette-footer[b-gvxu6ppa1x],
body[data-theme="fluent2-dark"] .command-palette-footer[b-gvxu6ppa1x] {
    background: #242424;
    border-top-color: #424242;
}

body[data-theme="bootstrap5-dark"] .footer-hint kbd[b-gvxu6ppa1x],
body[data-theme="material3-dark"] .footer-hint kbd[b-gvxu6ppa1x],
body[data-theme="fluent2-dark"] .footer-hint kbd[b-gvxu6ppa1x] {
    background: #3C3C3C;
    border-color: #555555;
    color: #E0E0E0;
}

body[data-theme="bootstrap5-dark"] .results-container[b-gvxu6ppa1x]::-webkit-scrollbar-thumb,
body[data-theme="material3-dark"] .results-container[b-gvxu6ppa1x]::-webkit-scrollbar-thumb,
body[data-theme="fluent2-dark"] .results-container[b-gvxu6ppa1x]::-webkit-scrollbar-thumb {
    background: #555555;
}

body[data-theme="bootstrap5-dark"] .results-container[b-gvxu6ppa1x]::-webkit-scrollbar-thumb:hover,
body[data-theme="material3-dark"] .results-container[b-gvxu6ppa1x]::-webkit-scrollbar-thumb:hover,
body[data-theme="fluent2-dark"] .results-container[b-gvxu6ppa1x]::-webkit-scrollbar-thumb:hover {
    background: #757575;
}

body[data-theme="bootstrap5-dark"] .loading-indicator[b-gvxu6ppa1x],
body[data-theme="material3-dark"] .loading-indicator[b-gvxu6ppa1x],
body[data-theme="fluent2-dark"] .loading-indicator[b-gvxu6ppa1x] {
    color: #9E9E9E;
}

/* Responsive Design */
@media (max-width: 768px) {
    .command-palette-dialog[b-gvxu6ppa1x] {
        width: 95%;
        max-width: none;
    }

    .command-palette-footer[b-gvxu6ppa1x] {
        display: none;
    }
}

/* Focus and accessibility */
.command-search-input:focus[b-gvxu6ppa1x] {
    outline: none;
}

.result-item:focus[b-gvxu6ppa1x] {
    outline: 2px solid #0A5FAD;
    outline-offset: -2px;
}
/* /P4Software.CifraHq.Web/Components/Navigation/GlobalSearch.razor.rz.scp.css */
/* Global Search Container */
.global-search[b-c90oj7sjq5] {
    width: 100%;
    max-width: 600px;
}

/* Search Input Wrapper */
.search-input-wrapper[b-c90oj7sjq5] {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid transparent;
    border-radius: 0;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
    height: 32px;
}

.search-input-wrapper:hover[b-c90oj7sjq5] {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.search-input-wrapper:focus-within[b-c90oj7sjq5] {
    background: #ffffff;
    border-color: #0A5FAD; /* P4 Blue */
    outline: 2px solid #0A5FAD;
    outline-offset: -2px;
}

body[data-theme*="dark"] .search-input-wrapper[b-c90oj7sjq5] {
    background: rgba(255, 255, 255, 0.05);
}

body[data-theme*="dark"] .search-input-wrapper:hover[b-c90oj7sjq5] {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

body[data-theme*="dark"] .search-input-wrapper:focus-within[b-c90oj7sjq5] {
    background: #2d2d2d;
    border-color: #FBAD48; /* P4 Orange */
    outline-color: #FBAD48;
}

/* Search Icon */
.search-icon[b-c90oj7sjq5] {
    position: absolute;
    left: 10px;
    font-size: 16px;
    color: #605e5c;
    pointer-events: none;
}

body[data-theme*="dark"] .search-icon[b-c90oj7sjq5] {
    color: #939598;
}

/* Search Input */
.global-search-input[b-c90oj7sjq5] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 6px 80px 6px 36px;
    font-size: 14px;
    color: #323130;
    outline: none;
    cursor: pointer;
}

.global-search-input[b-c90oj7sjq5]::placeholder {
    color: #605e5c;
}

body[data-theme*="dark"] .global-search-input[b-c90oj7sjq5] {
    color: #e1e1e1;
}

body[data-theme*="dark"] .global-search-input[b-c90oj7sjq5]::placeholder {
    color: #939598;
}

/* Keyboard Shortcut Hint */
.search-shortcut[b-c90oj7sjq5] {
    position: absolute;
    right: 10px;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 11px;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    color: #605e5c;
    font-weight: 500;
    pointer-events: none;
}

body[data-theme*="dark"] .search-shortcut[b-c90oj7sjq5] {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #939598;
}

/* Responsive Design */

/* Tablet */
@media (max-width: 1199px) {
    .global-search[b-c90oj7sjq5] {
        max-width: 400px;
    }

    .global-search-input[b-c90oj7sjq5] {
        font-size: 13px;
    }

    .search-shortcut[b-c90oj7sjq5] {
        font-size: 10px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .global-search[b-c90oj7sjq5] {
        max-width: 250px;
    }

    .global-search-input[b-c90oj7sjq5] {
        padding-right: 50px;
        font-size: 12px;
    }

    .search-icon[b-c90oj7sjq5] {
        font-size: 14px;
    }

    .search-shortcut[b-c90oj7sjq5] {
        display: none; /* Hide keyboard hint on mobile */
    }
}
/* /P4Software.CifraHq.Web/Components/Navigation/HelpMenu.razor.rz.scp.css */
/* Help Menu Container */
.help-menu-container[b-b0dzfv2omb] {
    position: relative;
    display: inline-block;
}

/* Help Button */
.help-button[b-b0dzfv2omb] {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 12px;
    margin: 0;
    border-radius: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    color: inherit;
}

.help-button:hover[b-b0dzfv2omb] {
    background-color: rgba(0, 0, 0, 0.05);
}

body[data-theme*="dark"] .help-button:hover[b-b0dzfv2omb] {
    background-color: rgba(255, 255, 255, 0.1);
}

.help-button:focus-visible[b-b0dzfv2omb] {
    outline: 2px solid var(--topbar-icon-hover, #0A5FAD);
    outline-offset: -2px;
}

.help-button[aria-expanded="true"][b-b0dzfv2omb] {
    background-color: rgba(0, 0, 0, 0.08);
}

body[data-theme*="dark"] .help-button[aria-expanded="true"][b-b0dzfv2omb] {
    background-color: rgba(255, 255, 255, 0.15);
}

.help-icon[b-b0dzfv2omb] {
    font-size: 18px;
}

/* Backdrop */
.help-menu-backdrop[b-b0dzfv2omb] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1001;
}

/* Dropdown Menu */
.help-menu-dropdown[b-b0dzfv2omb] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 1002;
    min-width: 220px;
    padding: 4px 0;
}

body[data-theme*="dark"] .help-menu-dropdown[b-b0dzfv2omb] {
    background: #2d2d2d;
    border-color: #3a3a3a;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Menu Items */
.help-menu-item[b-b0dzfv2omb] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    color: #323130;
}

body[data-theme*="dark"] .help-menu-item[b-b0dzfv2omb] {
    color: #e1e1e1;
}

.help-menu-item:hover[b-b0dzfv2omb] {
    background-color: rgba(0, 0, 0, 0.05);
}

body[data-theme*="dark"] .help-menu-item:hover[b-b0dzfv2omb] {
    background-color: rgba(255, 255, 255, 0.08);
}

.help-menu-item:focus[b-b0dzfv2omb] {
    outline: 2px solid #0A5FAD;
    outline-offset: -2px;
}

body[data-theme*="dark"] .help-menu-item:focus[b-b0dzfv2omb] {
    outline-color: #FBAD48;
}

.help-menu-item-icon[b-b0dzfv2omb] {
    font-size: 16px;
    color: #605e5c;
    flex-shrink: 0;
}

body[data-theme*="dark"] .help-menu-item-icon[b-b0dzfv2omb] {
    color: #939598;
}

.help-menu-item-text[b-b0dzfv2omb] {
    flex: 1;
    font-size: 14px;
    white-space: nowrap;
}

.external-icon[b-b0dzfv2omb] {
    font-size: 12px;
    color: #605e5c;
    flex-shrink: 0;
}

body[data-theme*="dark"] .external-icon[b-b0dzfv2omb] {
    color: #939598;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    /* Hide help menu on mobile to save space */
    .help-menu-container[b-b0dzfv2omb] {
        display: none;
    }
}
/* /P4Software.CifraHq.Web/Components/Navigation/NotificationBell.razor.rz.scp.css */
.p4-bell[b-0wsjczg64j] {
    position: relative;
    display: inline-flex;
}

.p4-bell-btn[b-0wsjczg64j] {
    position: relative;
}

/* Unread count badge on the bell button. */
.p4-bell-badge[b-0wsjczg64j] {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--ds-error);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    box-shadow: 0 0 0 2px var(--ds-surface);
}

.p4-bell-backdrop[b-0wsjczg64j] {
    position: fixed;
    inset: 0;
    z-index: 1099;
    background: transparent;
}

.p4-bell-panel[b-0wsjczg64j] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 380px;
    max-width: 92vw;
    background: var(--ds-surface);
    border: 1px solid var(--ds-outline-variant);
    border-radius: 10px;
    box-shadow: var(--ds-elevation-3);
    z-index: 1100;
    overflow: hidden;
}

.p4-bell-panel-header[b-0wsjczg64j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid var(--ds-outline-variant);
}

.p4-bell-panel-title[b-0wsjczg64j] {
    font-size: 14px;
    font-weight: 600;
    color: var(--ds-on-surface);
}

.p4-bell-link[b-0wsjczg64j] {
    border: none;
    background: transparent;
    color: var(--ds-primary);
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    padding: 2px 4px;
}

.p4-bell-link:hover[b-0wsjczg64j] {
    text-decoration: underline;
}

.p4-bell-panel-body[b-0wsjczg64j] {
    max-height: 420px;
    overflow-y: auto;
}

.p4-bell-empty[b-0wsjczg64j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 36px 16px;
    color: var(--ds-on-surface-muted);
}

.p4-bell-empty .p4-icon[b-0wsjczg64j] {
    font-size: 32px;
}

.p4-bell-empty p[b-0wsjczg64j] {
    margin: 0;
    font-size: 13px;
}

.p4-bell-item[b-0wsjczg64j] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--ds-outline-variant);
    cursor: pointer;
    transition: background 0.15s ease;
}

.p4-bell-item:last-child[b-0wsjczg64j] {
    border-bottom: none;
}

.p4-bell-item:hover[b-0wsjczg64j] {
    background: var(--ds-surface-container);
}

/* Unread items get a tinted background and a left accent bar. */
.p4-bell-item.is-unread[b-0wsjczg64j] {
    background: var(--ds-primary-8);
    box-shadow: inset 3px 0 0 0 var(--ds-primary);
}

.p4-bell-item-icon[b-0wsjczg64j] {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--ds-on-surface-muted);
}

.p4-bell-item.sev-warning .p4-bell-item-icon[b-0wsjczg64j] {
    color: var(--ds-warning);
}

.p4-bell-item.sev-critical .p4-bell-item-icon[b-0wsjczg64j] {
    color: var(--ds-error);
}

.p4-bell-item-body[b-0wsjczg64j] {
    flex: 1;
    min-width: 0;
}

.p4-bell-item-title[b-0wsjczg64j] {
    font-size: 13px;
    font-weight: 600;
    color: var(--ds-on-surface);
    line-height: 1.35;
}

.p4-bell-item-msg[b-0wsjczg64j] {
    font-size: 12px;
    color: var(--ds-on-surface-muted);
    line-height: 1.4;
    margin-top: 2px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.p4-bell-item-time[b-0wsjczg64j] {
    font-size: 11px;
    color: var(--ds-on-surface-muted);
    margin-top: 4px;
}

.p4-bell-item-dismiss[b-0wsjczg64j] {
    border: none;
    background: transparent;
    color: var(--ds-on-surface-muted);
    cursor: pointer;
    padding: 2px;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.p4-bell-item-dismiss .p4-icon[b-0wsjczg64j] {
    font-size: 16px;
}

.p4-bell-item-dismiss:hover[b-0wsjczg64j] {
    background: var(--ds-surface-container-high);
    color: var(--ds-on-surface);
}
/* /P4Software.CifraHq.Web/Components/Navigation/NotificationCenter.razor.rz.scp.css */
/* Notification Center Container */
.notification-center-container[b-90wh9yos67] {
    position: relative;
    display: inline-block;
}

/* Notification Bell Button */
.notification-button[b-90wh9yos67] {
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 12px;
    margin: 0;
    border-radius: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    color: inherit;
}

.notification-button:hover[b-90wh9yos67] {
    background-color: rgba(0, 0, 0, 0.05);
}

body[data-theme*="dark"] .notification-button:hover[b-90wh9yos67] {
    background-color: rgba(255, 255, 255, 0.1);
}

.notification-button:focus-visible[b-90wh9yos67] {
    outline: 2px solid var(--topbar-icon-hover, #0A5FAD);
    outline-offset: -2px;
}

.notification-button[aria-expanded="true"][b-90wh9yos67] {
    background-color: rgba(0, 0, 0, 0.08);
}

body[data-theme*="dark"] .notification-button[aria-expanded="true"][b-90wh9yos67] {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Notification Icon */
.notification-icon[b-90wh9yos67] {
    font-size: 18px;
}

/* Notification Badge (Red Dot) */
.notification-badge[b-90wh9yos67] {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #C62828; /* Error Red */
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    box-shadow: 0 0 0 2px var(--topbar-bg, #ffffff);
}

body[data-theme*="dark"] .notification-badge[b-90wh9yos67] {
    box-shadow: 0 0 0 2px #1f1f1f;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .notification-button[b-90wh9yos67] {
        padding: 8px 10px;
        min-width: 40px;
        min-height: 40px;
    }

    .notification-icon[b-90wh9yos67] {
        font-size: 16px;
    }

    .notification-badge[b-90wh9yos67] {
        top: 4px;
        right: 4px;
        min-width: 16px;
        height: 16px;
        font-size: 9px;
    }
}
/* /P4Software.CifraHq.Web/Components/Navigation/NotificationPanel.razor.rz.scp.css */
/* Backdrop */
.notification-backdrop[b-hpusuyqbpn] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1001;
}

/* Panel Dialog */
.notification-panel[b-hpusuyqbpn] {
    position: fixed;
    top: 56px;
    right: 16px;
    background: var(--modal-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-none);
    box-shadow: var(--shadow-lg);
    z-index: 1002;
    min-width: 320px;
    max-width: 400px;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
}

/* Header */
.notification-header[b-hpusuyqbpn] {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: var(--modal-bg);
    z-index: 1;
}

.notification-title[b-hpusuyqbpn] {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Notification List */
.notification-list[b-hpusuyqbpn] {
    padding: 8px 0;
}

/* Individual Notification Item */
.notification-item[b-hpusuyqbpn] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color var(--transition-fast) ease;
    border-left: 3px solid transparent;
}

.notification-item:hover[b-hpusuyqbpn] {
    background-color: var(--bg-hover);
}

.notification-item:focus[b-hpusuyqbpn] {
    outline: 2px solid var(--border-color-focus);
    outline-offset: -2px;
}

/* Priority Indicators (Left Border) */
.notification-item.priority-urgent[b-hpusuyqbpn] {
    border-left-color: var(--color-error);
}

.notification-item.priority-high[b-hpusuyqbpn] {
    border-left-color: var(--color-warning);
}

.notification-item.priority-normal[b-hpusuyqbpn] {
    border-left-color: var(--color-primary);
}

.notification-item.priority-low[b-hpusuyqbpn] {
    border-left-color: var(--color-secondary);
}

/* Notification Icon */
.notification-item-icon[b-hpusuyqbpn] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.notification-item-icon span[b-hpusuyqbpn] {
    line-height: 1;
}

/* Notification Content */
.notification-item-content[b-hpusuyqbpn] {
    flex: 1;
    min-width: 0;
}

.notification-item-title[b-hpusuyqbpn] {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.3;
}

.notification-item-count[b-hpusuyqbpn] {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.2;
}

/* Arrow Icon */
.notification-item-arrow[b-hpusuyqbpn] {
    font-size: 16px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

/* No Notifications State */
.no-notifications[b-hpusuyqbpn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.no-notifications-icon[b-hpusuyqbpn] {
    font-size: 48px;
    color: var(--color-success);
    margin-bottom: 12px;
}

.no-notifications-text[b-hpusuyqbpn] {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive Design */

/* Mobile */
@media (max-width: 767px) {
    .notification-panel[b-hpusuyqbpn] {
        right: 8px;
        left: 8px;
        min-width: auto;
        max-width: none;
    }

    .notification-item[b-hpusuyqbpn] {
        padding: 10px 12px;
        gap: 10px;
    }

    .notification-item-icon[b-hpusuyqbpn] {
        width: 28px;
        height: 28px;
        font-size: 18px;
    }

    .notification-item-title[b-hpusuyqbpn] {
        font-size: 13px;
    }

    .notification-item-count[b-hpusuyqbpn] {
        font-size: 11px;
    }

    .no-notifications[b-hpusuyqbpn] {
        padding: 30px 16px;
    }

    .no-notifications-icon[b-hpusuyqbpn] {
        font-size: 40px;
    }
}
/* /P4Software.CifraHq.Web/Components/Navigation/P4NavMenu.razor.rz.scp.css */
/* P4 Navigation Menu - Pure HTML+CSS (replaces Radzen PanelMenu) */

/* ============================================
   CONTAINER
   ============================================ */

.p4-nav-menu[b-y13su49ltr] {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: var(--font-primary, 'Plus Jakarta Sans'), -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================
   LIGHT / DARK THEME TOKENS
   ============================================ */

.p4-nav-menu.light[b-y13su49ltr] {
    --nav-bg: var(--p4-sidebar-bg, #F8FAFC);
    --nav-border: var(--p4-outline-variant, #E2E8F0);
    --nav-text-primary: var(--p4-on-surface, #1E293B);
    --nav-text-secondary: var(--p4-on-surface-muted, #64748B);
    --nav-text-muted: var(--p4-on-surface-muted, #64748B);
    --nav-item-hover-bg: var(--p4-primary-8, rgba(25, 118, 210, 0.08));
    --nav-item-active-bg: var(--p4-primary, #1976D2);
    --nav-item-active-color: var(--p4-on-primary, #FFFFFF);
    --nav-line-color: var(--border-color-light, #E2E8F0);
    --nav-search-bg: var(--input-bg, #ffffff);
    --nav-search-border: var(--input-border, #E2E8F0);
    --nav-search-focus-border: var(--input-border-focus, #1976D2);

    /* Icon Colors - Light */
    --icon-blue-bg: #dbeafe;
    --icon-blue-color: #2563eb;
    --icon-blue-light-bg: #e0f2fe;
    --icon-blue-light-color: #0284c7;
    --icon-orange-bg: #ffedd5;
    --icon-orange-color: #ea580c;
    --icon-green-bg: #dcfce7;
    --icon-green-color: #16a34a;
    --icon-purple-bg: #f3e8ff;
    --icon-purple-color: #9333ea;
    --icon-cyan-bg: #cffafe;
    --icon-cyan-color: #0891b2;
    --icon-rose-bg: #ffe4e6;
    --icon-rose-color: #e11d48;
    --icon-slate-bg: #f1f5f9;
    --icon-slate-color: #475569;
    --icon-grey-bg: #f1f5f9;
    --icon-grey-color: #6b7280;
    --icon-teal-bg: #ccfbf1;
    --icon-teal-color: #0d9488;
    --icon-indigo-bg: #e0e7ff;
    --icon-indigo-color: #4f46e5;
    --icon-blue-grey-bg: #f1f5f9;
    --icon-blue-grey-color: #64748b;

    /* Badge Colors - Light */
    --badge-default-bg: #f1f5f9;
    --badge-default-color: #475569;
    --badge-success-bg: #dcfce7;
    --badge-success-color: #16a34a;
    --badge-error-bg: #fee2e2;
    --badge-error-color: #dc2626;
    --badge-warning-bg: #fef3c7;
    --badge-warning-color: #d97706;
    --badge-info-bg: #dbeafe;
    --badge-info-color: #2563eb;
}

.p4-nav-menu.dark[b-y13su49ltr] {
    --nav-bg: var(--p4-sidebar-bg, #1E293B);
    --nav-border: var(--p4-outline-variant, #334155);
    --nav-text-primary: var(--p4-on-surface, #E2E8F0);
    --nav-text-secondary: var(--p4-on-surface-muted, #94A3B8);
    --nav-text-muted: var(--p4-on-surface-muted, #94A3B8);
    --nav-item-hover-bg: rgba(96, 165, 250, 0.08);
    --nav-item-active-bg: #60A5FA;
    --nav-item-active-color: #1E3A5F;
    --nav-line-color: var(--border-color, #334155);
    --nav-search-bg: var(--input-bg, #0F172A);
    --nav-search-border: var(--input-border, #475569);
    --nav-search-focus-border: var(--input-border-focus, #60A5FA);

    /* Icon Colors - Dark */
    --icon-blue-bg: rgba(37, 99, 235, 0.2);
    --icon-blue-color: #60a5fa;
    --icon-blue-light-bg: rgba(2, 132, 199, 0.2);
    --icon-blue-light-color: #38bdf8;
    --icon-orange-bg: rgba(234, 88, 12, 0.2);
    --icon-orange-color: #fb923c;
    --icon-green-bg: rgba(22, 163, 74, 0.2);
    --icon-green-color: #4ade80;
    --icon-purple-bg: rgba(147, 51, 234, 0.2);
    --icon-purple-color: #c084fc;
    --icon-cyan-bg: rgba(8, 145, 178, 0.2);
    --icon-cyan-color: #22d3ee;
    --icon-rose-bg: rgba(225, 29, 72, 0.2);
    --icon-rose-color: #fb7185;
    --icon-slate-bg: rgba(71, 85, 105, 0.3);
    --icon-slate-color: #94a3b8;
    --icon-grey-bg: rgba(107, 114, 128, 0.2);
    --icon-grey-color: #9ca3af;
    --icon-teal-bg: rgba(13, 148, 136, 0.2);
    --icon-teal-color: #2dd4bf;
    --icon-indigo-bg: rgba(79, 70, 229, 0.2);
    --icon-indigo-color: #a5b4fc;
    --icon-blue-grey-bg: rgba(100, 116, 139, 0.2);
    --icon-blue-grey-color: #94a3b8;

    /* Badge Colors - Dark */
    --badge-default-bg: rgba(71, 85, 105, 0.3);
    --badge-default-color: #cbd5e1;
    --badge-success-bg: rgba(22, 163, 74, 0.2);
    --badge-success-color: #4ade80;
    --badge-error-bg: rgba(220, 38, 38, 0.2);
    --badge-error-color: #f87171;
    --badge-warning-bg: rgba(217, 119, 6, 0.2);
    --badge-warning-color: #fbbf24;
    --badge-info-bg: rgba(37, 99, 235, 0.2);
    --badge-info-color: #60a5fa;
}

/* ============================================
   SEARCH
   ============================================ */

.p4-nav-search[b-y13su49ltr] {
    padding: 12px 16px;
    border-bottom: 1px solid var(--nav-border);
    flex-shrink: 0;
    background: var(--nav-bg);
}

.p4-nav-search-wrapper[b-y13su49ltr] {
    position: relative;
    display: flex;
    align-items: center;
}

.p4-nav-search-icon[b-y13su49ltr] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--nav-text-muted);
    pointer-events: none;
    z-index: 1;
}

.p4-nav-search-input[b-y13su49ltr] {
    width: 100%;
    height: 38px;
    padding: 0 40px 0 40px;
    border: 1px solid var(--nav-search-border);
    border-radius: 4px;
    background: var(--nav-search-bg);
    color: var(--nav-text-primary);
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
}

.p4-nav-search-input[b-y13su49ltr]::placeholder {
    color: var(--nav-text-muted);
}

.p4-nav-search-input:focus[b-y13su49ltr] {
    border-color: var(--nav-search-focus-border);
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.12);
}

.p4-nav-menu.dark .p4-nav-search-input:focus[b-y13su49ltr] {
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.15);
}

.p4-nav-search-clear[b-y13su49ltr] {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    color: var(--nav-text-muted);
    transition: background 0.15s;
}

.p4-nav-search-clear:hover[b-y13su49ltr] {
    background: var(--nav-item-hover-bg);
}

.p4-nav-search-clear .e-icons[b-y13su49ltr] {
    font-size: 16px;
}

.p4-nav-shortcut-hint[b-y13su49ltr] {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: var(--nav-text-muted);
    background: var(--nav-line-color);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
    pointer-events: none;
}

.p4-nav-search-results[b-y13su49ltr] {
    font-size: 11px;
    color: var(--nav-text-muted);
    padding: 6px 0 0 0;
    font-weight: 500;
}

/* ============================================
   NAV CONTENT (scrollable area)
   ============================================ */

.p4-nav-content[b-y13su49ltr] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4px 12px 12px 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--nav-line-color) transparent;
}

/* ============================================
   SECTION HEADER (Level 1 groups)
   ============================================ */

.p4-nav-section[b-y13su49ltr] {
    margin-bottom: 2px;
}

.p4-nav-section-header[b-y13su49ltr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 12px 6px 12px;
    cursor: pointer;
    user-select: none;
}

.p4-nav-section:first-child .p4-nav-section-header[b-y13su49ltr] {
    padding-top: 8px;
}

.p4-nav-section-title[b-y13su49ltr] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--nav-text-muted);
}

.p4-nav-chevron[b-y13su49ltr] {
    font-size: 18px;
    color: var(--nav-text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.p4-nav-chevron.expanded[b-y13su49ltr] {
    transform: rotate(180deg);
}

/* ============================================
   NAV ITEMS (leaf links)
   ============================================ */

.p4-nav-item[b-y13su49ltr] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--p4-shape-small, 4px);
    cursor: pointer;
    text-decoration: none;
    color: var(--nav-text-primary);
    font-size: 14px;
    font-weight: 450;
    transition: background 0.15s, color 0.15s;
    margin-bottom: 1px;
}

.p4-nav-item:hover[b-y13su49ltr] {
    background: var(--nav-item-hover-bg);
    text-decoration: none;
    color: var(--nav-text-primary);
}

.p4-nav-item.active[b-y13su49ltr] {
    background: var(--nav-item-active-bg);
    color: var(--nav-item-active-color);
    font-weight: 600;
}

.p4-nav-item.active .p4-nav-item-icon[b-y13su49ltr] {
    color: var(--nav-item-active-color);
}

.p4-nav-item.active:hover[b-y13su49ltr] {
    background: var(--nav-item-active-bg);
    color: var(--nav-item-active-color);
}

/* Icon */
.p4-nav-item-icon[b-y13su49ltr] {
    font-size: 21px;
    color: var(--nav-text-muted);
    flex-shrink: 0;
    transition: color 0.15s;
}

/* Text */
.p4-nav-item-text[b-y13su49ltr] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   LEVEL VARIANTS
   ============================================ */

/* Level 2 items */
.p4-nav-item.p4-nav-item-L2[b-y13su49ltr] {
    font-size: 13.5px;
    padding: 9px 12px;
}

.p4-nav-item.p4-nav-item-L2 .p4-nav-item-icon[b-y13su49ltr] {
    font-size: 20px;
}

/* Level 3 items */
.p4-nav-item.p4-nav-item-L3[b-y13su49ltr] {
    font-size: 13px;
    padding: 8px 12px;
}

.p4-nav-item.p4-nav-item-L3 .p4-nav-item-icon[b-y13su49ltr] {
    font-size: 18px;
}

/* ============================================
   CHILDREN CONTAINER
   ============================================ */

/* First-level children: no indentation (flush with section headers) */
.p4-nav-children[b-y13su49ltr] {
    padding-left: 0;
    margin-left: 0;
}

/* Second-level children and deeper: add indentation */
.p4-nav-children .p4-nav-children[b-y13su49ltr] {
    padding-left: 16px;
    margin-left: 12px;
}

/* ============================================
   GROUP (Level 2+ groups with icon)
   ============================================ */

.p4-nav-group .p4-nav-item[b-y13su49ltr] {
    font-weight: 500;
}

/* ============================================
   BADGES
   ============================================ */

.p4-nav-badge[b-y13su49ltr] {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    background: var(--badge-default-bg, var(--nav-line-color));
    color: var(--badge-default-color, var(--nav-text-muted));
}

.p4-nav-badge-success[b-y13su49ltr] {
    background: var(--badge-success-bg);
    color: var(--badge-success-color);
}

.p4-nav-badge-error[b-y13su49ltr] {
    background: var(--badge-error-bg);
    color: var(--badge-error-color);
}

.p4-nav-badge-warning[b-y13su49ltr] {
    background: var(--badge-warning-bg);
    color: var(--badge-warning-color);
}

.p4-nav-badge-info[b-y13su49ltr] {
    background: var(--badge-info-bg);
    color: var(--badge-info-color);
}

/* ============================================
   NO RESULTS
   ============================================ */

.p4-nav-no-results[b-y13su49ltr] {
    text-align: center;
    padding: 32px 16px;
    color: var(--nav-text-muted);
}

.p4-nav-no-results-icon[b-y13su49ltr] {
    font-size: 48px;
    opacity: 0.3;
    display: block;
    margin-bottom: 12px;
}

.p4-nav-no-results p[b-y13su49ltr] {
    font-size: 13px;
    margin: 0;
}

/* ============================================
   SEARCH HIGHLIGHT
   ============================================ */

.p4-nav-highlight[b-y13su49ltr] {
    background-color: var(--badge-warning-bg, #FEF3C7);
    color: var(--badge-warning-color, #92400E);
    border-radius: 2px;
    padding: 0 1px;
    font-style: normal;
}

.p4-nav-menu.dark .p4-nav-highlight[b-y13su49ltr] {
    background-color: rgba(251, 191, 36, 0.25);
    color: #FDE68A;
}

/* Highlighted text inside active items needs different colors */
.p4-nav-item.active .p4-nav-highlight[b-y13su49ltr] {
    background-color: rgba(255, 255, 255, 0.25);
    color: inherit;
}

/* ============================================
   MINI MODE
   ============================================ */

.p4-nav-menu.mini .p4-nav-search[b-y13su49ltr] {
    display: none;
}

.p4-nav-menu.mini .p4-nav-content[b-y13su49ltr] {
    padding: 0 8px 12px 8px;
}

.p4-nav-menu.mini .p4-nav-section-header[b-y13su49ltr] {
    display: none;
}

.p4-nav-menu.mini .p4-nav-item[b-y13su49ltr] {
    justify-content: center;
    padding: 10px 8px;
    gap: 0;
}

.p4-nav-menu.mini .p4-nav-item-text[b-y13su49ltr] {
    display: none;
}

.p4-nav-menu.mini .p4-nav-badge[b-y13su49ltr] {
    display: none;
}

.p4-nav-menu.mini .p4-nav-chevron[b-y13su49ltr] {
    display: none;
}

.p4-nav-menu.mini .p4-nav-children[b-y13su49ltr] {
    display: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .p4-nav-search[b-y13su49ltr] {
        padding: 8px;
    }

    .p4-nav-search-input[b-y13su49ltr] {
        height: 34px;
        font-size: 12px;
    }

    .p4-nav-shortcut-hint[b-y13su49ltr] {
        display: none;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .p4-nav-chevron[b-y13su49ltr],
    .p4-nav-item[b-y13su49ltr],
    .p4-nav-search-input[b-y13su49ltr] {
        transition: none;
    }
}
/* /P4Software.CifraHq.Web/Components/Navigation/SettingsMenu.razor.rz.scp.css */
/* Settings Menu Container */
.settings-menu-container[b-nywd7izwdq] {
    position: relative;
    display: inline-block;
}

/* Settings Button */
.settings-button[b-nywd7izwdq] {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 12px;
    margin: 0;
    border-radius: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    color: inherit;
}

.settings-button:hover[b-nywd7izwdq] {
    background-color: rgba(0, 0, 0, 0.05);
}

body[data-theme*="dark"] .settings-button:hover[b-nywd7izwdq] {
    background-color: rgba(255, 255, 255, 0.1);
}

.settings-button:focus-visible[b-nywd7izwdq] {
    outline: 2px solid var(--topbar-icon-hover, #0A5FAD);
    outline-offset: -2px;
}

.settings-button[aria-expanded="true"][b-nywd7izwdq] {
    background-color: rgba(0, 0, 0, 0.08);
}

body[data-theme*="dark"] .settings-button[aria-expanded="true"][b-nywd7izwdq] {
    background-color: rgba(255, 255, 255, 0.15);
}

.settings-icon[b-nywd7izwdq] {
    font-size: 18px;
}

/* Backdrop */
.settings-menu-backdrop[b-nywd7izwdq] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1001;
}

/* Dropdown Menu */
.settings-menu-dropdown[b-nywd7izwdq] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 1002;
    min-width: 220px;
    padding: 4px 0;
}

body[data-theme*="dark"] .settings-menu-dropdown[b-nywd7izwdq] {
    background: #2d2d2d;
    border-color: #3a3a3a;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Menu Items */
.settings-menu-item[b-nywd7izwdq] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    color: #323130;
}

body[data-theme*="dark"] .settings-menu-item[b-nywd7izwdq] {
    color: #e1e1e1;
}

.settings-menu-item:hover[b-nywd7izwdq] {
    background-color: rgba(0, 0, 0, 0.05);
}

body[data-theme*="dark"] .settings-menu-item:hover[b-nywd7izwdq] {
    background-color: rgba(255, 255, 255, 0.08);
}

.settings-menu-item:focus[b-nywd7izwdq] {
    outline: 2px solid #0A5FAD;
    outline-offset: -2px;
}

body[data-theme*="dark"] .settings-menu-item:focus[b-nywd7izwdq] {
    outline-color: #FBAD48;
}

.settings-menu-item-icon[b-nywd7izwdq] {
    font-size: 16px;
    color: #605e5c;
    flex-shrink: 0;
}

body[data-theme*="dark"] .settings-menu-item-icon[b-nywd7izwdq] {
    color: #939598;
}

.settings-menu-item-text[b-nywd7izwdq] {
    flex: 1;
    font-size: 14px;
    white-space: nowrap;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    /* Hide settings menu on mobile to save space */
    .settings-menu-container[b-nywd7izwdq] {
        display: none;
    }
}
/* /P4Software.CifraHq.Web/Components/Navigation/SfNavMenu.razor.rz.scp.css */
/* ============================================
   SfNavMenu - TreeView Navigation Styles
   Supports both expanded and docked (mini) modes
   Uses P4 Design System colors
   ============================================ */

/* Container */
.sf-nav-menu[b-zmb4je05wu] {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px;
    transition: padding 0.2s ease;
    background: var(--sidebar-bg, #ffffff);
}

.sf-nav-menu.docked[b-zmb4je05wu] {
    padding: 8px 4px;
}

/* Scrollbar */
.sf-nav-menu[b-zmb4je05wu]::-webkit-scrollbar {
    width: 6px;
}

.sf-nav-menu[b-zmb4je05wu]::-webkit-scrollbar-track {
    background: transparent;
}

.sf-nav-menu[b-zmb4je05wu]::-webkit-scrollbar-thumb {
    background: var(--sidebar-border, #e0e0e0);
    border-radius: 3px;
}

.sf-nav-menu[b-zmb4je05wu]::-webkit-scrollbar-thumb:hover {
    background: var(--sidebar-text, #323130);
}

/* Hide scrollbar in docked mode */
.sf-nav-menu.docked[b-zmb4je05wu]::-webkit-scrollbar {
    width: 2px;
}

/* ============================================
   TreeView Base Styles
   ============================================ */

[b-zmb4je05wu] .p4-treeview.e-treeview {
    background: transparent;
    border: none;
    font-family: var(--font-primary, 'Inter', -apple-system, sans-serif);
}

[b-zmb4je05wu] .p4-treeview .e-ul {
    padding: 0;
    margin: 0;
}

[b-zmb4je05wu] .p4-treeview .e-list-item {
    padding: 0;
    margin: 2px 0;
}

/* Node content wrapper */
[b-zmb4je05wu] .p4-treeview .e-text-content {
    min-height: 40px;
    padding: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

[b-zmb4je05wu] .p4-treeview .e-text-content:hover {
    background: var(--sidebar-hover-bg, rgba(0, 0, 0, 0.04));
}

/* Hide the default TreeView icon and text rendering */
[b-zmb4je05wu] .p4-treeview .e-list-icon,
[b-zmb4je05wu] .p4-treeview .e-list-text {
    display: none !important;
}

/* ============================================
   Custom Node Template Styles
   ============================================ */

.p4-nav-node[b-zmb4je05wu] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    width: 100%;
    min-height: 40px;
}

.p4-nav-icon[b-zmb4je05wu] {
    font-size: 18px;
    width: 24px;
    min-width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    flex-shrink: 0;
    color: var(--sidebar-text, #323130);
    transition: color 0.15s ease;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* Font Awesome icons render automatically via their class (fas fa-xxx)
   No additional ::before styling needed */

.p4-nav-text[b-zmb4je05wu] {
    font-size: 14px;
    font-weight: 500;
    color: var(--sidebar-text, #323130);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

/* Hover states */
[b-zmb4je05wu] .p4-treeview .e-text-content:hover .p4-nav-icon {
    color: var(--sidebar-active-text, #0A5FAD);
}

[b-zmb4je05wu] .p4-treeview .e-text-content:hover .p4-nav-text {
    color: var(--sidebar-active-text, #0A5FAD);
}

/* ============================================
   Selected/Active State
   ============================================ */

[b-zmb4je05wu] .p4-treeview .e-list-item.e-active > .e-text-content,
[b-zmb4je05wu] .p4-treeview .e-list-item.e-node-focus > .e-text-content {
    background: var(--sidebar-active-bg, rgba(10, 95, 173, 0.08)) !important;
}

[b-zmb4je05wu] .p4-treeview .e-list-item.e-active > .e-text-content .p4-nav-icon,
[b-zmb4je05wu] .p4-treeview .e-list-item.e-node-focus > .e-text-content .p4-nav-icon {
    color: var(--sidebar-active-text, #0A5FAD) !important;
}

[b-zmb4je05wu] .p4-treeview .e-list-item.e-active > .e-text-content .p4-nav-text,
[b-zmb4je05wu] .p4-treeview .e-list-item.e-node-focus > .e-text-content .p4-nav-text {
    color: var(--sidebar-active-text, #0A5FAD) !important;
    font-weight: 600;
}

/* ============================================
   Expand/Collapse Icons
   ============================================ */

[b-zmb4je05wu] .p4-treeview .e-icons.e-icon-expandable,
[b-zmb4je05wu] .p4-treeview .e-icons.e-icon-collapsible {
    color: var(--sidebar-text, #323130);
    font-size: 10px;
    margin-left: auto;
    margin-right: 8px;
    transition: transform 0.2s ease, color 0.15s ease;
}

[b-zmb4je05wu] .p4-treeview .e-icons.e-icon-collapsible {
    transform: rotate(90deg);
}

[b-zmb4je05wu] .p4-treeview .e-text-content:hover .e-icons.e-icon-expandable,
[b-zmb4je05wu] .p4-treeview .e-text-content:hover .e-icons.e-icon-collapsible {
    color: var(--sidebar-active-text, #0A5FAD);
}

[b-zmb4je05wu] .p4-treeview .e-list-item.e-active > .e-text-content .e-icons,
[b-zmb4je05wu] .p4-treeview .e-list-item.e-node-focus > .e-text-content .e-icons {
    color: var(--sidebar-active-text, #0A5FAD) !important;
}

/* ============================================
   Child Items (Nested Levels)
   ============================================ */

[b-zmb4je05wu] .p4-treeview .e-list-item .e-list-item .p4-nav-node {
    padding-left: 20px;
}

[b-zmb4je05wu] .p4-treeview .e-list-item .e-list-item .e-list-item .p4-nav-node {
    padding-left: 32px;
}

/* Child items - smaller icons */
[b-zmb4je05wu] .p4-treeview .e-list-item .e-list-item .p4-nav-icon {
    font-size: 8px;
    color: var(--sidebar-text, #323130);
    opacity: 0.7;
}

/* ============================================
   DOCKED MODE (Mini Sidebar)
   ============================================ */

[b-zmb4je05wu] .p4-treeview-docked.e-treeview {
    padding: 0;
}

[b-zmb4je05wu] .p4-treeview-docked .e-list-item {
    margin: 4px 0;
}

[b-zmb4je05wu] .p4-treeview-docked .e-text-content {
    justify-content: center;
    min-height: 40px;
    border-radius: 8px;
}

/* Docked node - center icon, hide text */
.p4-nav-node.mini-node[b-zmb4je05wu] {
    padding: 10px;
    justify-content: center;
    gap: 0;
}

.p4-nav-node.mini-node .p4-nav-icon[b-zmb4je05wu] {
    font-size: 20px;
    width: 28px;
    min-width: 28px;
    height: 28px;
    line-height: 28px;
    margin: 0;
    color: var(--sidebar-text, #323130) !important;
}

/* Hide expand/collapse in docked mode */
[b-zmb4je05wu] .p4-treeview-docked .e-icons.e-icon-expandable,
[b-zmb4je05wu] .p4-treeview-docked .e-icons.e-icon-collapsible {
    display: none !important;
}

/* Hide nested items in docked mode */
[b-zmb4je05wu] .p4-treeview-docked .e-list-item .e-list-item {
    display: none;
}

/* ============================================
   Tooltip for Docked Mode
   ============================================ */

.p4-nav-node.mini-node[title][b-zmb4je05wu] {
    position: relative;
}

/* Native tooltip styling via CSS (browser default will show title) */
/* For enhanced tooltips, consider using SfTooltip component */

/* ============================================
   Focus States (Accessibility)
   ============================================ */

[b-zmb4je05wu] .p4-treeview .e-text-content:focus {
    outline: none;
}

[b-zmb4je05wu] .p4-treeview .e-text-content:focus-visible {
    outline: 2px solid var(--p4-primary-blue, #3182CE);
    outline-offset: 2px;
}

/* ============================================
   Animation
   ============================================ */

[b-zmb4je05wu] .p4-treeview .e-list-item {
    transition: opacity 0.2s ease;
}

[b-zmb4je05wu] .p4-treeview .e-list-item .e-ul {
    transition: max-height 0.3s ease;
    overflow: hidden;
}

/* ============================================
   Dark Theme Support
   Theme variables automatically switch in themes.css
   ============================================ */

/* Dark theme is handled via CSS variables in themes.css:
   --sidebar-bg: #1f1f1f
   --sidebar-text: #e1e1e1
   --sidebar-hover-bg: rgba(255, 255, 255, 0.06)
   --sidebar-active-bg: rgba(251, 173, 72, 0.12)
   --sidebar-active-text: var(--color-primary)
*/
/* /P4Software.CifraHq.Web/Components/Pages/Admin/Alanube/AlanubeDashboard.razor.rz.scp.css */
.alanube-kpi-strip[b-g72hskf3py] {
    grid-template-columns: repeat(4, 1fr);
}

/* Stat card copies from Dashboard.razor (scoped here so they don't leak) */
.p4-stat-card[b-g72hskf3py] {
    background: var(--ds-surface, #FFFFFF);
    border: 1px solid var(--ds-border, #E2E8F0);
    border-radius: 8px;
    padding: 20px;
}

.p4-stat-card-primary[b-g72hskf3py] { border-left: 4px solid var(--ds-primary, #3182CE); }
.p4-stat-card-success[b-g72hskf3py] { border-left: 4px solid var(--ds-success, #38A169); }
.p4-stat-card-secondary[b-g72hskf3py] { border-left: 4px solid var(--ds-secondary, #805AD5); }
.p4-stat-card-danger[b-g72hskf3py] { border-left: 4px solid var(--ds-danger, #E53E3E); }

.p4-stat-card-content[b-g72hskf3py] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.p4-stat-card-info[b-g72hskf3py] { flex: 1; }

.p4-stat-card-value[b-g72hskf3py] {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin: 4px 0;
}

.p4-stat-card-trend[b-g72hskf3py] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
}

.p4-stat-card-icon[b-g72hskf3py] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
}

.p4-stat-card-icon-primary[b-g72hskf3py] { border-color: var(--ds-primary); color: var(--ds-primary); }
.p4-stat-card-icon-success[b-g72hskf3py] { border-color: var(--ds-success); color: var(--ds-success); }
.p4-stat-card-icon-secondary[b-g72hskf3py] { border-color: var(--ds-secondary); color: var(--ds-secondary); }
.p4-stat-card-icon-danger[b-g72hskf3py] { border-color: var(--ds-danger); color: var(--ds-danger); }

/* Cert alert rows */
.cert-alert-row[b-g72hskf3py] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 6px;
    border-left: 4px solid;
}

.cert-alert-critical[b-g72hskf3py] {
    background: color-mix(in srgb, var(--ds-danger, #E53E3E) 8%, transparent);
    border-color: var(--ds-danger, #E53E3E);
}

.cert-alert-warning[b-g72hskf3py] {
    background: color-mix(in srgb, var(--ds-warning, #D97706) 8%, transparent);
    border-color: var(--ds-warning, #D97706);
}

/* Error accordion */
.error-list[b-g72hskf3py] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.error-group[b-g72hskf3py] {
    border: 1px solid var(--ds-border, #E2E8F0);
    border-radius: 6px;
    overflow: hidden;
}

.error-group-header[b-g72hskf3py] {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: var(--ds-bg-muted, #F7FAFC);
    cursor: pointer;
    user-select: none;
    list-style: none;
}

.error-group-header[b-g72hskf3py]::-webkit-details-marker { display: none; }

.error-group-body[b-g72hskf3py] {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.error-item[b-g72hskf3py] {
    padding: 6px 0;
    border-bottom: 1px solid var(--ds-border, #E2E8F0);
}

.error-item:last-child[b-g72hskf3py] { border-bottom: none; }

/* Grid cols override */
.p4-grid-cols-2[b-g72hskf3py] { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1200px) {
    .alanube-kpi-strip[b-g72hskf3py] { grid-template-columns: repeat(2, 1fr); }
    .p4-grid-cols-2[b-g72hskf3py] { grid-template-columns: 1fr; }
}
/* /P4Software.CifraHq.Web/Components/Pages/Admin/Alanube/AlanubeResellerSetup.razor.rz.scp.css */
.reseller-form[b-6ekon88o6r] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 640px;
}

.p4-form-group[b-6ekon88o6r] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.p4-card-footer[b-6ekon88o6r] {
    padding: 16px 24px;
    border-top: 1px solid var(--ds-border, #E2E8F0);
}

.token-input-wrapper[b-6ekon88o6r] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.token-toggle[b-6ekon88o6r] {
    flex-shrink: 0;
}

.p4-helper-text[b-6ekon88o6r] {
    font-size: 12px;
    color: var(--ds-text-muted, #718096);
}
/* /P4Software.CifraHq.Web/Components/Pages/Admin/Alanube/AlanubeTools.razor.rz.scp.css */
.alanube-tools-result[b-4pntf8q55g] {
    margin-top: var(--space-4, 16px);
    padding: var(--space-3, 12px);
    background: var(--ds-surface-variant, #f3f4f6);
    border: 1px solid var(--ds-outline-variant, #e5e7eb);
    border-radius: var(--ds-radius-card, 8px);
    font-size: 12px;
    line-height: 1.5;
    max-height: 320px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

.alanube-tools-grid[b-4pntf8q55g] {
    align-items: start;
}
/* /P4Software.CifraHq.Web/Components/Pages/Admin/Dashboard.razor.rz.scp.css */
/* P4 Design System v1.0 - Admin Dashboard Styles */
/* Per Blazor-Shell-LookFeel.pdf specifications */

/* =====================================================
   CSS Custom Properties - P4 Design Tokens
   ===================================================== */

/* Page Layout */
.p4-dashboard[b-3tw3a3hmul] {
    padding: var(--p4-content-padding, 24px);
    max-width: var(--p4-content-max-width, 1400px);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =====================================================
   Dashboard Header
   ===================================================== */
.p4-dashboard-header[b-3tw3a3hmul] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.p4-dashboard-title[b-3tw3a3hmul] {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--p4-text-primary, #1A202C);
    margin: 0;
}

.p4-dashboard-actions[b-3tw3a3hmul] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.p4-last-updated[b-3tw3a3hmul] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--p4-text-muted, #718096);
}

.p4-refresh-indicator[b-3tw3a3hmul] {
    color: var(--p4-success-green, #38A169);
}

/* =====================================================
   Stat Cards - Per PDF Page 9 (KPI Cards)
   ===================================================== */
.p4-stats-grid[b-3tw3a3hmul] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--p4-grid-gap, 16px);
    margin-bottom: 24px;
}

@media (max-width: 1200px) {
    .p4-stats-grid[b-3tw3a3hmul] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .p4-stats-grid[b-3tw3a3hmul] {
        grid-template-columns: 1fr;
    }
}

.p4-stat-card[b-3tw3a3hmul] {
    background: var(--p4-white, #FFFFFF);
    border-radius: var(--p4-radius-card, 16px);
    box-shadow: var(--p4-shadow-subtle, 0 4px 12px rgba(0,0,0,0.08));
    border: 1px solid var(--p4-border-gray, #E2E8F0);
    padding: var(--p4-card-padding, 20px);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p4-stat-card[b-3tw3a3hmul]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.p4-stat-card:hover[b-3tw3a3hmul] {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.p4-stat-card-clickable[b-3tw3a3hmul] {
    cursor: pointer;
}

/* Stat Card Color Variants */
.p4-stat-card-primary[b-3tw3a3hmul]::before {
    background: var(--p4-primary-blue, #3182CE);
}

.p4-stat-card-success[b-3tw3a3hmul]::before {
    background: var(--p4-success-green, #38A169);
}

.p4-stat-card-warning[b-3tw3a3hmul]::before {
    background: var(--p4-warning-orange, #DD6B20);
}

.p4-stat-card-danger[b-3tw3a3hmul]::before {
    background: var(--p4-error-red, #E53E3E);
}

.p4-stat-card-secondary[b-3tw3a3hmul]::before {
    background: var(--p4-purple, #805AD5);
}

.p4-stat-card-content[b-3tw3a3hmul] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.p4-stat-card-info[b-3tw3a3hmul] {
    flex: 1;
}

.p4-stat-card-label[b-3tw3a3hmul] {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--p4-text-muted, #718096);
    margin-bottom: 8px;
}

.p4-stat-card-value[b-3tw3a3hmul] {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
}

.p4-stat-card-value-primary[b-3tw3a3hmul] {
    color: var(--p4-primary-blue, #3182CE);
}

.p4-stat-card-value-success[b-3tw3a3hmul] {
    color: var(--p4-success-green, #38A169);
}

.p4-stat-card-value-warning[b-3tw3a3hmul] {
    color: var(--p4-warning-orange, #DD6B20);
}

.p4-stat-card-value-danger[b-3tw3a3hmul] {
    color: var(--p4-error-red, #E53E3E);
}

.p4-stat-card-value-secondary[b-3tw3a3hmul] {
    color: var(--p4-purple, #805AD5);
}

.p4-stat-card-trend[b-3tw3a3hmul] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
}

.p4-stat-card-trend-up[b-3tw3a3hmul] {
    color: var(--p4-success-green, #38A169);
}

.p4-stat-card-trend-down[b-3tw3a3hmul] {
    color: var(--p4-error-red, #E53E3E);
}

.p4-stat-card-trend-neutral[b-3tw3a3hmul] {
    color: var(--p4-text-muted, #718096);
}

.p4-stat-card-icon[b-3tw3a3hmul] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.p4-stat-card-icon-primary[b-3tw3a3hmul] {
    background: rgba(49, 130, 206, 0.1);
    color: var(--p4-primary-blue, #3182CE);
}

.p4-stat-card-icon-success[b-3tw3a3hmul] {
    background: rgba(56, 161, 105, 0.1);
    color: var(--p4-success-green, #38A169);
}

.p4-stat-card-icon-warning[b-3tw3a3hmul] {
    background: rgba(221, 107, 32, 0.1);
    color: var(--p4-warning-orange, #DD6B20);
}

.p4-stat-card-icon-danger[b-3tw3a3hmul] {
    background: rgba(229, 62, 62, 0.1);
    color: var(--p4-error-red, #E53E3E);
}

.p4-stat-card-icon-secondary[b-3tw3a3hmul] {
    background: rgba(128, 90, 213, 0.1);
    color: var(--p4-purple, #805AD5);
}

.p4-stat-card-icon .e-icons[b-3tw3a3hmul] {
    font-size: 22px;
}

/* =====================================================
   Content Grid Layout
   ===================================================== */
.p4-content-grid[b-3tw3a3hmul] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--p4-grid-gap, 16px);
    margin-bottom: 24px;
}

@media (max-width: 992px) {
    .p4-content-grid[b-3tw3a3hmul] {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Cards - Per PDF Page 7
   ===================================================== */
.p4-card[b-3tw3a3hmul] {
    background: var(--p4-white, #FFFFFF);
    border-radius: var(--p4-radius-card, 16px);
    box-shadow: var(--p4-shadow-subtle, 0 4px 12px rgba(0,0,0,0.08));
    border: 1px solid var(--p4-border-gray, #E2E8F0);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.p4-card-header[b-3tw3a3hmul] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--p4-card-padding, 20px);
    border-bottom: 1px solid var(--p4-border-gray, #E2E8F0);
}

.p4-card-title[b-3tw3a3hmul] {
    font-size: 16px;
    font-weight: 600;
    color: var(--p4-text-primary, #1A202C);
    margin: 0;
}

.p4-card-body[b-3tw3a3hmul] {
    padding: var(--p4-card-padding, 20px);
    flex: 1;
}

/* =====================================================
   Data Table - Licenses by Country
   ===================================================== */
.p4-table[b-3tw3a3hmul] {
    width: 100%;
    border-collapse: collapse;
}

.p4-table th[b-3tw3a3hmul] {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--p4-text-muted, #718096);
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid var(--p4-border-gray, #E2E8F0);
}

.p4-table th.text-end[b-3tw3a3hmul] {
    text-align: right;
}

.p4-table td[b-3tw3a3hmul] {
    font-size: 14px;
    color: var(--p4-text-primary, #1A202C);
    padding: 12px 16px;
    border-bottom: 1px solid var(--p4-border-gray, #E2E8F0);
}

.p4-table td.text-end[b-3tw3a3hmul] {
    text-align: right;
}

.p4-table tbody tr:hover[b-3tw3a3hmul] {
    background: var(--p4-light-gray, #F7FAFC);
}

.p4-table tbody tr:last-child td[b-3tw3a3hmul] {
    border-bottom: none;
}

.p4-country-cell[b-3tw3a3hmul] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.p4-country-flag[b-3tw3a3hmul] {
    font-size: 18px;
    line-height: 1;
}

/* =====================================================
   Top Tenants List
   ===================================================== */
.p4-tenant-list[b-3tw3a3hmul] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.p4-tenant-item[b-3tw3a3hmul] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--p4-light-gray, #F7FAFC);
    border-radius: var(--p4-radius-small-card, 12px);
    transition: background 0.2s ease;
}

.p4-tenant-item:hover[b-3tw3a3hmul] {
    background: var(--p4-border-gray, #E2E8F0);
}

.p4-tenant-info[b-3tw3a3hmul] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.p4-tenant-avatar[b-3tw3a3hmul] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--p4-primary-blue, #3182CE);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.p4-tenant-details[b-3tw3a3hmul] {
    display: flex;
    flex-direction: column;
}

.p4-tenant-name[b-3tw3a3hmul] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--p4-text-primary, #1A202C);
}

.p4-tenant-alias[b-3tw3a3hmul] {
    font-size: 13px;
    color: var(--p4-text-muted, #718096);
}

.p4-tenant-meta[b-3tw3a3hmul] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =====================================================
   Badges - Per PDF Page 8
   ===================================================== */
.p4-badge[b-3tw3a3hmul] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.p4-badge-primary[b-3tw3a3hmul] {
    background: var(--p4-primary-blue, #3182CE);
    color: white;
}

.p4-badge-success[b-3tw3a3hmul] {
    background: rgba(56, 161, 105, 0.1);
    color: var(--p4-success-green, #38A169);
}

.p4-badge-warning[b-3tw3a3hmul] {
    background: rgba(221, 107, 32, 0.1);
    color: var(--p4-warning-orange, #DD6B20);
}

.p4-badge-danger[b-3tw3a3hmul] {
    background: rgba(229, 62, 62, 0.1);
    color: var(--p4-error-red, #E53E3E);
}

.p4-badge-secondary[b-3tw3a3hmul] {
    background: var(--p4-text-muted, #718096);
    color: white;
}

.p4-badge-info[b-3tw3a3hmul] {
    background: rgba(49, 130, 206, 0.1);
    color: var(--p4-primary-blue, #3182CE);
}

/* =====================================================
   System Health Panel
   ===================================================== */
.p4-health-list[b-3tw3a3hmul] {
    display: flex;
    flex-direction: column;
}

.p4-health-item[b-3tw3a3hmul] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--p4-border-gray, #E2E8F0);
}

.p4-health-item:last-child[b-3tw3a3hmul] {
    border-bottom: none;
}

.p4-health-label[b-3tw3a3hmul] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--p4-text-primary, #1A202C);
}

.p4-health-label .e-icons[b-3tw3a3hmul] {
    font-size: 18px;
}

.p4-health-icon-primary[b-3tw3a3hmul] {
    color: var(--p4-primary-blue, #3182CE);
}

.p4-health-icon-info[b-3tw3a3hmul] {
    color: #0BC5EA;
}

.p4-health-icon-secondary[b-3tw3a3hmul] {
    color: var(--p4-text-muted, #718096);
}

.p4-health-icon-success[b-3tw3a3hmul] {
    color: var(--p4-success-green, #38A169);
}

.p4-health-status[b-3tw3a3hmul] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.p4-health-count[b-3tw3a3hmul] {
    font-size: 13px;
    color: var(--p4-text-muted, #718096);
}

/* =====================================================
   Quick Actions Panel
   ===================================================== */
.p4-quick-actions[b-3tw3a3hmul] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.p4-action-btn[b-3tw3a3hmul] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: var(--p4-white, #FFFFFF);
    border: 1px solid var(--p4-border-gray, #E2E8F0);
    border-radius: var(--p4-radius-button, 8px);
    font-size: 14px;
    font-weight: 500;
    color: var(--p4-text-primary, #1A202C);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.p4-action-btn:hover[b-3tw3a3hmul] {
    background: var(--p4-light-gray, #F7FAFC);
    border-color: var(--p4-primary-blue, #3182CE);
    color: var(--p4-primary-blue, #3182CE);
}

.p4-action-btn .e-icons[b-3tw3a3hmul] {
    font-size: 16px;
}

.p4-action-btn-primary[b-3tw3a3hmul] {
    background: var(--p4-primary-blue, #3182CE);
    border-color: var(--p4-primary-blue, #3182CE);
    color: white;
}

.p4-action-btn-primary:hover[b-3tw3a3hmul] {
    background: var(--p4-primary-blue-hover, #2B6CB0);
    border-color: var(--p4-primary-blue-hover, #2B6CB0);
    color: white;
}

/* =====================================================
   Empty State
   ===================================================== */
.p4-empty-state[b-3tw3a3hmul] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    text-align: center;
}

.p4-empty-state-icon[b-3tw3a3hmul] {
    font-size: 48px;
    color: var(--p4-text-caption, #A0AEC0);
    margin-bottom: 12px;
}

.p4-empty-state-text[b-3tw3a3hmul] {
    font-size: 14px;
    color: var(--p4-text-muted, #718096);
    margin: 0;
}

/* =====================================================
   Alert Box
   ===================================================== */
.p4-alert[b-3tw3a3hmul] {
    padding: 14px 16px;
    border-radius: var(--p4-radius-small-card, 12px);
    font-size: 14px;
}

.p4-alert-info[b-3tw3a3hmul] {
    background: rgba(49, 130, 206, 0.1);
    color: var(--p4-primary-blue, #3182CE);
    border: 1px solid rgba(49, 130, 206, 0.2);
}

/* =====================================================
   Syncfusion Component Overrides
   ===================================================== */
[b-3tw3a3hmul] .e-btn.e-outline {
    border-radius: var(--p4-radius-button, 8px);
}

[b-3tw3a3hmul] .e-btn.e-small {
    padding: 6px 12px;
    font-size: 13px;
}

[b-3tw3a3hmul] .e-spinner-pane {
    background: transparent;
}
/* /P4Software.CifraHq.Web/Components/Pages/Admin/Profile.razor.rz.scp.css */
/* =====================================================
   Profile Photo Upload Styles
   ===================================================== */

.profile-photo-upload-container[b-1gmpbzwnf7] {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.profile-photo-preview-wrapper[b-1gmpbzwnf7] {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: transform 200ms ease-out;
}

.profile-photo-preview-wrapper:hover[b-1gmpbzwnf7] {
    transform: scale(1.05);
}

.profile-photo-circular[b-1gmpbzwnf7] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--rz-primary);
}

.photo-actions[b-1gmpbzwnf7] {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: white;
    padding: 8px;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 200ms ease-out;
}

.profile-photo-preview-wrapper:hover .photo-actions[b-1gmpbzwnf7] {
    opacity: 1;
}

.profile-photo-placeholder-circle[b-1gmpbzwnf7] {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--rz-base-100);
    border: 2px dashed var(--rz-base-400);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 200ms ease-out;
}

.profile-photo-placeholder-circle:hover[b-1gmpbzwnf7] {
    border-color: var(--rz-primary);
    background: var(--rz-base-50);
    transform: scale(1.05);
}

.upload-hint-text[b-1gmpbzwnf7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8px;
    color: var(--rz-text-disabled-color);
    gap: 4px;
}

.profile-photo-placeholder-circle:hover .upload-hint-text[b-1gmpbzwnf7] {
    color: var(--rz-primary);
}

/* =====================================================
   Uploader Modal Styles
   ===================================================== */

.uploader-modal-overlay[b-1gmpbzwnf7] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.uploader-modal-content[b-1gmpbzwnf7] {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 400px;
    max-width: 90%;
    animation: slideIn-b-1gmpbzwnf7 200ms ease-out;
}

@keyframes slideIn-b-1gmpbzwnf7 {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark theme support */
[data-theme="dark"] .uploader-modal-content[b-1gmpbzwnf7] {
    background: var(--rz-base-800);
}

[data-theme="dark"] .photo-actions[b-1gmpbzwnf7] {
    background: var(--rz-base-800);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .profile-photo-placeholder-circle[b-1gmpbzwnf7] {
    background: var(--rz-base-800);
    border-color: var(--rz-base-600);
}

[data-theme="dark"] .profile-photo-placeholder-circle:hover[b-1gmpbzwnf7] {
    border-color: var(--rz-primary);
    background: var(--rz-base-700);
}
/* /P4Software.CifraHq.Web/Components/Pages/Admin/Tenants/TenantDetails.razor.rz.scp.css */
/* ── Legacy inline styles lifted out of the markup (lint: inline-style) ── */

/* Keeps the License Server label aligned with the form labels above it. */
.p4-license-server-label[b-ih963eq9ru] {
    min-width: 120px;
}

/* The file input is triggered from a button; it is never shown. */
.p4-hidden-file-input[b-ih963eq9ru] {
    display: none;
}

/* ── Worker host strips (one row per registered agent machine) ── */

/* One block per host: the strip, then that host's tasks directly beneath it. */
.p4-host-block[b-ih963eq9ru] {
    margin-bottom: var(--space-5);
}

.p4-host-block:last-child[b-ih963eq9ru] {
    margin-bottom: 0;
}

.p4-host-block-empty[b-ih963eq9ru] {
    padding: var(--space-3) var(--space-3) 0 var(--space-6);
}

/* The task grid belongs to the strip above it, so it sits flush under it. */
.p4-host-task-grid[b-ih963eq9ru] {
    margin-left: var(--space-6);
    margin-top: var(--space-2);
}

.p4-host-strip[b-ih963eq9ru] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border: 1px solid var(--ds-outline-variant);
    border-radius: var(--ds-radius-card);
    background: var(--ds-surface-container-low);
}

.p4-host-strip-main[b-ih963eq9ru] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.p4-host-strip-meta[b-ih963eq9ru] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Online / offline dot. Colour is the only difference, so both states also carry a
   tooltip in the markup -- colour alone is not an accessible signal. */
.p4-host-dot[b-ih963eq9ru] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.p4-host-dot-online[b-ih963eq9ru] {
    background: var(--ds-success);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ds-success) 20%, transparent);
}

.p4-host-dot-offline[b-ih963eq9ru] {
    background: var(--ds-outline);
}
/* /P4Software.CifraHq.Web/Components/Pages/Admin/Tenants/TenantImpersonate.razor.rz.scp.css */
/* Centered status card for the impersonation bridge page. */
.tenant-impersonate[b-zm7vujlp02] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.tenant-impersonate-card[b-zm7vujlp02] {
    min-width: 320px;
    max-width: 480px;
    padding: var(--space-8, 32px);
}

.tenant-impersonate-error-icon[b-zm7vujlp02] {
    font-size: 56px;
    color: var(--ds-error);
}
/* /P4Software.CifraHq.Web/Components/Pages/Admin/Tenants/TenantList.razor.rz.scp.css */
/* TenantList Component Scoped Styles */
/* Global tokens, page header, breadcrumb, title — handled by p4-design-system.css */

.p4-section-title[b-f2ox7h18tf] {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--p4-text-primary);
}

.p4-card-title[b-f2ox7h18tf] {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--p4-text-primary);
    margin: 0;
}

.p4-body-text[b-f2ox7h18tf] {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--p4-text-secondary);
}

.p4-small-text[b-f2ox7h18tf] {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--p4-text-secondary);
}

.p4-caption[b-f2ox7h18tf] {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--p4-text-caption);
}

/* Buttons */
.p4-btn[b-f2ox7h18tf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--p4-radius-button);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

.p4-btn-primary[b-f2ox7h18tf] {
    background: var(--p4-primary-blue);
    color: white;
}

.p4-btn-primary:hover[b-f2ox7h18tf] {
    background: var(--p4-primary-blue-hover);
}

.p4-btn-secondary[b-f2ox7h18tf] {
    background: var(--p4-light-gray);
    color: var(--p4-text-secondary);
    border: 1px solid var(--p4-border-gray);
}

.p4-btn-secondary:hover[b-f2ox7h18tf] {
    background: var(--p4-border-gray);
}

/* Card */
.p4-card[b-f2ox7h18tf] {
    background: var(--p4-white);
    border-radius: var(--p4-radius-card);
    box-shadow: var(--p4-shadow-subtle);
    border: 1px solid var(--p4-border-gray);
    margin: 0 var(--p4-content-padding);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.p4-card-body[b-f2ox7h18tf] {
    padding: var(--p4-card-padding);
}

.p4-grid-container[b-f2ox7h18tf] {
    height: calc(100vh - 280px);
}

/* Card Header - Per PDF Page 12 Data Table */
.p4-card-header[b-f2ox7h18tf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--p4-card-padding);
    border-bottom: 1px solid var(--p4-border-gray);
}

.p4-card-header-title[b-f2ox7h18tf] {
    font-size: 16px;
    font-weight: 600;
    color: var(--p4-text-primary);
    margin: 0;
}

.p4-card-header-actions[b-f2ox7h18tf] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.p4-card-search[b-f2ox7h18tf] {
    position: relative;
}

.p4-card-search input[b-f2ox7h18tf] {
    padding: 8px 12px 8px 36px;
    border: 1px solid var(--p4-border-gray);
    border-radius: var(--p4-radius-input);
    font-size: 14px;
    width: 240px;
}

.p4-card-search input:focus[b-f2ox7h18tf] {
    outline: none;
    border-color: var(--p4-primary-blue);
}

.p4-card-search i[b-f2ox7h18tf] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--p4-text-muted);
}

/* P4 Badge & Status Tags - Per PDF Page 8, 12 */
.p4-badge[b-f2ox7h18tf] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

/* Status Badges */
.p4-badge-picking[b-f2ox7h18tf] {
    background: rgba(49, 130, 206, 0.1);
    color: var(--p4-primary-blue);
}

.p4-badge-completed[b-f2ox7h18tf],
.p4-badge-active[b-f2ox7h18tf] {
    background: rgba(56, 161, 105, 0.1);
    color: var(--p4-success-green);
}

.p4-badge-pending[b-f2ox7h18tf] {
    background: rgba(221, 107, 32, 0.1);
    color: var(--p4-warning-orange);
}

.p4-badge-urgent[b-f2ox7h18tf],
.p4-badge-inactive[b-f2ox7h18tf] {
    background: rgba(229, 62, 62, 0.1);
    color: var(--p4-error-red);
}

.p4-badge-draft[b-f2ox7h18tf] {
    background: rgba(113, 128, 150, 0.1);
    color: var(--p4-text-muted);
}

/* Priority Badges */
.p4-priority-high[b-f2ox7h18tf] {
    color: var(--p4-error-red);
    font-weight: 500;
}

.p4-priority-normal[b-f2ox7h18tf] {
    color: var(--p4-text-muted);
}

.p4-priority-rush[b-f2ox7h18tf] {
    color: var(--p4-warning-orange);
    font-weight: 500;
}

/* Legacy badge overrides for backward compatibility */
[b-f2ox7h18tf] .badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 4px;
}

[b-f2ox7h18tf] .bg-success {
    background-color: var(--p4-success-green) !important;
}

[b-f2ox7h18tf] .bg-danger {
    background-color: var(--p4-error-red) !important;
}

[b-f2ox7h18tf] .bg-primary {
    background-color: var(--p4-primary-blue) !important;
}

[b-f2ox7h18tf] .bg-secondary {
    background-color: var(--p4-text-muted) !important;
}

[b-f2ox7h18tf] .bg-success-subtle {
    background-color: rgba(56, 161, 105, 0.1) !important;
}

[b-f2ox7h18tf] .bg-warning-subtle {
    background-color: rgba(221, 107, 32, 0.1) !important;
}

[b-f2ox7h18tf] .bg-info-subtle {
    background-color: rgba(49, 130, 206, 0.1) !important;
}

[b-f2ox7h18tf] .text-success {
    color: var(--p4-success-green) !important;
}

[b-f2ox7h18tf] .text-danger {
    color: var(--p4-error-red) !important;
}

[b-f2ox7h18tf] .text-warning {
    color: var(--p4-warning-orange) !important;
}

[b-f2ox7h18tf] .text-info {
    color: var(--p4-primary-blue) !important;
}

[b-f2ox7h18tf] code.small {
    font-size: 0.75rem;
    background: var(--p4-light-gray);
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

/* Hide grid toolbar since we use page-level buttons */
[b-f2ox7h18tf] .e-grid .e-toolbar {
    display: none;
}

/* Progress Messages */
.progress-messages div[b-f2ox7h18tf] {
    padding: 2px 0;
    border-bottom: 1px solid #eee;
}

.progress-messages div:last-child[b-f2ox7h18tf] {
    border-bottom: none;
}

/* Delete modal styling */
.delete-icon[b-f2ox7h18tf] {
    width: 64px;
    height: 64px;
    background: rgba(229, 62, 62, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--p4-error-red);
}

/* P4 Form Styles */
.p4-form[b-f2ox7h18tf] {
    padding: 8px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.p4-form-group[b-f2ox7h18tf] {
    margin-bottom: 16px;
}

.p4-form-label[b-f2ox7h18tf] {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--p4-text-secondary);
    margin-bottom: 6px;
}

.p4-form-input[b-f2ox7h18tf],
.p4-form-select[b-f2ox7h18tf] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--p4-border-gray);
    border-radius: 4px;
    font-size: 14px;
    color: var(--p4-text-primary);
    transition: border-color 0.2s;
}

.p4-form-input:focus[b-f2ox7h18tf],
.p4-form-select:focus[b-f2ox7h18tf] {
    outline: none;
    border-color: var(--p4-primary-blue);
}

.p4-form-input:disabled[b-f2ox7h18tf] {
    background: var(--p4-light-gray);
    cursor: not-allowed;
}

.p4-form-input[b-f2ox7h18tf]::placeholder {
    color: var(--p4-text-muted);
}

.p4-form-row[b-f2ox7h18tf] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.p4-form-hint[b-f2ox7h18tf] {
    display: block;
    font-size: 12px;
    color: var(--p4-text-muted);
    margin-top: 4px;
}

.p4-form-error[b-f2ox7h18tf] {
    background: rgba(229, 62, 62, 0.1);
    border: 1px solid var(--p4-error-red);
    border-radius: 4px;
    padding: 12px;
    margin-top: 16px;
    color: var(--p4-error-red);
    font-size: 13px;
}

/* Modal Styles - Per PDF Page 7 */
[b-f2ox7h18tf] .p4-modal .e-dialog {
    border-radius: var(--p4-radius-modal) !important;
    overflow: hidden;
}

[b-f2ox7h18tf] .p4-modal .e-dlg-header {
    font-size: 16px;
    font-weight: 600;
    color: var(--p4-text-primary);
}

[b-f2ox7h18tf] .p4-modal .e-dlg-header-content {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--p4-border-gray);
}

[b-f2ox7h18tf] .p4-modal .e-dlg-content {
    padding: 20px 24px;
}

[b-f2ox7h18tf] .p4-modal .e-footer-content {
    padding: 16px 24px 20px;
    border-top: 1px solid var(--p4-border-gray);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Content max-width - Per PDF Page 7 */
.p4-content-wrapper[b-f2ox7h18tf] {
    max-width: var(--p4-content-max-width);
}

/* Alias cell with status icons */
.p4-alias-cell[b-f2ox7h18tf] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.p4-alias-cell .e-icons[b-f2ox7h18tf] {
    font-size: 18px;
}

/* Link styling in grid */
.p4-link[b-f2ox7h18tf] {
    color: var(--p4-primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.p4-link:hover[b-f2ox7h18tf] {
    text-decoration: underline;
}

.p4-link-icon[b-f2ox7h18tf] {
    color: var(--p4-primary-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.p4-link-icon:hover[b-f2ox7h18tf] {
    color: var(--p4-primary-blue-hover);
}

.p4-link-icon .e-icons[b-f2ox7h18tf] {
    font-size: 20px;
}

/* Status icon colors */
.p4-icon-success[b-f2ox7h18tf] {
    color: var(--p4-success-green);
}

.p4-icon-danger[b-f2ox7h18tf] {
    color: var(--p4-error-red);
}

.p4-icon-warning[b-f2ox7h18tf] {
    color: var(--p4-warning-orange);
}

.p4-icon-muted[b-f2ox7h18tf] {
    color: var(--p4-text-caption);
}

/* Delete confirmation styling */
.delete-confirmation[b-f2ox7h18tf] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.delete-warning[b-f2ox7h18tf] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(229, 62, 62, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(229, 62, 62, 0.2);
}

.delete-warning .e-icons[b-f2ox7h18tf] {
    color: var(--p4-error-red);
    font-size: 24px;
    flex-shrink: 0;
}

.delete-warning-text[b-f2ox7h18tf] {
    font-size: 14px;
    color: var(--p4-text-secondary);
    line-height: 1.5;
}

.delete-warning-text strong[b-f2ox7h18tf] {
    color: var(--p4-text-primary);
}

.delete-confirm-input[b-f2ox7h18tf] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.delete-confirm-input label[b-f2ox7h18tf] {
    font-size: 14px;
    font-weight: 500;
    color: var(--p4-text-secondary);
}

/* Tenant form dialog */
.tenant-form[b-f2ox7h18tf] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tenant-form .e-float-input[b-f2ox7h18tf],
.tenant-form .e-input-group[b-f2ox7h18tf] {
    margin-bottom: 0;
}

/* Form section divider */
.form-section-label[b-f2ox7h18tf] {
    font-size: 12px;
    font-weight: 600;
    color: var(--p4-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
    margin-bottom: 4px;
}

/* Readonly field styling */
[b-f2ox7h18tf] .readonly-field .e-input {
    background: var(--p4-light-gray);
    color: var(--p4-text-muted);
}

/* Progress dialog improvements */
.progress-messages[b-f2ox7h18tf] {
    max-height: 300px;
    overflow-y: auto;
    font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    line-height: 1.6;
    background: var(--p4-light-gray);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--p4-border-gray);
}
/* /P4Software.CifraHq.Web/Components/Pages/Storefront/CartPage.razor.rz.scp.css */
/* Storefront cart page shell. The cart itself is styled by the CartView island's own stylesheet.
   Colors and spacing come from --ds-* tokens only. */

.sf-cart-page[b-3ffi23151s] {
    display: flex;
    flex-direction: column;
    gap: var(--ds-section-gap);
    max-width: 960px;
}

.sf-cart-page-title[b-3ffi23151s] {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ds-on-surface);
}

@media (max-width: 767px) {
    .sf-cart-page-title[b-3ffi23151s] {
        font-size: 1.375rem;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Storefront/CatalogPage.razor.rz.scp.css */
/* Storefront catalog. The rules without a [data-layout] are the classic catalog, exactly as the store has drawn it (Clásico
   is today's store, by Glenn's ruling); each layout's own rules follow, from its mockup. Colours, shapes and spacing come
   from --ds-* tokens only. The product card itself is StorefrontProductCard's. */

/* Every store page heading shares one size: 1.75rem, 1.375rem on a phone. */
.sf-catalog-title[b-27ebesolh2] {
    margin: 0 0 var(--ds-section-gap);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ds-on-surface);
}

/* "Payment received" notice for a shopper back from the payment page. Same recipe as the store's other success
   messages (the cart confirmation, the checkout's thank-you card): tonal success container, 4px success accent. */
.sf-catalog-notice[b-27ebesolh2] {
    margin: 0 0 var(--ds-section-gap);
    padding: 10px 12px;
    color: var(--ds-on-surface);
    background: var(--ds-success-container);
    border-left: 4px solid var(--ds-success);
    border-radius: var(--ds-radius-input);
    overflow-wrap: anywhere;
}

/* Filter bar above the grid. Plain HTML controls with the same recipe as the product page's add-to-cart controls
   (CartAddButton.razor.css): 44px touch targets, a field border with 3:1 contrast, the primary button. The fields wrap
   onto as many rows as the width needs; on a phone each takes a full row. */
.sf-filters[b-27ebesolh2] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--ds-form-row-gap) var(--ds-card-gap);
    margin: 0 0 var(--ds-section-gap);
    padding: 16px;
    background: var(--ds-surface-container-low);
    border: 1px solid var(--ds-border-default);
    border-radius: var(--ds-radius-card);
}

.sf-filter-field[b-27ebesolh2] {
    display: flex;
    flex: 1 1 180px;
    flex-direction: column;
    gap: 4px;
    /* Lets a long category name shrink the select instead of pushing the bar wider than the page. */
    min-width: 0;
}

.sf-filter-search[b-27ebesolh2] {
    flex: 2 1 240px;
}

.sf-filter-label[b-27ebesolh2] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ds-on-surface-muted);
}

.sf-filter-input[b-27ebesolh2],
.sf-filter-select[b-27ebesolh2] {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    font: inherit;
    color: var(--ds-on-surface);
    background: var(--ds-surface);
    /* A field border needs 3:1 against the page to be found (WCAG 1.4.11); the pale default border is 1.2:1. */
    border: 1px solid var(--ds-on-surface-muted);
    border-radius: var(--ds-radius-input);
}

.sf-filter-check[b-27ebesolh2] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--ds-on-surface);
    cursor: pointer;
}

.sf-filter-checkbox[b-27ebesolh2] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--ds-primary);
    cursor: pointer;
}

.sf-filter-actions[b-27ebesolh2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px var(--ds-card-gap);
}

.sf-filter-apply[b-27ebesolh2] {
    min-height: 44px;
    padding: 10px 24px;
    font: inherit;
    font-weight: 600;
    color: var(--ds-on-primary);
    background: var(--ds-primary);
    border: none;
    border-radius: var(--ds-radius-button);
    cursor: pointer;
}

.sf-filter-apply:hover[b-27ebesolh2] {
    background: var(--ds-primary-hover);
}

.sf-filter-apply:active[b-27ebesolh2] {
    background: var(--ds-primary-pressed);
}

/* "Clear filters" and the empty state's "Show out of stock": text links, underlined so they read as links. */
.sf-filter-link[b-27ebesolh2] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    color: var(--ds-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sf-filter-input:focus-visible[b-27ebesolh2],
.sf-filter-select:focus-visible[b-27ebesolh2],
.sf-filter-checkbox:focus-visible[b-27ebesolh2],
.sf-filter-apply:focus-visible[b-27ebesolh2],
.sf-filter-link:focus-visible[b-27ebesolh2] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

.sf-empty[b-27ebesolh2] {
    margin: 0;
    padding: 48px var(--ds-card-padding);
    text-align: center;
    color: var(--ds-on-surface-muted);
    background: var(--ds-surface-container-low);
    border: 1px solid var(--ds-border-default);
    border-radius: var(--ds-radius-card);
}

.sf-empty-text[b-27ebesolh2] {
    margin: 0;
}

.sf-empty-actions[b-27ebesolh2] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 24px;
    margin: 12px 0 0;
}

.sf-grid[b-27ebesolh2] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--ds-card-gap);
}

.sf-grid-item[b-27ebesolh2] {
    display: flex;
}

.sf-pager[b-27ebesolh2] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ds-card-gap);
    margin-top: var(--ds-section-gap);
}

.sf-pager-link[b-27ebesolh2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid var(--ds-outline);
    border-radius: var(--ds-radius-button);
    font-weight: 600;
    color: var(--ds-primary);
    text-decoration: none;
}

.sf-pager-link:hover[b-27ebesolh2],
.sf-pager-link:focus-visible[b-27ebesolh2] {
    background: var(--ds-primary-8);
}

.sf-pager-link:focus-visible[b-27ebesolh2] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

.sf-pager-current[b-27ebesolh2] {
    color: var(--ds-on-surface-muted);
}

@media (max-width: 767px) {
    .sf-catalog-title[b-27ebesolh2] {
        font-size: 1.375rem;
    }
}

@media (max-width: 479px) {
    /* The filters stack, one full-width row each, and the Apply button takes the row's width so it is easy to hit. */
    .sf-filters[b-27ebesolh2] {
        padding: 12px;
    }

    .sf-filter-field[b-27ebesolh2],
    .sf-filter-search[b-27ebesolh2],
    .sf-filter-actions[b-27ebesolh2] {
        flex-basis: 100%;
    }

    .sf-filter-apply[b-27ebesolh2] {
        flex: 1 1 auto;
    }

    /* Two cards per row on a phone instead of one oversized card. */
    .sf-grid[b-27ebesolh2] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* ===================================================================================================================
   Shared by the layouts
   =================================================================================================================== */

/* A label beside its select, on one line (Noche, Mercado, Boutique, Galería, Fresco, Corporativo). */
.sf-filter-inline[b-27ebesolh2] {
    flex: 0 1 auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.sf-filter-inline .sf-filter-select[b-27ebesolh2] {
    width: auto;
    min-width: 0;
    max-width: 100%;
}

/* ---- The category row under the header (Boutique, Corporativo), rendered into the layout's masthead section ---------- */

.sf-catnav[b-27ebesolh2] {
    padding-inline: max(16px, calc((100% - 1200px) / 2 + var(--ds-page-padding)));
}

.sf-catnav-list[b-27ebesolh2] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-catnav-link[b-27ebesolh2] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ds-on-surface);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.sf-catnav-link:hover[b-27ebesolh2] {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.sf-catnav-link[aria-current][b-27ebesolh2] {
    font-weight: 700;
    color: var(--ds-primary);
}

.sf-catnav-link:focus-visible[b-27ebesolh2] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

/* ---- Fresco's category chips ------------------------------------------------------------------------------------ */

.sf-chip-filters[b-27ebesolh2] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 var(--ds-section-gap);
}

.sf-chips-list[b-27ebesolh2] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-chip[b-27ebesolh2] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 0 20px;
    font-weight: 700;
    color: var(--ds-on-surface);
    background: var(--ds-surface-container);
    border: 1px solid var(--ds-border-default);
    border-radius: var(--ds-radius-badge);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.sf-chip:hover[b-27ebesolh2] {
    border-color: var(--ds-on-surface-muted);
}

.sf-chip[aria-current][b-27ebesolh2] {
    color: var(--ds-surface);
    background: var(--ds-on-surface);
    border-color: var(--ds-on-surface);
}

.sf-chip:focus-visible[b-27ebesolh2] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

.sf-chips-sub .sf-chip[b-27ebesolh2] {
    min-height: 40px;
    padding: 0 16px;
    font-weight: 600;
}

.sf-chip-filters .sf-filters[b-27ebesolh2] {
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
}

/* ---- The sidebar (Industrial, Corporativo) ----------------------------------------------------------------------- */

.sf-catalog-body[b-27ebesolh2] {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: var(--ds-section-gap);
    align-items: start;
}

.sf-catalog-results[b-27ebesolh2] {
    min-width: 0;
}

.sf-sidebar .sf-filters[b-27ebesolh2] {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 20px;
    margin: 0;
    padding: 20px;
}

.sf-sidebar .sf-filter-field[b-27ebesolh2] {
    flex: none;
}

.sf-filter-group[b-27ebesolh2] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.sf-filter-legend[b-27ebesolh2] {
    margin-bottom: 8px;
    padding: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--ds-on-surface-muted);
}

.sf-filter-choice[b-27ebesolh2] {
    display: flex;
    align-items: center;
    gap: 10px;
    /* 2.5.8: every choice is a target of 24px or more; the whole line is the label. */
    min-height: 36px;
    color: var(--ds-on-surface);
    cursor: pointer;
    overflow-wrap: anywhere;
}

.sf-filter-choice-parent[b-27ebesolh2] {
    font-weight: 600;
}

.sf-filter-choice-child[b-27ebesolh2] {
    padding-left: 24px;
}

.sf-filter-radio[b-27ebesolh2] {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--ds-primary);
    cursor: pointer;
}

.sf-filter-radio:focus-visible[b-27ebesolh2] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

.sf-sidebar .sf-filter-actions .sf-filter-apply[b-27ebesolh2] {
    flex: 1 1 auto;
}

.sf-results-head[b-27ebesolh2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: var(--ds-card-gap);
}

.sf-results-head .sf-catalog-title[b-27ebesolh2] {
    margin: 0;
}

@media (max-width: 1023px) {
    .sf-catalog-body[b-27ebesolh2] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---- Industrial's header row of column names, in the same columns as its rows (StorefrontProductCard.razor.css) ------ */

.sf-rows-head[b-27ebesolh2] {
    display: none;
}

/* ---- Bento: the hero and the category tiles in one grid of mixed tile sizes ---------------------------------------- */

.sf-bento[b-27ebesolh2] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(190px, auto);
    gap: 16px;
    margin-bottom: var(--ds-section-gap);
}

.sf-bento[b-27ebesolh2] >  .sf-tiles {
    grid-column: 1 / -1;
}

.sf-bento-with-hero[b-27ebesolh2] >  .sf-banner {
    grid-column: span 2;
    grid-row: span 2;
}

.sf-bento-with-hero[b-27ebesolh2] >  .sf-tiles {
    grid-column: span 2;
    grid-row: span 2;
}

.sf-bento[b-27ebesolh2] >  .sf-banner:only-child {
    grid-column: 1 / -1;
    grid-row: auto;
}

@media (max-width: 1023px) {
    .sf-bento[b-27ebesolh2],
    .sf-bento-with-hero[b-27ebesolh2] {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: auto;
    }

    .sf-bento[b-27ebesolh2] >  .sf-banner,
    .sf-bento[b-27ebesolh2] >  .sf-tiles {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}

/* ===================================================================================================================
   Each layout
   =================================================================================================================== */

/* ---- Minimal: a large light title, an underlined filter row over a hairline, four quiet tiles per row --------------- */

.sf-shell[data-layout="minimal"] .sf-catalog-title[b-27ebesolh2] {
    margin-bottom: 40px;
    font-size: 2.75rem;
    font-weight: 500;
    letter-spacing: -1.2px;
}

.sf-shell[data-layout="minimal"] .sf-filters[b-27ebesolh2],
.sf-shell[data-layout="galeria"] .sf-filters[b-27ebesolh2] {
    padding: 0 0 24px;
    gap: 16px 32px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--ds-border-default);
    border-radius: 0;
}

.sf-shell[data-layout="minimal"] .sf-filter-label[b-27ebesolh2] {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* Underlined fields: the bottom rule is the field's boundary, in the text colour (3:1 and more on every theme). */
.sf-shell[data-layout="minimal"] .sf-filter-input[b-27ebesolh2],
.sf-shell[data-layout="minimal"] .sf-filter-select[b-27ebesolh2],
.sf-shell[data-layout="galeria"] .sf-filter-input[b-27ebesolh2],
.sf-shell[data-layout="galeria"] .sf-filter-select[b-27ebesolh2] {
    padding-inline: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--ds-on-surface);
    border-radius: 0;
}

.sf-shell[data-layout="minimal"] .sf-filter-apply[b-27ebesolh2] {
    padding-inline: 28px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sf-shell[data-layout="minimal"] .sf-grid[b-27ebesolh2] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px 32px;
}

/* ---- Editorial: the heading and its filters on one ruled line, three large tiles per row ------------------------------ */

.sf-shell[data-layout="editorial"] .sf-catalog-head[b-27ebesolh2],
.sf-shell[data-layout="noche"] .sf-catalog-head[b-27ebesolh2],
.sf-shell[data-layout="galeria"] .sf-catalog-head[b-27ebesolh2] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: var(--ds-section-gap);
}

.sf-shell[data-layout="editorial"] .sf-catalog-head[b-27ebesolh2] {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ds-border-default);
}

.sf-shell[data-layout="editorial"] .sf-catalog-head .sf-catalog-title[b-27ebesolh2],
.sf-shell[data-layout="noche"] .sf-catalog-head .sf-catalog-title[b-27ebesolh2],
.sf-shell[data-layout="galeria"] .sf-catalog-head .sf-catalog-title[b-27ebesolh2] {
    margin: 0;
}

/* The mockups set the filters beside the heading; with the Spanish labels they do not fit there, so they take the row
   under it, whole, rather than wrapping a lone Apply button onto a line of its own. */
.sf-shell[data-layout="editorial"] .sf-catalog-head .sf-filters[b-27ebesolh2],
.sf-shell[data-layout="noche"] .sf-catalog-head .sf-filters[b-27ebesolh2],
.sf-shell[data-layout="galeria"] .sf-catalog-head .sf-filters[b-27ebesolh2] {
    flex: 1 1 100%;
    /* A flex item never shrinks below its content's width unless told: the fields inside give way instead. */
    min-width: 0;
    margin: 0;
}

.sf-shell[data-layout="editorial"] .sf-catalog-title[b-27ebesolh2] {
    font-size: 2.125rem;
    font-weight: 500;
}

.sf-shell[data-layout="editorial"] .sf-filters[b-27ebesolh2] {
    gap: 12px 20px;
    padding: 0;
    background: transparent;
    border: 0;
}

.sf-shell[data-layout="editorial"] .sf-filter-field[b-27ebesolh2] {
    flex: 0 1 auto;
}

.sf-shell[data-layout="editorial"] .sf-filter-search[b-27ebesolh2] {
    flex: 0 1 240px;
}

.sf-shell[data-layout="editorial"] .sf-filter-label[b-27ebesolh2] {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sf-shell[data-layout="editorial"] .sf-filter-apply[b-27ebesolh2] {
    color: var(--ds-on-surface);
    background: transparent;
    border: 1px solid var(--ds-on-surface);
}

.sf-shell[data-layout="editorial"] .sf-filter-apply:hover[b-27ebesolh2],
.sf-shell[data-layout="editorial"] .sf-filter-apply:active[b-27ebesolh2] {
    color: var(--ds-surface);
    background: var(--ds-on-surface);
}

.sf-shell[data-layout="editorial"] .sf-grid[b-27ebesolh2] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 36px;
}

/* ---- Noche: a large title, the filters beside it as inline controls, four panels per row ----------------------------- */

.sf-shell[data-layout="noche"] .sf-catalog-title[b-27ebesolh2] {
    font-size: 2.75rem;
    letter-spacing: -1.2px;
}

.sf-shell[data-layout="noche"] .sf-filters[b-27ebesolh2] {
    align-items: center;
    gap: 12px 14px;
    padding: 0;
    background: transparent;
    border: 0;
}

.sf-shell[data-layout="noche"] .sf-filter-field[b-27ebesolh2],
.sf-shell[data-layout="mercado"] .sf-filter-field[b-27ebesolh2],
.sf-shell[data-layout="boutique"] .sf-filter-field[b-27ebesolh2],
.sf-shell[data-layout="galeria"] .sf-filter-field[b-27ebesolh2] {
    flex: 0 1 auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.sf-shell[data-layout="noche"] .sf-filter-label[b-27ebesolh2] {
    font-size: 0.875rem;
    font-weight: 400;
}

.sf-shell[data-layout="noche"] .sf-filter-select[b-27ebesolh2] {
    width: auto;
    background: var(--ds-surface-container);
}

.sf-shell[data-layout="noche"] .sf-filter-check[b-27ebesolh2] {
    padding: 0 14px;
    border: 1px solid var(--ds-on-surface-muted);
    border-radius: var(--ds-radius-input);
}

.sf-shell[data-layout="noche"] .sf-filter-apply[b-27ebesolh2] {
    color: var(--ds-on-surface);
    background: transparent;
    border: 1px solid var(--ds-on-surface);
}

.sf-shell[data-layout="noche"] .sf-filter-apply:hover[b-27ebesolh2],
.sf-shell[data-layout="noche"] .sf-filter-apply:active[b-27ebesolh2] {
    color: var(--ds-surface);
    background: var(--ds-on-surface);
}

.sf-shell[data-layout="noche"] .sf-grid[b-27ebesolh2] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

/* ---- Mercado: an uppercase title at the start of a bold filter row, six cards per row -------------------------------- */

.sf-shell[data-layout="mercado"] .sf-catalog-head[b-27ebesolh2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 14px;
    margin-bottom: 20px;
}

.sf-shell[data-layout="mercado"] .sf-catalog-title[b-27ebesolh2] {
    margin: 0 auto 0 0;
    font-size: 1.625rem;
    font-weight: 900;
    text-transform: uppercase;
}

.sf-shell[data-layout="mercado"] .sf-filters[b-27ebesolh2] {
    flex: 0 1 auto;
    align-items: center;
    gap: 12px 14px;
    margin: 0;
    padding: 0;
    font-weight: 700;
    background: transparent;
    border: 0;
}

.sf-shell[data-layout="mercado"] .sf-filter-label[b-27ebesolh2] {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ds-on-surface);
}

.sf-shell[data-layout="mercado"] .sf-filter-select[b-27ebesolh2] {
    width: auto;
    font-weight: 600;
    border: 3px solid var(--ds-on-surface);
}

.sf-shell[data-layout="mercado"] .sf-filter-check[b-27ebesolh2] {
    font-weight: 700;
}

.sf-shell[data-layout="mercado"] .sf-filter-apply[b-27ebesolh2] {
    font-weight: 900;
    text-transform: uppercase;
    color: var(--ds-on-secondary);
    background: var(--ds-secondary);
    border: 3px solid var(--ds-on-secondary);
}

.sf-shell[data-layout="mercado"] .sf-filter-apply:hover[b-27ebesolh2] {
    background: var(--ds-secondary-hover);
}

.sf-shell[data-layout="mercado"] .sf-filter-apply:active[b-27ebesolh2] {
    background: var(--ds-secondary-pressed);
}

.sf-shell[data-layout="mercado"] .sf-grid[b-27ebesolh2] {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

/* ---- Industrial: the sidebar and the product table, each a white panel ------------------------------------------------ */

.sf-shell[data-layout="industrial"] .sf-sidebar .sf-filters[b-27ebesolh2],
.sf-shell[data-layout="industrial"] .sf-catalog-results[b-27ebesolh2] {
    background: var(--ds-surface-container);
    border: 1px solid var(--ds-border-default);
    border-radius: var(--ds-radius-card);
}

.sf-shell[data-layout="industrial"] .sf-catalog-results[b-27ebesolh2] {
    overflow: hidden;
}

/* The sort's label reads like the sidebar's group legends. */
.sf-shell[data-layout="industrial"] .sf-sidebar .sf-filter-label[b-27ebesolh2] {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.sf-shell[data-layout="industrial"] .sf-results-head[b-27ebesolh2] {
    margin: 0;
    padding: 18px 20px;
    border-bottom: 1px solid var(--ds-border-subtle);
}

.sf-shell[data-layout="industrial"] .sf-catalog-title[b-27ebesolh2] {
    font-size: 1.375rem;
}

.sf-shell[data-layout="industrial"] .sf-grid[b-27ebesolh2] {
    display: block;
}

.sf-shell[data-layout="industrial"] .sf-rows-head[b-27ebesolh2] {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 120px 100px 84px;
    align-items: center;
    column-gap: 16px;
    padding: 10px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--ds-on-surface-muted);
    background: var(--ds-surface-container-low);
    border-bottom: 1px solid var(--ds-border-subtle);
}

.sf-shell[data-layout="industrial"] .sf-results-codes .sf-rows-head[b-27ebesolh2] {
    grid-template-columns: 64px minmax(0, 1fr) 150px 120px 100px 84px;
}

.sf-rows-head-end[b-27ebesolh2] {
    text-align: right;
}

.sf-shell[data-layout="industrial"] .sf-empty[b-27ebesolh2] {
    margin: 20px;
}

.sf-shell[data-layout="industrial"] .sf-pager[b-27ebesolh2] {
    margin: 0;
    padding: 16px 20px;
}

@media (max-width: 1023px) {
    .sf-shell[data-layout="industrial"] .sf-rows-head[b-27ebesolh2] {
        display: none;
    }
}

/* ---- Boutique: a centred filter row between two rules, three tall tiles per row --------------------------------------- */

.sf-shell[data-layout="boutique"] .sf-catnav-list[b-27ebesolh2] {
    justify-content: center;
    gap: 4px 40px;
    padding-bottom: 8px;
}

.sf-shell[data-layout="boutique"] .sf-catnav-link[b-27ebesolh2] {
    font-size: 0.8125rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.sf-shell[data-layout="boutique"] .sf-catnav-link[aria-current][b-27ebesolh2] {
    font-weight: 600;
}

.sf-shell[data-layout="boutique"] .sf-catalog-title[b-27ebesolh2] {
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
}

.sf-shell[data-layout="boutique"] .sf-filters[b-27ebesolh2] {
    justify-content: center;
    align-items: center;
    gap: 12px 20px;
    padding: 16px 0;
    font-size: 0.875rem;
    background: transparent;
    border: 0;
    border-block: 1px solid var(--ds-border-default);
    border-radius: 0;
}

.sf-shell[data-layout="boutique"] .sf-filter-label[b-27ebesolh2] {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--ds-on-surface);
}

.sf-shell[data-layout="boutique"] .sf-filter-input[b-27ebesolh2],
.sf-shell[data-layout="boutique"] .sf-filter-select[b-27ebesolh2] {
    width: auto;
    padding-inline: 16px;
    background: var(--ds-surface-container);
    border-radius: var(--ds-radius-badge);
}

.sf-shell[data-layout="boutique"] .sf-filter-search .sf-filter-input[b-27ebesolh2] {
    width: 220px;
}

.sf-shell[data-layout="boutique"] .sf-filter-apply[b-27ebesolh2] {
    padding-inline: 26px;
    letter-spacing: 0.8px;
}

.sf-shell[data-layout="boutique"] .sf-grid[b-27ebesolh2] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 40px;
    margin-top: 44px;
}

/* ---- Fresco: a large rounded title, chips, four rounded cards per row ------------------------------------------------- */

.sf-shell[data-layout="fresco"] .sf-catalog-title[b-27ebesolh2] {
    margin-bottom: 20px;
    padding-inline: 8px;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.sf-shell[data-layout="fresco"] .sf-chip-filters[b-27ebesolh2] {
    padding-inline: 8px;
}

.sf-shell[data-layout="fresco"] .sf-filter-label[b-27ebesolh2] {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ds-on-surface);
}

.sf-shell[data-layout="fresco"] .sf-filter-select[b-27ebesolh2] {
    background: var(--ds-surface-container);
    border-radius: var(--ds-radius-badge);
}

.sf-shell[data-layout="fresco"] .sf-filter-check[b-27ebesolh2] {
    padding: 0 16px;
    font-weight: 700;
    background: var(--ds-surface-container);
    border: 1px solid var(--ds-on-surface-muted);
    border-radius: var(--ds-radius-badge);
}

.sf-shell[data-layout="fresco"] .sf-filter-apply[b-27ebesolh2] {
    padding-inline: 22px;
    font-weight: 800;
}

.sf-shell[data-layout="fresco"] .sf-grid[b-27ebesolh2],
.sf-shell[data-layout="tropical"] .sf-grid[b-27ebesolh2] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

/* ---- Bento: a white filter panel, four horizontal tiles per row --------------------------------------------------- */

.sf-shell[data-layout="bento"] .sf-catalog-title[b-27ebesolh2] {
    margin-bottom: 16px;
    font-size: 1.5rem;
    font-weight: 800;
}

.sf-shell[data-layout="bento"] .sf-filters[b-27ebesolh2] {
    padding: 16px 20px;
    background: var(--ds-surface-container);
    border: 0;
    border-radius: var(--ds-radius-card);
}

.sf-shell[data-layout="bento"] .sf-filter-label[b-27ebesolh2] {
    font-weight: 700;
}

.sf-shell[data-layout="bento"] .sf-filter-input[b-27ebesolh2],
.sf-shell[data-layout="bento"] .sf-filter-select[b-27ebesolh2] {
    background: var(--ds-surface);
}

.sf-shell[data-layout="bento"] .sf-filter-apply[b-27ebesolh2] {
    font-weight: 700;
    color: var(--ds-surface);
    background: var(--ds-on-surface);
}

.sf-shell[data-layout="bento"] .sf-filter-apply:hover[b-27ebesolh2],
.sf-shell[data-layout="bento"] .sf-filter-apply:active[b-27ebesolh2] {
    color: var(--ds-on-primary);
    background: var(--ds-primary);
}

.sf-shell[data-layout="bento"] .sf-grid[b-27ebesolh2] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

/* ---- Tropical: a white filter panel on a soft shadow, the band's colour on Apply --------------------------------------- */

.sf-shell[data-layout="tropical"] .sf-catalog-title[b-27ebesolh2] {
    margin-bottom: 16px;
    font-size: 1.75rem;
    font-weight: 800;
}

.sf-shell[data-layout="tropical"] .sf-filters[b-27ebesolh2] {
    padding: 18px 20px;
    background: var(--ds-surface-container);
    border: 0;
    border-radius: var(--ds-radius-dialog);
    box-shadow: var(--ds-elevation-1);
}

.sf-shell[data-layout="tropical"] .sf-filter-input[b-27ebesolh2],
.sf-shell[data-layout="tropical"] .sf-filter-select[b-27ebesolh2] {
    background: var(--ds-surface-container);
    border-width: 2px;
}

.sf-shell[data-layout="tropical"] .sf-filter-apply[b-27ebesolh2] {
    font-weight: 700;
    color: var(--ds-on-secondary);
    background: var(--ds-secondary);
}

.sf-shell[data-layout="tropical"] .sf-filter-apply:hover[b-27ebesolh2] {
    background: var(--ds-secondary-hover);
}

.sf-shell[data-layout="tropical"] .sf-filter-apply:active[b-27ebesolh2] {
    background: var(--ds-secondary-pressed);
}

.sf-shell[data-layout="tropical"] .sf-filter-checkbox[b-27ebesolh2] {
    accent-color: var(--ds-secondary);
}

/* ---- Galería: a very large serif title with the filters beside it, three photo-led tiles per row --------------------- */

.sf-shell[data-layout="galeria"] .sf-catalog-head[b-27ebesolh2] {
    align-items: flex-end;
    padding-top: 8px;
}

.sf-shell[data-layout="galeria"] .sf-catalog-title[b-27ebesolh2] {
    font-size: 6rem;
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -2px;
}

.sf-shell[data-layout="galeria"] .sf-filters[b-27ebesolh2] {
    align-items: center;
    gap: 12px 18px;
    padding: 0;
    font-size: 0.875rem;
    border: 0;
}

.sf-shell[data-layout="galeria"] .sf-filter-label[b-27ebesolh2] {
    font-size: 0.875rem;
    font-weight: 400;
}

.sf-shell[data-layout="galeria"] .sf-filter-search .sf-filter-input[b-27ebesolh2] {
    width: 180px;
}

.sf-shell[data-layout="galeria"] .sf-filter-select[b-27ebesolh2] {
    width: auto;
}

.sf-shell[data-layout="galeria"] .sf-filter-apply[b-27ebesolh2] {
    padding-inline: 22px;
    font-size: 0.875rem;
    font-weight: 500;
}

.sf-shell[data-layout="galeria"] .sf-grid[b-27ebesolh2] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 16px;
}

/* On a wide screen Galería's underlined controls share one line, each label beside its field, the fields giving way. */
@media (min-width: 1200px) {
    .sf-shell[data-layout="galeria"] .sf-filters[b-27ebesolh2] {
        flex-wrap: nowrap;
    }

    .sf-shell[data-layout="galeria"] .sf-filter-field[b-27ebesolh2] {
        flex: 1 1 auto;
        min-width: 0;
    }

    .sf-shell[data-layout="galeria"] .sf-filter-label[b-27ebesolh2],
    .sf-shell[data-layout="galeria"] .sf-filter-check[b-27ebesolh2] {
        flex: none;
        white-space: nowrap;
    }

    .sf-shell[data-layout="galeria"] .sf-filter-search .sf-filter-input[b-27ebesolh2],
    .sf-shell[data-layout="galeria"] .sf-filter-select[b-27ebesolh2] {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }
}

/* ---- Corporativo: the category band, ruled sidebar boxes, four ruled cards per row -------------------------------------- */

.sf-shell[data-layout="corporativo"] .sf-catnav[b-27ebesolh2] {
    background: var(--ds-surface-container);
    border-block: 1px solid var(--ds-border-default);
}

.sf-shell[data-layout="corporativo"] .sf-catnav-list[b-27ebesolh2] {
    gap: 0 32px;
}

.sf-shell[data-layout="corporativo"] .sf-catnav-link[b-27ebesolh2] {
    font-size: 0.9375rem;
    font-weight: 600;
}

/* Its narrower sidebar from 1024px up only: below, the shared rule stacks the sidebar above the products. */
@media (min-width: 1024px) {
    .sf-shell[data-layout="corporativo"] .sf-catalog-body[b-27ebesolh2] {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 28px;
    }
}

.sf-shell[data-layout="corporativo"] .sf-sidebar .sf-filters[b-27ebesolh2] {
    gap: 20px;
    padding: 0;
    background: transparent;
    border: 0;
}

.sf-shell[data-layout="corporativo"] .sf-filter-group[b-27ebesolh2] {
    padding: 12px 16px 14px;
    border: 1px solid var(--ds-border-default);
    border-radius: var(--ds-radius-card);
}

.sf-shell[data-layout="corporativo"] .sf-filter-legend[b-27ebesolh2] {
    padding: 0 6px;
    font-size: 0.9375rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ds-on-surface);
}

.sf-shell[data-layout="corporativo"] .sf-filter-choice-parent[b-27ebesolh2] {
    font-weight: 400;
}

.sf-shell[data-layout="corporativo"] .sf-catalog-title[b-27ebesolh2] {
    color: var(--ds-secondary);
}

.sf-shell[data-layout="corporativo"] .sf-results-head .sf-filter-label[b-27ebesolh2] {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--ds-on-surface);
}

.sf-shell[data-layout="corporativo"] .sf-grid[b-27ebesolh2] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

/* The sort's own Apply, beside it. */
.sf-shell[data-layout="corporativo"] .sf-sort-inline .sf-filter-apply[b-27ebesolh2] {
    min-height: 44px;
    padding: 8px 18px;
}

/* Below 1024px the sidebar's category chips sit above the products, so the category row would offer the same choices a
   second time before any product: the sidebar keeps them. */
@media (max-width: 1023px) {
    .sf-shell[data-layout="corporativo"] .sf-catnav[b-27ebesolh2] {
        display: none;
    }
}

/* On a phone the sort and its Apply share one row under the label: the field keeps most of the width, and the button
   does not read as a second copy of the sidebar's full-width Apply just above it. */
@media (max-width: 767px) {
    .sf-shell[data-layout="corporativo"] .sf-sort-inline[b-27ebesolh2] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 4px 8px;
    }

    .sf-shell[data-layout="corporativo"] .sf-sort-inline .sf-filter-label[b-27ebesolh2] {
        grid-column: 1 / -1;
    }
}

/* ===================================================================================================================
   Narrower screens
   =================================================================================================================== */

@media (max-width: 1199px) {
    .sf-shell[data-layout="mercado"] .sf-grid[b-27ebesolh2] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sf-shell[data-layout="bento"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="corporativo"] .sf-grid[b-27ebesolh2] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .sf-shell[data-layout="minimal"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="noche"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="fresco"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="tropical"] .sf-grid[b-27ebesolh2] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sf-shell[data-layout="editorial"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="boutique"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="galeria"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="bento"] .sf-grid[b-27ebesolh2] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sf-shell[data-layout="galeria"] .sf-catalog-title[b-27ebesolh2] {
        font-size: 4.5rem;
    }

    /* The sidebar folds into a compact panel above the products, so they still start on the first screen of a phone. */
    .sf-sidebar .sf-filters[b-27ebesolh2] {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
        gap: 16px;
    }

    .sf-sidebar .sf-filter-group[b-27ebesolh2] {
        flex: 1 1 100%;
    }

    .sf-sidebar .sf-filter-field[b-27ebesolh2] {
        flex: 1 1 220px;
    }

    /* The category choices become wrapping chips. Each is still its radio (moved out of sight, never out of the
       accessibility tree or the tab order), so the form sends exactly what it sends on a wide screen. */
    .sf-sidebar .sf-filter-group:has(.sf-filter-radio)[b-27ebesolh2] {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .sf-sidebar .sf-filter-choice[b-27ebesolh2] {
        position: relative;
        min-height: 40px;
        padding: 0 14px;
        font-weight: 600;
        background: var(--ds-surface);
        border: 1px solid var(--ds-on-surface-muted);
        border-radius: var(--ds-radius-badge);
    }

    .sf-sidebar .sf-filter-choice-child[b-27ebesolh2] {
        padding-left: 14px;
        font-weight: 400;
    }

    .sf-sidebar .sf-filter-choice .sf-filter-radio[b-27ebesolh2] {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

    .sf-sidebar .sf-filter-choice:has(.sf-filter-radio:checked)[b-27ebesolh2] {
        color: var(--ds-on-primary);
        background: var(--ds-primary);
        border-color: var(--ds-primary);
    }

    .sf-sidebar .sf-filter-choice:has(.sf-filter-radio:focus-visible)[b-27ebesolh2] {
        outline: 2px solid var(--ds-primary);
        outline-offset: 2px;
    }
}

@media (max-width: 767px) {
    .sf-shell[data-layout="minimal"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="noche"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="mercado"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="fresco"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="tropical"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="corporativo"] .sf-grid[b-27ebesolh2] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sf-shell[data-layout="bento"] .sf-grid[b-27ebesolh2] {
        grid-template-columns: minmax(0, 1fr);
    }

    .sf-shell[data-layout="minimal"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="editorial"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="boutique"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="galeria"] .sf-grid[b-27ebesolh2] {
        gap: 28px 16px;
    }

    .sf-shell[data-layout="minimal"] .sf-catalog-title[b-27ebesolh2],
    .sf-shell[data-layout="noche"] .sf-catalog-title[b-27ebesolh2],
    .sf-shell[data-layout="fresco"] .sf-catalog-title[b-27ebesolh2] {
        font-size: 2rem;
    }

    .sf-shell[data-layout="editorial"] .sf-catalog-title[b-27ebesolh2],
    .sf-shell[data-layout="boutique"] .sf-catalog-title[b-27ebesolh2] {
        font-size: 1.75rem;
    }

    .sf-shell[data-layout="galeria"] .sf-catalog-title[b-27ebesolh2] {
        font-size: 3.5rem;
    }

    .sf-shell[data-layout="mercado"] .sf-catalog-title[b-27ebesolh2] {
        flex-basis: 100%;
        font-size: 1.375rem;
    }

    /* The inline filter rows take a full row each, as the classic bar does. */
    .sf-shell[data-layout="noche"] .sf-filter-field[b-27ebesolh2],
    .sf-shell[data-layout="mercado"] .sf-filter-field[b-27ebesolh2],
    .sf-shell[data-layout="boutique"] .sf-filter-field[b-27ebesolh2],
    .sf-shell[data-layout="galeria"] .sf-filter-field[b-27ebesolh2],
    .sf-shell[data-layout="editorial"] .sf-filter-field[b-27ebesolh2],
    .sf-filter-inline[b-27ebesolh2] {
        flex: 1 1 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .sf-shell[data-layout="noche"] .sf-catalog-head .sf-filters[b-27ebesolh2],
    .sf-shell[data-layout="editorial"] .sf-catalog-head .sf-filters[b-27ebesolh2],
    .sf-shell[data-layout="galeria"] .sf-catalog-head .sf-filters[b-27ebesolh2],
    .sf-shell[data-layout="mercado"] .sf-filters[b-27ebesolh2] {
        flex: 1 1 100%;
    }

    .sf-shell[data-layout] .sf-filter-select[b-27ebesolh2],
    .sf-shell[data-layout="boutique"] .sf-filter-search .sf-filter-input[b-27ebesolh2],
    .sf-shell[data-layout="galeria"] .sf-filter-search .sf-filter-input[b-27ebesolh2],
    .sf-filter-inline .sf-filter-select[b-27ebesolh2] {
        width: 100%;
    }

    .sf-shell[data-layout="boutique"] .sf-grid[b-27ebesolh2] {
        margin-top: 28px;
    }

    .sf-shell[data-layout="boutique"] .sf-catnav-list[b-27ebesolh2] {
        gap: 0 20px;
    }

    .sf-shell[data-layout="boutique"] .sf-catnav-link[b-27ebesolh2] {
        letter-spacing: 1px;
    }

    .sf-chip-filters .sf-filters[b-27ebesolh2] {
        justify-content: flex-start;
    }

    /* One scrolling strip of chips instead of a stack, so the products still start near the top of a phone. The strip
       scrolls inside itself; the page never does. */
    .sf-chips-list[b-27ebesolh2] {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-inline: -16px;
        padding: 2px 16px 6px;
        scrollbar-width: none;
    }

    .sf-chips-list > li[b-27ebesolh2] {
        flex: none;
    }

    .sf-chip[b-27ebesolh2] {
        min-height: 44px;
        padding: 0 16px;
        white-space: nowrap;
    }
}

@media (max-width: 479px) {
    .sf-shell[data-layout="minimal"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="editorial"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="boutique"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="galeria"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="noche"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="mercado"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="fresco"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="tropical"] .sf-grid[b-27ebesolh2],
    .sf-shell[data-layout="corporativo"] .sf-grid[b-27ebesolh2] {
        gap: 20px 12px;
    }

    .sf-shell[data-layout="galeria"] .sf-catalog-title[b-27ebesolh2] {
        font-size: 2.75rem;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Storefront/CheckoutPage.razor.rz.scp.css */
/* Storefront checkout page shell. The form itself is styled by the CheckoutForm island's own stylesheet.
   Colors and spacing come from --ds-* tokens only. */

.sf-checkout-page[b-06io85g4t4] {
    display: flex;
    flex-direction: column;
    gap: var(--ds-section-gap);
    max-width: 1100px;
}

.sf-checkout-page-title[b-06io85g4t4] {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ds-on-surface);
}

@media (max-width: 767px) {
    .sf-checkout-page-title[b-06io85g4t4] {
        font-size: 1.375rem;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Storefront/ProductDetailPage.razor.rz.scp.css */
/* Storefront product page: image beside the details on wide screens, stacked on narrow ones.
   Colors, shape and spacing come from --ds-* tokens only. */

.sf-back[b-6mobqxkx9x] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    /* 44px tall: a text link this small is hard to hit with a thumb. */
    min-height: 44px;
    margin-bottom: 8px;
    color: var(--ds-primary);
    font-weight: 600;
    text-decoration: none;
}

.sf-back:hover[b-6mobqxkx9x],
.sf-back:focus-visible[b-6mobqxkx9x] {
    text-decoration: underline;
}

.sf-back:focus-visible[b-6mobqxkx9x] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
    border-radius: var(--ds-radius-input);
}

.sf-back .p4-icon[b-6mobqxkx9x] {
    font-size: 1.125rem;
}

.sf-product-layout[b-6mobqxkx9x] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--ds-section-gap);
    align-items: start;
}

.sf-product-media[b-6mobqxkx9x] {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background: var(--ds-surface-container-low);
    border: 1px solid var(--ds-border-default);
    border-radius: var(--ds-radius-card);
    overflow: hidden;
}

.sf-product-image[b-6mobqxkx9x] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sf-product-placeholder[b-6mobqxkx9x] {
    font-size: 4rem;
    color: var(--ds-outline);
}

.sf-product-info[b-6mobqxkx9x] {
    display: flex;
    flex-direction: column;
    gap: var(--ds-card-gap);
    min-width: 0;
}

.sf-product-name[b-6mobqxkx9x] {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ds-on-surface);
    overflow-wrap: anywhere;
}

/* The product code under the name (the store's "Product code shown in the store" setting). Wraps rather than clips: the
   product page is where a shopper reads the code in full. */
.sf-product-code[b-6mobqxkx9x] {
    margin: 0;
    font-size: 0.875rem;
    color: var(--ds-on-surface-muted);
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.sf-product-price[b-6mobqxkx9x] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ds-primary);
    font-variant-numeric: tabular-nums;
}

.sf-product-stock[b-6mobqxkx9x] {
    margin: 0;
    color: var(--ds-on-surface-muted);
}

.sf-section-title[b-6mobqxkx9x] {
    margin: 0 0 8px;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--ds-on-surface);
}

/* The pack list is one grid and each row a subgrid of it, so the price and stock columns line up from
   row to row (with a grid per row, every row sized its own columns and the figures zig-zagged). */
.sf-pack-list[b-6mobqxkx9x] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--ds-border-default);
    border-radius: var(--ds-radius-card);
    overflow: hidden;
}

.sf-pack[b-6mobqxkx9x] {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
    column-gap: var(--ds-card-gap);
    align-items: center;
    padding: 12px 16px;
}

.sf-pack + .sf-pack[b-6mobqxkx9x] {
    border-top: 1px solid var(--ds-border-default);
}

.sf-pack-label[b-6mobqxkx9x] {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.sf-pack-price[b-6mobqxkx9x] {
    font-weight: 700;
    color: var(--ds-on-surface);
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.sf-pack-stock[b-6mobqxkx9x] {
    font-size: 0.8125rem;
    color: var(--ds-on-surface-muted);
    text-align: right;
    white-space: nowrap;
}

/* The description is separated from the buying controls above it. */
.sf-description[b-6mobqxkx9x] {
    margin-top: 8px;
    padding-top: var(--ds-card-padding);
    border-top: 1px solid var(--ds-border-default);
}

.sf-description-text[b-6mobqxkx9x] {
    margin: 0 0 12px;
    line-height: 1.6;
    /* Keeps the single line breaks a paragraph carries; paragraphs themselves are separate elements. */
    white-space: pre-line;
    overflow-wrap: anywhere;
    /* Long descriptions stay readable: roughly 70 characters per line at most. */
    max-width: 70ch;
}

.sf-description-text:last-child[b-6mobqxkx9x] {
    margin-bottom: 0;
}

/* ---- The layouts. The product page keeps its structure on every layout and takes the layout's header, shapes, type and
   colours from the theme; these few rules carry over what the layout's catalog draws on its photos and prices. Clásico,
   today's store, keeps every rule above unchanged. ---------------------------------------------------------------------- */

/* The photo sits on the theme's photo tile: the light tile the dark presets put their photos on, white where the layout's
   mockup draws white. */
.sf-shell[data-layout]:not([data-layout="clasico"]) .sf-product-media[b-6mobqxkx9x] {
    background: var(--ds-surface-variant);
}

.sf-shell[data-layout]:not([data-layout="clasico"]) .sf-product-placeholder[b-6mobqxkx9x] {
    color: var(--ds-on-surface-variant);
}

/* The open, borderless layouts show the photo without a frame, as their catalog tiles do. */
.sf-shell[data-layout="minimal"] .sf-product-media[b-6mobqxkx9x],
.sf-shell[data-layout="editorial"] .sf-product-media[b-6mobqxkx9x],
.sf-shell[data-layout="boutique"] .sf-product-media[b-6mobqxkx9x],
.sf-shell[data-layout="galeria"] .sf-product-media[b-6mobqxkx9x] {
    border: 0;
}

.sf-shell[data-layout="minimal"] .sf-product-image[b-6mobqxkx9x],
.sf-shell[data-layout="editorial"] .sf-product-image[b-6mobqxkx9x],
.sf-shell[data-layout="noche"] .sf-product-image[b-6mobqxkx9x],
.sf-shell[data-layout="galeria"] .sf-product-image[b-6mobqxkx9x],
.sf-shell[data-layout="bento"] .sf-product-image[b-6mobqxkx9x] {
    mix-blend-mode: multiply;
}

/* Mercado's thick ink rule. */
.sf-shell[data-layout="mercado"] .sf-product-media[b-6mobqxkx9x],
.sf-shell[data-layout="mercado"] .sf-pack-list[b-6mobqxkx9x] {
    border: 3px solid var(--ds-on-surface);
}

/* The price in the text colour where the catalog draws it so (Minimal, Galería, Fresco), in the bar colour on Corporativo. */
.sf-shell[data-layout="minimal"] .sf-product-price[b-6mobqxkx9x],
.sf-shell[data-layout="galeria"] .sf-product-price[b-6mobqxkx9x],
.sf-shell[data-layout="fresco"] .sf-product-price[b-6mobqxkx9x] {
    color: var(--ds-on-surface);
}

.sf-shell[data-layout="corporativo"] .sf-product-price[b-6mobqxkx9x],
.sf-shell[data-layout="corporativo"] .sf-product-name[b-6mobqxkx9x] {
    color: var(--ds-secondary);
}

/* The serif layouts set the product's name larger and lighter, as their catalogs do. */
.sf-shell[data-layout="editorial"] .sf-product-name[b-6mobqxkx9x],
.sf-shell[data-layout="boutique"] .sf-product-name[b-6mobqxkx9x],
.sf-shell[data-layout="galeria"] .sf-product-name[b-6mobqxkx9x] {
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1.15;
}

.sf-shell[data-layout="minimal"] .sf-product-name[b-6mobqxkx9x] {
    font-weight: 500;
    letter-spacing: -0.4px;
}

/* Industrial's codes in the mono face. */
.sf-shell[data-layout="industrial"] .sf-product-code[b-6mobqxkx9x] {
    font-family: var(--ds-mono);
    color: var(--ds-on-surface);
}

@media (max-width: 767px) {
    .sf-product-layout[b-6mobqxkx9x] {
        grid-template-columns: minmax(0, 1fr);
    }

    .sf-shell[data-layout="editorial"] .sf-product-name[b-6mobqxkx9x],
    .sf-shell[data-layout="boutique"] .sf-product-name[b-6mobqxkx9x],
    .sf-shell[data-layout="galeria"] .sf-product-name[b-6mobqxkx9x] {
        font-size: 1.625rem;
    }

    .sf-product-media[b-6mobqxkx9x] {
        max-height: 360px;
    }

    .sf-product-name[b-6mobqxkx9x] {
        font-size: 1.375rem;
    }

    .sf-product-price[b-6mobqxkx9x] {
        font-size: 1.375rem;
    }

    .sf-pack-list[b-6mobqxkx9x] {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .sf-pack-stock[b-6mobqxkx9x] {
        grid-column: 1 / -1;
        text-align: left;
    }
}

/* ---- Photo gallery (a product with more than one photo). ------------------------------------------------------------
   No script: one radio per photo comes first inside .sf-product-gallery, and the large pictures and the thumbnails come after
   it, so the sibling selector (~) can show the picture and mark the thumbnail of whichever radio is checked. The rules for
   slot 0 to 9 are written out because a stylesheet cannot count; 10 is StorefrontCatalogService.MaxGalleryPhotos, which also
   caps how many photos the page draws. Keep the two in step. ---------------------------------------------------------- */

.sf-product-gallery[b-6mobqxkx9x] {
    /* Positioned so the visually hidden radios below sit inside the gallery and focusing one never scrolls the page. */
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

/* Hidden to the eye but still focusable and announced: the arrow keys move between photos, a screen reader says "Photo 2 of 4". */
.sf-gallery-radio[b-6mobqxkx9x] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Only the chosen picture is drawn. A picture that has never been shown has not been downloaded either (loading="lazy"). */
.sf-gallery-image[b-6mobqxkx9x] {
    display: none;
}

#sf-gallery-0:checked ~ .sf-product-media .sf-gallery-image-0[b-6mobqxkx9x],
#sf-gallery-1:checked ~ .sf-product-media .sf-gallery-image-1[b-6mobqxkx9x],
#sf-gallery-2:checked ~ .sf-product-media .sf-gallery-image-2[b-6mobqxkx9x],
#sf-gallery-3:checked ~ .sf-product-media .sf-gallery-image-3[b-6mobqxkx9x],
#sf-gallery-4:checked ~ .sf-product-media .sf-gallery-image-4[b-6mobqxkx9x],
#sf-gallery-5:checked ~ .sf-product-media .sf-gallery-image-5[b-6mobqxkx9x],
#sf-gallery-6:checked ~ .sf-product-media .sf-gallery-image-6[b-6mobqxkx9x],
#sf-gallery-7:checked ~ .sf-product-media .sf-gallery-image-7[b-6mobqxkx9x],
#sf-gallery-8:checked ~ .sf-product-media .sf-gallery-image-8[b-6mobqxkx9x],
#sf-gallery-9:checked ~ .sf-product-media .sf-gallery-image-9[b-6mobqxkx9x] {
    display: block;
}

.sf-gallery-thumbs[b-6mobqxkx9x] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 72px: comfortably above the 44px minimum for a finger. */
.sf-gallery-thumb[b-6mobqxkx9x] {
    display: block;
    box-sizing: border-box;
    width: 72px;
    height: 72px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: var(--ds-surface-container-low);
    border: 2px solid var(--ds-border-default);
    border-radius: var(--ds-radius-input);
    opacity: 0.8;
}

.sf-gallery-thumb:hover[b-6mobqxkx9x] {
    opacity: 1;
}

.sf-gallery-thumb img[b-6mobqxkx9x] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* The chosen thumbnail: the primary-colour border and full opacity, against the faded, neutral-bordered others. */
#sf-gallery-0:checked ~ .sf-gallery-thumbs .sf-gallery-thumb-0[b-6mobqxkx9x],
#sf-gallery-1:checked ~ .sf-gallery-thumbs .sf-gallery-thumb-1[b-6mobqxkx9x],
#sf-gallery-2:checked ~ .sf-gallery-thumbs .sf-gallery-thumb-2[b-6mobqxkx9x],
#sf-gallery-3:checked ~ .sf-gallery-thumbs .sf-gallery-thumb-3[b-6mobqxkx9x],
#sf-gallery-4:checked ~ .sf-gallery-thumbs .sf-gallery-thumb-4[b-6mobqxkx9x],
#sf-gallery-5:checked ~ .sf-gallery-thumbs .sf-gallery-thumb-5[b-6mobqxkx9x],
#sf-gallery-6:checked ~ .sf-gallery-thumbs .sf-gallery-thumb-6[b-6mobqxkx9x],
#sf-gallery-7:checked ~ .sf-gallery-thumbs .sf-gallery-thumb-7[b-6mobqxkx9x],
#sf-gallery-8:checked ~ .sf-gallery-thumbs .sf-gallery-thumb-8[b-6mobqxkx9x],
#sf-gallery-9:checked ~ .sf-gallery-thumbs .sf-gallery-thumb-9[b-6mobqxkx9x] {
    border-color: var(--ds-primary);
    opacity: 1;
}

/* Keyboard focus lands on the hidden radio, so its ring is drawn on the thumbnail the shopper can see. */
#sf-gallery-0:focus-visible ~ .sf-gallery-thumbs .sf-gallery-thumb-0[b-6mobqxkx9x],
#sf-gallery-1:focus-visible ~ .sf-gallery-thumbs .sf-gallery-thumb-1[b-6mobqxkx9x],
#sf-gallery-2:focus-visible ~ .sf-gallery-thumbs .sf-gallery-thumb-2[b-6mobqxkx9x],
#sf-gallery-3:focus-visible ~ .sf-gallery-thumbs .sf-gallery-thumb-3[b-6mobqxkx9x],
#sf-gallery-4:focus-visible ~ .sf-gallery-thumbs .sf-gallery-thumb-4[b-6mobqxkx9x],
#sf-gallery-5:focus-visible ~ .sf-gallery-thumbs .sf-gallery-thumb-5[b-6mobqxkx9x],
#sf-gallery-6:focus-visible ~ .sf-gallery-thumbs .sf-gallery-thumb-6[b-6mobqxkx9x],
#sf-gallery-7:focus-visible ~ .sf-gallery-thumbs .sf-gallery-thumb-7[b-6mobqxkx9x],
#sf-gallery-8:focus-visible ~ .sf-gallery-thumbs .sf-gallery-thumb-8[b-6mobqxkx9x],
#sf-gallery-9:focus-visible ~ .sf-gallery-thumbs .sf-gallery-thumb-9[b-6mobqxkx9x] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}
/* /P4Software.CifraHq.Web/Components/Pages/Storefront/StorefrontAccountPanel.razor.rz.scp.css */
/* Storefront account pages: one centred card holding the heading, the explanation, the form island
   and the secondary links. The form fields are styled by the islands' own stylesheet
   (AccountFormFrame.razor.css). Colors, shape and spacing come from --ds-* tokens only. */

.sf-account-page[b-oj2yh24ine] {
    display: flex;
    justify-content: center;
    padding: 32px 0;
}

.sf-account-card[b-oj2yh24ine] {
    display: flex;
    flex-direction: column;
    gap: var(--ds-form-row-gap);
    box-sizing: border-box;
    width: 100%;
    max-width: 440px;
    padding: var(--ds-dialog-padding);
    background: var(--ds-surface);
    border: 1px solid var(--ds-border-default);
    border-radius: var(--ds-radius-card);
    box-shadow: var(--ds-elevation-1);
}

.sf-account-title[b-oj2yh24ine] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ds-on-surface);
}

.sf-account-card[b-oj2yh24ine]  .sf-account-intro {
    margin: 0;
    line-height: 1.5;
    color: var(--ds-on-surface-muted);
}

/* The "other way in" line under a form. A wrapping row, so the link keeps a full 44px touch target
   beside its sentence and drops under it when a longer Spanish sentence does not leave room. */
.sf-account-card[b-oj2yh24ine]  .sf-account-alt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 8px;
    margin: 0;
    font-size: 0.9375rem;
    color: var(--ds-on-surface-muted);
}

.sf-account-card[b-oj2yh24ine]  .sf-account-alt a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    color: var(--ds-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sf-account-card[b-oj2yh24ine]  .sf-account-alt a:focus-visible {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

.sf-account-card[b-oj2yh24ine]  .sf-account-section {
    display: flex;
    flex-direction: column;
    gap: var(--ds-form-row-gap);
    padding-top: var(--ds-section-gap);
    border-top: 1px solid var(--ds-border-default);
}

.sf-account-card[b-oj2yh24ine]  .sf-account-subtitle {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ds-on-surface);
}

@media (max-width: 767px) {
    .sf-account-page[b-oj2yh24ine] {
        padding: 8px 0 0;
    }

    /* On a phone the card is the page: no frame around it, the full width for the fields. */
    .sf-account-card[b-oj2yh24ine] {
        max-width: none;
        padding: 0;
        border: none;
        box-shadow: none;
    }

    .sf-account-title[b-oj2yh24ine] {
        font-size: 1.375rem;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Storefront/StorefrontBanner.razor.rz.scp.css */
/* The store owner's banner. The compact band (every layout without a hero) and the large hero (Editorial, Boutique, Tropical,
   Bento), each in its layout's style. Colours, shapes and spacing come from --ds-* tokens only; every text pair here is one
   the theme tests hold to 4.5:1. The owner's words wrap however long they are. */

.sf-banner[b-tz7dupek7d] {
    margin: 0 0 var(--ds-section-gap);
}

.sf-banner-copy[b-tz7dupek7d] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

/* The face is the theme's heading face (the generated theme CSS sets it on .sf-banner-title). */
.sf-banner-title[b-tz7dupek7d] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.sf-banner-text[b-tz7dupek7d] {
    max-width: 62ch;
    margin: 0;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

/* ---- The compact band ------------------------------------------------------------------------------------------------ */

.sf-banner-band[b-tz7dupek7d] {
    padding: 16px 20px;
    color: var(--ds-on-surface);
    background: var(--ds-surface-container-low);
    border: 1px solid var(--ds-border-default);
    border-left: 4px solid var(--ds-primary);
    border-radius: var(--ds-radius-card);
}

.sf-banner-band .sf-banner-text[b-tz7dupek7d] {
    color: var(--ds-on-surface-muted);
}

/* Minimal: a centred line between two hairlines. */
.sf-shell[data-layout="minimal"] .sf-banner-band[b-tz7dupek7d] {
    padding: 20px 0;
    text-align: center;
    background: transparent;
    border: 0;
    border-block: 1px solid var(--ds-border-default);
    border-radius: 0;
}

.sf-shell[data-layout="minimal"] .sf-banner-band .sf-banner-copy[b-tz7dupek7d] {
    align-items: center;
}

.sf-shell[data-layout="minimal"] .sf-banner-band .sf-banner-title[b-tz7dupek7d] {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Noche: a raised panel. */
.sf-shell[data-layout="noche"] .sf-banner-band[b-tz7dupek7d] {
    padding: 20px 24px;
    background: var(--ds-surface-container);
    border-left-width: 1px;
    border-radius: var(--ds-radius-card);
}

.sf-shell[data-layout="noche"] .sf-banner-band .sf-banner-title[b-tz7dupek7d] {
    font-size: 1.375rem;
}

/* Mercado: the yellow band with its thick ink rule. */
.sf-shell[data-layout="mercado"] .sf-banner-band[b-tz7dupek7d] {
    padding: 18px 22px;
    color: var(--ds-on-secondary);
    background: var(--ds-secondary);
    border: 3px solid var(--ds-on-secondary);
    border-radius: 0;
}

.sf-shell[data-layout="mercado"] .sf-banner-band .sf-banner-title[b-tz7dupek7d] {
    font-size: 1.625rem;
    font-weight: 900;
    text-transform: uppercase;
}

.sf-shell[data-layout="mercado"] .sf-banner-band .sf-banner-text[b-tz7dupek7d] {
    font-weight: 600;
    color: var(--ds-on-secondary);
}

/* Industrial: a white panel with an accent rule. */
.sf-shell[data-layout="industrial"] .sf-banner-band[b-tz7dupek7d] {
    background: var(--ds-surface-container);
}

/* Fresco: a rounded tint. */
.sf-shell[data-layout="fresco"] .sf-banner-band[b-tz7dupek7d] {
    padding: 20px 24px;
    color: var(--ds-on-secondary-container);
    background: var(--ds-secondary-container);
    border: 0;
    border-radius: var(--ds-radius-card);
}

.sf-shell[data-layout="fresco"] .sf-banner-band .sf-banner-title[b-tz7dupek7d] {
    font-size: 1.375rem;
    font-weight: 800;
}

.sf-shell[data-layout="fresco"] .sf-banner-band .sf-banner-text[b-tz7dupek7d] {
    color: var(--ds-on-secondary-container);
}

/* Galería: type alone, in the serif. */
.sf-shell[data-layout="galeria"] .sf-banner-band[b-tz7dupek7d] {
    padding: 0 0 20px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--ds-border-default);
    border-radius: 0;
}

.sf-shell[data-layout="galeria"] .sf-banner-band .sf-banner-title[b-tz7dupek7d] {
    font-size: 2.5rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.1;
}

/* Corporativo: the bar's colour. */
.sf-shell[data-layout="corporativo"] .sf-banner-band[b-tz7dupek7d] {
    padding: 18px 24px;
    color: var(--ds-on-secondary);
    background: var(--ds-secondary);
    border: 0;
    border-radius: var(--ds-radius-card);
}

.sf-shell[data-layout="corporativo"] .sf-banner-band .sf-banner-text[b-tz7dupek7d] {
    color: var(--ds-on-secondary);
}

/* ---- The hero -------------------------------------------------------------------------------------------------------- */

.sf-banner-hero[b-tz7dupek7d] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.sf-banner-hero:not(:has(.sf-banner-media))[b-tz7dupek7d] {
    grid-template-columns: minmax(0, 1fr);
}

.sf-banner-hero .sf-banner-copy[b-tz7dupek7d] {
    gap: 20px;
}

.sf-banner-hero .sf-banner-title[b-tz7dupek7d] {
    font-size: 3.25rem;
    line-height: 1.05;
    letter-spacing: -1.2px;
}

.sf-banner-hero .sf-banner-text[b-tz7dupek7d] {
    font-size: 1.125rem;
    color: var(--ds-on-surface-muted);
}

.sf-banner-cta[b-tz7dupek7d] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    box-sizing: border-box;
    padding: 0 28px;
    font-weight: 600;
    color: var(--ds-on-primary);
    background: var(--ds-primary);
    border-radius: var(--ds-radius-button);
    text-decoration: none;
}

.sf-banner-cta:hover[b-tz7dupek7d] {
    background: var(--ds-primary-hover);
}

.sf-banner-cta:focus-visible[b-tz7dupek7d] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

/* The photo's frame keeps fixed proportions, so the page does not move as the photo arrives. */
.sf-banner-media[b-tz7dupek7d] {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    padding: 9% 11%;
    box-sizing: border-box;
    background: var(--ds-surface-variant);
    border-radius: var(--ds-radius-dialog);
    overflow: hidden;
}

.sf-banner-image[b-tz7dupek7d] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Editorial: serif title, the photo on the tint, square corners. */
.sf-shell[data-layout="editorial"] .sf-banner-hero[b-tz7dupek7d] {
    padding-top: 8px;
}

.sf-shell[data-layout="editorial"] .sf-banner-hero .sf-banner-title[b-tz7dupek7d] {
    font-size: 3.75rem;
    font-weight: 500;
    letter-spacing: -1.5px;
}

.sf-shell[data-layout="editorial"] .sf-banner-image[b-tz7dupek7d] {
    mix-blend-mode: multiply;
}

/* Boutique: type only, centred, the serif large. */
.sf-shell[data-layout="boutique"] .sf-banner-hero[b-tz7dupek7d] {
    padding: 32px 0 12px;
    text-align: center;
}

.sf-shell[data-layout="boutique"] .sf-banner-hero .sf-banner-copy[b-tz7dupek7d] {
    align-items: center;
    gap: 12px;
}

.sf-shell[data-layout="boutique"] .sf-banner-hero .sf-banner-title[b-tz7dupek7d] {
    font-size: 3.375rem;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.sf-shell[data-layout="boutique"] .sf-banner-cta[b-tz7dupek7d] {
    align-self: center;
    border-radius: var(--ds-radius-badge);
}

/* Tropical: inside the header's band (the layout's masthead), white type, the photo on a white rounded tile. */
.sf-shell[data-layout="tropical"] .sf-banner-hero[b-tz7dupek7d] {
    margin: 0;
    padding: 32px max(16px, calc((100% - 1200px) / 2 + var(--ds-page-padding))) 56px;
    gap: 40px;
    color: var(--ds-on-secondary);
}

.sf-shell[data-layout="tropical"] .sf-banner-hero .sf-banner-title[b-tz7dupek7d] {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.6px;
}

.sf-shell[data-layout="tropical"] .sf-banner-hero .sf-banner-text[b-tz7dupek7d] {
    color: var(--ds-on-secondary);
}

.sf-shell[data-layout="tropical"] .sf-banner-cta[b-tz7dupek7d] {
    font-weight: 700;
    color: var(--ds-secondary);
    background: var(--ds-on-secondary);
}

.sf-shell[data-layout="tropical"] .sf-banner-cta:hover[b-tz7dupek7d] {
    color: var(--ds-on-secondary);
    background: var(--ds-secondary-hover);
    box-shadow: inset 0 0 0 2px var(--ds-on-secondary);
}

.sf-shell[data-layout="tropical"] .sf-banner-cta:focus-visible[b-tz7dupek7d] {
    outline-color: var(--ds-on-secondary);
}

.sf-shell[data-layout="tropical"] .sf-banner-media[b-tz7dupek7d] {
    background: var(--ds-surface-container);
    border-radius: 32px;
}

/* Bento: the hero is the bento's large tile. */
.sf-shell[data-layout="bento"] .sf-banner-hero[b-tz7dupek7d] {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 36px;
    background: var(--ds-surface-container);
    border-radius: var(--ds-radius-dialog);
    overflow: hidden;
}

.sf-shell[data-layout="bento"] .sf-banner-hero .sf-banner-copy[b-tz7dupek7d] {
    flex: 1;
    justify-content: space-between;
}

.sf-shell[data-layout="bento"] .sf-banner-hero .sf-banner-title[b-tz7dupek7d] {
    font-size: 2.625rem;
    font-weight: 800;
    line-height: 1.08;
}

.sf-shell[data-layout="bento"] .sf-banner-media[b-tz7dupek7d] {
    flex: 0 0 38%;
    align-self: center;
    aspect-ratio: 1 / 1;
    padding: 0;
    background: transparent;
}

.sf-shell[data-layout="bento"] .sf-banner-cta[b-tz7dupek7d] {
    font-weight: 700;
}

@media (max-width: 1023px) {
    .sf-banner-hero[b-tz7dupek7d] {
        gap: 28px;
    }

    .sf-banner-hero .sf-banner-title[b-tz7dupek7d],
    .sf-shell[data-layout="editorial"] .sf-banner-hero .sf-banner-title[b-tz7dupek7d],
    .sf-shell[data-layout="tropical"] .sf-banner-hero .sf-banner-title[b-tz7dupek7d],
    .sf-shell[data-layout="boutique"] .sf-banner-hero .sf-banner-title[b-tz7dupek7d] {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .sf-banner-hero[b-tz7dupek7d] {
        grid-template-columns: minmax(0, 1fr);
    }

    .sf-banner-hero .sf-banner-title[b-tz7dupek7d],
    .sf-shell[data-layout="editorial"] .sf-banner-hero .sf-banner-title[b-tz7dupek7d],
    .sf-shell[data-layout="tropical"] .sf-banner-hero .sf-banner-title[b-tz7dupek7d],
    .sf-shell[data-layout="boutique"] .sf-banner-hero .sf-banner-title[b-tz7dupek7d],
    .sf-shell[data-layout="bento"] .sf-banner-hero .sf-banner-title[b-tz7dupek7d] {
        font-size: 2rem;
        letter-spacing: -0.6px;
    }

    .sf-banner-hero .sf-banner-text[b-tz7dupek7d] {
        font-size: 1rem;
    }

    .sf-shell[data-layout="tropical"] .sf-banner-hero[b-tz7dupek7d] {
        padding: 16px 16px 32px;
    }

    .sf-shell[data-layout="bento"] .sf-banner-hero[b-tz7dupek7d] {
        flex-direction: column;
        padding: 24px;
    }

    .sf-shell[data-layout="bento"] .sf-banner-media[b-tz7dupek7d] {
        flex-basis: auto;
        width: 60%;
        align-self: center;
    }

    .sf-banner-media[b-tz7dupek7d] {
        aspect-ratio: 16 / 10;
    }

    .sf-shell[data-layout="galeria"] .sf-banner-band .sf-banner-title[b-tz7dupek7d] {
        font-size: 1.875rem;
    }
}

/* On a phone the hero's photo is a low strip, so the products arrive sooner. */
@media (max-width: 479px) {
    .sf-banner-media[b-tz7dupek7d] {
        aspect-ratio: 2 / 1;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Storefront/StorefrontCategoryTiles.razor.rz.scp.css */
/* "Shop by category" tiles: Mercado's bold blocks and Bento's mixed tiles. Colours, shapes and spacing come from --ds-*
   tokens only; each tile's text is the ink the theme tests pair with its fill. A long Spanish category name wraps. */

.sf-tiles[b-6hcwf53pm6] {
    display: grid;
    gap: 16px;
    margin: 0 0 var(--ds-section-gap);
}

.sf-tile[b-6hcwf53pm6] {
    display: flex;
    align-items: flex-end;
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 20px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.sf-tile-name[b-6hcwf53pm6] {
    min-width: 0;
}

a.sf-tile:focus-visible[b-6hcwf53pm6] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

/* ---- Mercado: a black lead tile, then blocks in the theme's three tints with thick ink rules ---------------------------- */

.sf-tiles-blocks[b-6hcwf53pm6] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sf-tiles-blocks .sf-tile[b-6hcwf53pm6] {
    min-height: 150px;
    font-size: 1.375rem;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    border: 3px solid var(--ds-on-surface);
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.sf-tiles-blocks .sf-tile-lead[b-6hcwf53pm6] {
    min-height: 176px;
    font-size: 1.875rem;
    color: var(--ds-surface);
    background: var(--ds-on-surface);
}

.sf-tiles-blocks .sf-tile-tint1[b-6hcwf53pm6] {
    color: var(--ds-on-surface);
    background: var(--ds-surface-container);
}

.sf-tiles-blocks .sf-tile-tint2[b-6hcwf53pm6] {
    color: var(--ds-on-secondary-container);
    background: var(--ds-secondary-container);
}

.sf-tiles-blocks .sf-tile-tint3[b-6hcwf53pm6] {
    color: var(--ds-on-tertiary-container);
    background: var(--ds-tertiary-container);
}

.sf-tiles-blocks a.sf-tile:hover[b-6hcwf53pm6] {
    box-shadow: var(--ds-elevation-2);
    transform: translate(-2px, -2px);
}

/* ---- Bento: white tiles of mixed sizes, the last one wide and in the accent ---------------------------------------- */

.sf-tiles-bento[b-6hcwf53pm6] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(150px, 1fr);
    margin: 0;
}

.sf-tiles-bento .sf-tile[b-6hcwf53pm6] {
    padding: 22px 24px;
    font-size: 1.1875rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--ds-on-surface);
    background: var(--ds-surface-container);
    border-radius: var(--ds-radius-dialog);
    transition: box-shadow 150ms ease;
}

.sf-tiles-bento a.sf-tile:hover[b-6hcwf53pm6] {
    box-shadow: var(--ds-elevation-2);
}

.sf-tiles-bento .sf-tile-wide[b-6hcwf53pm6] {
    grid-column: 1 / -1;
    font-size: 1.375rem;
    color: var(--ds-on-primary);
    background: var(--ds-primary);
}

/* Beside the hero, one or two categories fill the bento's half on their own. */
.sf-tiles-bento.sf-tiles-n1 .sf-tile-wide[b-6hcwf53pm6] {
    grid-row: span 2;
}

.sf-tiles-bento.sf-tiles-n2 .sf-tile-small[b-6hcwf53pm6] {
    grid-column: 1 / -1;
}

/* With no hero the tiles share one row of four: small, small, wide; two categories take half each; one the whole row. */
@media (min-width: 1024px) {
    .sf-bento:not(.sf-bento-with-hero) .sf-tiles-bento[b-6hcwf53pm6] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sf-bento:not(.sf-bento-with-hero) .sf-tiles-bento .sf-tile-wide[b-6hcwf53pm6],
    .sf-bento:not(.sf-bento-with-hero) .sf-tiles-bento.sf-tiles-n2 .sf-tile-small[b-6hcwf53pm6] {
        grid-column: span 2;
    }

    .sf-bento:not(.sf-bento-with-hero) .sf-tiles-bento.sf-tiles-n1 .sf-tile-wide[b-6hcwf53pm6] {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}

@media (max-width: 1023px) {
    .sf-tiles-blocks[b-6hcwf53pm6] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sf-tiles-blocks .sf-tile-lead[b-6hcwf53pm6] {
        grid-column: 1 / -1;
        min-height: 0;
    }

    .sf-tiles-bento[b-6hcwf53pm6] {
        grid-auto-rows: minmax(110px, auto);
    }
}

@media (max-width: 479px) {
    .sf-tiles[b-6hcwf53pm6] {
        gap: 10px;
    }

    .sf-tiles-blocks .sf-tile[b-6hcwf53pm6] {
        min-height: 96px;
        padding: 14px;
        font-size: 1.0625rem;
    }

    .sf-tiles-blocks .sf-tile-lead[b-6hcwf53pm6] {
        font-size: 1.375rem;
    }

    .sf-tiles-bento .sf-tile[b-6hcwf53pm6] {
        padding: 16px 18px;
        font-size: 1.0625rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sf-tiles-blocks .sf-tile[b-6hcwf53pm6],
    .sf-tiles-bento .sf-tile[b-6hcwf53pm6] {
        transition: none;
    }

    .sf-tiles-blocks a.sf-tile:hover[b-6hcwf53pm6] {
        transform: none;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Storefront/StorefrontFooter.razor.rz.scp.css */
/* The store's rich footer (StorefrontFooter.razor). Every colour is a theme token, and the background, ink and ring each layout
   uses here are the ones StorefrontFooterTone names (a test holds the two together, and the 48-theme contrast test reads that
   map). The store layout's own footer rules do not reach this component (CSS isolation), so each layout's treatment is declared
   again here: Clasico's tint, the airy layouts' hairline, Noche's panel, the bands, Fresco's and Bento's rounded panel.
   Mobile first: one column on a phone, two from 640px, four from 1024px. */

/* ---- The frame ------------------------------------------------------------------------------------------------------- */

.sf-footer--rich[b-s6qh87lds4] {
    color: var(--ds-on-surface-muted);
    background: var(--ds-surface-container-low);
    border-top: 1px solid var(--ds-border-default);
}

.sf-footer--rich .sf-footer-inner[b-s6qh87lds4] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px 24px;
    box-sizing: border-box;
}

.sf-footer-columns[b-s6qh87lds4] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
}

@media (min-width: 640px) {
    .sf-footer--rich .sf-footer-inner[b-s6qh87lds4] {
        padding: 40px var(--ds-page-padding) 24px;
    }

    .sf-footer-columns[b-s6qh87lds4] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 40px;
    }
}

/* Four columns at most: each track is at least a quarter of the row, and auto-fit folds the empty ones, so a footer with three
   blocks gets three wider columns instead of an empty fourth. */
@media (min-width: 1024px) {
    .sf-footer-columns[b-s6qh87lds4] {
        grid-template-columns: repeat(auto-fit, minmax(max(200px, calc((100% - 120px) / 4)), 1fr));
    }
}

/* ---- Headings and text ------------------------------------------------------------------------------------------------- */

.sf-footer-heading[b-s6qh87lds4] {
    margin: 0 0 12px;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ds-on-surface);
}

.sf-footer-subheading[b-s6qh87lds4] {
    margin: 16px 0 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ds-on-surface);
}

/* The branch heading after the customer care block: a new block in the same column. */
.sf-footer-care > * + .sf-footer-branch-heading[b-s6qh87lds4] {
    margin-top: 28px;
}

.sf-footer-brand[b-s6qh87lds4] {
    margin: 0 0 12px;
}

.sf-footer-logo[b-s6qh87lds4] {
    display: block;
    width: auto;
    height: 40px;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
}

.sf-footer-brand-text[b-s6qh87lds4] {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ds-on-surface);
    overflow-wrap: anywhere;
}

.sf-footer-pitch[b-s6qh87lds4] {
    max-width: 40ch;
    margin: 0 0 16px;
    font-size: 0.9375rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Delivery and pickup: the promises a buyer looks for first, in the ink colour with their icon. */
.sf-footer-promises[b-s6qh87lds4] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-footer-promise[b-s6qh87lds4] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--ds-on-surface);
    overflow-wrap: anywhere;
}

.sf-footer-promise .p4-icon[b-s6qh87lds4],
.sf-footer-pay-method .p4-icon[b-s6qh87lds4] {
    flex: none;
    font-size: 20px;
    line-height: 1;
}

.sf-footer-lines[b-s6qh87lds4] {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* ---- Ways to pay ---------------------------------------------------------------------------------------------------------- */

.sf-footer-pay[b-s6qh87lds4] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-footer-pay-item[b-s6qh87lds4] {
    display: inline-flex;
    align-items: center;
}

/* A card brand's own coloured logo sits on a white chip. White is a literal on purpose, not a theme token: the card networks require
   their marks in their own colours on a plain white field, so the chip must stay white whatever the footer's background (a dark
   theme included); the chip's edge uses the footer's text colour so it is visible on a light footer too. */
.sf-footer-card[b-s6qh87lds4],
.sf-footer-yappy[b-s6qh87lds4] {
    box-sizing: border-box;
    padding: 0 8px;
    background: white;
    border: 1px solid currentColor;
    border-radius: 4px;
}

.sf-footer-card[b-s6qh87lds4] {
    height: 32px;
}

/* Yappy's logo is a tall stacked mark, so its chip is taller; the logo keeps its own proportions (height fixed, width follows). */
.sf-footer-yappy[b-s6qh87lds4] {
    height: 52px;
}

.sf-yappy-logo[b-s6qh87lds4] {
    display: block;
    width: auto;
    height: 40px;
    object-fit: contain;
}

.sf-card-mark[b-s6qh87lds4] {
    display: block;
    width: auto;
    height: 20px;
    max-width: 72px;
    object-fit: contain;
}

.sf-footer-pay-method[b-s6qh87lds4] {
    gap: 6px;
    min-height: 32px;
    padding: 0 10px;
    box-sizing: border-box;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid currentColor;
    border-radius: 4px;
}

/* ---- Links and contacts ----------------------------------------------------------------------------------------------------- */

.sf-footer-list[b-s6qh87lds4],
.sf-footer-contacts[b-s6qh87lds4] {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Every link is its own 44px target; the list steps back by the link's padding so the words line up with the heading. */
.sf-footer-list[b-s6qh87lds4] {
    margin-inline-start: -8px;
}

.sf-footer--rich .sf-footer-link[b-s6qh87lds4] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
    box-sizing: border-box;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ds-on-surface);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    border-radius: var(--ds-radius-button);
    overflow-wrap: anywhere;
}

.sf-footer--rich .sf-footer-link:hover[b-s6qh87lds4],
.sf-footer--rich .sf-footer-link[aria-current="page"][b-s6qh87lds4] {
    text-decoration-color: currentColor;
}

.sf-footer--rich .sf-footer-link:focus-visible[b-s6qh87lds4],
.sf-footer-social-link:focus-visible[b-s6qh87lds4] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

/* Each contact is a group (label, link, languages): more room between groups than inside one. */
.sf-footer-contacts[b-s6qh87lds4] {
    gap: 14px;
}

.sf-footer-contact[b-s6qh87lds4] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sf-footer-contact-label[b-s6qh87lds4] {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sf-footer-contact-link[b-s6qh87lds4] {
    margin-inline-start: -8px;
    max-width: calc(100% + 8px);
}

.sf-footer-languages[b-s6qh87lds4] {
    margin-top: -8px;
    font-size: 0.8125rem;
    line-height: 1.4;
}

/* A wide window is used with a pointer: the links keep a 32px target (over WCAG 2.2's 24px), so the columns stay compact. Phones
   and tablets keep 44px. */
@media (min-width: 1024px) {
    .sf-footer--rich .sf-footer-link[b-s6qh87lds4] {
        min-height: 32px;
    }

    .sf-footer-languages[b-s6qh87lds4] {
        margin-top: -2px;
    }
}

/* ---- Social icons and the legal line --------------------------------------------------------------------------------------- */

.sf-footer-social-row[b-s6qh87lds4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 16px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--ds-border-default);
}

.sf-footer-social-heading[b-s6qh87lds4] {
    margin: 0;
}

.sf-footer-social[b-s6qh87lds4] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 0 -10px;
    padding: 0;
    list-style: none;
}

.sf-footer-social-link[b-s6qh87lds4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    box-sizing: border-box;
    color: var(--ds-on-surface);
    border-radius: var(--ds-radius-button);
}

/* A hairline ring under the pointer, in the icon's own colour: no new colour to keep readable on every theme. */
.sf-footer-social-link:hover[b-s6qh87lds4] {
    box-shadow: inset 0 0 0 1px currentColor;
}

.sf-social-icon[b-s6qh87lds4] {
    display: block;
    width: 22px;
    height: 22px;
}

.sf-footer--rich .sf-footer-legal[b-s6qh87lds4] {
    margin: 24px 0 0;
    padding-top: 16px;
    font-size: 0.8125rem;
    border-top: 1px solid var(--ds-border-default);
    overflow-wrap: anywhere;
}

.sf-footer-social-row + .sf-footer-legal[b-s6qh87lds4] {
    margin-top: 8px;
    padding-top: 0;
    border-top: 0;
}

/* ---- The layouts --------------------------------------------------------------------------------------------------------- */

/* The airy layouts: a hairline over the page colour. */
.sf-shell[data-layout="minimal"] .sf-footer--rich[b-s6qh87lds4],
.sf-shell[data-layout="editorial"] .sf-footer--rich[b-s6qh87lds4],
.sf-shell[data-layout="boutique"] .sf-footer--rich[b-s6qh87lds4],
.sf-shell[data-layout="galeria"] .sf-footer--rich[b-s6qh87lds4] {
    background: transparent;
}

/* The layouts that set their links in capitals do so for the page links only: an email address in capitals reads wrong. */
.sf-shell[data-layout="minimal"] .sf-footer-popular .sf-footer-link[b-s6qh87lds4] {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.sf-shell[data-layout="editorial"] .sf-footer--rich .sf-footer-link[b-s6qh87lds4],
.sf-shell[data-layout="galeria"] .sf-footer--rich .sf-footer-link[b-s6qh87lds4],
.sf-shell[data-layout="boutique"] .sf-footer--rich .sf-footer-link[b-s6qh87lds4] {
    font-weight: 400;
}

/* Boutique centres its name and its footer: the social row and the legal line follow. */
.sf-shell[data-layout="boutique"] .sf-footer-social-row[b-s6qh87lds4] {
    justify-content: center;
}

.sf-shell[data-layout="boutique"] .sf-footer--rich .sf-footer-legal[b-s6qh87lds4] {
    text-align: center;
}

/* Noche: the raised panel colour. */
.sf-shell[data-layout="noche"] .sf-footer--rich[b-s6qh87lds4] {
    background: var(--ds-surface-container);
}

/* The band layouts close the page with the header's band, and everything on it is the band's own text colour (the theme's
   muted grey was made for the page, not for the band). */
.sf-shell[data-layout="mercado"] .sf-footer--rich[b-s6qh87lds4],
.sf-shell[data-layout="industrial"] .sf-footer--rich[b-s6qh87lds4],
.sf-shell[data-layout="tropical"] .sf-footer--rich[b-s6qh87lds4],
.sf-shell[data-layout="corporativo"] .sf-footer--rich[b-s6qh87lds4] {
    color: var(--ds-on-secondary);
    background: var(--ds-secondary);
    border-top: 0;
}

.sf-shell[data-layout="mercado"] .sf-footer--rich[b-s6qh87lds4] {
    border-top: 3px solid var(--ds-on-secondary);
}

.sf-shell[data-layout="mercado"] .sf-footer--rich :is(.sf-footer-heading, .sf-footer-subheading, .sf-footer-brand-text, .sf-footer-promise, .sf-footer-link, .sf-footer-social-link)[b-s6qh87lds4],
.sf-shell[data-layout="industrial"] .sf-footer--rich :is(.sf-footer-heading, .sf-footer-subheading, .sf-footer-brand-text, .sf-footer-promise, .sf-footer-link, .sf-footer-social-link)[b-s6qh87lds4],
.sf-shell[data-layout="tropical"] .sf-footer--rich :is(.sf-footer-heading, .sf-footer-subheading, .sf-footer-brand-text, .sf-footer-promise, .sf-footer-link, .sf-footer-social-link)[b-s6qh87lds4],
.sf-shell[data-layout="corporativo"] .sf-footer--rich :is(.sf-footer-heading, .sf-footer-subheading, .sf-footer-brand-text, .sf-footer-promise, .sf-footer-link, .sf-footer-social-link)[b-s6qh87lds4] {
    color: var(--ds-on-secondary);
}

.sf-shell[data-layout="mercado"] .sf-footer--rich :is(.sf-footer-social-row, .sf-footer-legal)[b-s6qh87lds4],
.sf-shell[data-layout="industrial"] .sf-footer--rich :is(.sf-footer-social-row, .sf-footer-legal)[b-s6qh87lds4],
.sf-shell[data-layout="tropical"] .sf-footer--rich :is(.sf-footer-social-row, .sf-footer-legal)[b-s6qh87lds4],
.sf-shell[data-layout="corporativo"] .sf-footer--rich :is(.sf-footer-social-row, .sf-footer-legal)[b-s6qh87lds4] {
    border-top-color: var(--ds-on-secondary);
}

/* On a band the accent can vanish, so the ring is the band's own text colour, as in the header. */
.sf-shell[data-layout="mercado"] .sf-footer--rich :is(.sf-footer-link, .sf-footer-social-link):focus-visible[b-s6qh87lds4],
.sf-shell[data-layout="industrial"] .sf-footer--rich :is(.sf-footer-link, .sf-footer-social-link):focus-visible[b-s6qh87lds4],
.sf-shell[data-layout="tropical"] .sf-footer--rich :is(.sf-footer-link, .sf-footer-social-link):focus-visible[b-s6qh87lds4],
.sf-shell[data-layout="corporativo"] .sf-footer--rich :is(.sf-footer-link, .sf-footer-social-link):focus-visible[b-s6qh87lds4] {
    outline-color: var(--ds-on-secondary);
}

.sf-shell[data-layout="mercado"] .sf-footer--rich .sf-footer-link[b-s6qh87lds4] {
    font-weight: 800;
}

.sf-shell[data-layout="mercado"] .sf-footer-popular .sf-footer-link[b-s6qh87lds4] {
    text-transform: uppercase;
}

.sf-shell[data-layout="industrial"] .sf-footer--rich .sf-footer-link[b-s6qh87lds4] {
    font-weight: 500;
}

/* Fresco and Bento: a rounded panel inside the page's gutter, like Fresco's header and Bento's tiles. */
.sf-shell[data-layout="fresco"] .sf-footer--rich[b-s6qh87lds4],
.sf-shell[data-layout="bento"] .sf-footer--rich[b-s6qh87lds4] {
    padding: 0 max(16px, calc((100% - 1200px) / 2 + var(--ds-page-padding))) 24px;
    background: transparent;
    border-top: 0;
}

.sf-shell[data-layout="fresco"] .sf-footer--rich .sf-footer-inner[b-s6qh87lds4],
.sf-shell[data-layout="bento"] .sf-footer--rich .sf-footer-inner[b-s6qh87lds4] {
    max-width: none;
    padding: 32px 24px 20px;
    background: var(--ds-surface-container);
}

.sf-shell[data-layout="fresco"] .sf-footer--rich .sf-footer-inner[b-s6qh87lds4] {
    border-radius: var(--ds-radius-card);
    box-shadow: var(--ds-elevation-1);
}

.sf-shell[data-layout="bento"] .sf-footer--rich .sf-footer-inner[b-s6qh87lds4] {
    border-radius: var(--ds-radius-dialog);
}

.sf-shell[data-layout="fresco"] .sf-footer--rich .sf-footer-link[b-s6qh87lds4] {
    font-weight: 800;
}

/* ---- Room for the floating WhatsApp button ------------------------------------------------------------------------------
   As the policy footer does (StorefrontLayout.razor.css): wherever the content column reaches the window's right edge, the
   footer's end gets the button's height and more, so its last line and links always scroll clear of the button. */

@media (max-width: 1343px) {
    .sf-shell--chat .sf-footer--rich .sf-footer-inner[b-s6qh87lds4] {
        padding-bottom: 88px;
    }

    .sf-shell--chat[data-layout="fresco"] .sf-footer--rich[b-s6qh87lds4],
    .sf-shell--chat[data-layout="bento"] .sf-footer--rich[b-s6qh87lds4] {
        padding-bottom: 88px;
    }

    .sf-shell--chat[data-layout="fresco"] .sf-footer--rich .sf-footer-inner[b-s6qh87lds4],
    .sf-shell--chat[data-layout="bento"] .sf-footer--rich .sf-footer-inner[b-s6qh87lds4] {
        padding-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .sf-shell[data-layout="fresco"] .sf-footer--rich[b-s6qh87lds4],
    .sf-shell[data-layout="bento"] .sf-footer--rich[b-s6qh87lds4] {
        padding-inline: 16px;
    }

    .sf-shell[data-layout="fresco"] .sf-footer--rich .sf-footer-inner[b-s6qh87lds4],
    .sf-shell[data-layout="bento"] .sf-footer--rich .sf-footer-inner[b-s6qh87lds4] {
        padding: 24px 16px 16px;
    }
}

/* A printed page keeps the store's name, contacts and address, not its links and icons. */
@media print {
    .sf-footer-popular[b-s6qh87lds4],
    .sf-footer-social-row[b-s6qh87lds4] {
        display: none;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Storefront/StorefrontNotFound.razor.rz.scp.css */
.sf-notfound[b-6ufwgi5nt7] {
    padding: 64px 0;
    text-align: center;
}

/* Same heading size as every other store page. */
.sf-notfound-title[b-6ufwgi5nt7] {
    margin: 0 0 8px;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ds-on-surface);
}

.sf-notfound-text[b-6ufwgi5nt7] {
    margin: 0;
    color: var(--ds-on-surface-muted);
}

/* Link back to the catalog, shown only for an open store. */
.sf-notfound-link[b-6ufwgi5nt7] {
    display: inline-block;
    margin-top: 16px;
    color: var(--ds-primary);
    font-weight: 600;
    text-decoration: none;
}

.sf-notfound-link:hover[b-6ufwgi5nt7],
.sf-notfound-link:focus-visible[b-6ufwgi5nt7] {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .sf-notfound[b-6ufwgi5nt7] {
        padding: 40px 0;
    }

    .sf-notfound-title[b-6ufwgi5nt7] {
        font-size: 1.375rem;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Storefront/StorefrontPolicyPage.razor.rz.scp.css */
/* A policy page: the owner's text as a comfortable reading column (about 70 characters a line), in the theme's colours and
   fonts (the h1 takes the heading face from the generated theme CSS). Colours from --ds-* tokens only. */

.sf-policy[b-mpvxg6hkxt] {
    max-width: 70ch;
    padding: 8px 0 24px;
}

/* Same heading size as the store's other pages. */
.sf-policy-title[b-mpvxg6hkxt] {
    margin: 0 0 24px;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ds-on-surface);
    overflow-wrap: anywhere;
}

.sf-policy-text[b-mpvxg6hkxt] {
    margin: 0 0 16px;
    line-height: 1.65;
    color: var(--ds-on-surface);
    /* An address or a long reference the owner typed wraps instead of widening the page. */
    overflow-wrap: anywhere;
}

.sf-policy-text:last-child[b-mpvxg6hkxt] {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .sf-policy[b-mpvxg6hkxt] {
        padding-top: 0;
    }

    .sf-policy-title[b-mpvxg6hkxt] {
        margin-bottom: 16px;
        font-size: 1.375rem;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Storefront/StorefrontProductCard.razor.rz.scp.css */
/* One product in the catalog. The rules without a [data-layout] are the classic card, exactly as the store has drawn it
   (Clásico is today's store); each layout's own card follows, from its mockup. Colours, shapes and spacing come from --ds-*
   tokens only. Everything a card holds wraps rather than clips (the product code included), so a long Spanish name or part
   number never overflows a phone. */

.sf-card[b-zj8y1b4zdg] {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--ds-surface);
    border: 1px solid var(--ds-border-default);
    border-radius: var(--ds-radius-card);
    box-shadow: var(--ds-elevation-1);
    color: var(--ds-on-surface);
    text-decoration: none;
    overflow: hidden;
    transition: box-shadow 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.sf-card:hover[b-zj8y1b4zdg],
.sf-card:focus-visible[b-zj8y1b4zdg] {
    border-color: var(--ds-primary);
    box-shadow: var(--ds-elevation-2);
}

.sf-card:focus-visible[b-zj8y1b4zdg] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

.sf-card-media[b-zj8y1b4zdg] {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background: var(--ds-surface-container-low);
}

.sf-card-image[b-zj8y1b4zdg] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sf-card-placeholder[b-zj8y1b4zdg] {
    font-size: 3rem;
    /* Visible on the pale tile (the lighter outline-variant all but vanished). */
    color: var(--ds-outline);
}

/* Fills the card so every card in a row is as tall as the tallest: with the price pinned to the bottom,
   the prices of a row line up whether a name takes one line or three. */
.sf-card-body[b-zj8y1b4zdg] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: var(--ds-card-padding);
}

.sf-card-name[b-zj8y1b4zdg] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
    /* A very long name stops at three lines; the product page shows it in full. */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* The product code under the name (the store's "Product code shown in the store" setting): quiet, and wrapping onto a
   second line rather than cut off, so a whole part number always reads, even at 390px. */
.sf-card-code[b-zj8y1b4zdg] {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--ds-on-surface-muted);
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.sf-card-price[b-zj8y1b4zdg] {
    margin: auto 0 0;
    padding-top: 4px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ds-primary);
    font-variant-numeric: tabular-nums;
}

.sf-card-stock[b-zj8y1b4zdg] {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--ds-on-surface-muted);
}

/* The "View" affordance of Industrial and Corporativo (the whole card is the link). */
.sf-card-view[b-zj8y1b4zdg] {
    display: none;
}

@media (max-width: 479px) {
    .sf-card-body[b-zj8y1b4zdg] {
        padding: 12px;
    }

    .sf-card-name[b-zj8y1b4zdg],
    .sf-card-price[b-zj8y1b4zdg] {
        font-size: 0.875rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sf-card[b-zj8y1b4zdg] {
        transition: none;
    }
}

/* ---- Every layout but Clásico: the photo backdrop -------------------------------------------------------------------
   The theme's photo tile (--ds-surface-variant): the light tile the dark presets put their photos on, white where the
   mockup draws white. Clásico keeps the tile it has always had. */

.sf-shell[data-layout]:not([data-layout="clasico"]) .sf-card-media[b-zj8y1b4zdg] {
    background: var(--ds-surface-variant);
    /* A padded box with an aspect ratio otherwise grows to its photo's own height, and the tiles of a row differ. */
    overflow: hidden;
}

.sf-shell[data-layout]:not([data-layout="clasico"]) .sf-card-placeholder[b-zj8y1b4zdg] {
    color: var(--ds-on-surface-variant);
}

/* Product photos are mostly shot on white: on a tinted tile they sit in it rather than on a white box. */
.sf-shell[data-layout="minimal"] .sf-card-image[b-zj8y1b4zdg],
.sf-shell[data-layout="editorial"] .sf-card-image[b-zj8y1b4zdg],
.sf-shell[data-layout="noche"] .sf-card-image[b-zj8y1b4zdg],
.sf-shell[data-layout="fresco"] .sf-card-image[b-zj8y1b4zdg],
.sf-shell[data-layout="bento"] .sf-card-image[b-zj8y1b4zdg],
.sf-shell[data-layout="galeria"] .sf-card-image[b-zj8y1b4zdg] {
    mix-blend-mode: multiply;
}

/* ---- The open, borderless tiles: Minimal, Editorial, Boutique, Galería ----------------------------------------------- */

.sf-shell[data-layout="minimal"] .sf-card[b-zj8y1b4zdg],
.sf-shell[data-layout="editorial"] .sf-card[b-zj8y1b4zdg],
.sf-shell[data-layout="boutique"] .sf-card[b-zj8y1b4zdg],
.sf-shell[data-layout="galeria"] .sf-card[b-zj8y1b4zdg] {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.sf-shell[data-layout="minimal"] .sf-card:hover .sf-card-name[b-zj8y1b4zdg],
.sf-shell[data-layout="editorial"] .sf-card:hover .sf-card-name[b-zj8y1b4zdg],
.sf-shell[data-layout="boutique"] .sf-card:hover .sf-card-name[b-zj8y1b4zdg],
.sf-shell[data-layout="galeria"] .sf-card:hover .sf-card-name[b-zj8y1b4zdg] {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sf-shell[data-layout="minimal"] .sf-card-body[b-zj8y1b4zdg],
.sf-shell[data-layout="editorial"] .sf-card-body[b-zj8y1b4zdg],
.sf-shell[data-layout="boutique"] .sf-card-body[b-zj8y1b4zdg],
.sf-shell[data-layout="galeria"] .sf-card-body[b-zj8y1b4zdg] {
    padding: 14px 0 0;
}

/* Minimal: a quiet square tile, plain name, the price in the text colour. */
.sf-shell[data-layout="minimal"] .sf-card-media[b-zj8y1b4zdg] {
    padding: 12%;
    box-sizing: border-box;
}

.sf-shell[data-layout="minimal"] .sf-card-body[b-zj8y1b4zdg] {
    gap: 6px;
}

.sf-shell[data-layout="minimal"] .sf-card-name[b-zj8y1b4zdg] {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.45;
    -webkit-line-clamp: 2;
}

.sf-shell[data-layout="minimal"] .sf-card-price[b-zj8y1b4zdg] {
    padding-top: 2px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ds-on-surface);
}

/* Editorial: a landscape tile in the tint, the name in the serif. */
.sf-shell[data-layout="editorial"] .sf-card-media[b-zj8y1b4zdg] {
    aspect-ratio: 3 / 2;
    padding: 6%;
    box-sizing: border-box;
}

.sf-shell[data-layout="editorial"] .sf-card-name[b-zj8y1b4zdg] {
    font-size: 1.1875rem;
    font-weight: 500;
    line-height: 1.3;
    -webkit-line-clamp: 2;
}

.sf-shell[data-layout="editorial"] .sf-card-body[b-zj8y1b4zdg] {
    gap: 8px;
}

/* Boutique: a tall white tile, everything centred, the name in the serif. */
.sf-shell[data-layout="boutique"] .sf-card[b-zj8y1b4zdg] {
    text-align: center;
}

.sf-shell[data-layout="boutique"] .sf-card-media[b-zj8y1b4zdg] {
    aspect-ratio: 16 / 15;
    padding: 12%;
    box-sizing: border-box;
}

.sf-shell[data-layout="boutique"] .sf-card-body[b-zj8y1b4zdg] {
    gap: 10px;
    padding-top: 16px;
}

.sf-shell[data-layout="boutique"] .sf-card-name[b-zj8y1b4zdg] {
    font-size: 1.3125rem;
    font-weight: 500;
    line-height: 1.25;
    -webkit-line-clamp: 2;
}

.sf-shell[data-layout="boutique"] .sf-card-price[b-zj8y1b4zdg] {
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.6px;
}

/* Galería: the photo leads; name and price share one line under it. */
.sf-shell[data-layout="galeria"] .sf-card-media[b-zj8y1b4zdg] {
    aspect-ratio: 6 / 5;
    padding: 12% 18%;
    box-sizing: border-box;
}

.sf-shell[data-layout="galeria"] .sf-card-body[b-zj8y1b4zdg] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
    row-gap: 2px;
    align-items: baseline;
    padding-top: 12px;
}

.sf-shell[data-layout="galeria"] .sf-card-name[b-zj8y1b4zdg] {
    font-family: var(--ds-font);
    font-size: 0.875rem;
    font-weight: 400;
    -webkit-line-clamp: 2;
}

.sf-shell[data-layout="galeria"] .sf-card-price[b-zj8y1b4zdg] {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ds-on-surface);
    white-space: nowrap;
}

.sf-shell[data-layout="galeria"] .sf-card-code[b-zj8y1b4zdg],
.sf-shell[data-layout="galeria"] .sf-card-stock[b-zj8y1b4zdg] {
    grid-column: 1 / -1;
}

/* ---- Noche: a raised panel with the photo on a light tile ------------------------------------------------------------ */

.sf-shell[data-layout="noche"] .sf-card[b-zj8y1b4zdg] {
    gap: 14px;
    padding: 12px 12px 8px;
    box-sizing: border-box;
    background: var(--ds-surface-container);
}

.sf-shell[data-layout="noche"] .sf-card-media[b-zj8y1b4zdg] {
    aspect-ratio: 5 / 4;
    border-radius: max(0px, calc(var(--ds-radius-card) - 6px));
    overflow: hidden;
}

.sf-shell[data-layout="noche"] .sf-card-body[b-zj8y1b4zdg] {
    gap: 8px;
    padding: 0 6px 12px;
}

.sf-shell[data-layout="noche"] .sf-card-name[b-zj8y1b4zdg] {
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    -webkit-line-clamp: 2;
}

.sf-shell[data-layout="noche"] .sf-card-price[b-zj8y1b4zdg] {
    font-size: 1.1875rem;
}

/* ---- Mercado: thick ink rules and a price tag ------------------------------------------------------------------------ */

.sf-shell[data-layout="mercado"] .sf-card[b-zj8y1b4zdg] {
    border: 3px solid var(--ds-on-surface);
}

.sf-shell[data-layout="mercado"] .sf-card:hover[b-zj8y1b4zdg],
.sf-shell[data-layout="mercado"] .sf-card:focus-visible[b-zj8y1b4zdg] {
    border-color: var(--ds-on-surface);
    transform: translate(-2px, -2px);
}

.sf-shell[data-layout="mercado"] .sf-card-media[b-zj8y1b4zdg] {
    aspect-ratio: 4 / 3;
    padding: 8px;
    box-sizing: border-box;
    border-bottom: 3px solid var(--ds-on-surface);
}

.sf-shell[data-layout="mercado"] .sf-card-body[b-zj8y1b4zdg] {
    gap: 8px;
    padding: 10px;
}

.sf-shell[data-layout="mercado"] .sf-card-name[b-zj8y1b4zdg] {
    font-family: inherit;
    font-size: 0.8125rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
}

.sf-shell[data-layout="mercado"] .sf-card-price[b-zj8y1b4zdg] {
    align-self: flex-start;
    padding: 3px 8px;
    font-size: 1.0625rem;
    font-weight: 900;
    color: var(--ds-on-primary);
    background: var(--ds-primary);
}

/* ---- Fresco: a rounded white card, the price and a stock badge on one line -------------------------------------------- */

.sf-shell[data-layout="fresco"] .sf-card[b-zj8y1b4zdg] {
    padding: 12px 12px 4px;
    box-sizing: border-box;
    background: var(--ds-surface-container);
    border: 0;
}

.sf-shell[data-layout="fresco"] .sf-card:hover[b-zj8y1b4zdg],
.sf-shell[data-layout="fresco"] .sf-card:focus-visible[b-zj8y1b4zdg] {
    transform: translateY(-2px);
}

.sf-shell[data-layout="fresco"] .sf-card-media[b-zj8y1b4zdg] {
    aspect-ratio: 5 / 4;
    border-radius: max(0px, calc(var(--ds-radius-card) - 6px));
    overflow: hidden;
}

/* Name, code, then the price and badge on the last row, pinned to the card's bottom so a row of cards lines its prices up. */
.sf-shell[data-layout="fresco"] .sf-card-body[b-zj8y1b4zdg] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto 1fr;
    gap: 8px 8px;
    padding: 12px 6px 14px;
}

.sf-shell[data-layout="fresco"] .sf-card-name[b-zj8y1b4zdg] {
    grid-column: 1 / -1;
    grid-row: 1;
}

.sf-shell[data-layout="fresco"] .sf-card-code[b-zj8y1b4zdg] {
    grid-column: 1 / -1;
    grid-row: 2;
}

.sf-shell[data-layout="fresco"] .sf-card-price[b-zj8y1b4zdg],
.sf-shell[data-layout="fresco"] .sf-card-stock[b-zj8y1b4zdg] {
    grid-row: 3;
    align-self: end;
}

.sf-shell[data-layout="fresco"] .sf-card-name[b-zj8y1b4zdg] {
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    -webkit-line-clamp: 2;
}

.sf-shell[data-layout="fresco"] .sf-card-price[b-zj8y1b4zdg] {
    margin: 0;
    padding: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ds-on-surface);
}

.sf-shell[data-layout="fresco"] .sf-card-stock[b-zj8y1b4zdg] {
    justify-self: end;
    padding: 4px 10px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ds-on-surface-muted);
    background: var(--ds-surface-container-low);
    border-radius: var(--ds-radius-badge);
    white-space: nowrap;
}

.sf-shell[data-layout="fresco"] .sf-card-stock-in[b-zj8y1b4zdg] {
    color: var(--ds-on-secondary-container);
    background: var(--ds-secondary-container);
}

/* ---- Bento: a horizontal tile, the photo on its own small square ----------------------------------------------------- */

.sf-shell[data-layout="bento"] .sf-card[b-zj8y1b4zdg] {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 14px;
    box-sizing: border-box;
    background: var(--ds-surface-container);
    border: 0;
}

.sf-shell[data-layout="bento"] .sf-card-media[b-zj8y1b4zdg] {
    flex: none;
    width: 96px;
    height: 96px;
    aspect-ratio: auto;
    padding: 8px;
    box-sizing: border-box;
    border-radius: max(0px, calc(var(--ds-radius-card) - 6px));
}

.sf-shell[data-layout="bento"] .sf-card-body[b-zj8y1b4zdg] {
    gap: 8px;
    min-width: 0;
    padding: 0;
}

.sf-shell[data-layout="bento"] .sf-card-name[b-zj8y1b4zdg] {
    font-family: inherit;
    font-size: 0.875rem;
    line-height: 1.35;
}

.sf-shell[data-layout="bento"] .sf-card-price[b-zj8y1b4zdg] {
    margin-top: 0;
    padding-top: 0;
    font-size: 1.0625rem;
    font-weight: 800;
}

/* ---- Tropical: a white card on a soft shadow, a tinted footer -------------------------------------------------------- */

.sf-shell[data-layout="tropical"] .sf-card[b-zj8y1b4zdg] {
    background: var(--ds-surface-container);
    border: 0;
}

.sf-shell[data-layout="tropical"] .sf-card:hover[b-zj8y1b4zdg],
.sf-shell[data-layout="tropical"] .sf-card:focus-visible[b-zj8y1b4zdg] {
    transform: translateY(-2px);
}

.sf-shell[data-layout="tropical"] .sf-card-media[b-zj8y1b4zdg] {
    padding: 10%;
    box-sizing: border-box;
}

.sf-shell[data-layout="tropical"] .sf-card-body[b-zj8y1b4zdg] {
    gap: 8px;
    padding: 14px 18px 18px;
    color: var(--ds-on-secondary-container);
    background: var(--ds-secondary-container);
}

.sf-shell[data-layout="tropical"] .sf-card-name[b-zj8y1b4zdg] {
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.45;
    -webkit-line-clamp: 2;
}

.sf-shell[data-layout="tropical"] .sf-card-code[b-zj8y1b4zdg],
.sf-shell[data-layout="tropical"] .sf-card-stock[b-zj8y1b4zdg] {
    color: var(--ds-on-secondary-container);
}

.sf-shell[data-layout="tropical"] .sf-card-price[b-zj8y1b4zdg] {
    font-size: 1.25rem;
    font-weight: 800;
}

/* ---- Corporativo: a ruled box with the price in the bar colour and a view button ------------------------------------- */

.sf-shell[data-layout="corporativo"] .sf-card[b-zj8y1b4zdg] {
    gap: 10px;
    padding: 14px;
    box-sizing: border-box;
    box-shadow: none;
}

.sf-shell[data-layout="corporativo"] .sf-card-media[b-zj8y1b4zdg] {
    aspect-ratio: 4 / 3;
}

.sf-shell[data-layout="corporativo"] .sf-card-body[b-zj8y1b4zdg] {
    gap: 8px;
    padding: 0;
}

.sf-shell[data-layout="corporativo"] .sf-card-name[b-zj8y1b4zdg] {
    font-family: inherit;
    font-size: 0.9375rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
}

.sf-shell[data-layout="corporativo"] .sf-card-price[b-zj8y1b4zdg] {
    font-size: 1.1875rem;
    color: var(--ds-secondary);
}

.sf-shell[data-layout="corporativo"] .sf-card-view[b-zj8y1b4zdg] {
    display: block;
    margin-top: 4px;
    padding: 9px 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    color: var(--ds-primary);
    border: 1px solid var(--ds-primary);
    border-radius: var(--ds-radius-button);
}

.sf-shell[data-layout="corporativo"] .sf-card:hover .sf-card-view[b-zj8y1b4zdg] {
    color: var(--ds-on-primary);
    background: var(--ds-primary);
}

/* ---- Industrial: one table row per product --------------------------------------------------------------------------
   Photo, name, code (only when a product shows one), stock, price and a view button, in the same columns as the catalog's
   header row (CatalogPage.razor.css). The body's box is dropped so its parts are the row's own cells. */

.sf-shell[data-layout="industrial"] .sf-card[b-zj8y1b4zdg] {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 120px 100px 84px;
    grid-template-areas: "media name stock price view";
    align-items: center;
    column-gap: 16px;
    padding: 10px 20px;
    box-sizing: border-box;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--ds-border-subtle);
    border-radius: 0;
    box-shadow: none;
}

.sf-shell[data-layout="industrial"] .sf-results-codes .sf-card[b-zj8y1b4zdg] {
    grid-template-columns: 64px minmax(0, 1fr) 150px 120px 100px 84px;
    grid-template-areas: "media name code stock price view";
}

.sf-shell[data-layout="industrial"] .sf-card:hover[b-zj8y1b4zdg],
.sf-shell[data-layout="industrial"] .sf-card:focus-visible[b-zj8y1b4zdg] {
    background: var(--ds-surface-container-low);
}

.sf-shell[data-layout="industrial"] .sf-card:focus-visible[b-zj8y1b4zdg] {
    outline-offset: -2px;
}

.sf-shell[data-layout="industrial"] .sf-card-body[b-zj8y1b4zdg] {
    display: contents;
}

.sf-shell[data-layout="industrial"] .sf-card-media[b-zj8y1b4zdg] {
    grid-area: media;
    width: 56px;
    height: 56px;
    aspect-ratio: auto;
}

.sf-shell[data-layout="industrial"] .sf-card-placeholder[b-zj8y1b4zdg] {
    font-size: 1.75rem;
}

.sf-shell[data-layout="industrial"] .sf-card-name[b-zj8y1b4zdg] {
    grid-area: name;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    -webkit-line-clamp: 2;
}

.sf-shell[data-layout="industrial"] .sf-card-code[b-zj8y1b4zdg] {
    grid-area: code;
    font-family: var(--ds-mono);
    color: var(--ds-on-surface);
}

.sf-shell[data-layout="industrial"] .sf-card-stock[b-zj8y1b4zdg] {
    grid-area: stock;
    justify-self: end;
    padding: 2px 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ds-on-surface-muted);
    background: var(--ds-surface-container-low);
    border-radius: var(--ds-radius-badge);
    text-align: right;
}

.sf-shell[data-layout="industrial"] .sf-card-stock-in[b-zj8y1b4zdg] {
    color: var(--ds-on-success-container);
    background: var(--ds-success-container);
}

.sf-shell[data-layout="industrial"] .sf-card-price[b-zj8y1b4zdg] {
    grid-area: price;
    margin: 0;
    padding: 0;
    color: var(--ds-on-surface);
    text-align: right;
}

.sf-shell[data-layout="industrial"] .sf-card-view[b-zj8y1b4zdg] {
    grid-area: view;
    display: block;
    padding: 8px 0;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid var(--ds-outline);
    border-radius: var(--ds-radius-button);
}

.sf-shell[data-layout="industrial"] .sf-card:hover .sf-card-view[b-zj8y1b4zdg] {
    border-color: var(--ds-primary);
    color: var(--ds-primary);
}

/* ---- Industrial on narrower screens: the row folds into two lines under the photo ------------------------------------- */

@media (max-width: 1023px) {
    .sf-shell[data-layout="industrial"] .sf-card[b-zj8y1b4zdg],
    .sf-shell[data-layout="industrial"] .sf-results-codes .sf-card[b-zj8y1b4zdg] {
        grid-template-columns: 56px minmax(0, 1fr) auto;
        grid-template-areas:
            "media name name"
            "media code code"
            "media stock price";
        row-gap: 6px;
        column-gap: 12px;
        padding: 12px 16px;
    }

    .sf-shell[data-layout="industrial"] .sf-card-stock[b-zj8y1b4zdg] {
        justify-self: start;
    }

    .sf-shell[data-layout="industrial"] .sf-card-view[b-zj8y1b4zdg] {
        display: none;
    }
}

/* ---- Phones ------------------------------------------------------------------------------------------------------- */

@media (max-width: 479px) {
    .sf-shell[data-layout="editorial"] .sf-card-name[b-zj8y1b4zdg],
    .sf-shell[data-layout="boutique"] .sf-card-name[b-zj8y1b4zdg] {
        font-size: 1rem;
    }

    .sf-shell[data-layout="noche"] .sf-card[b-zj8y1b4zdg] {
        padding: 8px 8px 4px;
    }

    .sf-shell[data-layout="noche"] .sf-card-body[b-zj8y1b4zdg] {
        padding: 0 4px 8px;
    }

    .sf-shell[data-layout="fresco"] .sf-card[b-zj8y1b4zdg] {
        padding: 8px 8px 0;
    }

    /* Price and badge stack in a narrow card rather than squeezing each other. */
    .sf-shell[data-layout="fresco"] .sf-card-body[b-zj8y1b4zdg] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto 1fr auto;
        padding: 10px 4px 12px;
    }

    .sf-shell[data-layout="fresco"] .sf-card-stock[b-zj8y1b4zdg] {
        grid-row: 4;
        justify-self: start;
    }

    .sf-shell[data-layout="fresco"] .sf-card-price[b-zj8y1b4zdg] {
        font-size: 1.0625rem;
    }

    .sf-shell[data-layout="tropical"] .sf-card-body[b-zj8y1b4zdg] {
        padding: 10px 12px 12px;
    }

    .sf-shell[data-layout="tropical"] .sf-card-price[b-zj8y1b4zdg] {
        font-size: 1.0625rem;
    }

    .sf-shell[data-layout="mercado"] .sf-card-price[b-zj8y1b4zdg] {
        font-size: 0.9375rem;
    }

    .sf-shell[data-layout="corporativo"] .sf-card[b-zj8y1b4zdg] {
        padding: 10px;
    }

    .sf-shell[data-layout="corporativo"] .sf-card-view[b-zj8y1b4zdg] {
        padding: 8px 4px;
        font-size: 0.875rem;
    }

    .sf-shell[data-layout="bento"] .sf-card-media[b-zj8y1b4zdg] {
        width: 80px;
        height: 80px;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Storefront/StorefrontWhatsAppButton.razor.rz.scp.css */
/* The floating WhatsApp button. Its green and the glyph's white are the store's own tokens (--sf-whatsapp, set by the
   generated theme CSS, StorefrontThemeCss.WhatsAppGreen); shape and shadow follow the layout's tokens. The store layout leaves
   room under the last block of every page for it (.sf-shell--chat), so the end of a page always scrolls clear of it. */

.sf-whatsapp[b-tbpfaty4ij] {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    /* Above the page's content, under the skip link (10 is the skip link's, which only shows while focused at the top). */
    z-index: 9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    box-sizing: border-box;
    color: var(--sf-on-whatsapp);
    background: var(--sf-whatsapp);
    /* Always round: it is the WhatsApp mark's own shape, on the square layouts too. */
    border-radius: 50%;
    /* A ring in the page's own colour keeps the button apart from a coloured footer band it floats over (Tropical's teal band
       sits close to WhatsApp's green). A border, not a second shadow: a layout's --ds-elevation-2 can be "none", which a
       shadow list cannot hold. */
    border: 2px solid var(--ds-surface);
    box-shadow: var(--ds-elevation-2);
    text-decoration: none;
}

.sf-whatsapp:hover[b-tbpfaty4ij] {
    background: var(--sf-whatsapp-hover);
}

/* The ring in the page's own text colour, outside the button: the theme accent can sit too close to the green. */
.sf-whatsapp:focus-visible[b-tbpfaty4ij] {
    outline: 3px solid var(--ds-on-surface);
    outline-offset: 3px;
}

.sf-whatsapp-icon[b-tbpfaty4ij] {
    display: block;
    width: 30px;
    height: 30px;
}

/* The accessible name, read out but not drawn. */
.sf-whatsapp-text[b-tbpfaty4ij] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* A phone: a little smaller and nearer the corner, still well over the 44px touch target. */
@media (max-width: 479px) {
    .sf-whatsapp[b-tbpfaty4ij] {
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        width: 52px;
        height: 52px;
    }

    .sf-whatsapp-icon[b-tbpfaty4ij] {
        width: 28px;
        height: 28px;
    }
}

/* The product page's and the cart's button, under their buy button: wherever the content column reaches the window's edge, a
   floating button would cover the full-width add-to-cart or Checkout (the brief's 390 px check), so it is a labelled button in the page's flow
   instead. On the darker green: the white label is text here, and needs 4.5:1 (#128C7E gives white about 4.1:1). */
@media (max-width: 1343px) {
    .sf-whatsapp.sf-whatsapp--inflow[b-tbpfaty4ij] {
        position: static;
        /* As wide as its label, never stretched by a flex or grid column: it is the page's second action, and must not
           read as a rival to the full-width buy button above it. */
        align-self: flex-start;
        justify-self: start;
        width: auto;
        max-width: 100%;
        height: auto;
        min-height: 44px;
        margin-top: 16px;
        padding: 10px 20px 10px 16px;
        gap: 10px;
        background: var(--sf-whatsapp-hover);
        border: 0;
        border-radius: var(--ds-radius-button);
        box-shadow: none;
        font-weight: 600;
    }

    .sf-whatsapp.sf-whatsapp--inflow:hover[b-tbpfaty4ij] {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .sf-whatsapp--inflow .sf-whatsapp-icon[b-tbpfaty4ij] {
        flex: none;
        width: 24px;
        height: 24px;
    }

    .sf-whatsapp--inflow .sf-whatsapp-text[b-tbpfaty4ij] {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        clip: auto;
        white-space: normal;
    }
}

/* A printed policy or receipt has no use for a floating chat button. */
@media print {
    .sf-whatsapp[b-tbpfaty4ij] {
        display: none;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Accounting/ExpenseCategories/ExpenseCategoryList.razor.rz.scp.css */
.cell-line[b-0nyv0zmddw] {
    line-height: 1.4;
}

.empty-icon[b-0nyv0zmddw] {
    font-size: 48px;
    opacity: 0.4;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Accounting/JournalEntries/JournalEntryDetails.razor.rz.scp.css */
/* Scoped styles for the Journal Entry detail page. */

.je-error-card[b-ztvrksedta] {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md, 8px);
}

.je-error-icon[b-ztvrksedta] {
    font-size: 48px;
    color: var(--ds-error);
}

.je-error-text[b-ztvrksedta] {
    color: var(--ds-text-muted);
}

.je-notes-readonly[b-ztvrksedta] {
    white-space: pre-wrap;
    color: var(--ds-text);
}

.je-source-row[b-ztvrksedta] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 12px;
    border-radius: var(--ds-radius-sm, 6px);
    background: var(--ds-surface-variant);
}

/* ── Balance card ── */

.je-balance[b-ztvrksedta] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.je-balance-row[b-ztvrksedta] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.je-balance-divider[b-ztvrksedta] {
    height: 1px;
    background: var(--ds-border);
    margin: 4px 0;
}

.je-balance-total[b-ztvrksedta] {
    font-size: 15px;
}

.je-balance-ok[b-ztvrksedta] {
    color: var(--ds-success);
}

.je-balance-warn[b-ztvrksedta] {
    color: var(--ds-error);
}

.je-balance-note[b-ztvrksedta] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--ds-radius-sm, 6px);
    margin-top: 4px;
}

.je-balance-note-ok[b-ztvrksedta] {
    background: var(--ds-success-container, rgba(34, 197, 94, 0.08));
    color: var(--ds-success);
}

.je-balance-note-warn[b-ztvrksedta] {
    background: var(--ds-error-container, rgba(239, 68, 68, 0.08));
    color: var(--ds-error);
}

/* ── Lines tab ── */

/* ── Line grid cell templates ── */

.je-account-option[b-ztvrksedta] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.4;
}

/* Numeric cells render right-aligned text via column TextAlign.
   This class is applied to the inner SfNumericTextBox so the text
   sits to the right of the cell even without spin buttons. */
[b-ztvrksedta] .p4-numeric-right input {
    text-align: right;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Accounting/JournalEntries/JournalEntryList.razor.rz.scp.css */
.je-list-empty-icon[b-wsawnoyk99] {
    font-size: 48px;
    color: var(--ds-text-muted);
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Analytics/CostCenterReport.razor.rz.scp.css */
.cc-report-filters[b-qca9m24iw4] {
    margin-bottom: 0;
}

.cc-filter-row[b-qca9m24iw4] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.cc-filter-field[b-qca9m24iw4] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 180px;
}

.cc-filter-toggle[b-qca9m24iw4] {
    justify-content: center;
    padding-bottom: 6px;
}

.cc-filter-actions[b-qca9m24iw4] {
    margin-left: auto;
    padding-bottom: 2px;
}

.cc-report-grid[b-qca9m24iw4] {
    position: relative;
    min-height: 240px;
}

.cc-account-code[b-qca9m24iw4] {
    color: var(--ds-color-on-surface-variant);
    font-variant-numeric: tabular-nums;
}

.cc-account-name[b-qca9m24iw4] {
    color: var(--ds-color-on-surface-variant);
}

.cc-net-positive[b-qca9m24iw4] {
    color: var(--ds-color-on-surface);
    font-variant-numeric: tabular-nums;
}

.cc-net-negative[b-qca9m24iw4] {
    color: var(--ds-danger);
    font-variant-numeric: tabular-nums;
}

.cc-loading[b-qca9m24iw4] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    z-index: 2;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Analytics/OperationsAnalytics.razor.rz.scp.css */
.opv-header[b-5t459wgl6h] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.opv-range[b-5t459wgl6h] {
    display: flex;
    align-items: flex-end;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.opv-range-field[b-5t459wgl6h] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.opv-range-field label[b-5t459wgl6h] {
    font-size: var(--font-size-xs, 0.75rem);
    font-weight: 600;
    color: var(--ds-on-surface-variant, var(--text-muted));
}

.opv-layout[b-5t459wgl6h] {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: var(--space-4);
    margin-top: var(--space-4);
    align-items: stretch;
}

@media (max-width: 900px) {
    .opv-layout[b-5t459wgl6h] { grid-template-columns: 1fr; }
}

.opv-list[b-5t459wgl6h] {
    padding: var(--space-2);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    max-height: calc(100vh - 220px);
    overflow-y: auto;
}

.opv-list-item[b-5t459wgl6h] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-3);
    border-radius: var(--ds-radius-input, var(--radius-md));
    cursor: pointer;
    border: 1px solid transparent;
    background: transparent;
    text-align: left;
    width: 100%;
    transition: background var(--duration-fast, 120ms) var(--ease-standard, ease);
}

.opv-list-item:hover[b-5t459wgl6h] {
    background: var(--ds-surface-variant, var(--surface-2));
}

.opv-list-item.opv-active[b-5t459wgl6h] {
    background: var(--ds-surface-variant, var(--surface-2));
    border-color: var(--ds-primary, var(--color-primary));
}

.opv-list-icon[b-5t459wgl6h] {
    font-size: 22px;
    color: var(--ds-primary, var(--color-primary));
    margin-top: 2px;
}

.opv-list-text[b-5t459wgl6h] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.opv-list-name[b-5t459wgl6h] {
    font-size: var(--font-size-sm, 0.875rem);
    font-weight: 600;
    color: var(--ds-on-surface, var(--text-primary));
}

.opv-list-desc[b-5t459wgl6h] {
    font-size: var(--font-size-xs, 0.75rem);
    color: var(--ds-on-surface-variant, var(--text-muted));
    line-height: 1.35;
}

.opv-viewer[b-5t459wgl6h] {
    padding: 0;
    overflow: hidden;
    height: calc(100vh - 220px);
    min-height: 520px;
    display: flex;
}

.opv-frame[b-5t459wgl6h] {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.opv-viewer-empty[b-5t459wgl6h] {
    margin: auto;
    text-align: center;
    color: var(--ds-on-surface-variant, var(--text-muted));
}

.opv-empty[b-5t459wgl6h] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-10) var(--space-4);
    color: var(--ds-on-surface-variant, var(--text-muted));
}

.opv-empty-icon[b-5t459wgl6h] {
    font-size: 48px;
    color: var(--ds-outline, var(--border-color));
    margin-bottom: var(--space-2);
}

.opv-empty h2[b-5t459wgl6h] {
    margin: 0 0 var(--space-1) 0;
    color: var(--ds-on-surface, var(--text-primary));
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Banking/BankReconciliation.razor.rz.scp.css */
.recon-setup-card[b-px0i4accm5] {
    margin-bottom: 16px;
}

.recon-setup-grid[b-px0i4accm5] {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(220px, 1fr) minmax(220px, 1fr);
    gap: 16px 24px;
    align-items: end;
}

.recon-setup-action[b-px0i4accm5] {
    display: flex;
    align-items: flex-end;
    grid-column: 1 / -1;
}

.recon-summary[b-px0i4accm5] {
    margin-bottom: 16px;
}

.recon-grid-card[b-px0i4accm5],
.recon-history-card[b-px0i4accm5] {
    margin-bottom: 16px;
}

.recon-grid-toolbar[b-px0i4accm5] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.recon-desc[b-px0i4accm5] {
    display: flex;
    flex-direction: column;
}

.recon-desc-main[b-px0i4accm5] {
    color: var(--ds-text);
}

.recon-desc-sub[b-px0i4accm5] {
    font-size: 12px;
    color: var(--ds-text-muted);
}

/* Deferred rows: de-emphasize the description text so timing differences read as set-aside. */
.recon-row-deferred .recon-desc-main[b-px0i4accm5] {
    color: var(--ds-text-muted);
    font-style: italic;
}

/* Per-row Defer toggle button. */
.recon-defer-btn[b-px0i4accm5] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.recon-defer-icon[b-px0i4accm5] {
    font-size: 16px;
    line-height: 1;
}

/* Status cell can hold several badges; wrap and space them. */
.recon-status-cell[b-px0i4accm5] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

/* Deferred summary value uses the warning/amber tone to match the badge. */
.recon-deferred-value[b-px0i4accm5] {
    color: var(--ds-warning);
}

.recon-actions[b-px0i4accm5] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

/* Explains why Complete is enabled/disabled; sits on its own right-aligned line under the buttons. */
.recon-completion-hint[b-px0i4accm5] {
    flex-basis: 100%;
    text-align: right;
    font-size: 13px;
    margin-top: 4px;
}

.recon-completion-blocked[b-px0i4accm5] {
    color: var(--ds-warning);
}

.recon-completion-ready[b-px0i4accm5] {
    color: var(--ds-text-muted);
}

.recon-empty-icon[b-px0i4accm5] {
    font-size: 48px;
    color: var(--ds-text-muted);
}

@media (max-width: 900px) {
    .recon-setup-grid[b-px0i4accm5] {
        grid-template-columns: 1fr;
    }

    .recon-setup-action[b-px0i4accm5] {
        grid-column: auto;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Banking/FinancialInstitutionDetails.razor.rz.scp.css */
.bank-fi-tabs[b-irs9t5o6c9] {
    margin-top: 8px;
}

.bank-tx-loading[b-irs9t5o6c9] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.bank-tx-empty[b-irs9t5o6c9] {
    padding: 40px 16px;
    text-align: center;
}

.bank-tx-empty-icon[b-irs9t5o6c9] {
    font-size: 32px;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Dashboards/OwnerHealthDashboard.razor.rz.scp.css */
/* Owner Health Dashboard — mirrors TenantDashboard's KPI-card language (see
   TenantDashboard.razor.css) with an `owner-` prefix to keep this page's CSS isolation
   scope self-contained. */

.owner-health-container[b-picgcwnrd7] {
    padding: 24px;
    max-width: 1600px;
    margin: 0 auto;
}

.owner-health-header[b-picgcwnrd7] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.owner-health-title[b-picgcwnrd7] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ds-on-surface);
    margin: 0 0 4px 0;
}

.owner-health-title-icon[b-picgcwnrd7] {
    color: var(--ds-primary);
    font-size: 1.5rem;
}

.owner-health-subtitle[b-picgcwnrd7] {
    color: var(--ds-on-surface-muted);
    margin: 0;
}

/* ===== KPI GRID ===== */
.owner-kpi-grid[b-picgcwnrd7] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.owner-kpi-card[b-picgcwnrd7] {
    background: var(--ds-surface);
    border-radius: var(--ds-shape-lg);
    box-shadow: var(--ds-elevation-1);
    padding: 20px;
    border: 1px solid var(--ds-outline-variant);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.owner-kpi-card.clickable[b-picgcwnrd7] {
    cursor: pointer;
}

.owner-kpi-card.clickable:hover[b-picgcwnrd7] {
    box-shadow: var(--ds-elevation-2);
    transform: translateY(-2px);
}

.owner-kpi-header[b-picgcwnrd7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.owner-kpi-icon-box[b-picgcwnrd7] {
    width: 36px;
    height: 36px;
    border-radius: var(--ds-shape-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.owner-kpi-icon-box.primary[b-picgcwnrd7] { background: var(--ds-primary-container); color: var(--ds-primary); }
.owner-kpi-icon-box.success[b-picgcwnrd7] { background: var(--ds-success-container); color: var(--ds-success); }
.owner-kpi-icon-box.warning[b-picgcwnrd7] { background: var(--ds-warning-container); color: var(--ds-warning); }
.owner-kpi-icon-box.error[b-picgcwnrd7]   { background: var(--ds-error-container); color: var(--ds-error); }
.owner-kpi-icon-box.info[b-picgcwnrd7]    { background: var(--ds-info-container); color: var(--ds-info); }

.owner-kpi-label[b-picgcwnrd7] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ds-on-surface-muted);
}

.owner-kpi-value[b-picgcwnrd7] {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--ds-on-surface);
    line-height: 1;
}

.owner-kpi-value-sep[b-picgcwnrd7] {
    color: var(--ds-on-surface-muted);
    font-weight: 400;
    margin: 0 2px;
}

.owner-kpi-footer[b-picgcwnrd7] {
    font-size: 0.75rem;
    color: var(--ds-on-surface-muted);
}

/* ===== TABLES ===== */
.owner-table-scroll[b-picgcwnrd7] {
    overflow-x: auto;
}

.owner-table[b-picgcwnrd7] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.owner-table th[b-picgcwnrd7] {
    text-align: left;
    padding: 10px 12px;
    color: var(--ds-on-surface-muted);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-bottom: 1px solid var(--ds-outline-variant);
    white-space: nowrap;
}

.owner-table td[b-picgcwnrd7] {
    padding: 10px 12px;
    border-bottom: 1px solid var(--ds-outline-variant);
    color: var(--ds-on-surface);
    white-space: nowrap;
}

.owner-table th.num[b-picgcwnrd7],
.owner-table td.num[b-picgcwnrd7] {
    text-align: right;
    font-family: var(--ds-mono);
}

.owner-table tbody tr:last-child td[b-picgcwnrd7] {
    border-bottom: none;
}

.owner-row[b-picgcwnrd7] {
    cursor: pointer;
    transition: background 0.15s;
}

.owner-row:hover[b-picgcwnrd7] {
    background: var(--ds-surface-variant);
}

.owner-danger[b-picgcwnrd7] {
    color: var(--ds-error);
    font-weight: 600;
}

.owner-empty[b-picgcwnrd7] {
    padding: 24px;
    text-align: center;
    color: var(--ds-on-surface-muted);
    font-size: 0.875rem;
}

.owner-table-more[b-picgcwnrd7] {
    padding: 10px 12px;
    font-size: 0.8125rem;
    color: var(--ds-on-surface-muted);
}

/* ===== INVOICED, NOT SHIPPED ===== */
.owner-section-actions[b-picgcwnrd7] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.owner-view-toggle[b-picgcwnrd7] {
    display: inline-flex;
    gap: 4px;
}

.owner-section-note[b-picgcwnrd7] {
    margin: 0 0 12px 0;
    font-size: 0.8125rem;
    color: var(--ds-on-surface-muted);
}

.owner-section-error[b-picgcwnrd7] {
    margin: 0 0 12px 0;
    font-size: 0.8125rem;
    color: var(--ds-error);
}

/* Grid cell and group-caption markup is rendered inside SfGrid (a child component), so it needs
   ::deep; line-height is restated because Syncfusion template cells inherit line-height: 0. */
.owner-invoiced[b-picgcwnrd7]  .owner-group-caption {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    line-height: 1.4;
}

.owner-invoiced[b-picgcwnrd7]  .owner-group-key {
    font-weight: 600;
    color: var(--ds-on-surface);
}

.owner-invoiced[b-picgcwnrd7]  .owner-group-count {
    font-size: 0.75rem;
    color: var(--ds-on-surface-muted);
}

.owner-invoiced[b-picgcwnrd7]  .owner-aggregate {
    font-weight: 600;
    line-height: 1.4;
}

.owner-invoiced[b-picgcwnrd7]  .owner-link {
    color: var(--ds-primary);
    text-decoration: none;
    line-height: 1.4;
}

.owner-invoiced[b-picgcwnrd7]  .owner-link:hover {
    text-decoration: underline;
}

/* ===== LAYOUT ===== */
.owner-two-col[b-picgcwnrd7] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 16px;
}

@media (max-width: 1100px) {
    .owner-two-col[b-picgcwnrd7] {
        grid-template-columns: 1fr;
    }
}

.owner-mb-4[b-picgcwnrd7] {
    margin-bottom: 24px;
}

.owner-footer[b-picgcwnrd7] {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--ds-outline-variant);
    color: var(--ds-on-surface-muted);
    font-size: 0.8125rem;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Dashboard/TenantDashboard.razor.rz.scp.css */
/* =====================================================
   P4Books Dashboard Styles - Design System v2.0
   Scoped CSS (Blazor CSS Isolation)
   ===================================================== */

.dashboard-container[b-bxxoq364nf] {
    padding: 24px;
    max-width: 1600px;
    margin: 0 auto;
    background-color: var(--ds-surface-container-low);
    min-height: 100vh;
}

/* ===== HEADER SECTION ===== */
.dashboard-header[b-bxxoq364nf] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.welcome-title[b-bxxoq364nf] {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ds-on-surface);
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
}

.user-name[b-bxxoq364nf] {
    color: var(--ds-primary);
}

.welcome-subtitle[b-bxxoq364nf] {
    color: var(--ds-on-surface-muted);
    font-size: 1rem;
    margin: 0;
}

.header-controls[b-bxxoq364nf] {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===== QUICK ACTIONS ===== */
.quick-actions-bar[b-bxxoq364nf] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.action-btn[b-bxxoq364nf] {
    border-radius: var(--ds-shape-md) !important;
    font-weight: 600 !important;
}

/* ===== KPI CARDS ===== */
.kpi-cards-container[b-bxxoq364nf] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.kpi-card[b-bxxoq364nf] {
    background: var(--ds-surface);
    border-radius: var(--ds-shape-lg);
    box-shadow: var(--ds-elevation-1);
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--ds-outline-variant);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kpi-card:hover[b-bxxoq364nf] {
    transform: translateY(-2px);
    box-shadow: var(--ds-elevation-2);
    border-color: var(--ds-primary);
}

.kpi-header[b-bxxoq364nf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kpi-icon-box[b-bxxoq364nf] {
    width: 40px;
    height: 40px;
    border-radius: var(--ds-shape-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kpi-icon-box.primary[b-bxxoq364nf] { background: var(--ds-primary-container); color: var(--ds-primary); }
.kpi-icon-box.success[b-bxxoq364nf] { background: var(--ds-success-container); color: var(--ds-success); }
.kpi-icon-box.warning[b-bxxoq364nf] { background: var(--ds-warning-container); color: var(--ds-warning); }
.kpi-icon-box.error[b-bxxoq364nf] { background: var(--ds-error-container); color: var(--ds-error); }
.kpi-icon-box.info[b-bxxoq364nf] { background: var(--ds-info-container); color: var(--ds-info); }

.kpi-label[b-bxxoq364nf] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ds-on-surface-muted);
}

.kpi-value[b-bxxoq364nf] {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ds-on-surface);
    line-height: 1;
}

.kpi-footer[b-bxxoq364nf] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
}

.kpi-trend[b-bxxoq364nf] {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2px;
}

.kpi-trend.up[b-bxxoq364nf] { color: var(--ds-success); }
.kpi-trend.down[b-bxxoq364nf] { color: var(--ds-error); }

/* ===== DASHBOARD GRID (Insights) ===== */
.dashboard-grid[b-bxxoq364nf] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 1200px) {
    .dashboard-grid[b-bxxoq364nf] {
        grid-template-columns: 1fr;
    }
}

.insight-card[b-bxxoq364nf] {
    background: var(--ds-surface);
    border-radius: var(--ds-shape-lg);
    border: 1px solid var(--ds-outline-variant);
    box-shadow: var(--ds-elevation-1);
    display: flex;
    flex-direction: column;
}

.insight-header[b-bxxoq364nf] {
    padding: 24px 24px 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--ds-outline-variant);
}

.insight-title[b-bxxoq364nf] {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ds-on-surface);
    margin: 0;
}

.insight-subtitle[b-bxxoq364nf] {
    font-size: 0.75rem;
    color: var(--ds-on-surface-variant);
    margin-top: 2px;
    display: block;
}

.insight-body[b-bxxoq364nf] {
    padding: 24px;
    flex: 1;
}

.insight-empty[b-bxxoq364nf] {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ds-on-surface-muted);
    font-size: 0.875rem;
    border: 1px dashed var(--ds-outline-variant);
    border-radius: var(--ds-shape-md);
    background: var(--ds-surface-variant);
}

/* ===== RECENT ACTIVITY LIST ===== */
.activity-list[b-bxxoq364nf] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item[b-bxxoq364nf] {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.activity-dot[b-bxxoq364nf] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
    border: 2px solid var(--ds-surface);
    box-shadow: 0 0 0 2px var(--ds-outline-variant);
}

.activity-dot.order[b-bxxoq364nf] { background: var(--ds-primary); }
.activity-dot.invoice[b-bxxoq364nf] { background: var(--ds-success); }
.activity-dot.payment[b-bxxoq364nf] { background: var(--ds-info); }

.activity-content[b-bxxoq364nf] {
    flex: 1;
}

.activity-text[b-bxxoq364nf] {
    display: block;
    font-size: 0.9375rem;
    color: var(--ds-on-surface);
    font-weight: 500;
}

.activity-time[b-bxxoq364nf] {
    font-size: 0.8125rem;
    color: var(--ds-on-surface-muted);
}

/* ===== RANKINGS LIST ===== */
.ranking-list[b-bxxoq364nf] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ranking-item[b-bxxoq364nf] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: var(--ds-shape-md);
    transition: background 0.2s;
}

.ranking-item:hover[b-bxxoq364nf] {
    background: var(--ds-surface-variant);
}

.ranking-number[b-bxxoq364nf] {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ds-outline);
    width: 24px;
    text-align: center;
}

.ranking-item:nth-child(1) .ranking-number[b-bxxoq364nf] { color: #FFD700; }
.ranking-item:nth-child(2) .ranking-number[b-bxxoq364nf] { color: #C0C0C0; }
.ranking-item:nth-child(3) .ranking-number[b-bxxoq364nf] { color: #CD7F32; }

.ranking-info[b-bxxoq364nf] {
    flex: 1;
}

.ranking-name[b-bxxoq364nf] {
    display: block;
    font-weight: 600;
    color: var(--ds-on-surface);
}

.ranking-sub[b-bxxoq364nf] {
    font-size: 0.8125rem;
    color: var(--ds-on-surface-muted);
}

.ranking-value[b-bxxoq364nf] {
    font-weight: 700;
    color: var(--ds-on-surface);
    font-family: var(--ds-mono);
}

/* ===== LOADING ===== */
.loading-overlay[b-bxxoq364nf] {
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--ds-surface);
    border-radius: var(--ds-shape-lg);
}

.loading-text[b-bxxoq364nf] {
    font-weight: 600;
    color: var(--ds-on-surface-muted);
}

/* ===== FOOTER ===== */
.dashboard-footer[b-bxxoq364nf] {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--ds-outline-variant);
    display: flex;
    justify-content: space-between;
    color: var(--ds-on-surface-muted);
    font-size: 0.875rem;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Expenses/ImportExpenseXmlDialog.razor.rz.scp.css */
.line-no[b-owkiy218k3] {
    min-width: 24px;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/FindProducts/FindProducts.razor.rz.scp.css */
/* Find Products — search bar + grid hints */

.fp-filter-bar[b-3vqxk5zohi] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    margin-top: var(--space-4);
}

.fp-filter-search[b-3vqxk5zohi] {
    flex: 1 1 280px;
    min-width: 240px;
}

.fp-pack-hint[b-3vqxk5zohi] {
    margin-left: var(--space-1);
    font-size: var(--ds-font-size-xs, 0.75rem);
    color: var(--ds-on-surface-variant, var(--text-secondary));
}

/* Why-it-matched highlight; overrides the UA mark colors so dark mode stays readable */
[b-3vqxk5zohi] mark.fp-hit {
    background: color-mix(in srgb, var(--ds-warning) 30%, transparent);
    color: inherit;
    padding: 0 1px;
    border-radius: 2px;
    font-weight: 600;
}

.fp-search-prompt[b-3vqxk5zohi] {
    padding: var(--space-8) 0;
}

/* Exact-SKU sell-price banner above the tabs */
.fp-price-banner[b-3vqxk5zohi] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    margin-top: var(--space-3);
    border-left: 3px solid var(--ds-primary);
}

.fp-price-icon[b-3vqxk5zohi] {
    flex: 0 0 auto;
    color: var(--ds-primary);
    font-size: 1.25rem;
    line-height: 1.4;
}

.fp-price-body[b-3vqxk5zohi] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    min-width: 0;
}

.fp-price-head[b-3vqxk5zohi] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-2);
}

.fp-price-sku[b-3vqxk5zohi] {
    font-weight: 700;
    color: var(--ds-on-surface);
}

.fp-price-desc[b-3vqxk5zohi] {
    font-size: 0.875rem;
    color: var(--ds-on-surface-muted, var(--text-secondary));
}

.fp-price-values[b-3vqxk5zohi] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.fp-price-chip[b-3vqxk5zohi] {
    display: inline-flex;
    align-items: baseline;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--ds-radius-badge, 6px);
    background: color-mix(in srgb, var(--ds-primary) 8%, var(--ds-surface));
    border: 1px solid color-mix(in srgb, var(--ds-primary) 20%, transparent);
}

.fp-price-label[b-3vqxk5zohi] {
    font-size: var(--ds-font-size-xs, 0.75rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ds-on-surface-muted, var(--text-secondary));
}

.fp-price-amount[b-3vqxk5zohi] {
    font-weight: 700;
    color: var(--ds-on-surface);
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Infrastructure/Config.razor.rz.scp.css */
.config-layout[b-4ahcs56euk] {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 16px;
    height: calc(100vh - 180px);
    align-items: start;
}

.config-tree-panel[b-4ahcs56euk] {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.config-tree-scroll[b-4ahcs56euk] {
    flex: 1;
    overflow-y: auto;
    padding: 0 8px 8px 8px;
}

.config-tree .e-list-item[b-4ahcs56euk] {
    padding: 2px 0;
}

.config-editor-panel[b-4ahcs56euk] {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}

.config-field-row[b-4ahcs56euk] {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid var(--ds-outline-variant);
}

.config-field-row:last-child[b-4ahcs56euk] {
    border-bottom: none;
}

.config-field-label[b-4ahcs56euk] {
    text-align: right;
    padding-top: 6px;
}

.config-changes-link[b-4ahcs56euk] {
    display: block;
    font-size: 11px;
    color: var(--ds-primary);
    text-decoration: none;
    margin-top: 2px;
}

.config-changes-link:hover[b-4ahcs56euk] {
    text-decoration: underline;
}

.config-field-editor[b-4ahcs56euk] {
    min-width: 0;
}

.config-multiline textarea[b-4ahcs56euk] {
    font-family: 'Courier New', Courier, monospace;
    min-height: 80px;
}

.config-emailbody textarea[b-4ahcs56euk] {
    min-height: 150px;
}

.alanube-config-cta[b-4ahcs56euk] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    margin-bottom: 20px;
    background: var(--ds-surface-variant);
    border: 1px solid var(--ds-outline-variant);
    border-radius: var(--ds-radius-card, 8px);
}

.alanube-config-cta-icon[b-4ahcs56euk] {
    font-size: 36px;
    color: var(--ds-primary);
    flex-shrink: 0;
}

.alanube-config-cta-body[b-4ahcs56euk] {
    flex: 1;
    min-width: 0;
}

.alanube-config-cta-title[b-4ahcs56euk] {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--ds-on-surface);
}

.alanube-config-cta-desc[b-4ahcs56euk] {
    font-size: 12px;
    color: var(--ds-on-surface-variant);
}

.alanube-config-cta-btn[b-4ahcs56euk] {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .config-layout[b-4ahcs56euk] {
        grid-template-columns: 1fr;
        height: auto;
    }

    .config-tree-panel[b-4ahcs56euk] {
        height: 400px;
    }

    .config-field-row[b-4ahcs56euk] {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .config-field-label[b-4ahcs56euk] {
        text-align: left;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Infrastructure/Dashboards/CustomWidgetRenderer.razor.rz.scp.css */
.p4-custom-widget[b-xb2xk7tdy1] {
    width: 100%;
    height: 100%;
    min-height: 180px;
}

.p4-custom-widget-state[b-xb2xk7tdy1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 120px;
    padding: 16px;
    text-align: center;
}

.p4-custom-widget-error[b-xb2xk7tdy1] {
    color: var(--ds-error);
}

.p4-custom-widget-error small[b-xb2xk7tdy1] {
    max-width: 28ch;
    line-height: 1.4;
    word-break: break-word;
}

.p4-kpi[b-xb2xk7tdy1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 120px;
    padding: 8px 16px;
}

.p4-kpi-value[b-xb2xk7tdy1] {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ds-primary);
    margin: 0;
    line-height: 1.1;
    text-align: center;
    word-break: break-all;
}

.p4-custom-widget-table[b-xb2xk7tdy1] {
    /* 260px only showed ~4 rows before scrolling. This class was originally written for
       the legacy plain-<table> demo widgets (DashboardRenderer.razor); the real SfGrid
       widget inherits it too, so raising it here is what actually fixes grid widgets. */
    max-height: 500px;
    overflow: auto;
    border: 1px solid var(--ds-outline-variant);
    border-radius: 6px;
}

.p4-custom-widget-table table[b-xb2xk7tdy1] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.p4-custom-widget-table thead[b-xb2xk7tdy1] {
    position: sticky;
    top: 0;
    background: var(--ds-surface-variant);
    z-index: 1;
}

.p4-custom-widget-table th[b-xb2xk7tdy1] {
    padding: 6px 10px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid var(--ds-outline-variant);
    white-space: nowrap;
    color: var(--ds-on-surface);
}

.p4-custom-widget-table td[b-xb2xk7tdy1] {
    padding: 5px 10px;
    border-bottom: 1px solid var(--ds-outline-variant);
    white-space: nowrap;
    color: var(--ds-on-surface);
}

.p4-custom-widget-list[b-xb2xk7tdy1] {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 240px;
    overflow: auto;
}

.p4-custom-widget-list li[b-xb2xk7tdy1] {
    padding: 8px 12px;
    border-bottom: 1px solid var(--ds-outline-variant);
    font-size: 13px;
}

/* Carousel navigation */
.p4-widget-carousel-nav[b-xb2xk7tdy1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px;
    border-bottom: 1px solid var(--ds-outline-variant);
    margin-bottom: 4px;
    min-height: 28px;
}

.p4-widget-carousel-btn[b-xb2xk7tdy1] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0 6px;
    color: var(--ds-on-surface-variant, #6c757d);
    border-radius: 4px;
}

.p4-widget-carousel-btn:hover[b-xb2xk7tdy1] {
    background: var(--ds-surface-variant);
    color: var(--ds-on-surface);
}

.p4-widget-carousel-name[b-xb2xk7tdy1] {
    font-size: 12px;
    color: var(--ds-on-surface-variant, #6c757d);
    font-weight: 500;
    flex: 1;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 4px;
}

/* Gauge */
.p4-gauge-wrapper[b-xb2xk7tdy1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 4px 0;
}

.p4-gauge-value[b-xb2xk7tdy1] {
    font-size: 18px;
    font-weight: 600;
    color: var(--ds-on-surface);
    margin-top: 4px;
    text-align: center;
}

/* Table alignment and links */
.p4-custom-widget-table td a[b-xb2xk7tdy1] {
    color: var(--ds-primary);
    text-decoration: none;
}

.p4-custom-widget-table td a:hover[b-xb2xk7tdy1] {
    text-decoration: underline;
}

.p4-text-right[b-xb2xk7tdy1] {
    text-align: right;
}

.p4-text-center[b-xb2xk7tdy1] {
    text-align: center;
}

/* Tile board (legacy "tile" presentation): one card per data row */
.p4-tile-board[b-xb2xk7tdy1] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px;
    max-height: 500px;
    overflow: auto;
}

.p4-tile-card[b-xb2xk7tdy1] {
    border: 1px solid var(--ds-outline-variant);
    border-radius: 8px;
    padding: 10px;
    background: var(--ds-surface);
    box-sizing: border-box;
    overflow: hidden;
}

.p4-tile-card table[b-xb2xk7tdy1] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.p4-tile-card th[b-xb2xk7tdy1] {
    text-align: left;
    font-weight: 600;
    width: 30%;
    padding: 3px 6px 3px 0;
    color: var(--ds-on-surface-variant, #6c757d);
    vertical-align: top;
}

.p4-tile-card td[b-xb2xk7tdy1] {
    padding: 3px 0;
    color: var(--ds-on-surface);
    word-break: break-word;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Infrastructure/Dashboards/DashboardDetails.razor.rz.scp.css */
/* ---- Designer panel chrome: header is the ONLY drag surface; body is live widget ---- */

[b-mpgk1rsmkb] .p4-designer-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    background: var(--ds-surface);
    border-radius: 6px;
    overflow: hidden;
}

[b-mpgk1rsmkb] .p4-designer-panel-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
    background: var(--ds-surface-variant);
    border-bottom: 1px solid var(--ds-outline-variant);
    cursor: move;
    user-select: none;
    flex-shrink: 0;
}

[b-mpgk1rsmkb] .p4-designer-drag-icon {
    font-size: 16px;
    color: var(--ds-on-surface-variant, #6c757d);
}

[b-mpgk1rsmkb] .p4-designer-panel-title {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    color: var(--ds-on-surface);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-mpgk1rsmkb] .p4-designer-panel-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    opacity: 0;
    transition: opacity 0.15s;
}

[b-mpgk1rsmkb] .p4-designer-panel-header:hover .p4-designer-panel-actions,
[b-mpgk1rsmkb] .e-panel:focus-within .p4-designer-panel-actions {
    opacity: 1;
}

[b-mpgk1rsmkb] .p4-designer-panel-body {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 8px;
}

/* ---- Drag feedback: ghost the 12-column grid + emphasize the drop placeholder ---- */

.p4-designer-canvas.dragging[b-mpgk1rsmkb]  .e-dashboardlayout {
    background-image:
        repeating-linear-gradient(
            to right,
            transparent,
            transparent calc(100% / 12 - 1px),
            var(--ds-outline-variant) calc(100% / 12 - 1px),
            var(--ds-outline-variant) calc(100% / 12)
        );
}

[b-mpgk1rsmkb] .e-dashboardlayout .e-holder {
    background: color-mix(in srgb, var(--ds-primary) 8%, transparent) !important;
    border: 2px dashed var(--ds-primary) !important;
    border-radius: 6px;
}

/* Panel shells get a subtle elevation; the dragged panel lifts */
[b-mpgk1rsmkb] .e-dashboardlayout .e-panel {
    border: 1px solid var(--ds-outline-variant);
    border-radius: 6px;
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.06));
}

[b-mpgk1rsmkb] .e-dashboardlayout .e-panel.e-dragging {
    box-shadow: var(--shadow-lg, 0 8px 24px rgba(0, 0, 0, 0.18));
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Infrastructure/Dashboards/DashboardRenderer.razor.rz.scp.css */
/* Inline per-panel filter strip (legacy parity: gear toggle + Apply) */
.p4-panel-filters[b-g3aud5u77k] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--ds-outline-variant);
    border-radius: 6px;
    background: var(--ds-surface-variant);
}

.p4-panel-filter-field[b-g3aud5u77k] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 140px;
    flex: 1 1 140px;
    max-width: 220px;
}

.p4-panel-filter-field label[b-g3aud5u77k] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ds-on-surface-variant, #6c757d);
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Infrastructure/Dialogs/LastSyncDialog.razor.rz.scp.css */
/* ─── Tray consumption backlog block ───
   Sits below the sync-timestamp table as a separate, clearly delimited concern:
   timestamps say when a sync last ran, this says what it could not bill. */
.chq-kit-status[b-29n3nibfvn] {
    margin-top: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid var(--ds-outline-variant);
}

.chq-kit-status-title[b-29n3nibfvn] {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.chq-kit-status-counts[b-29n3nibfvn] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.chq-kit-status-label[b-29n3nibfvn] {
    font-weight: 400;
    color: var(--ds-on-surface-muted);
}

.chq-kit-status-bad[b-29n3nibfvn] {
    color: var(--ds-error);
}

.chq-kit-status-problems[b-29n3nibfvn] {
    list-style: none;
    margin: var(--space-3) 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    font-size: 12px;
}

.chq-kit-status-problems li[b-29n3nibfvn] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chq-kit-status-doc[b-29n3nibfvn] {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.chq-kit-status-reason[b-29n3nibfvn] {
    color: var(--ds-on-surface-muted);
    line-height: 1.4;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Infrastructure/LicenseAgreement.razor.rz.scp.css */
.license-page[b-i2tfi8gas1] {
    max-width: 860px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-4) var(--space-16);
}

.license-header[b-i2tfi8gas1] {
    background: var(--ds-primary, #1a56db);
    border-radius: var(--ds-radius-card, 8px);
    padding: var(--space-8) var(--space-8);
    margin-bottom: var(--space-6);
    color: var(--ds-on-primary, #fff);
}

.license-header-inner[b-i2tfi8gas1] {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.license-icon[b-i2tfi8gas1] {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.85);
    flex-shrink: 0;
}

.license-title[b-i2tfi8gas1] {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 var(--space-1) 0;
    color: #fff;
    line-height: 1.3;
}

.license-subtitle[b-i2tfi8gas1] {
    font-size: 13px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.license-body[b-i2tfi8gas1] {
    background: var(--card-bg, #fff);
    border: 1px solid var(--color-sf-border, #e5e7eb);
    border-radius: var(--ds-radius-card, 8px);
    padding: var(--space-10) var(--space-10);
}

.license-notice[b-i2tfi8gas1] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    background: var(--ds-warning-subtle, #fffbeb);
    border: 1px solid var(--ds-warning, #f59e0b);
    border-radius: var(--ds-radius-card, 8px);
    padding: var(--space-4) var(--space-5);
    margin-bottom: var(--space-8);
}

.license-notice p[b-i2tfi8gas1] {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--ds-on-surface, #111827);
}

.license-part-title[b-i2tfi8gas1] {
    font-size: 17px;
    font-weight: 700;
    color: var(--ds-primary, #1a56db);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: var(--space-8) 0 var(--space-4) 0;
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--ds-primary, #1a56db);
}

.license-section[b-i2tfi8gas1] {
    margin-bottom: var(--space-7);
}

.license-section-title[b-i2tfi8gas1] {
    font-size: 15px;
    font-weight: 600;
    color: var(--ds-on-surface, #111827);
    margin: 0 0 var(--space-3) 0;
}

.license-section p[b-i2tfi8gas1],
.license-section li[b-i2tfi8gas1] {
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--ds-on-surface-variant, #374151);
    margin-bottom: var(--space-3);
}

.license-section ul[b-i2tfi8gas1],
.license-section ol[b-i2tfi8gas1] {
    padding-left: var(--space-6);
    margin-bottom: var(--space-3);
}

.license-section li[b-i2tfi8gas1] {
    margin-bottom: var(--space-2);
}

.license-caps[b-i2tfi8gas1] {
    font-size: 12.5px !important;
    letter-spacing: 0.01em;
    color: var(--ds-on-surface, #111827) !important;
    background: var(--surface-hover, #f9fafb);
    border-left: 3px solid var(--ds-primary, #1a56db);
    padding: var(--space-3) var(--space-4) !important;
    border-radius: 0 var(--ds-radius-input, 6px) var(--ds-radius-input, 6px) 0;
    display: block;
}

.license-footer[b-i2tfi8gas1] {
    margin-top: var(--space-10);
    padding-top: var(--space-5);
    border-top: 1px solid var(--color-sf-border, #e5e7eb);
    text-align: center;
}

.license-footer p[b-i2tfi8gas1] {
    font-size: 13px;
    margin-bottom: var(--space-1);
    color: var(--ds-on-surface-variant, #374151);
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .license-notice[b-i2tfi8gas1] {
        background: rgba(245, 158, 11, 0.1);
    }

    .license-caps[b-i2tfi8gas1] {
        background: var(--surface-2, #1f2937);
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Infrastructure/ModuleDetails.razor.rz.scp.css */
.menu-node-row[b-u62yw3jyqr] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-bottom: 1px solid var(--ds-outline-variant);
    min-height: 36px;
}

.menu-node-label[b-u62yw3jyqr] {
    flex: 1;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-node-editable[b-u62yw3jyqr] {
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
}

.menu-node-editable:hover[b-u62yw3jyqr] {
    background: var(--ds-surface-variant);
}

.menu-node-actions[b-u62yw3jyqr] {
    display: flex;
    gap: 2px;
    margin-left: auto;
    flex-shrink: 0;
}

.menu-toggle-btn[b-u62yw3jyqr] {
    flex-shrink: 0;
}

.menu-add-btn[b-u62yw3jyqr] {
    flex-shrink: 0;
}

.menu-source-node .menu-node-row:hover[b-u62yw3jyqr],
.menu-dest-node .menu-node-row:hover[b-u62yw3jyqr] {
    background: var(--ds-surface-variant);
}

.menu-inline-edit[b-u62yw3jyqr] {
    max-width: 200px;
}

.menu-builder-panel[b-u62yw3jyqr]::-webkit-scrollbar {
    width: 6px;
}

.menu-builder-panel[b-u62yw3jyqr]::-webkit-scrollbar-thumb {
    background: var(--ds-outline-variant);
    border-radius: 3px;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Infrastructure/Reporting/EmailTemplateDetails.razor.rz.scp.css */
/* Body sits outside the label and value grid, with its label above it, so the editor gets the card's full width. */
.p4-email-body[b-efnbg0slb8] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    min-width: 0;
    margin-top: var(--space-4);
}

.p4-email-body[b-efnbg0slb8]  .e-richtexteditor {
    min-height: 500px;
}

/* A template wider than the editor scrolls inside it instead of being cut off. */
.p4-email-body[b-efnbg0slb8]  .e-rte-content {
    overflow-x: auto;
}

/* Two lines per variable: in the 280px panel the token and its label do not fit side by side. */
.p4-var-row[b-efnbg0slb8] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: var(--space-2);
    padding: var(--space-1) var(--space-2);
    margin: 0 calc(var(--space-2) * -1);
    border-radius: var(--ds-radius-input);
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--ease-default);
}

.p4-var-row:hover[b-efnbg0slb8],
.p4-var-row:focus-visible[b-efnbg0slb8] {
    background-color: var(--ds-surface-variant);
    outline: none;
}

.p4-var-row:focus-visible[b-efnbg0slb8] {
    box-shadow: 0 0 0 2px var(--ds-primary);
}

/* Wraps rather than cuts off: someone choosing a token has to be able to read all of it. */
.p4-var-token[b-efnbg0slb8] {
    min-width: 0;
    overflow-wrap: anywhere;
    font-family: var(--font-mono, monospace);
    color: var(--ds-primary);
}

.p4-var-label[b-efnbg0slb8] {
    grid-row: 2;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.p4-var-copy[b-efnbg0slb8] {
    grid-column: 2;
    grid-row: 1 / span 2;
    font-size: 16px;
    color: var(--ds-on-surface-muted);
    opacity: 0;
    transition: opacity var(--duration-fast) var(--ease-default);
}

.p4-var-row:hover .p4-var-copy[b-efnbg0slb8],
.p4-var-row:focus-visible .p4-var-copy[b-efnbg0slb8] {
    opacity: 1;
}

/* Variables panel open: a fixed 280px, so the editor keeps the rest. */
.p4-detail-layout-panel[b-efnbg0slb8] {
    grid-template-columns: minmax(0, 1fr) 280px;
}

/* Variables panel folded away: the editor takes all the space and the panel shrinks to a slim rail. */
.p4-detail-layout-rail[b-efnbg0slb8] {
    grid-template-columns: minmax(0, 1fr) 48px;
}

.p4-var-rail[b-efnbg0slb8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
}

.p4-var-rail-label[b-efnbg0slb8] {
    writing-mode: vertical-rl;
    color: var(--ds-on-surface-muted);
    white-space: nowrap;
}

/* The base layout already stacks to one column on narrow screens; the rail becomes a plain horizontal bar there. */
@media (max-width: 1200px) {
    .p4-detail-layout-panel[b-efnbg0slb8],
    .p4-detail-layout-rail[b-efnbg0slb8] {
        grid-template-columns: 1fr;
    }

    .p4-var-rail[b-efnbg0slb8] {
        flex-direction: row;
        justify-content: flex-start;
        padding: var(--space-2) var(--space-3);
    }

    .p4-var-rail-label[b-efnbg0slb8] {
        writing-mode: horizontal-tb;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Infrastructure/Reporting/OperationsReportEditor.razor.rz.scp.css */
.ore-header[b-g2kfk84qyg] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.ore-actions[b-g2kfk84qyg] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.ore-status[b-g2kfk84qyg] {
    margin: var(--space-3) 0;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--ds-radius-input);
    background: var(--ds-surface-variant, var(--surface-2));
    color: var(--ds-on-surface-variant, var(--text-muted));
    font-size: var(--font-size-sm, 0.875rem);
}

.ore-status-error[b-g2kfk84qyg] {
    background: var(--ds-error-container, #fde8e8);
    color: var(--ds-on-error-container, #8a1c1c);
}

.ore-card[b-g2kfk84qyg] {
    padding: var(--space-4);
}

.ore-grid[b-g2kfk84qyg] {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: var(--space-4);
}

@media (max-width: 700px) {
    .ore-grid[b-g2kfk84qyg] { grid-template-columns: 1fr; }
}

.ore-sections-head[b-g2kfk84qyg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-6);
}

.ore-sections-title[b-g2kfk84qyg] {
    font-size: var(--font-size-lg, 1.125rem);
    font-weight: 600;
    color: var(--ds-on-surface, var(--text-primary));
    margin: 0;
}

.ore-hint[b-g2kfk84qyg] {
    margin: var(--space-1) 0 var(--space-3) 0;
    font-size: var(--font-size-sm, 0.875rem);
}

.ore-section[b-g2kfk84qyg] {
    padding: var(--space-4);
    margin-bottom: var(--space-3);
}

.ore-section-head[b-g2kfk84qyg] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--space-2);
}

.ore-section-name[b-g2kfk84qyg] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.ore-label[b-g2kfk84qyg] {
    font-size: var(--font-size-xs, 0.75rem);
    font-weight: 600;
    color: var(--ds-on-surface-variant, var(--text-muted));
}

.ore-test-row[b-g2kfk84qyg] {
    margin-top: var(--space-2);
}

.ore-test-error[b-g2kfk84qyg] {
    margin-top: var(--space-2);
}

.ore-saved[b-g2kfk84qyg] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    margin-top: var(--space-4);
    flex-wrap: wrap;
}

.ore-saved-icon[b-g2kfk84qyg] {
    font-size: 28px;
    color: var(--ds-success, #2e7d32);
}

.ore-saved-text[b-g2kfk84qyg] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 200px;
    font-size: var(--font-size-sm, 0.875rem);
    color: var(--ds-on-surface-variant, var(--text-muted));
}

.ore-link-btn[b-g2kfk84qyg] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--ds-radius-button, var(--radius-md));
    border: 1px solid var(--ds-outline, var(--border-color));
    background: var(--ds-surface, var(--surface-1));
    color: var(--ds-on-surface, var(--text-primary));
    font-size: var(--font-size-sm, 0.875rem);
    font-weight: 500;
    text-decoration: none;
}

.ore-link-btn:hover[b-g2kfk84qyg] { background: var(--ds-surface-variant, var(--surface-2)); }

.ore-link-primary[b-g2kfk84qyg] {
    border-color: var(--ds-primary, var(--color-primary));
    color: var(--ds-primary, var(--color-primary));
}

.ore-link-icon[b-g2kfk84qyg] { font-size: 18px; }
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Infrastructure/Reporting/OperationsReports.razor.rz.scp.css */
.opm-header[b-3n8umpha90] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.opm-actions[b-3n8umpha90] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.opm-status[b-3n8umpha90] {
    margin: var(--space-3) 0;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--ds-radius-input);
    background: var(--ds-surface-variant, var(--surface-2));
    color: var(--ds-on-surface-variant, var(--text-muted));
    font-size: var(--font-size-sm, 0.875rem);
}

.opm-name[b-3n8umpha90] {
    display: block;
    line-height: 1.4;
    font-weight: 600;
    color: var(--ds-on-surface, var(--text-primary));
}

.opm-desc[b-3n8umpha90] {
    display: block;
    line-height: 1.4;
    font-size: var(--font-size-xs, 0.75rem);
    color: var(--ds-on-surface-variant, var(--text-muted));
}

.opm-cell[b-3n8umpha90] {
    line-height: 1.4;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Infrastructure/Reporting/PrintReportVersionsDialog.razor.rz.scp.css */
/* Settings > Reports > Saved copies. One row per copy; on a phone the actions drop under the details. */
.prv-header[b-rz0m9krx14] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prv-body[b-rz0m9krx14] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prv-note[b-rz0m9krx14] {
    margin: 0;
    color: var(--ds-on-surface-muted);
}

.prv-error[b-rz0m9krx14] {
    color: var(--ds-error);
}

.prv-list[b-rz0m9krx14] {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--ds-outline-variant);
    border-radius: var(--ds-radius-input);
    overflow: hidden;
}

.prv-item[b-rz0m9krx14] {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) minmax(0, 110px) 70px auto;
    column-gap: 12px;
    align-items: center;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.4;
}

.prv-item + .prv-item[b-rz0m9krx14] {
    border-top: 1px solid var(--ds-outline-variant);
}

.prv-when[b-rz0m9krx14] {
    font-weight: 500;
    white-space: nowrap;
}

.prv-reason[b-rz0m9krx14],
.prv-by[b-rz0m9krx14] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.prv-by[b-rz0m9krx14],
.prv-size[b-rz0m9krx14] {
    color: var(--ds-on-surface-muted);
    font-size: 13px;
}

.prv-size[b-rz0m9krx14] {
    white-space: nowrap;
    text-align: right;
}

.prv-actions[b-rz0m9krx14] {
    display: inline-flex;
    gap: 6px;
    justify-content: flex-end;
}

.prv-confirm[b-rz0m9krx14] {
    border: 1px solid var(--ds-outline-variant);
    border-radius: var(--ds-radius-input);
    background: var(--ds-surface-container-low);
    padding: 12px;
}

.prv-confirm-text[b-rz0m9krx14] {
    margin: 0 0 12px 0;
}

.prv-confirm-buttons[b-rz0m9krx14] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 640px) {
    .prv-item[b-rz0m9krx14] {
        grid-template-columns: minmax(0, 1fr) auto;
        row-gap: 4px;
    }

    .prv-reason[b-rz0m9krx14] {
        grid-column: 1 / -1;
    }

    .prv-by[b-rz0m9krx14] {
        grid-column: 1;
    }

    .prv-size[b-rz0m9krx14] {
        grid-column: 2;
    }

    .prv-actions[b-rz0m9krx14] {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Infrastructure/Reporting/QueryBuilder/QueryBuilder.razor.rz.scp.css */
/* Query Builder — scoped styles */

.query-tabs[b-a2c7belrun] {
    border-top: none;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Infrastructure/Reporting/QueryBuilder/SavedQueriesDropdown.razor.rz.scp.css */
/* SavedQueriesDropdown Styles */

.saved-queries-dropdown[b-lsdbq2s2vl] {
    position: relative;
}

/* Button Styling */
.saved-queries-btn[b-lsdbq2s2vl] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--ds-surface-variant);
    border: 1px solid var(--ds-outline-variant);
    border-radius: 8px;
    font-size: 13px;
    color: var(--ds-on-surface);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.saved-queries-btn:hover[b-lsdbq2s2vl] {
    background: var(--ds-surface-secondary);
    border-color: var(--ds-primary);
}

.saved-queries-btn.active[b-lsdbq2s2vl] {
    background: var(--ds-surface-variant);
    border-color: var(--ds-primary);
    color: var(--ds-on-surface);
}

.dropdown-arrow[b-lsdbq2s2vl] {
    transition: transform 0.2s;
}

.dropdown-arrow.open[b-lsdbq2s2vl] {
    transform: rotate(180deg);
}

/* Dropdown Overlay */
.dropdown-overlay[b-lsdbq2s2vl] {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: transparent;
}

/* Dropdown Menu */
.dropdown-menu[b-lsdbq2s2vl] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 400px;
    max-height: 600px;
    background: var(--ds-surface);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ds-outline-variant);
}

/* Loading State */
.dropdown-loading[b-lsdbq2s2vl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    gap: 16px;
}

.spinner[b-lsdbq2s2vl] {
    width: 32px;
    height: 32px;
    border: 3px solid var(--ds-outline-variant);
    border-top-color: var(--ds-primary);
    border-radius: 50%;
    animation: spin-b-lsdbq2s2vl 0.8s linear infinite;
}

@keyframes spin-b-lsdbq2s2vl {
    to {
        transform: rotate(360deg);
    }
}

.dropdown-loading span[b-lsdbq2s2vl] {
    font-size: 14px;
    color: var(--ds-on-surface-muted);
}

/* Dropdown Header (Search + Filter) */
.dropdown-header[b-lsdbq2s2vl] {
    padding: 16px;
    border-bottom: 1px solid var(--ds-outline-variant);
    background: var(--ds-surface-variant);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Search Box */
.search-box[b-lsdbq2s2vl] {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon[b-lsdbq2s2vl] {
    position: absolute;
    left: 12px;
    color: var(--ds-on-surface-muted);
    pointer-events: none;
}

.search-input[b-lsdbq2s2vl] {
    width: 100%;
    padding: 10px 12px 10px 40px;
    border: 1px solid var(--ds-outline-variant);
    border-radius: 8px;
    font-size: 14px;
    background: var(--ds-surface);
    color: var(--ds-on-surface);
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}

.search-input:focus[b-lsdbq2s2vl] {
    border-color: var(--ds-primary);
    box-shadow: 0 0 0 2px rgba(10, 95, 173, 0.1);
}

.search-input[b-lsdbq2s2vl]::placeholder {
    color: var(--ds-on-surface-muted);
}

.clear-search[b-lsdbq2s2vl] {
    position: absolute;
    right: 8px;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ds-on-surface-muted);
    transition: all 0.2s;
}

.clear-search:hover[b-lsdbq2s2vl] {
    background: var(--ds-surface-variant);
    color: var(--ds-on-surface);
}

/* Category Filter */
.category-filter[b-lsdbq2s2vl] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--ds-outline-variant);
    border-radius: 8px;
    font-size: 14px;
    background: var(--ds-surface);
    color: var(--ds-on-surface);
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}

.category-filter:focus[b-lsdbq2s2vl] {
    border-color: var(--ds-primary);
    box-shadow: 0 0 0 2px rgba(10, 95, 173, 0.1);
}

/* Queries Section */
.queries-section[b-lsdbq2s2vl] {
    border-bottom: 1px solid var(--ds-outline-variant);
}

.section-header[b-lsdbq2s2vl] {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ds-on-surface-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: var(--ds-surface-variant);
}

.queries-list[b-lsdbq2s2vl] {
    max-height: 300px;
    overflow-y: auto;
}

/* Query Item */
.query-item[b-lsdbq2s2vl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.15s;
    border-bottom: 1px solid var(--ds-outline-variant);
}

.query-item:hover[b-lsdbq2s2vl] {
    background: var(--ds-surface-variant);
}

.query-item.selected[b-lsdbq2s2vl] {
    background: var(--ds-surface-secondary);
    border-left: 3px solid var(--ds-primary);
}

.query-item:last-child[b-lsdbq2s2vl] {
    border-bottom: none;
}

.query-main[b-lsdbq2s2vl] {
    flex: 1;
    min-width: 0;
}

.query-name[b-lsdbq2s2vl] {
    font-size: 14px;
    font-weight: 500;
    color: var(--ds-on-surface);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.query-meta[b-lsdbq2s2vl] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.category-badge[b-lsdbq2s2vl] {
    display: inline-block;
    padding: 2px 8px;
    background: var(--ds-surface-secondary);
    color: var(--ds-on-surface);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.creator[b-lsdbq2s2vl] {
    font-size: 12px;
    color: var(--ds-on-surface-muted);
}

.query-date[b-lsdbq2s2vl] {
    font-size: 12px;
    color: var(--ds-on-surface-muted);
}

.shared-icon[b-lsdbq2s2vl] {
    flex-shrink: 0;
    color: var(--ds-primary);
}

/* Empty State */
.empty-state[b-lsdbq2s2vl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
}

.empty-icon[b-lsdbq2s2vl] {
    color: var(--ds-outline-variant);
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-message[b-lsdbq2s2vl] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.empty-message span[b-lsdbq2s2vl] {
    font-size: 14px;
    color: var(--ds-on-surface-muted);
}

.empty-hint[b-lsdbq2s2vl] {
    font-size: 13px;
    color: var(--ds-on-surface-muted);
}

/* Dropdown Footer */
.dropdown-footer[b-lsdbq2s2vl] {
    padding: 12px 16px;
    border-top: 1px solid var(--ds-outline-variant);
    background: var(--ds-surface-variant);
}

.new-query-btn[b-lsdbq2s2vl] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--ds-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.new-query-btn:hover[b-lsdbq2s2vl] {
    background: var(--ds-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    opacity: 0.9;
}

/* Scrollbar Styling */
.queries-list[b-lsdbq2s2vl]::-webkit-scrollbar {
    width: 8px;
}

.queries-list[b-lsdbq2s2vl]::-webkit-scrollbar-track {
    background: var(--ds-surface-variant);
}

.queries-list[b-lsdbq2s2vl]::-webkit-scrollbar-thumb {
    background: var(--ds-outline-variant);
    border-radius: 4px;
}

.queries-list[b-lsdbq2s2vl]::-webkit-scrollbar-thumb:hover {
    background: var(--ds-outline-variant);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dropdown-menu[b-lsdbq2s2vl] {
        width: 320px;
        max-height: 500px;
    }

    .queries-list[b-lsdbq2s2vl] {
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .dropdown-menu[b-lsdbq2s2vl] {
        width: calc(100vw - 32px);
        right: -8px;
    }

    .query-meta[b-lsdbq2s2vl] {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Infrastructure/Reporting/ScheduledReports/ScheduleEditor.razor.rz.scp.css */
.sr-steps[b-g9wby61b95] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 16px;
    padding: 10px 14px;
    background: var(--ds-color-surface, #fff);
    border: 1px solid var(--ds-color-outline-variant, #e6e8eb);
    border-radius: var(--ds-radius-card, 12px);
}

.sr-step[b-g9wby61b95] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sr-step:not(:last-child)[b-g9wby61b95]::after {
    content: "";
    width: 36px;
    height: 1px;
    background: var(--ds-color-outline-variant, #d3d6db);
    margin-left: 8px;
}

.sr-step-num[b-g9wby61b95] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ds-color-primary-container, #eaf1fc);
    color: var(--ds-color-primary, #1f63d6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.sr-step-label[b-g9wby61b95] {
    font-size: 12px;
    font-weight: 600;
    color: var(--ds-color-on-surface-variant, #5b5e66);
}

.sr-grid-2[b-g9wby61b95] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
}

.sr-preview[b-g9wby61b95] {
    margin-top: 14px;
    padding: 12px;
    background: var(--ds-color-surface-variant, #f3f4f6);
    border-radius: var(--ds-radius-input, 8px);
}

.sr-preview-head[b-g9wby61b95] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ds-color-on-surface-variant, #5b5e66);
    margin-bottom: 8px;
}

.sr-preview-tz[b-g9wby61b95] {
    font-weight: 400;
    color: var(--ds-color-on-surface-variant, #8b8e95);
}

.sr-preview-empty[b-g9wby61b95] {
    font-size: 12px;
    color: var(--ds-color-on-surface-variant, #8b8e95);
}

.sr-preview-grid[b-g9wby61b95] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.sr-preview-cell[b-g9wby61b95] {
    text-align: center;
    padding: 6px 4px;
    background: var(--ds-color-surface, #fff);
    border-radius: 6px;
}

.sr-preview-mon[b-g9wby61b95] {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ds-color-on-surface-variant, #8b8e95);
}

.sr-preview-day[b-g9wby61b95] {
    font-size: 16px;
    font-weight: 600;
    margin: 1px 0;
}

.sr-preview-time[b-g9wby61b95] {
    font-size: 10px;
    color: var(--ds-color-on-surface-variant, #5b5e66);
}

.sr-recipients-head[b-g9wby61b95],
.sr-recipient-row[b-g9wby61b95] {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 110px 140px 36px;
    gap: 10px;
    align-items: center;
}

.sr-recipients-head[b-g9wby61b95] {
    padding: 4px 0;
    border-bottom: 1px solid var(--ds-color-outline-variant, #e6e8eb);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ds-color-on-surface-variant, #8b8e95);
}

.sr-recipient-row[b-g9wby61b95] {
    padding: 8px 0;
    border-bottom: 1px solid var(--ds-color-outline-variant, #f0f1f3);
}

.sr-info-banner[b-g9wby61b95] {
    margin-top: 12px;
    padding: 8px 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: var(--ds-color-primary-container, #eaf1fc);
    border-radius: var(--ds-radius-input, 8px);
    font-size: 11px;
    color: var(--ds-color-primary, #1f63d6);
}

.sr-footer[b-g9wby61b95] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 0 24px;
}

.sr-sql-actions[b-g9wby61b95] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.sr-sql-hint[b-g9wby61b95] {
    font-size: 11px;
    color: var(--ds-color-on-surface-variant, #5b6470);
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Infrastructure/Reporting/WidgetDetails.razor.rz.scp.css */
.p4-sql-editor[b-5i166xm7ya] {
    width: 100%;
    min-height: 180px;
    padding: 12px 14px;
    border: 1px solid var(--ds-outline-variant);
    border-radius: 6px;
    font-family: var(--ds-font-mono, 'Consolas', 'Monaco', monospace);
    font-size: 13px;
    line-height: 1.5;
    color: var(--ds-on-surface);
    background: var(--ds-surface);
    resize: vertical;
    outline: none;
}

.p4-sql-editor:focus[b-5i166xm7ya] {
    border-color: var(--ds-primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--ds-primary) 20%, transparent);
}

.p4-sql-badge[b-5i166xm7ya] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.p4-sql-badge-ok[b-5i166xm7ya] {
    background: color-mix(in srgb, var(--ds-success) 12%, transparent);
    color: var(--ds-success);
}

.p4-sql-badge-error[b-5i166xm7ya] {
    background: color-mix(in srgb, var(--ds-error) 12%, transparent);
    color: var(--ds-error);
}

.p4-sql-error[b-5i166xm7ya] {
    padding: 12px 14px;
    border: 1px solid color-mix(in srgb, var(--ds-error) 40%, transparent);
    border-radius: 6px;
    background: color-mix(in srgb, var(--ds-error) 8%, transparent);
    color: var(--ds-error);
    font-family: var(--ds-font-mono, 'Consolas', 'Monaco', monospace);
    font-size: 12px;
    white-space: pre-wrap;
    word-break: break-word;
}

.p4-sql-results[b-5i166xm7ya] {
    border: 1px solid var(--ds-outline-variant);
    border-radius: 6px;
    overflow: auto;
    max-height: 320px;
    background: var(--ds-surface);
}

.p4-sql-results table[b-5i166xm7ya] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.p4-sql-results thead[b-5i166xm7ya] {
    position: sticky;
    top: 0;
    background: var(--ds-surface-variant);
    z-index: 1;
}

.p4-sql-results th[b-5i166xm7ya] {
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid var(--ds-outline-variant);
    white-space: nowrap;
}

.p4-sql-results td[b-5i166xm7ya] {
    padding: 6px 12px;
    border-bottom: 1px solid var(--ds-outline-variant);
    white-space: nowrap;
    color: var(--ds-on-surface);
}

.p4-sql-results tbody tr:hover[b-5i166xm7ya] {
    background: var(--ds-surface-variant);
}

.p4-angular-notice[b-5i166xm7ya] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--ds-primary) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--ds-primary) 24%, transparent);
    color: var(--ds-on-surface-variant);
    font-size: 13px;
    line-height: 1.4;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Infrastructure/Reporting/WidgetPresentationsEditor.razor.rz.scp.css */
.p4-pres-editor[b-ut78805qdo] {
    border-top: 1px solid var(--ds-outline-variant);
    margin-top: 24px;
    padding-top: 24px;
}

.p4-pres-tabstrip[b-ut78805qdo] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom: 1px solid var(--ds-outline-variant);
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.p4-pres-tab[b-ut78805qdo] {
    display: flex;
    align-items: center;
    border: 1px solid var(--ds-outline-variant);
    border-radius: 6px;
    padding: 0 2px;
    background: var(--ds-surface);
}

.p4-pres-tab.active[b-ut78805qdo] {
    border-color: var(--ds-primary);
    background: color-mix(in srgb, var(--ds-primary) 8%, transparent);
}

.p4-pres-grid2[b-ut78805qdo] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.p4-pres-req[b-ut78805qdo] {
    color: var(--ds-error);
}

.p4-pres-switch[b-ut78805qdo] {
    padding-top: 22px;
}

.p4-pres-coltable-wrap[b-ut78805qdo] {
    overflow-x: auto;
    border: 1px solid var(--ds-outline-variant);
    border-radius: 6px;
}

.p4-pres-coltable[b-ut78805qdo] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.p4-pres-coltable th[b-ut78805qdo] {
    text-align: left;
    font-weight: 600;
    padding: 6px 8px;
    background: var(--ds-surface-variant);
    border-bottom: 1px solid var(--ds-outline-variant);
    white-space: nowrap;
}

.p4-pres-coltable td[b-ut78805qdo] {
    padding: 4px 6px;
    border-bottom: 1px solid var(--ds-outline-variant);
    min-width: 90px;
    vertical-align: middle;
}

.p4-pres-center[b-ut78805qdo] {
    text-align: center;
}

.p4-pres-rowactions[b-ut78805qdo] {
    white-space: nowrap;
    min-width: 0;
}

.p4-pres-maskcell[b-ut78805qdo] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Infrastructure/TenantConfig.razor.rz.scp.css */
/* p4-input-locked base styles are in p4-utilities.css (global, required for Syncfusion DOM penetration) */

@media (prefers-color-scheme: dark) {
    [b-xo5w6xh09x] .p4-input-locked.e-control-wrapper,
    [b-xo5w6xh09x] .p4-input-locked.e-input-group,
    [b-xo5w6xh09x] .p4-input-locked.e-date-wrapper {
        background-color: rgba(99, 149, 255, 0.1) !important;
        border-color: rgba(99, 149, 255, 0.3) !important;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Infrastructure/Users/UserDetails.razor.rz.scp.css */
.notif-pref-grid[b-2ty7lddhda] {
    display: flex;
    flex-direction: column;
}

.notif-pref-row[b-2ty7lddhda] {
    display: grid;
    grid-template-columns: 1fr 88px 88px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--ds-border);
}

.notif-pref-row:last-child[b-2ty7lddhda] {
    border-bottom: none;
}

.notif-pref-head[b-2ty7lddhda] {
    font-size: 12px;
    font-weight: 500;
    color: var(--ds-text-muted);
}

.notif-pref-label[b-2ty7lddhda] {
    font-size: 14px;
    font-weight: 500;
}

.notif-pref-toggle[b-2ty7lddhda] {
    text-align: center;
    justify-self: center;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Master/Accounting/AccountPriming.razor.rz.scp.css */
/* The file input is opened by the "Import from Excel" button, so the input itself stays out of sight. */
.priming-hidden-input[b-z0stt8umhz] {
    display: none;
}

/* The label is the visible "Import from Excel" button: keep it clickable-looking and on one line. */
.priming-import-label[b-z0stt8umhz] {
    cursor: pointer;
    white-space: nowrap;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Master/Customers/CustomerDetails.razor.rz.scp.css */
/* ─── KPI row: 5 columns on wide screens ─── */
.p4-kpi-row[b-p2dtwblogg] {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1500px) {
    .p4-kpi-row[b-p2dtwblogg] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1000px) {
    .p4-kpi-row[b-p2dtwblogg] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .p4-kpi-row[b-p2dtwblogg] {
        grid-template-columns: 1fr;
    }
}

/* ─── DV (Panama RUC verification digit) — narrow box beside Tax ID ─── */
.p4-dv-input[b-p2dtwblogg] {
    flex: 0 0 56px;
    width: 56px;
}

/* ─── A merged customer: the editing area is inert (see the markup); dimmed so it reads as "look, don't touch" ─── */
.p4-merged-lock[b-p2dtwblogg] {
    opacity: 0.7;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Master/Customers/CustomerDuplicateGroupView.razor.rz.scp.css */
/* One company on the possible duplicates page: a heading and one block per pair. Two customer cards sit side by side and stack
   under 640px, with the actions underneath, so on a phone a pair still reads top to bottom: who stays, who is folded in, then the buttons. */
.cdg[b-ajnzq7oxoc] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--ds-outline-variant);
    border-radius: var(--ds-radius-card);
    background: var(--ds-surface);
}

.cdg-header[b-ajnzq7oxoc] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cdg-header-icon[b-ajnzq7oxoc] {
    flex: none;
    font-size: 24px;
    color: var(--ds-on-surface-muted);
}

.cdg-header-text[b-ajnzq7oxoc] {
    min-width: 0;
}

.cdg-title[b-ajnzq7oxoc] {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.cdg-subtitle[b-ajnzq7oxoc] {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--ds-on-surface-muted);
}

.cdg-pair[b-ajnzq7oxoc] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--ds-outline-variant);
}

.cdg-customers[b-ajnzq7oxoc] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cdg-card[b-ajnzq7oxoc] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--ds-outline-variant);
    border-radius: var(--ds-radius-card);
    background: var(--ds-surface-container-low);
}

/* The customer that stays is the one the eye should find first; the same colours the merge preview uses for it. */
.cdg-card--kept[b-ajnzq7oxoc] {
    border-color: var(--ds-success);
    background: var(--ds-success-container);
    color: var(--ds-on-success-container);
}

.cdg-tag[b-ajnzq7oxoc] {
    align-self: flex-start;
    padding: 2px 8px;
    border-radius: var(--ds-radius-badge);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.cdg-tag--kept[b-ajnzq7oxoc] {
    background: var(--ds-success);
    color: var(--ds-on-primary);
}

.cdg-tag--folded[b-ajnzq7oxoc] {
    background: var(--ds-surface-variant);
    color: var(--ds-on-surface);
}

.cdg-code[b-ajnzq7oxoc] {
    font-family: var(--ds-mono);
    font-size: 13px;
    font-weight: 600;
}

.cdg-name[b-ajnzq7oxoc] {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.cdg-legal[b-ajnzq7oxoc] {
    font-size: 13px;
    color: var(--ds-on-surface-muted);
    overflow-wrap: anywhere;
}

.cdg-card--kept .cdg-legal[b-ajnzq7oxoc] {
    color: inherit;
}

.cdg-facts[b-ajnzq7oxoc] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
    margin: 8px 0 0;
    font-size: 13px;
}

.cdg-facts dt[b-ajnzq7oxoc] {
    font-size: 12px;
    color: var(--ds-on-surface-muted);
}

.cdg-card--kept .cdg-facts dt[b-ajnzq7oxoc] {
    color: inherit;
    opacity: 0.8;
}

.cdg-facts dd[b-ajnzq7oxoc] {
    margin: 0;
    overflow-wrap: anywhere;
}

.cdg-card[b-ajnzq7oxoc]  .cdg-swap {
    align-self: flex-start;
    margin-top: 8px;
}

.cdg-actions[b-ajnzq7oxoc] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 640px) {
    .cdg[b-ajnzq7oxoc] {
        padding: 12px;
    }

    .cdg-customers[b-ajnzq7oxoc] {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Full-width buttons are easy to hit with a thumb and cannot overflow a 390px screen with two long codes in the label. */
    .cdg-actions[b-ajnzq7oxoc] {
        flex-direction: column;
        align-items: stretch;
    }

    .cdg-actions[b-ajnzq7oxoc]  .e-btn {
        width: 100%;
        white-space: normal;
        height: auto;
        min-height: 36px;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Master/Customers/CustomerDuplicates.razor.rz.scp.css */
/* The possible duplicates work queue. Groups are stacked cards; the page is a single readable column so a long list scans quickly. */
.cdp[b-lqcaqfo0c4] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 1100px;
    padding: var(--ds-page-padding);
}

.cdp-intro[b-lqcaqfo0c4] {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ds-on-surface-muted);
}

.cdp-section[b-lqcaqfo0c4] {
    margin: 8px 0 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    color: var(--ds-on-surface);
}

.cdp-notice[b-lqcaqfo0c4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px 24px;
    text-align: center;
}

.cdp-notice p[b-lqcaqfo0c4] {
    margin: 0;
    line-height: 1.5;
}

/* "Show more" under a section: centred, so it is found at the end of a long column and not mistaken for a card action. */
.cdp-more[b-lqcaqfo0c4] {
    display: flex;
    justify-content: center;
}

.cdp-notice-icon[b-lqcaqfo0c4] {
    font-size: 32px;
    color: var(--ds-on-surface-muted);
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Master/Customers/CustomerMergeConfirmNotice.razor.rz.scp.css */
.mcn[b-cc7khx61y4] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ds-on-surface);
}

.mcn p[b-cc7khx61y4] {
    margin: 0;
}

/* The one sentence that must not be skimmed: error colours, an icon, and bold. */
.mcn-nope[b-cc7khx61y4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    padding: 12px 14px;
    border-radius: var(--ds-radius-input);
    background: var(--ds-error-container);
    color: var(--ds-on-error-container);
}

.mcn-nope .p4-icon[b-cc7khx61y4] {
    font-size: 22px;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Master/Customers/CustomerMergedBanner.razor.rz.scp.css */
.mgb[b-etwg4ulu4g] {
    display: flex;
    /* The button drops below the text on a narrow screen instead of squeezing it into a sliver. */
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: var(--ds-radius-card);
    background: var(--ds-warning-container);
    color: var(--ds-on-warning-container);
}

.mgb-icon[b-etwg4ulu4g] {
    flex: none;
    font-size: 24px;
}

.mgb-text[b-etwg4ulu4g] {
    display: flex;
    flex: 1 1 240px;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.mgb-action[b-etwg4ulu4g] {
    flex: none;
    align-self: center;
}

.mgb-note[b-etwg4ulu4g] {
    flex-basis: 100%;
    font-size: 14px;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Master/Customers/CustomerMergeDialog.razor.rz.scp.css */
.cmd-header[b-8b8z1za5dg] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cmd-body[b-8b8z1za5dg] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cmd-intro[b-8b8z1za5dg] {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cmd-field[b-8b8z1za5dg] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cmd-label[b-8b8z1za5dg] {
    font-size: 13px;
    font-weight: 500;
    color: var(--ds-on-surface-muted);
}

.cmd-busy[b-8b8z1za5dg] {
    margin: 0;
    font-size: 14px;
    color: var(--ds-on-surface-muted);
}

.cmd-alert[b-8b8z1za5dg] {
    padding: 10px 14px;
    border-radius: var(--ds-radius-input);
    background: var(--ds-error-container);
    color: var(--ds-on-error-container);
    line-height: 1.45;
}

.cmd-alert p[b-8b8z1za5dg] {
    margin: 4px 0 0;
}

/* The step only holds the focus so Escape keeps working; it is not something to tab to, so it gets no outline. */
.cmd-confirm-step:focus[b-8b8z1za5dg] {
    outline: none;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Master/Customers/CustomerMergePreviewPanel.razor.rz.scp.css */
/* The merge preview. Two customer cards side by side with an arrow showing which way the records move; they stack under 640px. */
.mpp[b-949hljs2nv] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 14px;
    color: var(--ds-on-surface);
}

.mpp-refusal[b-949hljs2nv] {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--ds-radius-input);
    background: var(--ds-error-container);
    color: var(--ds-on-error-container);
}

.mpp-refusal p[b-949hljs2nv] {
    margin: 4px 0 0;
    line-height: 1.45;
}

.mpp-refusal-icon[b-949hljs2nv] {
    font-size: 22px;
    flex: none;
}

.mpp-pair[b-949hljs2nv] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
}

.mpp-arrow[b-949hljs2nv] {
    align-self: center;
    font-size: 24px;
    color: var(--ds-on-surface-muted);
}

.mpp-card[b-949hljs2nv] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--ds-outline-variant);
    border-radius: var(--ds-radius-card);
    background: var(--ds-surface);
}

/* The surviving customer is the one the eye should find first. */
.mpp-card--kept[b-949hljs2nv] {
    border-color: var(--ds-success);
    background: var(--ds-success-container);
    color: var(--ds-on-success-container);
}

.mpp-card--folded[b-949hljs2nv] {
    background: var(--ds-surface-container-low);
}

.mpp-tag[b-949hljs2nv] {
    align-self: flex-start;
    padding: 2px 8px;
    border-radius: var(--ds-radius-badge);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.mpp-tag--kept[b-949hljs2nv] {
    background: var(--ds-success);
    color: var(--ds-on-primary);
}

.mpp-tag--folded[b-949hljs2nv] {
    background: var(--ds-surface-variant);
    color: var(--ds-on-surface);
}

.mpp-code[b-949hljs2nv] {
    font-size: 18px;
    font-weight: 600;
}

.mpp-name[b-949hljs2nv] {
    overflow-wrap: anywhere;
}

.mpp-meta[b-949hljs2nv] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    color: var(--ds-on-surface-muted);
}

.mpp-card--kept .mpp-meta[b-949hljs2nv] {
    color: inherit;
}

.mpp-hint[b-949hljs2nv] {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.4;
}

.mpp-heading[b-949hljs2nv] {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
}

.mpp-muted[b-949hljs2nv] {
    margin: 0;
    color: var(--ds-on-surface-muted);
}

.mpp-counts[b-949hljs2nv] {
    border-collapse: collapse;
    width: 100%;
}

.mpp-counts th[b-949hljs2nv],
.mpp-counts td[b-949hljs2nv] {
    padding: 6px 0;
    border-bottom: 1px solid var(--ds-outline-variant);
    font-weight: 400;
    text-align: left;
}

.mpp-counts td[b-949hljs2nv] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.mpp-totals[b-949hljs2nv] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
}

.mpp-totals > div[b-949hljs2nv] {
    padding: 10px 14px;
    border-radius: var(--ds-radius-card);
    background: var(--ds-surface-container-low);
}

.mpp-totals dt[b-949hljs2nv] {
    font-size: 13px;
    color: var(--ds-on-surface-muted);
}

.mpp-totals dd[b-949hljs2nv] {
    margin: 2px 0 0;
    font-size: 18px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.mpp-warnings[b-949hljs2nv] {
    padding: 10px 14px;
    border-radius: var(--ds-radius-input);
    background: var(--ds-warning-container);
    color: var(--ds-on-warning-container);
}

.mpp-warnings ul[b-949hljs2nv] {
    margin: 6px 0 0;
    padding-left: 18px;
    line-height: 1.45;
}

@media (max-width: 640px) {
    .mpp-pair[b-949hljs2nv] {
        grid-template-columns: minmax(0, 1fr);
    }

    /* The arrow points left on a wide screen; stacked, the folded card is below, so it points up. */
    .mpp-arrow[b-949hljs2nv] {
        justify-self: center;
        transform: rotate(90deg);
    }

    .mpp-totals[b-949hljs2nv] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Master/Customers/CustomerStoreSignInSection.razor.rz.scp.css */
/* The customer screen's "Online store sign-in" section. Colors come from the design tokens only, so light and dark
   themes both work. */

.sis-status[b-ozxormjkqn] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sis-line[b-ozxormjkqn] {
    margin: 0;
    font-size: 14px;
    color: var(--ds-on-surface);
    /* An email address is one long word; let it break instead of widening the sidebar. */
    overflow-wrap: anywhere;
}

.sis-help[b-ozxormjkqn],
.sis-note[b-ozxormjkqn] {
    margin: 0;
    font-size: 13px;
    color: var(--ds-on-surface-muted);
    overflow-wrap: anywhere;
}

.sis-note[b-ozxormjkqn] {
    font-size: 14px;
}

.sis-warning[b-ozxormjkqn] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: var(--ds-radius-card);
    background: var(--ds-warning-container);
    color: var(--ds-on-warning-container);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.sis-warning-icon[b-ozxormjkqn] {
    flex: none;
    font-size: 18px;
}

.sis-actions[b-ozxormjkqn] {
    display: flex;
    /* The buttons drop to a second row in a narrow sidebar instead of squeezing their labels. */
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.sis-actions + .sis-help[b-ozxormjkqn] {
    margin-top: 8px;
}

/* A note that stands where the actions would be (the user may not change customers). */
.sis-help--spaced[b-ozxormjkqn] {
    margin-top: 12px;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Master/Customers/CustomerTaxIdDialog.razor.rz.scp.css */
.ctd-header[b-vjpteejecz] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ctd-header-icon[b-vjpteejecz] {
    color: var(--ds-warning);
    font-size: 22px;
}

.ctd-body[b-vjpteejecz] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ctd-body p[b-vjpteejecz] {
    margin: 0;
}

.ctd-message[b-vjpteejecz] {
    padding: 10px 12px;
    border-radius: var(--ds-radius-input);
    background: var(--ds-warning-container);
    color: var(--ds-on-warning-container);
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.ctd-open a[b-vjpteejecz] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ctd-hint[b-vjpteejecz] {
    font-size: 13px;
    line-height: 1.45;
    color: var(--ds-on-surface-muted);
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Master/Products/CatalogCategoryDialog.razor.rz.scp.css */
/* Scoped to the markup this component emits; the dialog chrome itself is styled by ds-create-dialog in p4-components.css. */

.catalog-category-hint[b-j7tv1yr2m0] {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ds-on-surface-muted);
}

/* The "how many products changed" line. Success colours for a result, error colours for a refusal. */
.catalog-category-result[b-j7tv1yr2m0] {
    padding: 10px 12px;
    border-radius: var(--ds-radius-input, 8px);
    font-size: 13px;
    line-height: 1.4;
    color: var(--ds-on-surface);
    background: var(--ds-success-container);
    border: 1px solid var(--ds-success);
}

.catalog-category-result.catalog-category-error[b-j7tv1yr2m0] {
    background: var(--ds-error-container);
    border-color: var(--ds-error);
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Master/Products/ProductDetails.razor.rz.scp.css */
/* ProductDetails.razor.css - P4Books Product Edit v10 Style */

.p4-favorite-btn .p4-icon[b-r9gr1c1bew] {
    font-size: 22px;
    color: var(--ds-text-muted, #9ca3af);
    transition: color 150ms ease, transform 150ms ease;
}

.p4-favorite-btn--active .p4-icon[b-r9gr1c1bew] {
    color: var(--ds-warning, #f59e0b);
}

.p4-favorite-btn:hover .p4-icon[b-r9gr1c1bew] {
    transform: scale(1.15);
}

/* CSS Variables */
:root[b-r9gr1c1bew] {
    --sf-primary: #0A5FAD;
    --sf-primary-dark: #084a8a;
    --sf-primary-light: #e3f2fd;
    --sf-success: #2E7D32;
    --sf-success-light: #e8f5e9;
    --sf-warning: #F9A825;
    --sf-warning-light: #fff8e1;
    --sf-danger: #C62828;
    --sf-danger-light: #ffebee;
    --sf-purple: #7B1FA2;
    --sf-orange: #FBAD48;
    --sf-teal: #00838F;
    --sf-border: #e0e0e0;
    --sf-bg: #f4f6f8;
    --sf-card-shadow: 0 2px 12px rgba(0,0,0,0.06);
    --sf-text: #333;
    --sf-text-secondary: #666;
    --sf-text-muted: #999;
}

/* ========== Loading Overlay ========== */
.p4-loading-overlay[b-r9gr1c1bew] {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: inherit;
}

.p4-loading-spinner[b-r9gr1c1bew] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.p4-spinner[b-r9gr1c1bew] {
    width: 40px;
    height: 40px;
    border: 3px solid #e0e0e0;
    border-top-color: var(--sf-primary);
    border-radius: 50%;
    animation: spin-b-r9gr1c1bew 1s linear infinite;
}

@keyframes spin-b-r9gr1c1bew {
    to { transform: rotate(360deg); }
}

/* ========== Page Header ========== */
.p4-product-header[b-r9gr1c1bew] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.p4-product-header-left[b-r9gr1c1bew] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.p4-product-header-right[b-r9gr1c1bew] {
    display: flex;
    gap: 8px;
}

.p4-product-title[b-r9gr1c1bew] {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: var(--sf-text);
}

.p4-product-title .text-primary[b-r9gr1c1bew] {
    color: var(--sf-primary);
}

/* ABC Badge */
.p4-abc-badge[b-r9gr1c1bew] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.p4-abc-a[b-r9gr1c1bew] { background: rgba(46,125,50,0.12); border: 2px solid var(--sf-success); color: var(--sf-success); }
.p4-abc-b[b-r9gr1c1bew] { background: rgba(249,168,37,0.12); border: 2px solid var(--sf-warning); color: #e65100; }
.p4-abc-c[b-r9gr1c1bew] { background: rgba(158,158,158,0.12); border: 2px solid #9E9E9E; color: #666; }
.p4-abc-d[b-r9gr1c1bew] { background: rgba(198,40,40,0.12); border: 2px solid var(--sf-danger); color: var(--sf-danger); }

/* Stock Aging Badge */
.p4-stock-aging[b-r9gr1c1bew] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.p4-stock-aging.p4-stock-fresh[b-r9gr1c1bew] { background: rgba(46,125,50,0.1); border: 1px solid rgba(46,125,50,0.2); color: var(--sf-success); }
.p4-stock-aging.p4-stock-aging[b-r9gr1c1bew] { background: rgba(249,168,37,0.1); border: 1px solid rgba(249,168,37,0.2); color: #e65100; }
.p4-stock-aging.p4-stock-slow[b-r9gr1c1bew] { background: rgba(198,40,40,0.1); border: 1px solid rgba(198,40,40,0.2); color: var(--sf-danger); }

.p4-stock-dot[b-r9gr1c1bew] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.p4-stock-fresh .p4-stock-dot[b-r9gr1c1bew] { background: var(--sf-success); }
.p4-stock-aging .p4-stock-dot[b-r9gr1c1bew] { background: var(--sf-warning); }
.p4-stock-slow .p4-stock-dot[b-r9gr1c1bew] { background: var(--sf-danger); }

/* ========== Alert Banners ========== */
.p4-alert-banner[b-r9gr1c1bew] {
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.p4-alert-banner.p4-alert-success[b-r9gr1c1bew] {
    background: linear-gradient(135deg, rgba(46,125,50,0.08), rgba(46,125,50,0.04));
    border: 1px solid rgba(46,125,50,0.2);
}

.p4-alert-banner.p4-alert-warning[b-r9gr1c1bew] {
    background: linear-gradient(135deg, rgba(249,168,37,0.08), rgba(249,168,37,0.04));
    border: 1px solid rgba(249,168,37,0.2);
}

.p4-alert-content[b-r9gr1c1bew] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.p4-alert-icon[b-r9gr1c1bew] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.p4-alert-title[b-r9gr1c1bew] {
    font-weight: 600;
    font-size: 14px;
    color: var(--sf-text);
}

.p4-alert-message[b-r9gr1c1bew] {
    font-size: 12px;
    color: var(--sf-text-secondary);
}

.p4-alert-actions[b-r9gr1c1bew] {
    display: flex;
    gap: 8px;
}

/* Warning & Reorder Banners */
.p4-warning-banner[b-r9gr1c1bew],
.p4-reorder-banner[b-r9gr1c1bew] {
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.p4-warning-banner.p4-warning-error[b-r9gr1c1bew] {
    background: linear-gradient(135deg, rgba(198,40,40,0.08), rgba(198,40,40,0.04));
    border: 1px solid rgba(198,40,40,0.2);
}

.p4-warning-banner.p4-warning-caution[b-r9gr1c1bew] {
    background: linear-gradient(135deg, rgba(249,168,37,0.08), rgba(249,168,37,0.04));
    border: 1px solid rgba(249,168,37,0.2);
}

.p4-reorder-banner[b-r9gr1c1bew] {
    background: linear-gradient(135deg, rgba(249,168,37,0.08), rgba(249,168,37,0.04));
    border: 1px solid rgba(249,168,37,0.2);
}

.p4-reorder-content[b-r9gr1c1bew],
.p4-warning-content[b-r9gr1c1bew] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.p4-reorder-icon[b-r9gr1c1bew],
.p4-warning-icon[b-r9gr1c1bew] { font-size: 24px; }

.p4-reorder-title[b-r9gr1c1bew],
.p4-warning-title[b-r9gr1c1bew] { font-weight: 600; font-size: 14px; }

.p4-reorder-detail[b-r9gr1c1bew],
.p4-warning-message[b-r9gr1c1bew] { font-size: 12px; color: var(--sf-text-secondary); }

/* ========== Summary Row ========== */
.p4-summary-row[b-r9gr1c1bew] {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.p4-summary-row > .p4-card:first-child[b-r9gr1c1bew] { flex: 2; }
.p4-summary-row > .p4-card:last-child[b-r9gr1c1bew] { flex: 1; min-width: 280px; }

@media (max-width: 1200px) {
    .p4-summary-row[b-r9gr1c1bew] { flex-direction: column; }
    .p4-summary-row > .p4-card:last-child[b-r9gr1c1bew] { min-width: auto; }
}

/* ========== Cards ========== */
.p4-card[b-r9gr1c1bew] {
    background: white;
    border-radius: 8px;
    box-shadow: var(--sf-card-shadow);
    overflow: hidden;
    margin-bottom: 16px;
}

.p4-card-wide[b-r9gr1c1bew] { flex: 2; }

.p4-card-header[b-r9gr1c1bew] {
    padding: 14px 18px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.p4-card-header h3[b-r9gr1c1bew] {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--sf-primary);
}

.p4-card-body[b-r9gr1c1bew] { padding: 16px; }

/* ========== Section Headers (Collapsible) ========== */
.p4-section-header[b-r9gr1c1bew] {
    padding: 14px 18px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.2s;
}

.p4-section-header:hover[b-r9gr1c1bew] {
    background: linear-gradient(135deg, #f0f2f4 0%, #fafafa 100%);
}

.p4-section-title[b-r9gr1c1bew] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--sf-primary);
    font-size: 14px;
}

.p4-toggle[b-r9gr1c1bew] {
    color: var(--sf-text-muted);
    font-size: 12px;
    transition: transform 0.2s;
}

.p4-toggle.open[b-r9gr1c1bew] { transform: rotate(0deg); }
.p4-toggle:not(.open)[b-r9gr1c1bew] { transform: rotate(-90deg); }

.p4-section-content[b-r9gr1c1bew] { padding: 16px; }

/* ========== Stat Grid ========== */
.p4-stat-grid[b-r9gr1c1bew] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

@media (max-width: 1200px) { .p4-stat-grid[b-r9gr1c1bew] { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .p4-stat-grid[b-r9gr1c1bew] { grid-template-columns: repeat(2, 1fr); } }

.p4-stat[b-r9gr1c1bew] {
    text-align: center;
    padding: 10px 4px;
    border-radius: 6px;
}

.p4-stat-value[b-r9gr1c1bew] { font-size: 18px; font-weight: 700; line-height: 1.2; }
.p4-stat-label[b-r9gr1c1bew] { font-size: 10px; color: var(--sf-text-secondary); text-transform: uppercase; }

.p4-stat-primary[b-r9gr1c1bew] { background: rgba(10,95,173,0.05); border: 1px solid rgba(10,95,173,0.15); }
.p4-stat-primary .p4-stat-value[b-r9gr1c1bew] { color: var(--sf-primary); }

.p4-stat-warning[b-r9gr1c1bew] { background: rgba(249,168,37,0.05); border: 1px solid rgba(249,168,37,0.15); }
.p4-stat-warning .p4-stat-value[b-r9gr1c1bew] { color: var(--sf-warning); }

.p4-stat-success[b-r9gr1c1bew] { background: rgba(46,125,50,0.05); border: 1px solid rgba(46,125,50,0.15); }
.p4-stat-success .p4-stat-value[b-r9gr1c1bew] { color: var(--sf-success); }

.p4-stat-purple[b-r9gr1c1bew] { background: rgba(123,31,162,0.05); border: 1px solid rgba(123,31,162,0.15); }
.p4-stat-purple .p4-stat-value[b-r9gr1c1bew] { color: var(--sf-purple); }

.p4-stat-orange[b-r9gr1c1bew] { background: rgba(230,81,0,0.05); border: 1px solid rgba(230,81,0,0.15); }
.p4-stat-orange .p4-stat-value[b-r9gr1c1bew] { color: #E65100; }

.p4-stat-teal[b-r9gr1c1bew] { background: rgba(0,131,143,0.05); border: 1px solid rgba(0,131,143,0.15); }
.p4-stat-teal .p4-stat-value[b-r9gr1c1bew] { color: var(--sf-teal); }

/* ========== Trend Chart ========== */
.p4-trend-chart[b-r9gr1c1bew] { width: 100%; }

.p4-trend-bars[b-r9gr1c1bew] {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 60px;
    padding: 0 4px;
}

.p4-trend-col[b-r9gr1c1bew] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p4-trend-val[b-r9gr1c1bew] { font-size: 9px; color: var(--sf-text-secondary); margin-bottom: 2px; }

.p4-trend-bar[b-r9gr1c1bew] {
    width: 100%;
    max-width: 24px;
    border-radius: 4px 4px 0 0;
    transition: height 0.3s ease;
    background: linear-gradient(180deg, var(--sf-primary), var(--sf-primary-dark));
}

.p4-trend-bar.p4-peak[b-r9gr1c1bew] { background: linear-gradient(180deg, var(--sf-success), #1b5e20); }
.p4-trend-bar.p4-low[b-r9gr1c1bew] { background: linear-gradient(180deg, var(--sf-danger), #b71c1c); }
.p4-trend-bar.p4-current[b-r9gr1c1bew] { background: linear-gradient(180deg, var(--sf-orange), #f59e0b); }

.p4-trend-lbl[b-r9gr1c1bew] { font-size: 9px; color: var(--sf-text-muted); margin-top: 4px; }

/* ========== Seasonal Badge ========== */
.p4-seasonal-badge[b-r9gr1c1bew] {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
}

.p4-seasonal-badge.p4-peak[b-r9gr1c1bew] { background: rgba(46,125,50,0.06); border: 1px solid rgba(46,125,50,0.2); color: var(--sf-success); }
.p4-seasonal-badge.p4-low[b-r9gr1c1bew] { background: rgba(198,40,40,0.06); border: 1px solid rgba(198,40,40,0.2); color: var(--sf-danger); }

/* ========== Forecast ========== */
.p4-forecast[b-r9gr1c1bew] {
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.p4-forecast.p4-forecast-safe[b-r9gr1c1bew] { background: rgba(46,125,50,0.06); border: 1px solid rgba(46,125,50,0.2); }
.p4-forecast.p4-forecast-danger[b-r9gr1c1bew] { background: rgba(198,40,40,0.06); border: 1px solid rgba(198,40,40,0.2); }

.p4-forecast-label[b-r9gr1c1bew] { font-size: 12px; color: var(--sf-text-secondary); margin-bottom: 4px; }
.p4-forecast-date[b-r9gr1c1bew] { font-size: 24px; font-weight: 700; color: var(--sf-success); }
.p4-forecast-danger .p4-forecast-date[b-r9gr1c1bew] { color: var(--sf-danger); }
.p4-forecast-days[b-r9gr1c1bew] { font-size: 12px; color: var(--sf-text-secondary); margin-top: 4px; }

.p4-forecast-stats[b-r9gr1c1bew] { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.p4-forecast-stat[b-r9gr1c1bew] {
    padding: 12px;
    background: #f5f5f5;
    border-radius: 6px;
}

.p4-forecast-stat-label[b-r9gr1c1bew] { font-size: 11px; color: var(--sf-text-secondary); }
.p4-forecast-stat-value[b-r9gr1c1bew] { font-size: 18px; font-weight: 600; color: var(--sf-primary); }

/* ========== Two Column Layout ========== */
.p4-columns[b-r9gr1c1bew] {
    display: flex;
    gap: 16px;
}

.p4-col-left[b-r9gr1c1bew] { flex: 1; display: flex; flex-direction: column; gap: 0; }
.p4-col-right[b-r9gr1c1bew] { width: 380px; flex-shrink: 0; display: flex; flex-direction: column; gap: 0; }

@media (max-width: 1200px) {
    .p4-columns[b-r9gr1c1bew] { flex-direction: column; }
    .p4-col-right[b-r9gr1c1bew] { width: 100%; }
}

/* ========== Accessories Row ========== */
.p4-accessories-row[b-r9gr1c1bew] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 992px) {
    .p4-accessories-row[b-r9gr1c1bew] { grid-template-columns: 1fr; }
}

.p4-accessory-item[b-r9gr1c1bew] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 8px;
}

.p4-accessory-info[b-r9gr1c1bew] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.p4-accessory-icon[b-r9gr1c1bew] { font-size: 18px; }
.p4-accessory-sku[b-r9gr1c1bew] { font-weight: 600; color: var(--sf-primary); font-size: 13px; }
.p4-accessory-name[b-r9gr1c1bew] { font-size: 12px; color: var(--sf-text-secondary); }
.p4-accessory-price[b-r9gr1c1bew] { display: flex; align-items: center; gap: 8px; }

/* Related Products */
.p4-related-item[b-r9gr1c1bew] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 8px;
}

.p4-related-sku[b-r9gr1c1bew] { font-weight: 600; color: var(--sf-primary); font-size: 13px; }
.p4-related-name[b-r9gr1c1bew] { font-size: 11px; color: var(--sf-text-secondary); }

.p4-frequency[b-r9gr1c1bew] {
    font-size: 16px;
    font-weight: 700;
}

.p4-frequency.high[b-r9gr1c1bew] { color: var(--sf-success); }
.p4-frequency.med[b-r9gr1c1bew] { color: var(--sf-warning); }
.p4-frequency.low[b-r9gr1c1bew] { color: var(--sf-text-secondary); }

/* ========== Form Rows ========== */
.p4-form-row[b-r9gr1c1bew] {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.p4-form-row:last-child[b-r9gr1c1bew] { border-bottom: none; }

.p4-form-row > label[b-r9gr1c1bew] {
    width: 140px;
    font-size: 13px;
    color: var(--sf-text-secondary);
    flex-shrink: 0;
}

.p4-form-row > .e-control[b-r9gr1c1bew],
.p4-form-row > .e-input[b-r9gr1c1bew],
.p4-form-row > :not(label):not(.p4-field-with-comment)[b-r9gr1c1bew] {
    flex: 1;
}

.p4-field-with-comment[b-r9gr1c1bew] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.p4-field-with-comment > .e-control[b-r9gr1c1bew],
.p4-field-with-comment > .e-input[b-r9gr1c1bew] {
    flex: 1;
}

.p4-field-error[b-r9gr1c1bew] { border-color: var(--sf-danger) !important; }

/* Comment Button */
.p4-comment-btn[b-r9gr1c1bew] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    color: var(--sf-text-secondary);
    transition: all 0.2s;
}

.p4-comment-btn:hover[b-r9gr1c1bew] { background: #d0d0d0; }
.p4-comment-btn.has[b-r9gr1c1bew] { background: var(--sf-primary); color: white; }

/* AI Button */
.p4-ai-btn[b-r9gr1c1bew] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--sf-purple), #9C27B0);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.p4-ai-btn:hover[b-r9gr1c1bew] { opacity: 0.9; }
.p4-ai-btn:disabled[b-r9gr1c1bew] { opacity: 0.6; cursor: not-allowed; }

/* Barcode Row */
.p4-barcode-row[b-r9gr1c1bew] {
    display: flex;
    gap: 8px;
}

.p4-barcode-row > .e-input[b-r9gr1c1bew],
.p4-barcode-row > .e-control[b-r9gr1c1bew] { flex: 1; }
.p4-barcode-type[b-r9gr1c1bew] { width: 120px !important; }

.p4-barcode-preview[b-r9gr1c1bew] {
    margin-top: 8px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.p4-barcode-lines[b-r9gr1c1bew] {
    display: flex;
    justify-content: center;
    gap: 1px;
    height: 40px;
    margin-bottom: 4px;
}

.p4-barcode-line[b-r9gr1c1bew] { background: #333; height: 100%; }
.p4-barcode-value[b-r9gr1c1bew] { font-family: monospace; font-size: 12px; color: var(--sf-text-secondary); }

/* Attribute Grid */
.p4-attr-grid[b-r9gr1c1bew] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 768px) { .p4-attr-grid[b-r9gr1c1bew] { grid-template-columns: 1fr; } }

.p4-attr-item[b-r9gr1c1bew] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.p4-attr-item span[b-r9gr1c1bew] { font-size: 13px; }
.text-warning[b-r9gr1c1bew] { color: var(--sf-warning) !important; }
.text-danger[b-r9gr1c1bew] { color: var(--sf-danger) !important; }
.text-info[b-r9gr1c1bew] { color: var(--sf-teal) !important; }
.text-success[b-r9gr1c1bew] { color: var(--sf-success) !important; }
.text-primary[b-r9gr1c1bew] { color: var(--sf-primary) !important; }
.text-muted[b-r9gr1c1bew] { color: var(--sf-text-muted) !important; }
.text-purple[b-r9gr1c1bew] { color: var(--sf-purple) !important; }

/* Info Box */
.p4-info-box[b-r9gr1c1bew] {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 12px;
}

.p4-info-box.p4-info-primary[b-r9gr1c1bew] { background: var(--sf-primary-light); border: 1px solid #90CAF9; color: #1565C0; }
.p4-info-box.p4-info-warning[b-r9gr1c1bew] { background: var(--sf-warning-light); border: 1px solid #FFE082; color: #e65100; }
.p4-info-box.p4-info-success[b-r9gr1c1bew] { background: var(--sf-success-light); border: 1px solid #A5D6A7; color: #1b5e20; }

.p4-info-text[b-r9gr1c1bew] { font-size: 12px; color: var(--sf-text-secondary); margin-bottom: 12px; }

/* Empty State */
.p4-empty-state[b-r9gr1c1bew] {
    text-align: center;
    padding: 24px;
    color: var(--sf-text-secondary);
}

.p4-empty-state span[b-r9gr1c1bew] { font-size: 32px; display: block; margin-bottom: 8px; }
.p4-empty-state small[b-r9gr1c1bew] { font-size: 12px; color: var(--sf-text-muted); }

/* ========== Supplier Cards ========== */
.p4-supplier-card[b-r9gr1c1bew] {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #e8e8e8;
}

.p4-supplier-card.preferred[b-r9gr1c1bew] { border-color: var(--sf-success); border-width: 2px; }

.p4-supplier-header[b-r9gr1c1bew] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.p4-supplier-info[b-r9gr1c1bew] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.p4-star[b-r9gr1c1bew] { color: var(--sf-orange); font-size: 18px; }
.p4-supplier-name[b-r9gr1c1bew] { font-weight: 600; color: var(--sf-primary); font-size: 16px; }

.p4-supplier-meta[b-r9gr1c1bew] {
    font-size: 12px;
    color: var(--sf-text-secondary);
    margin-top: 4px;
}

.p4-supplier-meta code[b-r9gr1c1bew] {
    background: #e8e8e8;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

.p4-supplier-price[b-r9gr1c1bew] { text-align: right; }
.p4-price-label[b-r9gr1c1bew] { font-size: 10px; color: var(--sf-text-secondary); margin-bottom: 2px; }
.p4-price-value[b-r9gr1c1bew] { font-size: 24px; font-weight: 700; color: var(--sf-success); }
.p4-unit-price[b-r9gr1c1bew] { font-size: 11px; color: var(--sf-text-secondary); }

.p4-supplier-actions[b-r9gr1c1bew] { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.p4-sync-time[b-r9gr1c1bew] { font-size: 11px; color: var(--sf-text-secondary); margin-bottom: 8px; }

/* API Status Badge */
.p4-api-status[b-r9gr1c1bew] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

.p4-api-status.connected[b-r9gr1c1bew] { background: rgba(46,125,50,0.1); border: 1px solid rgba(46,125,50,0.2); color: var(--sf-success); }
.p4-api-dot[b-r9gr1c1bew] { width: 6px; height: 6px; border-radius: 50%; background: var(--sf-success); }

/* Warehouse Table */
.p4-warehouse-table[b-r9gr1c1bew] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin-top: 8px;
}

.p4-warehouse-table th[b-r9gr1c1bew] {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid var(--sf-border);
    color: var(--sf-text-secondary);
    font-weight: 500;
}

.p4-warehouse-table td[b-r9gr1c1bew] {
    padding: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.p4-warehouse-table td:nth-child(2)[b-r9gr1c1bew],
.p4-warehouse-table td:nth-child(3)[b-r9gr1c1bew] { text-align: right; }

/* Other Suppliers Table */
.p4-other-suppliers-title[b-r9gr1c1bew] {
    font-size: 12px;
    font-weight: 600;
    color: var(--sf-text);
    margin: 16px 0 8px;
}

.p4-suppliers-table[b-r9gr1c1bew] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.p4-suppliers-table th[b-r9gr1c1bew] {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid var(--sf-border);
}

.p4-suppliers-table td[b-r9gr1c1bew] {
    padding: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.p4-suppliers-table code[b-r9gr1c1bew] { font-size: 11px; color: var(--sf-text-secondary); }
.fw-500[b-r9gr1c1bew] { font-weight: 500; }
.fw-600[b-r9gr1c1bew] { font-weight: 600; }

/* ========== Image Grid ========== */
.p4-image-grid[b-r9gr1c1bew] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.p4-image-item[b-r9gr1c1bew] {
    aspect-ratio: 1;
    background: #f5f5f5;
    border-radius: 8px;
    border: 1px solid var(--sf-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 24px;
    color: var(--sf-text-muted);
}

.p4-image-item span:last-child[b-r9gr1c1bew] { font-size: 9px; margin-top: 4px; }
.p4-image-item.p4-image-primary[b-r9gr1c1bew] { border: 2px solid var(--sf-primary); }

.p4-image-badge[b-r9gr1c1bew] {
    position: absolute;
    top: 4px;
    left: 4px;
    background: var(--sf-primary);
    color: white;
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.p4-image-add[b-r9gr1c1bew] {
    background: #fafafa;
    border: 2px dashed var(--sf-border);
    cursor: pointer;
    color: var(--sf-primary);
    font-size: 28px;
}

.p4-image-add:hover[b-r9gr1c1bew] { border-color: var(--sf-primary); }

/* ========== Activity Items ========== */
.p4-activity-item[b-r9gr1c1bew] {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.p4-activity-item:last-child[b-r9gr1c1bew] { border-bottom: none; }

.p4-activity-avatar[b-r9gr1c1bew] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 9px;
    flex-shrink: 0;
}

.p4-activity-avatar:not(.system)[b-r9gr1c1bew] { background: linear-gradient(135deg, var(--sf-primary), var(--sf-primary-dark)); }
.p4-activity-avatar.system[b-r9gr1c1bew] { background: linear-gradient(135deg, var(--sf-purple), #9C27B0); }

.p4-activity-content[b-r9gr1c1bew] { flex: 1; font-size: 12px; }
.p4-activity-time[b-r9gr1c1bew] { font-size: 10px; color: var(--sf-text-muted); margin-top: 2px; }

.p4-view-all[b-r9gr1c1bew] {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    text-align: center;
    background: transparent;
    border: 1px solid var(--sf-border);
    border-radius: 6px;
    color: var(--sf-primary);
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.p4-view-all:hover[b-r9gr1c1bew] { background: #f5f5f5; }

/* ========== Dimensions Input ========== */
.p4-dims-input[b-r9gr1c1bew] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.p4-dims-input > .e-control[b-r9gr1c1bew] { flex: 1; }
.p4-dims-input > span[b-r9gr1c1bew] { color: var(--sf-text-muted); }

.p4-weight-input[b-r9gr1c1bew] {
    display: flex;
    gap: 8px;
    flex: 1;
}

.p4-weight-input > .e-control:first-child[b-r9gr1c1bew] { flex: 1; }
.p4-uom-select[b-r9gr1c1bew] { width: 80px !important; }

/* ========== Tax Items ========== */
.p4-tax-item[b-r9gr1c1bew] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.p4-tax-item:last-child[b-r9gr1c1bew] { border-bottom: none; }
.p4-tax-item > div[b-r9gr1c1bew] { display: flex; align-items: center; gap: 8px; }
.p4-tax-code[b-r9gr1c1bew] { color: var(--sf-primary); font-weight: 500; }
.p4-tax-rate[b-r9gr1c1bew] { font-weight: 600; }

/* ========== Bottom Tabs ========== */
.p4-bottom-tabs[b-r9gr1c1bew] { margin-top: 16px; }

.p4-tabs-header[b-r9gr1c1bew] {
    display: flex;
    border-bottom: 2px solid #e8e8e8;
    background: white;
    overflow-x: auto;
}

.p4-tab[b-r9gr1c1bew] {
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: var(--sf-text-secondary);
    font-weight: 400;
    cursor: pointer;
    font-size: 13px;
    border-radius: 8px 8px 0 0;
    margin: 8px 4px 0;
    white-space: nowrap;
    transition: all 0.2s;
}

.p4-tab:hover[b-r9gr1c1bew] { background: #f5f5f5; }
.p4-tab.active[b-r9gr1c1bew] { background: var(--sf-primary); color: white; font-weight: 600; }

.p4-tabs-content[b-r9gr1c1bew] { padding: 16px; }

/* Customer Rank */
.p4-rank[b-r9gr1c1bew] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    margin: 0 auto;
}

/* ========== Modals ========== */
.p4-modal-overlay[b-r9gr1c1bew] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.p4-modal[b-r9gr1c1bew] {
    background: white;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.p4-modal-po[b-r9gr1c1bew] { max-width: 500px; }
.p4-modal-changes[b-r9gr1c1bew] { max-width: 600px; }

.p4-modal-header[b-r9gr1c1bew] {
    padding: 20px 24px;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.p4-modal-header h2[b-r9gr1c1bew] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--sf-text);
}

.p4-modal-header p[b-r9gr1c1bew] {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--sf-text-secondary);
}

.p4-modal-close[b-r9gr1c1bew] {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--sf-text-muted);
    line-height: 1;
}

.p4-modal-close:hover[b-r9gr1c1bew] { color: var(--sf-text); }

.p4-modal-body[b-r9gr1c1bew] { padding: 24px; max-height: 60vh; overflow: auto; }
.p4-modal-scroll[b-r9gr1c1bew] { padding: 0; }

.p4-modal-footer[b-r9gr1c1bew] {
    padding: 16px 24px;
    border-top: 1px solid #e8e8e8;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* PO Modal Specific */
.p4-po-grid[b-r9gr1c1bew] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.p4-po-grid label[b-r9gr1c1bew] {
    font-size: 12px;
    color: var(--sf-text-secondary);
    display: block;
    margin-bottom: 6px;
}

.p4-po-packsize[b-r9gr1c1bew] { margin-bottom: 20px; }
.p4-po-packsize label[b-r9gr1c1bew] {
    font-size: 12px;
    color: var(--sf-text-secondary);
    display: block;
    margin-bottom: 8px;
}

.p4-po-packsize-info[b-r9gr1c1bew] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.p4-po-packsize-name[b-r9gr1c1bew] {
    font-size: 18px;
    font-weight: 700;
    color: var(--sf-primary);
}

.p4-po-packsize-eaches[b-r9gr1c1bew] {
    font-size: 12px;
    color: var(--sf-text-secondary);
}

.p4-po-field[b-r9gr1c1bew] { margin-bottom: 20px; }
.p4-po-field label[b-r9gr1c1bew] {
    font-size: 12px;
    color: var(--sf-text-secondary);
    display: block;
    margin-bottom: 6px;
}

.p4-select[b-r9gr1c1bew] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--sf-border);
    border-radius: 4px;
    font-size: 13px;
    outline: none;
}

.p4-po-qty-grid[b-r9gr1c1bew] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.p4-po-qty-grid label[b-r9gr1c1bew] {
    font-size: 12px;
    color: var(--sf-text-secondary);
    display: block;
    margin-bottom: 6px;
}

.p4-po-cost[b-r9gr1c1bew] {
    padding: 12px;
    background: var(--sf-success-light);
    border-radius: 6px;
    font-weight: 600;
    color: var(--sf-success);
    text-align: center;
}

.p4-po-summary[b-r9gr1c1bew] {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
}

.p4-po-summary-row[b-r9gr1c1bew] {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e8e8e8;
    font-size: 13px;
}

.p4-po-summary-row:last-child[b-r9gr1c1bew] { border-bottom: none; }

/* History Modal */
.p4-history-item[b-r9gr1c1bew] {
    padding: 16px 24px;
    display: flex;
    gap: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.p4-history-item.alt[b-r9gr1c1bew] { background: #fafbfc; }

.p4-history-avatar[b-r9gr1c1bew] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
    flex-shrink: 0;
}

.p4-history-avatar:not(.system)[b-r9gr1c1bew] { background: linear-gradient(135deg, var(--sf-primary), var(--sf-primary-dark)); }
.p4-history-avatar.system[b-r9gr1c1bew] { background: linear-gradient(135deg, var(--sf-purple), #9C27B0); }

.p4-history-content[b-r9gr1c1bew] { flex: 1; }

.p4-history-header[b-r9gr1c1bew] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.p4-history-time[b-r9gr1c1bew] { font-size: 12px; color: var(--sf-text-muted); }

.p4-history-changes[b-r9gr1c1bew] { font-size: 13px; margin-top: 6px; }

/* ========== Comment Popup ========== */
.p4-comment-popup[b-r9gr1c1bew] {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    z-index: 2100;
    overflow: hidden;
}

.p4-comment-header[b-r9gr1c1bew] {
    padding: 12px 16px;
    background: var(--sf-primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
}

.p4-comment-header button[b-r9gr1c1bew] {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.p4-comment-body[b-r9gr1c1bew] {
    max-height: 240px;
    overflow: auto;
    padding: 12px;
}

.p4-comment-item[b-r9gr1c1bew] {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.p4-comment-item:last-child[b-r9gr1c1bew] { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.p4-comment-meta[b-r9gr1c1bew] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 12px;
}

.p4-comment-avatar[b-r9gr1c1bew] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--sf-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 600;
}

.p4-comment-text[b-r9gr1c1bew] { font-size: 13px; color: var(--sf-text); }

.p4-comment-footer[b-r9gr1c1bew] {
    padding: 12px;
    border-top: 1px solid #e8e8e8;
    display: flex;
    gap: 8px;
}

.p4-comment-footer .e-input[b-r9gr1c1bew] { flex: 1; }

/* ========== Dialog (Packsize) ========== */
.p4-dialog-overlay[b-r9gr1c1bew] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.p4-dialog[b-r9gr1c1bew] {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.p4-dialog-header[b-r9gr1c1bew] {
    padding: 16px 20px;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.p4-dialog-header h5[b-r9gr1c1bew] {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.p4-dialog-close[b-r9gr1c1bew] {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--sf-text-muted);
}

.p4-dialog-body[b-r9gr1c1bew] { padding: 20px; }

.p4-dialog-footer[b-r9gr1c1bew] {
    padding: 16px 20px;
    border-top: 1px solid #e8e8e8;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* ========== Dropzone ========== */
.p4-dropzone[b-r9gr1c1bew] {
    padding: 32px;
    border: 2px dashed var(--sf-border);
    border-radius: 8px;
    text-align: center;
    color: var(--sf-text-secondary);
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s;
}

.p4-dropzone:hover[b-r9gr1c1bew] {
    border-color: var(--sf-primary);
    background: var(--sf-primary-light);
}

.p4-dropzone span:first-child[b-r9gr1c1bew] {
    display: block;
    font-size: 32px;
    margin-bottom: 8px;
}

.p4-dropzone a[b-r9gr1c1bew] { color: var(--sf-primary); font-weight: 500; }

/* ========== Editor Toolbar ========== */
.p4-editor-toolbar[b-r9gr1c1bew] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid var(--sf-border);
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}

.p4-editor-btns[b-r9gr1c1bew] {
    display: flex;
    gap: 4px;
}

.p4-editor-btns button[b-r9gr1c1bew] {
    width: 28px;
    height: 28px;
    border: 1px solid var(--sf-border);
    background: white;
    border-radius: 4px;
    cursor: pointer;
}

.p4-editor-btns button:hover[b-r9gr1c1bew] { background: #f0f0f0; }

.p4-ai-btns[b-r9gr1c1bew] { display: flex; gap: 8px; }

.p4-extended-desc[b-r9gr1c1bew] { border-radius: 0 0 4px 4px !important; min-height: 120px; }

/* ========== Utilities ========== */
.flex-grow[b-r9gr1c1bew] { flex-grow: 1; }
.mt-2[b-r9gr1c1bew] { margin-top: 8px; }
.p-3[b-r9gr1c1bew] { padding: 16px; }
.g-3 > * + *[b-r9gr1c1bew] { margin-top: 16px; }
.row[b-r9gr1c1bew] { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.col-6[b-r9gr1c1bew] { flex: 0 0 50%; max-width: 50%; padding: 0 8px; }
.col-12[b-r9gr1c1bew] { flex: 0 0 100%; max-width: 100%; padding: 0 8px; }
.form-label[b-r9gr1c1bew] { display: block; margin-bottom: 6px; font-size: 13px; color: var(--sf-text-secondary); }
.btn[b-r9gr1c1bew] { display: inline-flex; align-items: center; padding: 4px 8px; border: none; cursor: pointer; }
.btn-sm[b-r9gr1c1bew] { font-size: 12px; }
.btn-link[b-r9gr1c1bew] { background: none; color: var(--sf-primary); }
.p-0[b-r9gr1c1bew] { padding: 0 !important; }
.me-2[b-r9gr1c1bew] { margin-right: 8px; }

/* ========== Dark Theme ========== */
body[data-theme*="dark"][b-r9gr1c1bew] {
    --sf-bg: #121212;
    --sf-text: #e0e0e0;
    --sf-text-secondary: #a0a0a0;
    --sf-text-muted: #707070;
    --sf-border: rgba(255,255,255,0.12);
    --sf-card-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

body[data-theme*="dark"] .p4-card[b-r9gr1c1bew],
body[data-theme*="dark"] .p4-modal[b-r9gr1c1bew],
body[data-theme*="dark"] .p4-dialog[b-r9gr1c1bew],
body[data-theme*="dark"] .p4-comment-popup[b-r9gr1c1bew] {
    background: #1e1e1e;
    border-color: rgba(255,255,255,0.08);
}

body[data-theme*="dark"] .p4-card-header[b-r9gr1c1bew],
body[data-theme*="dark"] .p4-section-header[b-r9gr1c1bew],
body[data-theme*="dark"] .p4-modal-header[b-r9gr1c1bew],
body[data-theme*="dark"] .p4-dialog-header[b-r9gr1c1bew] {
    background: linear-gradient(135deg, #252525 0%, #1e1e1e 100%);
    border-color: rgba(255,255,255,0.08);
}

body[data-theme*="dark"] .p4-stat[b-r9gr1c1bew] {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
}

body[data-theme*="dark"] .p4-supplier-card[b-r9gr1c1bew],
body[data-theme*="dark"] .p4-accessory-item[b-r9gr1c1bew],
body[data-theme*="dark"] .p4-related-item[b-r9gr1c1bew],
body[data-theme*="dark"] .p4-barcode-preview[b-r9gr1c1bew],
body[data-theme*="dark"] .p4-po-packsize-info[b-r9gr1c1bew],
body[data-theme*="dark"] .p4-po-summary[b-r9gr1c1bew] {
    background: #252525;
    border-color: rgba(255,255,255,0.08);
}

body[data-theme*="dark"] .p4-image-item[b-r9gr1c1bew],
body[data-theme*="dark"] .p4-dropzone[b-r9gr1c1bew],
body[data-theme*="dark"] .p4-editor-toolbar[b-r9gr1c1bew],
body[data-theme*="dark"] .p4-forecast-stat[b-r9gr1c1bew],
body[data-theme*="dark"] .p4-info-box[b-r9gr1c1bew] {
    background: #252525;
    border-color: rgba(255,255,255,0.08);
}

body[data-theme*="dark"] .p4-loading-overlay[b-r9gr1c1bew] {
    background: rgba(18, 18, 18, 0.95);
}

body[data-theme*="dark"] .p4-form-row[b-r9gr1c1bew] {
    border-color: rgba(255,255,255,0.06);
}

body[data-theme*="dark"] .p4-history-item.alt[b-r9gr1c1bew] {
    background: #252525;
}

body[data-theme*="dark"] code[b-r9gr1c1bew] {
    background: #333;
}

/* ─── KPI row: 5 columns on wide screens ─── */
.p4-kpi-row[b-r9gr1c1bew] {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1500px) {
    .p4-kpi-row[b-r9gr1c1bew] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1000px) {
    .p4-kpi-row[b-r9gr1c1bew] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .p4-kpi-row[b-r9gr1c1bew] {
        grid-template-columns: 1fr;
    }
}

/* ─── Bill of material rollup strip ───
   Reads as a fact bar, not a card: the tray's rolled-up cost and its
   consumable/instrument split sit directly above the contents they summarise. */
.chq-bom-rollup[b-r9gr1c1bew] {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--ds-outline-variant, var(--border-color));
    border-radius: var(--ds-radius-card, 8px);
    background: var(--ds-surface-container-low, var(--surface-2));
    flex-wrap: wrap;
}

.chq-bom-rollup-item[b-r9gr1c1bew] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 96px;
}

.chq-bom-rollup-value[b-r9gr1c1bew] {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ds-on-surface, var(--text-primary));
    font-variant-numeric: tabular-nums;
}

.chq-bom-rollup-label[b-r9gr1c1bew] {
    font-size: 0.75rem;
    color: var(--ds-on-surface-variant, var(--text-secondary));
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Master/Products/ProductList.razor.rz.scp.css */
/* Dedicated search row that sits between the page header (P4ListPageHeader)
   and the grid card. Keeps the search input out of the action area so the
   default-actions row doesn't get crammed with widgets. */
.p4-list-searchbar[b-unscnmjw9u] {
    display: flex;
    align-items: center;
    padding: 0 0 var(--ds-space-3, 12px) 0;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Master/Products/ProductStockAudit.razor.rz.scp.css */
/* Per-warehouse check cards: one row of cards that wraps on narrow screens. */
.stock-audit-checks[b-rp73w6zozy] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.stock-audit-check[b-rp73w6zozy] {
    min-width: 280px;
    flex: 1 1 280px;
}

.stock-audit-check-head[b-rp73w6zozy] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.stock-audit-check-figures[b-rp73w6zozy] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* Filter bar: three controls and a count, stacked on a phone. */
.stock-audit-filters[b-rp73w6zozy] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--space-4);
}

.stock-audit-filter[b-rp73w6zozy] {
    flex: 0 1 220px;
    min-width: 160px;
}

.stock-audit-count[b-rp73w6zozy] {
    margin-left: auto;
}

.stock-audit-note[b-rp73w6zozy] {
    font-size: 0.85rem;
}

@media (max-width: 640px) {
    .stock-audit-filter[b-rp73w6zozy] {
        flex: 1 1 100%;
    }

    .stock-audit-count[b-rp73w6zozy] {
        margin-left: 0;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Master/Sales/BonusRuleDialog.razor.rz.scp.css */
/*
   Bonus rule dialog. The dialog asks three questions (what the customer gets, which products, who gets it); each one is a
   card, and the two "which" questions are a segmented choice that shows only the fields of the chosen answer.
   Copied from the price and commission rule dialogs (PriceRuleList.razor.css, CommissionRuleList.razor.css) with its own br-
   prefix, so the dialogs can be unified into one shared component later without any of them changing behaviour meanwhile.
   Everything here is page-local and uses design tokens only, so it follows the light and dark themes.
   The markup is rendered by this component (SfDialog only moves it to <body>), so scoped selectors still match it.
*/

/* Dialog title: the rule's name on the left, a short note on the right (kept clear of the close button). */
.br-header[b-cvrplbkbx2] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-1) var(--space-3);
    padding-right: var(--space-8, 2rem);
}

.br-header-note[b-cvrplbkbx2] {
    font-size: 13px;
    font-weight: 400;
    color: var(--ds-on-surface-muted);
}

/* Footer: the reason Save is off sits above the buttons and wraps on a phone. */
.br-footer[b-cvrplbkbx2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-2);
}

.br-save-hint[b-cvrplbkbx2] {
    flex: 1 1 100%;
    margin: 0;
    text-align: left;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ds-on-surface-muted);
}

.br-form[b-cvrplbkbx2] {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* Warning shown above the questions when an old rule contradicts itself (and the load-failure message). */
.br-alert[b-cvrplbkbx2] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--ds-radius-card);
    border: 1px solid var(--ds-warning);
    background-color: var(--ds-warning-container);
    color: var(--ds-on-warning-container);
    font-size: 14px;
    line-height: 1.45;
}

.br-alert-title[b-cvrplbkbx2] {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.br-alert p[b-cvrplbkbx2] {
    margin: 0;
}

.br-alert-actions[b-cvrplbkbx2] {
    display: flex;
    margin-top: var(--space-2);
}

.br-card[b-cvrplbkbx2] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--ds-radius-card);
    border: 1px solid var(--ds-outline-variant);
    background-color: var(--ds-surface-container-low);
}

/* A question that still needs an answer is outlined and tinted like the warning above it. */
.br-card--attention[b-cvrplbkbx2] {
    border-color: var(--ds-warning);
    background-color: var(--ds-warning-container);
}

.br-card-title[b-cvrplbkbx2] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--ds-on-surface);
}

.br-hint[b-cvrplbkbx2],
.br-saved[b-cvrplbkbx2] {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--ds-on-surface-muted);
}

/* The box that says the rule in boxes: tinted like the summary, so it reads as an explanation, not a warning. */
.br-box-hint[b-cvrplbkbx2] {
    margin: 0;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--ds-radius-input);
    border: 1px solid var(--ds-primary);
    background-color: var(--ds-primary-container);
    color: var(--ds-on-primary-container);
    font-size: 13px;
    line-height: 1.45;
}

/* The message under a number box that holds something wrong. */
.br-field-error[b-cvrplbkbx2] {
    margin: var(--space-1) 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ds-error);
}

/* ---- Segmented choice: native radio buttons (arrow keys, labels, screen readers) dressed as one bar ---- */
.br-seg[b-cvrplbkbx2] {
    display: flex;
    border: 1px solid var(--ds-outline);
    border-radius: var(--ds-radius-button);
    background-color: var(--ds-outline);
    gap: 1px;
    /* Clips the labels to the rounded outline, so the labels themselves need no corner rules (they would be wrong once
       the bar wraps on a phone). */
    overflow: hidden;
}

.br-seg-item[b-cvrplbkbx2] {
    position: relative;
    display: flex;
    /* Sized by their text, so a long Spanish label gets the room it needs and short ones give it up;
       min-width 0 still lets a segment shrink on a narrow screen. */
    flex: 1 1 auto;
    min-width: 0;
}

/* Hidden visually but still focusable; the label next to it is what people see and tap. */
.br-seg-item input[b-cvrplbkbx2] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
}

.br-seg-item label[b-cvrplbkbx2] {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    /* 44px is the touch-target minimum. */
    min-height: 44px;
    padding: var(--space-1);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    /* Long words wrap inside their segment instead of widening the dialog. */
    overflow-wrap: anywhere;
    cursor: pointer;
    user-select: none;
    background-color: var(--ds-surface);
    color: var(--ds-on-surface);
}

.br-seg-item label:hover[b-cvrplbkbx2] {
    background-color: var(--ds-surface-container-high);
}

.br-seg-item input:checked + label[b-cvrplbkbx2] {
    background-color: var(--ds-primary);
    color: var(--ds-on-primary);
    font-weight: 700;
}

.br-seg-item input:focus-visible + label[b-cvrplbkbx2] {
    outline: 2px solid var(--ds-on-surface);
    outline-offset: -4px;
}

/* ---- Rows of fields ---- */
.br-fields[b-cvrplbkbx2] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-3);
}

/* The two dates and the status button share a row. */
.br-fields--three[b-cvrplbkbx2] {
    align-items: end;
}

/* The numbers are right-aligned (the text box renders its own wrapper, hence ::deep). */
.br-fields[b-cvrplbkbx2]  .br-number input {
    text-align: right;
}

/* ---- Status: a labelled on/off button ---- */
.br-status[b-cvrplbkbx2] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.br-status-label[b-cvrplbkbx2] {
    font-size: 13px;
    font-weight: 600;
    color: var(--ds-on-surface);
}

/* The button is a Syncfusion button rendered by a child component, so the scoped rules need ::deep. */
.br-status[b-cvrplbkbx2]  .br-status-button {
    min-height: 44px;
    font-weight: 700;
    background-color: var(--ds-surface-container-high);
    color: var(--ds-on-surface);
    border: 1px solid var(--ds-outline);
}

.br-status[b-cvrplbkbx2]  .br-status-button--on {
    background-color: var(--ds-primary-container);
    color: var(--ds-on-primary-container);
    border-color: var(--ds-primary);
}

/* ---- Live sentence ---- */
.br-summary[b-cvrplbkbx2] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--ds-radius-card);
    border: 1px solid var(--ds-primary);
    background-color: var(--ds-primary-container);
    color: var(--ds-on-primary-container);
}

.br-summary-label[b-cvrplbkbx2] {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.br-summary-text[b-cvrplbkbx2] {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
}

/* The precedence reminder sits under the sentence, quieter than it. */
.br-summary-note[b-cvrplbkbx2] {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    opacity: 0.85;
}

/* On a phone the cards are tighter, and each choice gets its own full-width row: three options side by side leave a Spanish
   label such as "Un producto" only a few letters per line. */
@media (max-width: 520px) {
    .br-card[b-cvrplbkbx2] {
        padding: var(--space-3);
    }

    .br-seg[b-cvrplbkbx2] {
        flex-direction: column;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Master/Sales/CommissionRuleList.razor.rz.scp.css */
/*
   Commission rule dialog. The dialog asks three questions (who earns it, which products, which customers); each one is a
   card with a segmented choice and only the fields that belong to the chosen answer.
   Copied from the price rule dialog (PriceRuleList.razor.css) with its own cr- prefix, so the two can be unified into one
   shared component later without either page changing behaviour in the meantime.
   Everything here is page-local and uses design tokens only, so it follows the light and dark themes.
   The markup is rendered by this component (SfDialog only moves it to <body>), so scoped selectors still match it.
*/

/* Dialog title: the rule's name on the left, a short note on the right (kept clear of the close button). */
.cr-header[b-9giep1wbcc] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-1) var(--space-3);
    padding-right: var(--space-8, 2rem);
}

.cr-header-note[b-9giep1wbcc] {
    font-size: 13px;
    font-weight: 400;
    color: var(--ds-on-surface-muted);
}

/* Footer: the reason Save is off sits above the buttons and wraps on a phone. */
.cr-footer[b-9giep1wbcc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-2);
}

.cr-save-hint[b-9giep1wbcc] {
    flex: 1 1 100%;
    margin: 0;
    text-align: left;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ds-on-surface-muted);
}

.cr-form[b-9giep1wbcc] {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* Warning shown above the questions when an old rule contradicts itself. */
.cr-alert[b-9giep1wbcc] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--ds-radius-card);
    border: 1px solid var(--ds-warning);
    background-color: var(--ds-warning-container);
    color: var(--ds-on-warning-container);
    font-size: 14px;
    line-height: 1.45;
}

.cr-alert-title[b-9giep1wbcc] {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.cr-alert p[b-9giep1wbcc] {
    margin: 0;
}

.cr-alert-actions[b-9giep1wbcc] {
    display: flex;
    margin-top: var(--space-2);
}

.cr-card[b-9giep1wbcc] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--ds-radius-card);
    border: 1px solid var(--ds-outline-variant);
    background-color: var(--ds-surface-container-low);
}

/* A question that still needs an answer is outlined and tinted like the warning above it. */
.cr-card--attention[b-9giep1wbcc] {
    border-color: var(--ds-warning);
    background-color: var(--ds-warning-container);
}

.cr-card-title[b-9giep1wbcc] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--ds-on-surface);
}

.cr-hint[b-9giep1wbcc],
.cr-saved[b-9giep1wbcc] {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--ds-on-surface-muted);
}

/* ---- Segmented choice: native radio buttons (arrow keys, labels, screen readers) dressed as one bar ---- */
.cr-seg[b-9giep1wbcc] {
    display: flex;
    border: 1px solid var(--ds-outline);
    border-radius: var(--ds-radius-button);
    background-color: var(--ds-outline);
    gap: 1px;
    /* Clips the labels to the rounded outline, so the labels themselves need no corner rules (they would be wrong once
       the bar wraps into rows on a phone). */
    overflow: hidden;
}

.cr-seg-item[b-9giep1wbcc] {
    position: relative;
    display: flex;
    /* Sized by their text (not equal thirds or fifths), so a long word such as "Subcategory" gets the room it needs and short
       ones give it up; min-width 0 still lets a segment shrink on a narrow screen. */
    flex: 1 1 auto;
    min-width: 0;
}

/* Hidden visually but still focusable; the label next to it is what people see and tap. */
.cr-seg-item input[b-9giep1wbcc] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
}

.cr-seg-item label[b-9giep1wbcc] {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    /* 44px is the touch-target minimum. */
    min-height: 44px;
    padding: var(--space-1);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    /* Long Spanish words ("Subcategoría") wrap inside their segment instead of widening the dialog. */
    overflow-wrap: anywhere;
    cursor: pointer;
    user-select: none;
    background-color: var(--ds-surface);
    color: var(--ds-on-surface);
}

.cr-seg-item label:hover[b-9giep1wbcc] {
    background-color: var(--ds-surface-container-high);
}

.cr-seg-item input:checked + label[b-9giep1wbcc] {
    background-color: var(--ds-primary);
    color: var(--ds-on-primary);
    font-weight: 700;
}

.cr-seg-item input:focus-visible + label[b-9giep1wbcc] {
    outline: 2px solid var(--ds-on-surface);
    outline-offset: -4px;
}

/* The five product options sit on two rows (three, then two) at equal widths: on one row, Spanish labels such as
   "Subcategoría" or "Un grupo de productos" do not fit a 560px dialog. */
.cr-seg--wrap[b-9giep1wbcc] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.cr-seg--wrap .cr-seg-item[b-9giep1wbcc] {
    grid-column: span 2;
}

.cr-seg--wrap .cr-seg-item:nth-child(n + 4)[b-9giep1wbcc] {
    grid-column: span 3;
}

/* ---- Row of percentage and dates ---- */
.cr-fields[b-9giep1wbcc] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-3);
}

/* The percentage is a number, so it is right-aligned (the numeric box renders its own wrapper, hence ::deep). */
.cr-fields[b-9giep1wbcc]  .cr-percentage input {
    text-align: right;
}

/* ---- Live sentence ---- */
.cr-summary[b-9giep1wbcc] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--ds-radius-card);
    border: 1px solid var(--ds-primary);
    background-color: var(--ds-primary-container);
    color: var(--ds-on-primary-container);
}

.cr-summary-label[b-9giep1wbcc] {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cr-summary-text[b-9giep1wbcc] {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
}

/* The precedence reminder sits under the sentence, quieter than it. */
.cr-summary-note[b-9giep1wbcc] {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    opacity: 0.85;
}

/* On a phone the five-option bar folds into two columns (the odd last option takes the full row), and the cards are tighter. */
@media (max-width: 520px) {
    .cr-seg--wrap[b-9giep1wbcc] {
        grid-template-columns: 1fr 1fr;
    }

    .cr-seg--wrap .cr-seg-item[b-9giep1wbcc],
    .cr-seg--wrap .cr-seg-item:nth-child(n + 4)[b-9giep1wbcc] {
        grid-column: auto;
    }

    .cr-seg--wrap .cr-seg-item:last-child:nth-child(odd)[b-9giep1wbcc] {
        grid-column: 1 / -1;
    }

    .cr-card[b-9giep1wbcc] {
        padding: var(--space-3);
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Master/Sales/PaymentBrokerApiKeyField.razor.rz.scp.css */
/* Masks what is typed in the API Key box without making it a password field, which would invite the
   browser's password manager (see the comment in PaymentBrokerApiKeyField.razor). SfTextBox puts CssClass on
   its wrapper, so the rule targets the input inside it. */
.pb-secret-field[b-93mkzvq3wy]  .pb-masked-secret input {
    -webkit-text-security: disc;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Master/Sales/PriceRuleList.razor.rz.scp.css */
/*
   Price rule dialog. The dialog asks three questions (who, which products, what deal); each one is a card with a
   segmented choice and only the fields that belong to the chosen answer.
   Everything here is page-local and uses design tokens only, so it follows the light and dark themes.
   The markup is rendered by this component (SfDialog only moves it to <body>), so scoped selectors still match it.
*/

/* Dialog title: the rule's name on the left, a short note on the right (kept clear of the close button). */
.pr-header[b-x2iuhsav1q] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-1) var(--space-3);
    padding-right: var(--space-8, 2rem);
}

.pr-header-note[b-x2iuhsav1q] {
    font-size: 13px;
    font-weight: 400;
    color: var(--ds-on-surface-muted);
}

/* Footer: the reason Save is off sits to the left of the buttons and wraps on a phone. */
.pr-footer[b-x2iuhsav1q] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-2);
}

.pr-save-hint[b-x2iuhsav1q] {
    flex: 1 1 100%;
    margin: 0;
    text-align: left;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ds-on-surface-muted);
}

.pr-form[b-x2iuhsav1q] {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* Warning shown above the questions when an old rule names both sides of a question. */
.pr-alert[b-x2iuhsav1q] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--ds-radius-card);
    border: 1px solid var(--ds-warning);
    background-color: var(--ds-warning-container);
    color: var(--ds-on-warning-container);
    font-size: 14px;
    line-height: 1.45;
}

.pr-alert-title[b-x2iuhsav1q] {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.pr-alert p[b-x2iuhsav1q] {
    margin: 0;
}

.pr-card[b-x2iuhsav1q] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--ds-radius-card);
    border: 1px solid var(--ds-outline-variant);
    background-color: var(--ds-surface-container-low);
}

/* A question that still needs an answer is outlined and tinted like the warning above it. */
.pr-card--attention[b-x2iuhsav1q] {
    border-color: var(--ds-warning);
    background-color: var(--ds-warning-container);
}

.pr-card-title[b-x2iuhsav1q] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--ds-on-surface);
}

.pr-hint[b-x2iuhsav1q],
.pr-saved[b-x2iuhsav1q] {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--ds-on-surface-muted);
}

/* ---- Segmented choice: native radio buttons (arrow keys, labels, screen readers) dressed as one bar ---- */
.pr-seg[b-x2iuhsav1q] {
    display: flex;
    border: 1px solid var(--ds-outline);
    border-radius: var(--ds-radius-button);
    background-color: var(--ds-outline);
    gap: 1px;
}

.pr-seg-item[b-x2iuhsav1q] {
    position: relative;
    display: flex;
    flex: 1 1 0;
    min-width: 0;
}

/* Hidden visually but still focusable; the label next to it is what people see and tap. */
.pr-seg-item input[b-x2iuhsav1q] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
}

.pr-seg-item label[b-x2iuhsav1q] {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    /* 44px is the touch-target minimum. */
    min-height: 44px;
    padding: var(--space-1) var(--space-2);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    cursor: pointer;
    user-select: none;
    background-color: var(--ds-surface);
    color: var(--ds-on-surface);
}

.pr-seg-item:first-child label[b-x2iuhsav1q] {
    border-radius: calc(var(--ds-radius-button) - 1px) 0 0 calc(var(--ds-radius-button) - 1px);
}

.pr-seg-item:last-child label[b-x2iuhsav1q] {
    border-radius: 0 calc(var(--ds-radius-button) - 1px) calc(var(--ds-radius-button) - 1px) 0;
}

.pr-seg-item label:hover[b-x2iuhsav1q] {
    background-color: var(--ds-surface-container-high);
}

.pr-seg-item input:checked + label[b-x2iuhsav1q] {
    background-color: var(--ds-primary);
    color: var(--ds-on-primary);
    font-weight: 700;
}

.pr-seg-item input:focus-visible + label[b-x2iuhsav1q] {
    outline: 2px solid var(--ds-on-surface);
    outline-offset: -4px;
}

/* ---- Fields that appear for the chosen answer ---- */
.pr-fields[b-x2iuhsav1q] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-3);
}

.pr-fields--wide[b-x2iuhsav1q] {
    grid-template-columns: 2fr 1fr;
}

.pr-fields--narrow[b-x2iuhsav1q] {
    max-width: 200px;
}

/* ---- Live sentence ---- */
.pr-summary[b-x2iuhsav1q] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--ds-radius-card);
    border: 1px solid var(--ds-primary);
    background-color: var(--ds-primary-container);
    color: var(--ds-on-primary-container);
}

.pr-summary-label[b-x2iuhsav1q] {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pr-summary-text[b-x2iuhsav1q] {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
}

/* On a phone the two-column field rows would squeeze the dropdowns, so they stack. */
@media (max-width: 520px) {
    .pr-fields--wide[b-x2iuhsav1q] {
        grid-template-columns: 1fr;
    }

    .pr-fields--narrow[b-x2iuhsav1q] {
        max-width: none;
    }

    .pr-card[b-x2iuhsav1q] {
        padding: var(--space-3);
    }
}

/* The price and discount are plain text boxes (so a decimal comma is read, not dropped); numbers sit on the right. */
.pr-fields[b-x2iuhsav1q]  .pr-number input {
    text-align: right;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Payroll/Compliance/ComplianceDashboard.razor.rz.scp.css */
.compliance-grid[b-62h16z8hj2] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.compliance-alert-card[b-62h16z8hj2] {
    border-left: 4px solid transparent;
}

.compliance-alert-card.compliance-error[b-62h16z8hj2] {
    border-left-color: var(--ds-color-error);
}

.compliance-alert-card.compliance-warning[b-62h16z8hj2] {
    border-left-color: var(--ds-color-warning, #f59e0b);
}

.compliance-alert-card.compliance-info[b-62h16z8hj2] {
    border-left-color: var(--ds-color-info, #3b82f6);
}

.compliance-icon[b-62h16z8hj2] {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.compliance-error .compliance-icon[b-62h16z8hj2] { color: var(--ds-color-error); }
.compliance-warning .compliance-icon[b-62h16z8hj2] { color: var(--ds-color-warning, #f59e0b); }
.compliance-info .compliance-icon[b-62h16z8hj2] { color: var(--ds-color-info, #3b82f6); }

.compliance-message[b-62h16z8hj2] {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.4;
}

.compliance-deadline[b-62h16z8hj2] {
    margin: 4px 0 0;
    font-size: 0.8125rem;
    color: var(--ds-color-on-surface-variant);
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Payroll/Concepts/ConceptList.razor.rz.scp.css */
.concept-flags-grid[b-phh4t0n71p] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Payroll/Employees/EmployeeDetails.razor.rz.scp.css */
/* Emergency contacts on the Identity tab: one compact row per contact, name and relationship on top, phone and email under them. */
.emp-contact[b-slewvwniie] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--ds-outline-variant);
}

.emp-contact:last-child[b-slewvwniie] {
    border-bottom: 0;
}

.emp-contact-info[b-slewvwniie] {
    min-width: 0;
}

.emp-contact-name[b-slewvwniie] {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.emp-contact-lines[b-slewvwniie] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 16px;
    margin-top: 4px;
    line-height: 1.4;
}

.emp-contact-lines a[b-slewvwniie] {
    color: var(--ds-primary);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.emp-contact-lines a:hover[b-slewvwniie] {
    text-decoration: underline;
}

.emp-contact-actions[b-slewvwniie] {
    display: flex;
    flex: none;
    gap: 2px;
}

.emp-empty-icon[b-slewvwniie] {
    font-size: 2rem;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Payroll/Employees/WorkSchedulePicker.razor.rz.scp.css */
/* One row per weekday: day checkbox, start, end, lunch. A day off spans the three time columns. */
.ws-grid[b-48spw0z9q1] {
    display: grid;
    grid-template-columns: minmax(80px, auto) auto auto auto;
    align-items: center;
    column-gap: var(--space-3);
    row-gap: var(--space-1);
}

.ws-head[b-48spw0z9q1] {
    font-size: 12px;
    color: var(--ds-on-surface-muted);
}

.ws-off[b-48spw0z9q1] {
    grid-column: span 3;
    font-size: 13px;
    color: var(--ds-on-surface-muted);
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Payroll/Exports/Form03Export.razor.rz.scp.css */
.export-card[b-8isbgi6q2d] {
    max-width: 640px;
    padding: 2rem;
}

.export-icon-row[b-8isbgi6q2d] {
    margin-bottom: 1rem;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Payroll/Periods/PeriodDetails.razor.rz.scp.css */
.run-row[b-u7n4cn3rh6] {
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--ease-standard);
}

.run-row:hover[b-u7n4cn3rh6] {
    background-color: var(--ds-color-surface-container-high);
}

.p4-preview-stat[b-u7n4cn3rh6] {
    background-color: var(--ds-color-surface-container);
    border-radius: var(--ds-radius-card);
    padding: 0.75rem 1rem;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Payroll/Periods/PeriodList.razor.rz.scp.css */
/* Paid column — success checkmark linking to the posted PayrollPayment */
.period-paid-check[b-oy1cfje48a] {
    font-size: var(--text-lg);
    color: var(--ds-success);
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Payroll/Runs/RunDetails.razor.rz.scp.css */
.run-add-form[b-hbn0ig2qgx] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

@media (max-width: 640px) {
    .run-add-form[b-hbn0ig2qgx] {
        grid-template-columns: 1fr;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Profile.razor.rz.scp.css */
.profile-container[b-fll89zc00w] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.page-header[b-fll89zc00w] {
    margin-bottom: 2rem;
}

.page-title[b-fll89zc00w] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.page-subtitle[b-fll89zc00w] {
    color: var(--rz-text-secondary-color);
}

.profile-grid[b-fll89zc00w] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.profile-column[b-fll89zc00w] {
    display: flex;
    flex-direction: column;
}

/* Profile Header Card */
.profile-header-card[b-fll89zc00w] {
    background: linear-gradient(135deg, var(--rz-primary) 0%, var(--rz-primary-dark) 100%);
    color: white;
}

.profile-header-content[b-fll89zc00w] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1rem;
}

.profile-header-info[b-fll89zc00w] {
    flex: 1;
}

.profile-header-info .rz-text[b-fll89zc00w] {
    color: white !important;
}

.profile-badges[b-fll89zc00w] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.text-muted[b-fll89zc00w] {
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Card Header */
.card-header[b-fll89zc00w] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--rz-border-color);
}

/* Form Grid */
.form-grid[b-fll89zc00w] {
    display: grid;
    gap: 1.5rem;
}

.form-field[b-fll89zc00w] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label[b-fll89zc00w] {
    font-weight: 500;
    color: var(--rz-text-primary-color);
}

/* Security Section */
.security-section[b-fll89zc00w] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.security-item[b-fll89zc00w] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--rz-border-color);
    border-radius: var(--rz-border-radius);
    background-color: var(--rz-base-background-color);
}

.security-item-info[b-fll89zc00w] {
    flex: 1;
}

/* Sessions List */
.sessions-list[b-fll89zc00w] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.session-item[b-fll89zc00w] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid var(--rz-border-color);
    border-radius: var(--rz-border-radius);
    background-color: var(--rz-base-background-color);
}

.session-info[b-fll89zc00w] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.session-details[b-fll89zc00w] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Preference Toggle */
.preference-toggle[b-fll89zc00w] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--rz-border-color);
    border-radius: var(--rz-border-radius);
    background-color: var(--rz-base-background-color);
}

.preference-info[b-fll89zc00w] {
    flex: 1;
}

/* Action Buttons */
.profile-actions[b-fll89zc00w] {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--rz-border-color);
}

/* Icons */
.icon-large[b-fll89zc00w] {
    font-size: 2rem;
}

.icon-medium[b-fll89zc00w] {
    font-size: 1.5rem;
}

.icon-small[b-fll89zc00w] {
    font-size: 1rem;
}

.text-primary[b-fll89zc00w] {
    color: var(--rz-primary) !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .profile-grid[b-fll89zc00w] {
        grid-template-columns: 1fr;
    }

    .profile-container[b-fll89zc00w] {
        padding: 1rem;
    }

    .profile-header-content[b-fll89zc00w] {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .security-item[b-fll89zc00w],
    .session-item[b-fll89zc00w],
    .preference-toggle[b-fll89zc00w] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .session-info[b-fll89zc00w] {
        width: 100%;
    }

    .profile-actions[b-fll89zc00w] {
        flex-direction: column;
    }

    .profile-actions .rz-button[b-fll89zc00w] {
        width: 100%;
    }

}

/* Utility Classes */
.mb-1[b-fll89zc00w] {
    margin-bottom: 0.25rem;
}

.mb-2[b-fll89zc00w] {
    margin-bottom: 0.5rem;
}

.mb-3[b-fll89zc00w] {
    margin-bottom: 1rem;
}

.mb-4[b-fll89zc00w] {
    margin-bottom: 1.5rem;
}

.mt-1[b-fll89zc00w] {
    margin-top: 0.25rem;
}

.mt-4[b-fll89zc00w] {
    margin-top: 1.5rem;
}

.me-2[b-fll89zc00w] {
    margin-right: 0.5rem;
}

.p-4[b-fll89zc00w] {
    padding: 1.5rem;
}

.w-100[b-fll89zc00w] {
    width: 100%;
}

.d-flex[b-fll89zc00w] {
    display: flex;
}

.justify-content-end[b-fll89zc00w] {
    justify-content: flex-end;
}

.gap-2[b-fll89zc00w] {
    gap: 0.5rem;
}

/* =====================================================
   Profile Photo Upload Styles
   ===================================================== */

.profile-photo-upload-container[b-fll89zc00w] {
    position: relative;
    width: 120px;
    height: 120px;
}

.profile-photo-preview-wrapper[b-fll89zc00w] {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: transform 200ms ease-out;
}

.profile-photo-preview-wrapper:hover[b-fll89zc00w] {
    transform: scale(1.05);
}

.profile-photo-circular[b-fll89zc00w] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid white;
}

.photo-actions[b-fll89zc00w] {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: white;
    padding: 8px;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 200ms ease-out;
}

.profile-photo-preview-wrapper:hover .photo-actions[b-fll89zc00w] {
    opacity: 1;
}

.profile-photo-placeholder-circle[b-fll89zc00w] {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 200ms ease-out;
}

.profile-photo-placeholder-circle:hover[b-fll89zc00w] {
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.upload-hint-text[b-fll89zc00w] {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.7);
    gap: 4px;
}

.profile-photo-placeholder-circle:hover .upload-hint-text[b-fll89zc00w] {
    color: white;
}

/* =====================================================
   Uploader Modal Styles
   ===================================================== */

.uploader-modal-overlay[b-fll89zc00w] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.uploader-modal-content[b-fll89zc00w] {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 400px;
    max-width: 90%;
    animation: slideIn-b-fll89zc00w 200ms ease-out;
}

@keyframes slideIn-b-fll89zc00w {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark theme support */
[data-theme="dark"] .uploader-modal-content[b-fll89zc00w] {
    background: var(--rz-base-800);
}

[data-theme="dark"] .photo-actions[b-fll89zc00w] {
    background: var(--rz-base-800);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Purchasing/Orders/OrderDetails.razor.rz.scp.css */
.po-progress-summary[b-3n3t1wztqd] {
    width: 100px;
}

.po-prewrap-static[b-3n3t1wztqd] {
    white-space: pre-wrap;
}

[b-3n3t1wztqd] .po-large-textarea textarea,
[b-3n3t1wztqd] .po-large-textarea .e-multi-line-input,
[b-3n3t1wztqd] .po-large-textarea .e-multiline {
    min-height: 96px;
}

.po-lines-updating-bar[b-3n3t1wztqd] {
    border-bottom: 1px solid var(--ds-border);
}

.po-empty-lines-icon[b-3n3t1wztqd] {
    font-size: 48px;
}

/* Line product cell (number / thumb / product stack) — now shared:
   see p4-components.css (.p4-line-number / .p4-line-thumb* / .p4-line-product*). */

.po-line-busy-icon[b-3n3t1wztqd] {
    font-size: 18px;
}

.po-line-detail-num[b-3n3t1wztqd] {
    text-align: right;
}

.po-totals-total-row[b-3n3t1wztqd] {
    border-top: 1px solid var(--ds-border, #e2e8f0);
    padding-top: 8px;
    margin-top: 4px;
}

.po-totals-total-label[b-3n3t1wztqd] {
    font-size: 13px;
    font-weight: 500;
    color: var(--ds-text-muted, #64748b);
}

.po-totals-total-value[b-3n3t1wztqd] {
    font-size: 18px;
}

.po-upload-trigger[b-3n3t1wztqd] {
    margin: 0;
    cursor: pointer;
    width: fit-content;
}

.po-upload-trigger-icon[b-3n3t1wztqd] {
    font-size: 14px;
    margin-right: 4px;
    vertical-align: middle;
}


.po-attachment-card[b-3n3t1wztqd] {
    width: 150px;
}

.po-attachment-preview[b-3n3t1wztqd] {
    height: 125px;
    border: 1px solid var(--ds-border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.po-attachment-image[b-3n3t1wztqd] {
    max-height: 125px;
    max-width: 150px;
    object-fit: contain;
}

[b-3n3t1wztqd] .e-dialog.po-add-line-dialog {
    width: 1100px !important;
    max-width: 98vw !important;
}

[b-3n3t1wztqd] .e-dialog.po-add-bundle-dialog {
    width: 900px !important;
    max-width: 98vw !important;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Purchasing/Orders/OrderList.razor.rz.scp.css */
.po-state-mail-icon[b-nyefidyjdu] {
    font-size: 16px;
    color: var(--ds-primary);
}

/* Drop Ship column — success checkmark */
.po-dropship-check[b-nyefidyjdu] {
    font-size: var(--text-lg);
    color: var(--ds-success);
}

/* Grid controls strip + filter chips — now shared: see p4-components.css
   (.p4-grid-controls / .p4-filters-label / .p4-filter-chip*). */

.po-grid-shell[b-nyefidyjdu] {
    position: relative;
}

/* Empty state icon */
.po-empty-state-icon[b-nyefidyjdu] {
    font-size: 48px;
    opacity: 0.4;
}

/* ── Column header dividers (resize grab handles) ── */
[b-nyefidyjdu] .e-grid .e-headercell {
    border-right: 1px solid var(--ds-border, #e2e8f0);
}

[b-nyefidyjdu] .e-grid .e-headercell:last-child {
    border-right: none;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Recurring/RecurringList.razor.rz.scp.css */
.skeleton-loader[b-80ofz6xkqz] {
    background: linear-gradient(90deg, var(--ds-surface-container-low, #f0f0f0) 25%, var(--ds-surface-container, #e0e0e0) 50%, var(--ds-surface-container-low, #f0f0f0) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading-b-80ofz6xkqz 1.5s infinite;
    border-radius: var(--ds-radius-card, 8px);
}

@keyframes skeleton-loading-b-80ofz6xkqz {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.recurring-kpi-row[b-80ofz6xkqz] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4, 16px);
    margin-bottom: var(--space-4, 16px);
}

.recurring-kpi-skeleton[b-80ofz6xkqz] {
    height: 84px;
    border-radius: var(--ds-radius-card, 12px);
}

.recurring-kpi-card[b-80ofz6xkqz] {
    display: flex;
    align-items: center;
    gap: var(--space-3, 12px);
    background: var(--ds-surface);
    border: 1px solid var(--ds-outline-variant);
    border-radius: var(--ds-radius-card, 12px);
    box-shadow: var(--ds-elevation-1);
    padding: var(--space-4, 16px);
}

.recurring-kpi-icon[b-80ofz6xkqz] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--ds-radius-button, 10px);
    flex-shrink: 0;
}

.recurring-kpi-icon .p4-icon[b-80ofz6xkqz] {
    font-size: 22px;
}

.recurring-kpi-icon.primary[b-80ofz6xkqz] { background: var(--ds-primary-container); color: var(--ds-primary); }
.recurring-kpi-icon.info[b-80ofz6xkqz] { background: var(--ds-info-container); color: var(--ds-info); }
.recurring-kpi-icon.success[b-80ofz6xkqz] { background: var(--ds-success-container); color: var(--ds-success); }
.recurring-kpi-icon.warning[b-80ofz6xkqz] { background: var(--ds-warning-container); color: var(--ds-warning); }

.recurring-kpi-content[b-80ofz6xkqz] {
    min-width: 0;
}

.recurring-kpi-value[b-80ofz6xkqz] {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ds-on-surface);
}

.recurring-kpi-label[b-80ofz6xkqz] {
    font-size: 0.8rem;
    color: var(--ds-on-surface-variant, var(--ds-on-surface-muted));
    white-space: nowrap;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Sales/CreditNotes/CreditNoteDetails.razor.rz.scp.css */
/* Scoped styles for Credit Note detail page.
   Follows decisions/ui-normalization-lines-grids.md § Image Column
   and § Product Column. CR/RR scoped variants drift from the spec
   on container size and description wrapping — this file is spec-
   canonical and should NOT be copied from CR verbatim. */

.p4-line-empty-icon[b-h9cuduxpmv] {
    font-size: 36px;
    opacity: 0.4;
}

/* § Image Column: 36×36 container, var(--ds-surface-variant) bg */
.p4-line-thumb[b-h9cuduxpmv] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ds-surface-variant);
    border-radius: 4px;
    overflow: hidden;
    width: 36px;
    height: 36px;
}

.p4-line-thumb-image[b-h9cuduxpmv] {
    object-fit: contain;
    width: 36px;
    height: 36px;
    border-radius: 4px;
}

/* § Image Column: Material Symbol `image` at 18px, muted */
.p4-line-thumb-fallback[b-h9cuduxpmv] {
    font-size: 18px;
    color: var(--ds-text-muted);
    display: flex;
}

/* § Product Column: description wraps naturally — no nowrap/ellipsis */
.p4-line-product-stack[b-h9cuduxpmv] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 40px;
}

.p4-line-product-desc[b-h9cuduxpmv] {
    font-size: 12px;
    white-space: normal;
    line-height: 1.4;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Sales/Invoices/InvoiceDetails.razor.rz.scp.css */
.p4-qr-thumb[b-fm5atvalix] {
    width: 120px;
    height: 120px;
    border-radius: var(--ds-radius-md, 6px);
    border: 1px solid var(--ds-border-subtle, #e5e7eb);
    padding: var(--ds-space-2, 8px);
    background: var(--ds-surface, #ffffff);
    image-rendering: pixelated;
}

.p4-qr-thumb--clickable[b-fm5atvalix] {
    cursor: zoom-in;
    transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.p4-qr-thumb--clickable:hover[b-fm5atvalix],
.p4-qr-thumb--clickable:focus-visible[b-fm5atvalix] {
    transform: scale(1.02);
    box-shadow: var(--ds-elevation-2, 0 2px 4px rgba(0,0,0,0.14));
    border-color: var(--ds-primary, #1976D2);
    outline: none;
}

.p4-submission-link[b-fm5atvalix] {
    color: var(--ds-primary, #1976D2);
    text-decoration: none;
}

.p4-submission-link:hover[b-fm5atvalix] {
    text-decoration: underline;
}

.p4-raw-response[b-fm5atvalix] {
    font-family: var(--ds-font-mono, monospace);
    font-size: 11px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
    background: var(--ds-surface-raised, #f9fafb);
    border: 1px solid var(--ds-border-subtle, #e5e7eb);
    border-radius: var(--ds-radius-md, 6px);
    padding: var(--ds-space-3, 12px);
    max-height: 300px;
    overflow-y: auto;
    color: var(--ds-text-secondary, #374151);
    margin: 0;
}


/* A voided invoice, archived or not, carries a solid red VOIDED pill next to its number (Glenn, 2026-10-30).
   P4Badge renders its own span, so the page reaches it through the wrapper with ::deep. */
.inv-voided-wrap[b-fm5atvalix]  .inv-voided-pill {
    background: var(--ds-error, #E53E3E);
    color: var(--ds-on-primary, #FFFFFF);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 14px;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Sales/Invoices/InvoiceList.razor.rz.scp.css */
/* State-cell indicator icons (relocated from the former "#" column) */
.inv-state-icon[b-v6qikn4qus] {
    font-size: 16px;
    color: inherit;
}

.inv-state-void-icon[b-v6qikn4qus] {
    font-size: 16px;
    color: var(--ds-error);
}

.inv-state-electronic-link[b-v6qikn4qus] {
    color: var(--ds-success);
    display: inline-flex;
    align-items: center;
}

.inv-state-electronic-muted[b-v6qikn4qus] {
    font-size: 16px;
    color: var(--ds-on-surface-muted);
}

.inv-state-mail-icon[b-v6qikn4qus] {
    font-size: 16px;
    color: var(--ds-info);
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Sales/Orders/OrderDetails.razor.rz.scp.css */
.so-error-icon[b-89yzdpymrl] {
    font-size: 48px;
    color: var(--ds-error);
}

.so-error-text[b-89yzdpymrl] {
    color: var(--ds-on-surface-variant);
}

.so-totals-list[b-89yzdpymrl] {
    padding: 16px 20px;
}

.so-totals-tax-row[b-89yzdpymrl] {
    padding-left: 16px;
}

.so-totals-tax-percentage[b-89yzdpymrl] {
    font-size: 12px;
}

.so-totals-total-row[b-89yzdpymrl] {
    border-top: 1px solid var(--ds-border, #e2e8f0);
    padding-top: 8px;
    margin-top: 4px;
}

.so-totals-total-label[b-89yzdpymrl] {
    font-size: 13px;
    font-weight: 500;
    color: var(--ds-text-muted, #64748b);
}

.so-totals-total-value[b-89yzdpymrl] {
    font-size: 18px;
}

.so-prewrap-static[b-89yzdpymrl] {
    white-space: pre-wrap;
}

.so-upload-trigger[b-89yzdpymrl] {
    margin: 0;
}

.so-upload-trigger-icon[b-89yzdpymrl] {
    font-size: 14px;
    margin-right: 4px;
    vertical-align: middle;
}

.so-attachment-card[b-89yzdpymrl] {
    width: 150px;
}

.so-attachment-preview[b-89yzdpymrl] {
    height: 125px;
    border: 1px solid var(--ds-border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.so-attachment-image[b-89yzdpymrl] {
    max-height: 125px;
    max-width: 150px;
    object-fit: contain;
}

.so-lines-empty-state[b-89yzdpymrl] {
    padding: 16px;
}

.so-lines-empty-icon[b-89yzdpymrl] {
    font-size: 48px;
    opacity: 0.4;
}

.so-line-thumb[b-89yzdpymrl] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ds-surface-variant);
    border-radius: 4px;
    overflow: hidden;
}

.so-line-thumb-md[b-89yzdpymrl] {
    width: 40px;
    height: 40px;
}

.so-line-thumb-image[b-89yzdpymrl] {
    object-fit: contain;
}

.so-line-thumb-image-md[b-89yzdpymrl] {
    width: 40px;
    height: 40px;
}

.so-line-thumb-fallback-md[b-89yzdpymrl] {
    font-size: 20px;
    color: var(--ds-text-muted);
}

.so-line-discount-caption[b-89yzdpymrl] {
    font-size: 12px;
    line-height: 1.4;
}

.so-line-detail-num[b-89yzdpymrl] {
    text-align: right;
}

/* ============================================
   LINE DETAIL EXPAND PANEL (SO)
   ============================================ */

.so-ld[b-89yzdpymrl] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
    background: var(--ds-surface-container);
    border-top: 1px solid var(--ds-border-default);
}

.so-ld-eyebrow[b-89yzdpymrl] {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--ds-on-surface-muted);
}

.so-ld-desc[b-89yzdpymrl] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.so-ld-desc-text[b-89yzdpymrl] {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ds-on-surface);
}

.so-ld-groups[b-89yzdpymrl] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    align-items: start;
}

.so-ld-group[b-89yzdpymrl] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
    background: var(--ds-surface);
    border: 1px solid var(--ds-border-default);
    border-radius: 8px;
}

.so-ld-group-wide[b-89yzdpymrl] {
    grid-column: span 2;
}

.so-ld-stats[b-89yzdpymrl] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 12px 18px;
}

.so-ld-stat[b-89yzdpymrl] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.so-ld-stat-label[b-89yzdpymrl] {
    font-size: 12px;
    font-weight: 500;
    color: var(--ds-on-surface-muted);
    white-space: nowrap;
}

.so-ld-stat-value[b-89yzdpymrl] {
    font-size: 15px;
    font-weight: 600;
    color: var(--ds-on-surface);
    font-variant-numeric: tabular-nums;
}

.so-ld-pos[b-89yzdpymrl] {
    color: var(--ds-success, #16A34A);
}

.so-ld-table[b-89yzdpymrl] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.so-ld-table th[b-89yzdpymrl] {
    padding: 0 8px 8px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--ds-on-surface-muted);
    border-bottom: 1px solid var(--ds-border-default);
    white-space: nowrap;
}

.so-ld-table td[b-89yzdpymrl] {
    padding: 8px 8px;
    color: var(--ds-on-surface);
    border-bottom: 1px solid var(--ds-border-subtle);
    font-variant-numeric: tabular-nums;
}

.so-ld-table tbody tr:last-child td[b-89yzdpymrl] {
    border-bottom: none;
}

.so-ld-num[b-89yzdpymrl],
.so-ld-table th.so-ld-num[b-89yzdpymrl] {
    text-align: right;
}

.so-ld-muted[b-89yzdpymrl] {
    color: var(--ds-on-surface-muted);
}

@media (max-width: 720px) {
    .so-ld-group-wide[b-89yzdpymrl] {
        grid-column: span 1;
    }
}

.so-hidden-tab-panel[b-89yzdpymrl] {
    display: none;
}

/* ============================================
   TRAY CONSUMPTION BANNER (sales-order mode)
   Two stacked rows inside a p4-alert: the "never sent to the warehouse"
   statement, then the prepared delivery. p4-alert centres a single row,
   so the icon is pinned to the top when the text wraps.
   ============================================ */

.so-kit-banner[b-89yzdpymrl] {
    align-items: flex-start;
}

.so-kit-banner-body[b-89yzdpymrl] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.so-kit-banner-delivery[b-89yzdpymrl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Sales/Orders/OrderList.razor.rz.scp.css */
/* Page-specific scoped styles removed — using shared ds-dialog-form + ds-dialog-overlay */
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Sales/Payments/PaymentDetails.razor.rz.scp.css */
/* DGI verification QR thumbnail in the Factura Electrónica section (discount payments). */
.p4-qr-thumb[b-ivdwto4qw4] {
    width: 120px;
    height: 120px;
    border-radius: var(--ds-radius-md, 6px);
    border: 1px solid var(--ds-border-subtle, #e5e7eb);
    padding: var(--ds-space-2, 8px);
    background: var(--ds-surface, #ffffff);
    image-rendering: pixelated;
}

.p4-qr-thumb--clickable[b-ivdwto4qw4] {
    cursor: zoom-in;
    transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.p4-qr-thumb--clickable:hover[b-ivdwto4qw4],
.p4-qr-thumb--clickable:focus-visible[b-ivdwto4qw4] {
    transform: scale(1.02);
    box-shadow: var(--ds-elevation-2, 0 2px 4px rgba(0,0,0,0.14));
    border-color: var(--ds-primary, #1976D2);
    outline: none;
}

/* Raw PAC response (collapsible inside the DGI Authorization section). */
.p4-raw-response[b-ivdwto4qw4] {
    font-family: var(--ds-font-mono, monospace);
    font-size: 11px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
    background: var(--ds-surface-raised, #f9fafb);
    border: 1px solid var(--ds-border-subtle, #e5e7eb);
    border-radius: var(--ds-radius-md, 6px);
    padding: var(--ds-space-3, 12px);
    max-height: 300px;
    overflow-y: auto;
    color: var(--ds-text-secondary, #374151);
    margin: 0;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Sales/Rentals/RentalList.razor.rz.scp.css */
/* ── Overdue due-back date: loud without inventing a token ── */
.rental-overdue-date[b-1re3ak294k] {
    color: var(--ds-error);
    font-weight: 600;
}

/* ── Empty state icon (mirrors OrderList.razor.css .po-empty-state-icon) ── */
.rental-empty-state-icon[b-1re3ak294k] {
    font-size: 48px;
    opacity: 0.4;
}

/* The shared .p4-kpi-row is a 4-up grid; the register runs five tiles.
   Scoped ABOVE the shared 1200px breakpoint on purpose: CSS isolation adds an attribute
   selector, so a bare .p4-kpi-row-5 would outrank the global .p4-kpi-row media queries and
   pin five columns on a phone. Below 1200px the shared 2-up / 1-up rules must win. */
@media (min-width: 1201px) {
    .p4-kpi-row-5[b-1re3ak294k] {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Calendar view.
   ::deep is required throughout: the events are rendered inside SfSchedule, and Blazor's
   scoped attribute is never stamped on a child component's markup. */
.rental-calendar-card[b-1re3ak294k] {
    padding: 0;
    overflow: hidden;
}

.rental-calendar-card[b-1re3ak294k]  .e-appointment {
    border-radius: var(--ds-radius-badge, 4px);
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Sales/ReturnReceipts/ReturnReceiptDetails.razor.rz.scp.css */
/* Scoped styles for Return Receipt detail page. Line-grid thumbnail and
   product-stack classes match Customer Returns — keep in sync until both
   promote to p4-components.css. */

.p4-line-empty-icon[b-k0qi9n755w] {
    font-size: 36px;
    opacity: 0.4;
}

.p4-line-thumb[b-k0qi9n755w] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ds-surface-variant);
    border-radius: 4px;
    overflow: hidden;
    width: 40px;
    height: 40px;
}

.p4-line-thumb-image[b-k0qi9n755w] {
    object-fit: contain;
    width: 40px;
    height: 40px;
}

.p4-line-thumb-fallback[b-k0qi9n755w] {
    font-size: 20px;
    color: var(--ds-text-muted);
}

.p4-line-product-stack[b-k0qi9n755w] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 40px;
}

.p4-line-product-desc[b-k0qi9n755w] {
    font-size: 12px;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Title skeleton bar shown during initial load. */
.p4-skeleton--title[b-k0qi9n755w] {
    width: 180px;
    height: 24px;
}

/* Error-state card body spacing + big status icon. */
.p4-error-body[b-k0qi9n755w] {
    padding: 16px 20px;
}

.p4-error-icon-xl[b-k0qi9n755w] {
    font-size: 48px;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Sales/Returns/ReturnDetails.razor.rz.scp.css */
/* Scoped styles for Customer Return detail page.
   Replaces the inline style="..." attributes that were on the Lines grid
   wrapper/footer and the empty-state icon per the no-inline-styles decision
   (feedback_no_inline_styles). All colors must come from --ds-* tokens. */

.p4-line-empty-icon[b-f3x3nturlq] {
    font-size: 36px;
    opacity: 0.4;
}

/* Product thumbnail in the Lines grid — mirrors PO OrderDetails.razor.css
   (.po-line-thumb*) so CR visually matches. Keep in sync with PO until
   we promote both sites to a shared utility in p4-components.css. */
.p4-line-thumb[b-f3x3nturlq] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ds-surface-variant);
    border-radius: 4px;
    overflow: hidden;
    width: 40px;
    height: 40px;
}

.p4-line-thumb-image[b-f3x3nturlq] {
    object-fit: contain;
    width: 40px;
    height: 40px;
}

/* Syncfusion e-image fallback glyph inside .p4-line-thumb. Parent already
   centers via flex, so only the glyph sizing + muted color live here.
   Mirrors PO .po-line-thumb-fallback-md exactly. */
.p4-line-thumb-fallback[b-f3x3nturlq] {
    font-size: 20px;
    color: var(--ds-text-muted);
}

/* Product stack under the SKU column — code on top, description muted underneath */
.p4-line-product-stack[b-f3x3nturlq] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 40px;
}

.p4-line-product-desc[b-f3x3nturlq] {
    font-size: 12px;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Syncfusion grid templates collapse to line-height:0, so any multi-line cell content
   needs it restored. ::deep because the markup is rendered inside SfGrid.
.p4-grid-cell-text,
::deep .p4-grid-cell-text {
    line-height: 1.4;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Settings/OnlineStore/OnlineStoreSettings.razor.rz.scp.css */
/* Page-local styling for the Online store settings page. Colors come from the design tokens only. */

/* ---- Page and tabs ---- */

.os-page[b-i6svak52lc] {
    /* Room under the last card so the sticky save bar never covers it. */
    padding-bottom: var(--space-4);
}

/* The tab strip scrolls sideways on a phone instead of wrapping or squeezing the labels. */
.os-tabs[b-i6svak52lc] {
    display: flex;
    gap: var(--space-6);
    margin-bottom: var(--space-4);
    border-bottom: 1px solid var(--ds-border-default);
    overflow-x: auto;
    scrollbar-width: thin;
}

.os-tab[b-i6svak52lc] {
    flex: none;
    padding: var(--space-3) var(--space-0-5);
    min-height: 44px; /* the Fluent 2 touch target the tab bar rule asks for */
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--ds-on-surface-muted);
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    box-shadow: inset 0 -3px 0 transparent;
}

.os-tab:hover[b-i6svak52lc] {
    color: var(--ds-on-surface);
}

.os-tab--selected[b-i6svak52lc] {
    color: var(--ds-primary);
    box-shadow: inset 0 -3px 0 var(--ds-primary);
}

.os-tab:focus-visible[b-i6svak52lc] {
    outline: 2px solid var(--ds-primary);
    outline-offset: -2px;
    border-radius: var(--ds-radius-button);
}

/* An inactive panel is hidden, never removed. The attribute is repeated here because a rule that sets display on .os-panel
   would otherwise win over the browser's own [hidden] rule. */
.os-panel[hidden][b-i6svak52lc] {
    display: none;
}

.os-card[b-i6svak52lc] {
    margin-bottom: var(--space-4);
}

.os-lead[b-i6svak52lc] {
    margin: 0 0 var(--space-4);
    color: var(--ds-on-surface-muted);
}

.os-muted[b-i6svak52lc] {
    color: var(--ds-on-surface-muted);
}

/* The two-column group of fields inside a card; a phone gets one column. */
.os-grid[b-i6svak52lc] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5) var(--space-6);
}

/* ---- Store open and the readiness strip ---- */

.os-open[b-i6svak52lc] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4) var(--space-6);
}

.os-open-switch[b-i6svak52lc] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-height: 32px;
}

.os-address[b-i6svak52lc] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.os-address-text[b-i6svak52lc] {
    font-weight: 500;
    color: var(--ds-on-surface);
    word-break: break-all;
}

.os-ready[b-i6svak52lc] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-3);
    margin-top: var(--space-5);
}

.os-step[b-i6svak52lc] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2-5);
    padding: var(--space-3);
    border: 1px solid var(--ds-border-default);
    border-radius: var(--ds-radius-card);
    background: var(--ds-surface-container-low);
}

.os-step-text[b-i6svak52lc] {
    display: flex;
    flex-direction: column;
    gap: var(--space-0-5);
    min-width: 0;
}

.os-step-text b[b-i6svak52lc] {
    color: var(--ds-on-surface);
}

.os-step-text span[b-i6svak52lc] {
    font-size: 13px;
    color: var(--ds-on-surface-muted);
}

.os-step--ready > .p4-icon[b-i6svak52lc] {
    color: var(--ds-success);
}

.os-step--attention[b-i6svak52lc] {
    border-color: var(--ds-warning);
    background: var(--ds-warning-container);
}

.os-step--attention > .p4-icon[b-i6svak52lc] {
    color: var(--ds-warning);
}

/* Words for screen readers only: the icon says ready or needs attention to the eye, this says it to the ear. */
.os-sr[b-i6svak52lc] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---- Fields ---- */

/* A number box with a symbol beside it: "$" before the fee, "%" after the markup. */
.os-affix[b-i6svak52lc] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.os-affix[b-i6svak52lc]  .e-numerictextbox,
.os-affix[b-i6svak52lc]  .e-input-group {
    flex: 1 1 auto;
}

.os-affix-text[b-i6svak52lc] {
    font-weight: 600;
    color: var(--ds-on-surface-muted);
}

/* The product code choice: three options side by side, one filled. */
.os-seg[b-i6svak52lc] {
    display: inline-flex;
    flex-wrap: wrap;
    border: 1px solid var(--ds-outline);
    border-radius: var(--ds-radius-button);
    overflow: hidden;
    background: var(--ds-surface);
}

.os-seg-item[b-i6svak52lc] {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: var(--space-1-5) var(--space-3);
    font-weight: 600;
    color: var(--ds-on-surface);
    cursor: pointer;
    border-right: 1px solid var(--ds-border-default);
}

.os-seg-item:last-child[b-i6svak52lc] {
    border-right: 0;
}

/* The radio itself is hidden but stays focusable: the arrow keys and the screen reader keep working. */
.os-seg-item input[b-i6svak52lc] {
    position: absolute;
    opacity: 0;
    inset: 0;
    margin: 0;
    cursor: pointer;
}

.os-seg-item--on[b-i6svak52lc] {
    background: var(--ds-primary);
    color: var(--ds-on-primary);
}

.os-seg-item:focus-within[b-i6svak52lc] {
    outline: 2px solid var(--ds-primary);
    outline-offset: -2px;
}

.os-status-line[b-i6svak52lc] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-2);
    font-size: 13px;
    color: var(--ds-on-surface);
}

.os-status-ok[b-i6svak52lc] {
    color: var(--ds-success);
}

.os-chip[b-i6svak52lc] {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 var(--space-2-5);
    border-radius: var(--ds-radius-badge);
    background: var(--ds-primary-container);
    color: var(--ds-on-primary-container);
    font-size: 12px;
    font-weight: 600;
}

/* The freight carrier needs only a name's width, however wide its card is. */
.os-grid[b-i6svak52lc]  .os-carrier {
    max-width: 520px;
}

/* ---- Ways to pay ---- */

.os-method[b-i6svak52lc] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    padding: var(--space-4);
    margin-bottom: var(--space-3);
    border: 1px solid var(--ds-border-default);
    border-radius: var(--ds-radius-card);
}

.os-method-icon[b-i6svak52lc] {
    font-size: 26px;
    color: var(--ds-primary);
}

.os-method-text[b-i6svak52lc] {
    display: flex;
    flex-direction: column;
    flex: 1 1 240px;
    min-width: 0;
}

.os-method-text span[b-i6svak52lc] {
    font-size: 13px;
    color: var(--ds-on-surface-muted);
}

.os-pill[b-i6svak52lc] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1-5);
    min-height: 28px;
    padding: 0 var(--space-3);
    border-radius: var(--ds-radius-badge);
    font-size: 13px;
    font-weight: 600;
}

.os-pill--ready[b-i6svak52lc] {
    background: var(--ds-success-container);
    color: var(--ds-on-success-container);
}

.os-pill--attention[b-i6svak52lc] {
    background: var(--ds-warning-container);
    color: var(--ds-on-warning-container);
}

/* ---- Notices ---- */

.os-notice[b-i6svak52lc] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-top: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--ds-radius-card);
    line-height: 1.4;
    color: var(--ds-on-surface);
}

.os-notice--warning[b-i6svak52lc] {
    background: var(--ds-warning-container);
    border: 1px solid var(--ds-warning);
}

.os-notice--error[b-i6svak52lc] {
    background: var(--ds-error-container);
    border: 1px solid var(--ds-error);
}

.os-notice a[b-i6svak52lc] {
    margin-left: var(--space-1);
    font-weight: 500;
}

/* A refusal above the panels sits clear of the tab strip and the first card. */
.os-page > .os-notice[b-i6svak52lc] {
    margin: 0 0 var(--space-4);
}

/* ---- Sticky save bar ---- */

.os-savebar[b-i6svak52lc] {
    position: sticky;
    bottom: 0;
    z-index: var(--z-sticky);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-3);
    margin-top: var(--space-4);
    padding: var(--space-3) var(--space-4);
    background: var(--ds-surface);
    border-top: 1px solid var(--ds-border-default);
    box-shadow: var(--ds-elevation-2);
}

/* The indicator takes the free room, so Discard and Save stay together on the right. */
.os-dirty[b-i6svak52lc] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-right: auto;
    color: var(--ds-on-surface);
}

.os-dirty-dot[b-i6svak52lc] {
    width: 8px;
    height: 8px;
    border-radius: var(--ds-radius-badge);
    background: var(--ds-warning);
}

/* ---- Narrower windows ---- */

@media (max-width: 1100px) {
    .os-ready[b-i6svak52lc] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .os-grid[b-i6svak52lc] {
        grid-template-columns: minmax(0, 1fr);
    }

    .os-tabs[b-i6svak52lc] {
        gap: var(--space-4);
    }
}

/* A phone: one column everywhere, and a save bar with thumb-sized buttons that share its width. */
@media (max-width: 480px) {
    .os-ready[b-i6svak52lc] {
        grid-template-columns: minmax(0, 1fr);
    }

    .os-savebar[b-i6svak52lc] {
        flex-wrap: wrap;
        padding: var(--space-3);
    }

    .os-dirty[b-i6svak52lc] {
        flex: 1 0 100%;
    }

    .os-savebar[b-i6svak52lc]  .e-btn {
        flex: 1 1 0;
        min-height: 44px;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Settings/OnlineStore/StoreBankTransferSection.razor.rz.scp.css */
/* The "Bank transfer" card. Every value is a design token; the instructions box fills its column, the other controls keep a
   readable width. */

.sbt-fields[b-qo6z06t5jx] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.sbt-fields[b-qo6z06t5jx]  .e-input-group.sbt-instructions,
.sbt-fields[b-qo6z06t5jx]  .sbt-instructions textarea {
    width: 100%;
}

/* The account and the days need only a name's and a number's width. */
.sbt-fields[b-qo6z06t5jx]  .e-ddl.sbt-account {
    max-width: 420px;
}

.sbt-fields[b-qo6z06t5jx]  .e-ddl.sbt-days {
    max-width: 120px;
}

/* The instructions grow with what is pasted rather than scrolling inside six rows. */
.sbt-fields[b-qo6z06t5jx]  .sbt-instructions textarea {
    min-height: calc(6 * 1.5em);
    field-sizing: content;
    max-height: 60vh;
}

.sbt-notice[b-qo6z06t5jx] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-top: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--ds-radius-card);
    line-height: 1.4;
    color: var(--ds-on-surface);
}

.sbt-notice--warning[b-qo6z06t5jx] {
    background: var(--ds-warning-container);
    border: 1px solid var(--ds-warning);
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Settings/OnlineStore/StoreContactPoliciesSection.razor.rz.scp.css */
/* The "Contact and policies" card. Every value is a design token; the boxes fill their column. */

.scp-fields[b-znt1t3ze11] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.scp-fields[b-znt1t3ze11]  .e-input-group,
.scp-fields[b-znt1t3ze11]  textarea {
    width: 100%;
}

/* The number box needs only a phone number's width. */
.scp-fields[b-znt1t3ze11]  .e-input-group.scp-whatsapp {
    max-width: 280px;
}

/* A policy box grows with what is pasted into it rather than scrolling inside six rows. */
.scp-fields[b-znt1t3ze11]  textarea {
    min-height: calc(6 * 1.5em);
    field-sizing: content;
    max-height: 60vh;
}

.scp-notice[b-znt1t3ze11] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-top: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--ds-radius-card);
    line-height: 1.4;
    color: var(--ds-on-surface);
}

.scp-notice--error[b-znt1t3ze11] {
    background: var(--ds-error-container);
    border: 1px solid var(--ds-error);
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Settings/OnlineStore/StoreFooterSection.razor.rz.scp.css */
/* The "Store footer" card. Every value is a design token; the boxes fill their column, one field per row (design principles,
   Form Layout), grouped under small headings in the order the footer shows them. */

.sfs-intro[b-rlhw5ra2ji] {
    margin: 0 0 var(--space-4);
    font-size: 13px;
    line-height: 1.5;
    color: var(--ds-on-surface-muted);
}

.sfs-fields[b-rlhw5ra2ji] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

/* A group's heading: the card's own sub-section, like the theme gallery's layout names. The first sits right under the intro. */
.sfs-group-title[b-rlhw5ra2ji] {
    margin: var(--space-4) 0 0;
    padding-top: var(--space-4);
    border-top: 1px solid var(--ds-border-default);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ds-on-surface);
}

.sfs-group-title:first-child[b-rlhw5ra2ji] {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.sfs-note[b-rlhw5ra2ji] {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ds-on-surface-muted);
}

.sfs-fields[b-rlhw5ra2ji]  .e-input-group,
.sfs-fields[b-rlhw5ra2ji]  textarea {
    width: 100%;
    max-width: 640px;
}

/* A multi-line box grows with what is typed rather than scrolling inside four rows. */
.sfs-fields[b-rlhw5ra2ji]  textarea {
    min-height: calc(4 * 1.5em);
    field-sizing: content;
    max-height: 40vh;
}

.sfs-fields[b-rlhw5ra2ji]  .p4-char-limited-field {
    max-width: 640px;
}

/* The six brands wrap on a narrow window; each checkbox keeps a comfortable target. */
.sfs-cards[b-rlhw5ra2ji] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-5);
}

.sfs-cards[b-rlhw5ra2ji]  .e-checkbox-wrapper {
    min-height: 32px;
    align-items: center;
}

.sfs-notice[b-rlhw5ra2ji] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-top: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--ds-radius-card);
    line-height: 1.4;
    color: var(--ds-on-surface);
}

.sfs-notice--error[b-rlhw5ra2ji] {
    background: var(--ds-error-container);
    border: 1px solid var(--ds-error);
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Settings/OnlineStore/StoreLogosSection.razor.rz.scp.css */
/* The "Store logo" card: two logo slots side by side on a wide page, stacked on a narrow one. Design tokens only. */

.slg-help[b-he966jdcdd] {
    margin: 0 0 var(--space-4);
    font-size: 13px;
    line-height: 1.5;
    color: var(--ds-on-surface-muted);
}

.slg-slots[b-he966jdcdd] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: var(--space-6);
}

.slg-slot[b-he966jdcdd] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    min-width: 0;
}

.slg-label[b-he966jdcdd] {
    font-weight: 600;
    color: var(--ds-on-surface);
}

.slg-hint[b-he966jdcdd] {
    font-size: 13px;
    line-height: 1.4;
    color: var(--ds-on-surface-muted);
}

/* A checkered mid-grey, the same in the ERP's light and dark modes: a white logo and a black one both read on it, which a
   plain white or dark card would not give. The brand palette's two mid greys (no --ds-* token is a mid grey). */
.slg-preview[b-he966jdcdd] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 112px;
    padding: var(--space-4);
    box-sizing: border-box;
    background-color: var(--p4-grey-400);
    background-image: conic-gradient(var(--p4-grey-500) 25%, transparent 0 50%, var(--p4-grey-500) 0 75%, transparent 0);
    background-size: 16px 16px;
    border: 1px solid var(--ds-outline-variant);
    border-radius: var(--ds-radius-card);
}

/* The logo at the size the store header gives it at most, its proportions kept. */
.slg-image[b-he966jdcdd] {
    display: block;
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
}

/* "No logo uploaded" reads on the grey in the ERP's own light and dark modes alike. */
.slg-none[b-he966jdcdd] {
    padding: var(--space-1) var(--space-2);
    font-size: 13px;
    color: var(--ds-on-surface);
    background: var(--ds-surface);
    border-radius: var(--ds-radius-badge);
}

.slg-actions[b-he966jdcdd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
}

/* The uploader is only its Browse button here (no drop area, no file list). */
.slg-actions[b-he966jdcdd]  .e-upload.slg-uploader {
    border: 0;
    background: transparent;
}

.slg-actions[b-he966jdcdd]  .e-upload.slg-uploader .e-file-select-wrap {
    padding: 0;
}

.slg-actions[b-he966jdcdd]  .e-upload.slg-uploader .e-file-drop {
    display: none;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Settings/OnlineStore/StoreOwnDomainSection.razor.rz.scp.css */
/* The "Your own domain" card. Every value is a design token. The page's own os-* classes do not reach inside this component
   (scoped CSS), so the few it needs (notice, chip) are defined here with their own prefix. */

.sod-card[b-07xcgq1kcp] {
    margin-bottom: var(--space-4);
}

.sod-lead[b-07xcgq1kcp] {
    margin: 0 0 var(--space-4);
    color: var(--ds-on-surface-muted);
}

/* A domain needs only a name's width, however wide the card is (the same cap the bank account box of the Bank transfer card has). */
.sod-field[b-07xcgq1kcp] {
    max-width: 420px;
}

/* The small explanatory lines under a field or a table. */
.sod-help[b-07xcgq1kcp] {
    margin: var(--space-2) 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ds-on-surface-muted);
}

/* The server's sentence about the domain: the one line to read first. */
.sod-message[b-07xcgq1kcp] {
    margin: var(--space-3) 0 0;
    color: var(--ds-on-surface);
    line-height: 1.4;
}

/* The status line takes focus after an add; a ring that follows the design tokens shows where it landed. */
.sod-message:focus-visible[b-07xcgq1kcp] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
    border-radius: var(--ds-radius-button);
}

.sod-actions[b-07xcgq1kcp] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

/* The domain and its status chip, side by side while they fit. */
.sod-domain[b-07xcgq1kcp] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.sod-domain-name[b-07xcgq1kcp],
.sod-domain-link[b-07xcgq1kcp] {
    font-weight: 600;
    color: var(--ds-on-surface);
    overflow-wrap: anywhere;
}

.sod-domain-link[b-07xcgq1kcp] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1-5);
    color: var(--ds-primary);
    text-decoration: none;
}

.sod-domain-link:hover[b-07xcgq1kcp] {
    text-decoration: underline;
}

.sod-domain-link:focus-visible[b-07xcgq1kcp] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
    border-radius: var(--ds-radius-button);
}

/* ---- Status chip ---- */

.sod-chip[b-07xcgq1kcp] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1-5);
    min-height: 28px;
    padding: 0 var(--space-3);
    border-radius: var(--ds-radius-badge);
    font-size: 13px;
    font-weight: 600;
}

.sod-chip--ready[b-07xcgq1kcp] {
    background: var(--ds-success-container);
    color: var(--ds-on-success-container);
}

.sod-chip--attention[b-07xcgq1kcp] {
    background: var(--ds-warning-container);
    color: var(--ds-on-warning-container);
}

.sod-chip--info[b-07xcgq1kcp] {
    background: var(--ds-info-container);
    color: var(--ds-on-info-container);
}

.sod-chip--error[b-07xcgq1kcp] {
    background: var(--ds-error-container);
    color: var(--ds-on-error-container);
}

/* ---- Notice ---- */

.sod-notice[b-07xcgq1kcp] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-top: var(--space-3);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--ds-radius-card);
    line-height: 1.4;
    color: var(--ds-on-surface);
}

.sod-notice--error[b-07xcgq1kcp] {
    background: var(--ds-error-container);
    border: 1px solid var(--ds-error);
}

/* ---- The DNS records ---- */

.sod-records[b-07xcgq1kcp] {
    width: 100%;
    margin-top: var(--space-3);
    border-collapse: collapse;
    border: 1px solid var(--ds-border-default);
    border-radius: var(--ds-radius-card);
}

.sod-records th[b-07xcgq1kcp] {
    padding: var(--space-2) var(--space-3);
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    color: var(--ds-on-surface-muted);
    background: var(--ds-surface-container-low);
}

.sod-records td[b-07xcgq1kcp] {
    padding: var(--space-2) var(--space-3);
    vertical-align: top;
    border-top: 1px solid var(--ds-border-default);
}

/* The name and the value are long and have no spaces to break at, so they may wrap anywhere instead of pushing the page wide. */
.sod-cell[b-07xcgq1kcp] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
}

.sod-mono[b-07xcgq1kcp] {
    flex: 1 1 auto;
    min-width: 0;
    font-family: var(--ds-mono);
    font-size: 13px;
    color: var(--ds-on-surface);
    overflow-wrap: anywhere;
}

.sod-cell[b-07xcgq1kcp]  .e-btn {
    flex: none;
}

/* The full record name under the short one: smaller, muted, because the short name is the one to type. */
.sod-cell--secondary[b-07xcgq1kcp] {
    margin-top: var(--space-1-5);
}

.sod-secondary[b-07xcgq1kcp] {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--ds-on-surface-muted);
    overflow-wrap: anywhere;
}

.sod-secondary .sod-mono[b-07xcgq1kcp] {
    font-size: 12px;
    color: var(--ds-on-surface-muted);
}

.sod-type[b-07xcgq1kcp] {
    font-weight: 600;
    color: var(--ds-on-surface);
}

/* Words for screen readers only: the table's name. */
.sod-sr[b-07xcgq1kcp] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Narrow windows: each record becomes a small block, its three values stacked under their own captions, so nothing overflows. */
@media (max-width: 768px) {
    .sod-records[b-07xcgq1kcp],
    .sod-records tbody[b-07xcgq1kcp],
    .sod-records tr[b-07xcgq1kcp],
    .sod-records td[b-07xcgq1kcp] {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    /* The header row is replaced by the captions each cell carries; it stays for screen readers. */
    .sod-records thead[b-07xcgq1kcp] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .sod-records tr[b-07xcgq1kcp] {
        border-top: 1px solid var(--ds-border-default);
    }

    .sod-records tr:first-child[b-07xcgq1kcp] {
        border-top: 0;
    }

    .sod-records td[b-07xcgq1kcp] {
        display: grid;
        grid-template-columns: 4.5rem minmax(0, 1fr);
        gap: var(--space-2);
        border-top: 0;
    }

    .sod-records td[b-07xcgq1kcp]::before {
        content: attr(data-label);
        font-size: 13px;
        font-weight: 500;
        color: var(--ds-on-surface-muted);
    }
}

/* A phone: the buttons take the card's width, thumb-sized. */
@media (max-width: 480px) {
    .sod-actions[b-07xcgq1kcp]  .e-btn {
        flex: 1 1 100%;
        min-height: 44px;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Settings/OnlineStore/StoreSettingsField.razor.rz.scp.css */
/* One field of the Online store page. Every value is a design token. */

.osf[b-u9ribhnv09] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    min-width: 0;
}

/* A field that takes the whole row of its card's two-column grid. */
.osf--wide[b-u9ribhnv09] {
    grid-column: 1 / -1;
}

.osf-label[b-u9ribhnv09] {
    display: flex;
    align-items: center;
    gap: var(--space-1-5);
    font-size: 13px;
    font-weight: 500;
    color: var(--ds-on-surface-muted);
}

/* The control keeps its natural width inside the column; the multi-line and list controls fill it themselves. */
.osf-control[b-u9ribhnv09] {
    min-width: 0;
}

/* The info icon: a focusable glyph whose tooltip is the field's help text. The text lives in data-hint (and in aria-label for
   screen readers), so hovering or tabbing to the icon shows it, and nothing is lost when the paragraph is gone. */
.osf-info[b-u9ribhnv09] {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--ds-on-surface-muted);
    cursor: help;
    border-radius: var(--ds-radius-badge);
}

.osf-info:hover[b-u9ribhnv09],
.osf-info:focus-visible[b-u9ribhnv09] {
    color: var(--ds-primary);
}

.osf-info:focus-visible[b-u9ribhnv09] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

.osf-info[b-u9ribhnv09]::after {
    content: attr(data-hint);
    display: none;
    position: absolute;
    z-index: var(--z-tooltip);
    left: 0;
    top: calc(100% + var(--space-1-5));
    width: max-content;
    max-width: min(320px, 80vw);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--ds-radius-card);
    background: var(--ds-on-surface);
    color: var(--ds-surface);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
    box-shadow: var(--ds-elevation-2);
}

.osf-info:hover[b-u9ribhnv09]::after,
.osf-info:focus-visible[b-u9ribhnv09]::after {
    display: block;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Settings/OnlineStore/StoreThemePicker.razor.rz.scp.css */
/* The store theme gallery of Settings > Online store. Colors come from the design tokens only:
   - outside a preview (the cards, names, notices) they are the ERP's own tokens;
   - inside a preview (.sf-theme-preview) they are the theme's, set by the generated CSS of StorefrontThemeCss.Build on
     that preview's scope, so a preview paints exactly as the store will. No hex value lives in this file. */

/* ---- The section around the gallery ---- */

.stp-current[b-u22p18lxgz] {
    font-size: 13px;
    color: var(--ds-on-surface-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 40vw;
}

.stp-help[b-u22p18lxgz] {
    margin: 0 0 var(--space-5);
    font-size: 13px;
    line-height: 1.5;
    color: var(--ds-on-surface-muted);
}

/* The ERP's primary, so the link stays readable in the ERP's dark mode too. */
.stp-help a[b-u22p18lxgz] {
    margin-left: var(--space-1);
    font-weight: 500;
    white-space: nowrap;
    color: var(--ds-primary);
}

.stp-banner-fields[b-u22p18lxgz]  .e-input-group,
.stp-banner-fields[b-u22p18lxgz]  textarea {
    width: 100%;
}

/* The gallery is the container the card grid sizes against, so the column count follows the room the page really gives
   it (the sidebar open or closed), not the window. Unnamed on purpose: the CSS bundler breaks named container queries. */
.stp-gallery[b-u22p18lxgz] {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    container-type: inline-size;
}

.stp-group-name[b-u22p18lxgz] {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ds-on-surface);
}

.stp-group-desc[b-u22p18lxgz] {
    margin: 2px 0 var(--space-3);
    font-size: 13px;
    line-height: 1.4;
    color: var(--ds-on-surface-muted);
}

/* Each layout has four themes: four cards per row where they fit (about 190px each), else two, else one on a phone, so a
   group never leaves a lone card on a row of its own. */
.stp-cards[b-u22p18lxgz] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
}

@container (max-width: 820px) {
    .stp-cards[b-u22p18lxgz] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@container (max-width: 420px) {
    .stp-cards[b-u22p18lxgz] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---- One card: a native radio (visually hidden, still focusable) and its face ---- */

.stp-card[b-u22p18lxgz] {
    position: relative;
    display: block;
    min-width: 0;
    cursor: pointer;
}

.stp-radio[b-u22p18lxgz] {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.stp-card-face[b-u22p18lxgz] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ds-border-default);
    border-radius: var(--ds-radius-card);
    background: var(--ds-surface);
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.stp-card:hover .stp-card-face[b-u22p18lxgz] {
    border-color: var(--ds-outline);
}

/* The chosen card: an accent border and a check. Driven by :checked, so a click shows at once, before the server answers. */
.stp-radio:checked + .stp-card-face[b-u22p18lxgz] {
    border-color: var(--ds-primary);
    box-shadow: 0 0 0 1px var(--ds-primary);
}

.stp-radio:focus-visible + .stp-card-face[b-u22p18lxgz] {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

.stp-card-footer[b-u22p18lxgz] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-top: 1px solid var(--ds-border-default);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--ds-on-surface);
}

.stp-card-name[b-u22p18lxgz] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The theme's accent, from inside its own scope (the dot carries the scope class). */
.stp-dot[b-u22p18lxgz] {
    flex: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ds-primary);
    box-shadow: 0 0 0 1px var(--ds-border-default);
}

.stp-check[b-u22p18lxgz] {
    flex: none;
    font-size: 18px;
    color: var(--ds-primary);
    visibility: hidden;
}

.stp-radio:checked + .stp-card-face .stp-check[b-u22p18lxgz] {
    visibility: visible;
}

/* ---- The accent color field ---- */

.stp-accent[b-u22p18lxgz] {
    margin-top: var(--space-6);
    max-width: 560px;
}

.stp-accent-row[b-u22p18lxgz] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.stp-accent-row[b-u22p18lxgz]  .e-input-group {
    width: 140px;
}

/* The swatch sits in the chosen theme's scope: it shows the color the store will use, typed or the theme's own. */
.stp-swatch[b-u22p18lxgz] {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: var(--ds-radius-input);
    background: var(--ds-primary);
    box-shadow: 0 0 0 1px var(--ds-border-default);
}

.stp-notice[b-u22p18lxgz] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-top: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--ds-radius-card);
    line-height: 1.4;
    color: var(--ds-on-surface);
}

.stp-notice--warning[b-u22p18lxgz] {
    background: var(--ds-warning-container);
    border: 1px solid var(--ds-warning);
}

.stp-notice--error[b-u22p18lxgz] {
    background: var(--ds-error-container);
    border: 1px solid var(--ds-error);
}

/* ---- The mini store. Every value below the theme's tokens; sizes are small on purpose (a thumbnail of a page). ---- */

.stp-preview[b-u22p18lxgz] {
    display: flex;
    flex-direction: column;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ds-surface);
    color: var(--ds-on-surface);
    font-family: var(--ds-font);
    font-size: 8px;
    line-height: 1.2;
}

.stp-preview span[b-u22p18lxgz] {
    box-sizing: border-box;
}

.stp-head[b-u22p18lxgz] {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px;
}

.stp-head--rule[b-u22p18lxgz] {
    border-bottom: 1px solid var(--ds-border-default);
}

.stp-brand[b-u22p18lxgz] {
    flex: none;
    max-width: 42%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
}

.stp-logo[b-u22p18lxgz] {
    flex: none;
    display: block;
    max-width: 38%;
    max-height: 16px;
    object-fit: contain;
}

.stp-search[b-u22p18lxgz] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    height: 15px;
    padding: 0 6px;
    overflow: hidden;
    white-space: nowrap;
    border: 1px solid var(--ds-border-default);
    border-radius: 3px;
    background: var(--ds-surface);
    color: var(--ds-on-surface-muted);
    font-size: 7px;
}

.stp-cart[b-u22p18lxgz] {
    flex: none;
    padding: 3px 7px;
    border-radius: 3px;
    background: var(--ds-primary);
    color: var(--ds-on-primary);
    font-size: 7px;
    font-weight: 700;
    white-space: nowrap;
}

.stp-body[b-u22p18lxgz] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px 10px;
}

.stp-title[b-u22p18lxgz] {
    flex: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
}

.stp-grid[b-u22p18lxgz] {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: 6px;
}

.stp-product[b-u22p18lxgz] {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.stp-photo[b-u22p18lxgz] {
    flex: 1;
    min-height: 0;
    border-radius: 2px;
    background: var(--ds-surface-container);
}

/* A name line in the muted text color, a price line in the accent: neutral blocks, never a made-up product name. */
.stp-line[b-u22p18lxgz] {
    flex: none;
    width: 80%;
    height: 3px;
    border-radius: 2px;
    background: var(--ds-on-surface-muted);
    opacity: 0.5;
}

.stp-price[b-u22p18lxgz] {
    flex: none;
    width: 42%;
    height: 4px;
    border-radius: 2px;
    background: var(--ds-primary);
}

.stp-button[b-u22p18lxgz] {
    flex: none;
    display: block;
    width: 34px;
    height: 9px;
    border-radius: 3px;
    background: var(--ds-primary);
}

.stp-bar[b-u22p18lxgz] {
    display: block;
    height: 3px;
    border-radius: 2px;
    background: var(--ds-on-surface-muted);
    opacity: 0.45;
}

/* Clásico: a filter bar between the title and the cards; bordered cards. */
.stp-filter[b-u22p18lxgz] {
    flex: none;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 16px;
    padding: 0 5px;
    border: 1px solid var(--ds-border-default);
    border-radius: 3px;
    background: var(--ds-surface-container-low);
}

.stp-field[b-u22p18lxgz] {
    flex: 1;
    height: 8px;
    border: 1px solid var(--ds-border-default);
    border-radius: 2px;
    background: var(--ds-surface);
}

.stp-filter .stp-button[b-u22p18lxgz] {
    width: 20px;
    height: 8px;
}

.stp-l-clasico .stp-product[b-u22p18lxgz] {
    padding-bottom: 4px;
    overflow: hidden;
    border: 1px solid var(--ds-border-default);
    border-radius: 3px;
}

.stp-l-clasico .stp-product .stp-photo[b-u22p18lxgz] {
    border-radius: 0;
}

.stp-l-clasico .stp-product .stp-line[b-u22p18lxgz],
.stp-l-clasico .stp-product .stp-price[b-u22p18lxgz] {
    margin-left: 4px;
}

/* Minimal: search, centered brand and cart on one hairline row; quiet tiles with no frames. */
.stp-head--center[b-u22p18lxgz] {
    justify-content: space-between;
}

.stp-head--center .stp-search[b-u22p18lxgz] {
    flex: 0 1 28%;
}

.stp-l-minimal .stp-search[b-u22p18lxgz] {
    border: 0;
    border-bottom: 1px solid var(--ds-on-surface);
    border-radius: 0;
    background: transparent;
}

.stp-l-minimal .stp-cart[b-u22p18lxgz] {
    border-radius: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.stp-l-minimal .stp-title[b-u22p18lxgz] {
    font-weight: 500;
}

.stp-l-minimal .stp-photo[b-u22p18lxgz] {
    border-radius: 0;
}

/* Editorial: a featured row (text and a tinted photo), then a row of small tiles. */
.stp-hero[b-u22p18lxgz] {
    flex: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
    height: 44%;
}

.stp-hero-text[b-u22p18lxgz] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stp-hero-text .stp-title[b-u22p18lxgz] {
    font-size: 13px;
    font-weight: 400;
}

.stp-eyebrow[b-u22p18lxgz] {
    display: block;
    width: 40%;
    height: 3px;
    border-radius: 2px;
    background: var(--ds-primary);
}

.stp-hero-photo[b-u22p18lxgz] {
    height: 100%;
    background: var(--ds-surface-container);
}

.stp-l-editorial .stp-title[b-u22p18lxgz],
.stp-l-boutique .stp-title[b-u22p18lxgz],
.stp-l-galeria .stp-title[b-u22p18lxgz] {
    font-weight: 400;
}

.stp-l-editorial .stp-cart[b-u22p18lxgz],
.stp-l-editorial .stp-button[b-u22p18lxgz] {
    border-radius: 0;
}

/* Noche: pill search and cart, rounded cards on the theme's panels. */
.stp-l-noche .stp-search[b-u22p18lxgz] {
    border-radius: 999px;
    background: var(--ds-surface-container);
}

.stp-l-noche .stp-cart[b-u22p18lxgz] {
    border-radius: 999px;
}

.stp-l-noche .stp-product[b-u22p18lxgz] {
    padding: 3px 3px 5px;
    border: 1px solid var(--ds-border-default);
    border-radius: 6px;
    background: var(--ds-surface-container);
}

.stp-l-noche .stp-photo[b-u22p18lxgz] {
    border-radius: 4px;
    background: var(--ds-surface);
}

/* Mercado: a thin dark band on top, a colored header band with a thick rule, framed cards with price tags. */
.stp-band[b-u22p18lxgz] {
    flex: none;
    display: block;
    height: 6px;
    background: var(--ds-on-surface);
}

.stp-l-mercado .stp-head[b-u22p18lxgz] {
    border-bottom: 2px solid var(--ds-on-surface);
    background: var(--ds-surface-container);
}

.stp-l-mercado .stp-brand[b-u22p18lxgz] {
    font-weight: 800;
    text-transform: uppercase;
}

.stp-l-mercado .stp-search[b-u22p18lxgz] {
    border: 2px solid var(--ds-on-surface);
    border-radius: 0;
}

.stp-l-mercado .stp-cart[b-u22p18lxgz] {
    border-radius: 0;
    background: var(--ds-on-surface);
    color: var(--ds-surface);
}

.stp-tiles[b-u22p18lxgz] {
    flex: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    height: 18%;
}

.stp-tile[b-u22p18lxgz] {
    border: 2px solid var(--ds-on-surface);
    background: var(--ds-surface-container);
}

.stp-tile:first-child[b-u22p18lxgz] {
    background: var(--ds-on-surface);
}

.stp-l-mercado .stp-product[b-u22p18lxgz] {
    border: 2px solid var(--ds-on-surface);
    padding-bottom: 3px;
}

.stp-l-mercado .stp-photo[b-u22p18lxgz] {
    border-radius: 0;
    border-bottom: 2px solid var(--ds-on-surface);
    background: var(--ds-surface);
}

.stp-l-mercado .stp-line[b-u22p18lxgz],
.stp-l-mercado .stp-price[b-u22p18lxgz] {
    margin-left: 3px;
}

.stp-l-mercado .stp-price[b-u22p18lxgz] {
    height: 5px;
    border-radius: 0;
}

/* Industrial: a dark header, filters in a sidebar, and the products as a list with a code column. */
.stp-l-industrial .stp-head[b-u22p18lxgz] {
    background: var(--ds-on-surface);
    color: var(--ds-surface);
}

.stp-l-industrial .stp-cart[b-u22p18lxgz] {
    background: transparent;
    color: var(--ds-surface);
    padding: 0;
}

.stp-body--side[b-u22p18lxgz] {
    flex-direction: row;
    gap: 6px;
}

.stp-side[b-u22p18lxgz] {
    flex: none;
    width: 26%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    border: 1px solid var(--ds-border-default);
    border-radius: 3px;
    background: var(--ds-surface-container);
}

.stp-side .stp-button[b-u22p18lxgz] {
    width: 100%;
    margin-top: auto;
}

.stp-list[b-u22p18lxgz] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ds-border-default);
    border-radius: 3px;
    background: var(--ds-surface-container);
}

.stp-row[b-u22p18lxgz] {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 14% minmax(0, 1fr) 22% 16%;
    align-items: center;
    gap: 4px;
    padding: 0 5px;
    border-top: 1px solid var(--ds-border-default);
}

.stp-row:first-child[b-u22p18lxgz] {
    border-top: 0;
}

.stp-row-photo[b-u22p18lxgz] {
    height: 70%;
    background: var(--ds-surface);
}

.stp-row .stp-line[b-u22p18lxgz],
.stp-row .stp-price[b-u22p18lxgz] {
    width: 100%;
}

.stp-code[b-u22p18lxgz] {
    height: 3px;
    border-radius: 1px;
    background: var(--ds-on-surface);
    opacity: 0.6;
}

/* Boutique: the brand centered in the heading face, a centered category row, three large tiles. */
.stp-l-boutique .stp-brand[b-u22p18lxgz] {
    font-size: 13px;
    font-weight: 400;
}

.stp-l-boutique .stp-search[b-u22p18lxgz] {
    border-color: transparent;
    background: transparent;
}

.stp-l-boutique .stp-cart[b-u22p18lxgz] {
    border-radius: 999px;
}

.stp-categories[b-u22p18lxgz] {
    flex: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 12px;
    padding: 0 10px;
}

.stp-category[b-u22p18lxgz] {
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: var(--ds-on-surface-muted);
    opacity: 0.5;
}

.stp-category--on[b-u22p18lxgz] {
    background: var(--ds-primary);
    opacity: 1;
}

.stp-l-boutique .stp-body[b-u22p18lxgz] {
    align-items: center;
}

.stp-l-boutique .stp-grid[b-u22p18lxgz],
.stp-l-galeria .stp-grid[b-u22p18lxgz] {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stp-l-boutique .stp-product[b-u22p18lxgz] {
    align-items: center;
}

.stp-l-boutique .stp-photo[b-u22p18lxgz] {
    align-self: stretch;
    border-radius: 0;
    background: var(--ds-surface-container);
}

/* Fresco: a pill header on the page tint, category chips, soft rounded white cards. */
.stp-l-fresco .stp-head[b-u22p18lxgz] {
    margin: 6px 8px 0;
    border-radius: 999px;
    background: var(--ds-surface-container);
}

.stp-l-fresco .stp-search[b-u22p18lxgz] {
    border: 0;
    border-radius: 999px;
    background: var(--ds-surface);
}

.stp-l-fresco .stp-cart[b-u22p18lxgz] {
    border-radius: 999px;
}

.stp-chips[b-u22p18lxgz] {
    flex: none;
    display: flex;
    gap: 4px;
}

.stp-chip[b-u22p18lxgz] {
    width: 22px;
    height: 9px;
    border-radius: 999px;
    background: var(--ds-surface-container);
}

.stp-chip--on[b-u22p18lxgz] {
    background: var(--ds-on-surface);
}

.stp-l-fresco .stp-product[b-u22p18lxgz] {
    padding: 3px 3px 5px;
    border-radius: 8px;
    background: var(--ds-surface-container);
}

.stp-l-fresco .stp-photo[b-u22p18lxgz] {
    border-radius: 6px;
    background: var(--ds-surface);
}

/* Bento: tiles of different sizes, one in the accent. */
.stp-l-bento .stp-cart[b-u22p18lxgz] {
    border-radius: 5px;
    background: var(--ds-on-surface);
    color: var(--ds-surface);
}

.stp-l-bento .stp-search[b-u22p18lxgz] {
    border: 0;
    border-radius: 5px;
    background: var(--ds-surface-container);
}

.stp-bento[b-u22p18lxgz] {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.stp-bento-big[b-u22p18lxgz] {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px;
    border-radius: 8px;
    background: var(--ds-surface-container);
}

.stp-bento-small[b-u22p18lxgz] {
    border-radius: 8px;
    background: var(--ds-surface-container);
}

.stp-bento-wide[b-u22p18lxgz] {
    grid-column: span 2;
    border-radius: 8px;
    background: var(--ds-primary);
}

.stp-l-bento .stp-button[b-u22p18lxgz] {
    border-radius: 4px;
}

/* Tropical: the header and a short hero on a band in the accent. */
.stp-hero-band[b-u22p18lxgz] {
    flex: none;
    display: flex;
    flex-direction: column;
    padding-bottom: 8px;
    background: var(--ds-primary);
    color: var(--ds-on-primary);
}

.stp-hero-band .stp-search[b-u22p18lxgz] {
    border: 0;
    border-radius: 5px;
    background: var(--ds-surface);
}

.stp-hero-band .stp-cart[b-u22p18lxgz] {
    border-radius: 5px;
    background: var(--ds-surface);
    color: var(--ds-primary);
}

.stp-hero-band-text[b-u22p18lxgz] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 10px;
}

.stp-hero-band-text .stp-button[b-u22p18lxgz] {
    background: var(--ds-surface);
}

/* White cards on the warm page: a rule and a photo tone of their own, or the card would melt into the page. */
.stp-l-tropical .stp-product[b-u22p18lxgz] {
    overflow: hidden;
    padding-bottom: 4px;
    border: 1px solid var(--ds-border-default);
    border-radius: 6px;
    background: var(--ds-surface-container);
}

.stp-l-tropical .stp-photo[b-u22p18lxgz] {
    border-radius: 0;
    background: var(--ds-border-subtle);
}

.stp-l-tropical .stp-line[b-u22p18lxgz],
.stp-l-tropical .stp-price[b-u22p18lxgz] {
    margin-left: 4px;
}

/* Galería: a large serif title and tall image-led tiles. */
.stp-l-galeria .stp-brand[b-u22p18lxgz] {
    font-style: italic;
    font-weight: 400;
    font-size: 12px;
}

.stp-l-galeria .stp-search[b-u22p18lxgz] {
    border-color: transparent;
    background: transparent;
}

.stp-l-galeria .stp-cart[b-u22p18lxgz] {
    border-radius: 999px;
}

.stp-l-galeria .stp-title[b-u22p18lxgz] {
    font-size: 20px;
    line-height: 0.95;
}

.stp-l-galeria .stp-photo[b-u22p18lxgz] {
    border-radius: 0;
}

/* Corporativo: a dark top bar, a search bar with its button, a category row, and filters on the side. */
.stp-l-corporativo .stp-band[b-u22p18lxgz] {
    height: 5px;
}

.stp-l-corporativo .stp-search[b-u22p18lxgz] {
    border: 2px solid var(--ds-on-surface);
    border-radius: 3px;
}

.stp-l-corporativo .stp-categories[b-u22p18lxgz] {
    justify-content: flex-start;
    border-top: 1px solid var(--ds-border-default);
    border-bottom: 1px solid var(--ds-border-default);
    background: var(--ds-surface-container);
}

.stp-l-corporativo .stp-grid[b-u22p18lxgz] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stp-l-corporativo .stp-product[b-u22p18lxgz] {
    padding: 3px 3px 4px;
    border: 1px solid var(--ds-border-default);
    border-radius: 3px;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Settings/Shipping/EasyPostSettings.razor.rz.scp.css */
/* Page-local styling for the Shipping (EasyPost) settings page. Colors come from the design tokens only. */

.ep-page[b-g005wfoo8j] {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding-bottom: var(--space-4);
}

.ep-lead[b-g005wfoo8j] {
    margin: 0 0 var(--space-3) 0;
    color: var(--ds-on-surface-muted);
    font-size: 14px;
    line-height: 20px;
}

.ep-subtitle[b-g005wfoo8j] {
    margin: var(--space-4) 0 var(--space-1) 0;
    font-size: 14px;
    font-weight: 600;
}

.ep-muted[b-g005wfoo8j] {
    color: var(--ds-on-surface-muted);
}

.ep-label[b-g005wfoo8j] {
    display: block;
    margin-bottom: var(--space-1);
    font-size: 12px;
    font-weight: 600;
    color: var(--ds-on-surface-muted);
}

.ep-status[b-g005wfoo8j] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.ep-ok[b-g005wfoo8j] {
    color: var(--ds-success);
}

.ep-warn[b-g005wfoo8j] {
    color: var(--ds-warning);
}

.ep-chip[b-g005wfoo8j] {
    display: inline-flex;
    align-items: center;
    padding: 2px var(--space-2);
    border-radius: var(--ds-radius-badge);
    background: var(--ds-surface-variant);
    border: 1px solid var(--ds-border-default);
    font-size: 12px;
}

.ep-row[b-g005wfoo8j] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--space-3);
}

.ep-grow[b-g005wfoo8j] {
    flex: 1 1 260px;
    min-width: 0;
}

.ep-notice[b-g005wfoo8j] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-top: var(--space-3);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--ds-radius-input);
    border: 1px solid var(--ds-border-default);
    font-size: 14px;
}

.ep-notice--error[b-g005wfoo8j] {
    border-color: var(--ds-error);
    color: var(--ds-error);
}

.ep-notice--ok[b-g005wfoo8j] {
    border-color: var(--ds-success);
    color: var(--ds-success);
}

/* ---- Readiness ---- */

.ep-checks[b-g005wfoo8j] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-3);
}

.ep-check[b-g005wfoo8j] {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-3);
    border-radius: var(--ds-radius-card);
    border: 1px solid var(--ds-border-default);
}

.ep-check--ready .p4-icon[b-g005wfoo8j] {
    color: var(--ds-success);
}

.ep-check--attention[b-g005wfoo8j] {
    border-color: var(--ds-warning);
}

.ep-check--attention .p4-icon[b-g005wfoo8j] {
    color: var(--ds-warning);
}

.ep-check-text[b-g005wfoo8j] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    font-size: 14px;
}

.ep-missing[b-g005wfoo8j] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
}

.ep-products[b-g005wfoo8j] {
    margin: 0;
    padding-left: var(--space-5);
    font-size: 14px;
}

/* ---- Boxes and carrier map ---- */

.ep-boxes[b-g005wfoo8j],
.ep-map[b-g005wfoo8j] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.ep-box[b-g005wfoo8j] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--space-3);
    padding: var(--space-3);
    border: 1px solid var(--ds-border-default);
    border-radius: var(--ds-radius-card);
}

.ep-box-name[b-g005wfoo8j] {
    flex: 1 1 180px;
}

.ep-box-size[b-g005wfoo8j] {
    flex: 0 1 110px;
}

.ep-box-unit[b-g005wfoo8j] {
    flex: 0 1 90px;
}

.ep-default[b-g005wfoo8j] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    min-height: 36px;
    font-size: 14px;
}

.ep-map-line[b-g005wfoo8j] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--space-3);
}

.ep-actions[b-g005wfoo8j] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-3);
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Settings/Taxes/WithholdingsConfig.razor.rz.scp.css */
/* Two-column card grid: each card keeps its natural height (no ragged
   stretch) and the layout collapses to a single column on narrow screens. */
.wc-config-grid[b-8yc2hkofmp] {
    align-items: start;
}

@media (max-width: 900px) {
    .wc-config-grid[b-8yc2hkofmp] {
        grid-template-columns: 1fr;
    }
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Trays/TrayBoxList.razor.rz.scp.css */
/* ── Empty state icon (mirrors OrderList.razor.css .po-empty-state-icon) ── */
.tray-box-empty-state-icon[b-jnmnnptwbv] {
    font-size: 48px;
    opacity: 0.4;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Trays/TrayConsumptionList.razor.rz.scp.css */
/* ── Empty state icon (mirrors OrderList.razor.css .po-empty-state-icon) ── */
.tray-consumption-empty-state-icon[b-fn2k7gipmc] {
    font-size: 48px;
    opacity: 0.4;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Trays/TrayDetails.razor.rz.scp.css */
/* Rejected-row list in the Import Contents dialog.

   Scrolls instead of growing the dialog past the viewport: a sheet pasted from the wrong
   column can reject every row, and the Import/Close buttons must stay reachable. */
.p4-import-errors[b-berxksys8s] {
    list-style: disc;
    margin: var(--space-2) 0 0;
    padding-left: var(--space-5);
    max-height: 180px;
    overflow-y: auto;
}
/* /P4Software.CifraHq.Web/Components/Pages/Tenant/Trays/TrayList.razor.rz.scp.css */
/* ── Empty state icon (mirrors OrderList.razor.css .po-empty-state-icon) ── */
.tray-empty-state-icon[b-7br2znizm4] {
    font-size: 48px;
    opacity: 0.4;
}
/* /P4Software.CifraHq.Web/Components/Shared/AuthLoadingScreen.razor.rz.scp.css */
.auth-loading-screen[b-jd0jw1a1s7] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8FAFC;
    z-index: 9999;
}

.auth-loading-content[b-jd0jw1a1s7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    animation: auth-fade-in-b-jd0jw1a1s7 0.4s ease-out;
}

.auth-loading-logo[b-jd0jw1a1s7] {
    height: 56px;
    width: auto;
    animation: auth-pulse-b-jd0jw1a1s7 2s ease-in-out infinite;
}

.auth-loading-bar[b-jd0jw1a1s7] {
    width: 160px;
    height: 3px;
    background: #E2E8F0;
    border-radius: 3px;
    overflow: hidden;
}

.auth-loading-bar-fill[b-jd0jw1a1s7] {
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, #1976D2, #F28C28);
    border-radius: 3px;
    animation: auth-slide-b-jd0jw1a1s7 1.2s ease-in-out infinite;
}

@keyframes auth-fade-in-b-jd0jw1a1s7 {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes auth-pulse-b-jd0jw1a1s7 {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.7; }
}

@keyframes auth-slide-b-jd0jw1a1s7 {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .auth-loading-screen[b-jd0jw1a1s7] {
        background: #0F172A;
    }
    .auth-loading-bar[b-jd0jw1a1s7] {
        background: #334155;
    }
    .auth-loading-bar-fill[b-jd0jw1a1s7] {
        background: linear-gradient(90deg, #60A5FA, #F28C28);
    }
}
/* /P4Software.CifraHq.Web/Components/Shared/Dialogs/AddProductLineDialog.razor.rz.scp.css */
/* Search row: the text box takes the remaining width, the optional "In stock only" filter sits
   beside it at its natural size and never wraps mid-label. Scoped here rather than added to the
   global utilities, since nothing else needs it. */

.p4-search-row[b-i716stjbnc] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.p4-search-row__input[b-i716stjbnc] {
    flex: 1;
    min-width: 0; /* lets the text box actually shrink inside the flex row */
}

.p4-search-row__toggle[b-i716stjbnc] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    white-space: nowrap;
    cursor: pointer;
    color: var(--ds-on-surface);
}
/* /P4Software.CifraHq.Web/Components/Shared/Dialogs/ChangePurchaseOrderWarehouseDialog.razor.rz.scp.css */
/* Body spacing inside the dialog content area (same inset as the other document dialogs). */
.change-warehouse-body[b-6a9dx7i44z] {
    padding: var(--space-2) var(--space-4);
}

/* What-will-happen notes under the warehouse picker. */
.change-warehouse-notes[b-6a9dx7i44z] {
    padding-left: var(--space-5);
    line-height: 1.5;
}
/* /P4Software.CifraHq.Web/Components/Shared/Dialogs/ImportProgressDialog.razor.rz.scp.css */
/* ProductImportProgressDialog - scoped styles.
   Colours and surfaces come from design tokens only (no hex, dark-mode safe). */

.pid[b-coi0bhnfzs] {
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
    font-size: var(--text-base);
}

.pid > div[b-coi0bhnfzs] {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--ds-border-subtle);
}

.pid > div:last-child[b-coi0bhnfzs] {
    border-bottom: none;
}

/* Header */
.pid-header[b-coi0bhnfzs] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-3);
}

.pid-title-row[b-coi0bhnfzs] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-1);
}

.pid-title-icon[b-coi0bhnfzs] {
    font-size: 20px;
    color: var(--ds-primary);
}

.pid-title[b-coi0bhnfzs] {
    font-size: var(--text-md);
    font-weight: var(--font-semibold);
}

.pid-file-chip[b-coi0bhnfzs] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-1-5);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.pid-chip-icon[b-coi0bhnfzs] {
    font-size: 16px;
    color: var(--text-tertiary);
}

.pid-file-name[b-coi0bhnfzs] {
    font-weight: var(--font-medium);
    color: var(--text-primary);
}

.pid-dot[b-coi0bhnfzs] {
    color: var(--text-tertiary);
}

/* Phase stepper */
.pid-stepper[b-coi0bhnfzs] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.pid-phase[b-coi0bhnfzs] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex: 0 0 auto;
}

.pid-phase-connector[b-coi0bhnfzs] {
    flex: 1 1 auto;
    height: 1px;
    background: var(--ds-border-default);
}

.pid-phase-icon[b-coi0bhnfzs] {
    font-size: 20px;
}

.pid-phase-name[b-coi0bhnfzs] {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
}

.pid-phase-meta[b-coi0bhnfzs] {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.pid-phase-pending .pid-phase-icon[b-coi0bhnfzs] { color: var(--text-tertiary); }
.pid-phase-pending .pid-phase-name[b-coi0bhnfzs] { color: var(--text-secondary); font-weight: var(--font-normal); }
.pid-phase-done .pid-phase-icon[b-coi0bhnfzs] { color: var(--ds-success); }
.pid-phase-error .pid-phase-icon[b-coi0bhnfzs] { color: var(--ds-error); }
.pid-phase-active .pid-phase-icon[b-coi0bhnfzs] {
    color: var(--ds-info);
    animation: pid-spin-b-coi0bhnfzs 1.4s linear infinite;
}
.pid-phase-active .pid-phase-name[b-coi0bhnfzs] { color: var(--ds-info); }

@keyframes pid-spin-b-coi0bhnfzs {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Overall progress */
.pid-progress-head[b-coi0bhnfzs] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--space-2);
}

.pid-progress-label[b-coi0bhnfzs] {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.pid-progress-pct[b-coi0bhnfzs] {
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
}

.pid-progress-sign[b-coi0bhnfzs] {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-left: 1px;
}

.pid-progress-foot[b-coi0bhnfzs] {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3);
    margin-top: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

/* Outcome counters */
.pid-counters[b-coi0bhnfzs] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2-5);
}

.pid-counter[b-coi0bhnfzs] {
    background: var(--ds-surface-container-low);
    border: 1px solid var(--ds-border-subtle);
    border-radius: var(--ds-shape-md);
    padding: var(--space-2-5) var(--space-3);
}

.pid-counter-label[b-coi0bhnfzs] {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-xs);
    color: var(--text-secondary);
    margin-bottom: var(--space-0-5);
}

.pid-counter-ico[b-coi0bhnfzs] {
    font-size: 14px;
}

.pid-counter-value[b-coi0bhnfzs] {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
}

.pid-c-created[b-coi0bhnfzs] { color: var(--ds-success); }
.pid-c-updated[b-coi0bhnfzs] { color: var(--ds-info); }
.pid-c-skipped[b-coi0bhnfzs] { color: var(--ds-warning); }
.pid-c-failed[b-coi0bhnfzs] { color: var(--ds-error); }

/* Issues panel */
.pid-issues-head[b-coi0bhnfzs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-2-5);
}

.pid-tabs[b-coi0bhnfzs] {
    display: flex;
    gap: var(--space-3-5);
}

.pid-tab[b-coi0bhnfzs] {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding-bottom: var(--space-1);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    user-select: none;
}

.pid-tab:hover[b-coi0bhnfzs] {
    color: var(--text-primary);
}

.pid-tab-active[b-coi0bhnfzs] {
    color: var(--text-primary);
    font-weight: var(--font-medium);
    border-bottom-color: var(--ds-primary);
}

.pid-tab-count[b-coi0bhnfzs] {
    font-weight: var(--font-semibold);
}

.pid-export[b-coi0bhnfzs] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
    color: var(--ds-primary);
    cursor: pointer;
    white-space: nowrap;
}

.pid-export:hover[b-coi0bhnfzs] {
    text-decoration: underline;
}

.pid-export-ico[b-coi0bhnfzs] {
    font-size: 14px;
}

.pid-issues-list[b-coi0bhnfzs] {
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid var(--ds-border-subtle);
    border-radius: var(--ds-shape-md);
}

.pid-issue-row[b-coi0bhnfzs] {
    display: flex;
    align-items: center;
    gap: var(--space-2-5);
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    border-bottom: 1px solid var(--ds-border-subtle);
}

.pid-issue-row:last-child[b-coi0bhnfzs] {
    border-bottom: none;
}

.pid-row-pill[b-coi0bhnfzs] {
    flex: 0 0 auto;
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    padding: 2px var(--space-1-5);
    border-radius: var(--ds-shape-sm);
    white-space: nowrap;
}

.pid-pill-error[b-coi0bhnfzs] {
    background: var(--ds-error-container);
    color: var(--ds-on-error-container);
}

.pid-pill-warning[b-coi0bhnfzs] {
    background: var(--ds-warning-container);
    color: var(--ds-on-warning-container);
}

.pid-pill-skipped[b-coi0bhnfzs] {
    background: var(--ds-surface-container-high);
    color: var(--text-secondary);
}

.pid-issue-sku[b-coi0bhnfzs] {
    flex: 0 0 auto;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.pid-issue-msg[b-coi0bhnfzs] {
    flex: 1 1 auto;
    color: var(--text-secondary);
}

.pid-issue-empty[b-coi0bhnfzs] {
    padding: var(--space-3);
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    text-align: center;
}

/* Activity log */
.pid-log[b-coi0bhnfzs] {
    background: var(--ds-surface-container-low);
}

.pid-log-head[b-coi0bhnfzs] {
    display: flex;
    align-items: center;
    gap: var(--space-1-5);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.pid-log-ico[b-coi0bhnfzs] {
    font-size: 16px;
}

.pid-log-body[b-coi0bhnfzs] {
    max-height: 96px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    line-height: 1.7;
}

.pid-log-line[b-coi0bhnfzs] {
    color: var(--text-secondary);
    white-space: pre-wrap;
    word-break: break-word;
}

.pid-log-empty[b-coi0bhnfzs] {
    color: var(--text-tertiary);
}

/* Footer */
.pid-footer[b-coi0bhnfzs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.pid-footer-note[b-coi0bhnfzs] {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.pid-footer-actions[b-coi0bhnfzs] {
    display: flex;
    gap: var(--space-2);
}
/* /P4Software.CifraHq.Web/Components/Shared/Dialogs/NewCustomerNameField.razor.rz.scp.css */
/* The name and RUC boxes of the New customer dialogs and the panel of customers that may already be the one typed. */
.ncnf[b-5vd5cby4vy] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ncnf-field[b-5vd5cby4vy] {
    display: flex;
    flex-direction: column;
}

/* A bordered panel on a light surface, so it reads as help about the fields above it and not as another field. */
.ncnf-panel[b-5vd5cby4vy] {
    border: 1px solid var(--ds-outline-variant);
    border-radius: var(--ds-radius-input);
    background: var(--ds-surface-container-low);
    color: var(--ds-on-surface);
    overflow: hidden;
}

.ncnf-head[b-5vd5cby4vy] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
}

.ncnf-icon[b-5vd5cby4vy] {
    flex: 0 0 auto;
    color: var(--ds-warning);
    font-size: 22px;
    line-height: 1.2;
}

.ncnf-title[b-5vd5cby4vy] {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.ncnf-sub[b-5vd5cby4vy] {
    font-size: 13px;
    line-height: 1.4;
    color: var(--ds-on-surface-muted);
}

.ncnf-list[b-5vd5cby4vy] {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* The Open button stays on the right at every width: the text column shrinks and wraps instead of pushing it down. */
.ncnf-row[b-5vd5cby4vy] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-top: 1px solid var(--ds-outline-variant);
}

.ncnf-main[b-5vd5cby4vy] {
    flex: 1 1 auto;
    min-width: 0;
}

.ncnf-line[b-5vd5cby4vy] {
    font-size: 14px;
    line-height: 1.4;
}

.ncnf-code[b-5vd5cby4vy] {
    font-weight: 600;
    white-space: nowrap;
}

.ncnf-company[b-5vd5cby4vy] {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.ncnf-meta[b-5vd5cby4vy],
.ncnf-merged[b-5vd5cby4vy] {
    font-size: 12px;
    line-height: 1.4;
    color: var(--ds-on-surface-muted);
    overflow-wrap: anywhere;
}

.ncnf-same[b-5vd5cby4vy] {
    color: var(--ds-on-surface);
    font-weight: 600;
}

/* SfButton renders its own element, so scoped CSS only reaches it through ::deep. */
.ncnf-row[b-5vd5cby4vy]  .ncnf-open {
    flex: 0 0 auto;
}

.ncnf-more[b-5vd5cby4vy] {
    padding: 8px 12px;
    border-top: 1px solid var(--ds-outline-variant);
    font-size: 12px;
    color: var(--ds-on-surface-muted);
}
/* /P4Software.CifraHq.Web/Components/Shared/Editors/DocumentNotes.razor.rz.scp.css */
.dn-add-note-form[b-5ykpxvl4tc] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.dn-field[b-5ykpxvl4tc] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}

.dn-field-label[b-5ykpxvl4tc] {
    font-size: 13px;
    font-weight: 500;
    color: var(--ds-on-surface-muted, var(--p4-outline, #94A3B8));
    text-align: left;
}

[b-5ykpxvl4tc] .dn-field .e-control-wrapper,
[b-5ykpxvl4tc] .dn-field .e-input-group,
[b-5ykpxvl4tc] .dn-field textarea,
[b-5ykpxvl4tc] .dn-field input {
    width: 100%;
}

.dn-note-attachment-row[b-5ykpxvl4tc] {
    min-width: 0;
}

.dn-note-attachment-icon[b-5ykpxvl4tc] {
    font-size: 14px;
}

.dn-note-attachment-name[b-5ykpxvl4tc] {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dn-note-upload-trigger[b-5ykpxvl4tc] {
    margin: 0;
    width: fit-content;
    cursor: pointer;
}

.dn-note-upload-icon[b-5ykpxvl4tc] {
    font-size: 14px;
    margin-right: 4px;
    vertical-align: middle;
}

.dn-hidden-file-input[b-5ykpxvl4tc] {
    display: none;
}

.dn-subject-empty[b-5ykpxvl4tc] {
    font-style: italic;
}

.dn-pin-indicator[b-5ykpxvl4tc] {
    color: var(--ds-primary);
}

.dn-pin-active[b-5ykpxvl4tc]  .p4-icon,
.dn-pin-active .p4-icon[b-5ykpxvl4tc] {
    color: var(--ds-primary);
}

.dn-attachment-list[b-5ykpxvl4tc] {
    line-height: 1.4;
}

.dn-attachment-row[b-5ykpxvl4tc] {
    margin-bottom: 2px;
}

[b-5ykpxvl4tc] .dn-attachment-remove {
    width: 20px;
    height: 20px;
    min-width: 20px;
}

[b-5ykpxvl4tc] .dn-attach-trigger {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.dn-attach-trigger-icon[b-5ykpxvl4tc] {
    font-size: 16px;
}
/* /P4Software.CifraHq.Web/Components/Shared/Editors/EntitySearchBox.razor.rz.scp.css */
.p4-entity-search-item[b-d56gwc2a7e] {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    height: 48px;
    line-height: 1.2;
    overflow: hidden;
}

.p4-entity-search-item-label[b-d56gwc2a7e] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.p4-entity-search-item-subtitle[b-d56gwc2a7e] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}
/* /P4Software.CifraHq.Web/Components/Shared/Editors/P4RecurrenceEditor.razor.rz.scp.css */
.p4-recurrence-editor__year[b-zgd8h2fg31] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    width: 100%;
}

.p4-recurrence-editor__year-add[b-zgd8h2fg31] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.p4-recurrence-editor__chips[b-zgd8h2fg31] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.p4-recurrence-chip[b-zgd8h2fg31] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 2px var(--space-2);
    background: var(--ds-surface-variant);
    color: var(--ds-on-surface);
    border: 1px solid var(--ds-outline);
    border-radius: var(--ds-radius-badge);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.p4-recurrence-chip__remove[b-zgd8h2fg31] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--ds-on-surface-variant);
}

.p4-recurrence-chip__remove:hover[b-zgd8h2fg31] {
    color: var(--ds-error);
}

.p4-recurrence-chip__remove .e-icons[b-zgd8h2fg31] {
    font-size: 12px;
}
/* /P4Software.CifraHq.Web/Components/Shared/FullPageSplash.razor.rz.scp.css */
.splash-screen[b-yy8m6l5vvc] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0A5FAD 0%, #1e3a5f 50%, #0A5FAD 100%);
    z-index: 9999;
}

.splash-content[b-yy8m6l5vvc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.splash-logo[b-yy8m6l5vvc] {
    width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

@media (max-width: 480px) {
    .splash-logo[b-yy8m6l5vvc] {
        width: 120px;
    }
}

.splash-spinner[b-yy8m6l5vvc] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-svg[b-yy8m6l5vvc] {
    width: 36px;
    height: 36px;
    animation: spin-b-yy8m6l5vvc 1s linear infinite;
}

.spinner-circle[b-yy8m6l5vvc] {
    stroke: rgba(255, 255, 255, 0.8);
    stroke-linecap: round;
    stroke-dasharray: 80, 200;
    stroke-dashoffset: 0;
    animation: dash-b-yy8m6l5vvc 1.5s ease-in-out infinite;
}

@keyframes spin-b-yy8m6l5vvc {
    100% { transform: rotate(360deg); }
}

@keyframes dash-b-yy8m6l5vvc {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 80, 200;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 80, 200;
        stroke-dashoffset: -125;
    }
}

/* Escape hatch - hidden until the watchdog adds .is-visible */
.splash-timeout[b-yy8m6l5vvc] {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.splash-timeout.is-visible[b-yy8m6l5vvc] {
    display: flex;
}

.splash-timeout-text[b-yy8m6l5vvc] {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.splash-timeout-btn[b-yy8m6l5vvc] {
    padding: 8px 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.splash-timeout-btn:hover[b-yy8m6l5vvc] {
    background: rgba(255, 255, 255, 0.15);
}
/* /P4Software.CifraHq.Web/Components/Shared/P4DataGrid.razor.rz.scp.css */
[b-nvsakcpaym] .p4-datagrid-empty-icon {
    font-size: 48px;
    color: var(--ds-text-muted);
    margin-bottom: var(--ds-space-3);
}

[b-nvsakcpaym] .e-grid .e-frozen-left-border,
[b-nvsakcpaym] .e-grid .e-frozenheader tr td.e-lastcell {
    border-right: 1px solid var(--ds-border);
}
/* /P4Software.CifraHq.Web/Components/Shared/P4GridSearchBox.razor.rz.scp.css */
.p4-list-search-input[b-ij7ek8owo7] {
    width: 100%;
    max-width: 360px;
}

.p4-list-search-input .e-input-group-icon.e-search[b-ij7ek8owo7] {
    color: var(--ds-text-muted, #6b7280);
}

/* SfButton renders its own markup outside this file's element tree, so Blazor's CSS
   isolation never stamps its output with this component's scope attribute - ::deep is
   required to reach it, and the ancestor .p4-list-search-input carries the scope instead. */
.p4-list-search-input[b-ij7ek8owo7]  .p4-list-search-clear {
    min-width: 28px;
    width: 28px;
    height: 28px;
    padding: 0;
    display: none;
}

/* The clear button is always in the DOM (so typing never needs a render to reveal it) and
   is shown purely via CSS once the native input has content. :placeholder-shown is only true
   when the input is empty, so ":not(:placeholder-shown)" means "has a value". */
.p4-list-search-input:has(input:not(:placeholder-shown))[b-ij7ek8owo7]  .p4-list-search-clear {
    display: inline-flex;
}
/* /P4Software.CifraHq.Web/Components/Shared/P4ListPageHeader.razor.rz.scp.css */
.ds-contextual-chip[b-fp4debq42t] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0 4px 0 12px;
    border-radius: 15px;
    background: rgba(15, 23, 42, 0.08);
    color: var(--p4-on-primary-container, #1E3A5F);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.ds-contextual-chip .e-icons[b-fp4debq42t] {
    font-size: 14px;
    line-height: 1;
    color: inherit;
}

.ds-contextual-chip-close[b-fp4debq42t] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.ds-contextual-chip-close:hover[b-fp4debq42t] {
    background: rgba(15, 23, 42, 0.16);
}

.ds-contextual-chip-close .e-icons[b-fp4debq42t] {
    font-size: 12px;
}

[b-fp4debq42t] .theme-dark .ds-contextual-chip,
[b-fp4debq42t] body.e-dark-mode .ds-contextual-chip {
    background: rgba(255, 255, 255, 0.12);
    color: var(--p4-on-primary-container, #DBEAFE);
}

[b-fp4debq42t] .theme-dark .ds-contextual-chip-close:hover,
[b-fp4debq42t] body.e-dark-mode .ds-contextual-chip-close:hover {
    background: rgba(255, 255, 255, 0.22);
}
/* /P4Software.CifraHq.Web/Components/Shared/P4PriceRuleChip.razor.rz.scp.css */
/* The list price crossed out above the pill, right-aligned like the price it sits under. */
.p4-price-rule[b-ci4idssjyi] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    margin-top: 4px;
    /* The cell clips what overflows it, so the pill has to fit inside it (and wrap) instead of running out the left side. */
    max-width: 100%;
    min-width: 0;
}

.p4-price-rule-list[b-ci4idssjyi] {
    font-size: 12px;
    line-height: 1.4;
    color: var(--ds-on-surface-muted);
    text-decoration: line-through;
}

/* The pill. Fluorescent yellow with black text (see --ds-price-rule* in design-tokens.css); Syncfusion's own
   .e-btn rules are out-ranked by the extra class instead of using !important. */
.p4-price-rule[b-ci4idssjyi]  .e-btn.p4-price-rule-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /* At least one line high, taller when the words need a second line: never cut a word off. */
    height: auto;
    min-height: 22px;
    max-width: 100%;
    padding: 1px 10px 1px 8px;
    border: 1px solid var(--ds-price-rule-border);
    border-radius: 999px;
    background: var(--ds-price-rule);
    color: var(--ds-on-price-rule);
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    white-space: normal;
    text-align: left;
    box-shadow: none;
}

.p4-price-rule[b-ci4idssjyi]  .e-btn.p4-price-rule-chip:hover,
.p4-price-rule[b-ci4idssjyi]  .e-btn.p4-price-rule-chip:focus {
    background: var(--ds-price-rule-hover);
    color: var(--ds-on-price-rule);
    border-color: var(--ds-price-rule-border);
}

.p4-price-rule[b-ci4idssjyi]  .e-btn.p4-price-rule-chip:focus-visible {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

.p4-price-rule-icon[b-ci4idssjyi] {
    font-size: 14px;
    line-height: 1;
}

/* The chevron that says the pill opens the explanation under the line. */
.p4-price-rule-chevron[b-ci4idssjyi] {
    font-size: 14px;
    line-height: 1;
    margin-left: -2px;
}

/* The tag icon and the chevron keep their size when the words wrap. */
.p4-price-rule-icon[b-ci4idssjyi],
.p4-price-rule-chevron[b-ci4idssjyi] {
    flex: none;
}
/* /P4Software.CifraHq.Web/Components/Shared/P4PriceRuleNote.razor.rz.scp.css */
.p4-price-rule-note-line[b-wt1p8ntfin] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 8px;
    font-size: 13px;
    color: var(--ds-on-surface-variant);
}

.p4-price-rule-note-icon[b-wt1p8ntfin] {
    font-size: 16px;
    color: var(--ds-info);
}
/* /P4Software.CifraHq.Web/Components/Shared/P4PriceRulePanel.razor.rz.scp.css */
/* The explanation that opens under a line (inside the grid's row detail). Info tint like the approved mockup;
   three columns that stack on a narrow screen. All colours are --ds-* tokens. */
.p4-price-rule-panel[b-1zztgn5gil] {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 16px 24px;
    padding: 14px 16px;
    margin: 4px 0 8px;
    background: var(--ds-info-container);
    border: 1px solid var(--ds-outline-variant);
    border-radius: var(--ds-radius-card, 6px);
}

@media (max-width: 900px) {
    .p4-price-rule-panel[b-1zztgn5gil] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.p4-price-rule-panel-label[b-1zztgn5gil] {
    margin-bottom: 2px;
    font-size: 12px;
    color: var(--ds-on-surface-variant);
}

.p4-price-rule-panel-code[b-1zztgn5gil] {
    font-size: 14px;
    font-weight: 700;
    color: var(--ds-info);
}

.p4-price-rule-panel-text[b-1zztgn5gil] {
    font-size: 13px;
    line-height: 20px;
    color: var(--ds-on-surface);
}

.p4-price-rule-panel-note[b-1zztgn5gil] {
    margin-top: 2px;
    color: var(--ds-on-surface-variant);
}

.p4-price-rule-panel-link[b-1zztgn5gil] {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
}
/* /P4Software.CifraHq.Web/Components/Shared/P4PriceRuleTotals.razor.rz.scp.css */
/* The savings row reads in the same blue as the rule panel, so the eye connects the totals with the pill. */
.p4-price-rule-totals-savings[b-i2l8wg4piy] {
    font-weight: 600;
    color: var(--ds-info);
}
/* /P4Software.CifraHq.Web/Components/Shared/SecretTextBox.razor.rz.scp.css */
/* Masks what is typed in a secret box without making it a password field, which would invite the browser's password
   manager (see the comment in SecretTextBox.razor). SfTextBox puts CssClass on its wrapper, so the rule targets the
   input inside it. */
.p4-secret-field[b-j0mt7ot19c]  .p4-masked-secret input {
    -webkit-text-security: disc;
}
