/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-font-weight:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-white:#fff;--spacing:.25rem;--container-md:28rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-6xl:3.75rem;--text-6xl--line-height:1;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.min-h-screen{min-height:100vh}.max-w-md{max-width:var(--container-md)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.items-center{align-items:center}.justify-center{justify-content:center}.gap-3{gap:calc(var(--spacing) * 3)}.rounded-lg{border-radius:var(--radius-lg)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-200{background-color:var(--color-gray-200)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-2{padding-block:calc(var(--spacing) * 2)}.text-center{text-align:center}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.text-gray-500{color:var(--color-gray-500)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (hover:hover){.hover\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\:bg-gray-300:hover{background-color:var(--color-gray-300)}}}*{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif!important}@keyframes skeleton-anim{0%{background-position:200% 0}to{background-position:-200% 0}}.skeleton{background-color:#f3f4f6}.fade-in{animation:.36s ease-in-out fadeInEase}@keyframes fadeInEase{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.table-cell-with-icon{align-items:center;gap:10px;min-width:0;display:flex}.table-cell-icon{color:#667085;background:#f3f4f6;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:14px;font-weight:600;display:flex}.table-cell-content{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.table-cell-title{color:var(--color-table-link);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.table-cell-subtitle{color:var(--color-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}:root{--color-primary:#4f8cff;--color-primary-dark:#3b6fd4;--color-primary-light:#eef3ff;--color-primary-ring:#4f8cff2e;--color-secondary:#7b61ff;--color-success:#16a34a;--color-success-bg:#f0fdf4;--color-success-border:#bbf7d0;--color-warning:#d97706;--color-warning-bg:#fffbeb;--color-warning-border:#fde68a;--color-danger:#dc2626;--color-danger-dark:#b91c1c;--color-danger-bg:#fff1f1;--color-danger-border:#fecaca;--color-danger-ring:#dc262629;--color-info:#0ea5e9;--color-info-bg:#f0f9ff;--color-info-border:#bae6fd;--color-background:#f5f7fb;--color-card:#fff;--color-text:#1e293b;--color-text-sub:#475569;--color-muted:#64748b;--color-border:#e2e8f0;--color-border-focus:var(--color-primary);--color-soft-blue:#edf4ff;--color-soft-purple:#f1efff;--color-table-header-bg:#f4f6f8;--color-table-header:#64748b;--color-table-text:#1e293b;--color-table-link:#3b6fd4;--color-table-row-hover:#f8faff;--color-table-stripe:#fafbfc;--fw-regular:400;--fw-medium:500;--fw-semibold:600;--fw-bold:700;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:10px;--radius-full:9999px;--shadow-soft:0 1px 3px #0f172a0f, 0 4px 12px #0f172a0a;--shadow-card:0 1px 4px #0f172a12, 0 8px 24px #0f172a0d;--shadow-focus:0 0 0 3px var(--color-primary-ring);--shadow-danger-focus:0 0 0 3px var(--color-danger-ring);--input-height-sm:32px;--input-height-md:38px;--input-height-lg:44px;--input-font-sm:12px;--input-font-md:14px;--input-padding-x:12px}*{box-sizing:border-box}body{background:var(--color-background);color:var(--color-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility;margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;font-weight:400;line-height:1.6}button,input,select,textarea{font:inherit}table thead th{text-transform:uppercase;background:var(--color-table-header-bg)!important;color:var(--color-table-header)!important;letter-spacing:.4px!important;font-size:12px!important;font-weight:700!important}table tbody td{font-size:14px;font-weight:var(--fw-regular);color:var(--color-table-text)!important}.table-header-filter>span:first-child,.lead-table-header-cell>span,.account-table-header-cell>span{text-transform:uppercase;color:var(--color-table-header)!important;letter-spacing:.4px!important;font-size:12px!important;font-weight:700!important}.lead-table-header-cell{align-content:center;gap:4px;min-width:0;min-height:48px;padding:4px 0;display:grid}*,:before,:after{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.auth-loading{background:var(--color-background);min-height:100vh;color:var(--color-muted);place-content:center;justify-items:center;gap:14px;font-weight:700;display:grid}.auth-loading p{margin:0}.app-shell{background:var(--color-background);grid-template-columns:280px minmax(0,1fr);height:100vh;transition:grid-template-columns .2s;display:grid;overflow:hidden}.app-shell-collapsed{grid-template-columns:88px minmax(0,1fr)}.sidebar{border-right:1px solid var(--color-border);visibility:visible;z-index:20;background:#fff;width:280px;height:100vh;padding:18px 14px;transition:transform .2s,visibility .2s,border-color .2s;position:sticky;top:0;overflow:hidden auto;transform:translate(0)}.sidebar-collapsed{width:88px;padding:18px 14px}.sidebar-brand{align-items:center;gap:12px;min-height:52px;margin-bottom:18px;display:flex}.sidebar-brand-copy{min-width:0}.sidebar-collapsed .sidebar-brand{justify-content:center}.sidebar-collapsed .brand-mark,.sidebar-collapsed .sidebar-brand-copy{display:none}.brand-mark.small{background:linear-gradient(135deg, var(--color-primary), var(--color-secondary));color:#fff;width:42px;height:42px;font-size:15px;font-weight:var(--fw-bold);border-radius:12px;flex:0 0 42px;place-items:center;display:grid}.sidebar-brand strong,.profile-copy strong,.profile-summary strong{color:var(--color-text);font-size:14px;font-weight:500;display:block}.sidebar-brand span,.profile-copy small,.profile-summary span,.profile-summary small{color:var(--color-muted);font-size:12px}.sidebar-toggle{color:var(--color-text);background:0 0;border-color:#0000;margin-left:auto}.sidebar-collapsed .sidebar-toggle{margin-left:0}.sidebar-nav{flex-direction:column;gap:5px;display:flex}.nav-item,.nav-child{width:100%;min-height:42px;color:var(--color-text-sub);font-size:14px;font-weight:var(--fw-medium);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:11px;padding:10px 12px;text-decoration:none;display:flex;position:relative}.nav-item.active,.nav-item[aria-current=page],.nav-child.active,.nav-child[aria-current=page]{background:var(--color-soft-blue);color:var(--color-primary-dark)}.nav-item.active:before,.nav-item[aria-current=page]:before,.nav-child.active:before,.nav-child[aria-current=page]:before{content:"";background:var(--color-primary);border-radius:999px;width:3px;position:absolute;top:8px;bottom:8px;left:0}.nav-parent span{text-align:left;flex:1}.sidebar-collapsed .nav-item,.sidebar-collapsed .nav-child{justify-content:center;padding:10px}.sidebar-collapsed .nav-item span,.sidebar-collapsed .nav-child,.sidebar-collapsed .chevron{display:none}.chevron{transition:transform .18s}.chevron-open{transform:rotate(90deg)}.nav-children{gap:3px;margin:4px 0 7px 32px;display:grid}.nav-child{min-height:36px;font-size:14px}.app-main{flex-direction:column;min-width:0;height:100vh;display:flex;overflow:hidden}.topbar{z-index:10;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f5f7fbdb;border-bottom:1px solid #e5e7ebe0;justify-content:space-between;align-items:center;gap:18px;min-height:58px;padding:9px 28px;display:flex;position:sticky;top:0}.topbar-left{align-items:center;gap:12px;min-width:0;display:flex}.breadcrumbs{min-width:0;color:var(--color-muted);flex-wrap:wrap;gap:8px;font-size:14px;display:flex}.breadcrumbs span:not(:last-child):after{content:"/";color:#98a2b3;margin-left:8px}.breadcrumbs .current{min-width:0;color:var(--color-text);font-weight:var(--fw-semibold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.topbar-actions{align-items:center;gap:12px;display:flex}.icon-button,.row-icon-button,.row-actions button{border:1px solid var(--color-border);color:#667085;cursor:pointer;background:#fff;border-radius:6px;flex-shrink:0;place-items:center;width:36px;min-width:36px;height:36px;font-size:16px;transition:all .2s;display:inline-grid}.icon-button:hover,.row-icon-button:hover,.row-actions button:hover{color:var(--color-text);background:#f3f4f6;border-color:#d1d5db}.icon-button:active,.row-icon-button:active,.row-actions button:active{background:#e5e7eb;border-color:#bfdbfe}.notification-menu,.notification-button{position:relative}.notification-button .notification-dot{color:#fff;background:#f04438;border:2px solid #fff;border-radius:999px;place-items:center;min-width:18px;height:18px;font-size:10px;font-weight:700;line-height:1;display:grid;position:absolute;top:-6px;right:-6px}.notification-dropdown{border:1px solid var(--color-border);width:min(380px,100vw - 28px);max-height:min(560px,100vh - 84px);box-shadow:var(--shadow-soft);z-index:40;background:#fff;border-radius:10px;flex-direction:column;display:flex;position:absolute;top:calc(100% + 10px);right:0;overflow:hidden}.notification-dropdown-header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.notification-dropdown-header strong{color:var(--color-text);font-size:14px;font-weight:700}.notification-dropdown-header button{color:var(--color-primary-dark);cursor:pointer;background:0 0;border:0;font-size:12px;font-weight:700}.notification-dropdown-header button:disabled{color:#98a2b3;cursor:default}.notification-list{padding:6px;overflow:auto}.notification-item{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;grid-template-columns:10px minmax(0,1fr);gap:10px;width:100%;min-height:86px;padding:11px 10px;display:grid}.notification-item:hover{background:#f8fafc}.notification-item.unread{background:#f5f9ff}.notification-status{background:#98a2b3;border-radius:999px;width:8px;height:8px;margin-top:7px}.notification-item.alert .notification-status{background:#f04438}.notification-item.normal .notification-status{background:#2d8ed8}.notification-item.read .notification-status{opacity:.35}.notification-copy{gap:4px;min-width:0;display:grid}.notification-title-row{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.notification-title-row strong{min-width:0;color:var(--color-text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700;line-height:1.3;overflow:hidden}.notification-title-row small{color:#98a2b3;flex-shrink:0;font-size:11px;font-weight:600}.notification-message{color:var(--color-text-sub);font-size:12px;line-height:1.45}.notification-meta{color:#667085;letter-spacing:.3px;font-size:11px;font-weight:700}.notification-empty{color:var(--color-muted);text-align:center;padding:24px 14px;font-size:13px}.profile-menu{position:relative}.profile-trigger{border:1px solid var(--color-border);cursor:pointer;background:#fff;border-radius:999px;align-items:center;gap:9px;min-width:220px;padding:5px 14px 5px 5px;display:flex}.profile-copy{text-align:left;flex:1;min-width:0}.profile-copy strong,.profile-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.avatar{color:#fff;background:#2d8ed8;border-radius:50%;flex:0 0 38px;place-items:center;width:38px;height:38px;font-size:14px;font-weight:700;display:grid}.profile-trigger .profile-copy strong{color:var(--color-text);font-size:14px;font-weight:500;line-height:1.15}.profile-trigger .profile-copy small{color:#667085;font-size:12px;font-weight:500;line-height:1.2}.profile-dropdown{border:1px solid var(--color-border);width:280px;box-shadow:var(--shadow-soft);background:#fff;border-radius:10px;padding:8px;position:absolute;top:calc(100% + 10px);right:0}.profile-summary{border-bottom:1px solid var(--color-border);margin-bottom:4px;padding:10px}.profile-dropdown button{width:100%;color:var(--color-text-sub);font-size:14px;font-weight:var(--fw-medium);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;padding:10px;display:flex}.profile-dropdown button:hover,.nav-item:hover,.nav-child:hover,.icon-button:hover{background:#f8fafc}.content-area{-webkit-overflow-scrolling:touch;flex:1;padding:18px;overflow:auto}.page-stack{flex-direction:column;gap:16px;display:flex}.page-header,.customer-master-header,.price-history-header,.lead-versions-header{justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.page-eyebrow{color:var(--color-primary-dark);letter-spacing:.5px;text-transform:uppercase;margin:0 0 8px;font-size:12px;font-weight:500}.page-header h1,.customer-master-header h1,.price-history-header h1,.lead-versions-header h1{color:#374151;font-size:26px;font-weight:var(--fw-semibold);letter-spacing:0;margin:0;line-height:1}.error-panel h1{color:var(--color-text);font-size:28px;font-weight:var(--fw-bold);letter-spacing:-.5px;margin:0;line-height:1.3}.modal-header h2{color:var(--color-text);font-size:28px;font-weight:var(--fw-semibold);letter-spacing:-.5px;margin:0;line-height:1.3}.page-header p,.customer-master-header p,.price-history-header p,.lead-versions-header p,.panel p,.error-panel p{max-width:760px;color:var(--color-muted);font-size:14px;font-weight:var(--fw-regular);margin:5px 0 0;line-height:1.45}.page-actions,.modal-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.button{border-radius:var(--radius-md);height:var(--input-height-md);font-size:var(--input-font-md);font-weight:var(--fw-semibold);letter-spacing:.1px;white-space:nowrap;cursor:pointer;-webkit-font-smoothing:antialiased;border:1px solid #0000;justify-content:center;align-items:center;gap:7px;padding:0 16px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;text-decoration:none;transition:background .15s,box-shadow .15s,opacity .15s,transform .1s;display:inline-flex}.button:focus-visible{box-shadow:var(--shadow-focus);outline:none}.button:active:not(:disabled){transform:translateY(1px)}.button:disabled{cursor:not-allowed;opacity:.5;pointer-events:none}.button-sm{height:var(--input-height-sm);font-size:var(--input-font-sm);border-radius:var(--radius-sm);padding:0 10px}.button-lg{height:var(--input-height-lg);border-radius:var(--radius-lg);padding:0 22px;font-size:15px}.button-compact{border-radius:var(--radius-sm);height:30px;padding:0 10px;font-size:12px}.button-primary{background:linear-gradient(135deg, var(--color-primary), var(--color-secondary));color:#fff;border:none;box-shadow:0 1px 3px #4f8cff40}.button-primary:hover:not(:disabled){background:linear-gradient(135deg, var(--color-primary-dark), #6a53df);box-shadow:0 3px 10px #4f8cff59}.button-secondary{background:var(--color-primary-light);color:var(--color-primary-dark);border-color:#c3d8ff}.button-secondary:hover:not(:disabled){background:#dbe8ff;border-color:#a8c5ff}.button-ghost{color:var(--color-text-sub);border-color:var(--color-border);background:#fff}.button-ghost:hover:not(:disabled){color:var(--color-text);background:#f8fafc;border-color:#cbd5e1}.button-danger{background:var(--color-danger);color:#fff;border-color:var(--color-danger);box-shadow:0 1px 3px #dc262633}.button-danger:hover:not(:disabled){background:var(--color-danger-dark);border-color:var(--color-danger-dark);box-shadow:0 3px 10px #dc26264d}.button-danger:focus-visible{box-shadow:var(--shadow-danger-focus)}.button-danger-outline{color:var(--color-danger);border-color:var(--color-danger-border);background:#fff}.button-danger-outline:hover:not(:disabled){background:var(--color-danger-bg);border-color:var(--color-danger)}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.kpi-card,.panel,.detail-drawer{box-shadow:var(--shadow-soft);border-radius:10px}.panel,.detail-drawer,.kpi-card{background:var(--color-card);border:1px solid var(--color-border)}.kpi-card--blue{background:#eef3ff!important;border:1.5px solid #c3d8ff!important;border-top:4px solid #4f8cff!important}.kpi-card--purple{background:#edfcf9!important;border:1.5px solid #a7eddf!important;border-top:4px solid #0ea08a!important}.kpi-card--red{background:#fff4f2!important;border:1.5px solid #ffcac0!important;border-top:4px solid #e8472e!important}.kpi-card--amber{background:#fffbeb!important;border:1.5px solid #fde68a!important;border-top:4px solid #d97706!important}.kpi-card{padding:18px}.kpi-card span{color:var(--color-muted);font-size:13px}.kpi-card strong{color:var(--color-text);font-size:28px;font-weight:var(--fw-bold);margin-top:10px;display:block}.kpi-card small{color:#067647;font-weight:700}.dashboard-grid,.insight-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.dashboard-page{width:100%;max-width:1440px;margin:0 auto}.dashboard-page .page-header{align-items:flex-start}.dashboard-kpi-grid{grid-template-columns:repeat(4,minmax(180px,1fr));align-items:stretch}.dashboard-kpi-card{align-content:space-between;gap:10px;min-height:132px;padding:18px;display:grid}.dashboard-kpi-card span,.dashboard-kpi-card strong,.dashboard-kpi-card small{min-width:0}.dashboard-kpi-card span{line-height:1.35}.dashboard-kpi-card strong{overflow-wrap:anywhere;margin-top:0;line-height:1.1}.dashboard-kpi-card small{line-height:1.35}.dashboard-page .dashboard-grid{grid-template-columns:repeat(2,minmax(320px,1fr));align-items:stretch}.dashboard-page .chart-panel{align-content:start;gap:18px;min-height:300px;padding:18px;display:grid}.dashboard-page .panel-heading{border-bottom:1px solid var(--color-border);align-items:center;gap:12px;min-height:34px;padding-bottom:14px}.dashboard-page .panel-heading h2{margin:0;line-height:1.25}.dashboard-error-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.panel,.detail-drawer{padding:0}.panel h2,.detail-drawer h2{color:var(--color-text);font-size:17px;font-weight:var(--fw-semibold);letter-spacing:-.3px;margin:0 0 14px}.panel-heading{justify-content:space-between;align-items:center;display:flex}.chart-panel{min-height:260px}.bar-chart,.line-chart{align-items:end;gap:14px;height:170px;padding-top:18px;display:flex}.bar-chart span,.line-chart span{background:linear-gradient(180deg, var(--color-primary), #dbe8ff);border-radius:8px 8px 4px 4px;flex:1;min-width:22px}.line-chart span{background:linear-gradient(180deg, var(--color-secondary), var(--color-soft-purple));border-radius:999px 999px 6px 6px}.activity-list{gap:12px;display:grid}.activity-list div{align-items:flex-start;gap:10px;display:flex}.activity-list span{background:var(--color-primary);border-radius:50%;flex:0 0 9px;width:9px;height:9px;margin-top:8px}.compact-list{gap:10px;display:grid}.compact-list div{border:1px solid var(--color-border);background:#fbfcff;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:10px 12px;display:flex}.compact-list span{color:var(--color-muted)}.dashboard-list div{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-width:0;display:grid}.dashboard-list span,.dashboard-list strong,.dashboard-list small{min-width:0}.dashboard-list span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dashboard-bars{gap:12px;padding-top:8px;display:grid}.dashboard-bar-row{grid-template-columns:minmax(120px,32%) minmax(0,1fr) 44px;align-items:center;gap:12px;min-height:28px;display:grid}.dashboard-bar-row>span,.dashboard-bar-row>strong{color:var(--color-text);font-size:13px;font-weight:500;line-height:1.3}.dashboard-bar-row>div{background:#eef2f7;border-radius:999px;height:10px;overflow:hidden}.dashboard-bar-row i{border-radius:inherit;background:var(--color-primary);height:100%;display:block}.dashboard-empty-line{border:1px dashed var(--color-border);min-height:180px;color:var(--color-muted);font-size:14px;font-weight:var(--fw-medium);border-radius:8px;place-items:center;display:grid}.two-column-page{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:18px;display:grid}.detail-drawer{position:sticky;top:92px}.list-toolbar,.filter-panel{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:12px;margin-bottom:16px;display:flex}.search-field{width:min(360px,100%)}.field input,.field select,.field textarea,.list-toolbar select,.list-toolbar input,.crm-filter-row input,.crm-filter-row select,.account-filter-row input,.account-filter-row select,.inventory-filter-row input,.inventory-filter-row select,.filter-panel input,.filter-panel select{width:100%;height:var(--input-height-md);padding:0 var(--input-padding-x);font-size:var(--input-font-md);color:var(--color-text);border:1px solid var(--color-border);border-radius:var(--radius-lg);appearance:none;background:#fff;outline:none;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;transition:border-color .15s,box-shadow .15s,background .15s}.field input:hover,.field select:hover,.list-toolbar select:hover,.list-toolbar input:hover,.crm-filter-row input:hover,.crm-filter-row select:hover{background:#fafcff;border-color:#c3d8ff}.field input:focus,.field select:focus,.field textarea:focus,.list-toolbar select:focus,.list-toolbar input:focus,.crm-filter-row input:focus,.crm-filter-row select:focus,.account-filter-row input:focus,.account-filter-row select:focus,.inventory-filter-row input:focus,.inventory-filter-row select:focus,.filter-panel input:focus,.filter-panel select:focus{border-color:var(--color-primary);box-shadow:var(--shadow-focus);background:#fff}.field input::placeholder,.list-toolbar input::placeholder{color:#94a3b8}.field textarea{height:auto;min-height:92px;padding:10px var(--input-padding-x);resize:vertical;line-height:1.55}.field select,.list-toolbar select,.crm-filter-row select,.account-filter-row select,.inventory-filter-row select,.filter-panel select{cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding-right:32px}.field>label,.field-label{font-size:13px;font-weight:var(--fw-semibold);color:var(--color-text-sub);letter-spacing:.1px;margin-bottom:5px;display:block}.field-error,.form-field-error{color:var(--color-danger);align-items:center;gap:4px;margin-top:4px;font-size:12px;display:flex}.field-sm input,.field-sm select{height:var(--input-height-sm);font-size:var(--input-font-sm);border-radius:var(--radius-md);padding:0 9px}.field-lg input,.field-lg select{height:var(--input-height-lg);border-radius:var(--radius-lg);font-size:15px}.table-wrap{border:1px solid var(--color-border);background:#fff;border-radius:10px;width:100%;overflow-x:auto;box-shadow:0 1px 3px #1f29370d}.lead-table-wrap{width:100%;overflow-x:hidden}.lead-list-toolbar{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:10px 14px;display:flex}.lead-list-toolbar.with-tabs{gap:16px;min-height:62px;padding:0 18px}.lead-list-toolbar>span{color:var(--color-muted);font-size:14px;font-weight:var(--fw-medium)}.lead-search{border:1px solid var(--color-border);width:min(360px,100%);min-height:40px;color:var(--color-muted);background:#fbfcff;border-radius:8px;align-items:center;gap:10px;padding:0 13px;display:flex}.lead-search:focus-within{border-color:var(--color-primary);box-shadow:0 0 0 4px #4f8cff24}.lead-search input{width:100%;min-width:0;color:var(--color-text);background:0 0;border:0;outline:0;font-size:14px}.lead-search input::placeholder{color:var(--color-muted)}.crm-table-panel,.inventory-table-panel,.followups-table-panel{gap:0!important}.crm-table-panel>.list-toolbar,.crm-table-panel>.filter-panel,.crm-table-panel>.crm-filter-row,.crm-table-panel>.account-filter-row,.crm-table-panel>.inventory-filter-row,.crm-table-panel>.lead-list-toolbar,.crm-table-panel>.account-list-toolbar,.crm-table-panel>.customer-list-toolbar,.crm-table-panel>.product-list-toolbar,.crm-table-panel>.price-history-toolbar,.crm-table-panel>.work-order-toolbar{margin-bottom:0!important}.crm-table-panel>.table-wrap,.crm-table-panel>.lead-table-wrap,.crm-table-panel>.customer-table-wrap,.crm-table-panel>.price-history-table-wrap,.crm-table-panel>.lead-quotation-table-wrap,.crm-table-panel>.lead-commercial-table-wrap{margin-top:0!important}.crm-table-panel>.table-wrap:first-child,.crm-table-panel>.lead-table-wrap:first-child,.crm-table-panel>.customer-table-wrap:first-child{border-top-left-radius:8px;border-top-right-radius:8px}.table-wrap{border-radius:var(--radius-xl);border:1px solid var(--color-border);width:100%;box-shadow:var(--shadow-soft);background:#fff;overflow-x:auto}.data-table{table-layout:fixed;border-collapse:collapse;border-spacing:0;width:100%;min-width:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:var(--input-font-md);font-weight:var(--fw-regular);font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}.data-table thead tr{background:var(--color-table-header-bg);border-bottom:1.5px solid var(--color-border)}.data-table th{height:44px;font-size:11px;font-weight:var(--fw-bold);color:var(--color-table-header);text-transform:uppercase;letter-spacing:.55px;text-align:left;white-space:nowrap;text-overflow:ellipsis;z-index:5;background:var(--color-table-header-bg);border-bottom:1.5px solid var(--color-border);padding:0 16px;position:sticky;top:0;overflow:hidden}.data-table tbody tr{border-bottom:1px solid #f1f5f9;transition:background .12s}.data-table tbody tr:last-child{border-bottom:none}.data-table tbody tr:hover{background:var(--color-table-row-hover)}.data-table td{height:56px;color:var(--color-table-text);font-size:var(--input-font-md);font-weight:var(--fw-regular);vertical-align:middle;text-overflow:ellipsis;white-space:nowrap;padding:0 16px;line-height:1.4;overflow:hidden}.data-table td:first-child{font-weight:var(--fw-medium);color:var(--color-text)}.data-table tbody tr.clickable{cursor:pointer}.data-table.striped tbody tr:nth-child(2n){background:var(--color-table-stripe)}.data-table.compact th{height:36px;font-size:10px}.data-table.compact td{height:44px;font-size:13px}.status-badge{letter-spacing:.2px;text-transform:uppercase;white-space:nowrap;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;height:28px;padding:6px 12px;font-size:12px;font-weight:500;transition:all .2s;display:inline-flex}.status-success{color:#065f46;background:#f0fdf4;border-color:#bbf7d0}.status-danger{color:#991b1b;background:#fef2f2;border-color:#fecaca}.status-warning{color:#92400e;background:#fffbeb;border-color:#fde68a}.status-info{color:#1e40af;background:#f0f9ff;border-color:#bae6fd}.status-neutral{color:var(--color-text-sub);background:#f3f4f6;border-color:#d1d5db}.pagination{color:var(--color-muted);border-top:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:12px;padding-top:14px;font-size:13px;display:flex}.pagination div{gap:8px;display:flex}.pagination button{border:1px solid var(--color-border);color:var(--color-text-sub);background:#fff;border-radius:8px;padding:7px 10px}.field{gap:7px;min-width:180px;display:grid}.stacked-field{gap:8px;display:grid}.inventory-page{width:100%;display:block}.inventory-table-panel .data-table{table-layout:fixed;min-width:100%}.inventory-list-table{width:100%}.inventory-ledger-table{min-width:1460px}.inventory-work-order-table{min-width:980px}.inventory-internal-work-order-table{min-width:1240px}.inventory-ledger-scroll{max-height:58vh;overflow:auto}.inventory-ledger-loading{border-top:1px solid var(--color-border);color:var(--color-muted);font-size:13px;font-weight:var(--fw-medium);text-align:center;padding:14px}.inventory-movement-badge{min-width:48px;font-size:12px;font-weight:var(--fw-semibold);text-transform:uppercase;border-radius:999px;justify-content:center;align-items:center;padding:4px 10px;display:inline-flex}.inventory-movement-badge.in{color:#15803d;background:#dcfce7}.inventory-movement-badge.sales_outward,.inventory-movement-badge.rental_dispatch{color:#c2410c;background:#ffedd5}.inventory-movement-badge.rental_return{color:#15803d;background:#dcfce7}.inventory-movement-badge.out{color:#b91c1c;background:#fee2e2}.inventory-table-panel .data-table th,.inventory-table-panel .data-table td{text-overflow:ellipsis;overflow:hidden}.inventory-list-table th:first-child,.inventory-list-table td:first-child{width:46%}.inventory-list-table th:nth-child(2),.inventory-list-table td:nth-child(2),.inventory-list-table th:nth-child(3),.inventory-list-table td:nth-child(3),.inventory-list-table th:nth-child(4),.inventory-list-table td:nth-child(4){width:18%}.inventory-product-name-button{max-width:100%;color:var(--color-table-link);cursor:pointer;font:inherit;font-weight:var(--fw-semibold);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;padding:0;overflow:hidden}.inventory-product-name-button:hover{color:var(--color-primary);text-decoration:underline}.master-table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:0}.master-table th,.master-table td{padding:0 14px}.master-table .table-header-filter{min-height:48px}.master-table .table-header-filter>span:first-child{color:var(--color-table-header);letter-spacing:.4px;text-transform:uppercase;font-size:12px;font-weight:700}.master-table .table-header-filter button{flex:none}.master-products-table th:first-child,.master-products-table td:first-child{width:34%}.master-products-table th:nth-child(2),.master-products-table td:nth-child(2){width:18%}.master-products-table th:nth-child(3),.master-products-table td:nth-child(3){width:34%}.master-products-table th:nth-child(4),.master-products-table td:nth-child(4){width:14%}.master-employees-table th:first-child,.master-employees-table td:first-child{width:30%}.master-employees-table th:nth-child(2),.master-employees-table td:nth-child(2){width:20%}.master-employees-table th:nth-child(3),.master-employees-table td:nth-child(3){width:25%}.master-employees-table th:nth-child(4),.master-employees-table td:nth-child(4){width:13%}.master-employees-table th:nth-child(5),.master-employees-table td:nth-child(5){width:12%}.master-charges-table th:first-child,.master-charges-table td:first-child{width:34%}.master-charges-table th:nth-child(2),.master-charges-table td:nth-child(2),.master-charges-table th:nth-child(3),.master-charges-table td:nth-child(3),.master-charges-table th:nth-child(4),.master-charges-table td:nth-child(4){width:18%}.master-charges-table th:nth-child(5),.master-charges-table td:nth-child(5){width:12%}.customer-master-table th:first-child,.customer-master-table td:first-child{width:32%}.customer-master-table th:nth-child(2),.customer-master-table td:nth-child(2){width:16%}.customer-master-table th:nth-child(3),.customer-master-table td:nth-child(3),.customer-master-table th:nth-child(4),.customer-master-table td:nth-child(4){width:22%}.customer-master-table th:nth-child(5),.customer-master-table td:nth-child(5){width:8%}.inventory-drawer-shell{z-index:60;background:#0f172a5c;justify-content:flex-end;display:flex;position:fixed;inset:0}.inventory-drawer{background:#fff;flex-direction:column;width:min(560px,100vw);height:100%;display:flex;box-shadow:-18px 0 36px #0f172a2e}.inventory-drawer-header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:14px;padding:18px 20px;display:flex}.inventory-drawer-title{align-items:center;gap:12px;min-width:0;display:flex}.inventory-drawer-title h2{color:var(--color-text);margin:0;font-size:20px;line-height:1.2}.inventory-drawer-title p{color:var(--color-muted);margin:4px 0 0;font-size:13px;font-weight:700}.inventory-drawer-icon{background:var(--color-soft-blue);width:42px;height:42px;color:var(--color-primary-dark);border-radius:8px;flex:none;justify-content:center;align-items:center;display:inline-flex}.inventory-drawer-close{border:1px solid var(--color-border);width:38px;height:38px;color:var(--color-muted);cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.inventory-drawer-close:hover{color:var(--color-text);background:#f8fafc}.inventory-drawer-body{gap:16px;padding:18px 20px 22px;display:grid;overflow:auto}.inventory-drawer-section{gap:12px;display:grid}.inventory-drawer-section h3{color:var(--color-text);margin:0;font-size:15px}.inventory-key-value-list{gap:0;display:grid}.inventory-key-value-row{border-top:1px solid #94a3b842;grid-template-columns:160px minmax(0,1fr);gap:16px;padding:10px 0;display:grid}.inventory-key-value-row:first-child{border-top:0;padding-top:0}.inventory-key-value-row:last-child{padding-bottom:0}.inventory-key-value-row span{color:var(--color-muted);font-size:13px;font-weight:var(--fw-medium)}.inventory-key-value-row strong{min-width:0;color:var(--color-text-sub);font-size:14px;font-weight:var(--fw-semibold);overflow-wrap:anywhere;line-height:1.45}.inventory-table-panel .form-error,.inventory-table-panel .empty-state{margin:14px}.inventory-pagination{border-top:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:10px 14px;display:flex}.inventory-pagination span{color:var(--color-muted);font-size:14px;font-weight:var(--fw-medium)}.inventory-pagination div{gap:8px;display:inline-flex}.inventory-pagination button{border:1px solid var(--color-border);min-height:34px;color:var(--color-text);font-size:13px;font-weight:var(--fw-medium);cursor:pointer;background:#fff;border-radius:8px;padding:0 12px}.inventory-pagination button:disabled{cursor:not-allowed;opacity:.55}.inventory-filter-row{border-bottom:1px solid var(--color-border);grid-template-columns:minmax(280px,1.4fr) repeat(3,minmax(150px,1fr));align-items:start;padding:16px}.inventory-form-panel{padding:20px}.inventory-adjustment-form{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px}.inventory-product-field{grid-column:1/-1}.inventory-form-actions{grid-column:1/-1;justify-content:flex-end;margin-top:2px}.inventory-detail-card{background:#ffffffdb;border:1px solid #94a3b857;border-radius:8px;align-content:start;gap:14px;padding:16px;display:grid}.inventory-detail-card h3{color:var(--color-text-sub);font-size:16px;font-weight:var(--fw-semibold);margin:0}.inventory-page .lead-details-content{align-items:start}.inventory-details-content{grid-template-columns:minmax(0,1fr) minmax(320px,420px)}.inventory-detail-section-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.inventory-ledger-content{padding:0}.inventory-ledger-toolbar{justify-content:flex-end;min-height:52px;padding:8px 14px}.inventory-ledger-filter{gap:5px;width:220px;min-width:0}.inventory-ledger-filter span{color:var(--color-muted);font-size:12px;font-weight:var(--fw-medium)}.inventory-ledger-filter select{border:1px solid var(--color-border);min-height:34px;color:var(--color-text);font-size:13px;font-weight:var(--fw-regular);background:#fff;border-radius:8px;outline:0;padding:6px 10px}.inventory-adjustment-content,.inventory-work-order-content{padding:0}.inventory-work-order-layout{grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:16px;padding:18px;display:grid}.inventory-detail-work-order-card .inventory-work-order-layout{padding:0}.inventory-work-order-create-row{max-width:none}.inventory-work-order-form{align-content:start;gap:14px;display:grid}.inventory-work-order-table td:last-child{gap:8px;display:flex}.internal-work-order-product-code{color:var(--color-muted);font-size:12px;font-weight:var(--fw-medium);margin-top:3px;display:block}.internal-work-order-product-name{color:var(--color-table-text);font-size:14px;font-weight:var(--fw-medium);display:block}.internal-work-order-actions{align-items:center;gap:6px;display:flex}.table-header-filter{justify-content:space-between;align-items:center;gap:14px;width:100%;min-height:48px;display:flex}.table-header-filter>span:first-child{color:var(--color-table-header);font-size:14px;font-weight:var(--fw-medium);letter-spacing:0}.table-header-filter-control{color:#8f949b;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:0 0 32px;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex;position:relative}.table-header-filter-control.active{color:var(--color-primary)}.table-header-filter-control:hover{color:var(--color-primary-dark);background:#f2f4f7}.table-header-filter-control:focus-within{background:#edf4ff;box-shadow:0 0 0 4px #4f8cff24}.table-header-filter-control select{border-radius:inherit;cursor:pointer;text-transform:none;width:100%;height:100%;min-height:0;position:absolute;inset:0;color:#0000!important;opacity:0!important;box-shadow:none!important;background:0 0!important;border:0!important;outline:0!important;padding:0!important}.inventory-internal-work-order-table td:last-child{gap:8px;display:flex}.inventory-adjustment-card{gap:16px;padding:18px;display:grid}.inventory-adjustment-rich-form{gap:16px;display:grid}.inventory-adjustment-top-row{grid-template-columns:minmax(0,1fr) 168px;align-items:stretch;gap:12px;display:grid}.inventory-adjustment-section{gap:0;display:grid}.inventory-adjustment-section h3,.inventory-adjustment-preview h3{color:var(--color-text);margin:0;font-size:17px}.inventory-adjustment-type-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.inventory-adjustment-type-card{border:1px solid var(--color-border);min-height:48px;color:var(--color-text);text-align:left;cursor:pointer;background:#fff;border-radius:8px;grid-template-columns:16px 24px minmax(0,1fr);align-items:center;gap:8px;padding:9px 12px;display:grid}.inventory-adjustment-type-card.active{border-color:var(--color-primary);background:#f7fbff;box-shadow:0 0 0 1px #4f8cff1f}.inventory-radio-dot{border:2px solid #cbd5e1;border-radius:50%;justify-content:center;align-items:center;width:14px;height:14px;display:inline-flex}.inventory-radio-dot i{background:var(--color-primary);border-radius:50%;width:6px;height:6px}.inventory-type-icon{width:24px;height:24px;font-size:16px;font-weight:var(--fw-bold);border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.inventory-adjustment-type-card.stock-in .inventory-type-icon{color:var(--color-primary);background:#dbeafe}.inventory-adjustment-type-card.stock-out .inventory-type-icon{color:#ef4444;background:#fee2e2}.inventory-adjustment-type-card strong{font-size:14px}.inventory-available-inline{border:1px solid var(--color-border);background:#fbfcff;border-radius:8px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:48px;padding:9px 12px;display:grid}.inventory-available-inline span{color:var(--color-muted);font-size:13px;font-weight:var(--fw-medium)}.inventory-available-inline strong{color:var(--color-primary);font-size:20px;font-weight:var(--fw-bold);line-height:1}.inventory-available-inline small{color:var(--color-muted);font-size:13px;font-weight:var(--fw-medium)}.inventory-adjustment-two-column{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.inventory-rich-field{gap:8px;display:grid}.inventory-rich-field>span{color:var(--color-text-sub);font-size:13px;font-weight:var(--fw-semibold)}.inventory-rich-field>span strong{color:#ef4444}.inventory-rich-field input,.inventory-rich-field select,.inventory-rich-field textarea{border:1px solid var(--color-border);width:100%;min-height:40px;color:var(--color-text-sub);box-sizing:border-box;background:#fbfcff;border-radius:8px;outline:0;padding:9px 13px;font-size:14px;line-height:1.4}.inventory-rich-field textarea{resize:vertical;min-height:104px}.inventory-rich-field small{color:var(--color-muted);font-size:14px}.inventory-quantity-input{border:1px solid var(--color-border);background:#fbfcff;border-radius:8px;grid-template-columns:minmax(0,1fr) 72px;min-height:40px;display:grid;overflow:hidden}.inventory-quantity-input input{border:0;border-radius:0;min-height:38px}.inventory-quantity-input b{border-left:1px solid var(--color-border);min-height:38px;color:var(--color-text-sub);background:#eef2f7;justify-content:center;align-items:center;font-size:16px;display:inline-flex}.inventory-character-count{justify-self:end}.inventory-adjustment-preview{border:0;align-content:start;gap:10px;padding-top:0;display:grid}.inventory-adjustment-preview p{color:var(--color-muted);margin:0;font-size:15px}.inventory-preview-box{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr) 24px minmax(0,1fr);align-items:center;gap:8px;min-height:104px;padding:14px;display:grid}.inventory-preview-metric{text-align:center;justify-items:center;gap:8px;display:grid}.inventory-preview-metric span{color:var(--color-muted);font-size:13px;font-weight:var(--fw-medium)}.inventory-preview-metric strong{color:var(--color-primary);font-size:20px}.inventory-preview-metric strong small{font-size:13px}.inventory-preview-metric.positive strong,.inventory-preview-metric.final strong{color:#059669}.inventory-preview-metric.negative strong{color:#dc2626}.inventory-preview-arrow{width:24px;height:24px;color:var(--color-muted);font-weight:var(--fw-bold);background:#e5e7eb;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.inventory-adjustment-footer{border-top:1px solid var(--color-border);justify-content:flex-end;gap:12px;padding-top:16px;display:flex}.inventory-adjustment-footer .button{min-width:132px}@media (width<=1100px){.inventory-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.inventory-adjustment-form,.inventory-filter-row{grid-template-columns:1fr}.inventory-form-panel{padding:16px}.inventory-adjustment-card{padding:14px}.inventory-adjustment-top-row,.inventory-adjustment-two-column,.inventory-adjustment-type-grid,.inventory-preview-box,.inventory-work-order-layout,.inventory-details-content{grid-template-columns:1fr}.inventory-preview-arrow{justify-self:center;transform:rotate(90deg)}.inventory-adjustment-footer{flex-direction:column;align-items:stretch}.inventory-adjustment-footer .button{width:100%}.inventory-pagination{flex-direction:column;align-items:stretch}.inventory-pagination button{width:100%}.inventory-drawer{width:100vw}.inventory-key-value-row{grid-template-columns:1fr;gap:5px}}.field span{color:var(--color-text);font-size:13px;font-weight:var(--fw-semibold)}.field-hint{color:var(--color-muted);font-size:12px;font-weight:var(--fw-medium)}.modal-backdrop{z-index:50;background:#0f172a5c;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal-card{border:1px solid var(--color-border);background:#fff;border-radius:12px;gap:15px;width:min(460px,100%);padding:22px;display:grid;box-shadow:0 26px 70px #0f172a33}.modal-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.assign-lead-modal{border-radius:12px;gap:12px;width:min(420px,100%);max-height:calc(100vh - 36px);padding:0;overflow:hidden}.assign-lead-header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:flex-start;gap:14px;padding:16px 18px 14px;display:flex}.assign-lead-header h2{color:var(--color-text);font-size:18px;line-height:1.2;font-weight:var(--fw-semibold);margin:0}.assign-lead-header p:last-child{color:var(--color-muted);font-size:13px;line-height:1.45;font-weight:var(--fw-regular);margin:4px 0 0}.assign-lead-close{border:1px solid var(--color-border);width:32px;height:32px;color:var(--color-muted);cursor:pointer;background:#fff;border-radius:8px;flex:0 0 32px;place-items:center;display:inline-grid}.assign-lead-close:hover{border-color:var(--color-primary);color:var(--color-primary-dark);background:#f1f7ff}.assign-lead-field{gap:6px;margin:0 18px;display:grid;position:relative}.assign-lead-field>span{color:var(--color-text);font-size:13px;font-weight:var(--fw-semibold)}.assign-telecaller-trigger{border:1px solid var(--color-border);width:100%;min-height:38px;color:var(--color-text);text-align:left;cursor:pointer;background:#fbfcff;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:7px 10px;display:flex}.assign-telecaller-trigger:hover,.assign-telecaller-trigger:focus{border-color:var(--color-primary);outline:none;box-shadow:0 0 0 4px #4f8cff24}.assign-telecaller-trigger:disabled{color:var(--color-muted);cursor:not-allowed;box-shadow:none}.assign-telecaller-trigger>span{min-width:0;display:block;overflow:hidden}.assign-telecaller-trigger strong,.assign-telecaller-menu strong{color:var(--color-text);font-size:14px;font-weight:var(--fw-semibold)}.assign-telecaller-trigger strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.assign-telecaller-chevron{color:var(--color-muted);transition:transform .16s;transform:rotate(90deg)}.assign-telecaller-chevron.open{transform:rotate(270deg)}.assign-telecaller-menu{border:1px solid var(--color-border);overscroll-behavior:contain;background:#fff;border-radius:10px;gap:3px;max-height:min(292px,42vh);padding:6px;display:grid;overflow-y:auto;box-shadow:0 10px 26px #0f172a1f}.assign-telecaller-menu button{text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;min-height:36px;padding:5px 8px;display:flex}.assign-telecaller-menu button:hover,.assign-telecaller-menu button.active{background:#f1f7ff;border-color:#b7d3ff}.assign-telecaller-avatar{width:26px;height:26px;color:var(--color-primary-dark);font-size:13px;font-weight:var(--fw-bold);background:#eef6ff;border-radius:8px;flex:0 0 26px;place-items:center;display:inline-grid}.assign-telecaller-menu button>span:last-child{min-width:0;overflow:hidden}.assign-telecaller-menu button>span:last-child strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.assign-lead-modal .modal-actions{border-top:1px solid var(--color-border);background:#fbfcff;justify-content:flex-end;padding:12px 18px}.assign-lead-modal .button{min-width:92px;min-height:36px}.form-error{color:#b42318;background:#fff1f2;border-radius:8px;padding:10px 12px}.toast-stack{z-index:70;gap:10px;display:grid;position:fixed;top:20px;right:20px}.toast{border:1px solid var(--color-border);min-width:260px;box-shadow:var(--shadow-soft);color:#067647;font-size:14px;font-weight:var(--fw-medium);background:#ecfdf3;border-radius:10px;padding:12px 14px}.toast.toast-error{color:#b42318;background:#fff1f2;border-color:#fecaca}.empty-state{border:1px dashed var(--color-border);min-height:180px;color:var(--color-muted);background:#fbfcff;border-radius:8px;place-items:center;display:grid}.lead-table-empty{text-align:center;height:160px;color:var(--color-muted);font-size:14px;font-weight:var(--fw-regular);vertical-align:middle;white-space:normal!important;text-overflow:clip!important;overflow:visible!important}.data-table td.lead-table-empty,.inventory-table-panel .data-table td.lead-table-empty{text-align:center}.lead-pagination{border-top:1px solid var(--color-border);background:#fff;justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:10px 14px;display:flex}.lead-pagination span,.lead-pagination strong{color:var(--color-muted);font-size:13px;font-weight:var(--fw-medium)}.lead-pagination div{align-items:center;gap:8px;display:inline-flex}.lead-pagination button{border:1px solid var(--color-border);min-height:34px;color:var(--color-text);font-size:13px;font-weight:var(--fw-medium);cursor:pointer;background:#fff;border-radius:8px;padding:0 12px}.lead-pagination button:hover:not(:disabled){border-color:var(--color-primary);color:var(--color-primary-dark)}.lead-pagination button:disabled{color:#9ca3af;cursor:not-allowed}.center-page{background:var(--color-background);place-items:center;min-height:100vh;padding:24px;display:grid}.error-panel{text-align:center;max-width:460px}.crm-workspace{align-items:start;gap:18px;display:grid}.account-page,.work-order-page{grid-template-columns:minmax(0,1fr)}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.summary-grid.compact{grid-template-columns:repeat(5,minmax(130px,1fr))}.account-summary-grid{grid-template-columns:repeat(5,minmax(96px,1fr));padding-bottom:2px;overflow-x:auto}.account-summary-grid .summary-card{gap:6px;min-height:68px;padding:10px}.account-summary-grid .summary-card span{font-size:12px}.account-summary-grid .summary-card strong{color:var(--color-table-text);font-size:22px;font-weight:var(--fw-semibold)}.account-filter-row{grid-template-columns:minmax(240px,1.4fr) minmax(150px,1fr)}.account-list-toolbar{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:10px 14px;display:flex}.account-list-toolbar>span{color:var(--color-muted);font-size:14px;font-weight:var(--fw-medium)}.account-page .crm-table-panel{padding:0;overflow:visible}.account-search{border:1px solid var(--color-border);width:min(360px,100%);min-height:40px;color:var(--color-muted);background:#fbfcff;border-radius:8px;align-items:center;gap:10px;padding:0 13px;display:flex}.account-search:focus-within{border-color:var(--color-primary);box-shadow:0 0 0 4px #4f8cff24}.account-search input{width:100%;min-width:0;color:var(--color-text);background:0 0;border:0;outline:0;font-size:14px}.account-table{table-layout:fixed;border-collapse:collapse;border-spacing:0;width:100%;min-width:0}.account-table th{background:var(--color-table-header-bg);height:48px;min-height:48px;color:var(--color-table-header);letter-spacing:.4px;text-align:left;text-transform:uppercase;font-size:12px;font-weight:700}.account-table-header-cell{align-content:center;gap:4px;min-width:0;min-height:48px;padding:4px 0;display:grid}.account-table-header-cell select{border:1px solid var(--color-border);width:100%;min-width:0;min-height:32px;color:var(--color-text);font-size:13px;font-weight:var(--fw-regular);text-transform:none;background:#fbfcff;border-radius:8px;outline:0;padding:0 10px}.account-table-header-cell select:focus{border-color:var(--color-primary);box-shadow:0 0 0 4px #4f8cff24}.account-table th,.account-table td{white-space:nowrap;padding:0 14px}.account-table td{border-bottom:1px solid var(--color-border);height:60px;color:var(--color-table-text);font-size:14px}.account-table td,.account-table-header-cell>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-table .account-col-payment-status{text-overflow:clip;width:14%;overflow:visible}.account-invoice-link{color:var(--color-table-link);font-weight:var(--fw-semibold);text-decoration:none}.account-invoice-link:hover{text-decoration:underline}.rental-product-link{appearance:none;color:var(--color-table-link);font:inherit;font-weight:var(--fw-semibold);text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.rental-product-link:hover{text-decoration:underline}.rental-product-link:disabled{color:var(--color-text);cursor:default;text-decoration:none}.rental-product-drawer-shell{z-index:75;background:#0f172a52;justify-content:flex-end;display:flex;position:fixed;inset:0}.rental-product-drawer{background:#fff;flex-direction:column;width:min(560px,100vw);min-height:100vh;display:flex;box-shadow:-20px 0 48px #0f172a33}.rental-product-drawer-header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:flex-start;gap:16px;padding:22px;display:flex}.rental-product-drawer-header h2{color:var(--color-text);margin:4px 0;font-size:24px}.rental-product-drawer-header p{color:var(--color-muted);margin:0}.rental-product-drawer-body{gap:18px;padding:22px;display:grid;overflow:auto}.account-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.account-form-wide{grid-column:1/-1}.account-checkbox-field{align-items:center;gap:10px;min-height:40px;display:flex}.account-checkbox-field input{width:16px;height:16px;accent-color:var(--color-primary)}.account-checkbox-field span{color:var(--color-text);font-size:14px;font-weight:var(--fw-semibold)}.account-modal,.work-order-modal{width:min(620px,100vw - 32px)}.payment-modal-backdrop{background:#47556947}.payment-modal{background:var(--color-card);border-color:var(--color-border);box-shadow:var(--shadow-soft)}.payment-modal .modal-header{border-bottom:1px solid var(--color-border);margin:-2px -2px 2px;padding:0 0 14px}.payment-modal .modal-header h2{color:#374151}.payment-modal .field input,.payment-modal .field select,.payment-modal .field textarea{color:var(--color-text-sub);background:#fbfcff}.payment-modal .field input,.payment-modal .field select{height:42px;min-height:42px;line-height:42px}.payment-modal .modal-actions{border-top:1px solid var(--color-border);justify-content:flex-end;margin:2px -2px -2px;padding-top:14px}.account-detail-summary{background:linear-gradient(135deg,#4f8cff1a,#14b8a614 42%,#fff0 68%),#fff;border-color:#4f8cff2e;padding:20px 18px 18px;position:relative;overflow:hidden;box-shadow:0 16px 40px #0f172a14}.account-detail-summary:before{content:"";background:linear-gradient(90deg, var(--color-primary), #14b8a6, #f59e0b);height:4px;position:absolute;inset:0 0 auto}.account-detail-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-top:6px;display:grid}.account-detail-grid div{background:#ffffffc7;border:1px solid #94a3b857;border-radius:8px;align-content:center;gap:4px;min-width:0;min-height:68px;padding:12px 14px;display:grid}.account-detail-grid span{color:var(--color-muted);font-size:13px;font-weight:var(--fw-medium)}.account-detail-grid strong{color:var(--color-text-sub);font-size:14px;font-weight:var(--fw-semibold);overflow-wrap:anywhere}.account-amount-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px;display:grid}.account-amount-card{background:#ffffffe6;border:1px solid #94a3b852;border-radius:8px;align-items:center;gap:10px;min-height:70px;padding:12px;display:flex;box-shadow:0 10px 24px #1f29370f}.account-amount-card>div:last-child{gap:4px;min-width:0;display:grid}.account-amount-card-icon{width:34px;height:34px;color:var(--color-primary);background:#eef4ff;border-radius:8px;flex:none;place-items:center;display:grid}.account-amount-paid .account-amount-card-icon{color:#0f9f6e;background:#e8f8f1}.account-amount-due .account-amount-card-icon{color:#d97706;background:#fff4e5}.account-amount-deposit .account-amount-card-icon{background:var(--color-soft-blue);color:var(--color-primary-dark)}.account-amount-card span{color:var(--color-muted);font-size:14px;font-weight:var(--fw-semibold)}.account-amount-card strong{color:var(--color-text-sub);font-size:18px;font-weight:var(--fw-semibold);overflow-wrap:anywhere;line-height:1.2}.account-amount-paid strong,.account-amount-due strong{color:var(--color-text-sub)}.account-drawer-actions{flex-wrap:nowrap;flex:auto;justify-content:flex-end;gap:10px;min-width:0;display:flex}.account-drawer-actions .button{flex:none;min-width:max-content}.account-detail-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.account-detail-header h2,.account-detail-section-header h2{color:var(--color-text-sub);font-size:16px;font-weight:var(--fw-semibold);margin:0}.account-detail-header>div:first-child{gap:7px;display:grid}.account-payment-status{border:1px solid var(--color-border);border-left:4px solid var(--color-primary);background:#fff;border-radius:8px;gap:4px;min-width:180px;padding:10px 12px;display:inline-grid}.account-payment-status span{color:var(--color-muted);font-size:12px;font-weight:var(--fw-medium)}.account-payment-status strong{color:var(--color-primary-dark);font-size:16px;font-weight:var(--fw-semibold);line-height:1.2}.account-payment-status-paid{background:#f0fdf4;border-left-color:#16a34a}.account-payment-status-paid strong{color:#065f46}.account-payment-status-due_pending,.account-payment-status-tds_pending{background:#fffbeb;border-left-color:#f59e0b}.account-payment-status-due_pending strong,.account-payment-status-tds_pending strong{color:#92400e}.account-payment-status-advance_paid,.account-payment-status-partially_paid{background:#eff6ff;border-left-color:#2563eb}.account-payment-status-advance_paid strong,.account-payment-status-partially_paid strong{color:#1d4ed8}.account-detail-title-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.account-detail-subtitle{color:var(--color-muted);margin:0;font-size:13px;font-weight:650}.account-detail-section-header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:10px 14px;display:flex}.account-detail-section-header>div{gap:4px;display:grid}.account-detail-section-header span{color:var(--color-muted);font-size:13px;font-weight:var(--fw-medium)}.account-transactions-table{min-width:840px}.account-transactions-table th{color:var(--color-table-header);font-size:11px;font-weight:var(--fw-semibold)}.account-transactions-table td{color:var(--color-table-text);font-size:13px;font-weight:var(--fw-medium)}.section-title{color:var(--color-text);margin:0 0 14px;font-size:18px}.inline-actions{flex-wrap:wrap;gap:8px;display:flex}.rental-detail-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.rental-detail-header h2{color:var(--color-text);margin:0 0 6px;font-size:20px}.sales-work-order-summary{background:linear-gradient(135deg,#4f8cff14,#14b8a60f 42%,#fff0 68%),#fff;border-color:#4f8cff2e;gap:14px;padding:18px;display:grid;box-shadow:0 16px 40px #0f172a12}.sales-work-order-title-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.sales-work-order-title-row h1{margin:0}.sales-work-order-detail-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.sales-work-order-card{background:#ffffffd1;border:1px solid #94a3b857;border-radius:8px;align-content:start;gap:12px;min-width:0;padding:14px;display:grid}.sales-work-order-card h2{color:var(--color-text-sub);font-size:16px;font-weight:var(--fw-semibold);margin:0}.sales-work-order-card-list{gap:0;display:grid}.sales-work-order-card-row{border-top:1px solid #94a3b842;grid-template-columns:minmax(128px,36%) minmax(0,1fr);align-items:start;gap:14px;min-width:0;padding:9px 0;display:grid}.sales-work-order-card-row:first-child{border-top:0;padding-top:0}.sales-work-order-card-row:last-child{padding-bottom:0}.sales-work-order-card-row>span{color:var(--color-muted);font-size:13px;font-weight:var(--fw-medium)}.sales-work-order-card-row>div{min-width:0;color:var(--color-text-sub);font-size:14px;font-weight:var(--fw-semibold);overflow-wrap:anywhere}.work-order-page .sales-work-order-summary .section-title{color:var(--color-text-sub);font-size:16px;font-weight:var(--fw-semibold);margin:0}.work-order-page .crm-table-panel>.section-title{color:var(--color-text-sub);font-size:16px;font-weight:var(--fw-semibold);margin:0;padding:16px 18px 0}.work-order-page .crm-table-panel>.lead-commercial-subheader{padding:16px 18px 0}.rental-action-modal{width:min(920px,100vw - 32px)}.rental-modal-table{max-height:320px;margin-top:16px}.rental-modal-table input{width:120px}.rental-timeline{gap:14px;display:grid}.rental-timeline-step{grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;display:grid}.rental-timeline-step>span{background:var(--color-border);border-radius:999px;width:12px;height:12px;margin-top:4px}.rental-timeline-step.done>span{background:var(--color-primary)}.rental-timeline-step strong{color:var(--color-text);font-size:13px}.rental-timeline-step p{color:var(--color-muted);margin:2px 0 0;font-size:13px}.account-transactions-wrap{max-height:320px}.work-order-timeline-item{border-bottom:1px solid var(--color-border);gap:4px;padding:10px 0;display:grid}.work-order-timeline-item strong{color:var(--color-text);font-size:14px}.work-order-timeline-item span{color:var(--color-muted);font-size:13px}.summary-card{border:1px solid var(--color-border);background:#fff;border-radius:8px;align-content:space-between;gap:10px;min-height:92px;padding:15px;display:grid;box-shadow:0 8px 22px #1f29370d}.summary-card span{color:var(--color-muted);font-size:13px;font-weight:var(--fw-medium)}.summary-card strong{color:var(--color-text);font-size:26px;font-weight:var(--fw-bold);line-height:1}.crm-table-panel{gap:14px;display:grid}.crm-tabs{border-bottom:1px solid var(--color-border);gap:4px;display:flex;overflow-x:auto}.crm-tabs button{min-height:44px;color:var(--color-muted);font-size:14px;font-weight:var(--fw-semibold);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;align-items:center;gap:7px;padding:0 12px;transition:color .15s,border-color .15s;display:inline-flex}.crm-tabs button:hover{color:var(--color-table-link)}.crm-tabs button.active{border-bottom-color:var(--color-table-link);color:var(--color-table-link)}.crm-tabs button span{min-width:20px;height:20px;color:var(--color-muted);font-size:12px;font-weight:var(--fw-medium);background:#eef2f6;border-radius:999px;justify-content:center;align-items:center;padding:0 7px;line-height:1;display:inline-flex}.crm-tabs button.active span{color:var(--color-table-link);background:#e0f0fa}.sales-documents-toolbar .crm-tabs{border-bottom:0;flex:1;min-width:0}.work-order-toolbar{flex-wrap:nowrap}.work-order-tabs{flex:1;align-items:center;gap:4px;min-width:0;display:flex;overflow-x:auto}.work-order-tab{min-height:44px;color:var(--color-muted);font-size:14px;font-weight:var(--fw-semibold);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;justify-content:center;align-items:center;gap:7px;padding:0 7px;line-height:20px;text-decoration:none;display:inline-flex;position:relative}.work-order-tab:after{content:none}.work-order-tab-count{min-width:20px;height:20px;color:var(--color-muted);font-size:12px;font-weight:var(--fw-medium);background:#eef2f6;border-radius:9px;justify-content:center;align-items:center;padding:0 7px;line-height:1;display:inline-flex}.work-order-tab:hover{color:var(--color-table-link)}.work-order-tab.active{border-bottom-color:var(--color-table-link);color:var(--color-table-link)}.work-order-tab.active .work-order-tab-count{color:var(--color-table-link);background:#e0f0fa}.work-order-search{min-width:0;margin-left:auto}.work-order-cell-stack{gap:3px;min-width:0;display:grid}.work-order-cell-stack strong{color:var(--color-table-text);font-size:14px;font-weight:var(--fw-medium);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.work-order-cell-stack span{color:var(--color-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.25;overflow:hidden}.work-order-table .action-menu{align-items:center}.work-order-table .work-order-col-status{text-overflow:clip;width:14%;overflow:visible}.work-order-table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:0}.work-order-table th,.work-order-table td{padding:0 14px}.work-order-table .work-order-col-work-order-no{width:15%}.work-order-table .work-order-col-customer{width:28%}.work-order-table .work-order-col-expected-delivery,.work-order-table .work-order-col-rental-start,.work-order-table .work-order-col-rental-end,.work-order-table .work-order-col-created-date,.work-order-table .work-order-col-module-type,.work-order-table .work-order-col-assigned-to{width:14%}.work-order-table .work-order-col-pending-return-qty{width:15%}.internal-work-order-table .work-order-col-work-order-no{width:14%}.internal-work-order-table .work-order-col-product{width:24%}.internal-work-order-table .work-order-col-quantity{width:10%}.internal-work-order-table .work-order-col-created-date,.internal-work-order-table .work-order-col-completed-date,.internal-work-order-table .work-order-col-remarks{width:14%}.internal-work-order-table .work-order-col-actions{width:10%}.work-order-table .action-menu>.icon-button{box-shadow:none;background:0 0;border-color:#0000}.work-order-table .action-menu>.icon-button:hover{background:#f8fafc}.work-order-table .action-menu>.icon-button svg{transform:rotate(90deg)}.crm-filter-row{grid-template-columns:minmax(220px,1.3fr) repeat(5,minmax(150px,1fr));align-items:end;gap:12px;display:grid}.crm-filter-row .field{min-width:0}.crm-filter-row input,.crm-filter-row select{width:100%}.crm-drawer{border:1px solid var(--color-border);box-shadow:var(--shadow-soft);background:#fff;border-radius:8px;gap:14px;padding:18px;display:grid;position:sticky;top:86px}.drawer-heading{justify-content:space-between;align-items:start;gap:12px;display:flex}.drawer-heading h2{margin:0;font-size:18px}.drawer-badges{flex-wrap:wrap;gap:8px;display:flex}.action-menu{display:inline-flex;position:relative}.action-menu-panel{z-index:80;border:1px solid var(--color-border);width:190px;max-height:min(320px,100vh - 16px);box-shadow:var(--shadow-soft);background:#fff;border-radius:8px;gap:3px;padding:6px;display:grid;position:fixed;overflow-y:auto}.action-menu-panel button{min-height:34px;color:var(--color-text-sub);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:8px 10px}.action-menu-panel button:hover{background:#f8fafc}.muted-text{color:var(--color-muted)}@media (width<=1100px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-column-page,.crm-workspace{grid-template-columns:1fr}.detail-drawer,.crm-drawer{position:static}.crm-filter-row{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=860px){.app-shell,.app-shell-collapsed{grid-template-columns:1fr}.sidebar{width:280px;position:fixed;top:0;left:0;transform:translate(0)}.sidebar-collapsed{width:76px}.app-main{margin-left:76px}.topbar{flex-direction:column;align-items:stretch;padding:10px 18px}.topbar-actions,.global-search{width:100%}.profile-copy{display:none}.content-area{padding:20px}.dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.insight-grid{grid-template-columns:1fr}.summary-grid,.summary-grid.compact,.account-amount-grid,.account-detail-grid,.sales-work-order-detail-cards,.crm-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.assign-lead-modal{gap:12px;width:100%}.assign-lead-header{padding:15px 16px 13px}.assign-lead-header h2{font-size:19px}.assign-lead-field{margin-left:16px;margin-right:16px}.assign-telecaller-menu{max-height:min(260px,38vh)}.assign-lead-modal .modal-actions{align-items:stretch;padding:12px 16px}.assign-lead-modal .button{flex:1}.app-main{margin-left:0}.sidebar{grid-row:1;width:auto;height:auto;position:sticky}.sidebar-collapsed{width:auto}.sidebar-collapsed .sidebar-nav{display:flex}.topbar-left{width:100%}.kpi-grid,.summary-grid,.summary-grid.compact,.crm-filter-row,.sales-work-order-detail-cards{grid-template-columns:1fr}.sales-work-order-card-row{grid-template-columns:1fr;gap:4px}.sales-work-order-card-list{grid-template-columns:1fr}.account-summary-grid{grid-template-columns:repeat(5,minmax(96px,1fr))}.account-list-toolbar{flex-direction:column;align-items:stretch}.account-search{width:100%}.account-detail-header,.account-detail-section-header{flex-direction:column;align-items:flex-start}.account-drawer-actions,.account-drawer-actions .button{width:100%}.account-drawer-actions{flex-wrap:wrap}.account-drawer-actions .button{flex-basis:100%}.account-amount-grid,.account-detail-grid{grid-template-columns:1fr}.page-header,.customer-master-header,.price-history-header,.lead-versions-header,.pagination{flex-direction:column;align-items:flex-start}.topbar-actions{flex-wrap:wrap}.notification-button{flex:none}.profile-menu{margin-left:auto}}@media (width<=640px){.dashboard-kpi-grid{grid-template-columns:1fr}.dashboard-page .chart-panel{min-height:auto;padding:16px}.dashboard-bar-row{grid-template-columns:minmax(0,1fr) 42px;gap:8px 10px}.dashboard-bar-row>span{grid-column:1/-1}.dashboard-error-row{flex-direction:column;align-items:flex-start}}.report-summary-cards{flex-wrap:wrap;gap:12px;display:flex}.report-summary-cards .summary-card{background:var(--color-card);border:1px solid var(--color-border);min-width:140px;box-shadow:var(--shadow-soft);border-radius:10px;flex-direction:column;flex:160px;gap:4px;padding:16px 20px;display:flex}.summary-card-label{color:var(--color-muted);font-size:12px;font-weight:var(--fw-medium);text-transform:uppercase;letter-spacing:.04em}.summary-card-value{font-size:22px;font-weight:var(--fw-bold);color:var(--color-text);line-height:1.2}.summary-card-sub{color:var(--color-text-sub);font-size:12px}.report-table-panel{overflow:hidden}.loading-state{text-align:center;color:var(--color-muted);padding:40px;font-size:14px}.pagination{border-top:1px solid var(--color-border);justify-content:flex-end;align-items:center;gap:8px;padding:12px 16px;display:flex}.pagination-info{color:var(--color-muted);margin:0 4px;font-size:13px}.export-buttons{align-items:center;gap:8px;display:flex}.filter-actions{align-items:center;gap:8px;padding-top:4px;display:flex}.error-banner{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:12px 16px;font-size:13px}.invoice-report-page,.customer-report-page{width:100%;max-width:1440px;margin:0 auto}.invoice-report-page .page-header,.customer-report-page .page-header{align-items:flex-start}.invoice-report-page .page-actions,.customer-report-page .page-actions{flex:none;justify-content:flex-end}.invoice-report-page .filter-panel{grid-template-columns:repeat(3,minmax(180px,1fr)) auto;align-items:end;gap:14px;margin-bottom:0;padding:16px;display:grid}.customer-report-page .filter-panel{grid-template-columns:minmax(260px,1fr) auto;align-items:end;gap:14px;margin-bottom:0;padding:16px;display:grid}.sales-report-page .filter-panel{grid-template-columns:minmax(260px,1fr) auto}.invoice-report-page .filter-panel .field,.customer-report-page .filter-panel .field{min-width:0}.invoice-report-page .filter-panel input,.invoice-report-page .filter-panel select,.customer-report-page .filter-panel select,.sales-report-page .filter-panel input{height:42px;min-height:42px}.invoice-report-page .filter-actions,.invoice-report-page .export-buttons,.customer-report-page .filter-actions,.customer-report-page .export-buttons{flex-wrap:nowrap;justify-content:flex-end}.invoice-report-page .filter-actions .button,.invoice-report-page .export-buttons .button{min-width:max-content;height:44px}.customer-report-page .filter-actions .button,.customer-report-page .export-buttons .button{min-width:max-content}.invoice-report-page .report-summary-cards{grid-template-columns:repeat(5,minmax(150px,1fr));gap:12px;display:grid}.invoice-report-page .report-summary-cards .summary-card{justify-content:center;min-width:0;min-height:92px;padding:14px 16px}.invoice-report-page .summary-card-value{overflow-wrap:anywhere;font-size:20px}.invoice-report-page .report-table-panel,.customer-report-page .report-table-panel{border-radius:10px}.report-table-panel .data-table{table-layout:auto}.report-table-panel .data-table th,.report-table-panel .data-table td{text-overflow:clip;overflow:visible}.invoice-report-page .report-table-panel .data-table{min-width:1360px}.customer-report-page .report-table-panel .data-table{border-collapse:separate;border-spacing:0;min-width:1320px}.sales-report-page .report-table-panel .data-table{min-width:1280px}.invoice-report-page .report-table-panel th,.invoice-report-page .report-table-panel td{white-space:nowrap}.invoice-report-page .report-table-panel td:nth-child(3){white-space:normal;min-width:260px}.invoice-report-page .report-table-panel th:nth-child(6),.invoice-report-page .report-table-panel td:nth-child(6),.invoice-report-page .report-table-panel th:nth-child(7),.invoice-report-page .report-table-panel td:nth-child(7),.invoice-report-page .report-table-panel th:nth-child(8),.invoice-report-page .report-table-panel td:nth-child(8),.invoice-report-page .report-table-panel th:nth-child(9),.invoice-report-page .report-table-panel td:nth-child(9){text-align:right;min-width:150px}.invoice-report-page .report-table-panel th:nth-child(10),.invoice-report-page .report-table-panel td:nth-child(10){min-width:150px}.customer-report-page .report-table-panel th,.customer-report-page .report-table-panel td{vertical-align:top;padding:14px 16px}.customer-report-page .report-table-panel th:first-child,.customer-report-page .report-table-panel td:first-child{white-space:normal;width:34%;min-width:340px}.customer-report-page .report-table-panel th:nth-child(2),.customer-report-page .report-table-panel td:nth-child(2){white-space:normal;width:36%;min-width:360px}.customer-report-page .report-table-panel th:nth-child(3),.customer-report-page .report-table-panel td:nth-child(3),.customer-report-page .report-table-panel th:nth-child(4),.customer-report-page .report-table-panel td:nth-child(4),.customer-report-page .report-table-panel th:nth-child(5),.customer-report-page .report-table-panel td:nth-child(5){white-space:nowrap;text-align:right;min-width:165px}.customer-report-page .report-table-panel th:nth-child(6),.customer-report-page .report-table-panel td:nth-child(6){white-space:nowrap;min-width:140px}.sales-report-page .report-table-panel th:first-child,.sales-report-page .report-table-panel td:first-child{width:auto;min-width:220px}.sales-report-page .report-table-panel th:nth-child(2),.sales-report-page .report-table-panel td:nth-child(2),.sales-report-page .report-table-panel th:nth-child(3),.sales-report-page .report-table-panel td:nth-child(3),.sales-report-page .report-table-panel th:nth-child(8),.sales-report-page .report-table-panel td:nth-child(8){white-space:nowrap;text-align:right;min-width:120px}.sales-report-page .report-table-panel th:nth-child(4),.sales-report-page .report-table-panel td:nth-child(4),.sales-report-page .report-table-panel th:nth-child(5),.sales-report-page .report-table-panel td:nth-child(5),.sales-report-page .report-table-panel th:nth-child(6),.sales-report-page .report-table-panel td:nth-child(6),.sales-report-page .report-table-panel th:nth-child(7),.sales-report-page .report-table-panel td:nth-child(7){white-space:nowrap;text-align:right;min-width:175px}.cr-filter-bar{border:1px solid var(--color-border);background:#fff;border-radius:12px;align-items:flex-end;gap:10px;width:100%;padding:18px 24px;display:flex;box-shadow:0 1px 4px #0000000a}.cr-filter-bar__inner{align-items:flex-end;gap:10px;width:50%;min-width:320px;display:flex}.cr-filter-bar__field{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.cr-filter-bar__label{color:var(--color-text);letter-spacing:.2px;font-size:12px;font-weight:700}.cr-filter-bar__select-wrap{position:relative}.cr-filter-bar__sel-icon{color:var(--color-muted);pointer-events:none;z-index:1;align-items:center;display:flex;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.cr-filter-bar__select{border:1.5px solid var(--color-border);width:100%;height:44px;color:var(--color-text);appearance:none;cursor:pointer;background:#f8faff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") right 12px center no-repeat;border-radius:8px;padding:0 36px 0 38px;font-size:14px;font-weight:500;transition:border-color .15s,box-shadow .15s,background .15s}.cr-filter-bar__select:focus{border-color:var(--color-primary);background-color:#fff;outline:none;box-shadow:0 0 0 3px #4f8cff21}.cr-filter-bar__count{color:var(--color-muted);font-size:11.5px;font-weight:500}.cr-filter-bar__actions{flex-shrink:0;align-items:center;gap:8px;padding-bottom:24px;display:flex}.cr-filter-bar__apply{cursor:pointer;white-space:nowrap;color:#fff;background:linear-gradient(135deg, var(--color-primary), var(--color-secondary));border:none;border-radius:8px;align-items:center;gap:7px;height:44px;padding:0 22px;font-size:14px;font-weight:600;transition:background .15s,box-shadow .15s;display:inline-flex;box-shadow:0 1px 3px #4f8cff40}.cr-filter-bar__apply:hover:not(:disabled){background:linear-gradient(135deg, var(--color-primary-dark), #6a53df);box-shadow:0 3px 10px #4f8cff59}.cr-filter-bar__apply:disabled{opacity:.55;cursor:not-allowed}.cr-filter-bar__reset{cursor:pointer;white-space:nowrap;height:44px;color:var(--color-text-sub);border:1px solid var(--color-border);background:#fff;border-radius:8px;padding:0 18px;font-size:14px;font-weight:500;transition:background .15s,border-color .15s,color .15s}.cr-filter-bar__reset:hover:not(:disabled){color:var(--color-text);background:#f8fafc;border-color:#cbd5e1}.cr-filter-bar__reset:disabled{opacity:.45;cursor:not-allowed}.cr-spin{border:2px solid #ffffff59;border-top-color:#fff;border-radius:50%;width:13px;height:13px;animation:.65s linear infinite cr-spin;display:inline-block}@keyframes cr-spin{to{transform:rotate(360deg)}}.cr-error-bar{color:#b91c1c;background:#fff1f2;border:1px solid #fecdd3;border-radius:8px;align-items:center;gap:8px;padding:11px 16px;font-size:13px;font-weight:500;display:flex}.cr-summary-row{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.cr-card{border:1px solid var(--color-border);background:#fff;border-radius:12px;flex-direction:column;gap:8px;padding:18px 20px 16px;display:flex;position:relative;overflow:hidden}.cr-card:after{content:"";border-radius:12px 12px 0 0;height:3px;position:absolute;top:0;left:0;right:0}.cr-card--neutral:after{background:var(--color-primary)}.cr-card--red:after{background:#ef4444}.cr-card--green:after{background:#22c55e}.cr-card--blue:after{background:#3b82f6}.cr-card__top{justify-content:space-between;align-items:center;display:flex}.cr-card__label{text-transform:uppercase;letter-spacing:.6px;color:var(--color-muted);font-size:11px;font-weight:700}.cr-card__icon{border-radius:7px;flex-shrink:0;place-items:center;width:30px;height:30px;display:grid}.cr-card--neutral .cr-card__icon{color:var(--color-primary);background:#eef3ff}.cr-card--red .cr-card__icon{color:#ef4444;background:#fff1f2}.cr-card--green .cr-card__icon{color:#16a34a;background:#f0fdf4}.cr-card--blue .cr-card__icon{color:#3b82f6;background:#eff6ff}.cr-card__value{overflow-wrap:anywhere;color:var(--color-text);font-size:20px;font-weight:800;line-height:1.15}.cr-card--red .cr-card__value{color:#b91c1c}.cr-card--green .cr-card__value{color:#15803d}.cr-card--blue .cr-card__value{color:#1d4ed8}.cr-card__sub{color:var(--color-muted);font-size:12px;line-height:1.4}.cr-empty-panel{justify-content:center;align-items:center;min-height:260px;display:flex}.cr-empty-state{text-align:center;flex-direction:column;align-items:center;gap:12px;max-width:360px;padding:32px 24px;display:flex}.cr-empty-state__graphic{margin-bottom:4px}.cr-empty-state__heading{color:var(--color-text);margin:0;font-size:15px;font-weight:700}.cr-empty-state__hint{color:var(--color-muted);margin:0;font-size:13px;line-height:1.6}@media (width<=1000px){.cr-summary-row{grid-template-columns:repeat(2,1fr)}}@media (width<=700px){.cr-filter-bar__inner{flex-direction:column;align-items:stretch;width:100%}.cr-filter-bar__actions{padding-bottom:0}.cr-summary-row{grid-template-columns:1fr 1fr}}@media (width<=480px){.cr-summary-row{grid-template-columns:1fr}}.customer-report-summary{grid-template-columns:minmax(260px,1.4fr) repeat(3,minmax(180px,1fr));gap:12px;display:grid}.customer-report-summary-card{border:1px solid var(--color-border);background:var(--color-surface);border-radius:10px;flex-direction:column;justify-content:center;min-height:104px;padding:16px;display:flex}.customer-report-summary-card span{text-transform:uppercase;color:var(--color-muted);font-size:12px;font-weight:700}.customer-report-summary-card strong{color:var(--color-text);overflow-wrap:anywhere;margin-top:6px;font-size:24px;line-height:1.15}.customer-report-summary-card small{color:var(--color-text-sub);margin-top:6px;font-size:12px}.customer-report-summary-card.pending{background:#fff7f7;border-color:#fecaca}.customer-report-summary-card.pending strong{color:#b91c1c}.customer-report-summary-card.paid{background:#f0fdf4;border-color:#bbf7d0}.customer-report-summary-card.paid strong{color:#15803d}.customer-report-summary-card.invoice{background:#eff6ff;border-color:#bfdbfe}.customer-report-summary-card.invoice strong{color:#1d4ed8}.customer-report-lead-cell{flex-direction:column;gap:6px;line-height:1.35;display:flex}.customer-report-lead-cell strong{color:var(--color-text);font-size:14px}.customer-report-lead-cell span,.customer-report-transaction span{color:var(--color-text-sub);gap:6px;font-size:12px;display:flex}.customer-report-lead-cell em,.customer-report-transaction em{min-width:max-content;color:var(--color-muted);font-style:normal;font-weight:700}.customer-report-transaction-list{flex-direction:column;gap:8px;display:flex}.customer-report-transaction{border:1px solid var(--color-border);background:#ffffffb3;border-radius:8px;gap:4px;padding:8px 10px;display:grid}.customer-report-muted{color:var(--color-muted);font-size:13px}.customer-report-amount{font-variant-numeric:tabular-nums;justify-content:flex-end;width:100%;min-width:120px;font-weight:800;display:inline-flex}.customer-report-amount-pending{color:#b91c1c}.customer-report-amount-paid{color:#15803d}.customer-report-amount-invoice{color:#1d4ed8}.customer-report-status{color:#991b1b;text-align:center;background:#fee2e2;border-radius:999px;justify-content:center;align-items:center;min-width:110px;min-height:28px;padding:4px 10px;font-size:12px;font-weight:800;display:inline-flex}.customer-report-status.payment-done{color:#166534;background:#dcfce7}.report-table-panel .data-table tr.report-row-paid td{color:#14532d;background:#f0fdf4}.report-table-panel .data-table tr.report-row-unpaid td{color:#881337;background:#fff7f7}@media (width<=1100px){.invoice-report-page .filter-panel{grid-template-columns:repeat(2,minmax(180px,1fr))}.customer-report-page .filter-panel,.sales-report-page .filter-panel{grid-template-columns:1fr}.invoice-report-page .filter-actions,.customer-report-page .filter-actions{grid-column:1/-1;justify-content:flex-start}.invoice-report-page .report-summary-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.invoice-report-page .page-header,.invoice-report-page .page-actions,.invoice-report-page .export-buttons,.invoice-report-page .export-buttons .button,.customer-report-page .page-header,.customer-report-page .page-actions,.customer-report-page .export-buttons,.customer-report-page .export-buttons .button{width:100%}.invoice-report-page .filter-panel,.invoice-report-page .report-summary-cards,.customer-report-page .filter-panel,.customer-report-summary{grid-template-columns:1fr}.invoice-report-page .filter-actions,.customer-report-page .filter-actions{flex-direction:column;align-items:stretch}.invoice-report-page .filter-actions .button,.customer-report-page .filter-actions .button{width:100%}}html,body,#root{width:100%;min-width:0;max-width:100%}body{overflow-x:hidden}img,svg,canvas,video{max-width:100%}.app-shell,.app-main,.content-area,.page-stack,.crm-workspace,.panel,.table-wrap,.lead-table-wrap,.customer-table-wrap,.price-history-table-wrap,.lead-quotation-table-wrap,.lead-commercial-table-wrap,.page-header>div:first-child,.customer-master-header>div:first-child,.price-history-header>div:first-child,.lead-versions-header>div:first-child,.topbar-left,.breadcrumbs,.panel-heading,.list-toolbar,.filter-panel,.lead-list-toolbar,.account-list-toolbar,.customer-list-toolbar,.product-list-toolbar,.price-history-toolbar,.work-order-toolbar{min-width:0}.table-wrap,.customer-table-wrap,.price-history-table-wrap,.lead-quotation-table-wrap,.lead-commercial-table-wrap{-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;max-width:100%;overflow-x:auto}.lead-table-wrap{-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.data-table,.lead-table,.account-table,.master-table{max-width:none}.button,.status-badge,.customer-report-status{max-width:100%}.button{white-space:normal}.field,.search-field,.lead-search,.account-search,.customer-search{min-width:0}.export-buttons,.filter-actions,.page-actions,.modal-actions,.row-actions,.account-drawer-actions{flex-wrap:wrap;min-width:0}.modal-card{max-height:calc(100dvh - 32px);overflow-y:auto}@media (width<=1200px){.dashboard-page .dashboard-grid,.dashboard-kpi-grid,.kpi-grid,.summary-grid,.summary-grid.compact,.invoice-report-page .report-summary-cards,.customer-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-page .dashboard-grid{grid-template-columns:1fr}.invoice-report-page .filter-panel,.customer-report-page .filter-panel,.sales-report-page .filter-panel,.filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-actions{grid-column:1/-1;justify-content:flex-start}}@media (width<=860px){.app-shell,.app-shell-collapsed{grid-template-columns:minmax(0,1fr);height:auto;min-height:100dvh;overflow:visible}.app-main{height:auto;min-height:0;margin-left:76px;overflow:visible}.content-area{width:100%;padding:14px;overflow:visible}.topbar{gap:10px;padding:10px 14px}.breadcrumbs{max-width:100%}.profile-trigger{min-width:0;padding-right:8px}.page-header,.customer-master-header,.price-history-header,.lead-versions-header{flex-direction:column;align-items:flex-start}.page-actions,.page-actions>*,.export-buttons{width:100%}.page-actions .button,.export-buttons .button{flex:180px}.page-header h1,.customer-master-header h1,.price-history-header h1,.lead-versions-header h1{font-size:22px;line-height:1.18}.two-column-page,.crm-workspace,.inventory-details-content,.inventory-work-order-layout,.lead-details-content,.lead-commercial-layout{grid-template-columns:minmax(0,1fr)!important}.detail-drawer,.crm-drawer{position:static}.account-amount-grid,.account-detail-grid,.account-form-grid,.sales-work-order-detail-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.account-detail-header,.account-detail-section-header,.rental-detail-header,.inventory-detail-section-header,.dashboard-error-row{flex-direction:column;align-items:stretch}.account-drawer-actions{justify-content:flex-start}.account-drawer-actions .button{flex:220px;min-width:0}.lead-list-toolbar,.account-list-toolbar,.customer-list-toolbar,.product-list-toolbar,.price-history-toolbar,.work-order-toolbar,.list-toolbar{flex-direction:column;align-items:stretch}.lead-search,.account-search,.customer-search,.search-field{width:100%}.pagination,.lead-pagination,.customer-pagination,.inventory-pagination{flex-direction:column;align-items:stretch}.pagination div,.lead-pagination div,.customer-pagination div,.inventory-pagination div{justify-content:space-between;width:100%}}@media (width<=620px){.app-main{margin-left:0}.sidebar,.sidebar-collapsed{border-right:0;border-bottom:1px solid var(--color-border);width:100%;height:auto;max-height:44dvh;padding:10px;position:sticky;top:0}.sidebar-brand{min-height:42px;margin-bottom:8px}.sidebar-brand-copy{display:block}.sidebar-collapsed .sidebar-brand{justify-content:flex-start}.sidebar-collapsed .brand-mark,.sidebar-collapsed .sidebar-brand-copy{display:grid}.sidebar-nav{flex-direction:row;gap:6px;padding-bottom:2px;overflow-x:auto}.nav-group,.nav-item,.nav-child{flex:none}.nav-item,.nav-child{border:1px solid var(--color-border);background:#fff;width:auto;min-height:38px;padding:8px 10px}.sidebar-collapsed .nav-item span,.sidebar-collapsed .chevron{display:inline}.sidebar-collapsed .nav-child{display:flex}.nav-children{z-index:35;border:1px solid var(--color-border);min-width:180px;max-width:calc(100vw - 20px);box-shadow:var(--shadow-soft);background:#fff;border-radius:8px;margin:6px 0 0;padding:6px;display:grid;position:absolute}.content-area{padding:12px}.topbar{flex-direction:column;align-items:stretch;padding:10px 12px}.topbar-actions{justify-content:space-between;width:100%}.profile-menu{margin-left:0}.profile-dropdown{width:min(280px,100vw - 24px);right:0}.page-stack,.crm-workspace,.customer-master-page{gap:12px}.page-header h1,.customer-master-header h1,.price-history-header h1,.lead-versions-header h1{font-size:20px}.page-actions,.page-actions>*,.page-actions .button,.export-buttons,.export-buttons .button,.filter-actions,.filter-actions .button,.modal-actions,.modal-actions .button{width:100%}.filter-panel,.invoice-report-page .filter-panel,.customer-report-page .filter-panel,.sales-report-page .filter-panel,.crm-filter-row,.account-filter-row,.inventory-filter-row,.product-filter-bar,.inventory-adjustment-form,.inventory-adjustment-top-row,.inventory-adjustment-two-column,.inventory-adjustment-type-grid,.inventory-preview-box,.account-form-grid,.account-amount-grid,.account-detail-grid,.summary-grid,.summary-grid.compact,.invoice-report-page .report-summary-cards,.customer-report-summary,.dashboard-kpi-grid,.kpi-grid,.dashboard-grid,.insight-grid{grid-template-columns:minmax(0,1fr)!important}.panel,.account-detail-summary,.inventory-form-panel,.inventory-adjustment-card{border-radius:8px}.account-detail-summary,.inventory-form-panel,.inventory-adjustment-card{padding:14px}.account-payment-status{width:100%;min-width:0}.account-amount-card{min-height:64px}.modal-backdrop{align-items:end;padding:10px}.modal-card,.account-modal,.work-order-modal,.assign-lead-modal,.lead-customer-modal{border-radius:10px;width:100%;max-height:calc(100dvh - 20px);padding:16px}.data-table th,.data-table td,.lead-table th,.lead-table td,.account-table th,.account-table td,.customer-table th,.customer-table td,.master-table th,.master-table td{padding-left:10px;padding-right:10px}.invoice-report-page .report-table-panel .data-table,.customer-report-page .report-table-panel .data-table,.sales-report-page .report-table-panel .data-table,.account-transactions-table{min-width:760px}.toast-stack{top:12px;left:12px;right:12px}.toast{min-width:0}}@media (width<=420px){.content-area{padding:10px}.topbar-actions{gap:8px}.profile-trigger{max-width:calc(100vw - 70px)}.button{padding-left:12px;padding-right:12px}.invoice-report-page .report-table-panel .data-table,.customer-report-page .report-table-panel .data-table,.sales-report-page .report-table-panel .data-table,.account-transactions-table{min-width:680px}}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{height:var(--input-height-md);padding:0 var(--input-padding-x);font-size:var(--input-font-md);color:var(--color-text);border:1px solid var(--color-border);border-radius:var(--radius-lg);appearance:none;cursor:pointer;background:#fff;outline:none;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;transition:border-color .15s,box-shadow .15s}input[type=date]:hover,input[type=datetime-local]:hover{border-color:#c3d8ff}input[type=date]:focus,input[type=datetime-local]:focus{border-color:var(--color-primary);box-shadow:var(--shadow-focus)}.lead-search,.account-search,.search-bar,[class*=-search]{height:var(--input-height-md);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:#fafcff;align-items:center;gap:8px;padding:0 12px;transition:border-color .15s,box-shadow .15s;display:flex}.lead-search:focus-within,.account-search:focus-within,.search-bar:focus-within,[class*=-search]:focus-within{border-color:var(--color-primary);box-shadow:var(--shadow-focus);background:#fff}.lead-search input,.account-search input,.search-bar input,[class*=-search] input{width:100%;font-size:var(--input-font-md);color:var(--color-text);background:0 0;border:none;outline:none;height:100%}.table-header-filter-control{border:1px solid var(--color-border);border-radius:var(--radius-md);cursor:pointer;background:#fff;align-items:center;gap:4px;height:30px;padding:0 8px 0 6px;transition:border-color .15s,box-shadow .15s;display:inline-flex}.table-header-filter-control:hover{background:#fafcff;border-color:#c3d8ff}.table-header-filter-control.active{border-color:var(--color-primary);background:var(--color-primary-light);color:var(--color-primary-dark)}.table-header-filter-control select{cursor:pointer;min-width:60px;box-shadow:none!important;height:100%!important;font-size:12px!important;font-weight:var(--fw-semibold)!important;color:inherit!important;background:0 0!important;border:none!important;outline:none!important;padding:0!important}.ant-input,.ant-input-affix-wrapper{border-radius:var(--radius-lg)!important;border-color:var(--color-border)!important;font-size:var(--input-font-md)!important;height:var(--input-height-md)!important;transition:border-color .15s,box-shadow .15s!important}.ant-input:focus,.ant-input-affix-wrapper:focus,.ant-input-affix-wrapper-focused{border-color:var(--color-primary)!important;box-shadow:var(--shadow-focus)!important}.ant-select-selector{border-radius:var(--radius-lg)!important;border-color:var(--color-border)!important;height:var(--input-height-md)!important;font-size:var(--input-font-md)!important;align-items:center!important}.ant-select:hover .ant-select-selector{border-color:#c3d8ff!important}.ant-select-focused .ant-select-selector{border-color:var(--color-primary)!important;box-shadow:var(--shadow-focus)!important}.ant-select-item-option-selected:not(.ant-select-item-option-disabled){background:var(--color-primary-light)!important;font-weight:var(--fw-semibold)!important}.ant-picker{width:100%;border-radius:var(--radius-lg)!important;border-color:var(--color-border)!important;height:var(--input-height-md)!important;font-size:var(--input-font-md)!important;transition:border-color .15s,box-shadow .15s!important}.ant-picker:hover{border-color:#c3d8ff!important}.ant-picker-focused{border-color:var(--color-primary)!important;box-shadow:var(--shadow-focus)!important}.ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner:before{border-color:var(--color-primary)!important}.ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner{background:var(--color-primary)!important}.ant-table-thead>tr>th{background:var(--color-table-header-bg)!important;color:var(--color-table-header)!important;font-size:11px!important;font-weight:var(--fw-bold)!important;text-transform:uppercase!important;letter-spacing:.5px!important;border-bottom:1.5px solid var(--color-border)!important}.ant-table-tbody>tr:hover>td{background:var(--color-table-row-hover)!important}.ant-table-tbody>tr>td{font-size:var(--input-font-md)!important;color:var(--color-table-text)!important;border-bottom:1px solid #f1f5f9!important}.ant-btn{height:var(--input-height-md)!important;border-radius:var(--radius-md)!important;font-weight:var(--fw-semibold)!important;font-size:var(--input-font-md)!important}.ant-btn-sm{height:var(--input-height-sm)!important;font-size:var(--input-font-sm)!important}.ant-btn-lg{height:var(--input-height-lg)!important;font-size:15px!important}.row-actions{align-items:center;gap:6px;display:flex}.row-action-btn{border-radius:var(--radius-md);border:1px solid var(--color-border);width:30px;height:30px;color:var(--color-text-sub);cursor:pointer;background:#fff;justify-content:center;align-items:center;transition:background .12s,border-color .12s,color .12s;display:inline-flex}.row-action-btn:hover{background:var(--color-primary-light);border-color:var(--color-primary);color:var(--color-primary-dark)}.row-action-btn.danger:hover{background:var(--color-danger-bg);border-color:var(--color-danger-border);color:var(--color-danger)}.field.has-error input,.field.has-error select,.field.has-error textarea{border-color:var(--color-danger)!important;background:#fff5f5!important;box-shadow:0 0 0 3px #dc26261f!important}.field.has-error input:focus,.field.has-error select:focus,.field.has-error textarea:focus{border-color:var(--color-danger)!important;box-shadow:0 0 0 3px #dc26262e!important}.field.has-error>span:first-child,.field.has-error>label:first-child{color:var(--color-danger)!important}.field-error-msg{color:var(--color-danger);align-items:flex-start;gap:5px;margin-top:5px;font-size:12px;font-weight:500;line-height:1.4;animation:.25s shake;display:flex}.field-error-msg:before{content:"!";background:var(--color-danger);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:14px;height:14px;margin-top:1px;font-size:9px;font-weight:700;display:inline-flex}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-4px)}75%{transform:translate(4px)}}.login-field-error{color:var(--color-danger);align-items:center;gap:5px;margin-top:5px;font-size:12px;font-weight:500;display:flex}.login-input.input-error{border-color:var(--color-danger)!important;background:#fff5f5!important;box-shadow:0 0 0 3px #dc26261f!important}
