/* static/css/modern_ui_2026.css */
/* ==========================================================================
   PyCRM Modern UI & UX Modernization (2026 Enterprise Edition)
   Architectural Parity with Canonical Vtiger CRM (C:\wamp64\www\democrm)
   and Modern SaaS Ergonomics (Linear, SLDS, HubSpot, Stripe)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Elevated Surfaces (Light & Dark)
   -------------------------------------------------------------------------- */
:root {
    --m-radius-xs: 4px;
    --m-radius-sm: 6px;
    --m-radius-md: 10px;
    --m-radius-lg: 16px;
    --m-radius-full: 9999px;

    --m-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --m-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
    --m-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --m-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --m-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --m-shadow-floating: 0 20px 35px -10px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);

    --m-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --m-font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Light Theme Variables */
body.light-theme {
    --m-surface-bg: #ffffff;
    --m-surface-subtle: #f8fafc;
    --m-surface-hover: #f1f5f9;
    --m-border-subtle: #e2e8f0;
    --m-border-hover: #cbd5e1;
    --m-text-primary: #0f172a;
    --m-text-secondary: #475569;
    --m-text-muted: #64748b;
    --m-primary-tint: rgba(99, 102, 241, 0.08);
}

/* Dark Theme Variables */
body:not(.light-theme) {
    --m-surface-bg: #0f172a;
    --m-surface-subtle: #1e293b;
    --m-surface-hover: #334155;
    --m-border-subtle: #334155;
    --m-border-hover: #475569;
    --m-text-primary: #f8fafc;
    --m-text-secondary: #94a3b8;
    --m-text-muted: #64748b;
    --m-primary-tint: rgba(99, 102, 241, 0.18);
}

/* --------------------------------------------------------------------------
   2. Typography & Layout Polish
   -------------------------------------------------------------------------- */
body.modern-ui-2026 {
    font-family: var(--m-font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.011em;
}

body.modern-ui-2026 h1,
body.modern-ui-2026 h2,
body.modern-ui-2026 h3,
body.modern-ui-2026 h4 {
    font-family: var(--m-font-heading);
    letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   3. List View: Sticky Headers, Row Freeze & Crisp Borders
   -------------------------------------------------------------------------- */
body.modern-ui-2026 .table-container {
    position: relative;
    max-height: calc(100vh - 210px);
    overflow: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--m-radius-md);
    background: var(--bg-card);
    box-shadow: var(--m-shadow-sm);
}

/* Sticky thead: Header stays pinned while scrolling down records */
body.modern-ui-2026 .table-container table.data-table thead tr#default-table-headers th,
body.modern-ui-2026 .table-container table.data-table thead tr:first-child th {
    position: sticky;
    top: 0;
    z-index: 16;
    background: var(--bg-card) !important;
    border-bottom: 1px solid var(--border-color);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    padding: 11px 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Sticky search row beneath the primary header */
body.modern-ui-2026 .table-container table.data-table thead tr.search-row-tr th,
body.modern-ui-2026 .table-container table.data-table thead tr.search-row-tr td,
body.modern-ui-2026 .table-container table.data-table thead tr#default-table-search-row th,
body.modern-ui-2026 .table-container table.data-table thead tr#default-table-search-row td {
    position: sticky;
    top: 41px;
    z-index: 15;
    background: var(--bg-card) !important;
    border-bottom: 2px solid var(--border-color);
    padding: 6px 10px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Search input fields inside table header */
body.modern-ui-2026 .table-container table.data-table thead input,
body.modern-ui-2026 .table-container table.data-table thead select {
    width: 100%;
    box-sizing: border-box;
    height: 30px;
    font-size: 12px;
    border-radius: var(--m-radius-sm, 6px);
    border: 1px solid var(--border-color);
    background: var(--bg-field);
    padding: 4px 8px;
    transition: all 0.15s ease;
}

body.modern-ui-2026 .table-container table.data-table thead input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--m-primary-tint);
    outline: none;
}

