@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700;800&display=swap";:root{--color-primary:#ef4444;--color-primary-dark:#dc2626;--color-primary-deep:#b91c1c;--color-primary-light:#f3f4f6;--color-primary-soft:#e5e7eb;--brand-border-color:#ef44443d;--color-white:#fff;--color-bg:#fff;--color-text:#111827;--color-muted:#6b7280;--color-border:var(--brand-border-color);--color-success:#16a34a;--color-warning:#f59e0b;--color-danger:#dc2626;--radius-sm:6px;--radius-md:10px;--radius-lg:16px;--radius-xl:20px;--shadow-sm:0 1px 2px #0f172a0f;--shadow-md:0 8px 24px #0f172a14;--shadow-lg:0 12px 32px #ef44441f;--bg:var(--color-bg);--bg-soft:var(--color-primary-light);--panel:var(--color-white);--panel-strong:var(--color-white);--panel-dark:var(--color-primary-deep);--text:var(--color-text);--muted:var(--color-muted);--border:var(--color-border);--border-strong:var(--color-border);--sky:var(--color-primary);--sky-deep:var(--color-primary-dark);--sky-soft:#9f174d1f;--shadow:var(--shadow-md);--shadow-soft:var(--shadow-sm);--font-sans:"DM Sans", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;--font-size-base:14px;--line-height-base:1.5;--icon-size-nav:18px;--icon-size-button:16px;--icon-size-inline:15px}html,body,#root{width:100%;min-height:100%;margin:0;padding:0;overflow-x:hidden}*,:before,:after{box-sizing:border-box}@media screen{*,:before,:after{border-color:var(--brand-border-color)!important}hr{background-color:var(--brand-border-color)}}body{background:var(--color-bg);color:var(--color-text);font-family:var(--font-sans);font-size:var(--font-size-base);line-height:var(--line-height-base);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow:hidden auto}.crm-page{box-sizing:border-box;width:100%;min-width:0;max-width:100%;overflow-x:hidden}.crm-section{gap:16px;width:100%;min-width:0;display:grid}.crm-grid{gap:12px;width:100%;min-width:0;display:grid}.crm-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.crm-card{background:linear-gradient(#fffffffa 0%,#fcfcfdfa 100%);border:1px solid #ef444424;border-radius:16px;box-shadow:0 8px 24px #0f172a14}.crm-kpi-card{background:linear-gradient(#fffffffa 0%,#fafafcf0 100%);border:1px solid #ef44442e;box-shadow:0 10px 28px #0f172a14,inset 0 1px #ffffffb3}.crm-chart-card{background:linear-gradient(#fffffffa 0%,#fcfcfdfa 100%);border:1px solid #ef444424}.crm-filter-card{background:linear-gradient(#fffffffc 0%,#fffffff7 100%)}.crm-table-card{background:linear-gradient(#fff 0%,#fefeff 100%)}.crm-scroll-table{-webkit-overflow-scrolling:touch;width:100%;max-width:100%;overflow:auto hidden}.table-clean,.crm-table-card table,.crm-table-shell table,.table-scroll-x table{border-collapse:separate;border-spacing:0;width:100%}.table-clean thead th,.crm-table-card table thead th,.crm-table-shell table thead th,.table-scroll-x table thead th{min-height:38px;z-index:2!important;color:#4b5563!important;letter-spacing:.02em!important;text-transform:uppercase!important;text-align:left!important;vertical-align:middle!important;white-space:normal!important;text-overflow:clip!important;background:#f8fafc!important;border-bottom:1px solid #e2e8f0e6!important;height:auto!important;padding:8px 12px!important;font-size:11px!important;font-weight:600!important;line-height:1.3!important;position:sticky!important;top:0!important;overflow:visible!important}.table-clean tbody td,.crm-table-card table tbody td,.crm-table-shell table tbody td,.table-scroll-x table tbody td{color:#334155!important;vertical-align:middle!important;background:#fff!important;border-bottom:1px solid #f1f5f9f2!important;min-height:42px!important;padding:10px 12px!important;font-size:13px!important;font-weight:500!important;line-height:1.35!important}.table-clean tbody tr:last-child td,.crm-table-card table tbody tr:last-child td,.crm-table-shell table tbody tr:last-child td,.table-scroll-x table tbody tr:last-child td{border-bottom:none}.table-header-cell{white-space:normal;word-break:keep-all;overflow-wrap:anywhere;text-transform:uppercase!important;letter-spacing:.03em!important;font-size:11px!important}.table-header-cell>span{white-space:normal;line-height:1.2;display:block}.crm-action-chip{transition:background-color .15s,border-color .15s,box-shadow .15s,transform .15s}.crm-action-chip:hover:not(:disabled),.crm-action-chip:focus-visible:not(:disabled){transform:translateY(-1px);background:#f8fafc!important;border-color:#94a3b8e6!important;box-shadow:0 8px 20px #0f172a14!important}.crm-action-chip:focus-visible{outline:none}.crm-action-chip .crm-action-chip-icon{transition:background-color .15s,border-color .15s}.crm-action-chip:hover:not(:disabled) .crm-action-chip-icon,.crm-action-chip:focus-visible:not(:disabled) .crm-action-chip-icon{background:#fff!important;border-color:#94a3b8e6!important}.crm-action-menu-panel{overflow:hidden}.crm-action-menu-item{transition:background-color .12s,color .12s}.crm-action-menu-item:hover:not(:disabled),.crm-action-menu-item:focus-visible:not(:disabled){color:#111827!important;background:#ef444414!important}.table-text-cell,.table-name-cell{text-align:left!important}.table-name-cell{color:#111827!important;font-weight:700!important}.table-number-cell{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1, "lnum" 1;text-align:right!important}.table-percent-cell{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1, "lnum" 1;text-align:center!important}.table-status-cell{text-align:center!important}.table-actions-cell{text-align:right!important}.table-actions-cell>*{margin-left:auto}.stock-items-left-cell.table-number-cell,.stock-items-left-cell.table-status-cell,.stock-items-left-cell.table-actions-cell{text-align:left!important}.stock-items-left-cell.table-actions-cell>*{margin-left:0}.stock-items-table tbody tr.stock-items-row td{height:60px}.stock-items-table tbody td.table-number-cell.stock-items-left-cell,.stock-items-table tbody td.table-status-cell.stock-items-left-cell,.stock-items-table tbody td.table-actions-cell.stock-items-left-cell{text-align:left!important}.stock-items-table tbody td.table-actions-cell.stock-items-left-cell>*{margin-left:0}.table-sticky-first{z-index:1;background:inherit;position:sticky;left:0}.crm-page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;width:100%;min-width:0;display:flex}.crm-page-header-copy{flex:320px;gap:4px;min-width:0;display:grid}.crm-page-header-action{justify-content:flex-end;align-items:flex-start;gap:8px;max-width:100%;display:flex}.crm-badge{white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:4px 10px;font-size:12px;font-weight:700;line-height:1;display:inline-flex}.crm-progress{background:#e5e7eb;border-radius:999px;width:100%;height:10px;overflow:hidden}.crm-progress>span{border-radius:inherit;background:linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);height:100%;display:block}@media (width>=769px) and (width<=1199px){.crm-grid-3,.crm-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=768px){.crm-grid-2,.crm-grid-3,.crm-grid-4{grid-template-columns:1fr}.crm-section{gap:14px}.crm-card,.crm-kpi-card{border-radius:14px}.crm-page-header{flex-direction:column;align-items:stretch}.crm-page-header-copy{flex:none;width:100%}.crm-page-header-action{justify-content:flex-start;width:100%}.crm-page-header-action>*{width:100%}}h1,h2,h3,h4,h5,h6{letter-spacing:-.02em}input,select,textarea,button{font-family:var(--font-sans)}.crm-modal-overlay{z-index:4000;background:#0f172a6b;place-items:center;padding:clamp(12px,3vh,24px);display:grid;position:fixed;inset:0;overflow-y:auto}.crm-modal{background:var(--color-white);background-clip:padding-box;border:1px solid #11182759;border-radius:16px;flex-direction:column;width:min(100%,860px);max-height:92vh;display:flex;overflow:hidden;box-shadow:0 24px 70px #00000047}.crm-modal-large{width:min(100%,1040px)}.crm-modal-normal{width:min(100%,860px)}.crm-modal-header{min-height:64px;color:var(--color-white);background:var(--color-primary);border-bottom:1px solid var(--brand-border-color);border-top-left-radius:inherit;border-top-right-radius:inherit;justify-content:space-between;align-items:center;gap:12px;padding:16px 22px;display:flex}.crm-modal-title{letter-spacing:0;color:inherit;margin:0;font-size:24px;font-weight:800;line-height:1.2}.crm-modal-body{background:var(--color-white);flex:1;min-height:0;padding:22px 24px;overflow-y:auto}.crm-modal-footer{z-index:2;border-top:1px solid var(--brand-border-color);background:var(--color-white);flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;min-height:58px;padding:12px 24px;display:flex;position:sticky;bottom:0}.crm-modal-surface{background-clip:padding-box;background:#fff!important;border:1px solid #11182759!important;overflow:hidden!important;box-shadow:0 24px 70px #00000047!important}.crm-modal-surface-header{border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom:1px solid var(--brand-border-color)!important}.crm-modal-surface-body{background:#fff!important}.crm-modal-surface-footer{border-top:1px solid var(--brand-border-color)!important;background:#fff!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:14px!important;padding:12px 24px!important;display:flex!important}.crm-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px 18px;display:grid}.crm-form-row{gap:6px;width:100%;min-width:0;display:grid}.crm-form-label{letter-spacing:.02em;text-transform:uppercase;color:var(--color-muted);margin:0 0 6px;font-size:12px;font-weight:600;line-height:1.25}.crm-input,.crm-select,.crm-textarea,.crm-modal input:not([type=checkbox]):not([type=radio]),.crm-modal select,.crm-modal textarea{border:1px solid var(--color-border);background:var(--color-white);width:100%;min-height:40px;color:var(--color-text);border-radius:11px;outline:none;padding:0 12px;font-size:14px;line-height:1.35}.crm-input[type=number],.crm-modal input[type=number]{appearance:textfield}.crm-input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.crm-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.crm-modal input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.crm-modal input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.crm-textarea,.crm-modal textarea{resize:vertical;min-height:80px;padding:10px 12px}.crm-helper-text{color:var(--color-muted);margin:0;font-size:12px;line-height:1.35}.crm-btn,.crm-modal button{border-radius:12px;min-height:40px;padding:0 16px;font-size:14px;line-height:1.2}.crm-modal-footer .crm-btn,.crm-modal-footer button,.crm-modal-surface-footer .crm-btn,.crm-modal-surface-footer button{width:auto;min-width:max-content;min-height:40px;box-shadow:none;border-radius:999px;padding:0 18px;font-size:13px;font-weight:700;line-height:1.1}.crm-modal-footer .crm-btn:hover,.crm-modal-footer button:hover,.crm-modal-surface-footer .crm-btn:hover,.crm-modal-surface-footer button:hover{transform:translateY(-1px)}.crm-check-row,.crm-radio-row{color:var(--color-text);flex-wrap:wrap;align-items:center;gap:8px 14px;font-size:13px;display:flex}:is(.crm-check-row label,.crm-radio-row label,.crm-modal label:has(input[type=checkbox]),.crm-modal label:has(input[type=radio])){align-items:center;gap:7px;display:inline-flex}.crm-modal input[type=checkbox],.crm-modal input[type=radio]{width:16px;height:16px;accent-color:var(--color-primary)}@media (width<=1199px){.crm-modal,.crm-modal-large,.crm-modal-normal{width:92vw}.crm-modal-body{padding:18px}.crm-form-grid{gap:12px 16px}}@media (width<=768px){.crm-modal-overlay{padding:12px}.crm-modal,.crm-modal-large,.crm-modal-normal{width:96vw;max-height:92vh}.crm-modal-header{min-height:60px;padding:14px 16px}.crm-modal-title{font-size:22px}.crm-modal-body{padding:16px 14px}.crm-form-grid{grid-template-columns:1fr;gap:12px}.crm-modal-footer{padding:10px 14px calc(10px + env(safe-area-inset-bottom))}}@media (width<=480px){.crm-modal-overlay{padding:10px 8px}.crm-modal-header{min-height:58px;padding:12px 14px}.crm-modal-title{font-size:21px}.crm-modal-body{padding:12px}.crm-modal-footer{justify-content:center}.crm-modal-footer .crm-btn,.crm-modal-footer button{flex:0 auto}.crm-form-label{margin-bottom:4px;font-size:11px}.crm-check-row,.crm-radio-row{gap:6px 10px;font-size:12px}:is(.crm-check-row label,.crm-radio-row label,.crm-modal label:has(input[type=checkbox]),.crm-modal label:has(input[type=radio])){gap:6px}.crm-input,.crm-select,.crm-textarea,.crm-modal input:not([type=checkbox]):not([type=radio]),.crm-modal select,.crm-modal textarea{border-radius:10px;min-height:36px;padding:0 10px;font-size:13px}.crm-textarea,.crm-modal textarea{min-height:72px;padding:8px 10px}}input.pac-target-input{background-image:none!important;background-position:right 10px center!important;background-repeat:no-repeat!important;padding-right:34px!important}.pac-container{z-index:5005!important;border:1px solid var(--brand-border-color)!important;border-radius:10px!important;overflow:hidden!important;box-shadow:0 10px 24px #0f172a24!important}.pac-item{padding:8px 10px!important;font-size:13px!important;line-height:1.35!important}table{border-collapse:collapse}.app-layout{background:var(--color-bg);width:100%;height:100dvh;min-height:100dvh;display:flex;overflow:hidden}.sidebar{z-index:60;flex:0 0 280px;width:280px;height:100vh;position:sticky;top:0;overflow:hidden auto}.main-wrapper{flex-direction:column;flex:1;width:calc(100% - 280px);min-width:0;min-height:0;display:flex;overflow:hidden}.topbar{z-index:50;background:var(--color-white);border-bottom:1px solid var(--color-border);width:100%;height:72px;box-shadow:var(--shadow-sm);position:sticky;top:0}.main-content{flex:1;width:100%;min-width:0;min-height:0;padding:24px;overflow:clip auto}.dashboard-container{width:100%;min-width:0;max-width:1440px;margin:0 auto;overflow-x:clip}.sidebar-overlay{z-index:55;background:#0f172a73;border:0;padding:0;display:none;position:fixed;inset:0}.sidebar-overlay.show{display:block}.desktop-only{display:block!important}.mobile-only{display:none!important}.hamburger,.menu-toggle{display:none}@media (width>=1200px){.dashboard-grid,.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;display:grid}.content-grid,.dashboard-section-grid{grid-template-columns:2fr 1fr;gap:24px;display:grid}.hero-section,.command-center{width:100%}.module-workspace-hero{grid-template-columns:1.6fr 1fr}.module-workspace-grid{grid-template-columns:1.15fr .85fr}}@media (width>=992px) and (width<=1199px){.sidebar{flex-basis:240px;width:240px}.main-wrapper{width:calc(100% - 240px)}.main-content{padding:20px}.stats-grid,.dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.content-grid,.dashboard-section-grid{grid-template-columns:1fr}.module-workspace-hero{grid-template-columns:1fr;padding:24px}.module-workspace-grid{grid-template-columns:1fr}}@media (width>=768px) and (width<=991px){.sidebar{z-index:1000;flex-basis:280px;width:280px;transition:left .3s;position:fixed;top:0;left:-280px}.sidebar.open{left:0}.main-wrapper{width:100%;margin-left:0}.main-content{padding:18px}.stats-grid,.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid,.dashboard-section-grid{grid-template-columns:1fr}.hamburger,.menu-toggle{display:flex}.module-workspace-hero{grid-template-columns:1fr;padding:22px}.module-workspace-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.module-workspace-grid{grid-template-columns:1fr}.module-workspace-title{font-size:26px!important;line-height:1.2!important}}@media (width<=767px){html,body,#root{width:100%;overflow-x:hidden}.app-layout{height:auto;min-height:100dvh;display:block;overflow:visible}.sidebar{z-index:1000;width:280px;max-width:85vw;height:100vh;transition:left .3s;position:fixed;top:0;left:-280px}.sidebar.open{left:0}.main-wrapper{width:100%;margin-left:0}.topbar{height:64px;padding:0 12px}.main-content{padding:14px}.dashboard-container{max-width:100%}.stats-grid,.dashboard-grid,.content-grid,.dashboard-section-grid,.form-grid{grid-template-columns:1fr;gap:14px;display:grid}.hero-section,.command-center{border-radius:18px;padding:20px}.hero-section h1,.command-center h1{font-size:26px;line-height:1.2}.hero-inner,.command-center-inner{grid-template-columns:1fr;gap:16px;display:grid}.card,.dashboard-card,.stat-card{width:100%}.module-workspace-hero{padding:16px!important}.module-workspace-stats{grid-template-columns:1fr;gap:14px;margin-top:18px;display:grid}.module-workspace-grid{grid-template-columns:1fr}.module-workspace-title{font-size:22px!important;line-height:1.2!important}.table-wrapper,.responsive-table{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.table-wrapper table,.responsive-table table{min-width:700px}input,select,textarea,button{max-width:100%}input,select,textarea{font-size:16px!important}.primary-btn,.btn-primary,.secondary-btn,.btn-secondary{width:100%}.desktop-only{display:none!important}.mobile-only{display:block!important}}@media (width<=420px){.main-content{padding:10px}.hero-section,.command-center{padding:16px}.hero-section h1,.command-center h1{font-size:22px}.card,.dashboard-card,.stat-card{padding:14px}.topbar{height:58px}}img,video,canvas{max-width:100%;height:auto}svg{max-width:none}table{background:var(--color-white);width:100%;border-collapse:separate!important;border-spacing:0!important;border-radius:0!important;overflow:visible!important}thead{color:#6b7280;background:#f8fafc}table th{white-space:nowrap;font-family:var(--font-sans)!important;letter-spacing:.04em!important;text-transform:uppercase!important;color:#6b7280!important;border-bottom:1px solid var(--color-border)!important;padding:12px 14px!important;font-size:12px!important;font-weight:800!important}table td{font-family:var(--font-sans)!important;color:#334155!important;border-bottom:1px solid var(--brand-border-color)!important;vertical-align:middle!important;padding:11px 14px!important;font-size:13px!important;font-weight:600!important;line-height:1.45!important}table thead tr:first-child th:first-child{border-top-left-radius:0!important}table thead tr:first-child th:last-child{border-top-right-radius:0!important}table tbody tr:last-child td:first-child{border-bottom-left-radius:0!important}table tbody tr:last-child td:last-child{border-bottom-right-radius:0!important}.table-wrapper,.responsive-table{border-radius:0!important;overflow:auto!important}tbody tr{background:#fff;transition:background-color .15s}tbody tr:nth-child(2n){background:#fcfdff}tbody tr:hover{background:#f8fafc}.responsive-table,.table-wrapper{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}button,input,select,textarea,.btn{font:inherit;min-width:0;max-width:100%}button,.btn{border-radius:var(--radius-md);letter-spacing:.01em;cursor:pointer;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 16px;font-size:14px;font-weight:700;line-height:1;transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s,transform .12s;display:inline-flex}button .lucide,.btn .lucide{width:var(--icon-size-button);height:var(--icon-size-button);stroke-width:2.2px;flex-shrink:0;display:block}.sidebar-nav-item .lucide,.topbar .lucide{width:var(--icon-size-nav);height:var(--icon-size-nav);flex-shrink:0}p .lucide,span .lucide,h1 .lucide,h2 .lucide,h3 .lucide,h4 .lucide,h5 .lucide,h6 .lucide{width:var(--icon-size-inline);height:var(--icon-size-inline);flex-shrink:0}@media (width>=1200px){:root{--icon-size-nav:22px;--icon-size-button:20px;--icon-size-inline:18px}}@media (width>=768px) and (width<=1199px){:root{--icon-size-nav:18px;--icon-size-button:16px;--icon-size-inline:15px}}@media (width<=767px){:root{--icon-size-nav:17px;--icon-size-button:15px;--icon-size-inline:14px}}@media (orientation:landscape) and (width<=991px){:root{--icon-size-nav:18px;--icon-size-button:16px}}button:focus-visible,.btn:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb, var(--color-primary) 24%, transparent);outline:none}button:disabled,.btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.btn-primary,button[type=submit],.primary-btn{background:var(--color-primary);color:var(--color-white);border:1px solid var(--color-primary)}.btn-primary:hover,button[type=submit]:hover,.primary-btn:hover{background:var(--color-primary-dark);border-color:var(--color-primary-dark);color:#fff}.btn-secondary,.secondary-btn{background:var(--color-white);color:var(--color-primary);border:1px solid var(--color-primary)}.btn-secondary:hover,.secondary-btn:hover{background:var(--color-primary-light)}.card,.dashboard-card,.stat-card,.modal-content,.form-card,.panel{background:var(--color-white);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.card:hover,.dashboard-card:hover,.stat-card:hover{box-shadow:var(--shadow-md)}input,select,textarea{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-white);-webkit-text-fill-color:#111827;opacity:1;color:#111827!important}input::placeholder,textarea::placeholder{opacity:1;color:#6b7280!important}input:disabled,select:disabled,textarea:disabled,input[readonly],textarea[readonly]{-webkit-text-fill-color:#111827;opacity:1;color:#111827!important}input:focus,select:focus,textarea:focus{border-color:var(--color-primary);outline:none;box-shadow:0 0 0 3px #9f174d26}.sidebar{background:var(--color-white);border-right:1px solid var(--color-border)}.sidebar .active,.sidebar a.active,.menu-item.active,.nav-link.active{background:var(--color-primary);color:var(--color-white);border-radius:var(--radius-md);font-weight:700}.sidebar a:hover,.menu-item:hover,.nav-link:hover{background:var(--color-primary-light);color:var(--color-primary);border-radius:var(--radius-md)}.sidebar-nav-item:hover{background:var(--color-primary-light)!important;color:var(--color-primary)!important}.sidebar-nav-item.active{background:var(--color-primary)!important;color:var(--color-white)!important}.header,.topbar,.navbar{background:var(--color-white);border-bottom:1px solid var(--color-border);box-shadow:var(--shadow-sm)}.icon-box,.stat-icon,.dashboard-icon,.action-icon{background:var(--color-primary-light);color:var(--color-primary);border-radius:var(--radius-lg)}.badge-primary,.badge-scheduled,.badge-pending{background:var(--color-primary-soft);color:var(--color-primary-dark)}.badge-success,.badge-completed{color:#166534;background:#dcfce7}.badge-warning{color:#92400e;background:#fef3c7}.badge-danger,.badge-cancelled{color:#991b1b;background:#fee2e2}.login-page{background:linear-gradient(135deg,#b91c1c 0%,#ef4444 50%,#f87171 100%)}.login-card{background:var(--color-white);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg)}.calendar .active-date,.date-active,.selected-date{background:var(--color-primary);color:var(--color-white);border-radius:999px}.kanban-column-header{background:var(--color-primary-light);color:var(--color-primary-dark)}.mobile-header,.mobile-topbar{background:var(--color-primary);color:var(--color-white)}.mobile-bottom-nav{background:var(--color-white);border-top:1px solid var(--color-border)}.mobile-bottom-nav .active{color:var(--color-primary)}.floating-action-btn{background:var(--color-primary);color:var(--color-white);box-shadow:var(--shadow-lg)}.floating-action-btn:hover{background:var(--color-primary-dark)}.responsive-stack{gap:12px;display:grid}.responsive-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.responsive-grid-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.responsive-grid-4{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.mobile-scroll-x{-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.min-w-0{min-width:0}*{scrollbar-width:thin;scrollbar-color:color-mix(in srgb, var(--color-primary) 55%, transparent) color-mix(in srgb, var(--color-primary-light) 88%, white)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:color-mix(in srgb, var(--color-primary-light) 88%, white)}::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--color-primary) 55%, transparent);border-radius:999px}::-webkit-scrollbar-thumb:hover{background:color-mix(in srgb, var(--color-primary-dark) 70%, transparent)}@keyframes fadeRise{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}#root{animation:.22s ease-out fadeRise}@keyframes crm-spin{to{transform:rotate(360deg)}}@media (width<=1024px){.responsive-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.responsive-grid-2,.responsive-grid-3,.responsive-grid-4{grid-template-columns:1fr}}.crm-table-shell{-webkit-overflow-scrolling:touch;scrollbar-width:thin;width:100%;max-width:100%;overflow-y:visible;overflow-x:auto!important}.crm-table-shell.crm-table-shell--clipped{background-clip:padding-box;overflow:auto hidden!important}.crm-compact-table{max-width:100%;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important;width:100%!important}.crm-compact-table thead th{z-index:2;position:sticky;top:0;letter-spacing:.02em!important;text-transform:uppercase!important;color:#4b5563!important;white-space:normal!important;text-overflow:clip!important;vertical-align:middle!important;background:#f8fafc!important;border-bottom:1px solid #e2e8f0f2!important;height:auto!important;min-height:38px!important;padding:8px 12px!important;font-size:11px!important;font-weight:600!important;line-height:1.3!important;overflow:visible!important}.crm-compact-table tbody td{color:#334155!important;white-space:nowrap!important;text-overflow:ellipsis!important;vertical-align:middle!important;border-bottom:1px solid #f1f5f9f2!important;min-height:46px!important;padding:10px 12px!important;font-size:13px!important;font-weight:500!important;line-height:1.3!important;overflow:hidden!important}.crm-compact-table td>*,.crm-compact-table th>*{min-width:0}.crm-compact-table select,.crm-compact-table input:not([type=checkbox]):not([type=radio]){border-radius:7px!important;height:28px!important;min-height:28px!important;padding:0 8px!important;font-size:12px!important}.crm-compact-table button{border-radius:7px!important;gap:5px!important;min-width:0!important;height:28px!important;min-height:28px!important;padding:0 9px!important;font-size:12px!important}.crm-compact-table .crm-icon-action-btn{flex:0 0 30px!important;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;padding:0!important}.crm-compact-table .crm-table-primary{color:#1f2937!important;font-weight:700!important}.crm-compact-table .crm-table-muted{text-overflow:ellipsis;white-space:nowrap;margin-top:2px;display:block;overflow:hidden;color:#64748b!important;font-size:11px!important;font-weight:500!important}.crm-compact-table .crm-cell-wrap{text-overflow:ellipsis;white-space:nowrap;min-width:0;text-align:inherit;display:block;overflow:hidden}.crm-compact-table.invoice-register-table{max-width:100%;display:table;width:100%!important;min-width:var(--invoice-table-min-width,934px)!important;table-layout:fixed!important}.crm-compact-table.invoice-register-table thead th,.crm-compact-table.invoice-register-table tbody td{vertical-align:middle!important}.crm-compact-table.invoice-register-table tbody td{height:42px!important;min-height:42px!important;padding-top:8px!important;padding-bottom:8px!important}.crm-compact-table.invoice-register-table tbody td[data-label=Action],.crm-compact-table.invoice-register-table tbody td[data-label=Select]{text-align:center!important}.crm-compact-table.lead-followups-table .lead-followups-customer-stack{align-items:baseline;gap:4px;min-width:0;display:flex;overflow:hidden}.crm-compact-table.lead-followups-table .lead-followups-customer-stack .crm-table-primary{flex:0 auto;max-width:58%;font-size:11px!important;font-weight:700!important}.crm-compact-table.lead-followups-table .lead-followups-customer-stack .crm-table-muted{flex:0 auto;min-width:0;margin-top:0;display:block;font-size:9px!important;font-weight:600!important}@media (width>=769px) and (width<=1199px){.crm-compact-table thead th{padding:0 10px!important;font-size:11px!important}.crm-compact-table tbody td{padding:9px 10px!important;font-size:12px!important}.crm-compact-table.invoice-register-table thead th{padding:0 9px!important;font-size:11px!important}.crm-compact-table.invoice-register-table tbody td{height:38px!important;min-height:38px!important;padding:7px 9px!important;font-size:12px!important}.crm-compact-table.invoice-register-table .crm-icon-action-btn,.crm-compact-table.invoice-register-table .rowActionButton{width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important}}@media (width<=768px){.crm-table-shell{overflow-y:hidden;border:1px solid var(--color-border)!important;background:#fff!important;overflow-x:auto!important}.crm-compact-table.crm-readable-mobile-table thead th{text-transform:uppercase!important;white-space:normal!important;vertical-align:middle!important;height:38px!important;min-height:38px!important;padding:0 10px!important;line-height:1.15!important}.crm-compact-table.crm-readable-mobile-table .crm-readable-header-button{justify-content:flex-start;width:100%;white-space:normal!important;text-overflow:clip!important;height:auto!important;min-height:0!important;padding:0!important;line-height:1.15!important;overflow:visible!important}.crm-compact-table.crm-stack-mobile{min-width:max(100%, var(--mobile-table-min-width,760px));table-layout:auto!important;border-collapse:separate!important;border-spacing:0!important;background:#fff!important;width:max-content!important;max-width:none!important;display:block!important}.crm-compact-table.crm-stack-mobile thead,.crm-compact-table.crm-stack-mobile tbody{display:block!important}.crm-compact-table.crm-stack-mobile tr{grid-template-columns:var(--mobile-table-columns);width:max-content;min-width:100%;display:grid!important}.crm-compact-table.crm-stack-mobile th,.crm-compact-table.crm-stack-mobile td{box-sizing:border-box;align-items:center;min-width:0;width:100%!important;max-width:none!important;display:flex!important}.crm-compact-table.crm-stack-mobile tbody td{text-overflow:ellipsis;overflow:hidden;border-bottom:1px solid var(--brand-border-color)!important;white-space:nowrap!important;vertical-align:middle!important;height:40px!important;min-height:40px!important;padding:8px 9px!important}.crm-compact-table.crm-stack-mobile thead th{z-index:auto!important;border-bottom:1px solid var(--color-border)!important;text-transform:uppercase!important;white-space:nowrap!important;text-overflow:ellipsis!important;vertical-align:middle!important;height:38px!important;padding:0 9px!important;position:static!important;top:auto!important;left:auto!important;overflow:hidden!important}.crm-compact-table.crm-stack-mobile tbody td:before{display:none}.crm-compact-table.crm-stack-mobile tbody td[data-label=Actions],.crm-compact-table.crm-stack-mobile tbody td[data-label=Action]{text-align:center;overflow:visible!important}.crm-compact-table.crm-stack-mobile button{white-space:nowrap!important;height:30px!important;min-height:30px!important}.crm-compact-table.lead-followups-table tbody td{height:38px!important;min-height:38px!important;padding-top:6px!important;padding-bottom:6px!important;line-height:1.12!important}.technician-assigned-jobs-table,.technician-job-details-table{table-layout:fixed!important;width:100%!important;min-width:0!important}.technician-assigned-jobs-table th,.technician-assigned-jobs-table td,.technician-job-details-table th,.technician-job-details-table td{white-space:normal!important;text-overflow:clip!important;vertical-align:middle!important;padding:8px 10px!important;font-size:11px!important;line-height:1.15!important;overflow:hidden!important}.technician-assigned-jobs-table .crm-table-primary{font-size:12px!important}.technician-assigned-jobs-table .crm-cell-wrap,.technician-job-details-table .crm-cell-wrap{white-space:nowrap!important}.technician-assigned-jobs-table button,.technician-job-details-table button{white-space:nowrap!important;height:28px!important;min-height:28px!important;padding:0 10px!important;font-size:10px!important}.technician-assigned-jobs-table th:first-child,.technician-assigned-jobs-table td:first-child{white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;width:22%!important;min-width:22%!important}.technician-assigned-jobs-table th:nth-child(2),.technician-assigned-jobs-table td:nth-child(2){width:15%!important;min-width:15%!important}.technician-assigned-jobs-table th:nth-child(3),.technician-assigned-jobs-table td:nth-child(3){white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;width:16%!important;min-width:16%!important}.technician-assigned-jobs-table th:nth-child(4),.technician-assigned-jobs-table td:nth-child(4){text-align:center!important;width:7%!important;min-width:7%!important}.technician-assigned-jobs-table th:nth-child(5),.technician-assigned-jobs-table td:nth-child(5){white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;width:16%!important;min-width:16%!important}.technician-assigned-jobs-table th:nth-child(6),.technician-assigned-jobs-table td:nth-child(6){white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;width:14%!important;min-width:14%!important}.technician-assigned-jobs-table th:nth-child(7),.technician-assigned-jobs-table td:nth-child(7){text-align:center!important;width:10%!important;min-width:10%!important}.technician-assigned-jobs-table td:nth-child(4),.technician-assigned-jobs-table td:nth-child(7){text-align:center!important}.crm-compact-table.lead-followups-table tbody td.lead-followups-customer-cell{flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:1px!important}.crm-compact-table.lead-followups-table .lead-followups-customer-stack{flex-direction:column;align-items:stretch;gap:1px;width:100%;display:flex}.crm-compact-table.lead-followups-table .lead-followups-customer-cell .crm-table-primary,.crm-compact-table.lead-followups-table .lead-followups-customer-cell .crm-table-muted{width:100%;max-width:100%;margin-top:0!important;line-height:1.08!important}.crm-compact-table.lead-followups-table .lead-followups-customer-cell .crm-table-primary{font-size:11px!important}.crm-compact-table.lead-followups-table .lead-followups-customer-cell .crm-table-muted{font-size:9px!important;font-weight:600!important}.contract-customer-link-btn{text-align:left!important;white-space:normal!important;word-break:break-word!important;justify-content:flex-start!important;align-items:flex-start!important;width:100%!important;min-width:0!important;height:auto!important;min-height:auto!important;padding:0!important;line-height:1.25!important;display:flex!important;overflow:visible!important}.contract-customer-cell{white-space:normal!important;justify-content:flex-start!important;align-items:flex-start!important;height:auto!important;min-height:64px!important;overflow:visible!important}.contract-customer-cell .contract-customer-link-btn,.contract-customer-cell .contract-customer-name{width:100%!important;min-width:0!important;height:auto!important;min-height:auto!important;box-shadow:none!important;text-align:left!important;white-space:nowrap!important;text-overflow:ellipsis!important;background:0 0!important;border:0!important;margin:0!important;padding:0!important;font-size:11px!important;font-weight:700!important;line-height:1.15!important;display:block!important;overflow:hidden!important}.contract-customer-cell .contract-customer-name{margin-top:0!important}.contract-customer-cell .contract-customer-mobile{color:#64748b!important;text-align:left!important;text-overflow:ellipsis!important;white-space:nowrap!important;width:100%!important;margin-top:2px!important;font-size:9px!important;font-weight:600!important;line-height:1.3!important;display:block!important;overflow:hidden!important}.invoice-rate-input{appearance:textfield!important}.invoice-rate-input::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important}.invoice-rate-input::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important}}
