/* GENERATED by tools/dark-theme/generate-dark-theme.py - do not edit by hand.
   Night appearance: light backgrounds -> grey, dark text -> light (APPLICATION-STANDARDS section 2).
   Edit the light stylesheets or tools/dark-theme/dark-theme-overrides.css, then re-run. */
@media (prefers-color-scheme: dark) {
  /* ---- base/variables.css ---- */
  :root:root { --iv-primary: #1E3A8A; --iv-primary-dark: #0D1E4D; --iv-primary-light: #2563EB; --iv-accent: #34D6FF; --iv-accent-dark: #14B8E8; --iv-success: #22C55E; --iv-warning: #F59E0B; --iv-danger: #EF4444; --iv-info: #0EA5E9; --iv-bg: #464748; --iv-surface: #4c4c4c; --iv-surface-alt: #404143; --iv-text: #c9d5f0; --iv-text-secondary: #a6b6cd; --iv-text-light: #97a8c1; --iv-text-white: #FFFFFF; --iv-border: #595b5f; --iv-border-dark: #5c6166; --iv-sidebar-bg: #0F172A; --iv-sidebar-hover: #1E293B; --iv-sidebar-active: #1E3A8A; --iv-sidebar-text: #CBD5E1; --iv-navbar-bg: rgba(76, 76, 76, 0.9); --iv-shadow-xs: 0 2px 4px rgba(15,23,42,.03); --iv-shadow-sm: 0 4px 12px rgba(15,23,42,.05); --iv-shadow-md: 0 12px 32px rgba(15,23,42,.08); --iv-shadow-lg: 0 24px 60px rgba(15,23,42,.12); --iv-shadow-xl: 0 35px 90px rgba(15,23,42,.18); --iv-radius-xs: 6px; --iv-radius-sm: 10px; --iv-radius-md: 16px; --iv-radius-lg: 24px; --iv-radius-xl: 32px; --iv-radius-round: 999px; --iv-space-1: 4px; --iv-space-2: 8px; --iv-space-3: 12px; --iv-space-4: 16px; --iv-space-5: 20px; --iv-space-6: 24px; --iv-space-8: 32px; --iv-space-10: 40px; --iv-space-12: 48px; --iv-space-16: 64px; --iv-font-heading: "Outfit", sans-serif; --iv-font-body: "Poppins", sans-serif; --iv-fs-xs: .75rem; --iv-fs-sm: .875rem; --iv-fs-md: 1rem; --iv-fs-lg: 1.125rem; --iv-fs-xl: 1.5rem; --iv-fs-2xl: 2rem; --iv-fs-3xl: 2.75rem; --iv-fs-4xl: 3.5rem; --iv-transition-fast: .2s ease; --iv-transition: .3s ease; --iv-transition-slow: .45s ease; --iv-sidebar-width: 320px; --iv-navbar-height: 72px; --iv-container-width: 1440px; }
  /* ---- base/reset.css ---- */
  :root *::-webkit-scrollbar-track, :root *::-webkit-scrollbar-corner { background: transparent; }
  :root *::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: rgba(71, 85, 105, .55); background-clip: padding-box; }
  :root *::-webkit-scrollbar-thumb:hover { background: rgba(30, 58, 138, .68); background-clip: padding-box; }
  /* ---- base/typography.css ---- */
  :root body { color: var(--iv-text); background: var(--iv-bg); }
  :root h1, :root h2, :root h3, :root h4, :root h5, :root h6 { color: var(--iv-text); }
  :root p { color: var(--iv-text-secondary); }
  :root a { color: var(--iv-primary); }
  :root a:hover { color: var(--iv-primary-dark); }
  :root .text-primary { color: var(--iv-primary) !important; }
  :root .text-success { color: var(--iv-success) !important; }
  :root .text-danger { color: var(--iv-danger) !important; }
  :root .text-warning { color: var(--iv-warning) !important; }
  :root .text-info { color: var(--iv-info) !important; }
  :root .text-muted { color: var(--iv-text-light) !important; }
  :root .text-secondary { color: var(--iv-text-secondary) !important; }
  :root .text-white { color: white !important; }
  :root .iv-subtitle { color: var(--iv-text-secondary); }
  :root .iv-caption { color: var(--iv-text-light); }
  :root .iv-overline { color: var(--iv-primary); }
  /* ---- layout/layout.css ---- */
  :root .iv-app { background: var(--iv-bg); }
  :root .iv-page-header { border-bottom: 1px solid #666c72; }
  :root .iv-page-subtitle { color: var(--iv-text-secondary); }
  /* ---- components/components.css ---- */
  :root .iv-btn { border: none; outline: none; border-radius: var(--iv-radius-md); }
  :root .iv-btn-primary { color: white; background: linear-gradient(
        180deg,
        #132C68 0%,
        #0D1E4D 45%,
        #07132B 100%
    ); box-shadow: var(--iv-shadow-md); }
  :root .iv-btn-primary:hover { box-shadow: var(--iv-shadow-lg); }
  :root .iv-btn-secondary { background: #4c4c4c; border: 1px solid var(--iv-border); color: var(--iv-text); }
  :root .iv-btn-secondary:hover { background: var(--iv-surface-alt); }
  :root .iv-btn-outline { background: transparent; border: 1px solid var(--iv-primary); color: var(--iv-primary); }
  :root .iv-btn-outline:hover { background: var(--iv-primary); color: white; }
  :root .iv-label { color: var(--iv-text-secondary); }
  :root .iv-input { border-radius: 16px; border: 1px solid var(--iv-border); background: #4c4c4c; color: var(--iv-text); }
  :root .iv-input::placeholder { color: var(--iv-text-light); }
  :root .iv-input:focus { outline: none; border-color: var(--iv-primary); box-shadow: 0 0 0 4px rgba(30,58,138,.12); }
  :root .iv-card { background: #4c4c4c; border: 1px solid var(--iv-border); border-radius: 24px; box-shadow: var(--iv-shadow-md); }
  :root .iv-card:hover { box-shadow: var(--iv-shadow-lg); }
  :root .iv-badge { border-radius: 999px; }
  :root .iv-badge-success { background: #34443a; color: #7bbc89; }
  :root .iv-badge-warning { background: #453f2a; color: #da946e; }
  :root .iv-badge-danger { background: #3e3333; color: #e6958a; }
  :root .iv-badge-info { background: #363d41; color: #73b5e8; }
  :root .iv-avatar { border-radius: 50%; color: white; background: linear-gradient(
        135deg,
        var(--iv-primary),
        var(--iv-accent)
    ); }
  :root .iv-divider { background: var(--iv-border); }
  :root .iv-checkbox input { accent-color: var(--iv-primary); }
  :root .iv-alert { border-radius: 16px; }
  :root .iv-alert-success { background: #34443a; color: #84c795; }
  :root .iv-alert-danger { background: #3e3333; color: #ef9c93; }
  :root .iv-alert-warning { background: #453f2a; color: #e79d7b; }
  :root .iv-spinner { border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: white; }
  /* ---- pages/home.css ---- */
  :root body { background: var(--iv-bg); }
  :root .crm-sidebar { background: linear-gradient(180deg, #111b35 0%, #0a1124 100%); color: #fff; }
  :root .crm-brand { color: #fff; }
  :root .crm-brand:hover { color: #fff; }
  :root .crm-brand img { border-radius: 11px; box-shadow: 0 8px 22px rgba(52, 214, 255, .22); }
  :root .crm-brand > span > span { color: #79d4ff; }
  :root .crm-nav-label { color: #6f7e9e; }
  :root .crm-nav-link { border-radius: 13px; color: #aebbd2; }
  :root .crm-nav-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
  :root .crm-nav-link.active { background: linear-gradient(135deg, #5b5ceb, #4f7bff); color: #fff; box-shadow: 0 10px 25px rgba(79, 87, 255, .28); }
  :root .crm-subnav { border-left: 1px solid rgba(121, 212, 255, .2); }
  :root .crm-subnav a { color: #8290aa; }
  :root .crm-subnav a:hover { color: #79d4ff; }
  :root .crm-coming { border: 1px solid rgba(121, 212, 255, .18); border-radius: 99px; color: #79d4ff; }
  :root .crm-sidebar-help { border: 1px solid rgba(121, 212, 255, .12); border-radius: 15px; background: rgba(121, 212, 255, .06); }
  :root .crm-sidebar-help .help-icon { border-radius: 10px; background: rgba(121, 212, 255, .12); color: #79d4ff; }
  :root .crm-sidebar-help small { color: #8290aa; }
  :root .crm-sidebar-help > i { color: #79d4ff; }
  :root .crm-topbar { border-bottom: 1px solid rgba(89, 91, 95, 0.8); background: rgba(76, 76, 76, 0.88); }
  :root .crm-menu-toggle { border: 1px solid var(--iv-border); border-radius: 12px; background: #4c4c4c; color: var(--iv-text); }
  :root .crm-topbar-title strong { color: #c1cfef; }
  :root .crm-topbar-title span { color: var(--iv-text-light); }
  :root .crm-icon-button { border: 1px solid var(--iv-border); border-radius: 12px; background: #4c4c4c; color: #99a8c2; }
  :root .crm-icon-button:hover { border-color: #b9c7ff; color: var(--iv-primary); box-shadow: 0 6px 16px rgba(91, 92, 235, .1); }
  :root .crm-icon-button.accent { border: none !important; background: none !important; box-shadow: none !important; color: var(--iv-primary); }
  :root .crm-icon-button.accent:hover { background: none !important; box-shadow: none !important; border-color: transparent !important; }
  :root .crm-icon-button.accent[aria-expanded="true"] { background: none !important; box-shadow: none !important; }
  :root .crm-icon-button.notification .crm-notification-count { border: 2px solid #fff; border-radius: 999px; background: #ef4444; color: #fff; }
  :root .crm-notifications-panel { border: 1px solid var(--iv-border); border-radius: 16px; background: #4c4c4c; box-shadow: 0 18px 40px rgba(15, 23, 42, .14); }
  :root .crm-notifications-header { border-bottom: 1px solid var(--iv-border); }
  :root .crm-notifications-header strong { color: #c1cfef; }
  :root .crm-notifications-header span { color: var(--iv-text-light); }
  :root .crm-notifications-empty { color: var(--iv-text-light); }
  :root .crm-notifications-list li + li { border-top: 1px solid var(--iv-border); }
  :root .crm-notifications-list a { color: inherit; }
  :root .crm-notifications-list a:hover { background: #444447; }
  :root .crm-notifications-list i { color: #f59e0b; }
  :root .crm-notifications-list strong { color: #c1cfef; }
  :root .crm-notifications-list span { color: var(--iv-text-light); }
  :root .crm-search-panel { border: 1px solid var(--iv-border); border-radius: 16px; background: #4c4c4c; box-shadow: 0 18px 40px rgba(15, 23, 42, .14); }
  :root .crm-workspace .crm-search-input-wrap.inventory-search input { outline: none; color: #c2d0ee; background: #414242; }
  :root .crm-search-tabs { border-top: 1px solid var(--iv-border); }
  :root .crm-search-tab { border: 1px solid var(--iv-border); border-radius: 999px; background: #4c4c4c; color: var(--iv-text-light); }
  :root .crm-search-tab:hover { border-color: #b9c7ff; color: var(--iv-primary); }
  :root .crm-search-tab.active { border-color: var(--iv-primary); background: var(--iv-primary); color: #fff; }
  :root .crm-search-tabs[hidden] + .crm-search-results:not(:empty) { border-top: 1px solid var(--iv-border); }
  :root .crm-search-empty { color: var(--iv-text-light); }
  :root .crm-search-group + .crm-search-group { border-top: 1px solid var(--iv-border); }
  :root .crm-search-group-label { color: var(--iv-text-light); }
  :root .crm-search-result { color: inherit; }
  :root .crm-search-result:hover, :root .crm-search-result.active { background: #444447; }
  :root .crm-search-result i { color: var(--iv-primary); }
  :root .crm-search-result strong { color: #c1cfef; }
  :root .crm-search-result span { color: var(--iv-text-light); }
  :root .crm-search-result .crm-search-hint { color: var(--iv-primary); }
  :root .crm-user { border-left: 1px solid var(--iv-border); }
  :root .crm-avatar { border-radius: 12px; background: linear-gradient(135deg, #5b5ceb, #001a21); color: #fff; box-shadow: 0 7px 15px rgba(91, 92, 235, .2); }
  :root .crm-user-copy strong { color: #becce4; }
  :root .crm-user-copy small { color: #afc0d9; }
  :root .dashboard-eyebrow { color: #96a1e5; }
  :root .dashboard-eyebrow span { border-radius: 50%; background: #001d06; box-shadow: 0 0 0 4px rgba(34, 197, 94, .12); }
  :root .dashboard-heading h1 { color: #c7d3f0; }
  :root .dashboard-heading .iv-btn { border-radius: 13px; }
  :root .metric-card { border: 1px solid var(--iv-border); border-radius: 20px; background: #4c4c4c; box-shadow: 0 7px 22px rgba(15, 23, 42, .045); }
  :root .metric-card::after { border-radius: 50%; background: currentColor; }
  :root .metric-card:hover { box-shadow: var(--iv-shadow-md); }
  :root .metric-card.purple { color: #96a1e5; }
  :root .metric-card.cyan { color: #0ea5e9; }
  :root .metric-card.orange { color: #f59e0b; }
  :root .metric-card.green { color: #22a65a; }
  :root .metric-icon { border-radius: 13px; background: currentColor; }
  :root .metric-icon i { color: #fff; }
  :root .metric-meta > span { color: #a6b6cd; }
  :root .metric-meta strong { color: #c2d0ee; }
  :root .metric-meta small { color: #97a8c1; }
  :root .metric-meta small i { color: #22c55e; }
  :root .metric-link { color: #cbd5e1; }
  :root .dashboard-card { border: 1px solid var(--iv-border); border-radius: 20px; background: #4c4c4c; box-shadow: 0 7px 22px rgba(15, 23, 42, .04); }
  :root .card-heading { border-bottom: 1px solid #57595b; }
  :root .card-heading h2, :root .section-heading h2 { color: #c2d0ee; }
  :root .card-heading button { border: 0; background: transparent; color: #96a1e5; }
  :root .empty-activity > span { border-radius: 18px; background: #3e3f44; color: #96a1e5; }
  :root .empty-activity h3 { color: #b8c7e3; }
  :root .empty-activity .iv-btn { border-radius: 11px; }
  :root .setup-count { border-radius: 99px; background: #3c3d43; color: #96a1e5; }
  :root .setup-progress { border-radius: 99px; background: #3c3d3f; }
  :root .setup-progress span { border-radius: inherit; background: linear-gradient(90deg, #5b5ceb, #001a21); }
  :root .setup-list li { border-bottom: 1px solid #57585a; }
  :root .setup-list li:last-child { border: 0; }
  :root .setup-list li > span { border: 1px solid #5a5d61; border-radius: 9px; color: #8290a8; }
  :root .setup-list li.done > span { border-color: transparent; background: #34443a; color: #16a34a; }
  :root .setup-list li strong { color: #aebeda; }
  :root .setup-list li small { color: #9aa6b8; }
  :root .setup-list li > i { color: #cbd5e1; }
  :root .quick-grid > button { border: 1px solid var(--iv-border); border-radius: 17px; background: #4c4c4c; }
  :root .quick-grid > button:hover { border-color: #cdd4ff; box-shadow: var(--iv-shadow-sm); }
  :root .quick-grid button > span { border-radius: 12px; }
  :root .quick-grid span.purple { background: #3c3d43; color: #96a1e5; }
  :root .quick-grid span.cyan { background: #3a4245; color: #0ea5e9; }
  :root .quick-grid span.orange { background: #464239; color: #e99a06; }
  :root .quick-grid button strong { color: #b8c7e3; }
  :root .quick-grid button small { color: #97a8c1; }
  :root .quick-grid button > i { color: #cbd5e1; }
  @media (max-width: 980px) {
    :root .sidebar-open .crm-sidebar-scrim { border: 0; background: rgba(15, 23, 42, .45); }
  }
  :root .crm-sidebar { background: linear-gradient(180deg, #111b3b 0%, #101936 42%, #080f24 100%); box-shadow: 6px 0 25px rgba(8, 15, 36, .30); }
  :root .crm-brand { border-bottom: 1px solid rgba(255,255,255,.08); }
  :root .crm-brand img { border-radius: 0; box-shadow: none; }
  :root .crm-sidebar .crm-brand img { border: 1px solid rgba(255,255,255,.10); border-radius: 13px; background: linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.06)); box-shadow: 0 12px 28px rgba(0,0,0,.28); }
  :root .crm-brand .crm-brand-clue { color: #fff; }
  :root .crm-brand .crm-brand-crm { background: linear-gradient(180deg,#3b82f6 0%,#2563eb 50%,#1d4ed8 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
  :root .crm-nav-label { color: #8491ad; }
  :root .crm-nav-label::after { background: linear-gradient(90deg,#5b5ceb,#79d4ff); }
  :root .crm-nav-link { border-radius: 16px; color: #f4f7ff; }
  :root .crm-nav-parent { border: 0; background: transparent; }
  :root .crm-nav-parent[aria-expanded="true"] { background: rgba(255,255,255,.04); }
  :root .crm-nav-link:hover { background: linear-gradient(180deg,#243269,#182552); box-shadow: 0 10px 20px rgba(0,0,0,.28),0 0 10px rgba(121,212,255,.22),inset 0 1px 0 rgba(255,255,255,.08); }
  :root .crm-nav-link.active { border: 1px solid rgba(255,255,255,.28); background: linear-gradient(180deg,#8de5ff 0%,#66c9f6 100%); color: #101936 !important; box-shadow: 0 12px 25px rgba(0,0,0,.30),0 0 16px rgba(121,212,255,.70),0 0 30px rgba(91,92,235,.40); }
  :root .crm-nav-link.active i, :root .crm-nav-link.active span { color: #101936; }
  :root .crm-nav-link.active:hover { background: linear-gradient(180deg,#8de5ff,#66c9f6); }
  :root .crm-subnav { border: 0; }
  :root .crm-subnav a { border-radius: 16px; color: #d8deec; }
  :root .crm-subnav a i { color: #fff; }
  :root .crm-subnav a:hover { background: linear-gradient(180deg,#243269,#182552); color: #fff; box-shadow: 0 12px 24px rgba(0,0,0,.30),0 0 0 1px rgba(121,212,255,.18); }
  :root .crm-subnav a.active-submenu { border: 1px solid rgba(255,255,255,.25); background: linear-gradient(180deg,#8de5ff,#66c9f6); color: #101936; box-shadow: 0 12px 25px rgba(0,0,0,.30),0 0 16px rgba(121,212,255,.70),0 0 30px rgba(91,92,235,.38); }
  :root .crm-subnav a.active-submenu i, :root .crm-subnav a.active-submenu span { color: #101936; }
  :root .crm-topbar { border-bottom: 1px solid #5a5b5d; background: #4c4c4c; box-shadow: 0 2px 12px rgba(15,23,42,.06); }
  :root .crm-topbar-title strong { color: #b8cafc; }
  :root .crm-breadcrumb { color: #8a8a8a; }
  :root .crm-breadcrumb i { color: #8a8a8a; }
  :root .crm-breadcrumb b { color: #96a1e5; }
  :root .crm-icon-button { border: 0; border-radius: 12px; color: #9babef; }
  :root .crm-icon-button:hover { background: #3c3d43; }
  :root .crm-avatar { border-radius: 50%; }
  :root .crm-user-copy strong { color: #b8cafc; }
  :root .dashboard-heading h1 { color: #b8cafc; }
  :root .dashboard-heading > div > p:last-child { color: #afc0d9; }
  :root .dashboard-heading .iv-btn { border-radius: 12px; }
  :root .crm-workspace .dashboard-eyebrow, :root .crm-workspace .metric-card.purple, :root .crm-workspace .card-heading button, :root .crm-workspace .crm-breadcrumb b, :root .crm-workspace .quick-grid span.purple { color: #a4bdf6; }
  :root .crm-workspace .empty-activity > span, :root .crm-workspace .setup-count, :root .crm-workspace .quick-grid span.purple { background: #3a3d42; color: #a4bdf6; }
  :root .crm-workspace .setup-progress span { background: linear-gradient(90deg, #132c68, #2563eb); }
  :root .crm-workspace .crm-avatar { background: linear-gradient(135deg, #132c68, #2563eb); box-shadow: 0 7px 15px rgba(30, 58, 138, .22); }
  :root .crm-workspace .crm-icon-button:hover, :root .crm-workspace .quick-grid > button:hover { border-color: #bfcced; box-shadow: 0 6px 16px rgba(30, 58, 138, .12); }
  :root .crm-workspace .iv-btn-primary, :root .crm-workspace .inventory-filter, :root .crm-workspace .inventory-clear { border: 2px solid #1e3a8a; color: #fff; background: linear-gradient(180deg, #172f68, #081841); box-shadow: 0 3px 8px rgba(7, 19, 43, .16), inset 0 1px 1px rgba(255, 255, 255, .08); }
  :root .crm-workspace .iv-btn-primary::before, :root .crm-workspace .inventory-filter::before, :root .crm-workspace .inventory-clear::before { border-radius: inherit; background: linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, 0)); }
  :root .crm-workspace .iv-btn-primary::after, :root .crm-workspace .inventory-filter::after, :root .crm-workspace .inventory-clear::after { background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .05) 30%, rgba(76, 76, 76, 0.45) 50%, rgba(255, 255, 255, .05) 70%, transparent 100%); }
  :root .crm-workspace .iv-btn-primary:hover, :root .crm-workspace .inventory-filter:hover, :root .crm-workspace .inventory-clear:hover { border-color: #8adfff; color: #fff; box-shadow: 0 0 0 4px rgba(121, 212, 255, .30), 0 0 20px rgba(121, 212, 255, .70), 0 0 40px rgba(121, 212, 255, .50), 0 18px 36px rgba(15, 23, 42, .20); }
  :root .crm-footer { border-top: 1px solid #5a5b5d; background: #4c4c4c; color: #acacac; }
  :root .dashboard-module-card { border: 1px solid #5a5d61; border-radius: 14px; background: #4c4c4c; box-shadow: 0 4px 14px rgba(15,23,42,.05); }
  :root .dashboard-module-card:hover { border-color: #8adfff; box-shadow: 0 9px 22px rgba(30,58,138,.14); }
  :root .dashboard-module-card > span { border-radius: 9px; }
  :root .dashboard-module-card > span.purple { background: #393740; color: #b1a3e9; }
  :root .dashboard-module-card > span.cyan { background: #2c4143; color: #0891b2; }
  :root .dashboard-module-card > span.blue { background: #30353d; color: #86a8e7; }
  :root .dashboard-module-card > span.orange { background: #423b32; color: #ea580c; }
  :root .dashboard-module-card > span.green { background: #34443a; color: #16a34a; }
  :root .dashboard-module-card > span.navy { background: #31343d; color: #a4bdf6; }
  :root .dashboard-module-card small { color: #a6b6cd; }
  :root .dashboard-module-card strong { color: #c2d0ee; }
  :root .dashboard-live .dashboard-card { border-radius: 14px; }
  :root .chart-legend { color: #a6b6cd; }
  :root .chart-legend span { border-radius: 3px; }
  :root .chart-legend span.sales, :root .paired-bars .sales { background: #2563eb; }
  :root .chart-legend span.purchase, :root .paired-bars .purchase { background: #22c55e; }
  :root .chart-legend span.active { background: #22c55e; }
  :root .chart-legend span.inactive { background: #f97316; }
  :root .dashboard-value-strip small { color: #97a8c1; }
  :root .dashboard-value-strip strong { color: #c2d0ee; }
  :root .paired-chart { background: repeating-linear-gradient(to top,transparent 0,transparent 39px,#3c3d3f 40px); }
  :root .paired-bars span { border-radius: 5px 5px 2px 2px; box-shadow: 0 5px 12px rgba(15,23,42,.12); }
  :root .paired-chart-column > small { color: #a6b6cd; }
  :root .document-donut { border-radius: 50%; background: conic-gradient(#8b5cf6 0 var(--opening),#22c55e var(--opening) var(--purchase),#2563eb var(--purchase) 360deg); box-shadow: 0 8px 20px rgba(30,58,138,.16); }
  :root .document-donut::before { border-radius: 50%; background: #4c4c4c; }
  :root .document-donut strong { color: var(--dash-donut-figure, #c2d0ee); }
  :root .document-donut small { color: #97a8c1; }
  :root .document-mix-body li > .insight-radial-swatch { border-radius: 3px; }
  :root .document-mix-body li > span.opening { background: #8b5cf6; }
  :root .document-mix-body li > span.purchase { background: #22c55e; }
  :root .document-mix-body li > span.sales { background: #2563eb; }
  :root .module-health-name { color: #a7b7d1; }
  :root .module-health-name i { color: #a4bdf6; }
  :root .module-health-track { border-radius: 99px; background: #edf1f6; }
  :root .module-health-track .active { background: linear-gradient(90deg,#16a34a,#4ade80); }
  :root .module-health-track .inactive { background: linear-gradient(90deg,#fb923c,#f97316); }
  :root .module-health-count strong { color: #c2d0ee; }
  :root .module-health-count span { color: #97a8c1; }
  :root .dashboard-quick-links a { border: 1px solid #5a5d61; border-radius: 12px; background: #4c4c4c; color: #a4bdf6; }
  :root .dashboard-quick-links a:hover { border-color: #8adfff; box-shadow: 0 7px 18px rgba(30,58,138,.12); }
  :root .payable-bar-chart .receivable-bar-row i { background: linear-gradient(90deg,#7c3aed,#f59e0b); box-shadow: 0 0 12px rgba(245,158,11,.42); }
  :root .payable-donut { border-radius: 50%; background: conic-gradient(#8b5cf6 0 var(--purchase),#f97316 var(--purchase) var(--debit),#14b8a6 var(--debit) 360deg); box-shadow: 0 8px 20px rgba(30,58,138,.16); }
  :root .payable-donut:before { border-radius: 50%; background: #4c4c4c; }
  :root .payable-donut small { color: #97a8c1; }
  :root .document-mix-body li>span.debit-note { background: #f97316; }
  :root .document-mix-body li>span.supplier-payment { background: #14b8a6; }
  :root .receivable-bar-row>span { color: #a6b6cd; }
  :root .receivable-bar-row>div { border-radius: 99px; background: #edf2f8; }
  :root .receivable-bar-row i { border-radius: inherit; background: linear-gradient(90deg,#1e3a8a,#38bdf8); box-shadow: 0 0 12px rgba(56,189,248,.42); }
  :root .receivable-bar-row>strong { color: #c2d0ee; }
  :root .receivable-donut { border-radius: 50%; background: conic-gradient(#2563eb 0 var(--sales),#f59e0b var(--sales) var(--credit),#22c55e var(--credit) 360deg); box-shadow: 0 8px 20px rgba(30,58,138,.16); }
  :root .receivable-donut:before { border-radius: 50%; background: #4c4c4c; }
  :root .receivable-donut small { color: #97a8c1; }
  :root .document-mix-body li>span.credit-note { background: #f59e0b; }
  :root .document-mix-body li>span.customer-payment { background: #22c55e; }
  :root .dashboard-chart-empty { color: #97a8c1; }
  :root .crm-sidebar .crm-nav-link, :root .crm-sidebar .crm-subnav a { border: 1px solid transparent; }
  :root .crm-sidebar .crm-nav-link:not(.active):hover, :root .crm-sidebar .crm-subnav a:not(.active-submenu):hover { border-color: #8adfff; background: linear-gradient(180deg, #132c68 0%, #0d1e4d 45%, #07132b 100%); color: #fff; box-shadow: 0 0 0 3px rgba(121, 212, 255, .24), 0 0 12px rgba(121, 212, 255, .48), 0 10px 22px rgba(0, 0, 0, .28); }
  :root .crm-sidebar .crm-nav-link:not(.active):hover i, :root .crm-sidebar .crm-nav-link:not(.active):hover span, :root .crm-sidebar .crm-subnav a:not(.active-submenu):hover i, :root .crm-sidebar .crm-subnav a:not(.active-submenu):hover span { color: #fff; }
  :root .crm-sidebar .crm-nav-link.active, :root .crm-sidebar .crm-subnav a.active-submenu { border-color: transparent; background: linear-gradient(180deg, #a5edff 0%, #79d4ff 52%, #62c5f2 100%); color: #101936 !important; box-shadow: 0 0 0 3px #07132b, 0 0 8px 2px rgba(30, 58, 138, .95), 0 0 20px 4px rgba(13, 30, 77, .72), 0 15px 28px rgba(0, 0, 0, .48), 0 0 28px rgba(121, 212, 255, .36), inset 0 1px 1px rgba(255, 255, 255, .72); }
  :root .crm-sidebar .crm-nav-link.active i, :root .crm-sidebar .crm-nav-link.active span, :root .crm-sidebar .crm-subnav a.active-submenu i, :root .crm-sidebar .crm-subnav a.active-submenu span { color: #101936 !important; }
  :root .crm-sidebar .crm-nav-link.active:hover, :root .crm-sidebar .crm-subnav a.active-submenu:hover { background: linear-gradient(180deg, #b5f1ff 0%, #83dcff 52%, #6bcbf4 100%); color: #101936 !important; }
  :root .crm-workspace, :root .crm-content, :root .inventory-page-scroll { background: #353638; }
  :root .crm-topbar, :root .crm-footer { background: #3c3d3f; }
  :root .metric-card, :root .dashboard-card, :root .dashboard-module-card, :root .dashboard-quick-links a, :root .quick-grid > button { background: #3c3d3f; }
  :root .document-donut::before, :root .payable-donut::before, :root .receivable-donut::before { background: #3c3d3f; }
  :root .crm-menu-toggle, :root .crm-icon-button, :root .dashboard-card .card-heading, :root .dashboard-card .card-footer { background: #3c3d3f; }
  :root .crm-topbar, :root .crm-footer, :root .metric-card, :root .dashboard-module-card, :root .dashboard-quick-links a, :root .quick-grid > button { background: #4c4c4c; }
  :root .dashboard-card, :root .dashboard-card .card-heading, :root .dashboard-card .card-footer, :root .document-mix-body, :root .receivable-bar-chart, :root .payable-bar-chart, :root .dashboard-chart-empty { background: #303133; }
  :root .document-donut::before, :root .payable-donut::before, :root .receivable-donut::before { background: #303133; }
  :root .crm-workspace, :root .crm-content, :root .inventory-page-scroll { background: #414242; }
  :root .dashboard-card { border-color: #5c5e61; background: #4c4c4c; box-shadow: 0 5px 16px rgba(15, 23, 42, .06); }
  :root .dashboard-card .card-heading, :root .dashboard-card .card-footer { background: #454646; }
  :root .document-mix-body, :root .receivable-bar-chart, :root .payable-bar-chart, :root .dashboard-chart-empty, :root .module-health-list, :root .dashboard-value-strip { background: #474848; }
  :root .paired-chart { background-color: #474848; background-image: repeating-linear-gradient(to top, transparent 0, transparent 39px, #27292c 40px); }
  :root .document-donut::before, :root .payable-donut::before, :root .receivable-donut::before { background: #4c4c4c; }
  :root .dashboard-chart-empty, :root .dashboard-value-strip small { color: #a6b6cd; }
  :root .document-donut small, :root .payable-donut small, :root .receivable-donut small { color: #a6b6cd; }
  :root .receivable-bar-row > div, :root .module-health-track { background: #dde3e9; }
  :root .crm-topbar, :root .crm-footer, :root .metric-card, :root .dashboard-module-card { background: #424446; }
  :root .dashboard-card .card-heading, :root .dashboard-card .card-footer, :root .dashboard-value-strip, :root .paired-chart, :root .document-mix-body, :root .receivable-bar-chart, :root .payable-bar-chart, :root .dashboard-chart-empty, :root .module-health-list { background-color: #444547; }
  :root .paired-chart { background-image: repeating-linear-gradient(to top, transparent 0, transparent 39px, #2c3034 40px); }
  :root .receivable-bar-row > div, :root .module-health-track { background: #e5eef5; }
  :root .crm-workspace, :root .crm-content, :root .inventory-page-scroll { background: #37393b; }
  :root .crm-topbar, :root .crm-footer, :root .metric-card, :root .dashboard-module-card, :root .dashboard-quick-links a, :root .quick-grid > button { background: #3d3f41; }
  :root .dashboard-card { border-color: #5b5f63; background: #404142; }
  :root .dashboard-card .card-heading, :root .dashboard-card .card-footer, :root .dashboard-value-strip, :root .paired-chart, :root .document-mix-body, :root .receivable-bar-chart, :root .payable-bar-chart, :root .dashboard-chart-empty, :root .module-health-list { background-color: #3c3e3f; }
  :root .document-donut::before, :root .payable-donut::before, :root .receivable-donut::before { background: #3c3e3f; }
  :root .paired-chart { background-image: repeating-linear-gradient(to top, transparent 0, transparent 39px, #262a2e 40px); }
  :root .crm-workspace, :root .crm-content, :root .inventory-page-scroll { background: #2c2f32; }
  :root .crm-topbar, :root .crm-footer, :root .metric-card, :root .dashboard-module-card, :root .dashboard-quick-links a, :root .quick-grid > button { background: #323538; }
  :root .dashboard-card { border-color: #5d6267; background: #343638; box-shadow: 0 2px 8px rgba(15, 31, 58, .05); }
  :root .dashboard-card .card-heading, :root .dashboard-card .card-footer, :root .dashboard-value-strip, :root .paired-chart, :root .document-mix-body, :root .receivable-bar-chart, :root .payable-bar-chart, :root .dashboard-chart-empty, :root .module-health-list { background-color: #2f3235; }
  :root .document-donut::before, :root .payable-donut::before, :root .receivable-donut::before { background: #2f3235; }
  :root .paired-chart { background-image: repeating-linear-gradient(to top, transparent 0, transparent 39px, #1a1e22 40px); }
  :root .crm-footer { border-top-color: #666c72; background: #24282b; color: #a6b6cd; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
  :root .crm-topbar { border-bottom-color: #666c72; background: #262a2d; box-shadow: 0 2px 7px rgba(15, 31, 58, .07); }
  :root .crm-topbar .crm-menu-toggle, :root .crm-topbar .crm-icon-button { border-color: #62676d; background: #303234; box-shadow: none; }
  :root .crm-topbar-title strong { color: #b4ccf8; }
  :root .crm-breadcrumb { color: #a6b8d3; }
  :root .crm-breadcrumb b, :root .crm-breadcrumb a { color: #a0c1f7; }
  :root .crm-breadcrumb i { color: #9aa6b9; }
  :root .crm-breadcrumb span { color: #a6b8d3; }
  :root .crm-workspace .dashboard-card, :root .crm-workspace .metric-card, :root .crm-workspace .dashboard-module-card { border-color: #697078; background: #2f3133; box-shadow: 0 2px 7px rgba(15, 31, 58, .08), 0 0 0 1px rgba(79, 96, 116, .08); }
  :root .crm-workspace .dashboard-card .card-heading, :root .crm-workspace .dashboard-card .card-footer, :root .crm-workspace .dashboard-value-strip, :root .crm-workspace .document-mix-body, :root .crm-workspace .receivable-bar-chart, :root .crm-workspace .payable-bar-chart, :root .crm-workspace .dashboard-chart-empty, :root .crm-workspace .module-health-list { background-color: #2f3133; }
  :root .crm-workspace .dashboard-card, :root .crm-workspace .metric-card, :root .crm-workspace .dashboard-module-card, :root .crm-workspace .dashboard-quick-links a, :root .crm-workspace .quick-grid > button { border: 1px solid #666c72; box-shadow: 0 2px 7px rgba(15, 31, 58, .08), 0 0 0 1px rgba(79, 96, 116, .06); }
  :root .crm-workspace .dashboard-card .card-heading { border-bottom-color: #666c72; }
  :root .crm-workspace .metric-card, :root .crm-workspace .dashboard-module-card { background: #38393b; }
  :root .crm-workspace .metric-card .metric-meta > span, :root .crm-workspace .dashboard-module-card small { color: #abc0da; }
  :root .crm-workspace .metric-card .metric-meta strong, :root .crm-workspace .dashboard-module-card strong { color: #bad1f6; }
  :root .crm-workspace .metric-card:hover, :root .crm-workspace .dashboard-module-card:hover { border-color: #8adfff; background: #323436; box-shadow: 0 0 0 3px rgba(121, 212, 255, .22), 0 0 12px rgba(121, 212, 255, .38); }
  :root .crm-workspace .dashboard-module-card { box-shadow: 0 1px 3px rgba(49, 95, 165, .08); }
  :root .crm-workspace .dashboard-module-card > span, :root .crm-workspace .dashboard-module-card > span.purple, :root .crm-workspace .dashboard-module-card > span.cyan, :root .crm-workspace .dashboard-module-card > span.blue, :root .crm-workspace .dashboard-module-card > span.orange, :root .crm-workspace .dashboard-module-card > span.green, :root .crm-workspace .dashboard-module-card > span.navy { border-radius: 0; background: transparent; color: #a4bdf6; }
  :root .crm-workspace .dashboard-module-card:hover { box-shadow: 0 0 0 3px rgba(121, 212, 255, .22), 0 0 12px rgba(121, 212, 255, .38); }
  :root .crm-workspace .dashboard-card, :root .crm-workspace .dashboard-card .card-heading, :root .crm-workspace .dashboard-card .card-footer, :root .crm-workspace .dashboard-value-strip, :root .crm-workspace .paired-chart, :root .crm-workspace .document-mix-body, :root .crm-workspace .receivable-bar-chart, :root .crm-workspace .payable-bar-chart, :root .crm-workspace .dashboard-chart-empty, :root .crm-workspace .module-health-list, :root .crm-workspace .document-donut::before, :root .crm-workspace .payable-donut::before, :root .crm-workspace .receivable-donut::before { background-color: #38393b; }
  :root .crm-topbar, :root .crm-footer { background: #38393b; }
  :root .crm-notifications-settings { border-top: 1px solid var(--iv-border); }
  :root .crm-notifications-settings button { border: 0; background: transparent; color: #9ab6f8; }
  :root .crm-notifications-settings span { color: #a6b6cd; }
  :root .crm-activity-toast a.clue-toast-copy { color: inherit; }
  :root .crm-search-panel, :root .crm-notifications-panel { background: var(--crm-notification-glass-fallback, linear-gradient(135deg, #47494a, #36393c)); box-shadow: 0 18px 40px rgba(15,23,42,.14), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(88,131,177,.16); }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    :root .crm-search-panel, :root .crm-notifications-panel { background: var(--crm-notification-glass-surface, linear-gradient(135deg, rgba(71, 73, 74, 0.74), rgba(52, 57, 61, 0.68))); }
  }
  @media (prefers-reduced-transparency: reduce) {
    :root .crm-search-panel, :root .crm-notifications-panel { background: #3d3f41; }
  }
  :root .crm-notifications-list a, :root .crm-search-result { border-radius: 10px; }
  :root .crm-search-result.active, :root .crm-search-result:focus-visible, :root .crm-notifications-list a:focus-visible { background: linear-gradient(135deg, rgba(76, 76, 76, 0.68), rgba(20, 33, 47, 0.45)); box-shadow: inset 0 0 0 1px rgba(103,155,208,.35), inset 0 1px 0 rgba(255,255,255,.8), 0 3px 9px rgba(25,58,101,.12); }
  :root .crm-search-result:focus-visible, :root .crm-notifications-list a:focus-visible { outline: 2px solid #3977a8; outline-offset: 1px; }
  @media (hover: hover) and (pointer: fine) {
    :root .crm-search-result:hover, :root .crm-notifications-list a:hover { background: linear-gradient(135deg, rgba(76, 76, 76, 0.68), rgba(20, 33, 47, 0.45)); box-shadow: inset 0 0 0 1px rgba(103,155,208,.35), inset 0 1px 0 rgba(255,255,255,.8), 0 3px 9px rgba(25,58,101,.12); }
  }
  @media (prefers-reduced-transparency: reduce) {
    :root .crm-search-result:is(:hover, :focus-visible, .active), :root .crm-notifications-list a:is(:hover, :focus-visible) { background: #383b3e; }
  }
  :root .crm-search-status { color: #becce4; }
  :root .crm-search-spinner { border: 1.5px solid #526d9b; border-radius: 50%; }
  :root .crm-search-spinner::after { border-radius: 50%; background: #1d4ed8; box-shadow: 0 0 4px 1px rgba(29,78,216,.75); }
  :root .dashboard-sales-chart .paired-bars > span:focus-visible { outline: 2px solid #132c68; outline-offset: 3px; }
  :root .dashboard-trend-popup { border: 1px solid #656b73; border-radius: 14px; background: linear-gradient(135deg,rgba(76, 76, 76, 0.98),rgba(48, 58, 64, 0.98)),#3e4144; box-shadow: 0 8px 24px rgba(15,23,42,.18); color: #b7c7e3; }
  :root .dashboard-trend-popup small { color: #abc7ff; }
  :root .dashboard-trend-popup[data-series="sales"] strong { color: #90aff0; }
  :root .dashboard-trend-popup[data-series="purchase"] strong { color: #7bbc89; }
  :root .dashboard-trend-popup::after { background: #3e4144; border-top: 1px solid #656b73; border-left: 1px solid #656b73; }
  :root:root { --chart-blue: #3b82f6; --chart-sales: #1e40af; --chart-sales-edge: #172554; --chart-sales-sheen: #3b82f6; --chart-sales-cap: #3b6fd8; --chart-sales-base: #0f1d4a; --chart-blue-deep: #2563eb; --chart-blue-light: #60a5fa; --chart-cyan: #06b6d4; --chart-cyan-edge: #0e7490; --chart-cyan-sheen: #67e8f9; --chart-cyan-cap: #a5f3fc; --chart-cyan-base: #155e75; --chart-cyan-deep: #0891b2; --chart-cyan-light: #22d3ee; --chart-indigo: #6366f1; --chart-pink: #ec4899; --chart-amber: #f59e0b; --chart-amber-light: #fbbf24; --chart-emerald: #10b981; --chart-red: #ef4444; --chart-red-light: #f87171; }
  :root .chart-legend span.sales { background: var(--chart-sales, #1e40af); }
  :root .chart-legend span.purchase { background: var(--chart-cyan); }
  :root .paired-bars .sales { background: linear-gradient(180deg, var(--chart-blue-light), var(--chart-blue-deep)); box-shadow: 0 6px 14px rgba(37, 99, 235, .28); }
  :root .paired-bars .purchase { background: linear-gradient(180deg, var(--chart-cyan-light), var(--chart-cyan-deep)); box-shadow: 0 6px 14px rgba(8, 145, 178, .26); }
  :root .chart-legend span.active { background: var(--chart-emerald); }
  :root .chart-legend span.inactive { background: var(--chart-red); }
  :root .dashboard-trend-popup[data-series="sales"] strong { color: var(--chart-blue-deep); }
  :root .dashboard-trend-popup[data-series="purchase"] strong { color: #62b8d7; }
  :root .document-donut { background: conic-gradient(var(--chart-amber) 0 var(--opening), var(--chart-cyan) var(--opening) var(--purchase), var(--chart-sales) var(--purchase) 360deg); box-shadow: 0 8px 22px rgba(37, 99, 235, .22); }
  :root .receivable-donut { background: conic-gradient(var(--chart-sales) 0 var(--sales), var(--chart-amber) var(--sales) var(--credit), var(--chart-emerald) var(--credit) 360deg); box-shadow: 0 8px 22px rgba(37, 99, 235, .22); }
  :root .payable-donut { background: conic-gradient(var(--chart-cyan) 0 var(--purchase), var(--chart-pink) var(--purchase) var(--debit), var(--chart-indigo) var(--debit) 360deg); box-shadow: 0 8px 22px rgba(99, 102, 241, .22); }
  :root .document-mix-body li > span.opening, :root .document-mix-body li > span.credit-note { background: var(--chart-amber); }
  :root .document-mix-body li > span.purchase { background: var(--chart-cyan); }
  :root .document-mix-body li > span.sales { background: var(--chart-sales, #1e40af); }
  :root .document-mix-body li > span.customer-payment { background: var(--chart-emerald); }
  :root .document-mix-body li > span.debit-note { background: var(--chart-pink); }
  :root .document-mix-body li > span.supplier-payment { background: var(--chart-indigo); }
  :root .receivable-bar-row i { background: linear-gradient(90deg, var(--chart-blue-deep), var(--chart-cyan-light)); box-shadow: 0 0 10px rgba(34, 211, 238, .35); }
  :root .payable-bar-chart .receivable-bar-row i { background: linear-gradient(90deg, var(--chart-indigo), var(--chart-pink)); box-shadow: 0 0 10px rgba(236, 72, 153, .30); }
  :root .module-health-track .active { background: linear-gradient(90deg, var(--chart-emerald), var(--chart-cyan-light)); }
  :root .module-health-track .inactive { background: linear-gradient(90deg, var(--chart-red-light), var(--chart-red)); }
  :root .setup-progress span { background: linear-gradient(90deg, var(--chart-blue-deep), var(--chart-cyan-light)); }
  :root .crm-workspace .dashboard-tabs-frame > .dashboard-tab-body.inventory-page-scroll { background: transparent; }
  :root .insight-bars .receivable-bar-row > strong small { color: #97a8c1; }
  :root .insight-bars--blue .receivable-bar-row i { background: linear-gradient(90deg,#2563eb,#22d3ee); box-shadow: 0 0 10px rgba(34,211,238,.35); }
  :root .insight-bars--cyan .receivable-bar-row i { background: linear-gradient(90deg,#0891b2,#67e8f9); box-shadow: 0 0 10px rgba(6,182,212,.35); }
  :root .insight-bars--indigo .receivable-bar-row i { background: linear-gradient(90deg,#4f46e5,#a78bfa); box-shadow: 0 0 10px rgba(129,140,248,.35); }
  :root .insight-bars--pink .receivable-bar-row i { background: linear-gradient(90deg,#6366f1,#ec4899); box-shadow: 0 0 10px rgba(236,72,153,.30); }
  :root .insight-bars--amber .receivable-bar-row i { background: linear-gradient(90deg,#d97706,#fbbf24); box-shadow: 0 0 10px rgba(245,158,11,.30); }
  :root .insight-bars--emerald .receivable-bar-row i { background: linear-gradient(90deg,#059669,#22d3ee); box-shadow: 0 0 10px rgba(16,185,129,.30); }
  :root .rating-donut { border-radius: 50%; background: conic-gradient(#ec4899 0 var(--hot), #f59e0b var(--hot) var(--warm), #06b6d4 var(--warm) var(--cold), #94a3b8 var(--cold) 360deg); box-shadow: 0 8px 22px rgba(236,72,153,.20); }
  :root .rating-donut::before { border-radius: 50%; background: #38393b; }
  :root .rating-donut strong { color: var(--dash-donut-figure, #c2d0ee); }
  :root .rating-donut small { color: #a6b6cd; }
  :root .document-mix-body li > span.hot { background: #ec4899; }
  :root .document-mix-body li > span.warm { background: #f59e0b; }
  :root .document-mix-body li > span.cold { background: #06b6d4; }
  :root .document-mix-body li > span.unrated { background: #94a3b8; }
  :root .insight-pipeline { --insight-pipeline-section-height: 56px; }
  :root .insight-pipeline > div { border-left: 4px solid #2563eb; border-radius: 10px; background: #434547; }
  :root .insight-pipeline > div:nth-child(2) { border-left-color: #06b6d4; }
  :root .insight-pipeline > div:nth-child(3) { border-left-color: #f59e0b; }
  :root .insight-pipeline small { color: #a6b6cd; }
  :root .insight-pipeline strong { color: #c2d0ee; }
  :root .insight-pipeline em { color: #a6b6cd; }
  :root .insight-table { border-collapse: collapse; }
  :root .insight-table th { border-bottom: 2px solid #1e3a8a; color: #a4bdf6; }
  :root .insight-table td { border-bottom: 1px solid #595b5f; color: #c0cddf; }
  :root .insight-table tbody tr:hover { background: #434547; }
  :root .insight-table td small { color: #a6b6cd; }
  :root .insight-meter { border-radius: 99px; background: #e2e8f0; }
  :root .insight-meter i { border-radius: inherit; background: linear-gradient(90deg,#2563eb,#22d3ee); }
  :root .dashboard-live .dashboard-card.insight-card > :first-child { border-top-left-radius: inherit; border-top-right-radius: inherit; }
  :root .dashboard-live .dashboard-card.insight-card > :last-child { border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; }
  :root:root { --dash-chart-item-size: 10px; --dash-chart-plot-height: 260px; --dash-chart-footer-height: 36px; }
  :root .crm-workspace .insight-period .select2-selection--single { border-radius: 9px !important; }
  :root .crm-workspace .insight-period .select2-selection__rendered { color: #a4bdf6 !important; }
  :root .insight-period select { border: 1px solid #5c6269; border-radius: 9px; background-color: #4c4c4c; color: #a4bdf6; }
  :root .insight-period-custom { border: 1px solid #5c6166; border-radius: 14px; background: #4c4c4c; box-shadow: 0 18px 40px rgba(15,23,42,.18); }
  :root .insight-period-custom::before { background: #4c4c4c; border-left: 1px solid #5c6166; border-top: 1px solid #5c6166; }
  :root .insight-period-field > span { color: #a6b6cd; }
  :root .crm-workspace .insight-period-field .custom-field-calendar-only { background: #4c4c4c; }
  :root .crm-workspace .card-heading .insight-period-field .custom-field-datetime-date-trigger { color: #c2d0ee; }
  :root .insight-period-error { color: #e6958a; }
  :root:root .crm-workspace .insight-period-field .custom-field-calendar-only:has([aria-invalid="true"]) { border-color: #dc2626 !important; box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
  :root .donut--interactive { background: none !important; }
  :root .donut-slice { outline: none; }
  :root .donut-slice :is(.donut-slice-side, .donut-slice-gloss) { stroke: none; }
  :root .donut-slice:focus-visible .donut-slice-face { stroke: #132c68 !important; }
  :root .receivable-bar-row[data-trend-amount], :root .module-health-row[data-trend-amount], :root .insight-meter[data-trend-amount] { border-radius: 8px; }
  :root .receivable-bar-row[data-trend-amount]:hover, :root .module-health-row[data-trend-amount]:hover { background: rgba(76, 76, 76, 0.45); }
  :root .receivable-bar-row[data-trend-amount]:focus-visible, :root .module-health-row[data-trend-amount]:focus-visible, :root .insight-meter[data-trend-amount]:focus-visible { outline: 2px solid #132c68; outline-offset: 2px; }
  :root .receivable-bar-row[aria-expanded="true"] { background: rgba(76, 76, 76, 0.6); }
  :root .receivable-bar-row[aria-expanded="true"] i, :root .module-health-row[aria-expanded="true"] .module-health-track > span, :root .insight-meter[aria-expanded="true"] i { box-shadow: 0 6px 12px rgba(15,23,42,.28), inset 0 1px 0 rgba(255,255,255,.55); }
  :root .dashboard-sales-chart .paired-bars > span[aria-expanded="true"] { box-shadow: 0 10px 18px rgba(15,23,42,.3), inset 0 1px 0 rgba(255,255,255,.6); }
  :root .dashboard-trend-popup[data-series="tone"] strong { color: #c2d0ee; }
  :root .dashboard-trend-popup[data-series="plain"] strong { color: #c2d0ee; }
  :root .dashboard-trend-popup small { color: var(--dash-legend-ink, #afc0d9); }
  :root .dashboard-trend-popup strong, :root .dashboard-trend-popup:is([data-series="sales"], [data-series="purchase"]) strong { color: var(--dash-donut-figure, #c2d0ee); }
  :root .module-health-track > span:first-child { border-radius: 99px 0 0 99px; }
  :root .module-health-track > span:last-child { border-radius: 0 99px 99px 0; }
  :root .module-health-track > span:only-child, :root .module-health-track > span:first-child:has(+ span[style*="width:0%"]) { border-radius: 99px; }
  :root .insight-card .card-heading h2 .insight-title-period { color: #99b7f9; }
  :root .dashboard-live { --dash-legend-ink: #afc0d9; --dash-secondary-ink: #a6b6cd; }
  :root .crm-workspace .dashboard-live .chart-legend { color: var(--dash-legend-ink); }
  :root .crm-workspace .dashboard-live .document-mix-body li div { color: var(--dash-legend-ink); }
  :root .crm-workspace .dashboard-live .card-heading p, :root .crm-workspace .dashboard-live .dashboard-value-strip small, :root .crm-workspace .dashboard-live .insight-table td small, :root .crm-workspace .dashboard-live .dashboard-module-card small { color: var(--dash-secondary-ink); }
  :root .crm-workspace .dashboard-live .paired-chart-column > small, :root .crm-workspace .dashboard-live :is(.document-donut, .receivable-donut, .payable-donut, .rating-donut) small, :root .crm-workspace .dashboard-live .module-health-count span, :root .crm-workspace .dashboard-live .insight-bars .receivable-bar-row > strong small, :root .crm-workspace .dashboard-live .receivable-bar-row > span, :root .crm-workspace .dashboard-live .module-health-name, :root .crm-workspace .dashboard-live .insight-pipeline :is(small, em) { color: var(--dash-secondary-ink); }
  :root:root { --dash-donut-figure: #172036; }
  :root .crm-workspace .dashboard-live :is(.document-donut, .receivable-donut, .payable-donut, .rating-donut) > span strong { color: var(--dash-donut-figure); }
  :root:root { --dash-donut-figure-size: 12px; }
  :root .crm-workspace .dashboard-live .gauge-ring > span { color: var(--dash-donut-figure); }
  :root .crm-workspace .dashboard-live .paired-bars > span { border: 1px solid rgba(15,35,62,.3); }
  :root .crm-workspace .dashboard-live .paired-bars > .sales { border-color: color-mix(in srgb, var(--chart-blue-deep, #1d4ed8) 75%, #0f172a); }
  :root .crm-workspace .dashboard-live .paired-bars > .purchase { border-color: color-mix(in srgb, var(--chart-cyan-deep, #0e7490) 75%, #0f172a); }
  :root .crm-workspace .dashboard-live :is(.receivable-bar-row i, .module-health-track > span, .insight-meter i) { border: 1px solid rgba(15,35,62,.28); background-clip: padding-box; }
  :root .crm-workspace .dashboard-live :is(.receivable-bar-row i, .module-health-track > span, .insight-meter i)[style*="width:0%"] { border: 0; }
  :root .crm-workspace .dashboard-live :is(.receivable-bar-row > div, .module-health-track, .insight-meter) { border: 1px solid rgba(100,116,139,.32); box-shadow: inset 0 1px 2px rgba(15,23,42,.08); }
  :root .crm-workspace .dashboard-live .receivable-bar-row > div { background: #edf2f8; }
  :root .crm-workspace .dashboard-live .receivable-bar-row[aria-expanded="true"] > div, :root .crm-workspace .dashboard-live .module-health-row[aria-expanded="true"] .module-health-track, :root .crm-workspace .dashboard-live .insight-meter[aria-expanded="true"] { border-color: rgba(30,58,138,.5); box-shadow: 0 6px 12px rgba(15,23,42,.2), inset 0 1px 2px rgba(15,23,42,.08); }
  :root .crm-workspace .dashboard-live .receivable-bar-row[aria-expanded="true"] i, :root .crm-workspace .dashboard-live .module-health-row[aria-expanded="true"] .module-health-track > span, :root .crm-workspace .dashboard-live .insight-meter[aria-expanded="true"] i { box-shadow: inset 0 1px 0 rgba(255,255,255,.45); }
  :root .donut--interactive::before { box-shadow: inset 0 4px 9px rgba(15,23,42,.2), inset 0 -2px 4px rgba(255,255,255,.6), 0 1px 0 rgba(255,255,255,.7); }
  :root .donut--interactive { box-shadow: none !important; }
  :root .insight-brand-segment { border: 0; border-radius: 6px; background: linear-gradient(155deg, rgba(76, 76, 76, 0.6), transparent 50%),
        color-mix(in srgb, var(--tile) 25%, #4c4c4c); box-shadow: inset 0 3px var(--tile), inset 0 0 0 1px color-mix(in srgb, var(--tile) 65%, #172036),
        0 4px color-mix(in srgb, var(--tile) 60%, #172036), 0 7px 10px #0f233e26; }
  :root .insight-share-row { border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--dash-legend-ink, #afc0d9); }
  :root .insight-share-row:hover, :root .insight-share-row[aria-expanded="true"] { border-color: #5b6167; background: rgba(76, 76, 76, 0.68); }
  :root .insight-share-row:focus-visible { outline: 2px solid #132c68; outline-offset: 1px; }
  :root .insight-share-row strong { color: #c2d0ee; }
  :root .insight-share-swatch, :root .insight-dot-marker { border-radius: 2px; background: linear-gradient(145deg, color-mix(in srgb, var(--tile) 52%, white), var(--tile)); box-shadow: 0 2px color-mix(in srgb, var(--tile) 60%, #172036), 0 4px 6px #0f233e40; }
  :root .insight-dot-axis { border-top: 1px dotted #8093aa; }
  :root .dashboard-live .paired-bars > .sales { --bar: var(--chart-blue, #3b82f6); }
  :root .dashboard-live .paired-bars > .purchase { --bar: var(--chart-cyan, #06b6d4); }
  :root .crm-workspace .dashboard-live .paired-bars > span { border-radius: 0 0 50% 50% / 0 0 3px 3px; --column-rim: color-mix(in srgb, var(--bar) 65%, #172036); border: 1px solid var(--column-rim) !important; border-top: 0 !important; background: linear-gradient(90deg,
        color-mix(in srgb, var(--bar) 83%, #172036),
        color-mix(in srgb, var(--bar) 79%, #fff) 34%,
        var(--bar) 64%, color-mix(in srgb, var(--bar) 76%, #172036)) !important; box-shadow: none !important; }
  :root .crm-workspace .dashboard-live .paired-bars > span::before { border-radius: 50%; border: 1px solid var(--column-rim); background: linear-gradient(160deg,
        color-mix(in srgb, var(--bar) 53%, #fff), color-mix(in srgb, var(--bar) 84%, #fff)); box-shadow: none; }
  :root .crm-workspace .dashboard-live .dashboard-sales-chart .paired-bars > span[aria-expanded="true"] { outline: none; }
  :root .crm-workspace .dashboard-live .dashboard-sales-chart .paired-bars > span[aria-expanded="true"]:not(:focus-visible) { outline: none; }
  :root :is(.receivable-bar-row i, .module-health-track > span, .insight-meter i) { --rod-colour: var(--chart-sales); --rod-edge: var(--chart-sales-edge); --rod-sheen: var(--chart-sales-sheen); --rod-cap: var(--chart-sales-cap); }
  :root :is(.payable-bar-chart, .insight-bars--cyan) .receivable-bar-row i { --rod-colour: var(--chart-cyan); --rod-edge: var(--chart-cyan-edge); --rod-sheen: var(--chart-cyan-sheen); --rod-cap: var(--chart-cyan-cap); }
  :root :is(.insight-bars--amber .receivable-bar-row i, .stock-level-low i, .module-health-track .inactive) { --rod-colour: var(--chart-amber); --rod-edge: #b45309; --rod-sheen: #fcd34d; --rod-cap: #fde68a; }
  :root :is(.insight-bars--emerald .receivable-bar-row i, .module-health-track .active) { --rod-colour: var(--chart-emerald); --rod-edge: #047857; --rod-sheen: #6ee7b7; --rod-cap: #a7f3d0; }
  :root .insight-bars--indigo .receivable-bar-row i { --rod-colour: var(--chart-indigo); --rod-edge: #4338ca; --rod-sheen: #a5b4fc; --rod-cap: #c7d2fe; }
  :root .insight-bars--pink .receivable-bar-row i { --rod-colour: var(--chart-pink); --rod-edge: #be185d; --rod-sheen: #f9a8d4; --rod-cap: #fbcfe8; }
  :root :is(.dashboard-live, .insight-card-body) :is(.receivable-bar-row i, .module-health-track > span, .insight-meter i) { background: linear-gradient(180deg, var(--rod-edge), var(--rod-sheen) 35%, var(--rod-colour) 70%, var(--rod-edge)); box-shadow: none; }
  :root :is(.dashboard-live, .insight-card-body) :is(.receivable-bar-row i, .module-health-track > span, .insight-meter i)::before { border-radius: 50%; background: radial-gradient(ellipse at 40% 35%, var(--rod-cap), var(--rod-colour)); box-shadow: inset 0 0 0 1px rgba(15,23,42,.22); }
  :root .crm-workspace .dashboard-live :is(.receivable-bar-row > div, .module-health-track, .insight-meter) { box-shadow: inset 0 2px 3px rgba(15,23,42,.2), inset 0 -1px 0 rgba(255,255,255,.7), 0 1px 0 rgba(255,255,255,.75); }
  :root .radial-track, :root .gauge-track { fill: var(--gauge-track, #e1e7ee); stroke: none; }
  :root .radial-arc { outline: none; }
  :root .radial-hit { fill: transparent; }
  :root .radial-arc:focus-visible:not([aria-expanded="true"]) .chart-arc-face { stroke: #132c68 !important; }
  :root :is(.document-mix-body > ul > li, .insight-radial-legend li) { border-radius: 8px; }
  :root :is(.document-mix-body li[data-chart-slice], .insight-radial-legend li):is(:hover, :focus-visible, .is-selected) { background: rgba(76, 76, 76, 0.7); outline: none; }
  :root :is(.document-mix-body li[data-chart-slice].is-selected, .insight-radial-legend li.is-selected) { box-shadow: inset 3px 0 0 var(--c); }
  :root .insight-radial-swatch { background-color: var(--c); }
  :root .insight-radial-name { color: var(--dash-legend-ink, #afc0d9); }
  :root .gauge-ring > span { color: var(--dash-donut-figure, #c2d0ee); }
  :root .mini-gauge { outline: none; border-radius: 50%; }
  :root .mini-gauge:focus-visible { outline: 2px solid #132c68; outline-offset: 2px; }
  :root .health-gauge { --c: #10b981; }
  :root .dashboard-block-card { border: 1px solid #5b6167; border-radius: 10px; color: #c2d0ee; background: rgba(76, 76, 76, 0.33); }
  :root .dashboard-block-card small { color: var(--dash-secondary-ink, #97a8c1); }
  :root .dashboard-block-card:hover, :root .dashboard-block-card[aria-expanded="true"] { background: rgba(76, 76, 76, 0.68); }
  :root .dashboard-block-card:focus-visible { outline: 2px solid #132c68; outline-offset: 1px; }
  :root .crm-workspace .dashboard-page > .dashboard-action-footer { border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; }
  :root .crm-workspace .dashboard-page > .dashboard-tab-plain ~ .dashboard-action-footer { border-top-left-radius: 14px !important; border-top-right-radius: 14px !important; }
  :root .dashboard-action-note { color: #a6b6cd; }
  :root .dashboard-action-note i { color: #a4bdf6; }
  :root .dashboard-action-note strong { color: #c2d0ee; }
  :root .crm-workspace .insight-brand-chart .insight-share-row strong { color: #c2d0ee; }
  :root .insight-card-footer, :root .insight-card-body:not(:has(> .insight-card-footer))::after { border-block-start: 1px solid #666c72; color: var(--dash-secondary-ink, #97a8c1); }
  :root .custom-line-grid { stroke: #d6dee8; }
  :root .custom-line-svg polyline { fill: none; }
  :root .custom-line-depth { stroke: var(--chart-sales-edge); }
  :root .custom-line-path { stroke: var(--chart-sales); }
  :root .custom-line-highlight { stroke: #93c5fd; }
  :root .custom-trend-path { stroke: #f59e0b; }
  :root .custom-trend-path.custom-trend-depth { stroke: #b45309; }
  :root .custom-line-point { border: 0; border-radius: 50%; background: transparent; }
  :root .custom-line-point > span { border: 2.5px solid #2563eb; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffffff, #dbeafe); box-shadow: 0 2px 4px rgba(15,35,62,.3); }
  :root .custom-line-point:focus-visible { outline: 2px solid #132c68; outline-offset: 2px; }
  :root .custom-line-labels { color: var(--dash-secondary-ink, #97a8c1); }
  :root .custom-funnel-stage { border: 0; background: none; }
  :root .custom-funnel-stage > span { border-radius: 10px; color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 80%, #0f172a), color-mix(in srgb, var(--c) 75%, #ffffff) 35%, var(--c) 70%, color-mix(in srgb, var(--c) 70%, #0f172a)); box-shadow: inset 0 1px 0 #ffffff8c, inset 0 -4px 0 color-mix(in srgb, var(--c) 55%, #0f172a); }
  :root .custom-funnel-stage strong { text-shadow: 0 1px 2px rgba(15,23,42,.35); }
  :root .custom-funnel-stage em { text-shadow: 0 1px 2px rgba(15,23,42,.35); }
  :root .stock-movement-lines .custom-line-depth.stock-line-in { stroke: #155e75; }
  :root .stock-movement-lines .custom-line-path.stock-line-in { stroke: #0891b2; }
  :root .stock-movement-lines .custom-line-highlight.stock-line-in { stroke: #67e8f9; }
  :root .stock-movement-lines .stock-point-in > span { border-color: #0891b2; background: radial-gradient(circle at 35% 35%, #4c4c4c, #2c4143); }
  :root .stock-demo-list { --stock-demo-row-height: 72px; --stock-demo-three-row-cap: calc(var(--stock-demo-row-height) + var(--stock-demo-row-height) + var(--stock-demo-row-height) + 46px); }
  :root .stock-demo-row .gauge-ring > span small { color: var(--dash-secondary-ink, #97a8c1); }
  :root .stock-demo-text strong { color: #c2d0ee; }
  :root .stock-demo-due { color: color-mix(in srgb, var(--c) 78%, #c2d0ee); }
  :root .stock-demo-due small { color: var(--dash-secondary-ink, #97a8c1); }
  :root .c3d { --c3d-top: 26px; }
  :root .c3d.c3d--rotate { --c3d-top: 62px; }
  :root .c3d.c3d--novalues { --c3d-top: 14px; }
  :root .c3d__axis span { color: #a6b6cd; }
  :root .c3d__grid { border-top: 1px solid #dbe3ec; }
  :root .c3d__grid--zero { border-top-color: #a5b4c8; }
  :root .c3d__slot { border: 0; border-radius: 6px; background: transparent; }
  :root .c3d__slot:hover, :root .c3d__slot[aria-expanded="true"] { background: rgba(100,116,139,.09); }
  :root .c3d__slot:focus-visible { outline: 2px solid #132c68; outline-offset: 2px; }
  :root .c3d__bar { background: linear-gradient(90deg, var(--d) 0, var(--l) 35%, var(--m) 70%, var(--d) 100%); box-shadow: inset 1px 0 0 var(--d), inset -1px 0 0 var(--d); }
  :root .c3d__bar::before { border-radius: 50%; background: var(--cap); box-shadow: inset 0 0 0 .75px var(--d); }
  :root .c3d__foot { border-radius: 50%; background: var(--f); }
  :root .c3d__value { color: #c2d0ee; }
  :root .c3d__labels small { color: #a6b6cd; }
  :root .c3d--blue, :root .c3d--navy { --d: #172554; --l: #3b82f6; --m: #1e40af; --cap: #3b6fd8; --f: #0f1d4a; }
  :root .c3d--cyan { --d: #0e7490; --l: #67e8f9; --m: #06b6d4; --cap: #a5f3fc; --f: #155e75; }
  :root .c3d--teal { --d: #0f766e; --l: #5eead4; --m: #14b8a6; --cap: #99f6e4; --f: #0f766e; }
  :root .c3d--grey { --d: #64748b; --l: #e2e8f0; --m: #94a3b8; --cap: #f1f5f9; --f: #475569; }
  :root .donut--tilted::before { border-radius: 50% !important; }
  :root .donut-slices .donut-slice-side { stroke: none; }
  :root .custom-line-point > span { --bead: var(--chart-sales); --bead-light: var(--chart-sales-sheen); --bead-deep: var(--chart-sales-edge); border: 0; background: radial-gradient(circle at 34% 30%, #ffffff 0 10%, var(--bead-light) 26%, var(--bead) 62%, var(--bead-deep) 100%); box-shadow: 0 2px 3px rgba(15,35,62,.35), inset 0 -1px 2px rgba(15,23,42,.25); }
  :root .stock-movement-lines .stock-point-in > span { --bead: var(--chart-cyan); --bead-light: var(--chart-cyan-cap); --bead-deep: var(--chart-cyan-edge); border: 0; background: radial-gradient(circle at 34% 30%, #4c4c4c 0 10%, var(--bead-light) 26%, var(--bead) 62%, var(--bead-deep) 100%); }
  :root .custom-line-ribbon { stroke: none; }
  :root .radial-arc :is(.donut-slice-side, .donut-slice-gloss) { stroke: none; }
  :root .radial-arc:focus-visible:not([aria-expanded="true"]) .donut-slice-face { stroke: #132c68 !important; }
  :root .c3d.c3d--line, :root .c3d.c3d--line.c3d--rotate, :root .c3d.c3d--line.c3d--novalues { --c3d-top: 12px; }
  :root .l3d__svg polyline { fill: none; }
  :root .l3d--cyan.custom-line-depth { stroke: var(--chart-cyan-edge); }
  :root .l3d--cyan.custom-line-path { stroke: var(--chart-cyan); }
  :root .l3d--cyan.custom-line-highlight { stroke: #67e8f9; }
  :root .l3d__point { border: 0; border-radius: 50%; background: transparent; }
  :root .l3d__point > span { border-radius: 50%; --bead: var(--chart-sales); --bead-light: var(--chart-sales-sheen); --bead-deep: var(--chart-sales-edge); background: radial-gradient(circle at 34% 30%, #ffffff 0 10%, var(--bead-light) 26%, var(--bead) 62%, var(--bead-deep) 100%); box-shadow: 0 2px 3px rgba(15,35,62,.35), inset 0 -1px 2px rgba(15,23,42,.25); }
  :root .l3d__point.l3d--cyan > span { --bead: var(--chart-cyan); --bead-light: var(--chart-cyan-cap); --bead-deep: var(--chart-cyan-edge); }
  :root .l3d__point:focus-visible { outline: 2px solid #132c68; outline-offset: 2px; }
  :root .l3d__svg .l3d__sheen { stroke: var(--chart-sales-sheen); }
  :root .l3d__svg .l3d__sheen.l3d--cyan { stroke: var(--chart-cyan-sheen); }
  :root .l3d__svg .custom-line-highlight { stroke: #ffffff; }
  :root .l3d__svg .l3d__shadow { stroke: rgba(15,23,42,.07); }
  :root .radial-svg .gauge-track-solid.donut-slice-side, :root .gauge-svg .gauge-track-solid.donut-slice-side { stroke: rgba(71,85,105,.5); }
  :root .radial-svg .gauge-track-solid.donut-slice-face, :root .gauge-svg .gauge-track-solid.donut-slice-face { stroke: rgba(100,116,139,.45) !important; }
  :root :is(.chart-legend > span, .document-mix-body li[data-chart-value] > .insight-radial-swatch, .insight-radial-swatch) { border-radius: 3px; box-shadow: 0 1px 1px rgba(15,23,42,.30); }
  :root :is(.chart-legend > span, .document-mix-body li[data-chart-value] > .insight-radial-swatch, .insight-radial-swatch)::before { border-radius: inherit; background: linear-gradient(145deg, rgba(255,255,255,.65), rgba(255,255,255,.23) 35%, transparent 53%, rgba(15,23,42,.38)); box-shadow: inset 0 0 0 1px rgba(15,23,42,.24), inset 0 -1px 0 rgba(15,23,42,.24); }
  :root .dashboard-live, :root .dashboard-page, :root .crm-workspace { --dash-round-chart: 176px; }
  :root .sales-target-fields { border: 0; }
  :root .form-error-message { border: 1px solid #fecaca; border-radius: 10px; background: #454141; color: #ef9c93; }
  :root .form-success-message { border: 1px solid #a7f3d0; border-radius: 10px; background: #404744; color: #7ec9ab; }
  :root .tp3d__row { border: 0; border-radius: 9px; background: transparent; }
  :root .tp3d__row:hover, :root .tp3d__row[aria-expanded="true"] { background: rgba(76, 76, 76, 0.55); }
  :root .tp3d__row:focus-visible { outline: 2px solid #132c68; outline-offset: 1px; }
  :root .tp3d__name > span { color: #c2d0ee; }
  :root .tp3d__name small { color: var(--dash-secondary-ink, #97a8c1); }
  :root .tp3d__track { border-radius: 99px; background: #e3e9f1; box-shadow: inset 0 2px 3px rgba(15,23,42,.2), inset 0 -1px 0 rgba(255,255,255,.7), 0 1px 0 rgba(255,255,255,.75); }
  :root .tp3d__fill { border-radius: 99px; background: linear-gradient(180deg, var(--chart-sales-edge), var(--chart-sales-sheen) 35%, var(--chart-sales) 70%, var(--chart-sales-edge)); }
  :root .tp3d__over { border-radius: 0 99px 99px 0; background: linear-gradient(180deg, #047857, #6ee7b7 35%, #10b981 70%, #047857); }
  :root .tp3d__row--over .tp3d__fill { border-radius: 99px 0 0 99px; }
  :root .tp3d__marker { border-radius: 2px; background: #172036; box-shadow: 0 0 0 1px rgba(255,255,255,.7); }
  :root .tp3d__row strong { color: #c2d0ee; }
  :root .tp3d__row strong em { color: var(--dash-secondary-ink, #97a8c1); }
  :root .tp3d__row strong small { color: var(--dash-secondary-ink, #97a8c1); }
  :root .tp3d__row strong small.is-over { color: #6ac19e; }
  :root .radial-ring-wall path { stroke: none; }
  :root .radial-svg .radial-end-cap { stroke: none; }
  :root .radial-svg .gauge-track-solid.donut-slice-face { stroke: none !important; }
  :root .radial-svg .gauge-track-solid.donut-slice-side { stroke: rgba(71,85,105,.28); }
  :root .receivable-bar-chart.dash-scroll-list { --progress-row-height: 18px; --progress-row-gap: 8px; --progress-list-padding: 8px; }
  :root .dash-scroll-list:focus-visible { outline: 2px solid #132c68; outline-offset: -2px; }
  @media screen {
    html:not(.dashboard-exporting):root .insight-card > .insight-card-body { --dash-round-chart: 136px; }
  }
  :root:root { --glass-tube-tint: rgba(30, 33, 38, 0.3); --glass-tube-rim: rgba(100,116,139,.42); --glass-tube-shine: rgba(76, 76, 76, 0.62); --glass-tube-band: rgba(76, 76, 76, 0.55); --glass-fill-boost: saturate(1.2) brightness(1.04) contrast(1.05); }
  :root .gauge--glass .gauge-glass.donut-slice-face { stroke: var(--glass-tube-rim) !important; }
  :root .gauge--glass .gauge-glass.donut-slice-side { stroke: var(--glass-tube-rim) !important; }
  :root .gauge--glass .gauge-glass-glint { stroke: var(--glass-tube-shine); }
  :root .gauge--glass .gauge-glass-glint-soft { stroke: var(--glass-tube-band); }
  :root .gauge--glass .gauge-glass-wall { stroke: var(--glass-tube-band); }
  :root .gauge--glass .gauge-glass-rim { stroke: var(--glass-tube-rim); }
  :root:root .crm-workspace :is(.receivable-bar-row > div, .module-health-track, .insight-meter, .tp3d__track) { border: 1px solid var(--glass-tube-rim); background: linear-gradient(180deg, var(--glass-tube-band), rgba(255,255,255,0) 48%, rgba(255,255,255,0) 62%, rgba(255,255,255,.3)), var(--glass-tube-tint); box-shadow: inset 0 1px 2px rgba(15,23,42,.16), inset 0 -1px 1px rgba(255,255,255,.45), 0 1px 1px rgba(255,255,255,.4); }
  :root:root .crm-workspace :is(.receivable-bar-row > div, .module-health-track, .insight-meter, .tp3d__track)::after { border-radius: 99px; background: linear-gradient(180deg, var(--glass-tube-shine), rgba(255,255,255,0)); }
  :root .insight-pipeline > div { --chart-stripe: #1e40af; --chart-stripe-edge: #172554; border-left: 0 !important; }
  :root .insight-pipeline > div:nth-child(2) { --chart-stripe: #06b6d4; --chart-stripe-edge: #0e7490; }
  :root .insight-pipeline > div:nth-child(3) { --chart-stripe: #f59e0b; --chart-stripe-edge: #b45309; }
  :root .insight-pipeline > div::before { border-radius: 10px 0 0 10px; background: var(--chart-stripe); box-shadow: inset -1px 0 0 var(--chart-stripe-edge); }
  :root:root { --chart-stripe-boost: saturate(1.4) contrast(1.12); }
  :root :is(.document-mix-body li[data-chart-slice].is-selected, .insight-radial-legend li.is-selected) { box-shadow: none; }
  :root :is(.document-mix-body li[data-chart-slice].is-selected, .insight-radial-legend li.is-selected)::before { border-radius: 8px 0 0 8px; background: var(--c); box-shadow: inset -1px 0 0 rgba(15,23,42,.45); }
  :root .dashboard-live { --glass-tube-rim: rgba(71,85,105,.62); }
  :root .crm-workspace .dashboard-live .paired-bars > span { --column-rim: color-mix(in srgb, var(--bar) 48%, #0f172a); }
  :root .crm-workspace .dashboard-live :is(.receivable-bar-row i, .module-health-track > span, .insight-meter i) { border-color: rgba(15,35,62,.5); }
  :root .radial-svg .gauge-track-solid.donut-slice-side, :root .gauge-svg .gauge-track-solid.donut-slice-side { stroke: rgba(71,85,105,.5); }
  :root :is(.chart-legend > span, .document-mix-body li[data-chart-value] > .insight-radial-swatch, .insight-radial-swatch)::before { box-shadow: inset 0 0 0 1px rgba(15,23,42,.4); }
  :root .custom-line-grid { stroke: #b4c1d0; }
  :root .c3d__grid { border-top-color: #c3ceda; }
  :root .c3d__grid--zero { border-top-color: #7d8fa6; }
  :root .custom-line-point > span { box-shadow: 0 0 0 1px var(--bead-deep, #1e3a8a), 0 2px 3px rgba(15,35,62,.35), inset 0 -1px 2px rgba(15,23,42,.25); }
  :root .c3d__bar { box-shadow: inset 1px 0 0 var(--f), inset -1px 0 0 var(--f); }
  :root .c3d__bar::before { box-shadow: inset 0 0 0 1px var(--d); }
  /* ---- pages/inventory.css ---- */
  :root:root { --crm-section-header-height: 32px; }
  :root:root { --crm-form-section-gap: 10px; }
  :root .inventory-heading h1 { color: #c7d3f0; }
  :root .inventory-eyebrow { color: var(--iv-primary); }
  :root .inventory-heading .iv-btn { border-radius: 13px; }
  :root .inventory-stats article { border: 1px solid var(--iv-border); border-radius: 14px; background: #4c4c4c; box-shadow: 0 5px 16px rgba(15, 23, 42, .04); }
  :root .inventory-stats article > span { border-radius: 9px; }
  :root .inventory-stats .purple { background: #3c3d43; color: #96a1e5; }
  :root .inventory-stats .cyan { background: #3a4245; color: #0ea5e9; }
  :root .inventory-stats .orange { background: #464138; color: #e59605; }
  :root .inventory-stats .green { background: #3b423d; color: #16a34a; }
  :root .inventory-stats small { color: #a6b6cd; }
  :root .inventory-stats strong { color: #c2d0ee; }
  :root .inventory-panel { border: 1px solid var(--iv-border); border-radius: 20px; background: #4c4c4c; box-shadow: 0 7px 22px rgba(15, 23, 42, .04); }
  :root .inventory-toolbar { border-bottom: 1px solid #57595b; }
  :root .inventory-search i { color: #97a8c1; }
  :root .inventory-toolbar input, :root .inventory-toolbar select { border: 1px solid #5a5d61; border-radius: 11px; background: #4c4c4c; color: #b1c0dc; outline: none; }
  :root .inventory-toolbar input:focus, :root .inventory-toolbar select:focus { border-color: #5b5ceb; box-shadow: 0 0 0 3px rgba(91, 92, 235, .1); }
  :root .inventory-filter { border: 0; border-radius: 11px; background: #172036; color: #fff; }
  :root .inventory-clear { border: 0; border-radius: 11px; background: linear-gradient(180deg, #172f68, #081841); color: #fff; box-shadow: var(--iv-shadow-md); }
  :root .inventory-clear:hover { color: #fff; box-shadow: var(--iv-shadow-lg); }
  :root .inventory-table { border-collapse: collapse; }
  :root .inventory-table th { background: #464748; color: #a6b6cd; }
  :root .inventory-table td { border-top: 1px solid #57595b; color: #a9b7d3; }
  :root .inventory-table tbody tr:hover { background: #49494a; }
  :root .item-cell > span { border-radius: 10px; background: linear-gradient(135deg, #3c3d43, #3a4245); color: #96a1e5; }
  :root .item-cell strong { color: #b9c8e5; }
  :root .item-cell small, :root .inventory-table td small { color: #97a8c1; }
  :root .stock-level { border-radius: 10px; background: #37393c; }
  :root .stock-level span { border-radius: inherit; background: #001d06; }
  :root .stock-level.low span { background: #241100; }
  :root .stock-badge { border-radius: 99px; }
  :root .stock-badge.healthy { background: #34443a; color: #7bbc89; }
  :root .stock-badge.low { background: #453f2a; color: #da946e; }
  :root .stock-badge.danger { background: #3e3333; color: #db8b81; }
  :root .stock-badge.inactive { background: #404143; color: #a6b6cd; }
  :root .row-actions a, :root .row-actions button { border: 1px solid #595b5f; border-radius: 9px; background: #4c4c4c; color: #a6b6cd; }
  :root .row-actions a:hover { border-color: #c9cdff; color: #96a1e5; }
  :root .row-actions button:hover { border-color: #fecaca; color: #db8b81; }
  :root .inventory-empty > span { border-radius: 20px; background: #3c3d43; color: #96a1e5; }
  :root .inventory-form-card { border: 1px solid var(--iv-border); border-radius: 20px; background: #4c4c4c; box-shadow: 0 7px 22px rgba(15, 23, 42, .04); }
  :root .form-section-heading { border-bottom: 1px solid #57595b; }
  :root .form-section-heading > span { border-radius: 12px; background: #3c3d43; color: #96a1e5; }
  :root .form-section-heading > span.cyan { background: #3a4245; color: #0ea5e9; }
  :root .inventory-field label { color: #a7b7d1; }
  :root .inventory-field > input, :root .inventory-field > select, :root .money-input { border: 1px solid #5a5d61; border-radius: 11px; background: #4c4c4c; color: #b7c7e3; outline: none; }
  :root .inventory-field > input:focus, :root .inventory-field > select:focus, :root .money-input:focus-within { border-color: #5b5ceb; box-shadow: 0 0 0 3px rgba(91, 92, 235, .1); }
  :root .inventory-field .input-validation-error { border-color: #dc2626; background: #484545; }
  :root .inventory-field > span:not(.select2-container) { color: #db8b81; }
  :root .money-input > span { border-right: 1px solid #595b5f; background: #464748; color: #a6b6cd; }
  :root .money-input input { border: 0; background: transparent; outline: 0; }
  :root .money-input:has(input.input-validation-error) { border-color: #dc2626; background: #484545; }
  :root .inventory-switch > span { border: 1px solid transparent; border-radius: 99px; background: #cbd5e1; }
  :root .inventory-switch > span::after { border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.24); }
  :root .inventory-switch input:checked + span { background: #5b5ceb; }
  :root .inventory-switch strong { color: #b1c0dc; }
  :root .inventory-switch small { color: #97a8c1; }
  :root .inventory-form-actions .iv-btn { border-radius: 12px; }
  :root .inventory-form .validation-summary-errors { border-radius: 11px; background: #464040; color: #e6958a; }
  :root .stock-in { color: #7bb883 !important; }
  :root .stock-out { color: #db8a80 !important; }
  :root .add-bill-line { border: 1px solid #cdd4ff; border-radius: 9px; background: #404045; color: #96a1e5; }
  :root .bill-lines-head { color: #8995a8; }
  :root .bill-line { border-top: 1px solid #57595a; }
  :root .bill-line select, :root .bill-line input { border: 1px solid #5a5d61; border-radius: 9px; color: #b1c0dc; outline: none; }
  :root .line-amount { color: #b8c7e3; }
  :root .remove-bill-line { border: 1px solid #fecaca; border-radius: 8px; background: #4c4c4c; color: #db8b81; }
  :root .bill-total { border-top: 1px solid #595b5e; }
  :root .bill-total span { color: #a6b6cd; }
  :root .bill-total strong { color: #c2d0ee; }
  :root .bill-line-grid-header.demo-unit-line-grid { color: #8995a8; }
  :root body .crm-workspace .select2-selection--multiple, :root .crm-workspace .select2-selection--multiple { border: var(--crm-control-border-width) solid var(--crm-control-border-color) !important; border-radius: var(--crm-control-radius) !important; background: #38393b !important; }
  :root .crm-workspace .select2-container--focus .select2-selection--multiple, :root .crm-workspace .select2-container--open .select2-selection--multiple { border-color: #8adfff !important; background: #323436 !important; box-shadow: 0 0 0 3px rgba(121,212,255,.22),0 0 12px rgba(121,212,255,.38) !important; }
  :root .crm-workspace .select2-selection--multiple .select2-search--inline { border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; }
  :root .crm-workspace .select2-selection--multiple .select2-search__field { border: 0 !important; border-radius: 0 !important; background: transparent !important; color: #b1c0dc !important; outline: 0 !important; box-shadow: none !important; border: 0 !important; background: transparent !important; }
  :root .crm-workspace .select2-selection--multiple .select2-selection__choice { border: 1px solid #61676f !important; border-radius: 14px !important; background: #2e3338 !important; color: #a6c3f4 !important; }
  :root .crm-workspace .select2-selection--multiple .select2-selection__choice__remove { border: 0 !important; background: #dc3545 !important; color: #fff !important; }
  :root .crm-workspace .select2-selection--multiple .select2-selection__choice__remove:hover { background: #bb2d3b !important; }
  :root .inventory-heading h1 { color: #b8cafc; }
  :root .inventory-heading h1 i { color: #96a1e5; }
  :root .inventory-heading > div > p:last-child { color: #afc0d9; }
  :root .inventory-heading .iv-btn { border-radius: 12px; }
  :root .crm-workspace .inventory-stats .purple, :root .crm-workspace .inventory-empty > span, :root .crm-workspace .form-section-heading > span:not(.cyan) { background: #3a3d42; color: #a4bdf6; }
  :root .crm-workspace .iv-btn, :root .crm-workspace .section-add-button, :root .crm-workspace .add-bill-line, :root .crm-workspace .inventory-clear, :root .crm-workspace .company-logo-upload-button, :root .quick-entity-dialog footer .iv-btn, :root .party-modal__footer .iv-btn { border-radius: 12px !important; }
  :root .crm-workspace .iv-btn-primary, :root .crm-workspace .inventory-clear, :root .crm-workspace .company-logo-upload-button, :root .quick-entity-dialog footer .iv-btn-primary, :root .party-modal__footer .iv-btn-primary { border: 2px solid #1e3a8a !important; background: linear-gradient(180deg, #172f68, #081841) !important; color: #fff !important; box-shadow: 0 8px 20px rgba(7, 19, 43, .28), inset 0 1px 1px rgba(255, 255, 255, .12) !important; }
  :root .crm-workspace .iv-btn-secondary, :root .crm-workspace .iv-btn-outline, :root .crm-workspace .section-add-button, :root .crm-workspace .add-bill-line, :root .quick-entity-dialog footer .iv-btn-secondary, :root .party-modal__footer .iv-btn-secondary { border: 2px solid #1e3a8a !important; background: #38393b !important; color: #a4bdf6 !important; box-shadow: 0 2px 8px rgba(15, 23, 42, .04) !important; }
  :root .crm-workspace .iv-btn-danger { border: 2px solid #b91c1c !important; background: linear-gradient(180deg, #2f0405 0%, #dc2626 52%, #b91c1c 100%) !important; color: #fff !important; }
  :root .crm-workspace .iv-btn::before, :root .crm-workspace .inventory-clear::before, :root .crm-workspace .section-add-button::before, :root .crm-workspace .add-bill-line::before, :root .quick-entity-dialog footer .iv-btn::before, :root .party-modal__footer .iv-btn::before { border-radius: 12px 12px 100px 100px !important; background: linear-gradient(rgba(76, 76, 76, 0.22), rgba(255, 255, 255, 0)) !important; }
  :root .crm-workspace .iv-btn::after, :root .crm-workspace .inventory-clear::after, :root .crm-workspace .section-add-button::after, :root .crm-workspace .add-bill-line::after, :root .quick-entity-dialog footer .iv-btn::after, :root .party-modal__footer .iv-btn::after { background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .05) 30%, rgba(76, 76, 76, 0.45) 50%, rgba(255, 255, 255, .05) 70%, transparent 100%) !important; }
  :root .crm-workspace .iv-btn:hover, :root .crm-workspace .inventory-clear:hover, :root .crm-workspace .section-add-button:hover, :root .crm-workspace .add-bill-line:hover, :root .quick-entity-dialog footer .iv-btn:hover, :root .party-modal__footer .iv-btn:hover { border-color: #8adfff !important; box-shadow: 0 0 0 4px rgba(121, 212, 255, .30), 0 0 20px rgba(121, 212, 255, .70),
        0 0 40px rgba(121, 212, 255, .50), 0 18px 36px rgba(15, 23, 42, .20) !important; }
  :root #contactSearch, :root #addressSearch, :root #contactSearch:focus, :root #addressSearch:focus, :root .crm-workspace .configured-subgrid .section-grid-search input, :root .crm-workspace .configured-subgrid .section-grid-search input:focus { border: 0 !important; border-radius: 0 !important; background: transparent !important; color: #c2d0ee !important; outline: 0 !important; box-shadow: none !important; }
  :root .crm-workspace .inventory-heading h1 i, :root .crm-workspace .dashboard-heading h1 i, :root .crm-workspace .item-cell > span, :root .crm-workspace .row-actions a:hover, :root .crm-workspace .add-bill-line { color: #a4bdf6; }
  :root .crm-workspace .inventory-toolbar input:focus, :root .crm-workspace .inventory-toolbar select:focus, :root .crm-workspace .inventory-field > input:focus, :root .crm-workspace .inventory-field > select:focus, :root .crm-workspace .money-input:focus-within, :root .crm-workspace .bill-line input:focus, :root .crm-workspace .bill-line select:focus { border-color: #1e3a8a; box-shadow: 0 0 0 3px rgba(30, 58, 138, .12); }
  :root .crm-workspace .inventory-switch input:checked + span { background: linear-gradient(180deg, #132c68 0%, #0d1e4d 45%, #07132b 100%); }
  :root .crm-workspace .inventory-filter { background: linear-gradient(180deg, #172f68, #081841); }
  :root .crm-workspace .add-bill-line { border-color: #bfcced; background: #3a3d42; }
  :root .record-action-footer { border-top: 1px solid #5a5d61; background: rgba(76, 76, 76, 0.96); box-shadow: 0 -8px 24px rgba(15, 23, 42, .08); }
  :root .role-scope-note { color: #a6b6cd; }
  :root .inventory-hint { color: #a6b6cd; }
  :root .inventory-hint a { color: #a4bdf6; }
  :root .permission-configure-button { border: 1px solid #9acdec; border-radius: 9px; background: #404547; color: #a0c2f8; }
  :root .permission-configure-button:hover { background: #363f43; box-shadow: 0 0 10px rgba(74,190,240,.35); }
  :root .inventory-form-card .form-section-heading > .permission-protected-label { border: 1px solid rgba(121,212,255,.42); border-radius: 8px; background: rgba(121,212,255,.10); box-shadow: inset 0 1px rgba(255,255,255,.08); color: #a2c7f9; }
  :root .inventory-form-card .form-section-heading > .permission-protected-label i { border-radius: 5px; background: transparent; color: currentColor; }
  :root .permission-floating-header { border: 1px solid #07132b; border-radius: 9px; }
  :root .permission-module { border: 1px solid #5b6169; border-radius: 10px; background: #4c4c4c; }
  :root .permission-module summary { background: linear-gradient(180deg,#3b3f44,#2e333b); color: #a6c4fc; }
  :root .permission-module-body { border-top: 1px solid #5b6169; }
  :root .permission-grid-header { background: #10285f; color: #d8f4ff; }
  :root .permission-grid-row { border-bottom: 1px solid #57595b; color: #afc0d9; }
  :root .permission-grid-row:last-child { border-bottom: 0; }
  :root .permission-grid-row:hover { background: #464849; }
  :root .permission-grid-row input[type=checkbox] { border: 1px solid #686868; border-radius: 50%; background: #4c4c4c; }
  :root .permission-grid-row input[type=checkbox]:checked { border-color: #0d1e4d; background: linear-gradient(180deg,#173a82,#0d1e4d); box-shadow: 0 0 4px rgba(13,30,77,.90),0 0 10px rgba(23,58,130,.72),0 0 18px rgba(121,212,255,.42); }
  :root .permission-grid-row input[type=checkbox]:hover { border-color: #173a82; box-shadow: 0 0 4px rgba(13,30,77,.90),0 0 10px rgba(23,58,130,.72),0 0 18px rgba(121,212,255,.42); }
  :root .quick-entity-dialog { border: 1px solid #9bccec; border-radius: 16px; color: #b6cafd; box-shadow: 0 24px 70px rgba(7,19,43,.32); }
  :root .quick-entity-dialog::backdrop { background: rgba(7,19,43,.55); }
  :root .quick-entity-dialog header { background: linear-gradient(180deg,#173b82,#0b2255); color: #fff; }
  :root .quick-entity-dialog h2 { color: #fff; }
  :root .quick-entity-dialog header button { border: 0; border-radius: 9px; background: transparent; color: #fff; }
  :root .quick-entity-body label b { color: #d98887; }
  :root .quick-entity-body input, :root .quick-entity-body select { border: 2px solid #274b9b; border-radius: 11px; background: #4c4c4c; color: #b6cafd; }
  :root .quick-brand-field button { border: 0; border-radius: 11px; background: linear-gradient(180deg,#173b82,#0b2255); color: #fff; }
  :root .quick-entity-error { color: #d98887; }
  :root .quick-entity-dialog footer { border-top: 1px solid #575a5e; }
  :root .quick-stock-serials { border: 1px solid #5f656d; border-radius: 12px; background: #3c3e40; }
  :root .quick-stock-serials>div:first-child { background: linear-gradient(180deg,#132c68,#07132b); color: #fff; }
  :root .quick-stock-serials>div:first-child span { border: 1px solid #79d4ff; border-radius: 999px; background: rgba(121,212,255,.14); color: #d8f4ff; }
  :root .quick-entity-dialog { border: 2px solid #1e3a8a; border-radius: 16px; background: #4c4c4c; box-shadow: 0 24px 60px rgba(2, 10, 28, .35); }
  :root .quick-entity-dialog::backdrop { background: rgba(2, 10, 28, .5); }
  :root .quick-entity-dialog header { border-bottom: 2px solid #79d4ff; background: linear-gradient(180deg, #132c68, #07132b); color: #fff; }
  :root .quick-entity-dialog h2 { color: #d8f4ff; }
  :root .quick-entity-dialog header button { border-radius: 8px; }
  :root .quick-entity-dialog header button:hover { background: rgba(255, 255, 255, .12); color: #79d4ff; }
  :root .quick-entity-body label { color: #afc0d9; }
  :root .quick-entity-body input, :root .quick-entity-body select { border: 2px solid #1e3a8a; border-radius: 12px; background: #4c4c4c; color: #c9d5f0; outline: none; }
  :root .quick-entity-body input:focus, :root .quick-entity-body select:focus { border-color: #79d4ff; box-shadow: 0 0 0 3px rgba(121, 212, 255, .22), 0 0 12px rgba(121, 212, 255, .38); }
  :root .quick-entity-dialog footer { border-top: 1px solid #595b5f; background: #464748; }
  :root .crm-workspace .inventory-table .row-actions a, :root .crm-workspace .inventory-table .row-actions button, :root .crm-workspace .permission-configure-button { border: 1px solid transparent; border-radius: 50%; }
  :root .crm-workspace .inventory-table .row-actions a, :root .crm-workspace .inventory-table .row-actions .ledger-expand-button, :root .crm-workspace .permission-configure-button { border-color: #3977a8; background: #30393e; color: #94c3fe; box-shadow: 0 1px 3px rgba(18,63,112,.18),inset 0 1px 0 rgba(255,255,255,.75); }
  :root .crm-workspace .inventory-table .row-actions a:hover, :root .crm-workspace .inventory-table .row-actions .ledger-expand-button:hover, :root .crm-workspace .permission-configure-button:hover { border-color: #0f4f87; background: #1c2e36; color: #a7cbf9; box-shadow: 0 0 0 2px rgba(69,188,232,.20),0 0 10px rgba(23,74,139,.40); }
  :root .crm-workspace .inventory-table .row-actions .iv-delete-icon { border: 1px solid #c84a4a; border-radius: 50%; background: #3e3333; color: #ec9a91; box-shadow: 0 1px 3px rgba(159,31,31,.18),inset 0 1px 0 rgba(255,255,255,.72); }
  :root .crm-workspace .inventory-table .row-actions .iv-delete-icon:hover { border-color: #9f1f1f; background: #361f1f; color: #f6a49a; box-shadow: 0 0 0 2px rgba(239,68,68,.16),0 0 10px rgba(159,31,31,.38); }
  :root .crm-workspace .inventory-table .row-actions .row-action-icon { fill: none; stroke: currentColor; }
  :root .iv-btn-danger { border: 1px solid rgba(127, 29, 29, .35); background: linear-gradient(180deg, #2f0405, #b91c1c); color: #fff; }
  :root .iv-btn-danger::after, :root .iv-delete-icon::after { background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.05) 30%, rgba(76, 76, 76, 0.55) 50%, rgba(255,255,255,.05) 70%, transparent 100%); }
  :root .iv-btn-danger:hover { color: #fff; box-shadow: 0 8px 18px rgba(127,29,29,.28), 0 0 8px rgba(248,113,113,.72), 0 0 18px rgba(239,68,68,.38); }
  :root .row-actions .iv-delete-icon { border-color: rgba(127,29,29,.35); background: linear-gradient(180deg,#2f0405,#b91c1c); color: #fff; }
  :root .row-actions .iv-delete-icon:hover { border-color: #b91c1c; color: #fff; box-shadow: 0 6px 14px rgba(185,28,28,.25),0 0 8px rgba(248,113,113,.6); }
  :root .crm-workspace .inventory-heading > .iv-btn, :root .crm-workspace .form-section-heading > .iv-btn, :root .crm-workspace .form-section-heading > .add-bill-line, :root .crm-workspace .section-grid-tools .section-add-button { border-radius: 10px !important; }
  :root:root .crm-workspace .inventory-field > input.stock-adjustment-quantity.input-validation-error, :root:root .crm-workspace .inventory-field > input.stock-adjustment-quantity[aria-invalid="true"] { background: #414242 !important; }
  :root .crm-workspace :is(.bill-line--challan, .bill-line--locked) .line-locked-serials { border: var(--crm-control-border-width,1px) solid var(--crm-control-border-color,#475569); border-radius: var(--crm-control-radius,12px); background: #404143; color: #b3c7e8; }
  :root .crm-workspace .bill-line--challan .line-locked-mark { color: #97a8c1; }
  :root .crm-workspace .bill-line--locked .line-kept-mark { color: #97a8c1; }
  :root .tower-unit-template-head { color: #b1c0dc; }
  :root .tower-unit-template-row { border-top: 1px solid #6a7179; }
  :root .tower-generation-summary { border-top: 1px solid #6a7179; color: #a7b7d1; }
  :root .tower-generation-summary strong { color: #a2c7f9; }
  :root .crm-workspace .bill-readonly-value { color: #b3c7e8; }
  :root .crm-workspace .bill-footer-summary { border-top: 1px solid #5c6166; }
  :root .crm-workspace .bill-summary-row { color: #a6b6cd; }
  :root .crm-workspace .bill-summary-row strong { color: #b3c7e8; }
  :root .crm-workspace .bill-summary-total { border-top: 1px solid #686e77; color: #c2d0ee; }
  :root .crm-workspace .bill-amount-words span { color: #a6b6cd; }
  :root .crm-workspace .bill-amount-words strong { color: #b3c7e8; }
  :root .email-provider-option>span { border: 2px solid #666c74; border-radius: 14px; background: #3c3e40; color: #b2caff; }
  :root .email-provider-option>span>i { color: #97b8f9; }
  :root .email-provider-option small { color: #96a9c6; }
  :root .email-provider-option b { color: #8db0f0; }
  :root .email-provider-option>input:checked+span { border-color: #21479c; background: #3a4044; box-shadow: 0 0 0 3px rgba(90,199,247,.25); }
  :root .email-auth-explanation { border: 1px solid #666c74; border-radius: var(--crm-control-radius); background: #3c3e40; }
  :root .email-auth-explanation > i { color: #97b8f9; }
  :root .email-auth-explanation small { color: #e1a071; }
  :root .email-connection-status { border-radius: 999px !important; }
  :root .email-connection-status.connected { background: #323d37 !important; color: #7ac292 !important; }
  :root .email-connection-status.pending { background: #443d2d !important; color: #d7a366 !important; }
  :root .email-connection-status.failed { background: #3e3232 !important; color: #eb9990 !important; }
  :root .email-connection-error { border-radius: 10px; background: #453f3f; color: #ed9b92; }
  :root .email-header-connect { border: 1px solid #79d4ff !important; border-radius: 8px !important; background: #3a4044 !important; color: #9bbdfe !important; }
  :root .crm-workspace .sales-purchase-bill-lines .add-bill-line { box-shadow: 0 0 0 1px rgba(49, 95, 165, .18),
        0 0 8px rgba(121, 212, 255, .16) !important; }
  :root .crm-workspace .sales-purchase-bill-lines .add-bill-line:hover { box-shadow: 0 0 0 3px rgba(121, 212, 255, .24),
        0 0 18px rgba(121, 212, 255, .52) !important; }
  :root .crm-workspace .bill-lines-head, :root .crm-workspace .bill-lines-head span { color: #b1c0dc !important; }
  :root .crm-workspace .bill-lines-head b, :root .crm-workspace .bill-lines-head .required-marker { color: #db8b81 !important; }
  :root .crm-workspace .bill-lines-head, :root .crm-workspace .bill-lines-head span { color: #b1c0dc !important; }
  :root .crm-workspace .bill-lines-head b, :root .crm-workspace .bill-lines-head .required-marker { color: #db8b81 !important; }
  :root .crm-workspace .iv-btn, :root .crm-workspace .section-add-button, :root .crm-workspace .add-bill-line, :root .crm-workspace .inventory-clear, :root .crm-workspace .company-logo-upload-button, :root .quick-entity-dialog footer .iv-btn, :root .party-modal__footer .iv-btn, :root .bfc-message-footer .bfc-btn { border-radius: 10px !important; }
  :root .serial-entry-field span { color: #b1c0dc; }
  :root .serial-entry-field input { border: 1px solid #284c9b; border-radius: 10px; background: #424445; color: #becef1; }
  :root .serial-entry-field input:focus { outline: 0; border-color: #38bdf8; box-shadow: 0 0 0 3px rgba(56, 189, 248, .18); }
  :root .serial-entry-validation { color: #db8b81; }
  :root .serial-entry-empty { color: #a6b6cd; }
  :root .crm-workspace .inventory-heading > .iv-btn, :root .crm-workspace .form-section-heading > .iv-btn, :root .crm-workspace .form-section-heading > .add-bill-line, :root .crm-workspace .section-grid-tools .section-add-button { border-radius: 10px !important; }
  :root .crm-workspace .iv-btn, :root .crm-workspace .section-add-button, :root .crm-workspace .add-bill-line, :root .crm-workspace .inventory-clear, :root .crm-workspace .company-logo-upload-button, :root .quick-entity-dialog footer .iv-btn, :root .party-modal__footer .iv-btn, :root .bfc-message-footer .bfc-btn { border-radius: 10px !important; }
  :root .crm-workspace .inventory-empty .iv-btn::after { background: linear-gradient(110deg, transparent 0%, rgba(121,212,255,.08) 28%, rgba(76, 76, 76, 0.85) 50%, rgba(121,212,255,.08) 72%, transparent 100%); }
  :root .crm-workspace .inventory-empty .iv-btn:hover { border-color: #79d4ff !important; box-shadow: 0 0 0 4px rgba(121,212,255,.34), 0 0 22px rgba(121,212,255,.85), 0 0 44px rgba(121,212,255,.55), 0 14px 30px rgba(15,23,42,.24) !important; }
  :root .crm-workspace .inventory-empty .iv-btn { border: 2px solid #1e3a8a; border-radius: 11px; background: linear-gradient(180deg, #172f68, #081841); color: #fff; box-shadow: 0 8px 20px rgba(15, 35, 82, .25), inset 0 1px rgba(255,255,255,.24); }
  :root .crm-workspace .inventory-empty .iv-btn:hover { border-color: #79d4ff; background: linear-gradient(180deg, #172f68, #081841); color: #fff; box-shadow: 0 0 0 4px rgba(121,212,255,.22), 0 0 18px rgba(121,212,255,.42), 0 10px 24px rgba(15,23,42,.18); }
  :root .inventory-page > .inventory-heading, :root .dashboard-page > .dashboard-heading { border-bottom: 1px solid #666c72; }
  :root .inventory-page:not(.inventory-form-page) > .inventory-panel > .inventory-table-wrap::-webkit-scrollbar-track, :root .inventory-page:not(.inventory-form-page) > .inventory-page-scroll > .inventory-panel > .inventory-table-wrap::-webkit-scrollbar-track { background: #2d3134; }
  :root .inventory-page:not(.inventory-form-page) > .inventory-panel > .inventory-table-wrap::-webkit-scrollbar-thumb, :root .inventory-page:not(.inventory-form-page) > .inventory-page-scroll > .inventory-panel > .inventory-table-wrap::-webkit-scrollbar-thumb { border: 2px solid #595d60; border-radius: 999px; background: #091724; }
  :root .inventory-page:not(.inventory-form-page) > .inventory-panel > .inventory-table-wrap thead th, :root .inventory-page:not(.inventory-form-page) > .inventory-page-scroll > .inventory-panel > .inventory-table-wrap thead th { box-shadow: 0 1px 0 #819fb9; }
  :root .inventory-form-page .record-action-footer { border-top: 1px solid #5a5d61; background: var(--iv-bg); box-shadow: none; }
  :root .account-role-options { border: 1px solid #5a5d61; border-radius: 11px; background: #4c4c4c; }
  :root .account-role-options input { accent-color: #172b63; }
  :root .account-address { border: 1px solid #5a5d61; border-radius: 14px; background: #474849; }
  :root .remove-address { border: 1px solid #dc2626; border-radius: 10px; background: #4c4c4c; color: #e6958a; }
  :root .remove-address:hover { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,.16),0 0 12px rgba(239,68,68,.22); }
  :root .crm-workspace .contact-entry-grid input:not([type="radio"]):not([type="hidden"]) { border: 1px solid #5c6166; border-radius: 9px; }
  :root .contact-primary-radio, :root .address-primary-radio { border: 0; border-radius: 999px; background: #1e2126; box-shadow: inset 0 1px 3px rgba(15,23,42,.18); }
  :root .contact-primary-radio::before, :root .address-primary-radio::before { border-radius: 50%; background: #4c4c4c; box-shadow: 0 1px 4px rgba(15,23,42,.28); }
  :root .contact-primary-radio:checked, :root .address-primary-radio:checked { background: linear-gradient(180deg,#24458f,#10275f); box-shadow: 0 0 0 3px rgba(121,212,255,.22),0 0 10px rgba(121,212,255,.35); }
  :root .contact-primary-radio:focus-visible, :root .address-primary-radio:focus-visible { outline: 2px solid #79d4ff; outline-offset: 2px; }
  :root .remove-contact { border: 1px solid #dc2626; border-radius: 9px; background: #4c4c4c; color: #e6958a; }
  :root .remove-contact:hover { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,.16),0 0 10px rgba(239,68,68,.2); }
  :root .crm-workspace .address-entry-grid input:not([type="radio"]):not([type="hidden"]) { border: 1px solid #5c6166; border-radius: 9px; }
  :root .address-entry-grid .remove-address { border-radius: 9px; }
  :root .party-grid-empty td { color: #a6b6cd; }
  :root .party-grid-primary { border: 1px solid transparent; border-radius: 999px; background: #cbd5e1; box-shadow: inset 0 1px 3px rgba(15,23,42,.18); }
  :root .party-grid-primary::before { border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(15,23,42,.28); }
  :root .party-grid-primary:checked { background: linear-gradient(180deg,#24458f,#10275f); box-shadow: 0 0 0 3px rgba(121,212,255,.22),0 0 10px rgba(121,212,255,.35); }
  :root .party-grid-primary-status { color: #afc0d9; }
  :root .crm-workspace .party-child-grid .party-grid-action { border: 0; border-radius: 6px; }
  :root .crm-workspace .inventory-table .row-actions .grid-edit-icon { border: 1px solid #3977a8; border-radius: 50%; background: #30393e; color: #94c3fe; box-shadow: 0 1px 3px rgba(18,63,112,.18),inset 0 1px 0 rgba(255,255,255,.75); }
  :root .crm-workspace .inventory-table .row-actions .grid-edit-icon:hover { border-color: #0f4f87; background: #1c2e36; color: #a7cbf9; box-shadow: 0 0 0 2px rgba(69,188,232,.20),0 0 10px rgba(23,74,139,.40); }
  :root .party-grid-pagination { border-top: 1px solid var(--crm-footer-divider); background: #4c4c4c; }
  :root .form-section-heading .section-add-button { border-radius: 10px; }
  :root .section-grid-search { border: 1px solid #5f656d; border-radius: 10px; background: #4c4c4c; }
  :root .section-grid-search:focus-within { border-color: #79d4ff; box-shadow: 0 0 0 2px rgba(121,212,255,.2),0 0 9px rgba(121,212,255,.35); }
  :root .section-grid-search i { border-right: 1px solid #595b5f; color: #a6b6cd; }
  :root .section-grid-search input { border: 0; border-radius: 0; background: transparent; color: #c2d0ee; outline: none; box-shadow: none; }
  :root .section-grid-search input:focus { border: 0; outline: none; box-shadow: none; }
  :root .section-grid-search input::placeholder { color: #7c899e; }
  :root .gst-lookup-status { color: #a6b6cd; }
  :root .gst-lookup-status[data-state="success"] { color: #7ac292; }
  :root .gst-lookup-status[data-state="error"] { color: #e6958a; }
  :root .gst-lookup-status[data-state="loading"] { color: #a4bdf6; }
  :root .inventory-index-pagination { border: 1px solid #595d62; border-top: 0; border-radius: 0 0 12px 12px; background: #464748; }
  :root .party-page-btn { border: 2px solid #5a5e5f; border-radius: 8px; background: #4c4c4c; color: #a4bdf6; }
  :root .party-page-btn:hover:not(:disabled) { border-color: #79d4ff; box-shadow: 0 0 6px rgba(121,212,255,.68),0 0 12px rgba(121,212,255,.48); }
  :root .party-page-btn.active { border: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, #172f68, #081841); color: #fff; box-shadow: 0 0 8px rgba(121,212,255,.45); }
  :root .party-page-dots { color: #a6b6cd; }
  :root .party-modal { background: rgba(2,10,28,.5); }
  :root .party-modal__dialog { border: 2px solid #1e3a8a; border-radius: 16px; background: #4c4c4c; box-shadow: 0 24px 60px rgba(2,10,28,.35); }
  :root .party-modal__header { border-bottom: 2px solid #79d4ff; background: linear-gradient(180deg,#132c68,#07132b); color: #fff; }
  :root .party-modal__header h2 { color: #d8f4ff; }
  :root .party-modal__header button { border: 0; border-radius: 8px; background: transparent; color: #fff; }
  :root .party-modal__header button:hover { background: rgba(255,255,255,.12); color: #79d4ff; }
  :root .party-modal .required-marker { color: #db8b81; }
  :root .party-modal .inventory-field > input, :root .party-modal .inventory-field > select { border: 2px solid #1e3a8a; border-radius: 12px; background: #4c4c4c; color: #c9d5f0; outline: none; }
  :root .party-modal input.popup-validation-error { border-color: #dc2626 !important; background: #484545 !important; box-shadow: 0 0 0 3px rgba(220,38,38,.12) !important; }
  :root .party-modal select.popup-validation-error + .select2-container .select2-selection--single { border-color: #dc2626 !important; background: #484545 !important; box-shadow: 0 0 0 3px rgba(220,38,38,.12) !important; }
  :root .party-modal .address-phone-group:has(input.popup-validation-error) > input { border-color: #dc2626 !important; background: #484545 !important; box-shadow: 0 0 0 3px rgba(220,38,38,.12) !important; }
  :root .party-modal__footer { border-top: 1px solid #595b5f; background: #464748; }
  :root .party-primary-switch { color: #afc0d9; }
  :root .party-primary-switch span { border: 1px solid transparent; border-radius: 999px; background: #cbd5e1; box-shadow: inset 0 1px 3px rgba(15,23,42,.18); }
  :root .party-primary-switch span::before { border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(15,23,42,.28); }
  :root .party-primary-switch input:checked + span { background: linear-gradient(180deg,#24458f,#10275f); box-shadow: 0 0 0 3px rgba(121,212,255,.22),0 0 10px rgba(121,212,255,.35); }
  :root .country-select-flag { border: 1px solid #5a5d61; border-radius: 3px; box-shadow: 0 1px 2px rgba(15,23,42,.12); }
  :root .country-select-code { color: #a6b6cd; }
  :root .address-country-prefix.phone-country-button { border-radius: 10px 0 0 10px; }
  :root .address-country-prefix.phone-country-button::before { border-style: solid; border-width: 5px 4px 0 4px; border-color: #757575 transparent transparent transparent; }
  :root .address-country-prefix.phone-country-button:hover { background: rgba(30, 58, 138, .06); }
  :root .address-country-prefix.phone-country-button:focus-visible { outline: 2px solid #1e3a8a; outline-offset: -2px; }
  :root .phone-country-menu { border: 2px solid #294985; border-radius: 12px; background: #38393b; box-shadow: 0 8px 20px rgba(15, 31, 58, .18); }
  :root .phone-country-menu.opens-up { box-shadow: 0 -8px 20px rgba(15, 31, 58, .18); }
  :root .phone-country-search { border: 2px solid #5c6166; border-radius: 10px; background: #38393b; color: #c9d5f0; outline: none; }
  :root .phone-country-search:focus { border-color: #79d4ff; box-shadow: 0 0 0 3px rgba(121, 212, 255, .25); }
  :root .phone-country-list { border-top: 1px solid #595b5f; }
  :root .phone-country-option { border: 0; border-radius: 7px; background: transparent; color: #b2c6e2; }
  :root .phone-country-option img { border: 1px solid #5a5d61; border-radius: 3px; }
  :root .phone-country-option small { color: #a6b6cd; }
  :root .phone-country-option:hover, :root .phone-country-option:focus-visible { background: #2e3339; outline: none; }
  :root .phone-country-option[aria-selected="true"] { background: linear-gradient(180deg, #24458f, #10275f); color: #fff; }
  :root .phone-country-option[aria-selected="true"] small { color: #c8d8f5; }
  :root .phone-country-empty { color: #a6b6cd; }
  :root .custom-field-datetime:has([aria-expanded="true"]) { border-color: #5b5ceb !important; box-shadow: 0 0 0 3px rgba(91,92,235,.1); }
  :root .custom-field-calendar-only:has([aria-expanded="true"]) { border-color: #5b5ceb !important; box-shadow: 0 0 0 3px rgba(91,92,235,.1); }
  :root .custom-field-datetime-date-trigger { background: transparent; color: inherit; outline: none; }
  :root .custom-field-datetime-date-trigger i { color: #a6b6cd; }
  :root .custom-field-datetime-date-text--placeholder, :root .wheel-time-trigger-text--placeholder { color: #97a8c1; }
  :root .wheel-time-trigger { background: transparent; color: inherit; outline: none; }
  :root .wheel-time-trigger[aria-expanded="true"] { border-color: #5b5ceb !important; box-shadow: 0 0 0 3px rgba(91,92,235,.1); }
  :root .wheel-time-trigger i { color: #a6b6cd; }
  :root .wheel-time-panel, :root .calendar-panel { border: 1px solid #0d1e4d; border-radius: 18px; background: #4c4c4c; box-shadow: 0 20px 45px rgba(15,23,42,.28); }
  :root .wheel-time-panel::before { background: linear-gradient(to bottom, #132c68, #0d1e4d); box-shadow: inset 0 1px rgba(255,255,255,.1); color: #d8f4ff; }
  :root .wheel-time-columns::before { background: linear-gradient(to bottom, #4c4c4c 15%, rgba(255,255,255,0)); }
  :root .wheel-time-columns::after { background: linear-gradient(to top, #4c4c4c 15%, rgba(255,255,255,0)); }
  :root .wheel-time-highlight { background: #192e39; border-radius: 5px; }
  :root .wheel-col { outline: none; }
  :root .wheel-col li { color: #a6b6cd; }
  :root .wheel-col li.is-centered { color: #abc7ff; }
  :root .wheel-time-actions { border-top: 1px solid #57595b; }
  :root .calendar-header { background: linear-gradient(to bottom, #132c68, #0d1e4d); box-shadow: inset 0 1px rgba(255,255,255,.1); }
  :root .calendar-title { border: 0; background: none; border-radius: 8px; color: #d8f4ff; }
  :root .calendar-title:hover { background: rgba(255,255,255,.12); }
  :root .calendar-nav { border: 0; border-radius: 8px; background: rgba(255,255,255,.08); color: #d8f4ff; }
  :root .calendar-nav:hover { background: rgba(255,255,255,.18); }
  :root .calendar-weekdays { color: #97a8c1; }
  :root .calendar-grid--months .calendar-day, :root .calendar-grid--years .calendar-day { border-radius: 10px; }
  :root .calendar-day { border: 0; border-radius: 999px; background: transparent; color: #b7c7e3; }
  :root .calendar-day:hover { background: #3c3d43; }
  :root .calendar-day--muted { color: #cbd5e1; }
  :root .calendar-day--today { box-shadow: inset 0 0 0 2px #1e3a8a; }
  :root .calendar-day--selected, :root .calendar-day--selected:hover { background: #132c68; color: #fff; box-shadow: none; }
  :root .calendar-today { border: 0; background: none; color: #a4bdf6; }
  :root .custom-field-datetime-panel { border: 1px solid #0d1e4d; border-radius: 18px; background: #4c4c4c; box-shadow: 0 20px 45px rgba(15,23,42,.28); }
  :root .custom-field-datetime-panel-body::before { background: linear-gradient(to bottom, #132c68, #0d1e4d); box-shadow: inset 0 1px rgba(255,255,255,.1); color: #d8f4ff; }
  :root .custom-field-datetime-panel-divider { background: #3c3d3f; }
  :root .address-phone-group { border-radius: 12px; }
  :root .address-country-prefix { border: 0; border-radius: 0; background: transparent; color: #c6c6c6; }
  :root .address-country-prefix::after { background: #262626; }
  :root .address-country-prefix i { color: #a4bdf6; }
  :root .party-modal .inventory-field .address-phone-group > input { border: 2px solid #1e3a8a; border-radius: 12px; background: #4c4c4c; color: #c6c6c6; outline: none; box-shadow: none; }
  :root .party-modal .inventory-field .address-phone-group > input:focus { border-color: #79d4ff; box-shadow: 0 0 0 3px rgba(121,212,255,.22),0 0 12px rgba(121,212,255,.38); }
  :root .crm-workspace .inventory-field .contact-page-phone > input { border: 1px solid #1e3a8a !important; border-radius: 12px !important; background: #4c4c4c !important; box-shadow: none !important; }
  :root .crm-workspace .inventory-field .contact-page-phone > input:focus { border-color: #79d4ff !important; box-shadow: 0 0 0 3px rgba(121,212,255,.22),0 0 12px rgba(121,212,255,.38) !important; }
  :root .inventory-table .product-code-badge { border-radius: 5px; background: #383f43; color: #69b2e1; }
  :root .inventory-table .inventory-no-results { color: #a6b6cd; }
  :root .inventory-password-control > .toggle-password { border: 0; border-radius: 8px; background: transparent; color: #a4bdf6; }
  :root .inventory-password-control > .toggle-password:hover { background: #3e4045; }
  :root .inventory-table thead { background: linear-gradient(180deg, #383b40, #242932); }
  :root .inventory-table th { border-right: 1px solid #bccdea; border-bottom: 1px solid #afc2e2; background: transparent; color: #afc9fb; text-shadow: none; }
  :root .inventory-table th:last-child { border-right: 0; }
  :root .crm-workspace .iv-btn-secondary::after, :root .crm-workspace .iv-btn-outline::after { background: linear-gradient(110deg, transparent 0%, rgba(121,212,255,.04) 30%, rgba(1, 25, 36, 0.65) 50%, rgba(121,212,255,.04) 70%, transparent 100%); }
  :root .crm-workspace .iv-btn-secondary:hover, :root .crm-workspace .iv-btn-outline:hover { border-color: #8adfff; box-shadow: 0 0 0 4px rgba(121,212,255,.26), 0 0 18px rgba(121,212,255,.58), 0 10px 24px rgba(15,23,42,.14); }
  :root .crm-workspace input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not(.designer-section-name), :root .crm-workspace select, :root .crm-workspace textarea, :root .crm-workspace .iv-input, :root .crm-workspace .money-input { border: 2px solid #1e3a8a; border-radius: 14px; background: #4c4c4c; color: #c9d5f0; outline: none; }
  :root .crm-workspace input::placeholder, :root .crm-workspace textarea::placeholder { color: #97a8c1; }
  :root .crm-workspace input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not(.designer-section-name):focus, :root .crm-workspace select:focus, :root .crm-workspace textarea:focus, :root .crm-workspace .iv-input:focus, :root .crm-workspace .money-input:focus-within { border-color: #8adfff; background: #4c4c4c; box-shadow: 0 0 0 3px rgba(121, 212, 255, .22), 0 0 12px rgba(121, 212, 255, .38), 0 12px 24px rgba(15, 23, 42, .14); }
  :root .crm-workspace .iv-btn-secondary, :root .crm-workspace .iv-btn-outline { background: #38393b; }
  :root .crm-workspace .iv-btn-secondary:hover, :root .crm-workspace .iv-btn-outline:hover { border-color: #8adfff; background: #2f3234; box-shadow: 0 0 0 4px rgba(121, 212, 255, .30), 0 0 20px rgba(121, 212, 255, .60), 0 18px 36px rgba(15, 23, 42, .18); }
  :root .crm-workspace .quick-entity-dialog input:focus, :root .crm-workspace .quick-entity-dialog select:focus, :root .crm-workspace .party-modal input:focus, :root .crm-workspace .party-modal select:focus { border-color: #8adfff; background: #3c3d3e; box-shadow: 0 0 0 3px rgba(121, 212, 255, .22), 0 0 12px rgba(121, 212, 255, .38); }
  :root .crm-workspace .inventory-panel, :root .crm-workspace .inventory-form-card, :root .crm-workspace .permission-module, :root .crm-workspace .quick-entity-dialog, :root .crm-workspace .party-modal__dialog { border-color: #697078; background: #2f3133; box-shadow: 0 2px 7px rgba(15, 31, 58, .08), 0 0 0 1px rgba(79, 96, 116, .08); }
  :root .crm-workspace .inventory-toolbar, :root .crm-workspace .inventory-table tbody, :root .crm-workspace .inventory-table td, :root .crm-workspace .permission-module-body, :root .crm-workspace .quick-entity-body, :root .crm-workspace .quick-entity-dialog footer, :root .crm-workspace .party-modal__body, :root .crm-workspace .party-modal__footer, :root .crm-workspace .party-grid-pagination { background: #2f3133; }
  :root .crm-workspace input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not(.designer-section-name), :root .crm-workspace select, :root .crm-workspace textarea, :root .crm-workspace .iv-input, :root .crm-workspace .money-input, :root .crm-workspace .custom-field-datetime, :root .crm-workspace .custom-field-calendar-only, :root .crm-workspace .wheel-time, :root .crm-workspace .select2-container--default .select2-selection--single { background: #38393b; }
  :root .crm-workspace input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not(.designer-section-name):focus, :root .crm-workspace select:focus, :root .crm-workspace textarea:focus, :root .crm-workspace .iv-input:focus, :root .crm-workspace .money-input:focus-within, :root .crm-workspace .select2-container--default.select2-container--focus .select2-selection--single, :root .crm-workspace .select2-container--default.select2-container--open .select2-selection--single { border-color: #8adfff; background: #323436; box-shadow: 0 0 0 3px rgba(121, 212, 255, .22), 0 0 12px rgba(121, 212, 255, .38), 0 12px 24px rgba(15, 23, 42, .14); }
  :root .crm-workspace .select2-selection--single .select2-selection__clear { border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: #97a8c1 !important; }
  :root .crm-workspace .select2-selection--single .select2-selection__clear:hover { background: none !important; color: #db8b81 !important; }
  :root .crm-workspace .inventory-panel, :root .crm-workspace .inventory-form-card, :root .crm-workspace .permission-module, :root .crm-workspace .quick-entity-dialog, :root .crm-workspace .party-modal__dialog, :root .crm-workspace .inventory-stats article { border: 1px solid #666c72; box-shadow: 0 2px 7px rgba(15, 31, 58, .08), 0 0 0 1px rgba(79, 96, 116, .06); }
  :root .crm-workspace .form-section-heading, :root .crm-workspace .inventory-panel > header, :root .crm-workspace .permission-module-header, :root .crm-workspace .quick-entity-dialog > header, :root .crm-workspace .party-modal__header { border-bottom: 1px solid #666c72; }
  :root .crm-workspace .inventory-table thead, :root .crm-workspace .inventory-table thead tr, :root .crm-workspace .inventory-table thead th, :root .crm-workspace .permission-grid-header { background: linear-gradient(180deg, #20282f 0%, #111d26 52%, #0a1822 100%); }
  :root .crm-workspace .inventory-table thead th, :root .crm-workspace .permission-grid-header { color: #a2c7f9; text-shadow: none; }
  :root .crm-workspace .inventory-table thead th { border-right: 2px solid #557795; border-bottom: 1px solid #819fb9; }
  :root .crm-workspace .inventory-table thead th i, :root .crm-workspace .inventory-table thead th button, :root .crm-workspace .inventory-table thead th a { color: #8cbcf4; }
  :root .crm-workspace .permission-grid-header > div { border-right: 2px solid #557795; }
  :root .crm-workspace .inventory-table thead th:last-child, :root .crm-workspace .permission-grid-header > div:last-child { border-right: 0; }
  :root .crm-workspace .inventory-table tbody, :root .crm-workspace .inventory-table tbody tr, :root .crm-workspace .inventory-table tbody td { background: #38393b; }
  :root .crm-workspace .inventory-table tbody td { border-bottom: 1px solid #636a6f; }
  :root .crm-workspace .permission-grid-row { border-bottom: 1px solid #636a6f; background: #38393b; }
  :root .crm-workspace .inventory-stats article { background: #38393b; }
  :root .crm-workspace .inventory-stats article small { color: #abc0da; }
  :root .crm-workspace .inventory-stats article strong { color: #bad1f6; }
  :root .crm-workspace .inventory-stats article > span { background: transparent; color: #a4bdf6 !important; }
  :root .crm-workspace .inventory-stats article:hover { border-color: #8adfff; background: #323436; box-shadow: 0 0 0 3px rgba(121, 212, 255, .22), 0 0 12px rgba(121, 212, 255, .38), 0 12px 24px rgba(15, 23, 42, .14); }
  :root .crm-workspace .inventory-panel > .inventory-toolbar, :root .crm-workspace .inventory-form-card > .form-section-heading:has(.section-grid-tools) { border-bottom: 1px solid #666c72; }
  :root .crm-workspace .iv-btn-primary, :root .crm-workspace .inventory-clear, :root .crm-workspace .inventory-filter, :root .crm-workspace .inventory-empty .iv-btn, :root .crm-workspace .add-bill-line { box-shadow: 0 0 0 1px rgba(49, 95, 165, .24), 0 0 10px rgba(121, 212, 255, .14); }
  :root .crm-workspace .iv-btn-primary:hover, :root .crm-workspace .inventory-clear:hover, :root .crm-workspace .inventory-filter:hover, :root .crm-workspace .inventory-empty .iv-btn:hover, :root .crm-workspace .add-bill-line:hover { box-shadow: 0 0 0 3px rgba(121, 212, 255, .24), 0 0 16px rgba(121, 212, 255, .42); }
  :root .crm-workspace .inventory-stats article { box-shadow: 0 1px 3px rgba(49, 95, 165, .08); }
  :root .crm-workspace .inventory-stats article:hover { box-shadow: 0 0 0 3px rgba(121, 212, 255, .22), 0 0 12px rgba(121, 212, 255, .38); }
  :root .crm-workspace input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not(.designer-section-name):focus, :root .crm-workspace select:focus, :root .crm-workspace textarea:focus, :root .crm-workspace .iv-input:focus, :root .crm-workspace .money-input:focus-within, :root .crm-workspace .select2-container--focus .select2-selection--single, :root .crm-workspace .select2-container--open .select2-selection--single { border-radius: 14px; background-clip: padding-box; outline: 0; }
  :root .crm-workspace .inventory-toolbar input:focus, :root .crm-workspace .inventory-toolbar select:focus, :root .crm-workspace .inventory-toolbar .select2-selection--single, :root .crm-workspace .section-grid-search:focus-within, :root .crm-workspace .party-modal input:focus, :root .crm-workspace .party-modal select:focus, :root .crm-workspace .quick-entity-dialog input:focus, :root .crm-workspace .quick-entity-dialog select:focus { border-radius: 12px; }
  :root .crm-workspace .money-input input:focus, :root .crm-workspace .address-phone-group input:focus, :root .crm-workspace .section-grid-search input:focus { outline: 0; box-shadow: none !important; }
  :root .crm-workspace .inventory-form-card input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not(.designer-section-name), :root .crm-workspace .inventory-form-card select, :root .crm-workspace .inventory-form-card textarea, :root .crm-workspace .inventory-form-card .money-input, :root .crm-workspace .inventory-form-card .address-phone-group, :root .crm-workspace .inventory-form-card .select2-selection--single, :root .crm-workspace .quick-entity-dialog input, :root .crm-workspace .quick-entity-dialog select, :root .crm-workspace .party-modal input, :root .crm-workspace .party-modal select, :root .crm-workspace .party-modal .address-phone-group, :root .crm-workspace .party-modal .select2-selection--single { border-color: #1e3a8a; }
  :root .crm-workspace .inventory-form-card input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not(.designer-section-name):focus, :root .crm-workspace .inventory-form-card select:focus, :root .crm-workspace .inventory-form-card textarea:focus, :root .crm-workspace .inventory-form-card .money-input:focus-within, :root .crm-workspace .inventory-form-card .address-phone-group:focus-within, :root .crm-workspace .inventory-form-card .select2-container--focus .select2-selection--single, :root .crm-workspace .inventory-form-card .select2-container--open .select2-selection--single, :root .crm-workspace .quick-entity-dialog input:focus, :root .crm-workspace .quick-entity-dialog select:focus, :root .crm-workspace .party-modal input:focus, :root .crm-workspace .party-modal select:focus, :root .crm-workspace .party-modal .address-phone-group:focus-within, :root .crm-workspace .party-modal .select2-container--focus .select2-selection--single, :root .crm-workspace .party-modal .select2-container--open .select2-selection--single { border-color: #8adfff; }
  :root .crm-workspace .money-input input { border: 0 !important; border-radius: 0 !important; background: transparent !important; outline: 0 !important; box-shadow: none !important; }
  :root .crm-workspace .money-input > span { border-right: 0; }
  :root .crm-workspace input.input-validation-error, :root .crm-workspace select.input-validation-error, :root .crm-workspace textarea.input-validation-error, :root .crm-workspace .money-input:has(input.input-validation-error) { border-color: #dc2626; background: #484545; box-shadow: none; }
  :root .item-form-page .required-marker { color: #db8b81; }
  :root .inventory-form .required-marker { color: #db8b81; }
  :root .record-action-footer .iv-btn-secondary { border: 2px solid #1e3a8a; border-radius: 14px; background: #4c4c4c; color: #a4bdf6; box-shadow: none; }
  :root .record-action-footer .iv-btn-secondary:hover { border-color: #8adfff; background: #4c4c4c; color: #a4bdf6; box-shadow: 0 0 0 4px rgba(121, 212, 255, .30), 0 0 20px rgba(121, 212, 255, .60), 0 18px 36px rgba(15, 23, 42, .18); }
  :root .inventory-form-card { border: 1px solid #5c6166; border-radius: 12px; background: #4c4c4c; box-shadow: 0 2px 8px rgba(0, 0, 0, .04); }
  :root .inventory-form-card .form-section-heading { border: 0; border-bottom: 1px solid #07132b; border-radius: 0; background: linear-gradient(to bottom, #132c68, #0d1e4d); box-shadow: inset 0 1px rgba(255, 255, 255, .10); }
  :root .inventory-form-card .form-section-heading > span, :root .inventory-form-card .form-section-heading > span.cyan { border-radius: 0; background: transparent; color: #d8f4ff; }
  :root .inventory-form-card .form-section-heading > span i { color: #d8f4ff; }
  :root .inventory-form-card .section-checklist-icon { fill: none; stroke: #323d41; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  :root .inventory-form-card .section-heading-icon { fill: none; stroke: #79d4ff; background: transparent; border: 0; box-shadow: none; }
  :root .inventory-form-card .section-heading-font-icon { color: #79d4ff; }
  :root .inventory-form-card .status-toggle-icon rect { fill: rgba(1, 25, 36, 0.22); }
  :root .inventory-form-card .status-toggle-icon circle { fill: #323d41; stroke: #323d41; }
  :root .crm-workspace .inventory-form-card .form-section-heading .section-grid-search input, :root .crm-workspace .inventory-form-card .form-section-heading .section-grid-search input:focus { border: 0; border-radius: 0; background: transparent; color: #c2d0ee; outline: 0; box-shadow: none; }
  :root .inventory-form-card .form-section-heading h2 { color: #d8f4ff; }
  :root .bill-lines-card .form-section-heading .add-bill-line { border-color: #8adfff; background: #4c4c4c; color: #a4bdf6; }
  :root .record-action-footer .iv-btn { border-radius: 14px; }
  :root .inventory-heading > .iv-btn-primary { border-radius: 14px; }
  :root .inventory-toolbar > select { border-radius: 12px; }
  :root .inventory-toolbar .inventory-filter { border-radius: 12px; }
  :root .crm-workspace .inventory-empty .iv-btn:hover { border-color: #79d4ff !important; box-shadow: 0 0 0 4px rgba(121,212,255,.34), 0 0 22px rgba(121,212,255,.85), 0 0 44px rgba(121,212,255,.55), 0 14px 30px rgba(15,23,42,.24) !important; }
  :root .company-settings-page .company-logo-preview { border: 2px dashed #5b6067; border-radius: 12px; background: #464748; }
  :root .company-settings-page .company-logo-preview:hover { border-color: #2454ad; background: #424447; }
  :root .company-settings-page .company-logo-placeholder { color: #7d8798; }
  :root .company-settings-page .company-logo-placeholder i { color: #aab5c8; }
  :root .company-settings-page .company-logo-controls strong { color: #acc7fe; }
  :root .company-settings-page .company-logo-controls p { color: #99a5be; }
  :root .company-settings-page .company-logo-upload-button { border-radius: 14px; }
  :root .workspace-settings-page .workspace-settings-card > .module-selection { border: 0; }
  :root .workspace-settings-page .module-select-all { color: #9bbdfe; }
  :root .workspace-settings-page .module-select-all input { accent-color: #0d1e4d; }
  :root .workspace-settings-page .module-options label { --workspace-glow-start: -45%; --workspace-glow-end: 245%; }
  :root .workspace-settings-page .module-options label:nth-child(even) { --workspace-glow-start: -145%; --workspace-glow-end: 145%; }
  :root .workspace-settings-page .module-options label > span { border: 1px solid #5b6068; border-radius: 14px; background: #4c4c4c; color: #abc0e4; box-shadow: 0 4px 12px rgba(15, 23, 42, .04); }
  :root .workspace-settings-page .module-options label:hover > span { border-color: #79cceb; box-shadow: 0 8px 18px rgba(36, 84, 173, .12); }
  :root .workspace-settings-page .module-options i { color: #8fb3f3; }
  :root .workspace-settings-page .module-options small { color: #76839a; }
  :root .workspace-settings-page .module-options input:checked + span { border-color: #1e3a8a; background: linear-gradient(180deg, #132c68 0%, #0d1e4d 48%, #07132b 100%); color: #fff; box-shadow: 0 8px 18px rgba(7, 19, 43, .25), inset 0 1px 1px rgba(255, 255, 255, .12); }
  :root .workspace-settings-page .module-options input:checked + span i { color: #82c8ff; }
  :root .workspace-settings-page .module-options input:checked + span small { color: #c8d8f5; }
  :root .workspace-settings-page .module-options input:checked + span::after { background: linear-gradient(90deg, transparent, rgba(76, 76, 76, 0.5), transparent); }
  :root .workspace-settings-page .module-options input:focus-visible + span { outline: 2px solid #2464d7; outline-offset: 2px; }
  :root .inventory-stats article, :root .inventory-panel, :root .inventory-form-card, :root .permission-module, :root .quick-entity-dialog, :root .quick-entity-dialog footer, :root .party-modal__dialog, :root .party-modal__body, :root .party-modal__footer, :root .party-grid-pagination, :root .workspace-settings-page .module-options label > span { background: #3c3d3f; }
  :root .crm-workspace .inventory-toolbar input, :root .crm-workspace .inventory-toolbar select, :root .crm-workspace .inventory-field > input, :root .crm-workspace .inventory-field > select, :root .crm-workspace .money-input, :root .crm-workspace .bill-line input, :root .crm-workspace .bill-line select, :root .quick-entity-body input, :root .quick-entity-body select, :root .party-modal .inventory-field > input, :root .party-modal .inventory-field > select, :root .section-grid-search { background: #414242; }
  :root .inventory-toolbar, :root .inventory-table tbody, :root .record-action-footer, :root .quick-entity-dialog footer, :root .party-modal__footer, :root .record-action-footer .iv-btn-secondary, :root .inventory-empty .iv-btn-secondary { background: #3c3d3f; }
  :root .inventory-table thead, :root .inventory-table thead th { background: linear-gradient(180deg, #3c3d3f, #2c2e30); }
  :root .inventory-table tbody, :root .inventory-table td, :root .inventory-panel > header, :root .inventory-panel > footer, :root .inventory-form-card > .inventory-form-grid, :root .inventory-form-card > .inventory-switch, :root .inventory-form-card > .bill-lines-head, :root .inventory-form-card > .bill-total, :root .permission-module-body, :root .quick-entity-body, :root .party-modal__body { background-color: #3c3d3f; }
  :root .inventory-stats article, :root .inventory-panel, :root .inventory-toolbar, :root .inventory-form-card, :root .inventory-form-card > .inventory-form-grid, :root .inventory-form-card > .inventory-switch, :root .inventory-form-card > .bill-lines-head, :root .inventory-form-card > .bill-total, :root .inventory-table tbody, :root .inventory-table td, :root .record-action-footer, :root .permission-module, :root .permission-module-body, :root .quick-entity-dialog, :root .quick-entity-body, :root .quick-entity-dialog footer, :root .party-modal__dialog, :root .party-modal__body, :root .party-modal__footer, :root .party-grid-pagination, :root .workspace-settings-page .module-options label > span { background: #4c4c4c; }
  :root .inventory-table thead, :root .inventory-table thead th { background: #4c4c4c; }
  :root .inventory-stats article, :root .record-action-footer { background: #424446; }
  :root .inventory-stats article, :root .inventory-panel, :root .inventory-toolbar, :root .inventory-form-card, :root .inventory-form-card > .inventory-form-grid, :root .inventory-form-card > .inventory-switch, :root .inventory-form-card > .bill-lines-head, :root .inventory-form-card > .bill-total, :root .inventory-table tbody, :root .inventory-table td, :root .record-action-footer, :root .permission-module, :root .permission-module-body, :root .quick-entity-dialog, :root .quick-entity-body, :root .quick-entity-dialog footer, :root .party-modal__dialog, :root .party-modal__body, :root .party-modal__footer, :root .party-grid-pagination, :root .workspace-settings-page .module-options label > span { background: #404142; }
  :root .inventory-stats article, :root .record-action-footer, :root .inventory-table thead, :root .inventory-table thead th { background: #3d3f41; }
  :root .crm-workspace input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not(.designer-section-name), :root .crm-workspace select, :root .crm-workspace textarea, :root .crm-workspace .iv-input, :root .crm-workspace .money-input { background-color: #454646; }
  :root .inventory-stats article, :root .inventory-panel, :root .inventory-toolbar, :root .inventory-form-card, :root .inventory-form-card > .inventory-form-grid, :root .inventory-form-card > .inventory-switch, :root .inventory-form-card > .bill-lines-head, :root .inventory-form-card > .bill-total, :root .inventory-table tbody, :root .inventory-table td, :root .record-action-footer, :root .permission-module, :root .permission-module-body, :root .quick-entity-dialog, :root .quick-entity-body, :root .quick-entity-dialog footer, :root .party-modal__dialog, :root .party-modal__body, :root .party-modal__footer, :root .party-grid-pagination, :root .workspace-settings-page .module-options label > span { background: #343638; }
  :root .inventory-stats article, :root .record-action-footer, :root .inventory-table thead, :root .inventory-table thead th { background: #303336; }
  :root .inventory-panel, :root .inventory-form-card, :root .inventory-stats article, :root .quick-entity-dialog, :root .party-modal__dialog { border-color: #5d6267; box-shadow: 0 2px 8px rgba(15, 31, 58, .05); }
  :root .crm-workspace input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not(.designer-section-name), :root .crm-workspace select, :root .crm-workspace textarea, :root .crm-workspace .iv-input, :root .crm-workspace .money-input { background-color: #3c3d3f; }
  :root .crm-workspace .inventory-table thead, :root .crm-workspace .inventory-table thead tr, :root .crm-workspace .inventory-table thead th { background: linear-gradient(180deg, #173572 0%, #10285f 52%, #0a1d47 100%); }
  :root .crm-workspace .inventory-table thead th { border-right-color: rgba(180, 216, 245, .22); border-bottom-color: #071735; color: #f2f7ff; text-shadow: 0 1px 1px rgba(0, 0, 0, .18); }
  :root .crm-workspace .inventory-table thead th i, :root .crm-workspace .inventory-table thead th button, :root .crm-workspace .inventory-table thead th a { color: #d8efff; }
  :root .crm-workspace .account-editor { background: #2c2f32; }
  :root .crm-workspace .account-editor .inventory-form-card { border-color: #5d6368; background: #3c3d3e; box-shadow: 0 2px 7px rgba(15, 31, 58, .05); }
  :root .crm-workspace .account-editor .inventory-form-card > .inventory-form-grid, :root .crm-workspace .account-editor .inventory-form-card > .inventory-switch, :root .crm-workspace .account-editor .inventory-table tbody, :root .crm-workspace .account-editor .inventory-table td, :root .crm-workspace .account-editor .party-grid-pagination { background: #37393b; }
  :root .crm-workspace .account-editor input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not(.designer-section-name), :root .crm-workspace .account-editor select, :root .crm-workspace .account-editor textarea, :root .crm-workspace .account-editor .select2-selection--single, :root .crm-workspace .account-editor .money-input { background: #414242; }
  :root .crm-workspace .account-editor .section-grid-search, :root .crm-workspace .account-editor .section-add-button { background: #3d3e3f; }
  :root .crm-workspace .account-editor .record-action-footer { border-top-color: #5d6368; background: #323436; }
  :root .crm-workspace .record-action-footer { border: 1px solid #5d6368; border-radius: 14px; }
  :root .crm-workspace .inventory-form-page .record-action-footer { border-color: #666c72; background: #2c2f31; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
  :root .crm-workspace .inventory-form-card, :root .crm-workspace .permission-module { border-color: #697078; background: #2f3133; box-shadow: 0 2px 7px rgba(15, 31, 58, .08), 0 0 0 1px rgba(79, 96, 116, .08); }
  :root .crm-workspace .inventory-form-card > .inventory-form-grid, :root .crm-workspace .inventory-form-card > .inventory-switch, :root .crm-workspace .inventory-form-card > .bill-lines-head, :root .crm-workspace .inventory-form-card > .bill-total, :root .crm-workspace .permission-module-body { background: #2f3133; }
  :root .crm-workspace .inventory-form-card:not(:has(.inventory-table)) { box-shadow: 0 2px 7px rgba(15, 31, 58, .05); }
  :root .crm-workspace .account-editor .inventory-form-card, :root .crm-workspace .account-editor .inventory-form-card > .inventory-form-grid, :root .crm-workspace .account-editor .inventory-form-card > .inventory-switch { background: #2f3133; }
  :root .crm-workspace .inventory-form-card input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not(.designer-section-name), :root .crm-workspace .inventory-form-card select, :root .crm-workspace .inventory-form-card textarea, :root .crm-workspace .inventory-form-card .select2-selection--single, :root .crm-workspace .inventory-form-card .money-input { background: #38393b; }
  :root .crm-workspace .money-input > span { border-right: 1px solid #697078; background: #38393b; color: #a5b9d5; }
  :root .crm-workspace .record-action-footer .iv-btn-secondary { border-color: #1e3a8a; background: #38393b; color: #a4bdf6; }
  :root .crm-workspace .record-action-footer .iv-btn-secondary:hover { border-color: #8adfff; background: #2f3234; color: #a4bdf6; box-shadow: 0 0 0 4px rgba(121, 212, 255, .30), 0 0 20px rgba(121, 212, 255, .60), 0 18px 36px rgba(15, 23, 42, .18); }
  :root .crm-workspace input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not(.designer-section-name):focus, :root .crm-workspace select:focus, :root .crm-workspace textarea:focus, :root .crm-workspace .iv-input:focus, :root .crm-workspace .money-input:focus-within { border-color: #8adfff; background: #3c3d3e; box-shadow: 0 0 0 3px rgba(121, 212, 255, .22), 0 0 12px rgba(121, 212, 255, .38), 0 12px 24px rgba(15, 23, 42, .14); }
  :root .crm-workspace .inventory-table thead, :root .crm-workspace .inventory-table thead tr, :root .crm-workspace .inventory-table thead th, :root .crm-workspace .permission-grid-header { background: linear-gradient(180deg, #20282f 0%, #111d26 52%, #0a1822 100%); }
  :root .crm-workspace .inventory-table thead th, :root .crm-workspace .permission-grid-header { color: #a2c7f9; text-shadow: none; }
  :root .crm-workspace .inventory-table thead th { border-right-color: #91aec7; border-bottom-color: #819fb9; }
  :root .crm-workspace .inventory-table thead th i, :root .crm-workspace .inventory-table thead th button, :root .crm-workspace .inventory-table thead th a { color: #8cbcf4; }
  :root .crm-workspace .record-action-footer, :root .crm-workspace .account-editor .record-action-footer, :root .crm-workspace .inventory-form-page .record-action-footer { background: #38393b; }
  :root .crm-workspace .record-action-footer .iv-btn-secondary { border: 2px solid #1e3a8a; background: #38393b; color: #a4bdf6; box-shadow: none; }
  :root .crm-workspace .record-action-footer .iv-btn-secondary:hover { border-color: #8adfff; background: #2f3234; color: #a4bdf6; box-shadow: 0 0 0 4px rgba(121, 212, 255, .30),
        0 0 20px rgba(121, 212, 255, .60),
        0 18px 36px rgba(15, 23, 42, .18); }
  :root .crm-workspace .address-phone-group > input, :root .crm-workspace .inventory-field .contact-page-phone > input, :root .crm-workspace .party-modal .inventory-field .address-phone-group > input { background-color: #38393b !important; }
  :root .crm-workspace .address-phone-group > input:focus, :root .crm-workspace .inventory-field .contact-page-phone > input:focus, :root .crm-workspace .party-modal .inventory-field .address-phone-group > input:focus { background-color: #3c3d3e !important; }
  :root .crm-workspace .address-country-prefix::after { background: #11171d; }
  :root .crm-workspace .mailbox-assignment-tags .module-options input:not(:checked) + span i { color: #abc7ff; }
  :root .crm-workspace .iv-btn, :root .crm-workspace .section-add-button, :root .crm-workspace .add-bill-line, :root .crm-workspace .inventory-clear, :root .crm-workspace .company-logo-upload-button, :root .quick-entity-dialog footer .iv-btn, :root .party-modal__footer .iv-btn { border-radius: 10px !important; }
  :root .crm-workspace .iv-btn-primary, :root .crm-workspace .inventory-clear, :root .crm-workspace .company-logo-upload-button, :root .quick-entity-dialog footer .iv-btn-primary, :root .party-modal__footer .iv-btn-primary { border: 2px solid #1e3a8a !important; background: linear-gradient(180deg, #172f68, #081841) !important; color: #fff !important; box-shadow: 0 8px 20px rgba(7, 19, 43, .28), inset 0 1px 1px rgba(255, 255, 255, .12) !important; }
  :root .crm-workspace .iv-btn-secondary, :root .crm-workspace .iv-btn-outline, :root .crm-workspace .section-add-button, :root .crm-workspace .add-bill-line, :root .quick-entity-dialog footer .iv-btn-secondary, :root .party-modal__footer .iv-btn-secondary { border: 2px solid #1e3a8a !important; background: #38393b !important; color: #a4bdf6 !important; box-shadow: 0 2px 8px rgba(15, 23, 42, .04) !important; }
  :root .crm-workspace .iv-btn-danger { border: 2px solid #b91c1c !important; background: linear-gradient(180deg, #2f0405 0%, #dc2626 52%, #b91c1c 100%) !important; color: #fff !important; }
  :root .crm-workspace .iv-btn::before, :root .crm-workspace .inventory-clear::before, :root .crm-workspace .section-add-button::before, :root .crm-workspace .add-bill-line::before, :root .quick-entity-dialog footer .iv-btn::before, :root .party-modal__footer .iv-btn::before { border-radius: 12px 12px 100px 100px !important; background: linear-gradient(rgba(76, 76, 76, 0.22), rgba(255, 255, 255, 0)) !important; }
  :root .crm-workspace .iv-btn::after, :root .crm-workspace .inventory-clear::after, :root .crm-workspace .section-add-button::after, :root .crm-workspace .add-bill-line::after, :root .quick-entity-dialog footer .iv-btn::after, :root .party-modal__footer .iv-btn::after { background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.05) 30%, rgba(76, 76, 76, 0.45) 50%, rgba(255,255,255,.05) 70%, transparent 100%) !important; }
  :root .crm-workspace .iv-btn:hover, :root .crm-workspace .inventory-clear:hover, :root .crm-workspace .section-add-button:hover, :root .crm-workspace .add-bill-line:hover, :root .quick-entity-dialog footer .iv-btn:hover, :root .party-modal__footer .iv-btn:hover { border-color: #8adfff !important; box-shadow: 0 0 0 4px rgba(121,212,255,.30), 0 0 20px rgba(121,212,255,.70),
        0 0 40px rgba(121,212,255,.50), 0 18px 36px rgba(15,23,42,.20) !important; }
  :root .crm-workspace .bill-lines-head, :root .crm-workspace .bill-lines-head span { color: #b1c0dc !important; }
  :root .crm-workspace .bill-lines-head b, :root .crm-workspace .bill-lines-head .required-marker { color: #db8b81 !important; }
  :root .crm-workspace .sales-purchase-bill-lines .bill-line, :root .crm-workspace .bill-lines-card #billLines > .bill-line { border-top: 1px solid #6a7179 !important; }
  :root .crm-workspace .sales-purchase-bill-lines .bill-line:last-child, :root .crm-workspace .bill-lines-card #billLines > .bill-line:last-child { border-bottom: 1px solid #6a7179 !important; }
  :root .crm-workspace .inventory-page:not(.inventory-form-page) > .inventory-heading > .iv-btn { box-shadow: none !important; }
  :root .crm-workspace .inventory-page:not(.inventory-form-page) > .inventory-heading > .iv-btn:hover { box-shadow: 0 0 0 3px rgba(121, 212, 255, .24),
        0 0 16px rgba(121, 212, 255, .42) !important; }
  @media (min-width: 701px) {
    :root .crm-workspace .inventory-page:not(.inventory-form-page) .inventory-table tbody td { color: #a9b7d3; }
    :root .crm-workspace .inventory-page:not(.inventory-form-page) .inventory-table tbody td > strong, :root .crm-workspace .inventory-page:not(.inventory-form-page) .inventory-table tbody td .product-name-cell > strong, :root .crm-workspace .inventory-page:not(.inventory-form-page) .inventory-table tbody td .item-cell strong { color: #b9c8e5; }
    :root .crm-workspace .inventory-page:not(.inventory-form-page) .inventory-table tbody td small { color: #7eb0dd; }
    :root .crm-workspace .inventory-page:not(.inventory-form-page) .inventory-table tbody td .product-code-badge { border-radius: 5px; background: #2a3136; color: #82b9e9; }
    :root .crm-workspace .reference-number-index .inventory-table tbody .movement-type-badge, :root .crm-workspace .reference-number-index .inventory-table tbody td:nth-child(2) > small, :root .crm-workspace .stock-adjustment-index .ledger-summary-row > td:nth-child(2)::after { border-radius: 5px; background: #2a3136; color: #82b9e9; }
  }
  :root .ledger-serial-count { border-radius: 999px; background: #2a3136; color: #82b9e9; }
  :root .ledger-expand-button { border: 1px solid #3977a8; border-radius: 50%; background: #30393e; color: #94c3fe; box-shadow: 0 1px 3px rgba(18,63,112,.18),inset 0 1px 0 rgba(255,255,255,.75); }
  :root .ledger-expand-button:hover { border-color: #0f4f87; background: #1c2e36; color: #a7cbf9; box-shadow: 0 0 0 2px rgba(69,188,232,.20),0 0 10px rgba(23,74,139,.40); }
  :root .ledger-detail-row > td { background: #303436 !important; }
  :root .ledger-detail-panel { border: 1px solid #666e75; border-radius: 10px; background: #434445; box-shadow: inset 0 1px 2px rgba(15,31,58,.06); }
  :root .ledger-detail-heading { border-bottom: 1px solid #071b3f; background: linear-gradient(180deg,#173f78 0%,#0d2855 100%); color: #fff; }
  :root .ledger-detail-heading span { border: 1px solid rgba(24,115,66,.20); border-radius: 999px; background: #323d37; color: #7ac292; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
  :root .ledger-detail-panel table { border-collapse: collapse; }
  :root .ledger-detail-panel th { border-right: 1px solid rgba(255,255,255,.18); background: #24548a; color: #f5fbff; }
  :root .ledger-detail-panel th:last-child { border-right: 0; }
  :root .ledger-detail-panel td { border-top: 1px solid #5a5f62; background: #434445 !important; }
  :root .ledger-detail-footer { border-top: 1px solid #5e656b; background: #37393b; color: #a9b7d3; }
  :root .ledger-detail-footer strong { color: #a2c7f9; }
  :root .crm-workspace .ledger-detail-panel > table { border-collapse: collapse; }
  :root .crm-workspace .ledger-detail-panel > table > thead > tr > th { border-right: 1px solid #91aec7; border-bottom: 1px solid #819fb9; background: linear-gradient(180deg,#20282f 0%,#111d26 52%,#0a1822 100%); color: #a2c7f9; text-shadow: none; }
  :root .crm-workspace .ledger-detail-panel > table > tbody > tr > td { background: #434445 !important; }
  :root .crm-workspace .stock-ledger-grouped .inventory-table-wrap.ledger-details-open::-webkit-scrollbar-track { background: #2d3134; }
  :root .crm-workspace .stock-ledger-grouped .inventory-table-wrap.ledger-details-open::-webkit-scrollbar-thumb { border: 2px solid #595d60; border-radius: 999px; background: #091724; }
  :root .crm-workspace .stock-ledger-grouped .inventory-table-wrap > .inventory-table { border-collapse: separate; border-spacing: 0; }
  :root .crm-workspace .stock-ledger-grouped .inventory-table-wrap > .inventory-table > thead > tr > th { background: linear-gradient(180deg, #20282f 0%, #111d26 52%, #0a1822 100%); }
  :root .crm-workspace .stock-ledger-grouped .inventory-table-wrap > .inventory-table > thead > tr > th { border-right: 2px solid #91aec7 !important; border-bottom: 1px solid #819fb9 !important; }
  :root .crm-workspace .stock-ledger-grouped .inventory-table-wrap > .inventory-table > thead > tr > th:last-child { border-right: 0 !important; }
  :root .crm-workspace .inventory-heading > .iv-btn, :root .crm-workspace .form-section-heading > .iv-btn, :root .crm-workspace .form-section-heading > .add-bill-line, :root .crm-workspace .section-grid-tools .section-add-button { border-radius: 10px !important; }
  :root .stock-badge.on-demo { background: #30353d; color: #90aff0; }
  :root .crm-workspace .purchase-serial-chips { border: var(--crm-control-border-width) solid var(--crm-control-border-color); border-radius: var(--crm-control-radius); background: #38393b; color: #c9d5f0; }
  :root .crm-workspace .purchase-serial-chips:focus-within { background: #323436; box-shadow: 0 0 0 3px rgba(121,212,255,.22), 0 0 12px rgba(121,212,255,.38); }
  :root:root .crm-workspace .purchase-serial-chips .purchase-serial-chips__input { border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; outline: none !important; color: #c9d5f0; }
  :root .crm-workspace .purchase-serial-chip, :root .crm-workspace .serial-number-chip { border: 1px solid #61676f; border-radius: 14px; background: #2e3338; color: #a6c3f4; }
  :root .crm-workspace .purchase-serial-chip .purchase-serial-chip__remove { border: 0; border-radius: 0; background: #dc3545; color: #fff; }
  :root .crm-workspace .purchase-serial-chip__remove:hover { background: #bb2d3b; }
  :root .crm-workspace .purchase-serial-chips__error { color: #e6958a; }
  :root .number-layout-editor > p { color: #a6b6cd; }
  :root .number-layout-block { border: 1.5px solid #1e3a8a; border-radius: var(--crm-control-radius); background: #38393b; }
  :root .number-layout-block__content strong { color: #a4bdf6; }
  :root .number-layout-block--empty { border-style: dashed; }
  :root .number-layout-block--empty [data-part-preview] { color: #a6b6cd; }
  :root .number-layout-block--dragging { background: #30353d; box-shadow: 0 0 0 3px rgba(121,212,255,.3); }
  :root .number-layout-block button { border: 0; border-radius: 6px; background: transparent; color: #a4bdf6; }
  :root .number-layout-block button:hover:not(:disabled) { background: #30353d; }
  :root .number-layout-block button:focus-visible { outline: 2px solid #1e3a8a; outline-offset: 2px; }
  :root .number-layout-block button:disabled { color: #94a3b8; }
  :root .number-layout-editor { border: 1px solid #5c636a; border-radius: 14px; background: #414344; }
  :root .number-layout-live > span { color: #a6b6cd; }
  :root .number-layout-live output { color: #abc7ff; }
  :root .number-layout-block { background: #4c4c4c; }
  :root .number-layout-block__content strong { color: #a6b6cd; }
  :root .number-layout-block__content [data-part-preview] { color: #abc7ff; }
  :root .number-layout-block--empty [data-part-preview] { color: #a6b6cd; }
  :root .number-layout-block--dragging { border-style: dashed; }
  :root .number-layout-drag-ghost { background: #30353d; box-shadow: 0 12px 32px rgba(19,44,104,.25); }
  :root .document-numbering-page .number-settings-row { border-bottom: 1px solid #5c6166; }
  :root .document-numbering-page .number-settings-row:last-child { border-bottom: 0; }
  :root .document-numbering-page .number-settings input[readonly] { background: #404143; color: #97a8c1; }
  :root .document-numbering-page .number-layout-editor { background: #464748; }
  :root .number-layout-fixed { color: #a6b6cd; }
  :root .challan-address-picker summary { color: #a4bdf6; background: #38393b; border-radius: 4px; }
  :root .challan-address-picker summary:focus-visible { outline: 2px solid #1e3a8a; outline-offset: 2px; }
  :root .challan-address-options { border: 2px solid #294985; border-radius: 12px; background: #38393b; box-shadow: 0 8px 20px rgba(15, 31, 58, .14); }
  :root .challan-address-options .picker-search { border-bottom: 1px solid #595b5f; background: #38393b; }
  :root .challan-address-options .picker-search input { border: 2px solid #5c6166; border-radius: 10px; background: #38393b; color: #c9d5f0; outline: none; }
  :root .challan-address-options .picker-search input:focus { border-color: #79d4ff; box-shadow: 0 0 0 3px rgba(121, 212, 255, .25), 0 0 14px rgba(121, 212, 255, .35); }
  :root .challan-address-options > button { border: 0; border-radius: 7px; background: transparent; color: #b2c6e2; }
  :root .challan-address-options > button:hover, :root .challan-address-options > button:focus-visible { background: var(--crm-gloss-hover); box-shadow: var(--crm-gloss-hover-shadow); color: var(--crm-gloss-text); outline: none; }
  :root .challan-address-options > button[aria-pressed="true"], :root .challan-address-options > button[aria-pressed="true"]:hover, :root .challan-address-options > button[aria-pressed="true"]:focus-visible { background: var(--crm-gloss-selected); box-shadow: var(--crm-gloss-selected-shadow); color: var(--crm-gloss-selected-text); text-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
  :root .challan-address-options .picker-no-results { color: #a6b6cd; }
  :root .challan-address-options .picker-add-new-footer { border-top: 1px solid var(--crm-footer-divider, #5f6368); background: #464748; }
  :root .challan-address-options .picker-add-new { border: 0; border-radius: 8px; background: transparent; color: #a4bdf6; }
  :root .challan-address-options .picker-add-new:hover, :root .challan-address-options .picker-add-new:active, :root .challan-address-options .picker-add-new:focus-visible { background: var(--crm-gloss-hover) !important; box-shadow: var(--crm-gloss-hover-shadow); color: var(--crm-gloss-text) !important; outline: none; }
  :root .inventory-form-card:has(.challan-address-picker details[open]) > .form-section-heading { border-radius: 11px 11px 0 0; }
  :root .permission-grid-row select[data-no-select2] { border: 1px solid #5c6166; border-radius: 4px; }
  :root .permission-grid-row .permission-circle { border: 1px solid #686e77; border-radius: 50%; background: #4c4c4c; box-shadow: inset 0 1px 2px rgba(15,23,42,.18),0 1px 2px rgba(15,23,42,.12); }
  :root .permission-legend-swatch { border: 1px solid #94a3b8; border-radius: 50%; background: #fff; box-shadow: inset 0 1px 2px rgba(15,23,42,.18),0 1px 2px rgba(15,23,42,.12); }
  :root .permission-grid-row .permission-circle:is([data-state="user"],[data-state="businessunit"],[data-state="deep"]) { --permission-pie: conic-gradient(#7dd3fc 0 90deg,#f8fbff 90deg 360deg); --permission-depth: rgba(3,40,90,.32); background: radial-gradient(ellipse at 30% 20%,rgba(76, 76, 76, 0.85),rgba(255,255,255,0) 45%),
        linear-gradient(180deg,rgba(76, 76, 76, 0.28) 0%,rgba(255,255,255,0) 45%,var(--permission-depth) 100%),
        var(--permission-pie); box-shadow: inset 0 1px 2px rgba(255,255,255,.75),inset 0 -2px 3px var(--permission-depth),
        0 1px 2px rgba(13,30,77,.28),0 0 4px rgba(23,58,130,.18); }
  :root .permission-legend-swatch:is([data-fill="user"],[data-fill="businessunit"],[data-fill="deep"]) { --permission-pie: conic-gradient(#7dd3fc 0 90deg,#f8fbff 90deg 360deg); --permission-depth: rgba(3,40,90,.32); background: radial-gradient(ellipse at 30% 20%,rgba(255,255,255,.85),rgba(255,255,255,0) 45%),
        linear-gradient(180deg,rgba(255,255,255,.28) 0%,rgba(255,255,255,0) 45%,var(--permission-depth) 100%),
        var(--permission-pie); box-shadow: inset 0 1px 2px rgba(255,255,255,.75),inset 0 -2px 3px var(--permission-depth),
        0 1px 2px rgba(13,30,77,.28),0 0 4px rgba(23,58,130,.18); }
  :root .permission-grid-row .permission-circle[data-state="user"] { border-color: #38bdf8; --permission-depth: rgba(2,90,140,.07); --permission-pie: conic-gradient(#56c6f5 0 90deg,#fff 90deg 360deg); box-shadow: inset 0 1px 2px rgba(255,255,255,.75),inset 0 -1px 2px rgba(2,90,140,.08),0 1px 2px rgba(15,23,42,.12); }
  :root .permission-legend-swatch[data-fill="user"] { border-color: #38bdf8; --permission-depth: rgba(2,90,140,.07); --permission-pie: conic-gradient(#56c6f5 0 90deg,#fff 90deg 360deg); box-shadow: inset 0 1px 2px rgba(255,255,255,.75),inset 0 -1px 2px rgba(2,90,140,.08),0 1px 2px rgba(15,23,42,.12); }
  :root .permission-grid-row .permission-circle[data-state="businessunit"] { border-color: #0284c7; --permission-depth: rgba(3,60,110,.36); --permission-pie: conic-gradient(#0ea5e9 0 180deg,#f8fbff 180deg 360deg); }
  :root .permission-legend-swatch[data-fill="businessunit"] { border-color: #0284c7; --permission-depth: rgba(3,60,110,.36); --permission-pie: conic-gradient(#0ea5e9 0 180deg,#f8fbff 180deg 360deg); }
  :root .permission-grid-row .permission-circle[data-state="deep"] { border-color: #075985; --permission-depth: rgba(3,30,70,.48); --permission-pie: conic-gradient(#0369a1 0 270deg,#f8fbff 270deg 360deg); }
  :root .permission-legend-swatch[data-fill="deep"] { border-color: #075985; --permission-depth: rgba(3,30,70,.48); --permission-pie: conic-gradient(#0369a1 0 270deg,#f8fbff 270deg 360deg); }
  :root .permission-grid-row .permission-circle[data-state="organization"] { border-color: #0d1e4d; background: radial-gradient(ellipse at 30% 20%,rgba(35, 52, 61, 0.8),transparent 55%),
        linear-gradient(180deg,#3567ba,#173a82 55%,#0d1e4d); box-shadow: inset 0 1px 2px rgba(255,255,255,.65),inset 0 -2px 3px rgba(5,15,45,.6),
        0 1px 2px rgba(13,30,77,.3),0 0 4px rgba(23,58,130,.2); }
  :root .permission-legend-swatch[data-fill="organization"] { border-color: #0d1e4d; background: radial-gradient(ellipse at 30% 20%,rgba(200,235,255,.8),transparent 55%),
        linear-gradient(180deg,#3567ba,#173a82 55%,#0d1e4d); box-shadow: inset 0 1px 2px rgba(255,255,255,.65),inset 0 -2px 3px rgba(5,15,45,.6),
        0 1px 2px rgba(13,30,77,.3),0 0 4px rgba(23,58,130,.2); }
  :root .permission-grid-row .permission-circle:focus-visible { outline: 3px solid #38bdf8; outline-offset: 3px; }
  :root [data-record-readonly="true"] input:disabled, :root [data-record-readonly="true"] select:disabled, :root [data-record-readonly="true"] textarea:disabled { color: #afc0d9; }
  :root .form-field--designer-disabled :is(input:not([type=hidden]),select,textarea), :root .form-field--designer-disabled .select2-container .select2-selection { background: #404143 !important; color: #97a8c1 !important; }
  :root .form-field--rule-locked :is(input:not([type=hidden]),select,textarea), :root .form-field--rule-locked .select2-container .select2-selection { background: #404143 !important; color: #a6b6cd !important; }
  :root .business-rule-message.is-error { color: #db8b81; }
  :root .business-rule-message.is-recommendation { border: 1px solid #c7d7f5; border-radius: 8px; background: #3e4045; color: #a4bdf6; }
  :root .crm-workspace .business-rule-message button { border: 0; border-radius: 6px; background: transparent; color: #a4bdf6; }
  :root .crm-workspace .business-rule-message button:hover { background: #2e323a; }
  :root .permission-legend { color: #a6b6cd; }
  :root .permission-legend--compact { color: #afc0d9; }
  :root .permission-legend-prompt { color: #a6b6cd; }
  :root .permission-legend-item strong { color: #afc0d9; }
  :root .custom-field-datetime-panel--compact .calendar-header { border-radius: 17px 17px 0 0; }
  :root .configured-subgrid--editable .subgrid-edit-open { border-radius: 8px; color: #a4bdf6; }
  :root .configured-subgrid--editable .subgrid-edit-open:hover { background: #393b40; }
  :root .configured-subgrid--editable .subgrid-edit-status { color: #a6b6cd; }
  :root .subgrid-lookup__row:hover, :root .subgrid-lookup__row:focus-visible { background: #393b40; outline: none; }
  :root .subgrid-lookup__form .required-marker { color: #db8b81; }
  :root .configured-subgrid .subgrid-unlink { border: 1px solid #fecaca; border-radius: 7px; background: #4c4c4c; color: #db8b81; }
  :root .configured-subgrid .subgrid-unlink:hover { background: #454141; }
  :root .subgrid-lookup :is(input,select,textarea):focus { border-color: #0ea5e9; box-shadow: 0 0 0 3px rgba(14,165,233,.18); background: #4c4c4c; }
  :root .subgrid-lookup .subgrid-lookup__search i { color: #a6b6cd; }
  :root .subgrid-lookup .subgrid-lookup__more { border: 1px solid #5d6167; border-radius: 9px; background: #4c4c4c; color: #a4bdf6; box-shadow: none; }
  :root .subgrid-lookup .select2-container--default .select2-selection--single .select2-selection__placeholder { color: #97a8c1; }
  :root .subgrid-lookup .select2-container--default.select2-container--open .select2-selection--single, :root .subgrid-lookup .select2-container--default.select2-container--focus .select2-selection--single { border-color: #0ea5e9; background: #4c4c4c; box-shadow: 0 0 0 3px rgba(14,165,233,.18); }
  :root .subgrid-lookup .inventory-table { border-collapse: separate; border-spacing: 0; }
  :root .subgrid-lookup .inventory-table thead th { background: linear-gradient(#20282f 0%,#111d26 52%,#0a1822 100%); color: #a2c7f9; border-right: 2px solid #91aec7; border-bottom: 1px solid #819fb9; }
  :root .subgrid-lookup .inventory-table thead th:last-child { border-right: 0; }
  :root .subgrid-lookup .inventory-table tbody td { color: #a9b7d3; border-bottom: 1px solid #636a6f; background: #38393b; }
  :root .subgrid-lookup__row:hover td, :root .subgrid-lookup__row:focus-visible td { background: #2e3238; }
  :root .subgrid-lookup__status { color: #a6b6cd; }
  :root .subgrid-lookup .inventory-field label { color: #a7b7d1; }
  :root .subgrid-lookup :is(input:not([type="checkbox"]):not([type="radio"]),select) { border: 1px solid #1e3a8a; border-radius: 12px; background: #38393b; color: #c9d5f0; outline: none; }
  :root .subgrid-lookup textarea { border: 1px solid #1e3a8a; border-radius: 12px; background: #38393b; color: #c9d5f0; outline: none; }
  :root .subgrid-lookup .select2-container--default .select2-selection--single { border: 1px solid #1e3a8a; border-radius: 12px; background: #38393b; outline: 0; }
  :root .subgrid-lookup .select2-container--default .select2-selection--single .select2-selection__rendered { color: #c9d5f0; }
  :root :is(.configured-subgrid,.subgrid-lookup) .select2-container .select2-selection__clear { border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: #97a8c1 !important; }
  :root :is(.configured-subgrid,.subgrid-lookup) .select2-container .select2-selection__clear:hover { color: #db8b81 !important; }
  :root .subgrid-lookup .subgrid-lookup__check input { accent-color: #1e3a8a; }
  :root .subgrid-lookup__row.is-picked td { background: #2e3238; }
  :root .configured-subgrid .subgrid-status { color: #a6b6cd; }
  :root .crm-workspace .inventory-form-card .bill-lines-head { background: linear-gradient(#20282f 0%,#111d26 52%,#0a1822 100%) !important; border-bottom: 1px solid #819fb9; color: #a2c7f9 !important; }
  :root .crm-workspace .inventory-form-card .bill-lines-head span { color: #a2c7f9 !important; }
  :root .crm-workspace .bill-lines-head > span:not(:last-child):not(:empty)::after { background: #0a1722; }
  :root .crm-workspace .bill-lines-head .required-marker { color: #db8b81 !important; }
  :root .configured-subgrid--editable .subgrid-edit-empty { color: #a6b6cd; border-bottom: 1px solid #636a6f; }
  :root .subgrid-lookup .inventory-table tbody td.inventory-no-results { color: #a6b6cd; background: #38393b; }
  :root .crm-workspace .purchase-serial-chip > span.purchase-serial-chip__link { color: #90aff0; }
  :root .inventory-form-card :is(.party-child-grid, .inventory-table):not(.ev-preview > table, .ev-preview .index-group-snapshot) tbody td { color: #c9d5f0; }
  :root .configured-subgrid .subgrid-grid-table thead tr { border-bottom: 1px solid #819fb9; }
  :root .configured-subgrid .subgrid-grid-table tbody tr { border-top: 1px solid #6a7179; background: #38393b; }
  :root .configured-subgrid .subgrid-grid-table tbody tr:first-child { border-top: 0; }
  :root .configured-subgrid .subgrid-grid-table :is(th, td:not(.inventory-no-results)) { border: 0 !important; background: transparent !important; }
  :root .configured-subgrid .subgrid-grid-table tbody tr.inventory-no-results-row { background: transparent; }
  :root .inventory-form-card :is(.party-child-grid, .inventory-table):not(.ev-preview > table, .ev-preview .index-group-snapshot) tbody td.inventory-no-results, :root .inventory-form-card .party-child-grid tbody tr.party-grid-empty > td { color: #a9b7d3 !important; background: #38393b; border-bottom: 1px solid #636a6f; }
  :root .configured-subgrid .subgrid-grid-table thead th:not(:last-child):not(:empty)::after { background: #0a1722; }
  :root .entity-view-primary { color: inherit; }
  :root .entity-view-truncated { color: #a6b6cd; }
  :root .crm-workspace .inventory-table:has(> tbody > tr > td > .row-actions, > tbody > tr > td > form > .row-actions, > tbody > tr > td > .party-grid-actions) > thead > tr > th:last-child, :root .crm-workspace .inventory-table:has(> tbody > tr > td > .row-actions, > tbody > tr > td > form > .row-actions, > tbody > tr > td > .party-grid-actions) > tbody > tr:not(.ledger-detail-row):not(.inventory-no-results-row) > td:last-child:not([colspan]) { box-shadow: inset 1px 0 0 rgba(148, 163, 184, .45), -8px 0 10px -8px rgba(15, 23, 42, .35); }
  :root .inventory-switch input:focus-visible + span { outline: 2px solid #1e3a8a; outline-offset: 2px; }
  :root .stock-badge, :root .iv-badge, :root .product-code-badge, :root .movement-type-badge, :root .email-connection-status, :root .ledger-serial-count, :root .entity-view-customized, :root .designer-subgrid-mode-chip { border: 1px solid currentColor !important; }
  :root .crm-workspace .heading-tag, :root .crm-workspace .form-section-heading .stock-badge, :root .crm-workspace .ev-columns__title span { border: 1px solid currentColor !important; border-radius: 999px; }
  :root .crm-workspace .inventory-heading > .heading-tag.heading-tag--owner { border-radius: var(--crm-action-radius, 12px); }
  :root .crm-workspace .index-transfer-menu.designer-field-popover { background: #4c4c4c; border: 1px solid #686e77; border-radius: 14px; box-shadow: 0 18px 40px rgba(15,23,42,.24); }
  :root .index-transfer-menu__title { color: #abc7ff; }
  :root .crm-workspace .index-transfer-menu.designer-field-popover::before { background: #4c4c4c; border-left: 1px solid #686e77; border-top: 1px solid #686e77; }
  :root #temporaryGridEditor .party-modal__body > .temporary-grid-note { color: #a9b7d3; }
  :root .crm-workspace .inventory-page:not(.inventory-form-page) .inventory-toolbar > select.bfc-select:not(.select2-hidden-accessible) { border: 1px solid #1e3a8a; border-radius: 12px; background: #38393b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23888' d='M0 0h10L5 6z'/%3E%3C/svg%3E") no-repeat right 14px center / 10px 6px; color: #c9d5f0; }
  :root .outstanding-page .outstanding-settlement { border: 1px solid #1d4ed8; border-radius: 999px; background: #30353d; color: #90aff0; }
  :root .payment-settlement-card .payment-settlement-error:not(:empty) { color: #db8b81; }
  :root .crm-shell .crm-workspace .inventory-page .inventory-table-wrap .inventory-table .ledger-detail-panel { border-radius: 6px; }
  :root .crm-workspace .inventory-field > a.record-reference-link { border: 1px solid #1e3a8a; border-radius: var(--crm-control-radius); background: #3c3d3f; color: #90aff0; }
  :root .crm-workspace .inventory-field > a.record-reference-link::after { color: #6faee2; }
  :root .crm-workspace .inventory-field > a.record-reference-link:hover, :root .crm-workspace .inventory-field > a.record-reference-link:focus-visible { border-color: #8adfff; color: #97b8f9; box-shadow: 0 0 0 3px rgba(121, 212, 255, .22); outline: 0; }
  :root .crm-workspace .form-empty-state.form-empty-state p { color: #a6b6cd; }
  :root .crm-workspace .bill-line.bill-line > :is(.bill-readonly-value, .line-amount) { color: #c9d5f0; }
  :root .crm-workspace .email-provider-grid .email-provider-option > span > i { border-radius: 50%; }
  :root .crm-workspace .email-provider-grid .email-provider-option:hover > input:not(:checked) + span { border-color: #6f8fc4; background: #424345; box-shadow: 0 6px 14px rgba(15, 23, 42, .10); }
  :root .crm-workspace .email-provider-grid .email-provider-option > input:checked + span { border-color: #1e3a8a !important; background: linear-gradient(180deg, #434648 0%, #30393e 100%) !important; box-shadow: 0 0 0 3px rgba(90, 199, 247, .38), 0 12px 24px rgba(23, 61, 145, .24) !important; }
  :root .crm-workspace .email-provider-grid .email-provider-option > input:checked + span > i { background: linear-gradient(180deg, #24458f, #10275f); color: #fff; box-shadow: 0 3px 8px rgba(16, 39, 95, .35); }
  :root .crm-workspace .email-provider-grid .email-provider-option > input:checked + span strong { color: #b2cafa; }
  :root .crm-workspace .email-provider-grid .email-provider-option > input:checked + span small { color: #9cbce6; }
  :root .crm-workspace .email-provider-grid .email-provider-option > input:checked + span > b { color: #90aff0; }
  :root .crm-workspace .email-provider-grid .email-provider-option > input:focus-visible + span { outline: 2px solid #79d4ff; outline-offset: 2px; }
  :root .bill-format-toggles input:checked + .toggle-pill, :root .inline-toggle-tile input:checked + .toggle-pill { background: linear-gradient(180deg, #132c68, #0d1e4d) !important; }
  :root .inventory-switch input:checked + span, :root .party-primary-switch input:checked + span { background: linear-gradient(180deg, #132c68, #0d1e4d) !important; }
  :root .bill-format-toggles input + .toggle-pill, :root .inline-toggle-tile input + .toggle-pill { background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 55%), #1e2126 !important; box-shadow: inset 0 1px 1px rgba(255,255,255,.25), inset 0 -1px 2px rgba(15,23,42,.12); }
  :root .inventory-switch > input + span, :root .party-primary-switch input + span { background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 55%), #cbd5e1 !important; box-shadow: inset 0 1px 1px rgba(255,255,255,.25), inset 0 -1px 2px rgba(15,23,42,.12); }
  :root .bill-format-toggles input:checked + .toggle-pill, :root .inline-toggle-tile input:checked + .toggle-pill { background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 55%), linear-gradient(180deg, #132c68, #0d1e4d) !important; }
  :root .inventory-switch > input:checked + span, :root .party-primary-switch input:checked + span { background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 55%), linear-gradient(180deg, #132c68, #0d1e4d) !important; }
  :root .bill-format-toggles input + .toggle-pill::after, :root .inline-toggle-tile input + .toggle-pill::after { background: linear-gradient(180deg, #4c4c4c, #404143); box-shadow: 0 1px 3px rgba(15,23,42,.22), inset 0 1px 0 rgba(255,255,255,.9); }
  :root .inventory-switch > input + span::after, :root .party-primary-switch input + span::before { background: linear-gradient(180deg, #fff, #f1f5f9); box-shadow: 0 1px 3px rgba(15,23,42,.22), inset 0 1px 0 rgba(255,255,255,.9); }
  :root .party-primary-switch input:focus-visible + span { outline: 2px solid #1e3a8a; outline-offset: 2px; }
  :root .crm-workspace .email-provider-grid .email-provider-option > span::before { border-radius: inherit; background: linear-gradient(180deg, #434648 0%, #2b343b 100%); }
  :root .crm-workspace .email-provider-grid .email-provider-option > input:checked + span { background: #3c3e40 !important; }
  :root .crm-workspace .email-provider-grid .email-provider-option > span > i { box-shadow: inset 0 0 0 0 #1a3677; }
  :root .crm-workspace .email-provider-grid .email-provider-option > input:checked + span > i { background: transparent; box-shadow: inset 0 0 0 14px #1a3677, 0 3px 8px rgba(16, 39, 95, .35); color: #fff; }
  :root .crm-workspace :is(.ownership-owner, .heading-tag.heading-tag--owner) { --crm-tag-jewel-top: #b7ebff; --crm-tag-jewel-mid: #65caff; --crm-tag-jewel-bottom: #45b2fa; --crm-tag-jewel-rim: #419ad2; --crm-tag-jewel-light: #fff; --crm-tag-jewel-outline: #07375c; --crm-tag-fill: var(--crm-tag-jewel-mid); color: var(--crm-tag-jewel-outline); text-shadow: none; border: 1px solid var(--crm-tag-jewel-rim) !important; border-radius: 999px; background: radial-gradient(ellipse 95% 95% at 50% -18%, rgba(255,255,255,.42) 58%, rgba(255,255,255,.12) 64%, transparent 65%),
        linear-gradient(180deg, var(--crm-tag-jewel-mid), var(--crm-tag-jewel-bottom)); box-shadow: inset 0 1px 1px rgba(255,255,255,.9), inset 0 -1px 2px rgba(255,255,255,.45), 0 1px 3px rgba(20,48,80,.12); }
  :root .crm-workspace .heading-tag.heading-tag--owner.healthy { --crm-tag-jewel-top: #c5f59a; --crm-tag-jewel-mid: #93e35f; --crm-tag-jewel-bottom: #73ce43; --crm-tag-jewel-rim: #64a83e; --crm-tag-jewel-light: #fff; --crm-tag-jewel-outline: #24520d; }
  :root .crm-workspace .heading-tag.heading-tag--owner.danger { --crm-tag-jewel-top: #ffc8ce; --crm-tag-jewel-mid: #ff99a5; --crm-tag-jewel-bottom: #fa7b8b; --crm-tag-jewel-rim: #d46677; --crm-tag-jewel-light: #fff; --crm-tag-jewel-outline: #7f1830; }
  :root .crm-workspace .heading-tag.heading-tag--owner.low { --crm-tag-jewel-top: #ffe9ae; --crm-tag-jewel-mid: #ffd369; --crm-tag-jewel-bottom: #ffbd4c; --crm-tag-jewel-rim: #c69636; --crm-tag-jewel-light: #fff; --crm-tag-jewel-outline: #70450a; }
  :root .crm-workspace .ownership-owner :is(i, strong) { color: inherit; }
  :root .crm-workspace .ownership-owner > i { border: 0; border-radius: 50%; background: none; box-shadow: none; }
  :root .crm-workspace .heading-tag.heading-tag--owner { --crm-status-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 2h8l2 2v10H3zM5 2v4h6V2M5 14V9h6v5' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E"); }
  :root .crm-workspace .heading-tag.heading-tag--owner.healthy { --crm-status-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
  :root .crm-workspace .heading-tag.heading-tag--owner:is(.danger,.inactive) { --crm-status-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 4 8 8m0-8-8 8' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
  :root .crm-workspace .heading-tag.heading-tag--owner.low { --crm-status-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v6' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='12' r='1.2'/%3E%3C/svg%3E"); }
  :root .crm-workspace .heading-tag.heading-tag--owner::before { border: 0; border-radius: 50%; background: none; box-shadow: none; }
  :root .crm-workspace .heading-tag.heading-tag--owner::after { background: currentColor; }
  :root .crm-workspace .heading-tag.heading-tag--owner.inactive { --crm-tag-jewel-top: #f3f5f8; --crm-tag-jewel-mid: #e9edf3; --crm-tag-jewel-bottom: #e1e6ee; --crm-tag-jewel-rim: #b7c2d0; --crm-tag-jewel-light: #e2e8f0; --crm-tag-jewel-outline: #334155; }
  :root .crm-workspace .heading-tag.heading-tag--owner::before { border: 1.25px solid color-mix(in srgb, var(--crm-tag-jewel-outline) 80%, transparent); background: linear-gradient(145deg, rgba(76, 76, 76, 0.65), rgba(255,255,255,.14)); box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 0 0 1px rgba(255,255,255,.35); }
  :root .crm-workspace .ownership-owner > i { border: 1.25px solid color-mix(in srgb, var(--crm-tag-jewel-outline) 80%, transparent); background: linear-gradient(145deg, rgba(255,255,255,.65), rgba(255,255,255,.14)); box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 0 0 1px rgba(255,255,255,.35); }
  @media (prefers-reduced-transparency: reduce) {
    :root .crm-workspace :is(.ownership-owner, .heading-tag.heading-tag--owner) { background: var(--crm-tag-fill); border-color: var(--crm-tag-jewel-rim) !important; }
  }
  :root body:not(.is-record-dialog) .crm-shell .crm-content:has(> :is(.inventory-page, .dashboard-page)) { --crm-page-gutter: 20px; }
  @media(max-width:680px) {
    :root body:not(.is-record-dialog) .crm-shell .crm-content:has(> :is(.inventory-page, .dashboard-page)) { --crm-page-gutter: 12px; }
  }
  :root .challan-view-page .challan-voided-tag { color: #e69689; }
  :root .challan-view-page .void-challan-line { border-radius: 50%; border: 1px solid rgba(180,35,24,.45); background: rgba(76, 76, 76, 0.55); color: #e69689; }
  :root .challan-view-page .void-challan-line:hover { background: rgba(63, 53, 52, 0.85); }
  :root .crm-workspace .party-grid-primary { border: 1px solid transparent !important; background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 55%), #cbd5e1 !important; box-shadow: inset 0 1px 1px rgba(255,255,255,.25), inset 0 -1px 2px rgba(15,23,42,.12) !important; }
  :root .crm-workspace .party-grid-primary:checked { background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 55%), linear-gradient(180deg, #132c68, #0d1e4d) !important; }
  :root .crm-workspace .party-grid-primary::before { background: linear-gradient(180deg, #fff, #f1f5f9) !important; box-shadow: 0 1px 3px rgba(15,23,42,.22), inset 0 1px 0 rgba(255,255,255,.9) !important; }
  :root .crm-workspace .party-grid-primary:focus-visible { outline: 2px solid #1e3a8a; outline-offset: 2px; }
  :root .crm-workspace .bill-summary-roundoff .bill-roundoff-input { border-radius: 8px; }
  :root .crm-shell .crm-workspace .inventory-page .inventory-table-wrap .inventory-table .ledger-detail-transition, :root .crm-shell .crm-workspace .inventory-page .inventory-table-wrap .inventory-table .ledger-detail-transition > td, :root .crm-workspace .inventory-page:not(.inventory-form-page) .inventory-table .ledger-detail-transition, :root .crm-workspace .inventory-page:not(.inventory-form-page) .inventory-table .ledger-detail-transition > td { border-block-width: 0 !important; }
  :root .crm-workspace .inventory-page:not(.inventory-form-page) .inventory-table > tbody > .index-group-spacer, :root .crm-workspace .inventory-page:not(.inventory-form-page) .inventory-table > tbody > .index-group-spacer > td, :root .crm-workspace .ev-preview > .inventory-table > tbody > .index-group-spacer, :root .crm-workspace .ev-preview > .inventory-table > tbody > .index-group-spacer > td { border: 0 !important; background: transparent !important; }
  :root .crm-workspace .inventory-table:has(> tbody > tr.index-group-header) { border-collapse: separate !important; border-spacing: 0 !important; }
  :root .crm-workspace .inventory-table:has(> tbody > tr.index-group-header) > tbody > tr > td, :root .index-group-snapshot > tbody > tr > td { border-top: 0 !important; }
  :root .index-group-spacer-clip > .index-group-snapshot { border-collapse: separate !important; border-spacing: 0 !important; }
  :root .ledger-detail-panel tr.outstanding-month-row td { background: rgba(36, 84, 138, .08); border-top: 1px solid rgba(36, 84, 138, .18); }
  :root .ledger-detail-panel tr.outstanding-month-row strong { color: #abc7ff; }
  :root .ledger-detail-panel tr.outstanding-month-row span { color: #a6b6cd; }
  :root .crm-workspace .inventory-table .index-group-header .row-actions .index-group-expand { border-color: #3977a8; background: #d9effb; color: #123f70; box-shadow: 0 1px 3px rgba(18,63,112,.18), inset 0 1px 0 rgba(255,255,255,.75); }
  :root .crm-workspace .inventory-table .index-group-header .row-actions .index-group-expand:hover { border-color: #0f4f87; background: #bfe5f7; color: #082f5b; box-shadow: 0 0 0 2px rgba(69,188,232,.20), 0 0 10px rgba(23,74,139,.40); }
  :root .crm-workspace .inventory-table > tbody > tr.index-group-header > th { border-color: transparent !important; }
  :root .crm-workspace .inventory-table .index-group-header .ledger-detail-heading { background: linear-gradient(180deg, #132c68 0%, #0d1e4d 100%) !important; border: 1px solid #07132b; color: #ffffff; }
  :root .crm-workspace .inventory-table .index-group-header .ledger-detail-heading > strong, :root .crm-workspace .inventory-table .index-group-header .ledger-detail-heading .index-group-total { color: #ffffff !important; }
  :root .crm-workspace .inventory-table .index-group-header--nested .ledger-detail-heading { background: linear-gradient(180deg, #20282f 0%, #111d26 52%, #0a1822 100%) !important; border: 0; border-bottom: 1px solid #819fb9; color: #a2c7f9; }
  :root .crm-workspace .inventory-table .index-group-header--nested .ledger-detail-heading > strong, :root .crm-workspace .inventory-table .index-group-header--nested .ledger-detail-heading .index-group-total { color: #a2c7f9 !important; }
  :root .crm-workspace .inventory-table .index-group-header .ledger-detail-heading { border: 1px solid var(--crm-outline) !important; }
  :root .crm-workspace :is(.inventory-stats article, .dashboard-module-card, .metric-card):not(:hover), :root .crm-workspace :is(.inventory-panel, .dashboard-card, .dashboard-block-card, .form-tabs, .record-action-footer,
    .inventory-form-card) { border-color: var(--crm-outline) !important; }
  :root .crm-workspace :is(.inventory-stats article, .dashboard-module-card, .metric-card):not(:hover), :root .crm-workspace :is(.inventory-panel, .dashboard-card, .inventory-form-card) { box-shadow: 0 1px 0 rgba(15, 23, 42, .10) !important; }
  :root .crm-workspace .inventory-panel > .inventory-toolbar, :root .crm-workspace .dashboard-card .card-heading { border-bottom-color: var(--crm-outline) !important; }
  :root .crm-workspace .insight-card-footer, :root .crm-workspace .insight-card-body:not(:has(> .insight-card-footer))::after { border-block-start-color: var(--crm-outline) !important; }
  :root .crm-topbar, :root .crm-workspace :is(.inventory-page > .inventory-heading, .dashboard-page > .dashboard-heading, .iv-page-header) { border-bottom-color: var(--crm-outline) !important; }
  :root .crm-sidebar .crm-brand { border-bottom-color: var(--crm-outline) !important; }
  :root .crm-footer { border-top-color: var(--crm-outline) !important; }
  :root .crm-workspace :is(.form-tabs-frame, .activity-tabs-frame)::before, :root .crm-workspace .activity-tabs { border-color: var(--crm-outline) !important; }
  :root .crm-workspace .email-provider-option:not(:hover)>input:not(:checked)+span { border-color: var(--crm-control-border-color,#475569) !important; }
  :root .crm-workspace .email-provider-option>span { border-width: 1px !important; }
  :root .crm-workspace .kit-items-note, :root .crm-workspace .kit-items-empty { color: #a9b7d3; background: #38393b; border-bottom: 1px solid #636a6f; }
  :root .crm-workspace .kit-panel { border: 1px solid #6a7179; border-radius: 10px; background: transparent; }
  :root .crm-workspace .kit-panel__row { border-top: 1px solid #6a7179; color: #c9d5f0; }
  :root .crm-workspace .kit-panel__row--head { border-top: 0; border-bottom: 1px solid #819fb9; background: linear-gradient(#20282f 0%,#111d26 52%,#0a1822 100%); color: #a2c7f9; }
  :root .crm-workspace .kit-panel__row--head + .kit-panel__row { border-top: 0; }
  :root .crm-workspace .kit-panel__row--head > span:not(:last-child)::after { background: #0a1722; }
  :root .crm-workspace .bill-line--kit .line-price[readonly] { background: #404143; }
  :root:root { --crm-grid-row-height: 34px; }
  :root:root { --crm-section-pad-y: 9px; --crm-section-pad-x: 12px; --crm-form-section-gap: 12px; }
  :root .crm-workspace .inventory-page:not(.inventory-form-page) { --crm-index-grid-header-height: 26px; --crm-index-grid-group-height: 28px; --crm-index-grid-row-height: 30px; }
  :root .crm-workspace .inventory-page:not(.inventory-form-page) .inventory-table > tbody > tr.index-group-header > th { border-width: 0 !important; }
  :root .grid-loading-veil { background: rgba(64, 65, 67, 0.62); }
  :root .grid-loading-pill { border: 1px solid var(--crm-outline, #64748b); border-radius: 999px; background: #4c4c4c; color: #abc7ff; box-shadow: 0 8px 22px rgba(15, 23, 42, .16); }
  :root .grid-loading-spinner { border: 2px solid rgba(19, 44, 104, .2); border-top-color: #132c68; border-radius: 50%; }
  /* ---- pages/record-layout.css ---- */
  :root .crm-workspace .inventory-form-page .inventory-form-card { border: 1px solid #666c72; }
  /* ---- form-tabs.css ---- */
  :root .crm-workspace .form-tabs { border: 1px solid #666c72; border-radius: 8px; background: #38393c; box-shadow: inset 0 1px 2px rgba(15,23,42,.05); }
  :root .form-tab-indicator { border-radius: 8px; background: linear-gradient(180deg, #132c68, #0d1e4d); box-shadow: 0 3px 7px -1px rgba(14,165,233,.62), 0 6px 10px -3px rgba(56,189,248,.64), 0 8px 12px -5px rgba(125,211,252,.5); }
  :root .form-tab-indicator::after { background: radial-gradient(ellipse at 50% 0%, rgba(140,224,255,.95), rgba(56,189,248,.55) 42%, rgba(125,211,252,.2) 70%, transparent 88%); }
  :root .crm-workspace .form-tabs [role="tab"] { border: 0; border-radius: 8px; background: transparent; color: #a6b6cd; }
  :root .crm-workspace .form-tabs [aria-selected="true"] { color: #d8f4ff; }
  :root .crm-workspace .form-tabs [role="tab"]:hover:not([aria-selected="true"]) { background: rgba(76, 76, 76, 0.75); }
  :root .crm-workspace .form-tabs [role="tab"]:focus-visible { outline: 2px solid #8fd4f3; outline-offset: -3px; }
  :root .crm-workspace .form-tabs [aria-selected="true"] .form-tab__grip { color: #8fb4e0; }
  :root .designer-tab-editor .designer-section__header { border-radius: inherit; }
  :root .crm-workspace .form-tabs .designer-tab-editor { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  :root .crm-workspace .designer-page .form-tabs .designer-section__header { border: 0; background: transparent; box-shadow: none; }
  :root .crm-workspace .designer-page .form-tabs .designer-section-name-label { color: #a6b6cd; }
  :root .crm-workspace .designer-page .form-tab-item--selected .designer-section-name-label { color: #d8f4ff; }
  :root .crm-workspace .designer-page .form-tab-item--selected .form-tab__grip { color: #8fb4e0; }
  :root .crm-workspace .form-tabs-frame::before { border: 1px solid #666c72; border-bottom: 0; border-radius: 10px 10px 0 0; }
  :root .crm-workspace .form-tabs-frame.form-tabs-frame--closed::before { border-bottom: 1px solid #666c72; border-radius: 10px 10px 14px 14px; }
  :root .crm-workspace .form-tabs-frame.form-tabs-frame--closed > .inventory-page-scroll { border-radius: 0 0 14px 14px; }
  :root .crm-workspace .inventory-form-page:has(.form-tabs) > .record-action-footer { border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; }
  :root .designer-section-slot { border: 0; border-radius: 0; background: transparent; }
  :root .crm-workspace .designer-canvas-sections > .designer-section.dragging { border-width: 1px; }
  :root .crm-workspace .designer-page .form-tabs .form-tab-item { border-radius: 8px; }
  :root .crm-workspace .designer-page .form-tabs .designer-tab-editor, :root .crm-workspace .designer-page .form-tabs .designer-tab-editor .designer-section__header { border-radius: 8px; }
  :root .crm-workspace .designer-section-slot[data-after-section] { border: 0; border-radius: 0; background: transparent; }
  :root .designer-section-gap-cell { border: 0; background: transparent; }
  /* ---- pages/login.css ---- */
  :root:root { --iv-primary: #2563EB; --iv-primary-hover: #1D4ED8; --iv-midnight-900: #081120; --iv-midnight-800: #0B1730; --iv-midnight-700: #102246; --iv-midnight-600: #163466; --iv-white: #FFFFFF; --iv-background: #444546; --iv-border: #5a5b5d; --iv-heading: #c9d5f0; --iv-body: #475569; --iv-muted: #97a8c1; --radius-sm: 12px; --radius-md: 18px; --radius-lg: 30px; --shadow-md: 0 20px 50px rgba(15,23,42,.10); }
  :root body { background: var(--iv-background); color: var(--iv-heading); }
  :root .login-page { background: linear-gradient(
        180deg,
        #464748 0%,
        #424446 45%,
        #3e4043 100%
    ); }
  :root .login-left { background: transparent; }
  :root .brand-logo { border-radius: 20px; background: linear-gradient(
            145deg,
            rgba(255,255,255,.18),
            rgba(255,255,255,.06)
        ); border: 1px solid rgba(255,255,255,.10); box-shadow: 0 20px 40px rgba(0,0,0,.30); }
  :root .brand-clue { color: #FFFFFF; }
  :root .brand-crm { background: linear-gradient(
        180deg,
        #3B82F6 0%,
        #86a8e7 50%,
        #90aff0 100%
    ); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
  :root .brand-tagline { color: rgba(255,255,255,.72); }
  :root .hero-section h2 { color: #FFFFFF; }
  :root .hero-section h2 span { background: linear-gradient(
            90deg,
            #7DD3FC,
            #60A5FA,
            #86a8e7
        ); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
  :root .hero-section p { color: rgba(255,255,255,.72); }
  :root .feature-card { border-radius: 18px; background: linear-gradient(
        180deg,
        rgba(255,255,255,.08),
        rgba(255,255,255,.04)
    ); border: 1px solid rgba(255,255,255,.08); }
  :root .feature-card::before { background: linear-gradient(
        90deg,
        transparent,
        #001534,
        transparent
    ); }
  :root .feature-card:hover { border-color: rgba(96,165,250,.35); box-shadow: 0 20px 45px rgba(0,0,0,.28),
        0 0 30px rgba(59,130,246,.16); }
  :root .feature-icon { border-radius: 12px; color: #7DD3FC; background: linear-gradient(
        145deg,
        rgba(37,99,235,.35),
        rgba(255,255,255,.06)
    ); border: 1px solid rgba(255,255,255,.08); }
  :root .feature-icon::after { border-radius: 14px; background: rgba(59,130,246,.18); }
  :root .feature-content h4 { color: #FFFFFF; }
  :root .feature-content p { color: rgba(255,255,255,.65); }
  :root .feature-arrow { color: rgba(255,255,255,.40); }
  :root .feature-card:hover .feature-arrow { color: #7DD3FC; }
  :root .left-footer { color: rgba(255,255,255,.55); }
  :root .footer-icon { color: #60A5FA; }
  :root .login-card { background: #4c4c4c; border-radius: 28px; border: 2px solid #1E3A8A; box-shadow: 0 18px 45px rgba(15,23,42,.10),
    0 0 22px rgba(30,58,138,.08); }
  :root .login-header h2 { background: linear-gradient(
        180deg,
        #a4bdf6 0%,
        #99b7f9 45%,
        #c9d5f0 100%
    ); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
  :root .login-header p { color: #a6b6cd; }
  :root .form-group label { color: #afc0d9; }
  :root .required-marker { color: #db8b81; }
  :root .input-group { border: 1px solid #1E3A8A; border-radius: 14px; background: #4c4c4c; }
  :root .input-group::before { background: linear-gradient(
        135deg,
        rgba(76, 76, 76, 0.35),
        transparent 45%
    ); }
  :root .input-group:focus-within { background: #4c4c4c; border: 1px solid #8ADFFF; box-shadow: 0 0 0 3px rgba(121,212,255,.22),
        0 0 12px rgba(121,212,255,.38),
        0 12px 24px rgba(15,23,42,.14); }
  :root .input-group:focus-within i { color: #79D4FF; text-shadow: 0 0 10px rgba(121,212,255,.70),
        0 0 20px rgba(121,212,255,.45); }
  :root .input-group i { color: #a4bdf6; }
  :root .input-group input { border: none; outline: none; background: transparent; color: #c9d5f0; }
  :root .input-group select { border: none; outline: none; background: transparent; color: #c9d5f0; }
  :root .btn-google { border: 2px solid #1E3A8A; border-radius: 14px; background: #4c4c4c; color: #c0cddf; box-shadow: 0 2px 8px rgba(15,23,42,.04); }
  :root .btn-login { border: none; border-radius: 14px; color: #FFFFFF; background: linear-gradient(180deg, #172f68, #081841); border: 2px solid #1E3A8A; box-shadow: 0 3px 8px rgba(7,19,43,.16),
        inset 0 1px 1px rgba(255,255,255,.08); }
  :root .btn-login::before { border-radius: 14px 14px 100px 100px; background: linear-gradient(
        rgba(255,255,255,.14),
        rgba(255,255,255,0)
    ); }
  :root .toggle-password { border: none; background: transparent; color: #97a8c1; }
  :root .btn-login::after { background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(255,255,255,.05) 30%,
        rgba(76, 76, 76, 0.45) 50%,
        rgba(255,255,255,.05) 70%,
        transparent 100%
    ); }
  :root .toggle-password:hover { color: #86a8e7; }
  :root .divider { color: #97a8c1; }
  :root .divider::before, :root .divider::after { background: linear-gradient(
        to right,
        transparent,
        #1E3A8A,
        transparent
    ); }
  :root .divider span { color: #a4bdf6; }
  :root .remember-me { color: #a6b6cd; }
  :root .login-options a { color: #86a8e7; }
  :root .login-options a:hover { color: #90aff0; }
  :root .security-badge { border: 2px solid #1E3A8A; border-radius: 16px; background: #474849; box-shadow: 0 8px 20px rgba(15,23,42,.08); }
  :root .auth-success { border: 1px solid #86efac; border-radius: 12px; background: #424744; color: #84c795; }
  :root .auth-info { border-color: #93c5fd; background: #3f4246; color: #99b7f9; }
  :root .security-badge i { color: #a4bdf6; }
  :root .login-subtitle { border-radius: 16px; color: #97a9c7; background: linear-gradient(
        180deg,
        rgba(67, 68, 71, 0.98),
        rgba(59, 62, 67, 0.96)
    ); border: 2px solid #1E3A8A; box-shadow: 0 0 0 3px rgba(30,58,138,.12),
        0 8px 20px rgba(30,58,138,.10),
        0 0 16px rgba(30,58,138,.18); }
  :root .login-card:not(.account-card) .signup-section { border-top: 1px solid #595b5f; }
  :root .signup-title { color: #becce4; }
  :root .signup-text { color: #a6b6cd; }
  :root .btn-register { border: 2px solid #1E3A8A; border-radius: 14px; background: #4c4c4c; color: #a4bdf6; }
  :root .btn-google::after, :root .btn-register::after { background: linear-gradient(110deg, transparent 0%, rgba(121,212,255,.04) 30%, rgba(1, 25, 36, 0.65) 50%, rgba(121,212,255,.04) 70%, transparent 100%); }
  :root .login-card:not(.account-card) { background: radial-gradient(circle at 100% 0, rgba(121, 212, 255, .11), transparent 30%),
        linear-gradient(180deg, #4c4c4c 0%, #494a4b 58%, #464749 100%); border-color: #24469a; box-shadow: 0 24px 60px rgba(15, 23, 42, .16),
        0 0 0 1px rgba(255, 255, 255, .9) inset,
        0 0 28px rgba(30, 58, 138, .10); }
  :root .login-card:not(.account-card)::before { border-radius: 0 0 99px 99px; background: linear-gradient(90deg, transparent, #011924 24%, #2563eb 50%, #011924 76%, transparent); box-shadow: 0 3px 14px rgba(37, 99, 235, .35); }
  :root .login-card:not(.account-card) .security-badge { border-color: rgba(30, 58, 138, .72); background: linear-gradient(145deg, #4c4c4c 0%, #3e4145 100%); box-shadow: 0 8px 18px rgba(30, 58, 138, .13),
        inset 0 1px 0 rgba(255, 255, 255, .95); }
  :root .login-card:not(.account-card) .login-header h2 { text-shadow: 0 5px 14px rgba(30, 58, 138, .10); }
  :root .login-card:not(.account-card) .login-subtitle { border: 0; border-radius: 10px; background: rgba(63, 65, 69, 0.72); color: #a6b6cd; box-shadow: none; }
  :root .login-card:not(.account-card) .input-group { border-color: #294898; background: rgba(76, 76, 76, 0.92); box-shadow: 0 3px 9px rgba(15, 23, 42, .045); }
  :root .login-card:not(.account-card) .input-group input::placeholder { color: #94a3b8; }
  :root .login-card:not(.account-card) .remember-me input { accent-color: #1e3a8a; }
  :root .login-card:not(.account-card) .login-options a::after { background: currentColor; }
  :root .login-card:not(.account-card) .signup-section { border-top-color: #585c62; }
  :root .login-card.account-card { background: radial-gradient(circle at 100% 0, rgba(121, 212, 255, .11), transparent 30%),
        linear-gradient(180deg, #4c4c4c 0%, #494a4b 58%, #464749 100%); border-color: #24469a; box-shadow: 0 24px 60px rgba(15, 23, 42, .16),
        0 0 0 1px rgba(255, 255, 255, .9) inset,
        0 0 28px rgba(30, 58, 138, .10); }
  :root .login-card.account-card::before { border-radius: 0 0 99px 99px; background: linear-gradient(90deg, transparent, #011924 24%, #2563eb 50%, #011924 76%, transparent); box-shadow: 0 3px 14px rgba(37, 99, 235, .35); }
  :root .login-card.account-card .login-subtitle { border: 0; border-radius: 10px; background: rgba(63, 65, 69, 0.72); color: #a6b6cd; box-shadow: none; }
  :root .field-validation { color: #e69689; }
  :root .message-modal-content { border: 2px solid #1e3a8a; border-radius: 24px; box-shadow: 0 22px 60px rgba(15, 23, 42, .25); }
  :root .message-modal-content h2 { color: #c9d5f0; }
  :root .message-modal-body { color: #a6b6cd; }
  :root .input-group:has(input.input-validation-error) { border-color: #dc2626; }
  :root .input-group:has(select.input-validation-error), :root .input-group:has(select.input-validation-error):focus-within { border: 1px solid #dc2626 !important; background: #484545; box-shadow: 0 0 0 3px rgba(220, 38, 38, .10) !important; }
  :root .input-group:has(select.input-validation-error) > i { color: #db8b81; }
  :root .password-hint { color: #a6b6cd; }
  :root .password-hint i { color: #86a8e7; }
  :root .account-footer { color: #a6b6cd; }
  :root .account-footer a { color: #90aff0; }
  @media (max-width: 640px) {
    :root .account-card { border-radius: 22px; }
  }
  :root body .login-card .login-subtitle { border: 2px solid #24469a; border-radius: 10px; background: linear-gradient(180deg, rgba(69, 70, 72, 0.96), rgba(61, 63, 68, 0.92)); color: #a6b6cd; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92),
        0 0 0 3px rgba(36, 70, 154, .08),
        0 5px 14px rgba(30, 58, 138, .10); }
  /* ---- messagebox.css ---- */
  :root:root { --crm-notification-glass-surface: linear-gradient(135deg, rgba(71, 73, 74, 0.74), rgba(52, 57, 61, 0.68)); --crm-notification-glass-fallback: linear-gradient(135deg, #47494a, #36393c); --crm-dialog-open-duration: 320ms; --crm-dialog-close-duration: 200ms; --crm-dialog-duration: var(--crm-dialog-close-duration); --crm-dialog-ease: cubic-bezier(.4, 0, .75, .6); }
  :root .bfc-message-overlay { border: 0; background: rgba(0, 0, 0, .45); }
  :root .bfc-message-overlay::backdrop { background: transparent; }
  :root .bfc-message-box { border: 2px solid #1e3a8a; border-radius: 12px; background: #3c3d3f; box-shadow: 0 18px 40px rgba(0, 0, 0, .28), 0 0 8px rgba(30, 58, 138, .18); }
  :root dialog[open]:not(.bfc-message-overlay) { --crm-dialog-duration: var(--crm-dialog-open-duration); --crm-dialog-ease: cubic-bezier(.22, 1, .36, 1); }
  :root :is(.bfc-message-overlay.show, .party-modal.show, .clue-operation-loader.is-visible) { --crm-dialog-duration: var(--crm-dialog-open-duration); --crm-dialog-ease: cubic-bezier(.22, 1, .36, 1); }
  @media (prefers-reduced-motion: no-preference) {
    :root dialog:not(.bfc-message-overlay)::backdrop { --crm-dialog-duration: var(--crm-dialog-close-duration, 200ms); --crm-dialog-ease: cubic-bezier(.4, 0, .75, .6); }
    :root dialog[open]:not(.bfc-message-overlay)::backdrop { --crm-dialog-duration: var(--crm-dialog-open-duration, 320ms); --crm-dialog-ease: cubic-bezier(.22, 1, .36, 1); }
  }
  :root .bfc-message-header { border-bottom: 2px solid #79d4ff; background: linear-gradient(180deg, #132c68, #07132b); color: #fff; }
  :root .bfc-message-close { border: 0; border-radius: 8px; background: transparent; color: #fff; }
  :root .bfc-message-close:hover { background: rgba(255, 255, 255, .12); color: #79d4ff; }
  :root .bfc-message-text { color: #c6c6c6; }
  :root .bfc-message-footer { border-top: 1px solid #5d6168; background: #353638; }
  :root .bfc-btn { border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; background: linear-gradient(180deg, #172f68, #081841); color: #fff; }
  :root .bfc-btn::after { background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .05) 30%, rgba(76, 76, 76, 0.55) 50%, rgba(255, 255, 255, .05) 70%, transparent 100%); }
  :root .bfc-btn:hover { box-shadow: 0 8px 18px rgba(15, 23, 42, .28), 0 0 8px rgba(121, 212, 255, .95), 0 0 18px rgba(121, 212, 255, .8), 0 0 30px rgba(121, 212, 255, .55); }
  :root .bfc-btn.secondary { border: 2px solid #5a5e5f; background: #4c4c4c; color: #a4bdf6; }
  :root .clue-toast { border: 1px solid #8fcde9; border-radius: 20px; background: var(--crm-notification-glass-fallback); box-shadow: 0 16px 36px rgba(15, 23, 42, .18), 0 0 18px rgba(52, 214, 255, .12); }
  :root .clue-toast::before { border-radius: inherit; background: linear-gradient(155deg, rgba(76, 76, 76, 0.7), transparent 40%, rgba(147,210,255,.12)); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(88,131,177,.16); }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    :root .clue-toast { background: var(--crm-notification-glass-surface); }
  }
  @media (prefers-reduced-transparency: reduce) {
    :root .clue-toast { background: #3d3f41; }
  }
  :root .clue-toast-icon { border-radius: 50%; background: #363f43; color: #a4bdf6; box-shadow: inset 0 0 0 1px rgba(52, 214, 255, .28); }
  :root .clue-toast-copy strong { color: #a2c7f9; }
  :root .clue-toast-copy span { color: #a6b6cd; }
  :root .clue-toast-close { border: 0; border-radius: 8px; background: transparent; color: #a6b6cd; }
  :root .clue-toast-close:hover { background: #3d3e40; color: #a4bdf6; }
  :root .clue-toast-progress { border-radius: 999px; background: linear-gradient(90deg, #1e3a8a, #2563eb 52%, #001a21); }
  :root .bfc-message-box { border-width: 2px; border-style: solid; }
  @media (max-width: 600px) {
    :root .bfc-message-box { border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .34), 0 0 16px rgba(30, 58, 138, .20); }
    :root .bfc-btn { border-radius: 11px; }
  }
  :root .bfc-message-box, :root .bfc-message-body, :root .message-modal-content, :root .message-modal-content .modal-body { background: #343638; }
  :root .bfc-message-box, :root .message-modal-content { border-color: #294985; box-shadow: 0 12px 32px rgba(15, 31, 58, .22); }
  /* ---- select2-cluecrm.css ---- */
  :root .input-group .select2-container--default .select2-selection--single { border: 0; background: transparent; outline: 0; }
  :root .input-group .select2-selection--single .select2-selection__rendered { color: #c9d5f0; }
  :root .input-group .select2-selection__placeholder { color: #97a8c1 !important; }
  :root .select2-dropdown { border: 1px solid #1e3a8a; border-radius: 12px; background: #4c4c4c; box-shadow: 0 14px 32px rgba(15, 23, 42, .18); }
  :root .select2-container--open .select2-dropdown, :root .select2-container--open .select2-dropdown--below, :root .select2-container--open .select2-dropdown--above { border: 1px solid #1e3a8a !important; border-radius: 12px !important; }
  :root .select2-search--dropdown { border-bottom: 1px solid #595b5f; background: #464748; }
  :root .select2-search--dropdown .select2-search__field { border: 1px solid #5c6166 !important; border-radius: 10px; color: #c9d5f0; outline: none; }
  :root .select2-search--dropdown .select2-search__field:focus { border-color: #79d4ff !important; box-shadow: 0 0 0 3px rgba(121, 212, 255, .25), 0 0 14px rgba(121, 212, 255, .35); }
  :root .select2-results__option { border-radius: 8px; color: #afc0d9; }
  :root .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: #3e4346; color: #a4bdf6; }
  :root .select2-container--default .select2-results__option--selected { background: #383b41; color: #a4bdf6; }
  :root .crm-workspace .select2-container--default .select2-selection--single { border: 1px solid #1e3a8a; border-radius: 14px; background: #4c4c4c; outline: 0; }
  :root .crm-workspace .select2-container--default .select2-selection--single .select2-selection__rendered { color: #c9d5f0; }
  :root .crm-workspace .select2-container--default .select2-selection--single .select2-selection__placeholder { color: #97a8c1; }
  :root .crm-workspace .select2-container--default.select2-container--focus .select2-selection--single, :root .crm-workspace .select2-container--default.select2-container--open .select2-selection--single { border-color: #8adfff; background: #323436; box-shadow: 0 0 0 3px rgba(121,212,255,.22), 0 0 12px rgba(121,212,255,.38); }
  :root .crm-workspace .select2-container--default.select2-container--focus .select2-selection--single, :root .crm-workspace .select2-container--default.select2-container--open .select2-selection--single { border-radius: 14px !important; background-clip: padding-box; }
  :root .crm-workspace .inventory-toolbar .select2-container--default.select2-container--focus .select2-selection--single, :root .crm-workspace .inventory-toolbar .select2-container--default.select2-container--open .select2-selection--single { border-radius: 12px !important; }
  :root .select2-container--default.select2-container--open .select2-selection--single { border-radius: 14px !important; }
  :root .crm-workspace .inventory-toolbar .select2-selection--single { border-radius: 12px; }
  :root .crm-workspace .inventory-toolbar .select2-container--open .select2-selection--single { border-radius: 12px !important; }
  :root .select2-container--default .select2-results__group { color: #a4bdf6; }
  :root .crm-workspace .select2-container--default .select2-selection--single, :root .select2-dropdown, :root .select2-search--dropdown, :root .select2-search--dropdown .select2-search__field, :root .select2-results { background: #38393b; }
  :root .select2-dropdown { border-color: #294985; box-shadow: 0 8px 20px rgba(15, 31, 58, .14); }
  :root .select2-results__option { color: #b2c6e2; }
  :root .quick-entity-dialog[open] { border-color: #0d255b; background: #0d255b; background-clip: border-box; }
  :root .quick-entity-dialog[open] > form { border-radius: 14px; background: #2f3133; background-clip: border-box; }
  :root .quick-entity-dialog[open] > form > header { border-radius: 14px 14px 0 0; }
  :root .quick-entity-dialog[open] > form > footer { border-radius: 0 0 14px 14px; }
  /* ---- form-controls.css ---- */
  :root:root { --crm-control-height: 26px; --crm-control-border-width: 1px; --crm-control-border-color: #475569; --crm-control-radius: 8px; --crm-control-chip-radius: max(0px, calc(var(--crm-control-radius) - 4px)); --crm-control-font-size: 12px; }
  :root:root .quick-entity-body :is(input:not([type="hidden"]), select), :root:root .party-modal .inventory-field > :is(input, select), :root:root .select2-dropdown, :root:root .select2-search--dropdown .select2-search__field, :root:root .phone-country-menu, :root:root .phone-country-search, :root:root .challan-address-options, :root:root .challan-address-options .picker-search input { border-width: var(--crm-control-border-width) !important; }
  :root:root .crm-workspace :where(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]):not(.designer-section-name)), :root:root .crm-workspace select, :root:root .crm-workspace .form-control:not(textarea), :root:root .crm-workspace .select2-container--default .select2-selection--single { border-width: var(--crm-control-border-width) !important; border-style: solid !important; border-color: var(--crm-control-border-color) !important; border-radius: var(--crm-control-radius) !important; }
  :root:root .crm-workspace textarea, :root:root .crm-workspace textarea.form-control { border-width: var(--crm-control-border-width) !important; border-style: solid !important; border-color: var(--crm-control-border-color) !important; border-radius: var(--crm-control-radius) !important; }
  :root:root .crm-workspace .money-input, :root:root .crm-workspace .contact-page-phone, :root:root .crm-workspace .address-phone-group, :root:root .crm-workspace .input-group, :root:root .crm-workspace .custom-field-datetime, :root:root .crm-workspace .custom-field-calendar-only, :root:root .crm-workspace .wheel-time { border-width: var(--crm-control-border-width) !important; border-style: solid !important; border-color: var(--crm-control-border-color) !important; border-radius: var(--crm-control-radius) !important; }
  :root:root .crm-workspace .custom-field-datetime .wheel-time { border: 0 !important; border-radius: 0 !important; }
  :root:root .crm-workspace .money-input > input, :root:root .crm-workspace .contact-page-phone > input, :root:root .crm-workspace .address-phone-group > input, :root:root .crm-workspace .input-group > input, :root:root .crm-workspace .input-group > select, :root:root .crm-workspace .input-group .select2-selection--single, :root:root .crm-workspace .custom-field-datetime-date-trigger, :root:root .crm-workspace .wheel-time > .wheel-time-trigger { border: 0 !important; border-radius: calc(var(--crm-control-radius) - var(--crm-control-border-width)) !important; background-color: transparent; box-shadow: none !important; }
  :root:root .crm-workspace .custom-field-datetime .wheel-time-trigger { border-left: var(--crm-control-border-width) solid var(--crm-control-border-color) !important; }
  :root:root .crm-workspace .custom-field-datetime .custom-field-datetime-date-trigger { border-radius: calc(var(--crm-control-radius) - var(--crm-control-border-width)) 0 0 calc(var(--crm-control-radius) - var(--crm-control-border-width)) !important; }
  :root:root .crm-workspace .custom-field-datetime .wheel-time-trigger { border-radius: 0 calc(var(--crm-control-radius) - var(--crm-control-border-width)) calc(var(--crm-control-radius) - var(--crm-control-border-width)) 0 !important; }
  :root:root .crm-workspace .money-input > span { border-right: 1px solid #5c6166; background: #464748; color: #a6b6cd; }
  :root:root .crm-workspace .address-country-prefix { border-radius: calc(var(--crm-control-radius) - var(--crm-control-border-width)) 0 0 calc(var(--crm-control-radius) - var(--crm-control-border-width)); }
  :root:root .crm-workspace .inventory-field .contact-page-phone > input, :root:root .crm-workspace .party-modal .inventory-field .address-phone-group > input, :root:root .crm-workspace .inventory-field .address-phone-group > input { border: 0 !important; border-radius: calc(var(--crm-control-radius) - var(--crm-control-border-width)) !important; background: transparent !important; box-shadow: none !important; }
  :root:root .crm-workspace .inventory-field .contact-page-phone > input:focus, :root:root .crm-workspace .party-modal .inventory-field .address-phone-group > input:focus, :root:root .crm-workspace .inventory-field .address-phone-group > input:focus { border: 0 !important; outline: 0 !important; box-shadow: none !important; }
  :root:root .crm-workspace .bill-line input, :root:root .crm-workspace .bill-line select, :root:root .crm-workspace .bill-line .select2-selection--single { border-width: var(--crm-control-border-width) !important; border-radius: var(--crm-control-radius) !important; }
  :root:root .crm-workspace :where(input:not([type="checkbox"]):not([type="radio"]):not([type="file"])):focus, :root:root .crm-workspace select:focus, :root:root .crm-workspace textarea:focus, :root:root .crm-workspace .form-control:focus, :root:root .crm-workspace .select2-container--focus .select2-selection--single, :root:root .crm-workspace .select2-container--open .select2-selection--single { outline: none; border-color: #8adfff !important; }
  :root:root .crm-workspace .select2-selection--multiple .select2-selection__choice, :root:root .crm-workspace .purchase-serial-chip, :root:root .crm-workspace .serial-number-chip { border-radius: var(--crm-control-chip-radius) !important; }
  :root .lookup-related-toggle, :root .inventory-field label.lookup-related-toggle { color: #a6b6cd; }
  :root .lookup-related-toggle input { accent-color: #1e3a8a; }
  :root .select2-dropdown .lookup-dropdown-footer { border-top: 1px solid var(--crm-footer-divider, #5f6368); background: #464748; }
  :root .select2-dropdown .lookup-dropdown-footer button { border: 0; border-radius: 8px; background: transparent; color: #a4bdf6; }
  :root .select2-dropdown .lookup-dropdown-footer button:hover, :root .select2-dropdown .lookup-dropdown-footer button:active, :root .select2-dropdown .lookup-dropdown-footer button:focus-visible { background: #3e4346; color: #a4bdf6; outline: none; }
  :root:root { --crm-gloss-selected: linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 48%, rgba(255,255,255,0) 52%), linear-gradient(180deg, #132c68, #0d1e4d); --crm-gloss-selected-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(121,212,255,.6), 0 1px 3px rgba(7,19,43,.28); --crm-gloss-selected-text: #d8f4ff; --crm-gloss-hover: linear-gradient(180deg, #f7fdff 0%, #e6f7ff 48%, #d4f1ff 52%, #e3f6ff 100%); --crm-gloss-hover-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(30,58,138,.1), 0 1px 2px rgba(30,58,138,.1); --crm-gloss-text: #0b2256; }
  :root .select2-container--default .select2-results__option { border-radius: 7px; }
  :root .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--crm-gloss-hover); box-shadow: var(--crm-gloss-hover-shadow); color: var(--crm-gloss-text); }
  :root .select2-container--default .select2-results__option--selected, :root .select2-container--default .select2-results__option--selected.select2-results__option--highlighted.select2-results__option--selectable { background: var(--crm-gloss-selected); box-shadow: var(--crm-gloss-selected-shadow); color: var(--crm-gloss-selected-text); text-shadow: 0 1px 1px rgba(0,0,0,.35); }
  :root .calendar-day:is(:hover,:focus-visible):not(.calendar-day--selected) { background: var(--crm-gloss-hover); box-shadow: var(--crm-gloss-hover-shadow); color: var(--crm-gloss-text); }
  :root .calendar-day--today:is(:hover,:focus-visible):not(.calendar-day--selected) { box-shadow: inset 0 0 0 2px #1e3a8a, var(--crm-gloss-hover-shadow); }
  :root .calendar-day--selected, :root .calendar-day--selected:hover { background: var(--crm-gloss-selected) !important; box-shadow: var(--crm-gloss-selected-shadow) !important; color: var(--crm-gloss-selected-text) !important; text-shadow: 0 1px 1px rgba(0,0,0,.35); }
  :root .wheel-time-highlight { background: var(--crm-gloss-selected) !important; box-shadow: var(--crm-gloss-selected-shadow); border-radius: 6px !important; }
  :root .wheel-col li.is-centered { color: var(--crm-gloss-selected-text); text-shadow: 0 1px 1px rgba(0,0,0,.35); }
  :root .select2-dropdown .lookup-dropdown-footer button:hover, :root .select2-dropdown .lookup-dropdown-footer button:active, :root .select2-dropdown .lookup-dropdown-footer button:focus-visible { background: var(--crm-gloss-hover) !important; box-shadow: var(--crm-gloss-hover-shadow); color: var(--crm-gloss-text) !important; }
  :root .crm-workspace .computed-field__icons { color: #a6b6cd; }
  :root .crm-workspace .computed-field__icons button { border: 0; border-radius: 6px; background: transparent; color: #a4bdf6; }
  :root .crm-workspace .computed-field__icons button:hover { background: #373a3f; }
  :root:root .crm-workspace select:not([multiple]):not(.select2-hidden-accessible) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23888' d='M0 0h10L5 6z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; background-size: 10px 6px; }
  :root:root .crm-workspace .section-grid-search { border: 1px solid var(--crm-control-border-color); border-radius: 8px; background: #38393b; }
  :root:root .crm-workspace .section-grid-search i { border: 0; color: #a6b6cd; }
  :root:root .crm-workspace .section-grid-search input { border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
  :root:root .crm-workspace .form-section-heading .section-add-button { border-radius: 8px !important; }
  :root:root .crm-workspace .inventory-switch > span::after, :root:root .crm-workspace .party-primary-switch span::before, :root:root .crm-workspace .party-grid-primary::before { box-shadow: 0 1px 1.5px rgba(15,23,42,.25) !important; }
  /* ---- app.css ---- */
  :root .company-logo-preview { border: 2px dashed #5b6067; border-radius: 12px; background: #464748; }
  :root .company-logo-preview:hover { border-color: #2454ad; background: #424447; }
  :root .company-logo-placeholder { color: #7d8798; }
  :root .company-logo-placeholder i { color: #aab5c8; }
  :root .workspace-settings-card .module-selection { border: 1px solid #595e64; border-radius: 14px; }
  :root .workspace-settings-card .module-select-all { color: #9bbdfe; }
  :root .workspace-settings-card .module-select-all input { accent-color: #0d1e4d; }
  :root .workspace-settings-card .module-options span { border: 1px solid #5b6068; border-radius: 12px; background: #4c4c4c; color: #abc0e4; }
  :root .workspace-settings-card .module-options i { color: #8fb3f3; }
  :root .workspace-settings-card .module-options small { color: #76839a; }
  :root .workspace-settings-card .module-options input:checked+span { border-color: #1e3a8a; background: linear-gradient(180deg,#132c68 0%,#0d1e4d 45%,#07132b 100%); color: #fff; box-shadow: 0 8px 18px rgba(7,19,43,.25),inset 0 1px 1px rgba(255,255,255,.12); }
  :root .workspace-settings-card .module-options input:checked+span i { color: #82c8ff; }
  :root .workspace-settings-card .module-options input:checked+span small { color: #c8d8f5; }
  :root .workspace-settings-card .module-options input:checked+span::after { background: linear-gradient(90deg,transparent,rgba(76, 76, 76, 0.55),transparent); }
  :root .workspace-settings-card .module-options input:focus-visible+span { outline: 2px solid #2464d7; outline-offset: 2px; }
  :root .color-input { border: 1px solid #5c6067; border-radius: 8px; }
  :root .color-input input { border: 0; background: none; border-radius: 6px; }
  :root .color-input input::-webkit-color-swatch-wrapper { border-radius: 6px; }
  :root .color-input input::-webkit-color-swatch { border: 1px solid #ccd6e5; border-radius: 6px; }
  :root .color-input input::-moz-color-swatch { border: 1px solid #ccd6e5; border-radius: 6px; }
  :root .color-input:focus-within { border-color: #173d91; }
  :root .color-input input.color-hex-input { border: 0; background: transparent; color: #c3d0ea; }
  :root .color-input input.color-hex-input:focus { outline: 0; }
  :root .bill-format-toggles label { border: 1px solid #5a5e63; border-radius: 8px; }
  :root .bill-format-toggles .toggle-pill { border-radius: 99px; background: #1e2126; }
  :root .bill-format-toggles .toggle-pill::after { border-radius: 50%; background: #4c4c4c; box-shadow: 0 1px 3px rgba(15,23,42,.24); }
  :root .bill-format-toggles input:checked+.toggle-pill { background: #173d91; }
  :root .bill-preview-label { color: #9babc3; }
  :root .bill-preview { --bill-accent: #173d91; background: #4c4c4c; border: 1px solid #5a5d62; border-radius: 5px; box-shadow: 0 10px 30px #25365520; color: #b8c8e5; }
  :root .bill-preview header { border-bottom: 3px solid var(--bill-accent); }
  :root .preview-logo { background: #3c3d40; color: #94a2ba; }
  :root .segmented-control span { border: 1px solid #5c6067; border-radius: 7px; color: #a8b9d2; }
  :root .segmented-control input:checked+span { background: #173d91; border-color: #173d91; color: #fff; }
  :root .segmented-control input:focus-visible+span { outline: 2px solid currentColor; outline-offset: -2px; }
  :root .segmented-control .inline-toggle-tile { border: 1px solid #5c6067; border-radius: 7px; color: #a8b9d2; }
  :root .inline-toggle-tile .toggle-pill { border-radius: 99px; background: #1e2126; }
  :root .inline-toggle-tile .toggle-pill::after { border-radius: 50%; background: #4c4c4c; box-shadow: 0 1px 2px rgba(15,23,42,.24); }
  :root .inline-toggle-tile input:checked+.toggle-pill { background: #173d91; }
  :root .inline-toggle-tile input:focus-visible+.toggle-pill { outline: 2px solid #173d91; outline-offset: 2px; }
  :root .bill-preview h2 { color: var(--bill-accent); }
  :root .bill-preview header>strong { color: var(--bill-accent); }
  :root .preview-party { background: #434445; border-left: 3px solid var(--bill-accent); }
  :root .bill-preview table { border-collapse: collapse; }
  :root .bill-preview th { background: var(--bill-accent); color: #fff; }
  :root .bill-preview td { border-bottom: 1px solid #5a5d61; }
  :root .preview-total { color: var(--bill-accent); }
  :root .preview-signature { border-top: 1px solid; }
  :root .preview-signatures .preview-signature { border-top: 1px solid; }
  :root .bill-preview footer { border-top: 1px solid #5a5d61; color: var(--bill-accent); }
  :root .bill-preview.layout-classic header { border: 2px solid var(--bill-accent); }
  :root .bill-preview.layout-classic .preview-party { background: #4c4c4c; border: 1px solid #636870; }
  :root .bill-preview.layout-classic th { background: #4c4c4c; color: var(--bill-accent); border: 1px solid; }
  :root .bill-preview.layout-classic td { border: 1px solid #636870; }
  :root .challan-preview-viewport { background: #4c4c4c; box-shadow: 0 10px 30px #25365520; }
  :root .challan-preview-viewport iframe { border: 0; }
  :root .terms-editor-wrap { border: 1px solid #5c6067; border-radius: 8px; }
  :root .terms-toolbar { background: #434445; border-bottom: 1px solid #5c6067; }
  :root .terms-toolbar button { background: #4c4c4c; border: 1px solid #5c6067; border-radius: 4px; }
  :root #termsEditor { outline-offset: -2px; }
  :root .title-alignment-controls>.inline-toggle-tile>span:last-child { border: 0; border-radius: 0; background: transparent; color: inherit; }
  :root .title-alignment-controls .inline-toggle-tile .toggle-pill { border: 0; }
  :root .terms-toolbar input.terms-color-hex { border: 1px solid #5c6067; border-radius: 4px; background: #4c4c4c; color: #c3d0ea; }
  :root .terms-toolbar input.terms-color-hex:focus { outline: 0; border-color: #173d91; }
  :root .terms-toolbar select[data-terms-command] { background-position: right 7px center !important; }
  :root .bill-designer .color-input, :root .terms-toolbar .terms-color { border: 1px solid #5c6067; border-radius: 999px; background: #4c4c4c; }
  :root .terms-toolbar .terms-color { --color-control-h: 30px; }
  :root .bill-designer .color-input:hover, :root .terms-toolbar .terms-color:hover { border-color: #9fb0cc; }
  :root .bill-designer .color-input:focus-within, :root .terms-toolbar .terms-color:focus-within { border-color: #173d91; box-shadow: 0 0 0 3px rgba(23,61,145,.14); }
  :root .bill-designer .color-input input, :root .terms-toolbar .terms-color input { border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; border-radius: 0 !important; }
  :root .bill-designer .color-input input[type=color], :root .terms-toolbar .terms-color input[type=color] { border-radius: 50% !important; }
  :root .bill-designer .color-input input[type=color]::-webkit-color-swatch, :root .terms-toolbar .terms-color input[type=color]::-webkit-color-swatch { border: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(15,23,42,.18); }
  :root .bill-designer .color-input input[type=color]::-moz-color-swatch, :root .terms-toolbar .terms-color input[type=color]::-moz-color-swatch { border: 0; border-radius: 50%; }
  :root .bill-designer .color-input input.color-hex-input, :root .terms-toolbar .terms-color input.terms-color-hex { color: #c3d0ea; }
  :root .bill-designer .color-input:has(input:disabled), :root .terms-toolbar .terms-color:has(input:disabled) { background: #434445; }
  :root .segmented-control input:checked+span { background: var(--crm-gloss-selected) !important; border-color: transparent !important; box-shadow: 0 1px 3px rgba(7,19,43,.28) !important; color: var(--crm-gloss-selected-text) !important; text-shadow: 0 1px 1px rgba(0,0,0,.35); }
  :root .bill-format-toggles input:checked + .toggle-pill, :root .inline-toggle-tile input:checked + .toggle-pill { background: linear-gradient(180deg, #132c68, #0d1e4d) !important; }
  :root .inventory-switch input:checked + span, :root .party-primary-switch input:checked + span { background: linear-gradient(180deg, #132c68, #0d1e4d) !important; }
  :root .segmented-control .segmented-indicator { border-radius: 6px; background: var(--crm-gloss-selected); box-shadow: 0 1px 3px rgba(7,19,43,.28); }
  :root .segmented-control.has-segmented-slider input[type=radio]:checked+span { background: transparent !important; box-shadow: none !important; }
  :root .segmented-control { --document-segment-height: 22px; border: 1px solid #5a5d61; border-radius: 8px; background: #38393c; box-shadow: inset 0 1px 2px rgba(15,23,42,.05); }
  :root .segmented-control span, :root .segmented-control .inline-toggle-tile { border-color: transparent !important; background: transparent; border-radius: 6px !important; }
  :root .segmented-control label:hover input:not(:checked)+span { background: rgba(76, 76, 76, 0.75); }
  :root .bill-preview-label { color: #aabcd6; }
  :root .challan-preview-viewport { border: 1px solid var(--crm-control-border-color,#475569); }
  :root .segmented-control { border-color: var(--crm-control-border-color,#475569) !important; }
  /* ---- auth-card-overrides.css ---- */
  :root .company-card .module-selection { border: 1px solid rgba(31, 79, 166, .25); border-radius: 14px; background: rgba(64, 66, 70, 0.72); }
  :root .company-address-grid .phone-country-code { border-right: 1px solid #5b6067; color: #9bbdfe; }
  :root .company-card .module-selection legend { color: #9bbdfe; }
  :root .company-card .module-selection > p { color: #99a7c4; }
  :root .company-card .module-select-all { color: #9bbdfe; }
  :root .company-card .module-select-all input { accent-color: #0d1e4d; }
  :root .company-card .module-options span { border: 1px solid #5b6068; border-radius: 10px; background: #4c4c4c; color: #abc0e4; }
  :root .company-card .module-options i { color: #8fb3f3; }
  :root .company-card .module-options small { color: #76839a; }
  :root .company-card .module-options input:checked + span { border-color: #1e3a8a; background: linear-gradient(180deg, #172f68, #081841); color: #fff; box-shadow: 0 8px 18px rgba(7, 19, 43, .25), inset 0 1px 1px rgba(255, 255, 255, .12); }
  :root .company-card .module-options input:checked + span i { color: #82c8ff; }
  :root .company-card .module-options input:checked + span small { color: #c8d8f5; }
  :root .company-card .module-options input:checked + span::after { background: linear-gradient(90deg, transparent, rgba(76, 76, 76, 0.55), transparent); }
  :root .company-card .module-options input:focus-visible + span { outline: 2px solid #2464d7; outline-offset: 2px; }
  :root .login-page .login-card .login-header .login-subtitle { border: 2px solid #1e3a8a !important; border-radius: 14px !important; background: linear-gradient(180deg, #464749 0%, #3d3f44 100%) !important; color: #98aac8 !important; box-shadow: 0 0 0 3px rgba(30, 58, 138, .10),
        0 6px 16px rgba(30, 58, 138, .12) !important; }
  :root .login-page .login-card:not(.account-card) .login-options { border: 1px solid #585c63; border-radius: 12px; background: linear-gradient(180deg, rgba(71, 72, 73, 0.94), rgba(65, 67, 70, 0.88)); box-shadow: inset 0 1px 0 #fff, 0 3px 10px rgba(30, 58, 138, .05); }
  :root .login-security-note { border: 1px solid rgba(30, 58, 138, .13); border-radius: 12px; background: rgba(62, 65, 69, 0.72); color: #9eb0ce; }
  :root .login-security-note > span { border-radius: 9px; background: linear-gradient(145deg, #24469a, #10275e); color: #fff; box-shadow: 0 4px 10px rgba(30, 58, 138, .18); }
  :root .login-security-note strong { color: #b0c5e9; }
  :root .login-security-note small { color: #92a2bd; }
  :root .account-login-link { border: 1px solid rgba(30, 58, 138, .16); border-radius: 99px; background: rgba(66, 68, 71, 0.88); color: #93a3ba; }
  :root .account-login-link a { color: #99b7f9; }
  :root .account-login-link a:hover { color: #86a8e7; }
  :root .account-password-meter { border: 1px solid rgba(30, 58, 138, .20); border-radius: 13px; background: linear-gradient(145deg, #474849, #3e4045); box-shadow: inset 0 1px 0 #fff, 0 5px 14px rgba(30, 58, 138, .08); }
  :root .account-strength-header { color: #a4bdf6; }
  :root .account-strength-header > strong { border: 1px solid currentColor; border-radius: 99px; background: rgba(76, 76, 76, 0.82); box-shadow: inset 0 1px 0 #fff; }
  :root .account-strength-bar { border-radius: 99px; background: #2a2d32; }
  :root .account-strength-bar > span { border-radius: inherit; background: #dc3545; }
  :root .account-strength-glow { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent); }
  :root .login-page.account-page .workspace-setup-card .module-options label > span { border-radius: 11px; }
  :root .account-password-checklist li { color: #93a3ba; }
  :root .account-password-checklist li i { color: #9aa8bc; }
  :root .account-password-checklist li.valid { color: #6fba8e; }
  :root .account-password-checklist li.valid i { color: #6fba8e; }
  :root .account-password-checklist li.invalid { color: #d6939b; }
  :root .account-password-checklist li.invalid i { color: #dc6b78; }
  @media (max-width: 760px) {
    :root .account-password-meter { border-radius: 12px; }
  }
  @media (max-width: 900px) {
    :root .login-page, :root .login-page.account-page { background: linear-gradient(160deg, #071735 0%, #0b2862 48%, #3e4043 48.2%, #464748 100%); }
    :root .login-page .login-card, :root .login-page .login-card:not(.account-card), :root .login-page .login-card.account-card, :root .account-page .login-card.account-card:not(.company-card) { border-radius: 22px; }
    :root .login-page .login-card:not(.account-card) .btn-login, :root .login-page .login-card:not(.account-card) .btn-google, :root .login-page .login-card:not(.account-card) .btn-register { border-radius: 13px; }
  }
  :root .login-page.account-page, :root .login-page.account-page .login-right { background: #2c2f32; }
  :root .login-page.account-page .login-card.account-card, :root .login-page.account-page .login-card.account-card.company-card, :root .login-page.account-page .login-card.account-card.workspace-setup-card { border-color: #24469a; background: #2f3133; box-shadow: 0 2px 7px rgba(15, 31, 58, .08), 0 0 0 1px rgba(79, 96, 116, .06); }
  :root .login-page.account-page .login-card .login-header, :root .login-page.account-page .login-card .login-form, :root .login-page.account-page .login-card .form-actions, :root .login-page.account-page .login-card footer { background: transparent; }
  :root .login-page.account-page .login-card .login-subtitle, :root .login-page.account-page .company-card .module-selection, :root .login-page.account-page .account-password-meter { border-color: #666c72; background: #38393b !important; box-shadow: none !important; }
  :root .login-page.account-page .login-card .input-group, :root .login-page.account-page .login-card .select2-selection--single, :root .login-page.account-page .company-card .module-options span { background: #38393b; }
  :root .login-page.account-page .login-card .input-group input, :root .login-page.account-page .login-card .input-group select { background: transparent !important; }
  :root .login-page.account-page .login-card .input-group:focus-within, :root .login-page.account-page .login-card .select2-container--focus .select2-selection--single, :root .login-page.account-page .login-card .select2-container--open .select2-selection--single { border-color: #8adfff; background: #323436; box-shadow: 0 0 0 3px rgba(121, 212, 255, .22), 0 0 12px rgba(121, 212, 255, .38), 0 12px 24px rgba(15, 23, 42, .14); }
  :root .login-page.account-page .login-card .security-badge { border-color: #666c72; background: #38393b; box-shadow: none; }
  :root .login-page.account-page .company-address-grid .phone-country-code { border-color: #666c72; background: transparent; }
  :root .login-page.account-page .login-card .input-group { border: 1px solid #1e3a8a !important; }
  :root .login-page.account-page .login-card .input-group:focus-within { border-color: #8adfff !important; }
  :root .login-page.account-page .login-card .input-group .select2-selection--single { border: 0 !important; background: transparent; box-shadow: none; }
  :root .login-page.account-page .workspace-setup-card .module-selection { border: 1px solid #666c72; border-radius: 14px; background: #2f3133 !important; }
  :root .login-page.account-page .workspace-setup-card .module-options label > span { border: 1px solid #666c72; border-radius: 14px; background: #2f3133; color: #abc0e4; box-shadow: 0 1px 3px rgba(49, 95, 165, .08); }
  :root .login-page.account-page .workspace-setup-card .module-options label:hover > span { border-color: #8adfff; box-shadow: 0 0 0 3px rgba(121, 212, 255, .22), 0 0 12px rgba(121, 212, 255, .38); }
  :root .login-page.account-page .workspace-setup-card .module-options input:checked + span { border-color: #1e3a8a; background: linear-gradient(180deg, #172f68, #081841); color: #fff; box-shadow: 0 0 0 3px rgba(121, 212, 255, .18), 0 0 12px rgba(121, 212, 255, .30); }
  :root .login-page .input-group, :root .account-page .input-group, :root .login-page .input-group:focus-within, :root .account-page .input-group:focus-within { border-radius: 14px; }
  :root .login-page .input-group::before, :root .account-page .input-group::before { border-radius: inherit; }
  :root .login-page .input-group input:focus, :root .account-page .input-group input:focus, :root .login-page .input-group select:focus, :root .account-page .input-group select:focus { outline: 0; box-shadow: none !important; }
  :root .login-page .select2-container--focus .select2-selection--single, :root .account-page .select2-container--focus .select2-selection--single, :root .login-page .select2-container--open .select2-selection--single, :root .account-page .select2-container--open .select2-selection--single { border-radius: 14px !important; }
  :root .login-page .login-card .input-group, :root .account-page .login-card .input-group, :root .login-page .login-card .select2-selection--single, :root .account-page .login-card .select2-selection--single { border: 1px solid #1e3a8a; }
  :root .login-page .login-card .input-group:focus-within, :root .account-page .login-card .input-group:focus-within, :root .login-page .login-card .select2-container--focus .select2-selection--single, :root .account-page .login-card .select2-container--focus .select2-selection--single, :root .login-page .login-card .select2-container--open .select2-selection--single, :root .account-page .login-card .select2-container--open .select2-selection--single { border-color: #8adfff; }
  :root .login-page .login-card:not(.account-card) .btn-login, :root .login-page .login-card:not(.account-card) .btn-google { border-width: 2px; border-radius: 14px; }
  @media (max-width: 900px) {
    :root .login-page .login-card:not(.account-card) .btn-login, :root .login-page .login-card:not(.account-card) .btn-google { border-radius: 13px; }
  }
  @media (max-width: 760px) and (max-height: 900px) {
    :root .login-page .login-card, :root .login-page .login-card:not(.account-card), :root .login-page .login-card.account-card, :root .account-page .login-card.account-card:not(.company-card) { border-radius: 18px; }
  }
  @media (max-width: 380px) {
    :root .login-page .login-card, :root .login-page .login-card:not(.account-card), :root .login-page .login-card.account-card { border-radius: 18px; }
  }
  :root .feature-card { border: 0; background: transparent; }
  :root .feature-card:hover, :root .feature-card:focus-visible { outline: none; }
  :root .feature-card:focus-visible .feature-card-inner { box-shadow: 0 0 0 2px #7dd3fc, 0 18px 38px rgba(0, 0, 0, .28); }
  :root .feature-card-inner { border-radius: 18px; }
  :root .feature-card.is-flipped .feature-card-inner { box-shadow: 0 20px 45px rgba(0, 0, 0, .3), 0 0 30px rgba(59, 130, 246, .18); }
  :root .feature-card-face { border: 1px solid rgba(255, 255, 255, .1); border-radius: inherit; }
  :root .feature-card-front { background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04)); }
  :root .feature-card-back { color: #fff; background: linear-gradient(145deg, rgba(29, 78, 216, .92), rgba(8, 24, 63, .98)); }
  :root .feature-back-heading i { color: #7dd3fc; }
  :root .feature-back-heading h4 { color: #fff; }
  :root .feature-card-back p { color: rgba(255, 255, 255, .78); }
  :root .feature-card-back > span { color: #7dd3fc; }
  :root .login-page .login-right, :root .account-page .login-right { background: #353638; }
  :root .login-page .login-card, :root .login-page .login-card:not(.account-card), :root .login-page .login-card.account-card, :root .login-page .login-card.account-card.company-card, :root .login-page .login-card.account-card.workspace-setup-card, :root .account-page .login-card.account-card { background: #3c3d3f; }
  :root .login-page .login-card .login-subtitle, :root .account-page .login-card .login-subtitle, :root .company-card .module-selection, :root .login-security-note, :root .login-options, :root .signup-section { background-color: #353638; }
  :root .login-page .input-group, :root .account-page .input-group, :root .login-page .input-group input, :root .account-page .input-group input, :root .account-page .input-group select, :root .login-page .select2-selection--single, :root .account-page .select2-selection--single, :root .login-page .btn-google, :root .login-page .btn-register, :root .message-modal-content, :root .message-modal-content .modal-body { background-color: #414242; }
  :root .company-card .module-options span { background: #3c3d3f; }
  :root .company-card .module-options input:checked + span { background: linear-gradient(180deg, #172f68, #081841); }
  :root .login-page .login-right, :root .account-page .login-right { background: #2c2f32; }
  :root .login-page .login-card, :root .login-page .login-card:not(.account-card), :root .login-page .login-card.account-card, :root .login-page .login-card.account-card.company-card, :root .login-page .login-card.account-card.workspace-setup-card, :root .account-page .login-card.account-card, :root .login-page .login-card .login-header, :root .account-page .login-card .login-header, :root .login-page .login-card .form-actions, :root .account-page .login-card .form-actions, :root .login-page .login-card footer, :root .account-page .login-card footer { background: #343638; }
  :root .login-page .login-card, :root .account-page .login-card { box-shadow: 0 8px 24px rgba(15, 31, 58, .12); }
  :root .login-page .login-card .login-subtitle, :root .account-page .login-card .login-subtitle, :root .company-card .module-selection, :root .login-security-note, :root .login-options, :root .signup-section, :root .company-card .module-options span { background: #2f3235; }
  :root .login-page .input-group, :root .account-page .input-group, :root .login-page .input-group input, :root .account-page .input-group input, :root .account-page .input-group select, :root .login-page .select2-selection--single, :root .account-page .select2-selection--single, :root .login-page .btn-google, :root .login-page .btn-register { background-color: #3c3d3f; }
  :root .login-page .login-card .login-header, :root .account-page .login-card .login-header, :root .login-page .login-card .form-actions, :root .account-page .login-card .form-actions, :root .login-page .login-card footer, :root .account-page .login-card footer { background-color: #3c3d3f; }
  :root .login-page .login-card, :root .login-page .login-card:not(.account-card), :root .login-page .login-card.account-card, :root .login-page .login-card.account-card.company-card, :root .login-page .login-card.account-card.workspace-setup-card, :root .account-page .login-card.account-card, :root .login-page .login-card .login-header, :root .account-page .login-card .login-header, :root .login-page .login-card .form-actions, :root .account-page .login-card .form-actions, :root .login-page .login-card footer, :root .account-page .login-card footer, :root .company-card .module-selection, :root .company-card .module-options span { background: #343638; }
  :root .company-card .module-options input:checked + span { background: linear-gradient(180deg, #172f68, #081841); }
  :root body.login-page, :root body.account-page, :root .login-page .login-container, :root .account-page .login-container, :root .login-page .login-right, :root .account-page .login-right { background: #2c2f32; }
  :root .login-page .login-card .login-subtitle, :root .account-page .login-card .login-subtitle { background: #2f3235 !important; box-shadow: 0 2px 7px rgba(15, 31, 58, .08) !important; }
  :root .login-page .login-card:not(.account-card) .security-badge, :root .account-page .login-card.account-card .security-badge { background: #323538; box-shadow: 0 2px 7px rgba(15, 31, 58, .08); }
  :root .login-page .login-card, :root .account-page .login-card, :root .login-page .login-card::before, :root .account-page .login-card::before { box-shadow: none; }
  :root .login-page .login-card, :root .account-page .login-card { box-shadow: 0 6px 18px rgba(15, 31, 58, .12); }
  :root .login-page .login-right { background: #292c2f; }
  :root .login-page .login-card:not(.account-card) { background: #37393b; border-color: #294985; box-shadow: 0 6px 18px rgba(15, 31, 58, .10); }
  :root .login-page .login-card:not(.account-card) .login-header, :root .login-page .login-card:not(.account-card) .login-form, :root .login-page .login-card:not(.account-card) footer, :root .login-page .login-card:not(.account-card) .signup-section { background: transparent; }
  :root .login-page .login-card:not(.account-card) .login-subtitle { background: #313335 !important; box-shadow: 0 2px 6px rgba(15, 31, 58, .07) !important; }
  :root .login-page .login-card:not(.account-card) .input-group { background: #3f4041; }
  :root .login-page .login-card:not(.account-card) .input-group input, :root .login-page .login-card:not(.account-card) .input-group input:focus { background: transparent !important; box-shadow: none !important; }
  :root .login-page .login-card:not(.account-card) .login-options, :root .login-page .login-card:not(.account-card) .login-security-note { background: #313335; box-shadow: none; }
  :root .login-page .login-card:not(.account-card) .btn-google, :root .login-page .login-card:not(.account-card) .btn-register { background: #3c3d3e; }
  :root body.login-page, :root body.account-page, :root .login-page, :root .login-page.account-page, :root .login-page .login-container, :root .account-page .login-container, :root .login-page .login-left, :root .account-page .login-left, :root .login-page .login-right, :root .account-page .login-right { background: #292c2f; }
  :root .login-page .input-group, :root .account-page .input-group, :root .login-page .select2-selection--single, :root .account-page .select2-selection--single { background: #38393b; }
  :root .login-page .input-group input, :root .account-page .input-group input { background: transparent !important; }
  :root .login-page .input-group:focus-within, :root .account-page .input-group:focus-within, :root .login-page .select2-container--focus .select2-selection--single, :root .account-page .select2-container--focus .select2-selection--single, :root .login-page .select2-container--open .select2-selection--single, :root .account-page .select2-container--open .select2-selection--single { border-color: #8adfff; background: #323436; box-shadow: 0 0 0 3px rgba(121, 212, 255, .22), 0 0 12px rgba(121, 212, 255, .38), 0 12px 24px rgba(15, 23, 42, .14); }
  :root body.login-page, :root .login-page, :root .login-page .login-container, :root .login-page .login-left, :root .login-page .login-right { background-color: #2c2f32; }
  :root .login-page .login-card:not(.account-card) { border-color: #24469a; background: #2f3133; box-shadow: 0 2px 7px rgba(15, 31, 58, .08), 0 0 0 1px rgba(79, 96, 116, .06); }
  :root .login-page .login-card:not(.account-card) .login-subtitle, :root .login-page .login-card:not(.account-card) .login-options, :root .login-page .login-card:not(.account-card) .login-security-note { border-color: #666c72; background: #38393b !important; box-shadow: none !important; }
  :root .login-page .login-card:not(.account-card) .input-group, :root .login-page .login-card:not(.account-card) .btn-google, :root .login-page .login-card:not(.account-card) .btn-register { background: #38393b; }
  :root .login-page .login-card:not(.account-card) .input-group:focus-within { border-color: #8adfff; background: #323436; box-shadow: 0 0 0 3px rgba(121, 212, 255, .22), 0 0 12px rgba(121, 212, 255, .38), 0 12px 24px rgba(15, 23, 42, .14); }
  :root .login-page .login-card:not(.account-card) .btn-google, :root .login-page .login-card:not(.account-card) .btn-register { border-width: 2px; border-radius: 14px; }
  @media (max-width: 900px) {
    :root .login-page .login-card:not(.account-card) .btn-google, :root .login-page .login-card:not(.account-card) .btn-register { border-radius: 13px; }
  }
  :root .login-page.account-page, :root .login-page.account-page .login-right { background: #2c2f32; }
  :root .login-page.account-page .login-card.account-card, :root .login-page.account-page .login-card.account-card.company-card, :root .login-page.account-page .login-card.account-card.workspace-setup-card { border-color: #24469a; background: #2f3133; box-shadow: 0 2px 7px rgba(15, 31, 58, .08), 0 0 0 1px rgba(79, 96, 116, .06); }
  :root .login-page.account-page .login-card .login-header, :root .login-page.account-page .login-card .login-form, :root .login-page.account-page .login-card .form-actions, :root .login-page.account-page .login-card footer { background: transparent; }
  :root .login-page.account-page .login-card .login-subtitle, :root .login-page.account-page .company-card .module-selection, :root .login-page.account-page .account-password-meter { border-color: #666c72; background: #38393b !important; box-shadow: none !important; }
  :root .login-page.account-page .login-card .input-group, :root .login-page.account-page .login-card .select2-selection--single, :root .login-page.account-page .company-card .module-options span, :root .login-page.account-page .login-card .security-badge { border-color: #666c72; background: #38393b; box-shadow: none; }
  :root .login-page.account-page .login-card .input-group input, :root .login-page.account-page .login-card .input-group select { background: transparent !important; }
  :root .login-page.account-page .login-card .input-group:focus-within, :root .login-page.account-page .login-card .select2-container--focus .select2-selection--single, :root .login-page.account-page .login-card .select2-container--open .select2-selection--single { border-color: #8adfff; background: #323436; box-shadow: 0 0 0 3px rgba(121, 212, 255, .22), 0 0 12px rgba(121, 212, 255, .38), 0 12px 24px rgba(15, 23, 42, .14); }
  :root .login-page.account-page .company-address-grid .phone-country-code { border-color: #666c72; background: transparent; }
  :root .login-page.account-page
.workspace-setup-card
.module-options label > span { border-radius: 11px !important; }
  :root .login-page.account-page
.workspace-setup-card
.module-options input:checked + span { border-color: #1e3a8a; background: linear-gradient(180deg, #172f68, #081841); color: #fff; }
  :root .login-page .login-card:not(.account-card):not(.force-password-card), :root .login-page.account-page .login-card.account-card, :root .login-page.account-page .login-card.account-card.company-card, :root .login-page.account-page .login-card.account-card.workspace-setup-card { background: #2c2f32; }
  @media (min-width: 901px) {
    :root .login-page.account-page .login-right { background: transparent !important; }
  }
  @media (min-width: 901px) and (max-height: 820px) {
    :root .login-page .login-card:not(.force-password-card) { --auth-zoom: .85; }
    :root .login-page:not(.account-page) .login-card:not(.account-card) { --auth-zoom: .74; }
    :root .login-page:not(.account-page) .login-card:not(.account-card) .input-group { border-width: var(--crm-control-border-width, 1px); }
    :root .login-page:not(.account-page) .login-card:not(.account-card) .btn-login { border-radius: 16px; }
    :root .login-page:not(.account-page) .login-card:not(.account-card) .btn-google, :root .login-page:not(.account-page) .login-card:not(.account-card) .btn-register { border-radius: 16px; }
    :root .login-page:not(.account-page) .login-card:not(.account-card) .login-security-note { border-radius: 14px; }
    :root .login-page:not(.account-page) .login-card:not(.account-card) .login-security-note > span { border-radius: 10px; }
  }
  @media (min-width: 700px) and (max-width: 1180px) and (hover: none) and (pointer: coarse) {
    :root .login-page { --ipad-login-card-height: min(750px, calc(100dvh - 28px)); }
  }
  :root .login-page:not(.account-page) .login-card:not(.account-card) .security-badge, :root .login-page.account-page .login-card.account-card .security-badge { border-radius: 14px; }
  :root .login-page .login-card:not(.account-card) .btn-google::after, :root .login-page .login-card:not(.account-card) .btn-register::after { background: linear-gradient(110deg,
        transparent 0%,
        rgba(255, 255, 255, .05) 30%,
        rgba(76, 76, 76, 0.45) 50%,
        rgba(255, 255, 255, .05) 70%,
        transparent 100%) !important; }
  :root .login-page:not(.account-page) .login-card:not(.account-card) .security-badge { border: 2px solid #666c72; border-radius: 14px; background: #38393b; box-shadow: none; }
  @media (min-width: 901px) and (max-height: 820px) {
    :root .login-page:not(.account-page) .login-card:not(.account-card) .security-badge { border-width: 2.3px; border-radius: 16.08px; }
  }
  :root .forgot-password-page .forgot-password-badge { color: #a4bdf6; }
  :root .forgot-password-page .forgot-password-badge::after { border: 1px solid rgba(52, 214, 255, .42); border-radius: 16px; }
  :root .forgot-password-guidance { border: 1px solid #666c72; border-radius: 14px; background: linear-gradient(145deg, #38393b, #303335); box-shadow: inset 0 1px rgba(255, 255, 255, .72), 0 5px 14px rgba(15, 31, 58, .07); }
  :root .forgot-password-guidance > span { border: 1px solid rgba(52, 214, 255, .38); border-radius: 12px; background: #363f43; color: #a4bdf6; }
  :root .forgot-password-guidance strong { color: #a2c7f9; }
  :root .forgot-password-guidance p { color: #99aac3; }
  :root .forgot-password-security { border: 1px solid #5f656c; border-radius: 12px; background: #38393b; color: #99aac3; }
  :root .forgot-password-security i { color: #8fb3f3; }
  :root .forgot-password-back { border-top: 1px solid #60656b; }
  :root .forgot-password-back a { color: #a4bdf6; }
  :root .forgot-password-back a:hover { color: #86a8e7; }
  :root .login-page .login-card a:not(.btn-login):not(.btn-google):not(.btn-register) { color: #86a8e7; }
  :root .login-page .login-card a:not(.btn-login):not(.btn-google):not(.btn-register)::after { background: currentColor; }
  :root .login-page .login-card a:not(.btn-login):not(.btn-google):not(.btn-register):hover, :root .login-page .login-card a:not(.btn-login):not(.btn-google):not(.btn-register):focus-visible { color: #90aff0; }
  :root .create-account-card .account-strength-header, :root .create-account-card .account-strength-header > span { color: #a2c7f9; }
  :root .create-account-card .account-strength-header > strong { color: #98b8f9; background: rgba(64, 66, 69, 0.96); }
  :root .create-account-card .account-password-checklist li { color: #9fb2cc; }
  :root .create-account-card .account-password-checklist li i { color: #a6b6cd; }
  :root .create-account-card .account-password-checklist li.invalid { color: #e896a2; }
  :root .create-account-card .account-password-checklist li.invalid i { color: #dd8c90; }
  :root .force-password-card .force-password-meter { border-color: #666c72; background: #38393b; box-shadow: none; }
  :root .create-account-card .account-password-meter, :root .force-password-card .account-password-meter { border-color: #879bb4; background: #424445; box-shadow: none; }
  :root .create-account-card .account-strength-header, :root .create-account-card .account-strength-header > span, :root .force-password-card .account-strength-header, :root .force-password-card .account-strength-header > span { color: #a2c7f9; }
  :root .create-account-card .account-strength-header > strong, :root .force-password-card .account-strength-header > strong { background: rgba(64, 66, 69, 0.96); }
  :root .create-account-card .account-password-checklist li, :root .force-password-card .account-password-checklist li { color: #9fb2cc; }
  :root .create-account-card .account-password-checklist li i, :root .force-password-card .account-password-checklist li i { color: #a6b6cd; }
  :root .create-account-card .account-password-checklist li.valid, :root .force-password-card .account-password-checklist li.valid, :root .create-account-card .account-password-checklist li.valid i, :root .force-password-card .account-password-checklist li.valid i { color: #77c296; }
  :root .create-account-card .account-password-checklist li.invalid, :root .force-password-card .account-password-checklist li.invalid { color: #ee9ba7; }
  :root .create-account-card .account-password-checklist li.invalid i, :root .force-password-card .account-password-checklist li.invalid i { color: #dd8c90; }
  :root .create-account-card .account-strength-bar, :root .force-password-card .account-strength-bar { background: #1e2126; }
  @media (max-width: 760px) and (max-height: 760px) {
    :root .login-page.account-page .login-card.create-account-card .security-badge { border-radius: 10px !important; }
  }
  :root:root .login-page .login-card .btn-login { box-shadow: 0 3px 8px rgba(7,19,43,.16), inset 0 1px 1px rgba(255,255,255,.08) !important; }
  :root:root .login-page .login-card .btn-login::before { background: linear-gradient(rgba(255,255,255,.14), rgba(255,255,255,0)) !important; }
  :root:root:root .login-page .login-card .input-group, :root:root:root .account-page .login-card .input-group { border-width: var(--crm-control-border-width, 1px) !important; border-style: solid !important; }
  :root:root .account-password-meter .account-strength-bar { border: 1px solid rgba(71, 85, 105, .62); border-radius: 99px; background: linear-gradient(180deg, rgba(76, 76, 76, 0.55), rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, 0) 62%, rgba(76, 76, 76, 0.3)), rgba(30, 33, 38, 0.3) !important; box-shadow: inset 0 1px 2px rgba(15, 23, 42, .16), inset 0 -1px 1px rgba(255, 255, 255, .45), 0 1px 1px rgba(255, 255, 255, .4); }
  :root:root .account-password-meter .account-strength-bar::after { border-radius: 99px; background: linear-gradient(180deg, rgba(76, 76, 76, 0.62), rgba(255, 255, 255, 0)); }
  :root:root .account-password-meter .account-strength-bar > span { border-radius: 99px; background-image: linear-gradient(180deg, rgba(76, 76, 76, 0.38), rgba(255, 255, 255, .06) 45%, rgba(15, 23, 42, .16)); box-shadow: inset 0 0 0 1px rgba(15, 35, 62, .32); }
  :root:root .account-password-meter .account-password-checklist li.valid, :root:root .account-password-meter .account-password-checklist li.valid i { color: #7cbf8c; }
  :root:root .account-password-meter .account-password-checklist li.invalid { color: #e69490; }
  :root:root .account-password-meter .account-password-checklist li.invalid i { color: #db8a87; }
  :root:root .account-password-meter:has(.account-strength-tag--dark-green) .account-password-checklist li.valid, :root:root .account-password-meter:has(.account-strength-tag--dark-green) .account-password-checklist li.valid i { color: #6fba8e; }
  :root:root:root .login-page .login-card .input-group { border: calc(var(--crm-control-border-width, 1px) / var(--auth-zoom, 1)) solid var(--crm-control-border-color, #475569) !important; border-radius: calc(var(--crm-control-radius, 8px) / var(--auth-zoom, 1)) !important; }
  :root:root:root .login-page .login-card .input-group > :is(input, select) { border: 0 !important; }
  :root:root:root .login-page .login-card:not(.account-card) .login-options { border: calc(var(--crm-control-border-width, 1px) / var(--auth-zoom, 1)) solid var(--crm-control-border-color, #475569) !important; border-radius: calc(var(--crm-control-radius, 8px) / var(--auth-zoom, 1)) !important; }
  :root:root:root .login-page .login-card :is(.btn-login, .btn-google, .btn-register) { border-radius: calc(var(--crm-action-radius, 12px) / var(--auth-zoom, 1)) !important; }
  :root:root:root .login-page .login-card .input-group .select2-container .select2-selection--single { border: 0 !important; background: transparent !important; box-shadow: none !important; }
  :root:root:root .login-page .login-card .form-group > label, :root:root:root .login-page .login-card .form-group > .password-label, :root:root:root .login-page .login-card .account-password-fields .form-group > label { color: #a7b7d1 !important; }
  :root:root:root .login-page .login-card .forgot-password-security { border: 1px solid var(--crm-outline, #64748b) !important; border-radius: 12px !important; background: linear-gradient(180deg, #3e4043, #35383c) !important; color: #afc0d9 !important; box-shadow: 0 2px 8px rgba(15, 23, 42, .06) !important; }
  :root:root:root .login-page .login-card .forgot-password-security > i { border-radius: 9px; background: linear-gradient(145deg, #24469a, #10275e); color: #fff !important; box-shadow: 0 4px 10px rgba(30, 58, 138, .18); }
  :root:root:root .login-page .login-card .forgot-password-security strong { color: #abc7ff !important; }
  :root:root:root .login-page .login-card .auth-assurance li { color: #afc0d9; }
  :root:root:root .login-page .login-card .auth-assurance li i { color: #8fb3f3; }
  :root:root:root .login-page .login-card .auth-step + .auth-step::before { border-radius: 2px; background: #171b21; }
  :root:root:root .login-page .login-card .auth-step--done + .auth-step::before, :root:root:root .login-page .login-card .auth-step--current::before { background: #1e3a8a; }
  :root:root:root .login-page .login-card .auth-step__dot { border: 1px solid #5f656d; border-radius: 50%; background: #404144; color: #97a8c1; }
  :root:root:root .login-page .login-card .auth-step--done .auth-step__dot { border-color: #1e3a8a; background: #1e3a8a; color: #fff; }
  :root:root:root .login-page .login-card .auth-step--current .auth-step__dot { border-color: #132c68; background: linear-gradient(145deg, #24469a, #10275e); color: #fff; box-shadow: 0 0 0 3px rgba(36, 70, 154, .18); }
  :root:root:root .login-page .login-card .auth-step__label { color: #97a8c1; }
  :root:root:root .login-page .login-card .auth-step--current .auth-step__label { color: #abc7ff; }
  :root:root:root .login-page .login-card .auth-step--done .auth-step__label { color: #a4bdf6; }
  :root:root:root .login-page .login-card .divider::before, :root:root:root .login-page .login-card .divider::after { background: var(--crm-outline, #64748b) !important; }
  :root:root:root .login-page .login-card .auth-workspace-note { color: #a4bdf6; }
  :root:root:root .login-page .login-card .auth-workspace-note i { color: #8fb3f3; }
  :root:root:root .login-page .login-card { border: calc(1px / var(--auth-zoom, 1)) solid var(--crm-outline, #64748b) !important; }
  :root:root:root .login-page .login-card .auth-step--current .auth-step__dot { border-color: #132c68 !important; background: linear-gradient(180deg, #132c68, #0d1e4d) !important; color: #d8f4ff !important; box-shadow: 0 3px 7px -1px rgba(14,165,233,.62), 0 6px 10px -3px rgba(56,189,248,.64), 0 8px 12px -5px rgba(125,211,252,.5) !important; }
  :root:root:root .login-page .login-card :is(.login-subtitle, .login-security-note, .forgot-password-security, .forgot-password-guidance, .account-password-meter) { border: calc(1px / var(--auth-zoom, 1)) solid var(--crm-outline, #64748b) !important; }
  :root:root:root .login-page .login-card .account-password-meter { border: calc(1px / var(--auth-zoom, 1)) solid var(--crm-outline, #64748b) !important; border-radius: calc(12px / var(--auth-zoom, 1)) !important; box-shadow: 0 calc(1px / var(--auth-zoom, 1)) 0 0 rgba(15, 23, 42, .1) !important; }
  :root:root:root .login-page .login-card .login-security-note strong { color: #abc7ff !important; }
  :root:root:root .login-page .login-card .login-security-note small { color: #a6b6cd !important; }
  /* ---- validation.css ---- */
  :root:root .crm-workspace input.input-validation-error.input-validation-error, :root:root .crm-workspace select.input-validation-error.input-validation-error, :root:root .crm-workspace textarea.input-validation-error.input-validation-error, :root:root .login-page input.input-validation-error.input-validation-error, :root:root .login-page select.input-validation-error.input-validation-error, :root:root .login-page textarea.input-validation-error.input-validation-error, :root:root .crm-workspace input.popup-validation-error.popup-validation-error, :root:root .crm-workspace select.popup-validation-error.popup-validation-error, :root:root .crm-workspace textarea.popup-validation-error.popup-validation-error, :root:root .crm-workspace input[aria-invalid="true"][aria-invalid="true"], :root:root .crm-workspace select[aria-invalid="true"][aria-invalid="true"], :root:root .crm-workspace textarea[aria-invalid="true"][aria-invalid="true"], :root:root .login-page input[aria-invalid="true"][aria-invalid="true"], :root:root .login-page select[aria-invalid="true"][aria-invalid="true"], :root:root .login-page textarea[aria-invalid="true"][aria-invalid="true"], :root input.input-validation-error, :root select.input-validation-error, :root textarea.input-validation-error, :root input[aria-invalid="true"], :root select[aria-invalid="true"], :root textarea[aria-invalid="true"], :root .input-group:has(.input-validation-error), :root .input-group:has([aria-invalid="true"]), :root .money-input:has(.input-validation-error), :root .money-input:has([aria-invalid="true"]), :root .contact-page-phone:has(.input-validation-error), :root .address-phone-group:has(.input-validation-error) { border-color: #dc2626 !important; }
  :root:root .crm-workspace .validation-border-error.validation-border-error, :root:root .login-page .validation-border-error.validation-border-error, :root .validation-border-error { border-color: #dc2626 !important; }
  :root .popup-validation-error, :root .inventory-field:has(.field-validation-error) > input, :root .inventory-field:has(.field-validation-error) > select, :root .inventory-field:has(.field-validation-error) > textarea, :root .inventory-field:has(.field-validation-error) > .money-input, :root .inventory-field:has(.field-validation-error) > .contact-page-phone, :root .inventory-field:has(.field-validation-error) > .address-phone-group, :root .form-group:has(.field-validation-error) > .input-group, :root .form-group:has(label.error) > .input-group { border-color: #dc2626 !important; }
  :root select.input-validation-error + .select2-container .select2-selection, :root select[aria-invalid="true"] + .select2-container .select2-selection { border-color: #dc2626 !important; }
  :root:root .crm-workspace select.input-validation-error.input-validation-error + .select2-container .select2-selection, :root:root .login-page select.input-validation-error.input-validation-error + .select2-container .select2-selection, :root:root .crm-workspace .inventory-field:has(.field-validation-error) .select2-selection, :root:root .login-page .form-group:has(.field-validation-error) .select2-selection { border-color: #dc2626 !important; }
  :root:root .crm-workspace .money-input:has(input.input-validation-error), :root:root .crm-workspace .contact-page-phone:has(input.input-validation-error), :root:root .crm-workspace .address-phone-group:has(input.input-validation-error), :root:root .login-page .input-group:has(.input-validation-error), :root:root .login-page .form-group:has(.field-validation-error) .input-group, :root:root .login-page .module-selection:has(.field-validation-error) { border-color: #dc2626 !important; }
  :root .inventory-field:has(.field-validation-error) .select2-selection, :root select.popup-validation-error + .select2-container .select2-selection { border-color: #dc2626 !important; }
  :root .crm-workspace .inventory-field .contact-page-phone > input.input-validation-error, :root .crm-workspace .inventory-field:has(.field-validation-error) .contact-page-phone > input, :root .crm-workspace .inventory-field .contact-page-phone.validation-border-error > input, :root .crm-workspace .party-modal .inventory-field .address-phone-group > input.popup-validation-error, :root .crm-workspace .party-modal .inventory-field .address-phone-group.validation-border-error > input { border: 0 !important; outline: 0 !important; box-shadow: none !important; }
  :root:root .crm-workspace input.input-validation-error.input-validation-error, :root:root .crm-workspace select.input-validation-error.input-validation-error, :root:root .crm-workspace textarea.input-validation-error.input-validation-error, :root:root .crm-workspace input.popup-validation-error.popup-validation-error, :root:root .crm-workspace select.popup-validation-error.popup-validation-error, :root:root .crm-workspace textarea.popup-validation-error.popup-validation-error, :root:root .crm-workspace input[aria-invalid="true"][aria-invalid="true"], :root:root .crm-workspace select[aria-invalid="true"][aria-invalid="true"], :root:root .crm-workspace textarea[aria-invalid="true"][aria-invalid="true"], :root:root .login-page input.input-validation-error.input-validation-error, :root:root .login-page select.input-validation-error.input-validation-error, :root:root .login-page textarea.input-validation-error.input-validation-error, :root:root .login-page input[aria-invalid="true"][aria-invalid="true"], :root:root .login-page select[aria-invalid="true"][aria-invalid="true"], :root:root .login-page textarea[aria-invalid="true"][aria-invalid="true"], :root:root .crm-workspace .validation-border-error.validation-border-error, :root:root .login-page .validation-border-error.validation-border-error, :root:root .crm-workspace .inventory-field:has(.field-validation-error) > input, :root:root .crm-workspace .inventory-field:has(.field-validation-error) > select, :root:root .crm-workspace .inventory-field:has(.field-validation-error) > textarea, :root:root .crm-workspace .inventory-field:has(.field-validation-error) > .money-input, :root:root .crm-workspace .inventory-field:has(.field-validation-error) > .contact-page-phone, :root:root .crm-workspace .inventory-field:has(.field-validation-error) > .address-phone-group, :root:root .login-page .form-group:has(.field-validation-error) .input-group, :root:root .login-page .module-selection:has(.field-validation-error) { background-color: #484545 !important; }
  :root:root .crm-workspace select.input-validation-error.input-validation-error + .select2-container .select2-selection, :root:root .crm-workspace select.popup-validation-error.popup-validation-error + .select2-container .select2-selection, :root:root .login-page select.input-validation-error.input-validation-error + .select2-container .select2-selection, :root:root .crm-workspace .inventory-field:has(.field-validation-error) .select2-selection, :root:root .login-page .form-group:has(.field-validation-error) .select2-selection, :root:root .crm-workspace .inventory-field .contact-page-phone > input.input-validation-error, :root:root .crm-workspace .inventory-field:has(.field-validation-error) .contact-page-phone > input, :root:root .crm-workspace .inventory-field .contact-page-phone.validation-border-error > input, :root:root .crm-workspace .party-modal .inventory-field .address-phone-group > input.popup-validation-error, :root:root .crm-workspace .party-modal .inventory-field .address-phone-group.validation-border-error > input { border: 0 !important; outline: 0 !important; background-color: transparent !important; box-shadow: none !important; }
  :root:root select.input-validation-error, :root:root select.popup-validation-error, :root:root select[aria-invalid="true"] { border-radius: 11px !important; background-clip: padding-box !important; }
  :root:root .select2-container .select2-selection.input-validation-error, :root:root select.input-validation-error + .select2-container .select2-selection, :root:root select.popup-validation-error + .select2-container .select2-selection, :root:root select[aria-invalid="true"] + .select2-container .select2-selection, :root:root .inventory-field:has(.field-validation-error) .select2-selection, :root:root .form-group:has(.field-validation-error) .select2-selection { border-radius: 11px !important; background-clip: padding-box !important; }
  :root:root .login-page .input-group.validation-border-error, :root:root .login-page .input-group:has(select.input-validation-error), :root:root .login-page .form-group:has(.field-validation-error) .input-group { border-radius: 14px !important; background-clip: padding-box !important; box-shadow: none !important; }
  :root:root .login-page .input-group select.input-validation-error, :root:root .login-page .input-group select[aria-invalid="true"], :root:root .login-page .input-group .select2-selection { border-radius: 12px !important; }
  :root:root .login-page .input-group.validation-border-error .select2-selection, :root:root .login-page .input-group:has(select.input-validation-error) .select2-selection, :root:root .login-page .input-group:has(select[aria-invalid="true"]) .select2-selection, :root:root .login-page .form-group:has(.field-validation-error) .input-group .select2-selection { border-color: transparent !important; box-shadow: none !important; }
  :root:root .login-page .input-group:has(select.input-validation-error) > select, :root:root .login-page .input-group:has(select[aria-invalid="true"]) > select, :root:root .login-page .form-group:has(.field-validation-error) .input-group > select { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
  :root:root .input-group:has(.input-validation-error) i, :root:root .input-group:has([aria-invalid="true"]) i, :root:root .input-group.validation-border-error i, :root:root .form-group:has(.field-validation-error) .input-group i, :root:root .inventory-field:has(.field-validation-error) i, :root:root .money-input:has(.input-validation-error) > span, :root:root .money-input.validation-border-error > span, :root:root .contact-page-phone:has(.input-validation-error) .address-country-prefix, :root:root .contact-page-phone.validation-border-error .address-country-prefix, :root:root .address-phone-group:has(.input-validation-error) .address-country-prefix, :root:root .address-phone-group:has(.popup-validation-error) .address-country-prefix, :root:root .address-phone-group.validation-border-error .address-country-prefix { color: #db8b81 !important; }
  :root:root .input-group:has(.input-validation-error) svg, :root:root .input-group:has([aria-invalid="true"]) svg, :root:root .input-group.validation-border-error svg, :root:root .form-group:has(.field-validation-error) .input-group svg { fill: #dc2626 !important; stroke: #dc2626 !important; }
  :root:root select.input-validation-error + .select2-container .select2-selection__arrow b, :root:root select.popup-validation-error + .select2-container .select2-selection__arrow b, :root:root select[aria-invalid="true"] + .select2-container .select2-selection__arrow b, :root:root .inventory-field:has(.field-validation-error) .select2-selection__arrow b, :root:root .form-group:has(.field-validation-error) .select2-selection__arrow b { border-top-color: #dc2626 !important; border-bottom-color: #dc2626 !important; }
  :root:root .crm-workspace select.input-validation-error + .select2-container--default .select2-selection--single, :root:root .crm-workspace select.popup-validation-error + .select2-container--default .select2-selection--single, :root:root .crm-workspace select[aria-invalid="true"] + .select2-container--default .select2-selection--single, :root:root .crm-workspace .select2-container--default.input-validation-error .select2-selection--single, :root:root .crm-workspace .inventory-field:has(> select.input-validation-error) > .select2-container--default .select2-selection--single, :root:root .crm-workspace .inventory-field:has(> select[aria-invalid="true"]) > .select2-container--default .select2-selection--single, :root:root .crm-workspace .inventory-field:has(> .field-validation-error) > .select2-container--default .select2-selection--single { border: var(--crm-control-border-width, 1px) solid #dc2626 !important; border-radius: var(--crm-control-radius, 12px) !important; background-color: #484545 !important; background-clip: padding-box !important; box-shadow: none !important; }
  :root:root .crm-workspace select.input-validation-error + .select2-container--default .select2-selection--multiple, :root:root .crm-workspace select.popup-validation-error + .select2-container--default .select2-selection--multiple, :root:root .crm-workspace select[aria-invalid="true"] + .select2-container--default .select2-selection--multiple, :root:root .crm-workspace .select2-container--default.input-validation-error .select2-selection--multiple, :root:root .crm-workspace .inventory-field:has(> select.input-validation-error) > .select2-container--default .select2-selection--multiple, :root:root .crm-workspace .inventory-field:has(> select[aria-invalid="true"]) > .select2-container--default .select2-selection--multiple, :root:root .crm-workspace .inventory-field:has(> .field-validation-error) > .select2-container--default .select2-selection--multiple { border: var(--crm-control-border-width, 1px) solid #dc2626 !important; border-radius: var(--crm-control-radius, 12px) !important; background-color: #484545 !important; background-clip: padding-box !important; box-shadow: none !important; }
  :root:root .crm-workspace .party-modal .inventory-field:has(select.popup-validation-error) .select2-container--default .select2-selection--single, :root:root .crm-workspace .party-modal .inventory-field:has(select[aria-invalid="true"]) .select2-container--default .select2-selection--single, :root:root .crm-workspace .party-modal .select2-container--default:has(+ select.popup-validation-error) .select2-selection--single { border: var(--crm-control-border-width, 1px) solid #dc2626 !important; border-radius: var(--crm-control-radius, 12px) !important; background-color: #484545 !important; background-clip: padding-box !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, .12) !important; }
  :root:root .crm-workspace .party-modal .address-phone-group:has(> input.popup-validation-error), :root:root .crm-workspace .party-modal .address-phone-group:has(> input[aria-invalid="true"]), :root:root .crm-workspace .party-modal .contact-page-phone:has(> input.popup-validation-error), :root:root .crm-workspace .party-modal .contact-page-phone:has(> input[aria-invalid="true"]) { border: var(--crm-control-border-width, 1px) solid #dc2626 !important; border-radius: var(--crm-control-radius, 12px) !important; background-color: #484545 !important; background-clip: padding-box !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, .12) !important; }
  :root:root .crm-workspace .party-modal .address-phone-group:has(> input.popup-validation-error) > input, :root:root .crm-workspace .party-modal .address-phone-group:has(> input[aria-invalid="true"]) > input, :root:root .crm-workspace .party-modal .contact-page-phone:has(> input.popup-validation-error) > input, :root:root .crm-workspace .party-modal .contact-page-phone:has(> input[aria-invalid="true"]) > input { border: 0 !important; outline: 0 !important; background-color: transparent !important; box-shadow: none !important; }
  :root:root .crm-workspace .party-modal .address-phone-group:has(> input.popup-validation-error) .address-country-prefix i, :root:root .crm-workspace .party-modal .address-phone-group:has(> input[aria-invalid="true"]) .address-country-prefix i, :root:root .crm-workspace .party-modal .contact-page-phone:has(> input.popup-validation-error) .address-country-prefix i, :root:root .crm-workspace .party-modal .contact-page-phone:has(> input[aria-invalid="true"]) .address-country-prefix i { color: #db8b81 !important; }
  :root:root .crm-workspace .party-modal .address-phone-group:has(> input.popup-validation-error) .address-country-prefix svg, :root:root .crm-workspace .party-modal .address-phone-group:has(> input[aria-invalid="true"]) .address-country-prefix svg, :root:root .crm-workspace .party-modal .contact-page-phone:has(> input.popup-validation-error) .address-country-prefix svg, :root:root .crm-workspace .party-modal .contact-page-phone:has(> input[aria-invalid="true"]) .address-country-prefix svg { color: #db8b81 !important; fill: #dc2626 !important; }
  :root:root .crm-workspace .quick-entity-dialog input.popup-validation-error, :root:root .crm-workspace .quick-entity-dialog select.popup-validation-error, :root:root .crm-workspace .quick-entity-dialog textarea.popup-validation-error, :root:root .crm-workspace .quick-entity-dialog input[aria-invalid="true"], :root:root .crm-workspace .quick-entity-dialog select[aria-invalid="true"], :root:root .crm-workspace .quick-entity-dialog textarea[aria-invalid="true"], :root:root .crm-workspace .quick-entity-dialog .select2-selection.popup-validation-error { border: var(--crm-control-border-width, 1px) solid #dc2626 !important; border-radius: var(--crm-control-radius, 12px) !important; background-color: #484545 !important; background-clip: padding-box !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, .12) !important; }
  :root:root .crm-workspace .quick-entity-dialog select.popup-validation-error + .select2-container--default .select2-selection--single, :root:root .crm-workspace .quick-entity-dialog select[aria-invalid="true"] + .select2-container--default .select2-selection--single, :root:root .crm-workspace .quick-entity-dialog label:has(> select.popup-validation-error) .select2-selection--single, :root:root .crm-workspace .quick-entity-dialog label:has(> span > select.popup-validation-error) .select2-selection--single { border: var(--crm-control-border-width, 1px) solid #dc2626 !important; border-radius: var(--crm-control-radius, 12px) !important; background-color: #484545 !important; background-clip: padding-box !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, .12) !important; }
  :root:root .crm-workspace .quick-entity-dialog select.popup-validation-error + .select2-container .select2-selection__arrow b, :root:root .crm-workspace .quick-entity-dialog select[aria-invalid="true"] + .select2-container .select2-selection__arrow b, :root:root .crm-workspace .quick-entity-dialog label:has(select.popup-validation-error) .select2-selection__arrow b { border-top-color: #dc2626 !important; border-bottom-color: #dc2626 !important; }
  /* ---- popup-theme.css ---- */
  :root .quick-entity-dialog, :root .crm-workspace .quick-entity-dialog, :root .party-modal__dialog, :root .crm-workspace .party-modal__dialog { border: 2px solid #1e3a8a !important; border-radius: 12px !important; background: #3c3d3f !important; box-shadow: 0 18px 40px rgba(0, 0, 0, .28), 0 0 8px rgba(30, 58, 138, .18) !important; }
  :root .quick-entity-dialog[open] { background: #132c68 !important; background-clip: border-box !important; }
  :root .quick-entity-dialog::backdrop { background: rgba(0, 0, 0, .45) !important; }
  :root .quick-entity-dialog[open] > form { border-radius: 10px !important; background: #3c3d3f !important; }
  :root .quick-entity-dialog header, :root .quick-entity-dialog[open] > form > header, :root .party-modal__header { border-bottom: 2px solid #79d4ff !important; border-radius: 10px 10px 0 0 !important; background: linear-gradient(180deg, #132c68, #07132b) !important; color: #fff !important; }
  :root .quick-entity-dialog header button, :root .party-modal__header button { border: 0 !important; border-radius: 8px !important; background: transparent !important; color: #fff !important; }
  :root .quick-entity-dialog header h2, :root .party-modal__header h2 { color: #fff !important; }
  :root .quick-entity-dialog header button:hover, :root .party-modal__header button:hover { background: rgba(255, 255, 255, .12) !important; color: #79d4ff !important; }
  :root .quick-entity-body, :root .party-modal__body { background: #3c3d3f !important; }
  :root .quick-entity-dialog footer, :root .quick-entity-dialog[open] > form > footer, :root .party-modal__footer { border-top: 1px solid var(--crm-footer-divider, #5f6368) !important; border-radius: 0 0 10px 10px !important; background: #353638 !important; box-shadow: none !important; }
  :root .party-modal { background: rgba(0, 0, 0, .45) !important; }
  :root .select2-container .select2-selection__choice.is-record-link .select2-selection__choice__display, :root .select2-container .select2-selection__rendered.is-record-link { color: #90aff0; }
  :root .record-link-modal .record-link-frame { border: 0; border-radius: 0 0 10px 10px; background: #3c3d3f; }
  html.is-record-dialog:root { --record-dialog-section-gap: 12px; }
  html.is-record-dialog:root, html.is-record-dialog:root body { background: #3c3d3f !important; }
  html.is-record-dialog:root .crm-shell .crm-workspace { background: #3c3d3f !important; }
  html.is-record-dialog:root .crm-shell .crm-workspace .crm-content { background: #3c3d3f !important; }
  html.is-record-dialog:root .crm-content > .inventory-page { background: #3c3d3f !important; }
  html.is-record-dialog:root .inventory-page > .inventory-heading { background: transparent !important; border: 0 !important; box-shadow: none !important; }
  html.is-record-dialog:root .inventory-page > .inventory-heading *:not(.iv-btn):not(.iv-btn *):not(.ownership-owner):not(.ownership-owner *) { background-color: transparent; }
  html.is-record-dialog:root .crm-content > .ownership-bar { background: transparent !important; }
  html.is-record-dialog:root .inventory-page-scroll, html.is-record-dialog:root .inventory-form-scroll { background: #3c3d3f !important; }
  :root .serial-record-page .serial-link-field { border: 1px solid #1e3a8a; border-radius: var(--crm-control-radius); background: #38393b; color: #90aff0; }
  :root .serial-record-page .serial-link-field small { color: #a6b6cd; }
  html.is-record-dialog:root .crm-shell .crm-workspace .record-action-footer { border: 0 !important; border-top: 1px solid var(--crm-footer-divider, #5f6368) !important; border-radius: 0 !important; background: #353638 !important; box-shadow: none !important; }
  html.is-record-dialog:root .crm-shell .crm-workspace .inventory-page:has(> .form-tabs-frame) > .record-action-footer, :root :is(.party-modal__body,.quick-entity-dialog) .inventory-page:has(> .form-tabs-frame) > .record-action-footer { border: 1px solid #666c72 !important; border-radius: 0 0 10px 10px !important; }
  /* ---- buttons.css ---- */
  :root:root { --crm-action-height: var(--crm-control-height); --crm-footer-min-height: 36px; --crm-action-width: 132px; --crm-message-action-width: 72px; --crm-action-radius: 12px; --crm-action-font-family: "Inter", sans-serif; --crm-action-font-size: 10.5px; --crm-action-font-weight: 600; --crm-action-gap: 5px; --crm-action-icon-size: 11px; --crm-action-padding: 6px; --crm-action-group-gap: 7px; --crm-outline: #64748b; --crm-footer-divider: #64748b; }
  :root :is(.crm-workspace, .wheel-time-actions) .iv-btn, :root .crm-workspace .section-add-button, :root .crm-workspace .add-bill-line, :root .crm-workspace .inventory-clear, :root .crm-workspace .company-logo-upload-button, :root .quick-entity-dialog footer .iv-btn, :root .party-modal__footer .iv-btn, :root .bfc-message-footer .bfc-btn { border-radius: var(--crm-action-radius) !important; }
  :root :is(.crm-workspace, .wheel-time-actions) .iv-btn-primary, :root .login-page .login-card .btn-login, :root .crm-workspace .inventory-clear, :root .crm-workspace .company-logo-upload-button, :root .quick-entity-dialog footer .iv-btn-primary, :root .party-modal__footer .iv-btn-primary, :root .bfc-message-footer .bfc-btn:not(.secondary) { border: 1px solid var(--crm-control-border-color, #475569) !important; background: linear-gradient(180deg, #172f68, #081841) !important; color: #fff !important; box-shadow: 0 3px 8px rgba(7, 19, 43, .16), inset 0 1px 1px rgba(255, 255, 255, .08) !important; }
  :root :is(.crm-workspace, .wheel-time-actions) .iv-btn-secondary, :root :is(.crm-workspace, .wheel-time-actions) .iv-btn-outline, :root .login-page .login-card .btn-google, :root .login-page .login-card .btn-register, :root .crm-workspace .section-add-button, :root .crm-workspace .add-bill-line, :root .quick-entity-dialog footer .iv-btn-secondary, :root .party-modal__footer .iv-btn-secondary, :root .bfc-message-footer .bfc-btn.secondary { border: 1px solid var(--crm-control-border-color, #475569) !important; background: #38393b !important; color: #a4bdf6 !important; box-shadow: 0 2px 8px rgba(15, 23, 42, .04) !important; }
  :root :is(.crm-workspace, .wheel-time-actions) .iv-btn-danger { border: 1px solid #b91c1c !important; background: linear-gradient(180deg, #2f0405 0%, #dc2626 52%, #b91c1c 100%) !important; color: #fff !important; box-shadow: 0 3px 8px rgba(7, 19, 43, .16), inset 0 1px 1px rgba(255, 255, 255, .08) !important; }
  :root :is(.crm-workspace, .wheel-time-actions) .iv-btn-success { border: 1px solid #3f4b22 !important; background: linear-gradient(180deg, #6b8e23 0%, #556b2f 52%, #3f4b22 100%) !important; color: #fff !important; }
  :root :is(.crm-workspace, .wheel-time-actions) .iv-btn::before, :root .crm-workspace .inventory-clear::before, :root .crm-workspace .section-add-button::before, :root .crm-workspace .add-bill-line::before, :root .quick-entity-dialog footer .iv-btn::before, :root .party-modal__footer .iv-btn::before, :root .bfc-message-footer .bfc-btn::before { border-radius: 12px 12px 100px 100px !important; background: linear-gradient(rgba(76, 76, 76, 0.22), rgba(255, 255, 255, 0)) !important; }
  :root :is(.crm-workspace, .wheel-time-actions) .iv-btn-danger::before, :root :is(.crm-workspace, .wheel-time-actions) .iv-btn-primary::before, :root .crm-workspace .inventory-clear::before, :root .crm-workspace .company-logo-upload-button::before, :root .crm-shell .crm-workspace .inventory-page:not(.inventory-form-page) > .inventory-heading > .iv-btn::before, :root .crm-shell .crm-workspace .inventory-empty > .iv-btn::before, :root .quick-entity-dialog footer .iv-btn-primary::before, :root .party-modal__footer .iv-btn-primary::before, :root .bfc-message-footer .bfc-btn:not(.secondary)::before { background: linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, 0)) !important; }
  :root .crm-workspace .party-page-btn::after, :root :is(.crm-workspace, .wheel-time-actions) .iv-btn::after, :root .crm-workspace .inventory-clear::after, :root .crm-workspace .section-add-button::after, :root .crm-workspace .add-bill-line::after, :root .quick-entity-dialog footer .iv-btn::after, :root .party-modal__footer .iv-btn::after, :root .bfc-message-footer .bfc-btn::after { background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .05) 30%, rgba(76, 76, 76, 0.45) 50%, rgba(255, 255, 255, .05) 70%, transparent 100%) !important; }
  :root :is(.crm-workspace, .wheel-time-actions) .iv-btn:hover:not(:disabled):not([aria-disabled="true"]), :root .login-page .login-card .btn-login:hover:not(:disabled):not([aria-disabled="true"]), :root .login-page .login-card .btn-google:hover:not(:disabled):not([aria-disabled="true"]), :root .login-page .login-card .btn-register:hover:not(:disabled):not([aria-disabled="true"]), :root .crm-workspace .inventory-clear:hover:not(:disabled):not([aria-disabled="true"]), :root .crm-workspace .section-add-button:hover:not(:disabled):not([aria-disabled="true"]), :root .crm-workspace .add-bill-line:hover:not(:disabled):not([aria-disabled="true"]), :root .quick-entity-dialog footer .iv-btn:hover:not(:disabled):not([aria-disabled="true"]), :root .party-modal__footer .iv-btn:hover:not(:disabled):not([aria-disabled="true"]), :root .bfc-message-footer .bfc-btn:hover:not(:disabled):not([aria-disabled="true"]) { border-color: #8adfff !important; box-shadow: 0 0 0 4px rgba(121, 212, 255, .30),
        0 0 10px rgba(121, 212, 255, .35),
        0 4px 10px rgba(15, 23, 42, .16) !important; }
  :root .quick-entity-dialog footer { border-top: 1px solid #5d6168 !important; background: #424445 !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85); }
  :root .crm-workspace .inventory-heading > .iv-btn, :root .crm-workspace .form-section-heading > .iv-btn, :root .crm-workspace .form-section-heading > .add-bill-line, :root .crm-workspace .section-grid-tools .section-add-button { border-radius: 10px !important; }
  :root .crm-shell .crm-workspace .inventory-page:not(.inventory-form-page) > .inventory-heading > .iv-btn, :root .crm-shell .crm-workspace .inventory-empty > .iv-btn, :root .crm-shell .crm-workspace .inventory-empty > a.iv-btn, :root .crm-shell .crm-workspace .inventory-empty > button.iv-btn { border: 1px solid var(--crm-control-border-color, #475569) !important; border-radius: 10px !important; background: linear-gradient(180deg, #172f68, #081841) !important; color: #fff !important; box-shadow: 0 3px 8px rgba(7, 19, 43, .16), inset 0 1px 1px rgba(255, 255, 255, .08) !important; }
  :root .crm-shell .crm-workspace .inventory-page:not(.inventory-form-page) > .inventory-heading > .iv-btn:hover:not(:disabled):not([aria-disabled="true"]), :root .crm-shell .crm-workspace .inventory-empty > .iv-btn:hover:not(:disabled):not([aria-disabled="true"]) { border-color: #8adfff !important; color: #fff !important; }
  :root .crm-workspace .record-action-footer .iv-btn:disabled { color: #a6b6cd !important; background: #323437 !important; border-color: #686e77 !important; box-shadow: none !important; }
  :root :is(.crm-shell .crm-workspace .inventory-form-page .record-action-footer,
    .crm-shell .crm-workspace, .login-page .login-card,
    .quick-entity-dialog, .party-modal__footer, .bfc-message-footer,
    .print-toolbar, .error-card)
:is(.iv-btn, .inventory-clear, .section-add-button, .add-bill-line,
    .company-logo-upload-button, .bfc-btn, .document-print-action) { border-width: 1px !important; border-style: solid !important; border-radius: var(--crm-action-radius) !important; }
  :root :is(.crm-shell .crm-workspace .inventory-form-page .record-action-footer,
    .crm-shell .crm-workspace, .login-page .login-card,
    .quick-entity-dialog, .party-modal__footer, .bfc-message-footer, .print-toolbar, .error-card)
:is(.iv-btn, .inventory-clear, .section-add-button, .add-bill-line,
    .company-logo-upload-button, .bfc-btn, .document-print-action):hover:not(:disabled):not([aria-disabled="true"]) { box-shadow: 0 0 0 2px rgba(121, 212, 255, .24), 0 3px 8px rgba(7, 19, 43, .18) !important; }
  :root .crm-workspace .form-tabs .form-tab-add:not(:disabled):not([aria-disabled="true"]), :root .crm-workspace .form-section-heading .section-add-button:not(:disabled):not([aria-disabled="true"]), :root .crm-workspace .form-section-heading .add-bill-line:not(:disabled):not([aria-disabled="true"]), :root .crm-workspace .form-section-heading > .iv-btn:not(:disabled):not([aria-disabled="true"]), :root .crm-workspace .form-section-heading .section-grid-tools .iv-btn:not(:disabled):not([aria-disabled="true"]) { border-radius: 8px !important; border: 1px solid #5f656d !important; background: linear-gradient(180deg, #444749 0%, #363d41 48%, #202e37 52%, #2d373d 100%) !important; color: #a4bdf6 !important; box-shadow: inset 0 1px 0 #fff, inset 0 -1px 2px rgba(104,157,195,.3), 0 2px 5px rgba(2,8,30,.25) !important; }
  :root .crm-workspace .form-tabs .form-tab-add:hover:not(:disabled):not([aria-disabled="true"]), :root .crm-workspace .form-section-heading .section-add-button:hover:not(:disabled):not([aria-disabled="true"]), :root .crm-workspace .form-section-heading .add-bill-line:hover:not(:disabled):not([aria-disabled="true"]), :root .crm-workspace .form-section-heading > .iv-btn:hover:not(:disabled):not([aria-disabled="true"]), :root .crm-workspace .form-section-heading .section-grid-tools .iv-btn:hover:not(:disabled):not([aria-disabled="true"]) { box-shadow: 0 7px 14px rgba(2, 8, 30, .5), inset 0 -2px 3px rgba(185, 198, 216, .55) !important; }
  :root .crm-workspace .form-tabs .form-tab-add:active:not(:disabled):not([aria-disabled="true"]), :root .crm-workspace .form-section-heading .section-add-button:active:not(:disabled):not([aria-disabled="true"]), :root .crm-workspace .form-section-heading .add-bill-line:active:not(:disabled):not([aria-disabled="true"]), :root .crm-workspace .form-section-heading > .iv-btn:active:not(:disabled):not([aria-disabled="true"]), :root .crm-workspace .form-section-heading .section-grid-tools .iv-btn:active:not(:disabled):not([aria-disabled="true"]) { box-shadow: 0 1px 3px rgba(2, 8, 30, .45), inset 0 2px 4px rgba(185, 198, 216, .8) !important; }
  :root .crm-workspace .form-tabs .form-tab-add i, :root .crm-workspace .form-section-heading .section-add-button i, :root .crm-workspace .form-section-heading .add-bill-line i, :root .crm-workspace .form-section-heading > .iv-btn i, :root .crm-workspace .form-section-heading .section-grid-tools .iv-btn i { color: #a4bdf6 !important; }
  :root .crm-workspace .form-section-heading .section-grid-search { border-radius: 8px !important; }
  :root .party-modal__footer, :root .quick-entity-dialog footer, :root .quick-entity-dialog[open] > form > footer, :root .bfc-message-footer, :root .subgrid-lookup__footer, :root .designer-explorer__footer, :root .crm-workspace .party-grid-pagination { border-top: 1px solid var(--crm-footer-divider) !important; }
  :root .crm-shell .crm-workspace .inventory-heading > .index-heading-actions > .iv-btn { border-radius: 10px !important; }
  :root .crm-shell .crm-workspace .inventory-page .inventory-heading .iv-btn:is([data-transfer-export], [data-transfer-import], [data-transfer-template]) { border-radius: var(--crm-action-radius) !important; }
  :root .crm-shell .crm-workspace .inventory-page .inventory-heading .index-transfer-toggle.iv-btn, :root .crm-workspace .index-transfer-toggle.iv-btn { border-radius: var(--crm-action-radius) !important; }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    :root :is(.crm-workspace, .wheel-time-actions) :is(.iv-btn-secondary, .iv-btn-outline, .section-add-button, .add-bill-line):not(:disabled):not([aria-disabled="true"]), :root .login-page .login-card .btn-google:not(:disabled):not([aria-disabled="true"]), :root .login-page .login-card .btn-register:not(:disabled):not([aria-disabled="true"]), :root .designer-field-popover .iv-btn-secondary:not(:disabled):not([aria-disabled="true"]), :root .quick-entity-dialog footer .iv-btn-secondary:not(:disabled):not([aria-disabled="true"]), :root .party-modal__footer .iv-btn-secondary:not(:disabled):not([aria-disabled="true"]), :root .bfc-message-footer .bfc-btn.secondary:not(:disabled):not([aria-disabled="true"]) { background: radial-gradient(ellipse at 16% 0%, rgba(76, 76, 76, 0.58), transparent 38%),
            radial-gradient(ellipse at 50% 110%, rgba(3, 45, 56, 0.32), transparent 58%),
            linear-gradient(145deg, rgba(71, 73, 74, 0.26), rgba(202,228,248,.12)) !important; color: var(--crm-glass-button-ink, #a4bdf6) !important; box-shadow: inset 0 0 0 1px rgba(235,250,255,.7), inset 0 -2px 3px rgba(190,239,255,.48), inset 0 1px 2px rgba(255,255,255,.8), 0 3px 8px rgba(15,35,62,.12) !important; }
    @media (prefers-reduced-transparency: reduce) {
      :root :is(.crm-workspace, .wheel-time-actions) :is(.iv-btn-secondary, .iv-btn-outline, .section-add-button, .add-bill-line):not(:disabled):not([aria-disabled="true"]), :root .login-page .login-card .btn-google:not(:disabled):not([aria-disabled="true"]), :root .login-page .login-card .btn-register:not(:disabled):not([aria-disabled="true"]), :root .designer-field-popover .iv-btn-secondary:not(:disabled):not([aria-disabled="true"]), :root .quick-entity-dialog footer .iv-btn-secondary:not(:disabled):not([aria-disabled="true"]), :root .party-modal__footer .iv-btn-secondary:not(:disabled):not([aria-disabled="true"]), :root .bfc-message-footer .bfc-btn.secondary:not(:disabled):not([aria-disabled="true"]) { background: #38393b !important; color: #a4bdf6 !important; }
    }
  }
  :root:root .iv-btn.iv-btn-secondary, :root:root .bfc-message-footer .bfc-btn.secondary { border: 1px solid var(--crm-control-border-color, #475569) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.38),inset 0 -1px 2px rgba(190,239,255,.2),0 2px 6px rgba(15,35,62,.1) !important; }
  /* ---- notification-glass.css ---- */
  :root:root { --crm-glass-outline: var(--crm-outline, #64748b); }
  :root:root { --crm-toast-outline: #334155; }
  :root:root .clue-toast { border: 1px solid var(--crm-toast-outline) !important; }
  :root .crm-search-panel, :root .crm-notifications-panel, :root .clue-toast, :root:root .designer-field-popover, :root:root .crm-workspace .index-transfer-menu.designer-field-popover, :root:root .dashboard-trend-popup, :root:root .crm-workspace .insight-period-custom { border-color: var(--crm-glass-outline); }
  :root:root .designer-field-popover::before, :root:root .crm-workspace .index-transfer-menu.designer-field-popover::before, :root:root .dashboard-trend-popup::after, :root:root .crm-workspace .insight-period-custom::before { border-left-color: var(--crm-glass-outline); border-top-color: var(--crm-glass-outline); }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    :root .crm-search-panel, :root .crm-notifications-panel, :root .clue-toast, :root:root .designer-field-popover, :root:root .crm-workspace .index-transfer-menu.designer-field-popover, :root:root .dashboard-trend-popup, :root:root .crm-workspace .insight-period-custom { background: radial-gradient(ellipse at 16% 0%, rgba(76, 76, 76, 0.58), transparent 38%),
            radial-gradient(ellipse at 50% 110%, rgba(3, 45, 56, 0.32), transparent 58%),
            linear-gradient(145deg, rgba(71, 73, 74, 0.26), rgba(202,228,248,.12)); border-color: var(--crm-glass-outline); box-shadow: inset 0 -3px 5px rgba(190,239,255,.48),
            inset 0 2px 4px rgba(27,59,91,.14),
            0 14px 32px rgba(15,35,62,.18); }
    :root:root .designer-field-popover::before, :root:root .crm-workspace .index-transfer-menu.designer-field-popover::before, :root:root .dashboard-trend-popup::after, :root:root .crm-workspace .insight-period-custom::before { background: rgba(54, 62, 65, 0.82); border-left-color: var(--crm-glass-outline); border-top-color: var(--crm-glass-outline); }
    :root .clue-toast::before { background: none; box-shadow: none; }
    :root .crm-search-result.active, :root .crm-search-result:focus-visible, :root .crm-notifications-list a:focus-visible { background: linear-gradient(135deg, rgba(76, 76, 76, 0.38), rgba(8, 36, 48, 0.22)); }
    @media (hover: hover) and (pointer: fine) {
      :root .crm-search-result:hover, :root .crm-notifications-list a:hover { background: linear-gradient(135deg, rgba(76, 76, 76, 0.38), rgba(8, 36, 48, 0.22)); }
    }
    @media (prefers-reduced-transparency: reduce) {
      :root .crm-search-panel, :root .crm-notifications-panel, :root .clue-toast, :root:root .designer-field-popover, :root:root .crm-workspace .index-transfer-menu.designer-field-popover, :root:root .dashboard-trend-popup, :root:root .crm-workspace .insight-period-custom { background: #3d3f41; }
      :root:root .designer-field-popover::before, :root:root .crm-workspace .index-transfer-menu.designer-field-popover::before, :root:root .dashboard-trend-popup::after, :root:root .crm-workspace .insight-period-custom::before { background: #3d3f41; }
      :root .crm-search-result:is(:hover, :focus-visible, .active), :root .crm-notifications-list a:is(:hover, :focus-visible) { background: #383b3e; }
    }
  }
  :root .crm-notifications-panel :is(.crm-notifications-header span, .crm-notifications-list span, .crm-notifications-empty, .crm-notifications-settings span), :root .crm-search-panel :is(.crm-search-result span, .crm-search-group-label, .crm-search-empty, .crm-search-tab:not(.active)), :root .clue-toast-copy span { color: #becce4; }
  :root .crm-search-panel .crm-search-tab.active span { color: inherit; }
  :root:root :is(.designer-field-popover,.index-transfer-menu,.dashboard-trend-popup,.crm-notifications-panel,.crm-search-panel,.clue-toast)
:is(small,.text-muted,.customization-hint,.form-text,.designer-field-popover__caption,.designer-lookup-settings > label:not(.designer-lookup-allow)) { color: #afc0d9; }
  :root .crm-notifications-panel .crm-notifications-header span { border-radius: 999px; border: 1px solid #9a6512; background: linear-gradient(180deg,#433c21 0%,#3d2f06 48%,#2b1c00 52%,#362600 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.85),0 1px 3px rgba(146,90,15,.18); color: #e4aa7f; }
  :root .crm-search-panel, :root .crm-notifications-panel { --crm-glass-divider: rgba(91,116,147,.55); }
  :root .crm-notifications-header { border-bottom-color: var(--crm-glass-divider); }
  :root .crm-notifications-list li + li, :root .crm-notifications-settings, :root .crm-search-tabs, :root .crm-search-group + .crm-search-group, :root .crm-search-tabs[hidden] + .crm-search-results:not(:empty) { border-top-color: var(--crm-glass-divider); }
  :root .crm-search-result + .crm-search-result::before { background: var(--crm-glass-divider); }
  :root:root .designer-field-popover :is(.designer-field-popover__caption, .designer-subgrid-popover__options small) { color: #becce4; }
  :root:root .designer-field-popover, :root:root .crm-workspace .index-transfer-menu.designer-field-popover, :root:root .dashboard-trend-popup { background: radial-gradient(ellipse at 16% 0%,rgba(76, 76, 76, 0.58),transparent 38%),
        radial-gradient(ellipse at 50% 110%,rgba(3, 45, 56, 0.32),transparent 58%),
        linear-gradient(145deg,rgba(71, 73, 74, 0.26),rgba(202,228,248,.12)); }
  :root:root .designer-field-popover::before, :root:root .crm-workspace .index-transfer-menu.designer-field-popover::before, :root:root .dashboard-trend-popup::after, :root:root .crm-workspace .insight-period-custom::before { background: rgba(54, 62, 65, 0.82); }
  @media (prefers-reduced-transparency: reduce) {
    :root:root .dashboard-trend-popup, :root:root .designer-field-popover, :root:root .crm-workspace .index-transfer-menu.designer-field-popover, :root:root .designer-field-popover::before, :root:root .crm-workspace .index-transfer-menu.designer-field-popover::before, :root:root .dashboard-trend-popup::after, :root:root .crm-workspace .insight-period-custom::before { background: #3d3f41; }
  }
  :root:root :is(.select2-dropdown,.phone-country-menu,.challan-address-options,.calendar-panel,.wheel-time-panel,.custom-field-datetime-panel) { background: radial-gradient(ellipse at 16% 0%,rgba(76, 76, 76, 0.58),transparent 38%),
        radial-gradient(ellipse at 50% 110%,rgba(3, 45, 56, 0.32),transparent 58%),
        linear-gradient(145deg,rgba(71, 73, 74, 0.26),rgba(202,228,248,.12)); border-width: 1px !important; border-style: solid !important; border-color: var(--crm-glass-outline) !important; box-shadow: inset 0 -3px 5px rgba(190,239,255,.48),inset 0 2px 4px rgba(27,59,91,.14),0 14px 32px rgba(15,35,62,.18); color: #afc8ea; }
  :root:root .select2-dropdown :is(.select2-search--dropdown,.select2-results,.select2-results__options) { background: transparent; }
  :root:root .select2-dropdown .select2-search--dropdown { border-bottom-color: var(--crm-glass-outline); }
  :root:root .select2-dropdown .select2-search__field { background: rgba(72, 74, 74, 0.97); color: #b6cafd; }
  :root:root .select2-dropdown .select2-search__field::placeholder { color: #9bb0cc; }
  :root:root .select2-dropdown .select2-results__option:not(.select2-results__option--selected):not(.select2-results__option--highlighted):not([aria-selected="true"]):not(.select2-results__option--disabled):not([aria-disabled="true"]) { background: transparent; color: #afc8ea; }
  :root:root .select2-dropdown .select2-results__group { color: #a2c7f9; }
  :root:root .select2-dropdown :is(.select2-results__option--disabled,[aria-disabled="true"]) { color: #98a8bf; }
  :root:root .select2-dropdown .select2-results__message { color: #a1bdde; }
  :root:root .select2-dropdown .lookup-dropdown-footer { background: linear-gradient(180deg,rgba(67, 70, 72, 0.98),rgba(45, 53, 59, 0.98)); border-top-color: #60686f; }
  :root:root .select2-dropdown .lookup-dropdown-footer button { color: #a4bdf6; }
  @media(prefers-reduced-transparency:reduce) {
    :root:root :is(.select2-dropdown,.phone-country-menu,.challan-address-options,.calendar-panel,.wheel-time-panel,.custom-field-datetime-panel) { background: #3d3f41; }
  }
  :root:root :is(.phone-country-search,.challan-address-options .picker-search input) { background: rgba(72, 74, 74, 0.97); color: #b6cafd; }
  :root:root :is(.phone-country-list,.challan-address-options .picker-search) { background: transparent; border-top-color: #5d646b; border-bottom-color: #5d646b; }
  :root:root :is(.phone-country-option,.challan-address-options > button) { color: #afc8ea; }
  :root:root .phone-country-option small { color: #9bb0cc; }
  :root:root .phone-country-option:is(:hover,:focus-visible) { background: var(--crm-gloss-hover); box-shadow: var(--crm-gloss-hover-shadow); color: var(--crm-gloss-text); outline: none; }
  :root:root .phone-country-option[aria-selected="true"] { background: var(--crm-gloss-selected); box-shadow: var(--crm-gloss-selected-shadow); color: var(--crm-gloss-selected-text); }
  :root:root .phone-country-option:is(:hover,:focus-visible,[aria-selected="true"]) small { color: inherit; }
  :root:root .challan-address-options > button:is(:hover,:focus-visible) { background: var(--crm-gloss-hover); box-shadow: var(--crm-gloss-hover-shadow); color: var(--crm-gloss-text); outline: none; }
  :root:root .challan-address-options > button[aria-pressed="true"], :root:root .challan-address-options > button[aria-pressed="true"]:is(:hover,:focus-visible) { background: var(--crm-gloss-selected); box-shadow: var(--crm-gloss-selected-shadow); color: var(--crm-gloss-selected-text); text-shadow: 0 1px 1px rgba(0,0,0,.35); }
  :root:root :is(.phone-country-empty,.challan-address-options .picker-no-results) { color: #a1bdde; }
  :root:root .challan-address-options .picker-add-new-footer { background: linear-gradient(180deg,rgba(67, 70, 72, 0.98),rgba(45, 53, 59, 0.98)); border-top-color: #60686f; }
  :root:root :is(.calendar-panel,.wheel-time-panel,.custom-field-datetime-panel) :is(.calendar-body,.custom-field-datetime-panel-body,.custom-field-datetime-panel-time-col,.wheel-time-columns,.wheel-col) { background: transparent; }
  :root:root :is(.calendar-panel,.custom-field-datetime-panel) .calendar-day:not(.calendar-day--selected):not(.calendar-day--muted):not(:hover):not(:focus-visible) { color: #afc8ea; }
  :root:root :is(.calendar-panel,.custom-field-datetime-panel) .calendar-day--muted:not(.calendar-day--selected):not(:hover):not(:focus-visible) { color: #98a8bf; }
  :root:root :is(.calendar-panel,.custom-field-datetime-panel) .calendar-weekdays { color: #9bb0cc; }
  :root:root :is(.wheel-time-panel,.custom-field-datetime-panel) .wheel-col li { color: #9bb0cc; }
  :root:root :is(.wheel-time-panel,.custom-field-datetime-panel) .wheel-col li.is-centered { color: var(--crm-gloss-selected-text,#f5fbff); text-shadow: 0 1px 1px rgba(0,0,0,.35); }
  :root:root :is(.wheel-time-panel,.custom-field-datetime-panel) .wheel-time-columns::before { background: linear-gradient(to bottom,rgba(63, 67, 69, 0.96) 15%,rgba(237,247,254,0)); }
  :root:root :is(.wheel-time-panel,.custom-field-datetime-panel) .wheel-time-columns::after { background: linear-gradient(to top,rgba(46, 53, 59, 0.96) 15%,rgba(215,235,250,0)); }
  :root:root :is(.wheel-time-panel,.custom-field-datetime-panel) .wheel-time-actions { border-top-color: #60686f; }
  :root:root .custom-field-datetime-panel-divider { background: #0f171e; }
  :root:root :is(.select2-dropdown .select2-search__field,.phone-country-search,.challan-address-options .picker-search input) { border-radius: 8px !important; }
  :root:root :is(.phone-country-search,.challan-address-options .picker-search input)::placeholder { color: #9bb0cc; }
  :root:root .crm-workspace :is(.row-actions a,.row-actions button,.party-grid-action,.inventory-table .permission-configure-button,.configured-subgrid .subgrid-unlink,.configured-subgrid .subgrid-edit-open,.remove-bill-line,.custom-field-choice-row .iv-delete-icon,.inventory-table .remove-contact,.designer-page .designer-section__header :is(.designer-section-edit,.designer-section-props,.iv-delete-icon),.entity-view-designer .ev-view-heading :is(.designer-section-edit,.designer-section-props)) { background: radial-gradient(ellipse at 28% 0%,rgba(76, 76, 76, 0.48),transparent 64%),linear-gradient(145deg,rgba(255,255,255,.18),rgba(191,225,245,.06)) !important; border: 1px solid rgba(137,168,191,.42) !important; border-radius: 50% !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.28),0 1px 2px rgba(15,35,62,.08) !important; color: #a3cbef !important; text-shadow: none !important; }
  :root:root .crm-workspace :is(.row-actions a,.row-actions button,.party-grid-action,.inventory-table .permission-configure-button,.configured-subgrid .subgrid-unlink,.configured-subgrid .subgrid-edit-open,.remove-bill-line,.custom-field-choice-row .iv-delete-icon,.inventory-table .remove-contact,.designer-page .designer-section__header :is(.designer-section-edit,.designer-section-props,.iv-delete-icon),.entity-view-designer .ev-view-heading :is(.designer-section-edit,.designer-section-props)) :is(i,svg) { color: inherit !important; text-shadow: none; }
  :root:root .crm-workspace :is(.row-actions a,.row-actions button,.party-grid-action,.inventory-table .permission-configure-button,.configured-subgrid .subgrid-unlink,.configured-subgrid .subgrid-edit-open,.remove-bill-line,.custom-field-choice-row .iv-delete-icon,.inventory-table .remove-contact,.designer-page .designer-section__header :is(.designer-section-edit,.designer-section-props,.iv-delete-icon),.entity-view-designer .ev-view-heading :is(.designer-section-edit,.designer-section-props)):hover:not(:disabled):not([aria-disabled="true"]) { border-color: rgba(97,155,194,.68) !important; background: radial-gradient(ellipse at 28% 0%,rgba(76, 76, 76, 0.62),transparent 64%),linear-gradient(145deg,rgba(76, 76, 76, 0.28),rgba(170,220,249,.12)) !important; }
  :root:root .crm-workspace :is(.row-actions a,.row-actions button,.party-grid-action,.inventory-table .permission-configure-button,.configured-subgrid .subgrid-unlink,.configured-subgrid .subgrid-edit-open,.remove-bill-line,.custom-field-choice-row .iv-delete-icon,.inventory-table .remove-contact,.designer-page .designer-section__header :is(.designer-section-edit,.designer-section-props,.iv-delete-icon),.entity-view-designer .ev-view-heading :is(.designer-section-edit,.designer-section-props)):focus-visible { outline: 2px solid #3977a8 !important; outline-offset: 2px; }
  :root:root .crm-workspace :is(.row-actions a,.row-actions button,.party-grid-action,.inventory-table .permission-configure-button,.configured-subgrid .subgrid-unlink,.configured-subgrid .subgrid-edit-open,.remove-bill-line,.custom-field-choice-row .iv-delete-icon,.inventory-table .remove-contact,.designer-page .designer-section__header :is(.designer-section-edit,.designer-section-props,.iv-delete-icon),.entity-view-designer .ev-view-heading :is(.designer-section-edit,.designer-section-props)):is(:disabled,[aria-disabled="true"]) { box-shadow: none !important; }
  @media(prefers-reduced-transparency:reduce) {
    :root:root .crm-workspace :is(.row-actions a,.row-actions button,.party-grid-action,.inventory-table .permission-configure-button,.configured-subgrid .subgrid-unlink,.configured-subgrid .subgrid-edit-open,.remove-bill-line,.custom-field-choice-row .iv-delete-icon,.inventory-table .remove-contact,.designer-page .designer-section__header :is(.designer-section-edit,.designer-section-props,.iv-delete-icon),.entity-view-designer .ev-view-heading :is(.designer-section-edit,.designer-section-props)) { background: #3e4244 !important; }
  }
  :root:root { --index-action-ink: #91bbf9; --index-action-rim: #6494c7; --index-action-fill: #2d353d; --index-action-glass: linear-gradient(180deg, rgba(59, 65, 69, 0.92), rgba(18, 34, 49, 0.74)); --index-action-hover-glass: linear-gradient(180deg, rgba(50, 58, 64, 0.96), rgba(3, 23, 42, 0.86)); }
  :root:root .crm-workspace .inventory-page:not(.inventory-form-page) .inventory-table :is(.row-actions a, .row-actions button, .party-grid-action, .permission-configure-button):not(.index-group-expand) { color: var(--index-action-ink) !important; border-color: var(--index-action-rim) !important; background: var(--index-action-glass) !important; }
  :root:root .crm-workspace .inventory-page:not(.inventory-form-page) .inventory-table :is(.row-actions a, .row-actions button, .party-grid-action, .permission-configure-button):not(.index-group-expand):where(:hover:not(:disabled):not([aria-disabled="true"])) { background: var(--index-action-hover-glass) !important; }
  @media (prefers-reduced-transparency: reduce) {
    :root:root .crm-workspace .inventory-page:not(.inventory-form-page) .inventory-table :is(.row-actions a, .row-actions button, .party-grid-action, .permission-configure-button):not(.index-group-expand) { background: var(--index-action-fill) !important; }
  }
  :root:root .crm-workspace .designer-page .designer-section:not(.designer-tab-editor) > .designer-section__header :is(.designer-section-edit,.designer-section-props), :root:root .crm-workspace .designer-page .form-tab-item--selected .designer-section__header :is(.designer-section-edit,.designer-section-props), :root:root .crm-workspace .entity-view-designer .ev-view-heading :is(.designer-section-edit,.designer-section-props) { color: #9edfff !important; }
  :root:root { --delete-action-ink: #f3a0a3; --delete-action-rim: #bf7080; --delete-action-fill: #372b2d; --delete-action-tint: linear-gradient(145deg, rgba(54, 30, 35, 0.62), rgba(46, 4, 17, 0.36)); --delete-action-hover-tint: linear-gradient(145deg, rgba(49, 21, 29, 0.74), rgba(46, 4, 16, 0.48)); }
  :root .crm-workspace .designer-page .designer-section__header .iv-delete-icon { --delete-action-ink: #f78090; --delete-action-rim: rgba(224,141,163,.52); --delete-action-fill: #60364b; --delete-action-tint: linear-gradient(145deg, rgba(46, 4, 18, 0.3), rgba(214,86,123,.16)); --delete-action-hover-tint: linear-gradient(145deg, rgba(46, 4, 18, 0.4), rgba(46, 4, 18, 0.24)); }
  :root:root .crm-workspace :is(
    .inventory-page:not(.inventory-form-page) .inventory-table .row-actions .iv-delete-icon,
    .iv-delete-icon,
    .configured-subgrid .subgrid-unlink,
    .remove-bill-line,
    .inventory-table .remove-contact,
    .entity-view-designer .ev-preview .inventory-table .index-group-header .row-actions button.ev-group-remove,
    .entity-view-designer .ev-preview .ev-preview-column-remove
) { color: var(--delete-action-ink) !important; border-color: var(--delete-action-rim) !important; background: radial-gradient(ellipse at 28% 0%, var(--delete-action-highlight, rgba(76, 76, 76, 0.48)), transparent 64%),
                var(--delete-action-tint) !important; }
  :root:root .crm-workspace :is(
    .inventory-page:not(.inventory-form-page) .inventory-table .row-actions .iv-delete-icon,
    .iv-delete-icon,
    .configured-subgrid .subgrid-unlink,
    .remove-bill-line,
    .inventory-table .remove-contact,
    .entity-view-designer .ev-preview .inventory-table .index-group-header .row-actions button.ev-group-remove,
    .entity-view-designer .ev-preview .ev-preview-column-remove
):where(:hover:not(:disabled):not([aria-disabled="true"])) { background: radial-gradient(ellipse at 28% 0%, var(--delete-action-hover-highlight, rgba(76, 76, 76, 0.62)), transparent 64%),
                var(--delete-action-hover-tint) !important; }
  @media (prefers-reduced-transparency: reduce) {
    :root:root .crm-workspace :is(
    .inventory-page:not(.inventory-form-page) .inventory-table .row-actions .iv-delete-icon,
    .iv-delete-icon,
    .configured-subgrid .subgrid-unlink,
    .remove-bill-line,
    .inventory-table .remove-contact,
    .entity-view-designer .ev-preview .inventory-table .index-group-header .row-actions button.ev-group-remove,
    .entity-view-designer .ev-preview .ev-preview-column-remove
) { background: var(--delete-action-fill) !important; }
  }
  :root:root .crm-workspace .inventory-table .index-group-header .row-actions button.index-group-expand { background: #ffffff !important; border-color: #3977a8 !important; color: #123f70 !important; box-shadow: 0 1px 3px rgba(18,63,112,.22),inset 0 1px 0 rgba(255,255,255,.75) !important; }
  :root:root .crm-workspace .inventory-table .index-group-header .row-actions button.index-group-expand.index-group-expand:hover:not(:disabled) { background: #d9effb !important; border-color: #0f4f87 !important; color: #082f5b !important; box-shadow: 0 0 0 2px rgba(57,119,168,.18),0 0 8px rgba(57,119,168,.30) !important; }
  :root:root .crm-workspace .inventory-table .index-group-header .row-actions button.index-group-expand:focus-visible { outline: 2px solid #3977a8; outline-offset: 2px; }
  :root:root .crm-workspace .party-page-btn { background: radial-gradient(ellipse at 28% 0%,rgba(76, 76, 76, 0.48),transparent 64%),linear-gradient(145deg,rgba(255,255,255,.18),rgba(191,225,245,.06)) !important; border-color: rgba(137,168,191,.42) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.28),0 1px 2px rgba(15,35,62,.08) !important; color: #a3cbef !important; }
  :root:root .crm-workspace .party-page-btn:hover:not(:disabled, [aria-disabled="true"], .active, [aria-current="page"]) { border-color: rgba(97,155,194,.68) !important; background: radial-gradient(ellipse at 28% 0%,rgba(76, 76, 76, 0.62),transparent 64%),linear-gradient(145deg,rgba(76, 76, 76, 0.28),rgba(170,220,249,.12)) !important; }
  :root:root .crm-workspace .party-page-btn:is(.active,[aria-current="page"]) { background: radial-gradient(ellipse at 28% 0%,rgba(255,255,255,.16),transparent 64%),linear-gradient(180deg,#172f68,#081841) !important; color: #d8f4ff !important; border-color: rgba(121,212,255,.5) !important; }
  :root:root .crm-workspace .party-page-btn:focus-visible { outline: 2px solid #3977a8; outline-offset: 2px; }
  :root:root .crm-workspace .party-page-btn:is(:disabled,[aria-disabled="true"]) { box-shadow: none !important; }
  @media(prefers-reduced-transparency:reduce) {
    :root:root .crm-workspace .party-page-btn:not(.active):not([aria-current="page"]) { background: #3e4244 !important; }
  }
  :root:root { --crm-floating-surface: radial-gradient(ellipse at 16% 0%,rgba(76, 76, 76, 0.58),transparent 38%),radial-gradient(ellipse at 50% 110%,rgba(3, 45, 56, 0.32),transparent 58%),linear-gradient(145deg,rgba(71, 73, 74, 0.26),rgba(202,228,248,.12)); }
  :root:root :is(.designer-field-popover,.index-transfer-menu,.dashboard-trend-popup,.crm-notifications-panel,.crm-search-panel,.select2-dropdown,.phone-country-menu,.challan-address-options,.calendar-panel,.wheel-time-panel,.custom-field-datetime-panel) { background: var(--crm-floating-surface); }
  @media(prefers-reduced-transparency:reduce) {
    :root:root :is(.designer-field-popover,.index-transfer-menu,.dashboard-trend-popup,.crm-notifications-panel,.crm-search-panel,.select2-dropdown,.phone-country-menu,.challan-address-options,.calendar-panel,.wheel-time-panel,.custom-field-datetime-panel) { background: #3d3f41; }
  }
  :root:root { --crm-floating-shadow: inset 0 -3px 5px rgba(190,239,255,.48), inset 0 2px 4px rgba(27,59,91,.14), 0 14px 32px rgba(15,35,62,.18); }
  :root:root .designer-field-popover, :root:root .crm-workspace .index-transfer-menu.designer-field-popover, :root:root .select2-dropdown { background: var(--crm-floating-surface); border-color: var(--crm-glass-outline); box-shadow: var(--crm-floating-shadow); }
  @media(prefers-reduced-transparency:reduce) {
    :root:root .designer-field-popover, :root:root .crm-workspace .index-transfer-menu.designer-field-popover, :root:root .select2-dropdown { background: #3d3f41; }
  }
  :root:root { --crm-selection-surface: radial-gradient(ellipse at 16% 0%,rgba(76, 76, 76, 0.58),transparent 38%), radial-gradient(ellipse at 50% 110%,rgba(3, 45, 56, 0.32),transparent 58%), linear-gradient(145deg,rgba(71, 73, 74, 0.26),rgba(202,228,248,.12)); }
  :root:root :is(.select2-dropdown,.phone-country-menu,.challan-address-options,.calendar-panel,.wheel-time-panel,.custom-field-datetime-panel) { background: var(--crm-selection-surface); }
  @media(prefers-reduced-transparency:reduce) {
    :root:root :is(.select2-dropdown,.phone-country-menu,.challan-address-options,.calendar-panel,.wheel-time-panel,.custom-field-datetime-panel) { background: #3d3f41; }
  }
  :root:root { --crm-selection-surface: radial-gradient(ellipse at 16% 0%,rgba(76, 76, 76, 0.58),transparent 38%), radial-gradient(ellipse at 50% 110%,rgba(3, 45, 56, 0.32),transparent 58%), linear-gradient(145deg,rgba(71, 73, 74, 0.26),rgba(202,228,248,.12)); }
  :root:root :is(.select2-dropdown,.phone-country-menu,.challan-address-options,.calendar-panel,.wheel-time-panel,.custom-field-datetime-panel) { background: var(--crm-selection-surface); box-shadow: inset 0 -3px 5px rgba(190,239,255,.48),inset 0 2px 4px rgba(27,59,91,.14),0 14px 32px rgba(15,35,62,.18); }
  :root:root :is(.wheel-time-panel,.custom-field-datetime-panel) .wheel-time-actions { border-top: 0; background: transparent; box-shadow: none; }
  @media(prefers-reduced-transparency:reduce) {
    :root:root :is(.select2-dropdown,.phone-country-menu,.challan-address-options,.calendar-panel,.wheel-time-panel,.custom-field-datetime-panel) { background: #3d3f41; }
  }
  :root :is(.calendar-panel,.custom-field-datetime-panel)::after { background: linear-gradient(to bottom, transparent, #373b3e 20px); }
  :root:root :is(
    .designer-field-popover,
    .dashboard-trend-popup,
    .insight-period-custom,
    .crm-search-panel,
    .crm-notifications-panel,
    .select2-dropdown,
    .phone-country-menu,
    .challan-address-options,
    .calendar-panel,
    .wheel-time-panel,
    .custom-field-datetime-panel
):not(.index-transfer-menu) { border-width: 1px !important; border-style: solid !important; border-color: var(--crm-glass-outline) !important; }
  :root:root .crm-workspace .index-transfer-menu.designer-field-popover { background: transparent; border-color: transparent; box-shadow: none; }
  :root:root .crm-workspace .index-transfer-menu.designer-field-popover { border-radius: 14px; }
  :root .index-transfer-menu__surface > path { fill: rgba(65, 68, 70, 0.32); stroke: var(--crm-glass-outline); }
  @media (prefers-reduced-transparency: reduce) {
    :root .index-transfer-menu__surface > path { fill: #3d3f41; }
  }
  :root:root .crm-search-panel, :root:root .crm-notifications-panel { border-width: 1px; box-shadow: inset 0 -3px 5px rgba(190,239,255,.48),
        inset 0 2px 4px rgba(27,59,91,.14),
        0 14px 32px rgba(15,35,62,.18); }
  :root:root .clue-toast { border-width: 1px; box-shadow: inset 0 -3px 5px rgba(190,239,255,.48),
        inset 0 2px 4px rgba(27,59,91,.14),
        0 16px 36px rgba(15,23,42,.18),
        0 0 18px rgba(52,214,255,.12); }
  /* ---- tag-palette.css ---- */
  :root:root { --crm-tag-blue-fill: #dbeafe; --crm-tag-blue-text: #1d4ed8; --crm-tag-green-fill: #dcfce7; --crm-tag-green-text: #15803d; --crm-tag-amber-fill: #fef3c7; --crm-tag-amber-text: #b45309; --crm-tag-red-fill: #fee2e2; --crm-tag-red-text: #dc2626; --crm-tag-gray-fill: #f1f5f9; --crm-tag-gray-text: #64748b; }
  :root:root :is(.stock-badge,.heading-tag,.iv-badge,.iv-badge-info,.iv-badge-success,.iv-badge-warning,.iv-badge-danger,.movement-type-badge,.email-connection-status,.entity-view-customized,.product-code-badge,.ledger-serial-count,.index-group-count,.designer-subgrid-mode-chip,.ownership-owner) { --crm-tag-top: #f7f9fc; --crm-tag-upper: #e6ebf2; --crm-tag-lower: #c8d1de; --crm-tag-bottom: #dce3ed; --crm-tag-rim: #64748b; --crm-tag-ink: #334155; }
  :root:root :is(.ownership-owner,.stock-badge.on-demo,.heading-tag.on-demo,.iv-badge-info,.product-code-badge,.ledger-serial-count,.index-group-count,.designer-subgrid-mode-chip) { --crm-tag-top: #e0f4ff; --crm-tag-upper: #b9e3fc; --crm-tag-lower: #7fc8f3; --crm-tag-bottom: #a3dbfa; --crm-tag-rim: #2f6f99; --crm-tag-ink: #123e66; }
  :root:root :is(.stock-badge.healthy,.heading-tag.healthy,.iv-badge-success,.email-connection-status.connected) { --crm-tag-top: #e4f7ce; --crm-tag-upper: #c4eaa4; --crm-tag-lower: #9ad36d; --crm-tag-bottom: #b6e28e; --crm-tag-rim: #4d7c2a; --crm-tag-ink: #31551a; }
  :root:root :is(.stock-badge.danger,.heading-tag.danger,.iv-badge-danger,.email-connection-status.failed) { --crm-tag-top: #ffe0e4; --crm-tag-upper: #ffc3cc; --crm-tag-lower: #f59ba9; --crm-tag-bottom: #ffb5c1; --crm-tag-rim: #a84a5c; --crm-tag-ink: #7f1830; }
  :root:root :is(.stock-badge.low,.heading-tag.low,.iv-badge-warning,.entity-view-customized,.email-connection-status.pending) { --crm-tag-top: #fff0b8; --crm-tag-upper: #ffe298; --crm-tag-lower: #ffc95b; --crm-tag-bottom: #ffd77b; --crm-tag-rim: #9a6512; --crm-tag-ink: #713f12; }
  :root:root :is(.stock-badge,.heading-tag,.heading-tag.heading-tag--owner,.iv-badge,.iv-badge-success,.iv-badge-warning,.iv-badge-danger,.iv-badge-info,.movement-type-badge,.email-connection-status,.entity-view-customized,.product-code-badge,.ledger-serial-count,.index-group-count,.designer-subgrid-mode-chip,.ownership-owner) { background: linear-gradient(180deg,var(--crm-tag-top) 0%,var(--crm-tag-upper) 48%,var(--crm-tag-lower) 52%,var(--crm-tag-bottom) 100%) !important; border: 1px solid var(--crm-tag-rim) !important; color: var(--crm-tag-ink) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.85),0 1px 3px rgba(70,60,35,.18); border-radius: 999px; text-shadow: none; --crm-tag-jewel-outline: var(--crm-tag-ink); }
  :root:root :is(.stock-badge,.heading-tag,.heading-tag.heading-tag--owner,.iv-badge,.iv-badge-success,.iv-badge-warning,.iv-badge-danger,.iv-badge-info,.movement-type-badge,.email-connection-status,.entity-view-customized,.product-code-badge,.ledger-serial-count,.index-group-count,.designer-subgrid-mode-chip,.ownership-owner) i { color: inherit; }
  :root:root:root .account-strength-tag.account-strength-tag--red { --crm-tag-top: #ffe0e4; --crm-tag-upper: #ffc3cc; --crm-tag-lower: #f59ba9; --crm-tag-bottom: #ffb5c1; --crm-tag-rim: #a84a5c; --crm-tag-ink: #7f1830; }
  :root:root:root .account-strength-tag.account-strength-tag--orange { --crm-tag-top: #ffe8d4; --crm-tag-upper: #ffd0a8; --crm-tag-lower: #fdad6b; --crm-tag-bottom: #ffc28f; --crm-tag-rim: #b45a12; --crm-tag-ink: #7c2d06; }
  :root:root:root .account-strength-tag.account-strength-tag--yellow { --crm-tag-top: #fff0b8; --crm-tag-upper: #ffe298; --crm-tag-lower: #ffc95b; --crm-tag-bottom: #ffd77b; --crm-tag-rim: #9a6512; --crm-tag-ink: #713f12; }
  :root:root:root .account-strength-tag.account-strength-tag--green { --crm-tag-top: #dcfaf0; --crm-tag-upper: #b5f0dc; --crm-tag-lower: #7fdcbb; --crm-tag-bottom: #a2e8cf; --crm-tag-rim: #23876a; --crm-tag-ink: #0f5132; }
  :root:root:root .account-strength-tag.account-strength-tag--dark-green { --crm-tag-top: #4fbf86; --crm-tag-upper: #2a9d63; --crm-tag-lower: #198754; --crm-tag-bottom: #1f9a5e; --crm-tag-rim: #116a40; --crm-tag-ink: #ffffff; }
  /* ---- content-links.css ---- */
  :root:root { --crm-link-color: #8fb5f4; --crm-link-hover: #a0c1f7; --crm-link-underline: rgba(40,83,155,.25); }
  :root:root :is(.crm-content,.party-modal__body,.quick-entity-dialog,.activity-composer-control-scope,.crm-notifications-settings,.crm-breadcrumb)
a:not(.designer-field-tile__actions a):not(.row-actions a):not(.iv-btn):not(.btn):not([class*="-btn"]):not([class*="-button"]):not([class*="-icon"]):not([class*="-card"]):not([role="button"]):not([role="tab"]):not(.stock-badge):not(.tag):not(.pagination-link):not(.page-link):not(.clue-toast-copy):not(.crm-search-result):not(.dashboard-quick-links a):not(.inventory-pagination a):not(.record-action-footer a) { color: var(--crm-link-color); text-decoration-color: var(--crm-link-underline); }
  :root:root :is(.crm-content,.party-modal__body,.quick-entity-dialog,.activity-composer-control-scope,.crm-notifications-settings,.crm-breadcrumb)
a:not(.designer-field-tile__actions a):not(.row-actions a):not(.iv-btn):not(.btn):not([class*="-btn"]):not([class*="-button"]):not([class*="-icon"]):not([class*="-card"]):not([role="button"]):not([role="tab"]):not(.stock-badge):not(.tag):not(.page-link):not(.pagination-link):not(.dashboard-quick-links a):not(.inventory-pagination a):not(.record-action-footer a):is(:hover,:focus-visible) { color: var(--crm-link-hover); text-decoration-color: currentColor; }
  :root:root :is(.crm-content,.party-modal__body,.quick-entity-dialog,.activity-composer-control-scope,.crm-notifications-settings,.crm-breadcrumb)
a:not(.designer-field-tile__actions a):not(.row-actions a):not(.iv-btn):not(.btn):not([class*="-btn"]):not([class*="-button"]):not([class*="-icon"]):not([class*="-card"]):not([role="button"]):focus-visible { outline: 2px solid #79d4ff; outline-offset: 3px; }
  :root:root .crm-workspace .inventory-field > a.record-reference-link { border-color: rgba(30,58,138,.65); }
  :root:root .crm-workspace .inventory-field > a.record-reference-link::after { color: #7babe0; }
  /* ---- pages/customizations.css ---- */
  :root .customization-hint, :root .customization-form-page .inventory-field small { color: #a6b6cd; }
  :root .customization-form-page .required-marker { color: #db8b81; }
  :root .customization-field-preview .inventory-field > input:disabled, :root .customization-field-preview .inventory-field > select:disabled, :root .customization-field-preview .inventory-field > textarea:disabled { background: #38393b; color: #97a8c1; }
  :root .customization-add-section { border-bottom: 1px solid var(--iv-border); }
  :root .customization-rename-form input { border: 1px solid #5a5d61; border-radius: 9px; color: #b7c7e3; outline: none; }
  :root .customization-rename-form input:focus { border-color: #1e3a8a; box-shadow: 0 0 0 3px rgba(30,58,138,.1); }
  :root .customization-rename-form button { border: 1px solid #5a5d61; border-radius: 9px; background: #4c4c4c; color: #16a34a; }
  :root .customization-rename-form button:hover { border-color: #86efac; background: #424744; }
  :root .designer-section { border: 1px solid var(--iv-border); border-radius: 16px; background: #4c4c4c; box-shadow: 0 7px 22px rgba(15,23,42,.04); }
  :root .designer-section__header { border: 0; border-bottom: 1px solid #07132b; background: linear-gradient(to bottom,#132c68,#0d1e4d); box-shadow: inset 0 1px rgba(255,255,255,.10); }
  :root .designer-section__grip { color: #8fb4e0; }
  :root .designer-section__header > i { color: #8fb4e0; }
  :root .designer-section-name-label { color: #d8f4ff; }
  :root .designer-section-name-slot .designer-section-name { border-radius: 13px; color: transparent; box-shadow: none; }
  :root .designer-section-renaming .designer-section-name-slot .designer-section-name { color: #c9d5f0; }
  :root .designer-section-name-slot .designer-section-name:focus { outline: none; box-shadow: none; }
  :root .designer-section-split__goo > i { border-radius: 999px; background: #3c3d3f; }
  :root .designer-section-split__text--dark { color: #c9d5f0; }
  :root .designer-section-split__text--light { color: #d8f4ff; }
  :root .designer-section-split__drop { border-radius: 50%; color: #d8f4ff; background: radial-gradient(circle at 50% 72%,rgba(3, 45, 56, 0.5) 0%,rgba(168,228,255,.14) 46%,rgba(4,17,46,.3) 100%); box-shadow: inset 0 0 0 .9px rgba(216,244,255,.5),inset 0 -3px 4px rgba(159,232,255,.5),inset 0 2px 3px rgba(4,17,46,.4),0 3px 5px rgba(2,8,23,.45); }
  :root .designer-section-split__drop::after { border-radius: 50%; background: radial-gradient(ellipse at 50% 40%,rgba(76, 76, 76, 0.95),rgba(255,255,255,0) 72%); }
  :root .designer-section-split__drop > i { text-shadow: 0 0 4px rgba(159,232,255,.8); }
  :root .crm-workspace :is(.designer-page .designer-section__header, .entity-view-designer .ev-view-heading) .designer-section-edit, :root .crm-workspace :is(.designer-page .designer-section__header, .entity-view-designer .ev-view-heading) .designer-section-props, :root .crm-workspace :is(.designer-page .designer-section__header .iv-delete-icon, .entity-view-designer .ev-preview-column-remove) { border-radius: 50%; }
  :root .crm-workspace :is(.designer-page .designer-section__header, .entity-view-designer .ev-view-heading) .designer-section-edit, :root .crm-workspace :is(.designer-page .designer-section__header, .entity-view-designer .ev-view-heading) .designer-section-props { border: 1px solid #3977a8; background: #30393e; color: #94c3fe; box-shadow: 0 1px 3px rgba(18,63,112,.18),inset 0 1px 0 rgba(255,255,255,.75); }
  :root .crm-workspace :is(.designer-page .designer-section__header, .entity-view-designer .ev-view-heading) .designer-section-edit:hover, :root .crm-workspace :is(.designer-page .designer-section__header, .entity-view-designer .ev-view-heading) .designer-section-props:hover { border-color: #0f4f87; background: #1c2e36; color: #a7cbf9; box-shadow: 0 0 0 2px rgba(69,188,232,.20); }
  :root .crm-workspace :is(.designer-page .designer-section__header .iv-delete-icon, .entity-view-designer .ev-preview-column-remove) { border: 1px solid #c84a4a; background: #3e3333; color: #ec9a91; box-shadow: 0 1px 3px rgba(159,31,31,.18),inset 0 1px 0 rgba(255,255,255,.72); }
  :root .crm-workspace :is(.designer-page .designer-section__header .iv-delete-icon, .entity-view-designer .ev-preview-column-remove):hover { border-color: #9f1f1f; background: #361f1f; color: #f6a49a; box-shadow: 0 0 0 2px rgba(239,68,68,.16); }
  :root .crm-workspace :is(.designer-page .designer-section__header, .entity-view-designer .ev-view-heading) .designer-section-edit:focus-visible, :root .crm-workspace :is(.designer-page .designer-section__header, .entity-view-designer .ev-view-heading) .designer-section-props:focus-visible, :root .crm-workspace :is(.designer-page .designer-section__header .iv-delete-icon, .entity-view-designer .ev-preview-column-remove):focus-visible { outline: 2px solid #d8f4ff; outline-offset: 2px; }
  :root .designer-section__body--locked { background: transparent; }
  :root .designer-dropzone { border: 1.5px dashed transparent; border-radius: 12px; }
  :root .designer-dropzone:empty { border-color: #5a5d61; }
  :root .designer-dropzone:empty::after { color: #97a8c1; }
  :root .designer-field-tile { border: 1px solid #595b5f; border-radius: 10px; background: #4c4c4c; }
  :root .designer-field-tile--locked { background: #404143; border-style: dashed; }
  :root .designer-field-tile__icon { border-radius: 8px; background: #3c3d43; color: #96a1e5; }
  :root .designer-field-tile--locked .designer-field-tile__icon { background: #323437; color: #a6b6cd; }
  :root .designer-field-tile__label { color: #b7c7e3; }
  :root .designer-field-tile__label .required-marker { color: #db8b81; }
  :root .designer-field-tile__type { color: #97a8c1; }
  :root .designer-field-tile__actions a, :root .designer-field-tile__actions button { border: none; border-radius: 6px; background: transparent; color: #97a8c1; }
  :root .designer-field-tile__actions a:hover { background: #3c3d43; color: #96a1e5; }
  :root .designer-field-tile__actions button:hover { background: #454141; color: #db8b81; }
  :root .designer-field-tile__actions button.designer-edit-standard-field:hover { background: #3c3d43; color: #96a1e5; }
  :root .designer-field-tile__grip { color: #cbd5e1; }
  :root .designer-explorer { border: 1px solid var(--iv-border); border-radius: 16px; background: #4c4c4c; box-shadow: 0 7px 22px rgba(15,23,42,.04); }
  :root .designer-explorer__search input { border: 1px solid #5a5d61; border-radius: 11px; background: #4c4c4c; color: #b1c0dc; outline: none; }
  :root .designer-explorer__search input:focus { border-color: #5b5ceb; box-shadow: 0 0 0 3px rgba(91,92,235,.1); }
  :root .crm-workspace .designer-explorer .designer-explorer__header { border-radius: 15px 15px 0 0; }
  :root .designer-explorer__footer { border-top: 1px solid #57595b; }
  :root .designer-section.dragging { outline: 2px dashed #3b82f6; outline-offset: -2px; box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
  :root .designer-section-name { border: 1.5px solid #1e3a8a; border-radius: 16px; background: #3c3d3f; }
  :root .designer-section-name:focus { outline: none; box-shadow: 0 0 0 3px rgba(121,212,255,.3); }
  :root .designer-explorer__list:empty::after { color: #a6b6cd; }
  :root .custom-field-choices-card { border: 2px solid #132c68; border-radius: 12px; background: #4c4c4c; box-shadow: 0 4px 14px rgba(15,23,42,.05); }
  :root .custom-field-choices-body { background: #2f3133; }
  :root .custom-field-choices-body:has(:focus) { box-shadow: inset 0 0 0 2px rgba(121,212,255,.35); }
  :root .custom-field-choice-row { border-radius: 8px; }
  :root .custom-field-choice-row:hover { background: #3d3e40; }
  :root .custom-field-choice-row .custom-field-option-value[readonly] { border: 1px solid #5a5d61 !important; border-radius: 11px !important; color: #b7c7e3 !important; }
  :root .custom-field-choice-row .custom-field-option-value.input-validation-error { border-color: #dc2626 !important; }
  :root .custom-field-choice-row .custom-field-option-label--locked { border: 1px solid #5a5d61 !important; border-radius: 11px !important; color: #b7c7e3 !important; }
  :root .custom-field-choices-note { color: #a6b6cd; }
  :root .custom-field-choice-row .remove-choice-option { border: 1px solid #fecaca; border-radius: 8px; background: #4c4c4c; color: #db8b81; }
  :root .custom-field-choice-row .remove-choice-option:hover { background: #454141; }
  :root .designer-section__flag { color: #9fd4f5; }
  :root .designer-cell { border: 1.5px dashed #595b5f; border-radius: 10px; background: #484849; }
  :root .designer-cell.designer-cell--over { border-color: #5b5ceb; background: #3c3d43; }
  :root .designer-field-tile__actions .designer-field-props:hover { background: #3c3d43; color: #96a1e5; }
  :root .designer-field-tile--editing { border-color: #5b5ceb; box-shadow: 0 0 0 3px rgba(91,92,235,.18); }
  :root .designer-field-popover { background: #4c4c4c; border: 1px solid #5c6166; border-radius: 14px; box-shadow: 0 18px 40px rgba(15,23,42,.24); }
  :root .designer-field-popover::before { background: #4c4c4c; border-left: 1px solid #5c6166; border-top: 1px solid #5c6166; }
  :root .designer-field-popover__title { color: #abc7ff; }
  :root .designer-field-popover__caption { color: #a6b6cd; }
  :root .designer-field-popover__choices button { border: 1.5px solid #5a5d61; border-radius: 10px; background: #464748; color: #a6b6cd; }
  :root .designer-field-popover__choices button:hover { border-color: #686e77; }
  :root .designer-field-popover__choices button.active { border-color: #132c68; background: #3d3f44; color: #abc7ff; }
  :root .designer-field-popover__bars i { border-radius: 2px; background: #2b2e31; }
  :root .designer-field-popover__bars i.on { background: #132c68; }
  :root .designer-field-popover__toggle { color: #abc7ff; }
  :root .designer-field-popover .inventory-switch input:checked + span { background: linear-gradient(180deg, #132c68 0%, #0d1e4d 45%, #07132b 100%); }
  :root .designer-field-tile__flags { color: #a6b6cd; }
  :root .designer-lookup-settings { color: #abc7ff; }
  :root .designer-lookup-settings > label:not(.designer-lookup-allow) { color: #a6b6cd; }
  :root .designer-lookup-settings .select2-container--default .select2-selection--single { border: var(--crm-control-border-width, 1px) solid var(--crm-control-border-color, #1e3a8a); border-radius: var(--crm-control-radius, 12px); background: #4c4c4c; outline: 0; }
  :root .designer-lookup-settings .select2-container--default .select2-selection--single .select2-selection__rendered { color: #c9d5f0; }
  :root .designer-lookup-settings .select2-container--default.select2-container--focus .select2-selection--single, :root .designer-lookup-settings .select2-container--default.select2-container--open .select2-selection--single { border-color: #8adfff; background: #323436; box-shadow: 0 0 0 3px rgba(121,212,255,.22), 0 0 12px rgba(121,212,255,.38); border-radius: var(--crm-control-radius, 12px) !important; }
  :root .designer-lookup-popover .select2-dropdown { border-color: #5c6166; border-radius: 10px; }
  :root .designer-lookup-settings input[type=checkbox] { accent-color: #1e3a8a; }
  :root .designer-lookup-settings select { border: 1px solid #5c6166; border-radius: 6px; background: #4c4c4c; color: inherit; }
  :root .designer-lookup-settings small { color: #a6b6cd; }
  :root .designer-field-popover__actions .iv-btn { border-radius: 8px; box-shadow: none; }
  :root .entity-placement-intro p { color: #abc5f5; }
  :root .entity-placement-intro > span { color: #93a3ba; }
  :root .entity-parent-menu-card { border: 1px solid #5a5e63; border-radius: 14px; background: linear-gradient(145deg,#4c4c4c,#464749); box-shadow: 0 2px 5px rgb(25 45 80 / 4%); }
  :root .entity-parent-menu-icon { border-radius: 12px; background: #3c3e41; color: #8da5cb; }
  :root .entity-parent-menu-copy strong { color: #acc4ea; }
  :root .entity-parent-menu-copy > span { color: #8390a4; }
  :root .entity-parent-menu-check { border: 1.5px solid #5c6167; border-radius: 50%; color: transparent; }
  :root .entity-parent-menu-option:hover .entity-parent-menu-card { border-color: #91a9d0; box-shadow: 0 4px 12px rgb(25 45 80 / 9%); }
  :root .entity-parent-menu-option > input:checked + .entity-parent-menu-card { border-color: #4264b4; background: linear-gradient(145deg,#454648,#3a3c41); box-shadow: 0 0 0 1px rgb(66 100 180 / 12%),0 4px 12px rgb(25 45 80 / 6%); }
  :root .entity-parent-menu-option > input:checked + .entity-parent-menu-card .entity-parent-menu-icon { background: #31343c; color: #97b9fa; }
  :root .entity-parent-menu-option > input:checked + .entity-parent-menu-card .entity-parent-menu-check { background: #24478f; border-color: #24478f; color: #fff; }
  :root .entity-parent-menu-option > input:checked + .entity-parent-menu-card .entity-parent-menu-on { color: #8aaded; }
  :root .entity-parent-menu-option > input:focus-visible + .entity-parent-menu-card { outline: 3px solid #6aa8f7; outline-offset: 3px; }
  :root .designer-subgrid-popover__options button { border: 1.5px solid #5a5d61; border-radius: 10px; background: #464748; color: #abc7ff; }
  :root .designer-subgrid-popover__options small { color: #a6b6cd; }
  :root .designer-subgrid-popover__options button:hover, :root .designer-subgrid-popover__options button:focus-visible { border-color: #132c68; background: #3d3f44; outline: none; }
  :root .designer-subgrid-mode-chip { border-radius: 10px; background: #393b40; color: #a4bdf6; }
  :root .designer-subgrid-mode-change { border: 0; background: none; color: #a4bdf6; }
  :root .entity-views-page .entity-view-description { color: #a6b6cd; }
  :root .entity-views-page .entity-view-columns { color: #afc0d9; }
  :root .ev-column__text strong { color: #c9d5f0; }
  :root .ev-column__text small { color: #a6b6cd; }
  :root .ev-icon-button { border: 1px solid #5d6167; border-radius: 7px; background: #4c4c4c; color: #a4bdf6; }
  :root .ev-icon-button:hover:not(:disabled) { border-color: #1e3a8a; background: #393b40; }
  :root .ev-icon-button--danger { color: #db8b81; }
  :root .ev-icon-button--danger:hover:not(:disabled) { border-color: #dc2626; background: #454141; }
  :root .ev-empty { color: #a6b6cd; }
  :root .ev-group { border: 1px solid #5d6167; border-left: 4px solid #1e3a8a; border-radius: 12px; background: #4c4c4c; }
  :root .ev-group .ev-group { border-left-color: #0ea5e9; background: #464748; }
  :root .ev-group .ev-group .ev-group { border-left-color: #7dd3fc; background: #4c4c4c; }
  :root .ev-condition__none { color: #a6b6cd; }
  :root .ev-preview::-webkit-scrollbar-track { background: #2d3134; }
  :root .ev-preview::-webkit-scrollbar-thumb { border: 2px solid #595d60; border-radius: 999px; background: #091724; }
  :root .entity-view-designer .ev-field-explorer .ev-field-list { border: 0; border-radius: 0; background: transparent; }
  :root .ev-field-list { border: 1px solid #5d6167; border-radius: 12px; background: #4c4c4c; }
  :root .ev-column { border: 1px solid #595b5f; border-radius: 10px; background: #4c4c4c; }
  :root .entity-view-designer .required-marker { color: #db8b81; }
  :root .entity-view-customized { border-radius: 999px; background: #453f2a; color: #e79d7b; }
  :root .ev-column__grip { color: #97a8c1; }
  :root .ev-column[draggable="true"]:hover .ev-column__grip { color: #a4bdf6; }
  :root .ev-column.is-dragging { border-style: dashed; }
  :root .ev-field-list.is-drop-target { border-color: #1e3a8a; background: #444548; }
  :root .ev-logic { border: 1px solid #595b5f; border-radius: 12px; background: #3c3e40; box-shadow: inset 0 1px 2px rgba(15,23,42,.05); }
  :root .ev-logic__indicator { border-radius: 9px; background: linear-gradient(to bottom,#132c68,#0d1e4d); box-shadow: 0 3px 8px rgba(14,165,233,.34),0 7px 16px rgba(56,189,248,.36),0 11px 22px rgba(125,211,252,.22); }
  :root .ev-logic__option { border: 0; border-radius: 9px; background: transparent; color: #a6b6cd; }
  :root .ev-logic__option[aria-checked="true"] { color: #fff; }
  :root .ev-logic__option:hover:not([aria-checked="true"]):not(:disabled) { background: #303238; color: #a4bdf6; }
  :root .ev-column.ev-drag-ghost { border-color: #1e3a8a; background: #4c4c4c; box-shadow: none; }
  :root .computed-builder .remove-choice-option { border: 1px solid #fecaca; border-radius: 8px; background: #4c4c4c; color: #db8b81; }
  :root .computed-builder .remove-choice-option:hover { background: #454141; }
  :root .computed-builder .formula-note { color: #da946e; }
  :root .formula-palette { border: 2px solid #294985; border-radius: 12px; background: #38393b; }
  :root .formula-palette__empty { color: #a6b6cd; }
  :root .formula-palette__title { color: #96bafa; }
  :root .formula-tile { background: #4c4c4c; }
  :root .formula-tile:hover, :root .formula-tile:focus-visible { border-color: #294985; outline: none; }
  :root .formula-tile:hover .designer-field-tile__grip, :root .formula-tile:focus-visible .designer-field-tile__grip { color: #96bafa; }
  :root .formula-zone { border: 2px dashed #b8c6e6; border-radius: 12px; background: #464748; }
  :root .formula-zone.is-active { border-color: #294985; background: #4c4c4c; }
  :root .formula-zone.is-empty::before { color: #97a8c1; }
  :root .formula-slot { border-width: 1.5px; border-radius: 8px; background: #4c4c4c; }
  :root .formula-chip { border: 1px solid #b8c6e6; border-radius: 8px; background: #393b40; color: #a4bdf6; }
  :root .formula-chip--op { border-color: #5c6166; background: #4c4c4c; color: #c9d5f0; }
  :root .formula-chip--num, :root .formula-chip--text, :root .formula-chip--bool { border-color: #fcd9a8; background: #484541; color: #ea9b84; }
  :root .crm-workspace .formula-chip input { border: 1px solid #fcd9a8 !important; border-radius: 6px !important; background: #4c4c4c; color: #c9d5f0; }
  :root .crm-workspace .formula-chip input:focus { border-color: #f59e0b !important; }
  :root .formula-chip--fn, :root .formula-chip--group { border-color: #294985; background: #404246; }
  :root .formula-chip__name { color: #96bafa; }
  :root .formula-chip__more { border: 1px dashed #294985; border-radius: 6px; background: #4c4c4c; color: #96bafa; }
  :root .formula-chip__remove { border: 0; border-radius: 6px; background: transparent; color: #97a8c1; }
  :root .formula-chip__remove:hover { background: #3e3333; color: #db8b81; }
  :root .formula-caret { border-radius: 2px; background: #001827; box-shadow: 0 0 6px rgba(14,165,233,.6); }
  :root .formula-sentence { color: #afc0d9; }
  :root .formula-sentence.is-warning { color: #da946e; }
  :root .crm-workspace .computed-builder .formula-palette { border: 1px solid #697078; border-radius: 16px; background: #2f3133; }
  :root .crm-workspace .formula-palette__search input { border: 1px solid #1e3a8a !important; border-radius: 12px !important; background: #38393b; }
  :root .crm-workspace .entity-view-designer .ev-field-explorer .ev-field-list.is-drop-target { outline: 2px dashed #1e3a8a; outline-offset: 2px; background: transparent; }
  :root .crm-workspace .ev-column { border-radius: 10px; }
  :root .crm-workspace .ev-column__text strong { color: #b7c7e3; }
  :root .crm-workspace .ev-column__text small { color: #97a8c1; }
  :root .crm-workspace .ev-column__grip { color: #cbd5e1; }
  :root .crm-workspace .ev-column .ev-icon-button, :root .crm-workspace .workflow-designer-steps .designer-field-tile__actions button, :root .crm-workspace .formula-chip__remove { border: 0; border-radius: 6px; background: transparent; color: #97a8c1; }
  :root .crm-workspace .ev-column .ev-icon-button--danger:hover:not(:disabled), :root .crm-workspace .workflow-designer-steps .designer-field-tile__actions button:hover, :root .crm-workspace .formula-chip__remove:hover { border: 0; background: #454141; color: #db8b81; }
  :root .crm-workspace .ev-column .ev-icon-button:not(.ev-icon-button--danger):hover:not(:disabled) { border: 0; background: #3c3d43; color: #96a1e5; }
  :root .crm-workspace .computed-builder .formula-zone-head .inventory-switch strong { color: #afc0d9; }
  :root .choice-source-preview { border: 1px dashed #b8c6e6; border-radius: 12px; background: #464748; }
  :root .choice-source-preview.is-warning .choice-source-preview__note { color: #da946e; }
  :root .choice-source-preview__item { border: 1px solid #b8c6e6; border-radius: 999px; background: #393b40; color: #a4bdf6; }
  :root .choice-source-preview__more { color: #a6b6cd; }
  :root .choice-source-preview__note { color: #a6b6cd; }
  :root .workflow-step { border: 1px solid #5c6166; border-radius: 10px; background: #464748; }
  :root .workflow-step__grip { color: #cbd5e1; }
  :root .workflow-step__head:hover > .workflow-step__grip { color: #a4bdf6; }
  :root .workflow-step.is-dragging { border-style: dashed; }
  :root .workflow-step__body:not(:empty) { border-top: 1px solid #595b5f; }
  :root .workflow-step__head > i { color: #96bafa; }
  :root .workflow-step__title strong { color: #a4bdf6; }
  :root .workflow-step__summary { color: #a6b6cd; }
  :root .crm-workspace .workflow-link { border: 0; border-radius: 6px; background: transparent; color: #a4bdf6; }
  :root .crm-workspace .workflow-link:hover { background: #393b40; }
  :root .workflow-branch { border-left: 3px solid #b8c6e6; }
  :root .workflow-branch__title { color: #96bafa; }
  :root .workflow-add-step { border: 1px dashed #b8c6e6; border-radius: 12px; background: #4c4c4c; }
  :root .workflow-properties-dialog .workflow-properties__fields { border: 1px solid #697078; border-radius: 16px; background: #4c4c4c; }
  :root .crm-workspace .workflow-properties-dialog .workflow-properties__fields > .designer-explorer__header { border-bottom: 1px solid #07132b; background: linear-gradient(to bottom,#132c68,#0d1e4d); box-shadow: inset 0 1px rgba(255,255,255,.10); }
  :root .crm-workspace .workflow-properties-dialog .workflow-properties__fields > .designer-explorer__header h2 { color: #fff; }
  :root .crm-workspace .workflow-properties-dialog .workflow-properties__fields > .designer-explorer__header i { color: #d8f4ff; }
  :root .crm-workspace .workflow-properties-dialog .formula-palette { border: 1px solid #697078; border-radius: 16px; background: #2f3133; }
  :root .crm-workspace .workflow-properties-dialog .formula-palette .designer-explorer__header { border-bottom: 1px solid #07132b; background: linear-gradient(to bottom,#132c68,#0d1e4d); box-shadow: inset 0 1px rgba(255,255,255,.10); }
  :root .crm-workspace .workflow-properties-dialog .formula-palette .designer-explorer__header h2 { color: #fff; }
  :root .crm-workspace .workflow-properties-dialog .formula-palette .designer-explorer__header i { color: #d8f4ff; }
  :root .workflow-properties-dialog .workflow-value > .formula-zone-box > .formula-zone { border-width: 1.5px; border-radius: 8px; }
  :root .workflow-properties-dialog .workflow-value > .formula-zone-box > .formula-zone.is-active { box-shadow: 0 0 0 2px rgba(30,58,138,.12); }
  :root .workflow-properties-dialog .formula-slot { border: 1px solid #5c6166; background: #4c4c4c; }
  :root .workflow-properties-dialog .formula-slot:not(.is-empty) { border-color: transparent; background: transparent; }
  :root .workflow-properties-dialog .formula-slot.is-empty { border-style: dashed; }
  :root .workflow-properties-dialog .formula-chip { border-radius: 6px; }
  :root .workflow-properties-dialog .formula-chip__icon { color: #83a1e1; }
  :root .workflow-properties-dialog .formula-sentence { color: #a6b6cd; }
  :root .workflow-properties-dialog .workflow-value { border-radius: var(--crm-control-radius,12px); }
  :root .workflow-properties-dialog .workflow-value.is-drop-target { outline: 2px dashed #0ea5e9; outline-offset: 3px; }
  :root .workflow-properties-dialog .workflow-property.is-set > label::before { color: #16a34a; }
  :root .workflow-properties-dialog .required-marker { color: #db8b81; }
  :root .workflow-locked :is(input:not([type=checkbox]):not([type=radio]),textarea):disabled { color: #afc0d9; }
  :root .designer-required-dialog .quick-entity-body > p:first-child { color: #afc0d9; }
  :root .designer-required-dialog__today { color: #afc0d9; }
  :root .crm-workspace .designer-explorer > .designer-explorer__header { border: 0; border-bottom: 1px solid #07132b; background: linear-gradient(to bottom,#132c68,#0d1e4d); box-shadow: inset 0 1px rgba(255,255,255,.10); }
  :root .crm-workspace .designer-explorer > .designer-explorer__header h2 { color: #d8f4ff; }
  :root .crm-workspace .designer-explorer > .designer-explorer__header .section-heading-font-icon { color: #79d4ff; }
  :root .customization-form-page .logical-name-prefix { color: #a6b6cd; }
  :root .customization-form-page .publisher-note { color: #a9b7d3; }
  :root .designer-field-popover .designer-field-popover__actions { background: transparent; }
  :root .designer-section-tab-choice { color: #becce4; }
  :root .designer-section-tab-choice select:not(.select2-hidden-accessible) { border: 1.5px solid #1e3a8a; border-radius: 12px; }
  :root:root .crm-workspace .designer-explorer__header h2 { color: #d8f4ff !important; }
  :root:root .crm-workspace .designer-explorer__header :is(.section-add-button,.iv-btn) { border-radius: 8px !important; }
  :root .designer-section--selected { outline: 2px solid #3b82f6; outline-offset: 1px; }
  :root .crm-workspace .designer-page .designer-section__header > .designer-section__grip:is(:focus,:focus-visible) { outline: none !important; box-shadow: none !important; }
  :root:root .crm-workspace .designer-page .designer-field-tile__actions :is(a,button) { color: #abc7ff; }
  :root:root .crm-workspace .designer-page .designer-field-tile__actions :is(a,button):is(:hover,:focus-visible) { color: #abc7ff; background: #3d3f44; }
  :root:root .crm-workspace .designer-page .designer-field-tile__actions :is(.designer-remove-tile,.designer-delete-field) { color: #db8b81; }
  :root:root .crm-workspace .designer-page .designer-field-tile__actions :is(.designer-remove-tile,.designer-delete-field):is(:hover,:focus-visible) { color: #e6958a; background: #454141; }
  :root .designer-field-logical-name { color: #9cb0ca; }
  :root .crm-workspace .designer-field-metadata > .designer-field-logical-name { color: #9cb0ca; }
  :root .crm-workspace .designer-field-metadata > .designer-field-logical-name::before { color: #97a8c1; }
  :root .crm-workspace .ev-column .ev-icon-button { color: #abc7ff; }
  :root .crm-workspace .ev-column .ev-icon-button:not(.ev-icon-button--danger):is(:hover,:focus-visible) { color: #abc7ff; background: #3d3f44; }
  :root .crm-workspace .ev-column .ev-icon-button--danger { color: #db8b81; }
  :root .crm-workspace .ev-column .ev-icon-button--danger:is(:hover,:focus-visible) { color: #e6958a; background: #454141; }
  :root .designer-field-popover__choices button:not(.active) { color: #afc0d9; }
  :root .designer-field-popover__choices button:not(.active) .designer-field-popover__bars i.on { background: #334155; }
  :root .dashboard-designer-title h2 { color: #c2d0ee; }
  :root .dashboard-designer-title h2 i { color: #a4bdf6; }
  :root .dashboard-designer-title p { color: #a6b6cd; }
  :root .dashboard-designer-subtitle { border-bottom: 1px solid var(--crm-footer-divider,#5f6368); color: #abc7ff; }
  :root .dashboard-designer-page .designer-field-tile__icon { background: #383b3f; color: #abc7ff; }
  :root .dashboard-combo-icon::after { background: linear-gradient(currentColor,currentColor) left bottom / 23% 45% no-repeat,
               linear-gradient(currentColor,currentColor) center bottom / 23% 70% no-repeat,
               linear-gradient(currentColor,currentColor) right bottom / 23% 100% no-repeat; }
  :root .dashboard-designer-error { border: 1px solid #fca5a5; border-radius: 10px; background: #454141; color: #ef9c93; }
  :root .dashboard-chart-dialog .dashboard-chart-dialog__body { background: #3c3d3f; }
  :root .dashboard-chart-dialog .dashboard-type-option span { border-radius: 10px; }
  :root .dashboard-chart-dialog .custom-preview .card-heading h2 { color: #c2d0ee; }
  :root .dashboard-type-option span { border: 1px solid #5c6269; border-radius: 12px; background: rgba(76, 76, 76, 0.6); color: #afc0d9; }
  :root .dashboard-type-option span i { color: #90aff0; }
  :root .dashboard-type-option input:checked + span { border-color: #132c68; box-shadow: 0 0 0 2px rgba(19,44,104,.18), 0 6px 14px rgba(15,35,62,.12); background: #4c4c4c; }
  :root .dashboard-type-option input:focus-visible + span { outline: 2px solid #132c68; outline-offset: 2px; }
  :root .dashboard-chart-section__body > :not(.dashboard-designer-preview) strong { color: #c2d0ee; }
  :root .dashboard-chart-section__body > :not(.dashboard-designer-preview) small { color: #a6b6cd; }
  :root .dashboard-designer-preview > .dashboard-card { border: 0; box-shadow: none; }
  :root .dashboard-designer-empty-tab { border: 1.5px dashed #5f656d; border-radius: 12px; color: #a6b6cd; }
  :root .dashboard-designer-charts.designer-dropzone--over { outline: 2px dashed #3b82f6; outline-offset: 4px; border-radius: 12px; }
  :root .dashboard-designer-charts[data-columns="1"] { --dashboard-columns: 1; }
  :root .dashboard-designer-charts[data-columns="3"] { --dashboard-columns: 3; }
  :root .designer-field-popover .designer-popover-data-button { border-radius: 8px; box-shadow: none; }
  :root .dashboard-summary-tile-tag { color: #a6b6cd; }
  :root .entity-view-designer .ev-preview-canvas.is-drop-ready { outline: 2px solid #60a5fa; outline-offset: -2px; }
  :root .entity-view-designer .ev-preview-column[data-ev-drop="before"] { box-shadow: inset 4px 0 #2563eb !important; }
  :root .entity-view-designer .ev-preview-column[data-ev-drop="after"] { box-shadow: inset -4px 0 #2563eb !important; }
  :root .crm-workspace .entity-view-designer .ev-preview .ev-preview-column-remove { background: #3e3333 !important; border-color: #a84a5c !important; color: #ec9a91 !important; }
  :root .crm-workspace .entity-view-designer .ev-preview .ev-preview-column-remove:hover { background: #361f1f !important; }
  :root .crm-workspace .entity-view-designer .ev-preview .ev-preview-column-remove i { color: inherit !important; }
  :root .entity-view-designer .ev-preview-column-grip { color: #a2c7f9; }
  :root .entity-view-designer .ev-preview-column:focus-visible { outline: 2px solid #1e3a8a; outline-offset: -2px; }
  :root .entity-view-designer .ev-field-list { border: 0; border-radius: 0; background: transparent; }
  :root .ev-order-row { border: 1px solid var(--crm-outline,#64748b); border-radius: 10px; background: #464748; }
  :root .ev-order-row__grip { color: #a2c7f9; }
  :root .ev-order-row__caption { color: #abc7ff; }
  :root .ev-order-row__none { color: #94a3b8; }
  :root .ev-order-row[data-ev-drop="before"] { box-shadow: 0 -3px 0 #2563eb; }
  :root .ev-order-row[data-ev-drop="after"] { box-shadow: 0 3px 0 #2563eb; }
  :root .crm-workspace .entity-view-designer .inventory-table .index-group-header:not(.index-group-header--nested) .ev-group-heading-grip { color: #ffffff; }
  :root .crm-workspace .entity-view-designer .inventory-table .index-group-header--nested .ev-group-heading-grip { color: #a2c7f9; }
  :root .crm-workspace .entity-view-designer .inventory-table .index-group-header[data-ev-drop="before"] > th { box-shadow: inset 0 3px 0 #2563eb !important; }
  :root .crm-workspace .entity-view-designer .inventory-table .index-group-header[data-ev-drop="after"] > th { box-shadow: inset 0 -3px 0 #2563eb !important; }
  :root .crm-workspace .entity-view-designer .ev-view-heading .designer-section-props.is-drop-target { box-shadow: 0 0 0 3px #60a5fa !important; }
  :root .crm-workspace .entity-view-designer .inventory-table .index-group-header .ledger-detail-heading > .ev-group-heading-grip { border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; text-shadow: none !important; }
  :root .ev-order-list.is-sorting .ev-order-row.is-lifted { box-shadow: 0 10px 24px rgba(15,23,42,.28); }
  :root .ev-order-list.is-sorting .ev-order-row.is-lifted.is-settling { box-shadow: none; }
  :root .crm-workspace .entity-view-designer .ev-preview .ev-col-lifted { background-color: #3e4043; box-shadow: 0 0 0 1px #9cb3d3, 0 10px 22px rgba(15,23,42,.22); }
  :root .crm-workspace .entity-view-designer .ev-preview th.ev-col-lifted { background-color: #2b3137 !important; }
  :root .crm-workspace .entity-view-designer .ev-preview .ev-col-lifted.ev-col-settling { box-shadow: none; }
  :root .crm-workspace .entity-view-designer .ev-preview .inventory-table .index-group-header .row-actions button.ev-group-remove { border: 1px solid #a84a5c !important; border-radius: 50% !important; background: #3e3333 !important; color: #ec9a91 !important; box-shadow: 0 1px 3px rgba(159,31,31,.18), inset 0 1px 0 rgba(255,255,255,.72) !important; }
  :root .crm-workspace .entity-view-designer .ev-preview .inventory-table .index-group-header .row-actions button.ev-group-remove:hover { background: #361f1f !important; border-color: #9f1f1f !important; color: #f6a49a !important; }
  :root .crm-workspace .entity-view-designer .ev-preview .inventory-table .index-group-header .row-actions button.ev-group-remove i { color: inherit !important; }
  :root .ev-logic { border-radius: 10px; }
  :root .ev-logic__indicator { border-radius: 8px; box-shadow: 0 2px 6px rgba(14,165,233,.3),0 5px 12px rgba(56,189,248,.26); }
  :root .ev-logic__option { border-radius: 8px; }
  :root #temporaryGridEditor .ev-columns__pane { border: 1px solid var(--crm-outline,#64748b); border-radius: 14px; background: #464748; }
  :root #temporaryGridEditor .ev-columns__pane--explorer { background: #4c4c4c; }
  :root #temporaryGridEditor .ev-columns__title { color: #abc7ff; }
  :root #temporaryGridEditor .ev-columns__list.is-drop-target { outline: 2px dashed #1e3a8a; outline-offset: 2px; }
  /* ---- pages/activities.css ---- */
  :root .activity-panel-heading { border-bottom: 1px solid #5a5b5d; }
  :root .activity-panel-heading p, :root .activity-panel-heading>span { color: #a6b6cd; }
  :root .activity-filters { background: #464748; }
  :root .activity-filters input, :root .activity-filters select { border: 1px solid #5c6166; border-radius: 6px; background: #4c4c4c; }
  :root article.activity-card { border-bottom: 1px solid #5a5b5d; }
  :root .activity-type-icon { background: #3d3f44; color: #9ca7ec; border-radius: 50%; }
  :root .activity-card-top { color: #a6b6cd; }
  :root .activity-meta { color: #a6b6cd; }
  :root .activity-card-actions button { border: 1px solid #5c6166; border-radius: 5px; background: #4c4c4c; color: #afc0d9; }
  :root article.activity-card a { color: #a3aef3; }
  :root .activity-card details { color: #a6b6cd; }
  :root .activity-overdue { color: #e6958a; }
  :root .activity-reminder { color: #e79d7b; }
  :root .activity-notice { background: #3f4246; border: 1px solid #bfdbfe; border-radius: 8px; }
  :root .activity-form small { color: #a6b6cd; }
  :root .activity-page :focus-visible { outline: 2px solid #4f46e5; outline-offset: 3px; }
  :root .activity-page #activity-empty h3 { color: #afc0d9; }
  :root .activity-page #activity-empty p { color: #a6b6cd; }
  :root .activity-tabs { border-bottom: 1px solid #5a5b5d; }
  :root .activity-tabs button { border: 0; background: transparent; color: #a6b6cd; border-bottom: 2px solid transparent; }
  :root .activity-tabs button[aria-pressed=true] { border-color: #4f46e5; color: #a3aef3; }
  :root .activity-tabs a { color: #a3aef3; }
  :root .activity-legacy-note { background: #464748; border-radius: 6px; }
  :root .lead-status-notice a { color: inherit; }
  :root .lead-qualified-notice { background: #404744; border-color: #a7f3d0; color: #7ec9ab; }
  :root .lead-disqualified-notice { background: #454141; border-color: #fecaca; color: #ef9c93; }
  :root .lead-qualify-option { color: #c0cddf; }
  :root .lead-qualify-option input[type="checkbox"] { accent-color: #132c68; }
  :root .lead-status-button { border: 2px solid #1e3a8a !important; background: #38393b !important; color: #a4bdf6 !important; }
  :root .lead-status-button.healthy { background: #34443a !important; color: #7bbc89 !important; border-color: #15803d !important; }
  :root .lead-status-button.low { background: #453f2a !important; color: #da946e !important; border-color: #b45309 !important; }
  :root .lead-status-button.danger { background: #3e3333 !important; color: #db8b81 !important; border-color: #dc2626 !important; }
  :root .lead-status-button.inactive { background: #38393b !important; color: #a4bdf6 !important; border-color: #1e3a8a !important; }
  :root .lead-status-menu { border: 1px solid #5b5e62; border-radius: 10px; background: #4c4c4c; box-shadow: 0 -12px 28px rgba(15, 23, 42, .18); }
  :root .lead-status-option { border: none; border-radius: 999px; }
  :root .lead-status-option.healthy { background: #34443a; color: #7bbc89; }
  :root .lead-status-option.low { background: #453f2a; color: #da946e; }
  :root .lead-status-option.danger { background: #3e3333; color: #db8b81; }
  :root .lead-status-option.inactive { background: #404143; color: #a6b6cd; }
  :root .lead-duplicate-group { border: 1px solid #5b5e62; border-radius: 10px; }
  :root .lead-duplicate-group legend { color: #a6b6cd; }
  :root .lead-duplicate-option { color: #c0cddf; }
  :root .lead-duplicate-option small { color: #a6b6cd; }
  :root .crm-workspace .lead-inline-timeline .activity-timeline { border: 0; border-radius: 0; box-shadow: none; }
  :root .crm-workspace .lead-inline-timeline .activity-tabs { border: 1px solid #595b5f; border-radius: 13px; background: #3c3e40; box-shadow: inset 0 1px 2px rgba(15, 23, 42, .05); }
  :root .crm-workspace .lead-inline-timeline .activity-tab-indicator { border-radius: 9px; background: linear-gradient(to bottom, #132c68, #0d1e4d); box-shadow: 0 3px 8px rgba(14, 165, 233, .34), 0 7px 16px rgba(56, 189, 248, .36), 0 11px 22px rgba(125, 211, 252, .22); }
  :root .crm-workspace .lead-inline-timeline .activity-tabs [role="tab"] { border: 0; border-radius: 9px; background: transparent; color: #a6b6cd; }
  :root .crm-workspace .lead-inline-timeline .activity-tabs [aria-selected="true"] { color: #fff; }
  :root .lead-inline-timeline .activity-tabs [role="tab"]:hover:not([aria-selected="true"]) { background: #303238; color: #a4bdf6; }
  :root .crm-workspace .lead-inline-timeline .activity-filters { background: #464748; border: 1px solid #57595b; border-radius: 13px; }
  :root .crm-workspace .lead-inline-timeline .activity-filters .inventory-search input { border: 1.5px solid #5b5e62; background: #4c4c4c; }
  :root .crm-workspace .lead-inline-timeline .activity-filters .inventory-search input:focus { border-color: #1e3a8a; box-shadow: 0 0 0 3px rgba(30, 58, 138, .12); }
  :root .crm-workspace .lead-inline-timeline #activity-empty h3 { color: #afc0d9; }
  :root .crm-workspace .lead-inline-timeline #activity-empty p { color: #a6b6cd; }
  :root .crm-workspace .lead-inline-timeline .activity-form label { color: #9eb0cb; }
  :root .crm-workspace .lead-inline-timeline article.activity-card { border: 1px solid #595b5f; border-radius: 11px; background: #4c4c4c; box-shadow: 0 1px 3px rgba(15, 23, 42, .05); }
  :root .crm-workspace .lead-inline-timeline article.activity-card:hover { border-color: #aebfe3; box-shadow: 0 8px 20px rgba(15, 23, 42, .09); }
  :root .crm-workspace .lead-inline-timeline .activity-type-icon { background: transparent; box-shadow: none; color: #abc7ff; }
  :root .crm-workspace .lead-inline-timeline .activity-card-actions { border-top: 1px dashed #595a5d; }
  :root .crm-workspace .lead-inline-timeline .activity-card-actions button { border-radius: 999px; color: #fff; }
  :root .crm-workspace .lead-inline-timeline .activity-card-actions button[value="COMPLETED"], :root .crm-workspace .lead-inline-timeline .activity-card-actions button[value="OPEN"] { border: 2px solid #4d7c0f; background: linear-gradient(180deg, #0c1b00 0%, #0b1b00 52%, #4d7c0f 100%); box-shadow: 0 6px 16px rgba(77, 124, 15, .35), inset 0 1px 1px rgba(255, 255, 255, .18); }
  :root .crm-workspace .lead-inline-timeline .activity-card-actions button[value="COMPLETED"]:hover, :root .crm-workspace .lead-inline-timeline .activity-card-actions button[value="OPEN"]:hover { box-shadow: 0 9px 22px rgba(77, 124, 15, .44), inset 0 1px 1px rgba(255, 255, 255, .18); }
  :root .crm-workspace .lead-inline-timeline .activity-card-actions button[value="CANCELLED"] { border: 2px solid #b91c1c; background: linear-gradient(180deg, #2f0405 0%, #dc2626 52%, #b91c1c 100%); box-shadow: 0 6px 16px rgba(185, 28, 28, .35), inset 0 1px 1px rgba(255, 255, 255, .18); }
  :root .crm-workspace .lead-inline-timeline .activity-card-actions button[value="CANCELLED"]:hover { box-shadow: 0 9px 22px rgba(185, 28, 28, .44), inset 0 1px 1px rgba(255, 255, 255, .18); }
  :root .crm-workspace .lead-inline-timeline .activity-composer { box-shadow: none; }
  :root .lead-inline-timeline .activity-composer-close { border: 0; background: transparent; color: #9eb0cb; }
  :root .party-modal .validation-summary-errors { border-radius: 11px; background: #464040; color: #e6958a; }
  :root #leadDuplicateDialog .ownership-hint:focus { outline: none; }
  :root .crm-workspace dialog.lead-decision-dialog .lead-qualify-option strong { color: #afc0d9; }
  :root .crm-workspace dialog.lead-decision-dialog .lead-qualify-option input:focus-visible + span { outline: 2px solid #21479c; outline-offset: 3px; }
  :root #leadDuplicateDialog .lead-duplicate-option { border: 1px solid transparent; border-radius: 8px; }
  :root #leadDuplicateDialog .lead-duplicate-option:has(input:checked) { background: #363a3f; border-color: #a9c3e8; }
  :root #leadDuplicateDialog .lead-duplicate-option:hover { background: #3a3c3f; }
  :root #leadDuplicateDialog .lead-duplicate-option > input[type="radio"] { border: 0; box-shadow: none; accent-color: #21479c; }
  :root #leadDuplicateDialog .lead-duplicate-option > input:focus-visible { outline: 2px solid #21479c; outline-offset: 3px; }
  :root #leadDuplicateDialog .lead-duplicate-copy strong { color: #afc0d9; }
  :root #leadDuplicateDialog .lead-duplicate-copy small { color: #a6b6cd; }
  :root .crm-workspace .lead-inline-timeline .activity-tabs { border: 1px solid #666c72; border-radius: 8px; background: #38393c; }
  :root .crm-workspace .lead-inline-timeline .activity-tab-indicator { border-radius: 6px; background: linear-gradient(180deg, #132c68, #0d1e4d); box-shadow: 0 3px 8px rgba(14, 165, 233, .34), 0 7px 16px rgba(56, 189, 248, .36), 0 11px 22px rgba(125, 211, 252, .22); }
  :root .crm-workspace .lead-inline-timeline .activity-tab-indicator::after { background: radial-gradient(ellipse at 50% 0%, rgba(121,212,255,.55), rgba(125,211,252,.22) 40%, transparent 72%); }
  :root .crm-workspace .lead-inline-timeline .activity-tabs [role="tab"] { border-radius: 6px; }
  :root .crm-workspace .lead-inline-timeline .activity-tabs [aria-selected="true"] { color: #d8f4ff; }
  :root .crm-workspace .lead-inline-timeline .activity-tabs [role="tab"]:hover:not([aria-selected="true"]) { background: rgba(76, 76, 76, 0.75); }
  :root .crm-workspace .lead-inline-timeline .activity-filters { border: 0; background: transparent; }
  :root .crm-workspace .lead-inline-timeline .activity-filters #activity-inline-reset { border-width: 1px !important; border-radius: 9px; box-shadow: 0 2px 6px rgba(7, 19, 43, .22), inset 0 1px 0 rgba(255, 255, 255, .14); }
  :root .crm-workspace .lead-inline-timeline article.activity-card { border: 1px solid #666c72; border-left: 3px solid #132c68; border-radius: 9px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
  :root .crm-workspace .lead-inline-timeline article.activity-card[data-status="COMPLETED"] { border-left-color: #556b2f; }
  :root .crm-workspace .lead-inline-timeline article.activity-card[data-status="CANCELLED"] { border-left-color: #686e77; }
  :root .crm-workspace .lead-inline-timeline article.activity-card:hover { border-color: #6a7179; border-left-color: #1e3a8a; box-shadow: 0 3px 10px rgba(15, 23, 42, .07); }
  :root .crm-workspace .lead-inline-timeline .activity-type-icon { border-radius: 7px; background: #3a3c40; color: #abc7ff; }
  :root .crm-workspace .lead-inline-timeline .activity-card-top { color: #a6b6cd; }
  :root .crm-workspace .lead-inline-timeline .activity-card h3 { color: #c9d5f0; }
  :root .crm-workspace .lead-inline-timeline .activity-meta { color: #a6b6cd; }
  :root .crm-workspace .lead-inline-timeline .activity-card-actions button { border-width: 1px !important; }
  :root .crm-workspace .lead-inline-timeline .activity-card-actions button[value="COMPLETED"], :root .crm-workspace .lead-inline-timeline .activity-card-actions button[value="OPEN"] { box-shadow: 0 2px 6px rgba(77, 124, 15, .26), inset 0 1px 0 rgba(255, 255, 255, .18); }
  :root .crm-workspace .lead-inline-timeline .activity-card-actions button[value="CANCELLED"] { box-shadow: 0 2px 6px rgba(185, 28, 28, .26), inset 0 1px 0 rgba(255, 255, 255, .18); }
  :root .crm-workspace .activity-card-actions button[value="OPEN"], :root .crm-workspace .lead-inline-timeline .activity-card-actions button[value="OPEN"] { border: 1px solid #3977a8 !important; background: #30393e !important; color: #94c3fe !important; box-shadow: 0 1px 3px rgba(18,63,112,.18), inset 0 1px 0 rgba(255,255,255,.75) !important; }
  :root .crm-workspace .activity-card-actions button[value="OPEN"]:hover, :root .crm-workspace .lead-inline-timeline .activity-card-actions button[value="OPEN"]:hover { border-color: #0f4f87 !important; background: #1c2e36 !important; color: #a7cbf9 !important; box-shadow: 0 0 0 2px rgba(69,188,232,.20), 0 0 10px rgba(23,74,139,.40) !important; }
  :root .crm-workspace .activity-tab-content { border: 1px solid #5c6166; border-radius: 10px; }
  :root .crm-workspace .activity-tab-content > .activity-filters, :root .crm-workspace .lead-inline-timeline .activity-tab-content > .activity-filters { border: 0; background: transparent; }
  :root .crm-workspace .activity-tabs-frame::before { border: 1px solid #666c72; border-radius: 10px; }
  :root .crm-workspace .activity-tabs-frame .activity-tabs { border: 1px solid #666c72; border-radius: 8px; background: #38393c; }
  :root .crm-workspace .activity-tabs-frame .activity-tabs [role="tab"] { border: 0; border-radius: 6px; color: #a6b6cd; }
  :root .crm-workspace .activity-tabs-frame .activity-tabs [aria-selected="true"] { color: #d8f4ff; }
  :root .crm-workspace .activity-tabs-frame .activity-tab-indicator { border-radius: 6px; background: linear-gradient(180deg, #132c68, #0d1e4d); box-shadow: 0 3px 8px rgba(14,165,233,.34), 0 7px 16px rgba(56,189,248,.36), 0 11px 22px rgba(125,211,252,.22); }
  :root .crm-workspace .activity-tabs-frame .activity-tab-indicator::after { background: radial-gradient(ellipse at 50% 0%, rgba(121,212,255,.55), rgba(125,211,252,.22) 40%, transparent 72%); }
  :root .crm-workspace .activity-tabs-frame .activity-tab-content { border: 0; }
  :root .crm-workspace :is(.lead-inline-timeline,.activity-tabs-frame) :is(.activity-tabs,.activity-tab-indicator,.activity-tabs [role="tab"]) { border-radius: 8px; }
  :root body > #activity-composer .inventory-field label { color: #a1b0cc; }
  :root .crm-workspace .lead-inline-timeline article.activity-card { --chart-timeline-stripe: #1e40af; --chart-timeline-edge: #172554; border-left: 1px solid #666c72 !important; }
  :root .crm-workspace .lead-inline-timeline article.activity-card[data-status="COMPLETED"] { --chart-timeline-stripe: #65a30d; --chart-timeline-edge: #4d7c0f; }
  :root .crm-workspace .lead-inline-timeline article.activity-card[data-status="CANCELLED"] { --chart-timeline-stripe: #94a3b8; --chart-timeline-edge: #64748b; }
  :root .crm-workspace .lead-inline-timeline article.activity-card::before { border-radius: 9px; background: linear-gradient(90deg, var(--chart-timeline-stripe) 0 3px, var(--chart-timeline-edge) 3px 4px, transparent 4px); }
  /* ---- pages/email-workspace.css ---- */
  :root .email-export-frame { border: 0; }
  :root .email-mailbox-test-note { color: #afc0d9; }
  /* ---- pages/merge.css ---- */
  :root .merge-dialog__intro { color: #a9b7d3; }
  :root .merge-dialog__fill { color: #a2c7f9; }
  :root .merge-dialog__fill input, :root .merge-grid input[type="radio"] { accent-color: #21479c; }
  :root .merge-grid__choice.is-empty span { color: #a6b6cd; }
  :root .merge-grid td:first-child { color: #a2c7f9; }
  :root .merge-select { accent-color: #21479c; }
  /* ---- pages/ownership.css ---- */
  :root .ownership-owner { border: 1px solid #1d4ed8; border-radius: var(--crm-action-radius,12px); background: #dbeafe; color: #1d4ed8; }
  :root .ownership-owner i { color: #1d4ed8; }
  :root .ownership-owner strong { color: #1d4ed8; }
  :root .ownership-hint { color: #a6b6cd; }
  :root .ownership-share-list li { background: #464748; border-radius: 8px; color: #b6cafd; }
  :root .ownership-dialog-content fieldset { border: 1px solid #5c6166; }
  /* ---- pages/document-pages.css ---- */
  :root .document-page-number { color: #a6b6cd; }
  :root .doc-header-title { color: var(--bill-accent); }
}

/* ---- hand-written corrections: tools/dark-theme/dark-theme-overrides.css ---- */
/* Hand-written night corrections (appended to the generated dark-theme.css). Night only - day mode is never touched.
   Keep each one explained. */
@media (prefers-color-scheme: dark) {
  /* Figures drawn inside a chart ring are pure white at night (owner, 2026-11-24: black by day, white at night). */
  :root:root { --dash-donut-figure: #ffffff; }
  /* Every donut / gauge centre figure, including the Receivables / Payables Activity amounts, which have no colour rule
     of their own (owner, 2026-11-24: the Payables Activity amount was invisible at night). */
  :root:root :is(.document-donut, .receivable-donut, .payable-donut, .rating-donut) > span strong,
  :root:root .gauge-ring > span { color: #ffffff !important; }

  /* Control outlines (owner, 2026-11-25): text boxes, dropdowns, lookups, date / amount / phone / search fields,
     text areas, unticked checkboxes and outline buttons use a 1px border in both modes. At night they use the
     application outline var(--crm-outline) #8b949e (owner, 2026-11-26; was steel blue #7b93d6); focus outlines, validation errors, ticked boxes and filled buttons keep their
     own colours. */
  :root:root :is(
      input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="color"]):not([type="file"]),
      input[type="checkbox"]:not(:checked):not(.party-grid-primary), input[type="radio"]:not(:checked),
      select, textarea, .iv-input, .money-input, .input-group, .section-grid-search, .inventory-filter, .inventory-search,
      .crm-search-input-wrap, .select2-search__field, .address-phone-group, .phone-country-button,
      .serial-link-field, .color-input, .custom-field-datetime-date-trigger, .bfc-select
  ):not(:focus):not(:focus-within):not(.input-validation-error):not([aria-invalid="true"]):not(:disabled):not(.ownership-bar *),
  :root:root .select2-container:not(.select2-container--focus):not(.select2-container--open) .select2-selection {
    border-color: var(--crm-control-border-color) !important;
  }

  :root:root :is(.iv-btn-secondary, .iv-btn-outline, .section-add-button, .add-bill-line, .inventory-clear, .bfc-btn.secondary, .login-page .login-card .btn-google, .login-page .login-card .btn-register):not(:focus):not(:hover):not(:disabled):not([aria-disabled="true"]) {
    border-color: var(--crm-control-border-color) !important;
  }

  /* The owner tag keeps its day look at night: light glossy pill with navy text (owner, 2026-11-24). */
  :root:root .ownership-owner, :root:root .ownership-owner :is(span, strong, i) { color: #123e66 !important; -webkit-text-fill-color: #123e66; }

  /* Form designer column choices (1 / 2 / 3 columns): their little preview boxes are navy / slate by day and vanished on
     the dark pop-up (owner, 2026-11-24). At night: light slate boxes, bright blue for the selected choice, which also
     gets a blue-tinted fill, bright blue outline with a soft glow and white text so it stands out (owner follow-up). */
  :root:root .designer-field-popover__bars i { background: #4b5563 !important; }
  :root:root .designer-field-popover__choices button:not(.active) .designer-field-popover__bars i.on { background: #a9b8cf !important; }
  :root:root .designer-field-popover__choices button.active .designer-field-popover__bars i.on { background: #60a5fa !important; }
  :root:root .designer-field-popover__choices button.active {
    background: rgba(59, 130, 246, .28) !important; color: #ffffff !important;
  }

  /* Carry the Form Designer selection edge and glow over to document styles and email providers. */
  :root:root .designer-field-popover__choices button.active,
  :root:root .crm-workspace .email-provider-grid .email-provider-option > input:checked + span {
    border-color: #93c5fd !important;
    box-shadow: 0 0 0 1px rgba(147, 197, 253, .45), 0 0 12px rgba(96, 165, 250, .45) !important;
  }
  :root:root .crm-workspace .email-provider-grid .email-provider-option > span::before {
    background: linear-gradient(180deg, #344e74, #293e5d);
  }
  :root:root .crm-workspace .email-provider-grid .email-provider-option > input:checked + span strong { color: #ffffff; }
  :root:root .crm-workspace .email-provider-grid .email-provider-option > input:checked + span small { color: #d2e3fa; }
  :root:root .crm-workspace .email-provider-grid .email-provider-option > input:checked + span > b { color: #93c5fd; }
  :root:root .designer-field-popover__choices button:not(.active) { background: rgba(255, 255, 255, .04) !important; color: #b6c2d4 !important; }

  /* Top-bar search / notification / sign-out icons (owner, 2026-11-24: "cartoonish" at night). By day they are matte navy
     with a white top-edge highlight that disappears on the light bar; on the dark bar that highlight drew a white
     outline. At night: steel blue, no white highlight, only the soft shadow below - the same matte, embossed look. */
  :root:root .crm-icon-button.accent > i { color: #8fa6dc !important; -webkit-text-fill-color: #8fa6dc; }
  :root:root .crm-notification-count { color: #ffffff !important; -webkit-text-fill-color: #ffffff; }
  :root:root .crm-icon-button.accent i, :root:root .crm-icon-button.accent[aria-expanded="true"] i { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .55)) !important; }

  /* The notification panel's "N pending" count pill keeps its day amber gloss and dark text at night (owner,
     2026-11-24: the number vanished when the pill was darkened to brown). */
  :root:root .crm-notifications-panel .crm-notifications-header span {
    border-color: #9a6512 !important;
    background: linear-gradient(180deg, #fff0b8 0%, #ffe298 48%, #ffc95b 52%, #ffd77b 100%) !important;
    color: #713f12 !important; -webkit-text-fill-color: #713f12;
  }

  /* Keep toast accents visible against the dark glass: the generator otherwise darkens both the icon disc and timer fill. */
  :root:root .clue-toast-icon {
    background: #dff5ff !important;
    color: #1e3a8a !important;
    box-shadow: inset 0 0 0 1px rgba(52, 214, 255, .55), 0 0 10px rgba(52, 214, 255, .24) !important;
  }
  :root:root .clue-toast-icon > i { color: #1e3a8a !important; -webkit-text-fill-color: #1e3a8a; }
  :root:root .clue-toast-progress {
    background: linear-gradient(90deg, #60a5fa 0%, #34d6ff 55%, #a5f3fc 100%) !important;
    box-shadow: 0 0 6px rgba(52, 214, 255, .72) !important;
  }

  /* Keep the shared action-button border at 1px after generated night rules. */
  :root:root :is(.crm-workspace, .wheel-time-actions) :is(.iv-btn, .section-add-button, .add-bill-line, .inventory-clear, .company-logo-upload-button),
  :root:root :is(.quick-entity-dialog footer, .party-modal__footer) .iv-btn,
  :root:root .bfc-message-footer .bfc-btn,
  :root:root .login-page .login-card :is(.btn-login, .btn-google, .btn-register) { border-width: 1px !important; }

  /* Outline buttons at night: avoid the bright glass inset reading as a second border against the fine steel-blue edge. */
  /* :not(#crm-night) only raises priority above the glass rule's state checks; no element has that id. */
  :root:root :is(.iv-btn-secondary, .iv-btn-outline, .section-add-button, .add-bill-line, .inventory-clear, .bfc-btn.secondary, .login-page .login-card .btn-google, .login-page .login-card .btn-register):not(:hover):not(#crm-night) {
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .16), inset 0 -2px 3px rgba(190, 239, 255, .1), 0 3px 8px rgba(0, 0, 0, .22) !important;
  }

  /* Ring tracks at night (owner, 2026-11-25: the multi-ring chart's empty grey portion "is not looking good", Stock Health
     / Items on Demo rings "look cartoonish"; follow-up: "make it transparent the same way it looks in light mode"). By day
     the empty track is a light #dfe6ee 3D ring with a white gloss; drawn opaque on the dark card it shone as a solid white
     tyre. At night every track - multi-ring (Top Products, Leads by Status / Source, custom Radial), gauge (Stock Health,
     Module Record Health, Items on Demo, custom gauges) and the small table gauges - keeps the same light glass ring
     and gloss, but see-through: the same #dfe6ee at low opacity so the card shows through. Coloured arcs keep their day
     look. CSS fills override the drawn SVG colours, so a live switch between day and night needs no redraw. */
  :root:root { --gauge-track: rgba(223, 230, 238, .16); }
  :root:root :is(.radial-svg, .gauge-svg) .gauge-track-solid.donut-slice-face { fill: rgba(223, 230, 238, .16) !important; stroke: rgba(223, 230, 238, .4) !important; stroke-width: .6; }
  :root:root :is(.radial-svg, .gauge-svg) .gauge-track-solid.donut-slice-side { fill: rgba(223, 230, 238, .08) !important; stroke: rgba(223, 230, 238, .26) !important; filter: none !important; }
  :root:root :is(.radial-svg, .gauge-svg) .gauge-track-solid.donut-slice-gloss { opacity: .45; }

  /* Glass tubes at night (owner, 2026-11-25: progress bars and gauges look like glass tubes with the coloured progress
     inside, in both modes - see home.css "Glass tubes"). The same tube, with dimmer glass so it reads on the dark card:
     a faint light tint, softer reflection bands and glint, light rims. */
  :root:root {
    --glass-tube-tint: rgba(223, 230, 238, .1);
    --glass-tube-rim: rgba(223, 230, 238, .3);
    --glass-tube-shine: rgba(255, 255, 255, .4);
    --glass-tube-band: rgba(255, 255, 255, .22);
  }
  :root:root .crm-workspace :is(.receivable-bar-row > div, .module-health-track, .insight-meter, .tp3d__track) {
    background: linear-gradient(180deg, var(--glass-tube-band), rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .1)), var(--glass-tube-tint) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3), inset 0 -1px 1px rgba(255, 255, 255, .1) !important;
  }



  /* Keep the country-code separator visible on dark phone fields. */
  :root:root .address-country-prefix::after { background: #a3adb8; }
  :root:root .login-page.account-page .company-address-grid .phone-country-code { border-right-color: #a3adb8; }

  /* The phone country arrow keeps the standard dropdown arrow's grey #888 at night, like Select2's own arrows (which the
     generator never sees) - owner, 2026-11-25. */
  :root:root .address-country-prefix.phone-country-button::before { border-top-color: #888 !important; }

  /* Timeline Mark as Complete at night is built exactly like Cancel at night (owner, 2026-11-25: "let Mark as Complete follow
     the same colour and style formatting as Cancel, but the colour should remain the same"). Cancel's night gloss is a deep
     red-950 top (#2f0405) over its day red-600 / red-700; Complete gets the green equivalent - lime-950 #1a2e05 over its day
     lime-600 / lime-700 - instead of the generator's near-black. */
  :root:root .crm-workspace .lead-inline-timeline .activity-card-actions button[value="COMPLETED"] {
    border-color: #4d7c0f !important;
    background: linear-gradient(180deg, #1a2e05 0%, #65a30d 52%, #4d7c0f 100%) !important;
    color: #ffffff !important;
  }

  /* Navy (Save-style) buttons keep the same fine, visible 1px edge at night as by day - the application outline
     var(--crm-outline) (owner, 2026-11-26; was steel blue #7b93d6), so the
     border stays distinct from a dark footer without making the button look heavier than secondary actions. */
  :root:root :is(.crm-workspace, .wheel-time-actions, .quick-entity-dialog footer, .party-modal__footer) :is(.iv-btn-primary, .inventory-clear, .company-logo-upload-button),
  :root:root .login-page .login-card .btn-login,
  :root:root .bfc-message-footer .bfc-btn:not(.secondary) { border-color: var(--crm-control-border-color) !important; }
  /* Floating dropdown panels use the same subdued glass edge as Search, Notifications and More Options, not the field edge. */
  :root:root :is(.designer-field-popover, .dashboard-trend-popup, .insight-period-custom, .crm-search-panel,
      .crm-notifications-panel, .select2-dropdown, .phone-country-menu, .challan-address-options, .calendar-panel,
      .wheel-time-panel, .custom-field-datetime-panel):not(.index-transfer-menu) {
    border-width: 1px !important;
    border-style: solid !important;
    border-color: var(--crm-glass-outline) !important;
  }
  /* The olive Activate button (.iv-btn-success) had the same problem with its dark #3f4b22 border: at night it is lime
     #65a30d, the timeline Mark as Complete green. */
  :root:root :is(.crm-workspace, .wheel-time-actions) .iv-btn-success { border-color: #65a30d !important; }

  /* Group headings and the grid's column header keep their day colours at night (owner, 2026-11-26: "in the night mode
     don't change the colour of the view header"): parent headings the standard section-title navy, child headings and
     the column header the light steel-blue strip with navy text. */
  :root:root .crm-workspace .inventory-table .index-group-header .ledger-detail-heading { background: linear-gradient(180deg, #132c68 0%, #0d1e4d 100%) !important; border-color: var(--crm-outline); color: #ffffff; }
  :root:root .crm-workspace .inventory-table .index-group-header .ledger-detail-heading > strong,
  :root:root .crm-workspace .inventory-table .index-group-header .ledger-detail-heading .index-group-total { color: #ffffff !important; }
  :root:root .crm-workspace .inventory-table .index-group-header--nested .ledger-detail-heading { background: linear-gradient(180deg, #c8deef 0%, #b8d2e7 52%, #a9c7df 100%) !important; border-color: var(--crm-outline); color: #17365f; }
  :root:root .crm-workspace .inventory-table .index-group-header--nested .ledger-detail-heading > strong,
  :root:root .crm-workspace .inventory-table .index-group-header--nested .ledger-detail-heading .index-group-total { color: #17365f !important; }
  /* Sign-in password Strength meter: the form section's night shadow (2026-12-01). */
  :root:root:root .login-page .login-card .account-password-meter { box-shadow: 0 calc(1px / var(--auth-zoom, 1)) 0 0 rgba(0, 0, 0, .35) !important; }
  /* Sign-in Secure access text at night (2026-12-01): brighter than the generated colours. */
  :root:root:root .login-page .login-card .login-security-note strong { color: #d3e2fb !important; }
  :root:root:root .login-page .login-card .login-security-note small { color: #b4c1d4 !important; }
  /* Grid loading pill (2026-12-01): the spinner ring in the night accent on the grey pill. */
  :root:root .grid-loading-spinner { border-color: rgba(171, 199, 255, .25) !important; border-top-color: #abc7ff !important; }
  /* View Designer group heading grips (2026-11-28): dark on the light child heading, white on the navy main heading. */
  :root:root .crm-workspace .entity-view-designer .inventory-table .index-group-header--nested .ev-group-heading-grip { color: #17365f !important; }
  :root:root .crm-workspace .entity-view-designer .inventory-table .index-group-header:not(.index-group-header--nested) .ev-group-heading-grip { color: #ffffff !important; }
  :root:root .crm-workspace .inventory-table > thead,
  :root:root .crm-workspace .inventory-table > thead > tr,
  :root:root .crm-workspace .inventory-table > thead > tr > th { background: linear-gradient(180deg, #c8deef 0%, #b8d2e7 52%, #a9c7df 100%) !important; border-color: #819fb9 #91aec7; }
  :root:root .crm-workspace .inventory-table > thead > tr > th,
  :root:root .crm-workspace .inventory-table > thead > tr > th :is(a, span, button, i) { color: #17365f !important; text-shadow: none !important; }
  /* The header of an opened row's detail table (payments' bills, Stock Ledger / Opening Stock / Adjustment serials,
     Outstanding) keeps the same day strip at night too (owner, 2026-11-26). */
  :root:root .crm-workspace .ledger-detail-panel > table > thead,
  :root:root .crm-workspace .ledger-detail-panel > table > thead > tr,
  :root:root .crm-workspace .ledger-detail-panel > table > thead > tr > th,
  :root:root .crm-shell .crm-workspace .inventory-page .inventory-table-wrap .inventory-table .ledger-detail-row .ledger-detail-panel > table > thead > tr,
  :root:root .crm-shell .crm-workspace .inventory-page .inventory-table-wrap .inventory-table .ledger-detail-row .ledger-detail-panel > table > thead > tr > th { background: linear-gradient(180deg, #c8deef 0%, #b8d2e7 52%, #a9c7df 100%) !important; border-color: #819fb9 #91aec7; }
  :root:root .crm-workspace .ledger-detail-panel > table > thead > tr > th,
  :root:root .crm-shell .crm-workspace .inventory-page .inventory-table-wrap .inventory-table .ledger-detail-row .ledger-detail-panel > table > thead > tr > th { color: #17365f !important; text-shadow: none !important; }
  /* Stock Ledger's sticky header uses the shared grid-header gradient by day - the same at night (owner, 2026-11-26). */
  :root:root .crm-workspace .stock-ledger-grouped .inventory-table-wrap > .inventory-table > thead > tr > th { background: linear-gradient(180deg, #c8deef 0%, #b8d2e7 52%, #a9c7df 100%) !important; }
  /* Form grid headers follow the index grid header at night (owner, 2026-11-27): every line grid on a form (Sales /
     Purchase Bill, Quotation, Delivery Challan, Demo Unit, Purchase Order, editable Form Designer subgrids -
     .bill-lines-head) and a kit's Kit Items header keep the day steel-blue strip, navy labels and #91aec7 dividers. */
  :root:root .crm-workspace .bill-lines-head,
  :root:root .crm-workspace .inventory-form-card .bill-lines-head,
  :root:root .crm-workspace .kit-panel__row--head { background: linear-gradient(180deg, #c8deef 0%, #b8d2e7 52%, #a9c7df 100%) !important; border-bottom-color: #819fb9 !important; color: #17365f !important; text-shadow: none !important; }
  :root:root .crm-workspace :is(.bill-lines-head, .kit-panel__row--head),
  :root:root .crm-workspace :is(.bill-lines-head, .kit-panel__row--head) > span { color: #17365f !important; }
  :root:root .crm-workspace :is(.bill-lines-head, .kit-panel__row--head) > span::after { background: #91aec7 !important; }
  :root:root .crm-workspace .bill-lines-head :is(b, .required-marker) { color: #dc2626 !important; }
  :root:root .configured-subgrid .subgrid-grid-table thead th:not(:last-child):not(:empty)::after { background: #91aec7 !important; }
  /* ... and every other grid header on a form keeps the day look at night too (owner, 2026-11-27: Role Permissions):
     the permission grid header, and any table header inside a form card or a subgrid Add dialog. */
  :root:root .crm-workspace .permission-grid-header,
  :root:root .crm-workspace .inventory-form-card table > thead,
  :root:root .crm-workspace .inventory-form-card table > thead > tr,
  :root:root .crm-workspace .inventory-form-card table > thead > tr > th,
  :root:root .subgrid-lookup table > thead > tr > th { background: linear-gradient(180deg, #c8deef 0%, #b8d2e7 52%, #a9c7df 100%) !important; text-shadow: none !important; }
  :root:root .crm-workspace .permission-grid-header,
  :root:root .crm-workspace .permission-grid-header > div,
  :root:root .crm-workspace .inventory-form-card table > thead > tr > th,
  :root:root .crm-workspace .inventory-form-card table > thead > tr > th :is(a, span, button, i),
  :root:root .subgrid-lookup table > thead > tr > th,
  :root:root .subgrid-lookup table > thead > tr > th :is(a, span, button, i) { color: #17365f !important; }
  :root:root .crm-workspace .permission-grid-header > div:not(:last-child) { border-right-color: #91aec7 !important; }
  :root:root .crm-workspace .inventory-form-card table > thead > tr > th:not(:last-child) { border-right-color: #91aec7 !important; }
  :root:root .crm-workspace .inventory-form-card table > thead > tr > th { border-bottom-color: #819fb9 !important; }
  /* Role Permissions module headings (Dashboard, Parties, ...) keep their day look at night too (owner, 2026-11-27):
     the pale blue gradient with navy name, icon and arrow. */
  :root:root .crm-workspace .permission-module > summary { background: linear-gradient(180deg, #eaf3ff, #d9e8fb) !important; color: #16336d !important; text-shadow: none !important; }
  :root:root .crm-workspace .permission-module > summary :is(span, i, svg),
  :root:root .crm-workspace .permission-module > summary .permission-module-arrow { color: #16336d !important; }
  :root:root .crm-workspace .permission-grid-header { border-color: #819fb9 !important; }
  /* Stock quantities: brighter green / red at night (owner, 2026-11-26: looked dull). */
  :root:root .stock-in { color: #4ade80 !important; }
  :root:root .stock-out { color: #ff7a7a !important; }
  /* The shared outline (summary tiles, grids, footers, tabs, graphs): thin and clearly visible on the night greys
     (owner, 2026-11-26). */
  :root:root { --crm-outline: #8b949e; --crm-footer-divider: #8b949e; }
  :root:root { --crm-toast-outline: #aab6c4; }
  /* Password strength tube at night (owner, 2026-11-26): a lighter rim and dark tinted glass, like the dashboard's
     progress tubes at night; the coloured fill and running glow are unchanged. */
  :root:root .account-password-meter .account-strength-bar {
    border-color: rgba(203, 213, 225, .42) !important;
    background: linear-gradient(180deg, rgba(76, 76, 76, .55), rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .08)), rgba(30, 33, 38, .3) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35), 0 1px 1px rgba(255, 255, 255, .06) !important;
  }
  :root:root .account-password-meter .account-strength-bar::after { background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)) !important; }
  /* Password checklist labels at night: bright green / red, like the stock quantities (owner, 2026-11-26). */
  :root:root .account-password-meter .account-password-checklist li.valid,
  :root:root .account-password-meter .account-password-checklist li.valid i { color: #4ade80 !important; }
  :root:root .account-password-meter .account-password-checklist li.invalid,
  :root:root .account-password-meter .account-password-checklist li.invalid i { color: #ff7a7a !important; }
  /* Excellent at night: bar, tag and checklist text are all the bright green #4ade80 (owner, 2026-11-26). */
  :root:root .account-password-meter:has(.account-strength-tag--dark-green) #accountStrengthFill { background-color: #4ade80 !important; }
  :root:root .account-password-meter:has(.account-strength-tag--dark-green) .account-password-checklist li.valid,
  :root:root .account-password-meter:has(.account-strength-tag--dark-green) .account-password-checklist li.valid i { color: #4ade80 !important; }
  :root:root .account-password-meter .account-strength-tag.account-strength-tag--dark-green { --crm-tag-top: #bdf5d2; --crm-tag-upper: #86efac; --crm-tag-lower: #4ade80; --crm-tag-bottom: #6ee7a0; --crm-tag-rim: #16a34a; --crm-tag-ink: #0b3d20; }
  :root:root .account-password-meter .account-strength-bar > span { background-image: linear-gradient(180deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, .06) 45%, rgba(15, 23, 42, .16)) !important; }
  /* Buttons and text boxes: a step brighter than the shared night outline, so they read clearly (owner, 2026-11-26). */
  :root:root { --crm-control-border-color: #a3adb8; }
  /* Switches that are OFF (owner, 2026-11-26: "toggles when turned off in dark mode look white"): at night an off track is
     dark slate with the outline rim and a soft grey knob, instead of the day's light track and white knob. ON switches keep
     their navy track and white knob day and night. Every switch: form (.inventory-switch), designer / tile (.toggle-pill),
     party primary and the grid's Primary checkbox. */
  :root:root .inventory-switch > input:not(:checked) + span,
  :root:root .party-primary-switch input:not(:checked) + span,
  :root:root .bill-format-toggles input:not(:checked) + .toggle-pill,
  :root:root .inline-toggle-tile input:not(:checked) + .toggle-pill,
  :root:root .crm-workspace .party-grid-primary:not(:checked) {
    background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 55%), #3a4049 !important;
    box-shadow: inset 0 0 0 1px var(--crm-outline), inset 0 1px 2px rgba(0,0,0,.35) !important;
  }
  /* ON switches at night (owner, 2026-11-27: "not visible in dark mode", then "looks odd, not on theme"): the day's
     section-title navy track (#132c68 -> #0d1e4d, light top sheen) with a soft light-blue rim - the night header-label
     blue at 60% - so its edge shows on the dark card while it stays on theme; white knob. Day toggles are unchanged. */
  :root:root .inventory-switch > input:checked + span,
  :root:root .party-primary-switch input:checked + span,
  :root:root .bill-format-toggles input:checked + .toggle-pill,
  :root:root .inline-toggle-tile input:checked + .toggle-pill,
  :root:root .crm-workspace .party-grid-primary:checked {
    background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 55%), linear-gradient(180deg, #132c68, #0d1e4d) !important;
    box-shadow: inset 0 0 0 1px rgba(162,199,249,.6), inset 0 1px 1px rgba(255,255,255,.18) !important;
  }
  :root:root .inventory-switch > input:not(:checked) + span::after,
  :root:root .party-primary-switch input:not(:checked) + span::before,
  :root:root .bill-format-toggles input:not(:checked) + .toggle-pill::after,
  :root:root .inline-toggle-tile input:not(:checked) + .toggle-pill::after,
  :root:root .crm-workspace .party-grid-primary:not(:checked)::before {
    background: linear-gradient(180deg, #c3cad4, #a9b2bd) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.45) !important;
  }
  /* Terms and conditions editor (every document designer, #termsEditor): text keeps the colours chosen for the PRINTED
     document (inline, e.g. #172033), so at night the writing surface stays paper white like the A4 preview - dark text
     was invisible on the dark card (owner, 2026-11-26). The toolbar above it keeps the night look. */
  :root:root #termsEditor { background: #ffffff !important; color: #172033 !important; caret-color: #172033; }
  /* ON designer / tile toggles keep the white knob at night like form switches (the generator darkened it - they aren't
     named "switch"). */
  :root:root .bill-format-toggles input:checked + .toggle-pill::after,
  :root:root .inline-toggle-tile input:checked + .toggle-pill::after {
    background: linear-gradient(180deg, #fff, #f1f5f9) !important;
    box-shadow: 0 1px 3px rgba(15,23,42,.22), inset 0 1px 0 rgba(255,255,255,.9) !important;
  }
  /* Chart tracks (progress, bar and glass gauge tracks): a lighter rim at night so the track shows on the dark card
     (owner, 2026-11-26). */
  :root:root .dashboard-live { --glass-tube-rim: rgba(203, 213, 225, .42); }
  :root:root .crm-workspace :is(.inventory-stats article, .dashboard-module-card, .metric-card):not(:hover),
  :root:root .crm-workspace :is(.inventory-panel, .dashboard-card, .inventory-form-card) { box-shadow: 0 1px 0 rgba(0, 0, 0, .35) !important; }
}

@media (prefers-color-scheme: dark) {
    :root:root {
        --index-action-ink: #bbddff;
        --index-action-rim: #588ec7;
        --index-action-fill: #263e59;
        --index-action-glass: linear-gradient(180deg, rgba(61,104,151,.82), rgba(29,51,78,.88));
        --index-action-hover-glass: linear-gradient(180deg, rgba(73,122,176,.9), rgba(33,64,100,.9));
        --delete-action-ink: #fa98a6;
        --delete-action-rim: #b46a7a;
        --delete-action-fill: #593141;
        --delete-action-tint: linear-gradient(145deg, rgba(126,55,75,.86), rgba(75,36,54,.90));
        --delete-action-hover-tint: linear-gradient(145deg, rgba(146,67,90,.88), rgba(101,40,64,.92));
    }
    :root .crm-workspace .designer-page .designer-section__header .iv-delete-icon {
        --delete-action-tint: linear-gradient(145deg, rgba(213,112,143,.33), rgba(183,65,104,.20));
        --delete-action-hover-tint: linear-gradient(145deg, rgba(213,112,143,.43), rgba(183,65,104,.28));
    }
}