/* Row Hover States & Transitions */
body.modern-ui-2026 table.data-table tbody tr {
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

body.modern-ui-2026 table.data-table tbody tr:hover {
    background-color: var(--m-surface-hover) !important;
}

body.modern-ui-2026 table.data-table tbody td {
    padding: 11px 14px;
    font-size: 13px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

/* --------------------------------------------------------------------------
   4. Bulk Actions Bar (Vtiger Top Toolbar Architecture)
   -------------------------------------------------------------------------- */
body.modern-ui-2026 .mass-action-bar {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    z-index: 10 !important;
    background: var(--bg-card, #ffffff) !important;
    color: var(--text-primary, #1e293b) !important;
    border: 1px solid rgba(99, 102, 241, 0.25) !important;
    border-radius: var(--radius-md, 8px) !important;
    padding: 8px 16px !important;
    box-shadow: 0 2px 8px -2px rgba(99, 102, 241, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    display: none;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px 16px !important;
    margin: 0 0 12px 0 !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 1000 !important;
    animation: massBarSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.dark-theme.modern-ui-2026 .mass-action-bar {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-color: rgba(99, 102, 241, 0.35) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

body.modern-ui-2026 .mass-action-bar[style*="display: none"],
body.modern-ui-2026 .mass-action-bar[style*="display:none"],
body.modern-ui-2026 #default-list-view:not(.has-mass-action) .mass-action-bar,
body.modern-ui-2026 .mass-action-bar:not(.active):not([style*="display: flex"]):not([style*="display:flex"]) {
    display: none !important;
}

body.modern-ui-2026 .mass-action-bar.active,
body.modern-ui-2026 #default-list-view.has-mass-action .mass-action-bar,
body.modern-ui-2026 .mass-action-bar[style*="display: flex"],
body.modern-ui-2026 .mass-action-bar[style*="display:flex"] {
    display: flex !important;
}

@keyframes massBarSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.modern-ui-2026 .mass-selected-badge {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 11.5px !important;
    padding: 5px 12px !important;
    border-radius: var(--m-radius-full, 9999px) !important;
    box-shadow: 0 1px 4px rgba(79, 70, 229, 0.3) !important;
    letter-spacing: 0.02em;
}

body.modern-ui-2026 #default-select-all-banner,
body.modern-ui-2026 #default-all-selected-banner {
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: var(--text-secondary, #64748b) !important;
}

body.modern-ui-2026 #default-btn-select-all-records,
body.modern-ui-2026 #default-btn-clear-all-selection {
    color: var(--primary, #6366f1) !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    margin-left: 6px !important;
    transition: color 0.15s ease;
}

body.modern-ui-2026 #default-btn-select-all-records:hover,
body.modern-ui-2026 #default-btn-clear-all-selection:hover {
    color: var(--primary-hover, #4f46e5) !important;
}

body.modern-ui-2026 .mass-action-info {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

body.modern-ui-2026 .mass-action-bar .btn-text,
.mass-action-bar .btn-text {
    display: none !important;
}

body.modern-ui-2026 .mass-action-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
}

body.modern-ui-2026 .mass-action-buttons button,
body.modern-ui-2026 .mass-action-buttons .export-btn,
body.modern-ui-2026 .mass-action-buttons .edit-btn,
body.modern-ui-2026 .mass-action-buttons .danger-btn,
body.modern-ui-2026 .mass-action-buttons .default-mass-more-btn,
body.modern-ui-2026 .mass-action-buttons .merge-btn,
body.modern-ui-2026 .mass-action-buttons .whatsapp-campaign-btn,
body.modern-ui-2026 .mass-action-buttons .run-btn,
body.modern-ui-2026 .mass-action-buttons #leads-bulk-assign-btn,
body.modern-ui-2026 .mass-action-buttons #leads-bulk-status-btn {
    height: 32px !important;
    min-width: 32px !important;
    width: 32px !important;
    padding: 0 !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

body.modern-ui-2026 .mass-action-buttons .export-btn {
    width: auto !important;
    min-width: 38px !important;
    padding: 0 6px !important;
    gap: 3px !important;
}

body.modern-ui-2026 .mass-action-buttons .default-mass-more-btn {
    background: var(--bg-field, #f8fafc) !important;
    color: var(--text-primary, #334155) !important;
    border: 1px solid var(--border-color, #cbd5e1) !important;
}

body.modern-ui-2026 .mass-action-buttons .default-mass-more-btn:hover {
    background: var(--bg-hover, #f1f5f9) !important;
    border-color: var(--primary, #6366f1) !important;
    color: var(--primary, #6366f1) !important;
}

body.modern-ui-2026 .mass-action-buttons .edit-btn {
    background: rgba(99, 102, 241, 0.08) !important;
    color: var(--primary, #6366f1) !important;
    border: 1px solid rgba(99, 102, 241, 0.25) !important;
}

body.modern-ui-2026 .mass-action-buttons .edit-btn:hover {
    background: rgba(99, 102, 241, 0.16) !important;
    border-color: var(--primary, #6366f1) !important;
}

body.modern-ui-2026 .mass-action-buttons .export-btn {
    background: var(--bg-field, #f8fafc) !important;
    color: var(--text-primary, #334155) !important;
    border: 1px solid var(--border-color, #cbd5e1) !important;
}

body.modern-ui-2026 .mass-action-buttons .export-btn:hover {
    background: var(--bg-hover, #f1f5f9) !important;
    border-color: var(--primary, #6366f1) !important;
    color: var(--primary, #6366f1) !important;
}

body.modern-ui-2026 .mass-action-buttons .whatsapp-campaign-btn {
    background: rgba(34, 197, 94, 0.1) !important;
    color: #15803d !important;
    border: 1px solid rgba(34, 197, 94, 0.35) !important;
}

body.modern-ui-2026 .mass-action-buttons .whatsapp-campaign-btn:hover {
    background: rgba(34, 197, 94, 0.18) !important;
    border-color: #16a34a !important;
    color: #15803d !important;
}

body.modern-ui-2026 .mass-action-buttons .danger-btn {
    background: rgba(239, 68, 68, 0.08) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
}

body.modern-ui-2026 .mass-action-buttons button[style*="display: none"],
body.modern-ui-2026 .mass-action-buttons button[style*="display:none"],
body.modern-ui-2026 .mass-action-buttons .merge-btn[style*="display: none"],
body.modern-ui-2026 .mass-action-buttons .merge-btn[style*="display:none"] {
    display: none !important;
}

body.modern-ui-2026 .mass-action-buttons .danger-btn:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
}

body.modern-ui-2026 .default-mass-export-wrapper,
body.modern-ui-2026 .default-mass-more-wrapper {
    position: relative !important;
    display: inline-flex !important;
    overflow: visible !important;
    z-index: 1001 !important;
}

body.modern-ui-2026 .default-mass-export-wrapper .row-context-menu {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 99999 !important;
    min-width: 200px !important;
    background: var(--bg-card, #ffffff) !important;
    border: 1px solid var(--border-color, #cbd5e1) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.08) !important;
    padding: 6px 0 !important;
    flex-direction: column !important;
}

body.modern-ui-2026 .default-mass-more-wrapper .row-context-menu {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 99999 !important;
    min-width: 220px !important;
    background: var(--bg-card, #ffffff) !important;
    border: 1px solid var(--border-color, #cbd5e1) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.08) !important;
    padding: 6px 0 !important;
    flex-direction: column !important;
}

body.modern-ui-2026 .default-mass-export-wrapper .row-context-menu[style*="display: none"],
body.modern-ui-2026 .default-mass-export-wrapper .row-context-menu[style*="display:none"],
body.modern-ui-2026 .default-mass-more-wrapper .row-context-menu[style*="display: none"],
body.modern-ui-2026 .default-mass-more-wrapper .row-context-menu[style*="display:none"] {
    display: none !important;
}

body.modern-ui-2026 .default-mass-export-wrapper .row-context-menu.show,
body.modern-ui-2026 .default-mass-export-wrapper .row-context-menu[style*="display: flex"],
body.modern-ui-2026 .default-mass-export-wrapper .row-context-menu[style*="display:flex"],
body.modern-ui-2026 .default-mass-export-wrapper .row-context-menu[style*="display: block"],
body.modern-ui-2026 .default-mass-export-wrapper .row-context-menu[style*="display:block"] {
    display: flex !important;
    flex-direction: column !important;
}

body.modern-ui-2026 .default-mass-more-wrapper .row-context-menu.show,
body.modern-ui-2026 .default-mass-more-wrapper .row-context-menu[style*="display: flex"],
body.modern-ui-2026 .default-mass-more-wrapper .row-context-menu[style*="display:flex"],
body.modern-ui-2026 .default-mass-more-wrapper .row-context-menu[style*="display: block"],
body.modern-ui-2026 .default-mass-more-wrapper .row-context-menu[style*="display:block"] {
    display: flex !important;
    flex-direction: column !important;
}

body.modern-ui-2026 .default-mass-export-wrapper .row-context-menu-item,
body.modern-ui-2026 .default-mass-more-wrapper .row-context-menu-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    padding: 8px 14px !important;
    cursor: pointer !important;
    color: var(--text-primary, #1e293b) !important;
    transition: background 0.15s ease !important;
    white-space: nowrap !important;
}

body.modern-ui-2026 .default-mass-export-wrapper .row-context-menu-item:hover,
body.modern-ui-2026 .default-mass-more-wrapper .row-context-menu-item:hover {
    background: rgba(99, 102, 241, 0.08) !important;
    color: var(--primary, #6366f1) !important;
}

body.dark-theme.modern-ui-2026 .default-mass-export-wrapper .row-context-menu,
body.dark-theme.modern-ui-2026 .default-mass-more-wrapper .row-context-menu {
    background: #1e293b !important;
    border-color: rgba(99, 102, 241, 0.35) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
}

body.dark-theme.modern-ui-2026 .default-mass-export-wrapper .row-context-menu-item,
body.dark-theme.modern-ui-2026 .default-mass-more-wrapper .row-context-menu-item {
    color: #f8fafc !important;
}

body.dark-theme.modern-ui-2026 .default-mass-export-wrapper .row-context-menu-item:hover,
body.dark-theme.modern-ui-2026 .default-mass-more-wrapper .row-context-menu-item:hover {
    background: rgba(99, 102, 241, 0.2) !important;
    color: #a5b4fc !important;
}

/* --------------------------------------------------------------------------
   5. Vtiger Quick Preview Slide-Over Drawer (`ListViewQuickPreview.tpl`)
   -------------------------------------------------------------------------- */
.vtiger-quick-preview-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 440px;
    max-width: 90vw;
    background: var(--bg-card);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 99990;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.vtiger-quick-preview-drawer.active {
    transform: translateX(0);
}

.vtiger-quick-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-surface-secondary, rgba(0, 0, 0, 0.02));
}

.vtiger-quick-preview-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vtiger-quick-preview-close-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: var(--m-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.vtiger-quick-preview-close-btn:hover {
    background: var(--m-surface-hover);
    color: var(--text-primary);
}

.vtiger-quick-preview-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.vtiger-quick-preview-touchpoints {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.vtiger-quick-preview-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: var(--bg-surface-secondary, rgba(0, 0, 0, 0.02));
}

/* Quick preview backdrop */
.vtiger-quick-preview-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(2px);
    z-index: 99980;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.vtiger-quick-preview-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* --------------------------------------------------------------------------
   6. Detail View Modernization: Touchpoint Hub & Related Tabs
   -------------------------------------------------------------------------- */
body.modern-ui-2026 .detail-touchpoints-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--m-radius-md);
    margin-bottom: 16px;
    box-shadow: var(--m-shadow-xs);
    flex-wrap: wrap;
}

body.modern-ui-2026 .touchpoint-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--m-radius-sm);
    font-size: 12.5px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background: var(--bg-field);
    color: var(--text-primary);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

body.modern-ui-2026 .touchpoint-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-1px);
}

body.modern-ui-2026 .touchpoint-btn.whatsapp-btn:hover {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
}

body.modern-ui-2026 .touchpoint-btn.email-btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

body.modern-ui-2026 .touchpoint-btn.phone-btn:hover {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

/* Related Tabs live count badges */
body.modern-ui-2026 .related-tab-badge {
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary);
    border-radius: var(--m-radius-full);
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    margin-left: 6px;
}

/* --------------------------------------------------------------------------
   7. Form Creation: Sticky Bottom Save Bar
   -------------------------------------------------------------------------- */
body.modern-ui-2026 .vtiger-form-actions-sticky {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 25;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 24px;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    border-radius: 0 0 var(--m-radius-md) var(--m-radius-md);
}

/* --------------------------------------------------------------------------
   8. Status Pills & Semantic Badges
   -------------------------------------------------------------------------- */
body.modern-ui-2026 .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: var(--m-radius-full);
    letter-spacing: 0.02em;
}

body.modern-ui-2026 .status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}
