:where(svg.lucide[fill=none])>:where(rect,circle,ellipse,polygon,path[d$=z i]):not([fill]),:where(svg.lucide-square-check-big[fill=none])>path:first-child:not([fill]),:where(svg.lucide-trash-2[fill=none])>path:nth-child(2):not([fill]){fill:var(--glyph-fill);fill-opacity:var(--crm-icon-fill-opacity)}:where(svg.lucide-list-checks)>path:nth-child(n+3),:where(svg.lucide-chart-no-axes-combined)>path:not(:nth-child(4)),:where(svg.lucide-wallet)>path:last-child{stroke-opacity:var(--crm-icon-detail-opacity)}.crm-table-hint{align-items:center;gap:var(--crm-space-2);margin:0 0 var(--crm-space-3);font-size:var(--crm-font-sm);color:var(--crm-text-muted);line-height:1.6;display:flex}.crm-button,.button{min-height:var(--crm-control-height);border-radius:var(--crm-radius-md);font-size:var(--crm-font-md);letter-spacing:-.01em;white-space:nowrap;box-shadow:none;transition:background var(--crm-transition), border-color var(--crm-transition), color var(--crm-transition), box-shadow var(--crm-transition);border:1px solid #0000;flex-shrink:0;justify-content:center;align-items:center;gap:8px;padding:9px 16px;font-weight:500;line-height:20px;text-decoration:none;display:inline-flex}.crm-button:hover:not(:disabled),.button:hover:not(:disabled){transform:none}.crm-button--primary,.button-primary,.button-purple{background:var(--crm-primary);color:var(--crm-on-primary);border-color:var(--crm-primary);box-shadow:var(--crm-shadow-sm)}.crm-button--primary:hover:not(:disabled),.button-primary:hover:not(:disabled),.button-purple:hover:not(:disabled){background:var(--crm-primary-hover);border-color:var(--crm-primary-hover);box-shadow:var(--crm-shadow-sm)}.crm-button--secondary,.button-secondary{background:var(--crm-surface);border-color:var(--crm-border-strong);color:var(--crm-muted);box-shadow:none}.crm-button--secondary:hover:not(:disabled),.button-secondary:hover:not(:disabled){background:var(--crm-surface-muted);border-color:var(--crm-border-strong)}.crm-button--ghost,.button-ghost{box-shadow:none;color:var(--crm-muted);background:0 0;border-color:#0000}.crm-button--ghost:hover:not(:disabled),.button-ghost:hover:not(:disabled){background:var(--crm-surface-muted);color:var(--crm-text)}.crm-button--danger,.button-danger{background:var(--crm-danger-subtle);border-color:color-mix(in srgb, var(--crm-danger) 30%, var(--crm-surface));color:var(--crm-danger)}.crm-button--danger:hover:not(:disabled),.button-danger:hover:not(:disabled){background:color-mix(in srgb, var(--crm-danger) 12%, var(--crm-surface));border-color:color-mix(in srgb, var(--crm-danger) 45%, var(--crm-surface))}.crm-button.crm-button--sm{min-height:var(--crm-control-height-sm);font-size:var(--crm-font-sm);gap:6px;padding:5px 10px}.crm-button.crm-button--lg{min-height:44px;padding:11px 18px}.crm-button:disabled,.button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.crm-icon-button,.icon-button{border-radius:var(--crm-radius-sm);width:36px;height:36px;color:var(--crm-muted);transition:color var(--crm-transition), background var(--crm-transition), border-color var(--crm-transition);background:0 0;border:1px solid #0000;flex:none;justify-content:center;align-items:center;padding:8px;display:inline-flex}.crm-icon-button:hover:not(:disabled),.icon-button:hover:not(:disabled){background:var(--crm-surface-muted);color:var(--crm-text)}.crm-text-button,.text-button{min-height:var(--crm-control-height-sm);color:var(--crm-primary);font-size:var(--crm-font-sm);text-align:left;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-weight:600;display:inline-flex}.crm-text-button:hover,.text-button:hover{color:var(--crm-primary-hover);text-underline-offset:3px;text-decoration:underline}.crm-field,.field{flex-direction:column;gap:6px;min-width:0;display:flex}.crm-field__label-row,.field-label-row{align-items:center;gap:5px;min-height:20px;display:flex}.crm-label,.field label{color:var(--crm-text-muted);font-size:var(--crm-font-xs);font-weight:400;line-height:20px}.crm-field__required,.required{color:var(--crm-muted)}.crm-input,.crm-select,.crm-textarea,:where(.field input:not([type=checkbox]):not([type=radio]):not([type=color]),.field select,.field textarea,.searchable-select-input input,.bucket-manager-row input,.stage-editor input:not([type=color]),.stage-editor select){width:100%;min-width:0;min-height:var(--crm-control-height);height:var(--crm-control-height);border:1px solid var(--crm-control-border);border-radius:var(--crm-radius-md);background-color:var(--crm-surface);color:var(--crm-text);font-size:var(--crm-font-md);transition:border-color var(--crm-transition), background var(--crm-transition);padding:8px 11px;line-height:20px}.crm-input::placeholder,.crm-textarea::placeholder,.field input::placeholder,.field textarea::placeholder{color:var(--crm-text-subtle);opacity:1}.crm-input:hover:not(:disabled),.crm-select:hover:not(:disabled),.crm-textarea:hover:not(:disabled){border-color:var(--crm-control-border-hover)}:is(.crm-input,.crm-select,.crm-textarea):focus:not(:disabled),.field :is(input,select,textarea):focus,.searchable-select-input input:focus{border-color:var(--crm-primary);box-shadow:none;outline:none}:is(.crm-input,.crm-select,.crm-textarea):focus-visible:not(:disabled),.field :is(input,select,textarea):focus-visible,.searchable-select-input input:focus-visible{outline:none}.crm-input:disabled,.crm-select:disabled,.crm-textarea:disabled,.field :is(input,select,textarea):disabled{background:var(--crm-surface-muted);color:var(--crm-muted);cursor:not-allowed}.crm-input[readonly],.crm-textarea[readonly]{background:var(--crm-surface-muted)}.crm-input[aria-invalid=true],.crm-select[aria-invalid=true],.crm-textarea[aria-invalid=true],.field input[aria-invalid=true],.crm-input[aria-invalid=true]:focus,.crm-select[aria-invalid=true]:focus,.crm-textarea[aria-invalid=true]:focus,.field :is(input,select,textarea)[aria-invalid=true]:focus{border-color:var(--crm-danger)}.crm-search input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.crm-control-group{align-items:center;gap:var(--crm-space-2);min-width:0;min-height:var(--crm-control-height);padding-inline:var(--crm-space-3);border:1px solid var(--crm-control-border);border-radius:var(--crm-radius-md);background:var(--crm-surface);display:flex}.crm-form>.crm-search,.crm-field>.crm-search,.stack-form>.search-field{flex:none;min-width:0;max-width:none}:is(.crm-control-group,.crm-search,.search-field,.stage-filter,.activity-text-editor,.composer-row):focus-within{border-color:var(--crm-primary);box-shadow:none;outline:none}:is(.crm-control-group,.crm-search,.search-field,.stage-filter,.activity-text-editor,.composer-row):has([aria-invalid=true]){border-color:var(--crm-danger)}:is(.crm-control-group,.crm-search,.search-field,.stage-filter,.activity-text-editor,.composer-row) :is(.crm-input,.crm-select,.crm-textarea,input,select,textarea),:is(.crm-control-group,.crm-search,.search-field,.stage-filter,.activity-text-editor,.composer-row) :is(.crm-input,.crm-select,.crm-textarea,input,select,textarea):is(:hover,:focus,:focus-visible){box-shadow:none;background:0 0;border:0;outline:none}.crm-textarea,.field textarea{resize:vertical;height:auto;min-height:104px;line-height:1.6}.crm-select,.field select{padding-right:30px}.crm-field__hint,.field small,.form-hint{color:var(--crm-muted);font-size:var(--crm-font-xs);line-height:1.5}.crm-field__error,.field .crm-field__error{color:var(--crm-danger);font-size:var(--crm-font-xs);line-height:1.5}.crm-checkbox-label{min-height:var(--crm-control-height);color:var(--crm-text);font-size:var(--crm-font-sm);cursor:pointer;align-items:center;gap:9px;line-height:1.5;display:inline-flex}.crm-checkbox,.crm-radio{accent-color:var(--crm-primary);vertical-align:middle;cursor:pointer;flex:0 0 16px;width:16px;height:16px}.crm-field-help,.field-help{border-radius:var(--crm-radius-sm);width:24px;height:24px;color:var(--crm-muted);cursor:help;background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:4px;display:inline-flex}.crm-field-help:hover,.field-help:hover{background:var(--crm-surface-muted);color:var(--crm-primary)}.crm-notice,.notice{border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);font-size:var(--crm-font-sm);align-items:flex-start;gap:10px;padding:12px 14px;line-height:1.5;display:flex}.crm-notice>svg,.notice>svg{margin-top:1px}.crm-notice--error,.notice-error{background:var(--crm-danger-subtle);border-color:color-mix(in srgb, var(--crm-danger) 22%, var(--crm-surface));color:var(--crm-danger)}.crm-notice--success,.notice-success{background:var(--crm-success-subtle);border-color:color-mix(in srgb, var(--crm-success) 22%, var(--crm-surface));color:var(--crm-success)}.crm-dialog,.modal{overscroll-behavior:contain;border-radius:var(--crm-radius-xl);background:var(--crm-surface);width:560px;max-width:min(560px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--crm-text);box-shadow:var(--crm-shadow-lg);border:0;padding:0;animation:none;overflow:auto}.crm-dialog--wide,.modal-wide{width:800px;max-width:min(800px,100vw - 32px)}.crm-dialog--discard{width:400px}.crm-dialog--discard .crm-dialog__header{margin-bottom:0}.crm-dialog::backdrop,.modal::backdrop,.crm-dialog--fullscreen::backdrop{background:var(--crm-backdrop);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.crm-dialog__body,.modal-inner{padding:var(--crm-space-7)}.crm-dialog__header,.modal-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.crm-dialog__header h2,.modal-heading h2{color:var(--crm-text);font-size:var(--crm-font-xl);letter-spacing:-.025em;font-weight:600;line-height:1.3}.crm-dialog__header p,.modal-heading p{color:var(--crm-muted);font-size:var(--crm-font-sm);margin-top:6px;line-height:1.55}.crm-dialog__header>.crm-icon-button,.modal-heading>.icon-button{margin-top:-4px;margin-right:-5px}.crm-dialog__description,.modal-description{margin-bottom:var(--crm-space-5);color:var(--crm-muted);font-size:var(--crm-font-sm);line-height:1.6}.crm-dialog__footer,.modal-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:8px;padding-top:20px;display:flex}.crm-dialog--side,.modal.modal-side{border-radius:0;width:min(560px,100%);max-width:100%;height:100dvh;max-height:100dvh;margin:0;inset:0 0 0 auto}.crm-dialog--fullscreen{background:var(--crm-surface);color:var(--crm-text)}.crm-dialog__toolbar{height:60px;padding-inline:var(--crm-space-7);background:var(--crm-surface);color:var(--crm-muted);font-size:var(--crm-font-xs);border-bottom:0;font-weight:500}.crm-empty-state,.empty-state{text-align:center;flex-direction:column;align-items:center;padding:56px 24px;display:flex}.crm-empty-state__icon,.empty-icon{border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);background:var(--crm-surface-muted);width:52px;height:52px;color:var(--crm-muted);place-items:center;margin-bottom:18px;display:grid}.crm-empty-state h3,.empty-state h3{color:var(--crm-text);font-size:var(--crm-font-lg);letter-spacing:-.02em;font-weight:600}.crm-empty-state p,.empty-state p{max-width:360px;color:var(--crm-muted);font-size:var(--crm-font-sm);margin:8px 0 20px;line-height:1.6}.crm-loader,.page-loader{min-height:50vh;color:var(--crm-muted);font-size:var(--crm-font-sm);justify-content:center;align-items:center;gap:10px;display:flex}.crm-loader>svg{color:var(--crm-primary)}.crm-empty-state--compact{padding:var(--crm-space-4)}.crm-empty-state--compact .crm-empty-state__icon{width:36px;height:36px;margin-bottom:var(--crm-space-2)}.crm-empty-state--compact p{max-width:100%;margin:var(--crm-space-2) 0}.crm-loader--compact{min-height:120px}.crm-combobox,.searchable-select{min-width:0;position:relative}.crm-combobox__control,.searchable-select-input{position:relative}.crm-combobox__control>.crm-input,.searchable-select-input input{padding-right:36px}.crm-combobox__control>svg,.searchable-select-input>svg{pointer-events:none;color:var(--crm-muted);position:absolute;top:50%;right:12px;transform:translateY(-50%)}.crm-combobox__menu,.searchable-select-menu{top:calc(100% + 6px);z-index:30;overscroll-behavior:contain;border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);background:var(--crm-surface);max-height:260px;box-shadow:var(--crm-shadow-md);padding:4px;position:absolute;inset-inline:0;overflow-y:auto}.crm-combobox__option,.searchable-select-menu [role=option]{border-radius:var(--crm-radius-sm);width:100%;min-height:36px;color:var(--crm-text);font-size:var(--crm-font-sm);text-align:left;overflow-wrap:anywhere;background:0 0;border:0;align-items:center;gap:8px;padding:8px 10px;line-height:20px;display:flex}.crm-combobox__option>span{flex:1}.crm-combobox__option[aria-selected=true]{color:var(--crm-primary);font-weight:600}.crm-combobox__option.active,.crm-combobox__option:hover,.searchable-select-menu [role=option].active,.searchable-select-menu [role=option]:hover{background:var(--crm-primary-subtle)}.crm-combobox__create{color:var(--crm-primary)}.crm-combobox__empty,.searchable-select-empty{color:var(--crm-muted);font-size:var(--crm-font-sm);text-align:center;padding:16px 10px}.crm-tabs,.settings-tabs{align-items:center;gap:var(--crm-space-6);margin-bottom:var(--crm-space-6);border-bottom:1px solid var(--crm-border);scrollbar-width:thin;flex-wrap:nowrap;display:flex;overflow-x:auto}.crm-tab,.settings-tabs :is(a,[role=tab]){min-height:46px;color:var(--crm-muted);font-size:var(--crm-font-sm);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex-shrink:0;justify-content:center;align-items:center;gap:7px;padding:12px 4px;font-weight:500;display:inline-flex}.crm-tab:hover,.settings-tabs :is(a,[role=tab]):hover{color:var(--crm-text)}.crm-tab.active,.settings-tabs :is(a,[role=tab]).active{border-bottom-color:var(--crm-primary);color:var(--crm-text);background:0 0;font-weight:600}.crm-tab__count{border-radius:var(--crm-radius-sm);background:var(--crm-surface-muted);color:var(--crm-muted);font-variant-numeric:tabular-nums;padding:1px 6px;font-size:11px}.crm-segmented,.collection-view-switcher{border-radius:var(--crm-radius-md);background:var(--crm-surface-muted);border:1px solid #0000;flex-wrap:wrap;align-items:center;gap:2px;padding:3px;display:inline-flex}.crm-segmented__item,.collection-view-switcher button{border-radius:var(--crm-radius-sm);min-height:32px;color:var(--crm-muted);font-size:var(--crm-font-xs);white-space:nowrap;background:0 0;border:1px solid #0000;justify-content:center;align-items:center;gap:6px;padding:6px 10px;font-weight:600;line-height:18px;display:inline-flex}.crm-segmented__item:hover,.collection-view-switcher button:hover{color:var(--crm-text);background:var(--crm-surface)}.crm-segmented__item[aria-pressed=true],.collection-view-switcher button[aria-pressed=true]{background:var(--crm-surface);border-color:var(--crm-border);color:var(--crm-text);box-shadow:var(--crm-shadow-sm)}.crm-pagination,.pagination{color:var(--crm-muted);font-size:var(--crm-font-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-block:16px;display:flex}.crm-pagination__controls,.pagination>div{align-items:center;gap:8px;display:flex}.crm-pagination__page,.pagination>div>span{text-align:center;min-width:46px;font-size:var(--crm-font-xs)}.crm-pagination .button{min-height:var(--crm-control-height-sm);font-size:var(--crm-font-sm);padding:5px 10px}.crm-menu[popover],.record-action-menu{margin:0;position:fixed;inset:auto}.crm-menu,.record-action-menu{border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);background:var(--crm-surface);min-width:192px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);color:var(--crm-text);box-shadow:var(--crm-shadow-md);padding:5px;overflow-y:auto}:is(.crm-menu:popover-open,.record-action-menu:popover-open){display:grid}.crm-menu__item,.record-action-menu>button{border-radius:var(--crm-radius-sm);min-height:36px;color:inherit;font-size:var(--crm-font-sm);text-align:left;background:0 0;border:0;align-items:center;gap:8px;padding:8px 10px;line-height:20px;display:flex}.crm-menu__item:hover,.crm-menu__item:focus-visible,.record-action-menu>button:hover,.record-action-menu>button:focus-visible{background:var(--crm-surface-muted)}.crm-menu__item--danger,.record-action-menu>.is-danger{color:var(--crm-danger)}.crm-menu__item--danger:hover{background:var(--crm-danger-subtle)}.crm-tooltip,.app-tooltip{border-radius:var(--crm-radius-sm);background:var(--crm-text);width:max-content;max-width:min(280px,100vw - 16px);color:var(--crm-surface);font-size:var(--crm-font-xs);box-shadow:var(--crm-shadow-sm);border:0;margin:0;padding:8px 10px;font-weight:500;line-height:1.5;position:fixed;inset:auto;overflow:visible}.crm-tooltip:after,.app-tooltip:after{content:"";left:var(--tooltip-arrow,50%);border:5px solid #0000;margin-left:-5px;position:absolute}.crm-tooltip[data-placement=top]:after,.app-tooltip[data-placement=top]:after{border-top-color:var(--crm-text);top:100%}.crm-tooltip[data-placement=bottom]:after,.app-tooltip[data-placement=bottom]:after{border-bottom-color:var(--crm-text);bottom:100%}.crm-badge{border:1px solid var(--crm-border);background:var(--crm-surface-muted);min-height:24px;color:var(--crm-muted);font-size:var(--crm-font-xs);white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;gap:5px;padding:2px 8px;font-weight:600;line-height:18px;display:inline-flex}.crm-badge--neutral{background:var(--crm-surface-muted);color:var(--crm-muted)}.crm-badge--primary{background:var(--crm-primary-subtle);border-color:color-mix(in srgb, var(--crm-primary) 22%, var(--crm-surface));color:var(--crm-primary)}.crm-badge--success{background:var(--crm-success-subtle);border-color:color-mix(in srgb, var(--crm-success) 25%, var(--crm-surface));color:var(--crm-success)}.crm-badge--warning{background:var(--crm-warning-subtle);border-color:color-mix(in srgb, var(--crm-warning) 25%, var(--crm-surface));color:var(--crm-warning)}.crm-badge--danger{background:var(--crm-danger-subtle);border-color:color-mix(in srgb, var(--crm-danger) 25%, var(--crm-surface));color:var(--crm-danger)}:where(.crm-button,.crm-icon-button,.crm-text-button,.crm-field-help,.crm-tab,.crm-segmented__item,.crm-menu__item,.crm-checkbox,.crm-radio):focus-visible{outline:2px solid var(--crm-primary);outline-offset:2px}@media (max-width:640px){.crm-dialog__body,.modal-inner{padding:20px}.crm-dialog,.modal{max-height:calc(100dvh - 24px)}.crm-dialog--side,.modal.modal-side{max-height:100dvh}.crm-dialog__toolbar{padding-inline:16px}.crm-pagination{gap:10px}.crm-pagination__controls{margin-left:auto}}@media (min-width:641px) and (pointer:fine){:is(.crm-lead-view-controls,.register-toolbar,.leads-toolbar,.board-toolbar) :is(.crm-input,.crm-select,.crm-search input,.stage-filter select){font-size:var(--crm-font-sm)}}@media (max-width:640px),(pointer:coarse){.crm-input,.crm-select,.crm-textarea,.crm-search input,.search-field input,.stage-filter select,.field :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea),.searchable-select-input input{font-size:var(--crm-font-lg)}}@media (pointer:coarse){.crm-button,.crm-button.crm-button--sm,.button,.crm-icon-button,.icon-button,.crm-input,.crm-select,.field :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select),.crm-menu__item,.record-action-menu>button,.crm-combobox__option,.searchable-select-menu [role=option],.crm-segmented__item,.collection-view-switcher button,.crm-pagination .button{min-height:44px}.crm-icon-button,.icon-button,.crm-field-help,.field-help{width:44px;height:44px}.crm-checkbox,.crm-radio{min-width:20px;min-height:20px}}@media (prefers-reduced-motion:reduce){.crm-button,.crm-input,.crm-select,.crm-textarea,.crm-icon-button{transition:none}}.crm-choice-card{align-items:center;gap:var(--crm-space-4);width:100%;min-width:0;min-height:88px;padding:var(--crm-space-5);border:1px solid var(--crm-border-strong);border-radius:var(--crm-radius-lg);background:var(--crm-surface);color:var(--crm-text);text-align:left;transition:background var(--crm-transition), border-color var(--crm-transition), box-shadow var(--crm-transition);line-height:1.45;display:flex}.crm-choice-card:hover:not(:disabled){border-color:var(--crm-accent);background:var(--crm-surface-subtle)}.crm-choice-card[aria-pressed=true]{border-color:var(--crm-accent);background:var(--crm-accent-subtle);box-shadow:inset 0 0 0 1px var(--crm-accent)}.crm-choice-card[aria-pressed=true]:hover:not(:disabled){background:var(--crm-accent-subtle)}.crm-choice-card:focus-visible{outline:2px solid var(--crm-accent);outline-offset:3px}.crm-choice-card:disabled{cursor:not-allowed;opacity:.6}.crm-choice-card__icon{border-radius:var(--crm-radius-md);background:var(--crm-accent-subtle);width:40px;height:40px;color:var(--crm-accent);flex:0 0 40px;place-items:center;display:grid}.crm-choice-card__copy{gap:var(--crm-space-1);overflow-wrap:anywhere;flex:1;min-width:0;display:grid}.crm-choice-card__title{font-size:var(--crm-font-lg);font-weight:500}.crm-choice-card__description{font-size:var(--crm-font-sm);color:var(--crm-text-muted);font-weight:400}.crm-choice-card__badge{font-size:var(--crm-font-xs);color:var(--crm-text-muted);font-weight:500}.crm-choice-card__indicator{border:1px solid var(--crm-border-strong);width:20px;height:20px;color:var(--crm-on-primary);background:var(--crm-surface);transition:background var(--crm-transition), border-color var(--crm-transition);border-radius:50%;flex:0 0 20px;place-items:center;display:grid}.crm-choice-card--multiple .crm-choice-card__indicator{border-radius:var(--crm-radius-sm)}.crm-choice-card[aria-pressed=true] .crm-choice-card__indicator{border-color:var(--crm-accent);background:var(--crm-accent)}@media (max-width:480px){.crm-choice-card{padding:var(--crm-space-4);gap:var(--crm-space-3)}}@media (prefers-reduced-motion:reduce){.crm-choice-card,.crm-choice-card__indicator{transition:none}}.crm-input.crm-input--question{min-height:64px;font-size:var(--crm-font-xl);border-radius:var(--crm-radius-lg);padding:16px 20px}@media (max-width:520px){.crm-input.crm-input--question{min-height:58px;font-size:var(--crm-font-lg)}}.crm-button--primary,.button-primary,.button-purple{--glyph-fill:currentColor;--glyph-detail:currentColor;--glyph-paper:var(--crm-primary)}@media (forced-colors:active){.thunder-icon{--glyph-fill:Canvas;--glyph-detail:CanvasText;--glyph-paper:Canvas}}.crm-empty-state--action{width:100%;min-height:380px;padding:calc(var(--crm-space-8) + var(--crm-space-4)) var(--crm-space-8);border:1px dotted var(--crm-primary);border-radius:var(--crm-radius-xl);background:var(--crm-surface-subtle);color:var(--crm-text);cursor:pointer;justify-content:center;margin:0;position:relative}.crm-empty-state--action[data-disabled]{cursor:default}.crm-empty-state--action h3{font-size:var(--crm-font-xl);margin:0;line-height:1.4}.crm-empty-state--action p{max-width:440px;margin:var(--crm-space-3) 0 var(--crm-space-6);font-size:var(--crm-font-md)}.crm-empty-state__action:after{content:"";border-radius:var(--crm-radius-xl);position:absolute;inset:0}.crm-empty-state--action .crm-empty-state__icon{width:96px;height:96px;margin-bottom:var(--crm-space-6);border-radius:var(--crm-radius-xl);background:var(--crm-accent-subtle);color:var(--crm-accent);border-color:#0000;position:relative}.crm-empty-state--action .crm-empty-state__icon>svg:first-child{width:48px;height:48px}.crm-empty-state--action .crm-empty-state__icon>svg+svg{--glyph-detail:currentColor;background:var(--crm-primary);color:var(--crm-on-primary);border:3px solid var(--crm-surface-subtle);stroke-width:2.5px;padding:var(--crm-space-1);border-radius:50%;width:36px;height:36px;position:absolute;bottom:0;right:0}@media (max-width:520px){.crm-empty-state--action{min-height:360px;padding:var(--crm-space-8) var(--crm-space-5)}.crm-empty-state__action{white-space:normal;max-width:100%}}.crm-combobox__dot{border-radius:50%;flex-shrink:0;width:9px;height:9px}.crm-combobox__control>.crm-combobox__dot{left:var(--crm-space-3);pointer-events:none;z-index:1;position:absolute;top:50%;transform:translateY(-50%)}.crm-combobox__control:has(>.crm-combobox__dot)>.crm-input{padding-left:var(--crm-space-8)}.crm-combobox__option-label{align-items:center;gap:var(--crm-space-2);display:flex}.crm-combobox__copy{gap:var(--crm-space-1);min-width:0;display:grid}.crm-combobox__description{color:var(--crm-text-muted);font-size:var(--crm-font-xs);white-space:normal;font-weight:400}.crm-notice--warning{background:var(--crm-warning-subtle);border-color:color-mix(in srgb, var(--crm-warning) 25%, var(--crm-surface));color:var(--crm-warning)}.crm-notice--warning .workflow-state,.crm-notice--warning p{color:inherit}.crm-record-cards{gap:var(--crm-space-4);min-width:0;display:grid}.crm-record-cards__toolbar,.crm-record-card__header,.crm-record-card__footer{justify-content:space-between;align-items:center;gap:var(--crm-space-3);min-width:0;display:flex}.crm-record-cards__select,.crm-record-card__selection{align-items:center;gap:var(--crm-space-3);min-height:44px;color:var(--crm-text-muted);font-size:var(--crm-font-sm);display:inline-flex}.crm-record-card__selection{flex-shrink:0;justify-content:center;min-width:44px}.crm-record-card{min-width:0;padding:var(--crm-space-5);background:var(--crm-surface);border:1px solid var(--crm-border);border-inline-start:3px solid var(--crm-border);border-radius:var(--crm-radius-xl);box-shadow:var(--crm-shadow-sm)}.crm-record-card--selected{border-color:var(--crm-primary);background:var(--crm-accent-subtle)}.crm-record-card__title{overflow-wrap:anywhere;min-width:0;font-size:var(--crm-font-lg);font-weight:600;line-height:1.5}.crm-record-card__title small{font-size:var(--crm-font-xs);color:var(--crm-table-text-secondary);font-weight:400;display:block}.crm-table td small:not(.crm-field__error,.crm-badge),.leads-table td small:not(.crm-field__error,.crm-badge),.crm-record-card__facts dd small:not(.crm-field__error,.crm-badge){color:var(--crm-table-text-secondary)}.crm-record-card__facts{gap:var(--crm-space-4);padding:var(--crm-space-4);margin:var(--crm-space-3) 0 0;border-radius:var(--crm-radius-md);background:var(--crm-surface-subtle);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.crm-record-card__facts>div{min-width:0}.crm-record-card__facts dt{margin-bottom:var(--crm-space-1);font-size:var(--crm-font-xs);color:var(--crm-text-muted)}.crm-record-card__facts dd{font-size:var(--crm-font-sm);overflow-wrap:anywhere;margin:0}.crm-record-card__facts .crm-input,.crm-record-card__facts .crm-select{width:100%;min-width:0}.crm-record-card__facts .stage-pill{white-space:normal}.crm-record-card__footer{padding-top:var(--crm-space-3);flex-wrap:wrap;justify-content:flex-end}.crm-record-card__footer>:first-child:not(:only-child){margin-right:auto}@media (max-width:760px){:root{--crm-control-height:44px;--crm-control-height-sm:44px}.crm-record-card .crm-button,.crm-record-card .crm-icon-button{min-height:44px}.crm-input,.crm-select,.crm-textarea{font-size:var(--crm-font-lg)}.crm-lead-view-controls{align-items:flex-end}.crm-lead-view-controls__filters{min-width:0}.crm-lead-view-controls__actions{flex:none}}.crm-sidebar-install{padding:var(--crm-space-2) var(--crm-space-3)}.crm-offline-status{top:var(--crm-space-2);z-index:90;gap:var(--crm-space-2);width:max-content;max-width:calc(100% - 24px);padding:var(--crm-space-3) var(--crm-space-4);border-radius:var(--crm-radius-lg);background:var(--crm-warning-subtle);color:var(--crm-warning);box-shadow:var(--crm-shadow-md);font-size:var(--crm-font-sm);display:flex;position:fixed;left:50%;transform:translate(-50%)}.crm-offline-status svg{flex-shrink:0}@media (max-width:760px){.crm-lead-view-controls{gap:var(--crm-space-3);margin-bottom:var(--crm-space-6);grid-template-columns:minmax(0,1fr) 44px;display:grid}.crm-lead-view-controls__filters,.crm-lead-view-controls__filters>.leads-toolbar{display:contents}.crm-lead-view-controls__filters .search-field{grid-column:1/-1;width:100%;max-width:none}.crm-lead-view-controls__actions{margin:0}.crm-lead-view-controls__filters .stage-filter{width:100%}}.crm-record-cards__toolbar{justify-content:flex-end}.crm-record-cards__select{margin-right:auto}.crm-record-card .crm-input:not([type=color]),.crm-record-card .crm-select{width:100%;min-width:0}.crm-loading-content{width:100%;min-width:0;display:grid;position:relative}.crm-loading-content__data,.crm-loading-content__placeholder{min-width:0;transition:opacity var(--crm-content-motion);grid-area:1/1}.crm-loading-content__data{opacity:1}.crm-loading-content[data-loading=true]>.crm-loading-content__data{opacity:0;pointer-events:none}.crm-loading-content__placeholder{pointer-events:none;opacity:0;visibility:hidden;transition:opacity var(--crm-content-motion), visibility 0s var(--crm-content-duration);align-self:start}.crm-loading-content[data-loading=true]>.crm-loading-content__placeholder{opacity:1;visibility:visible;transition:opacity var(--crm-content-motion)}.crm-loading-content[data-loading=false]>.crm-loading-content__placeholder .crm-skeleton__shapes span{animation-play-state:paused}.crm-skeleton{width:100%;min-width:0;padding-block:var(--crm-space-2)}.crm-skeleton__shapes{gap:var(--crm-space-8);display:grid}.crm-skeleton__shapes span{border-radius:var(--crm-radius-sm);background:linear-gradient(100deg, var(--crm-skeleton-base) 25%, var(--crm-skeleton-highlight) 50%, var(--crm-skeleton-base) 75%);min-width:0;height:14px;animation:crm-skeleton-shimmer var(--crm-skeleton-duration) linear infinite;background-size:200% 100%;display:block}.crm-skeleton__heading{justify-content:space-between;align-items:center;gap:var(--crm-space-6);min-height:var(--crm-control-height);display:flex}.crm-skeleton__heading span:first-child{width:28%;height:26px}.crm-skeleton__heading span:last-child{width:112px;height:var(--crm-control-height)}.crm-skeleton__body{gap:var(--crm-space-4);display:grid}.crm-skeleton__row{align-items:center;gap:var(--crm-space-6);min-height:54px;padding:var(--crm-space-4);border-bottom:1px solid var(--crm-table-border);grid-template-columns:2fr 1fr 1fr 1fr;display:grid}.crm-skeleton__row span:first-child{width:80%}.crm-skeleton__row:nth-child(2n) span:first-child{width:60%}.crm-skeleton__metrics{gap:var(--crm-space-4);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.crm-skeleton__metrics>div{gap:var(--crm-space-6);padding:var(--crm-space-5);border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);display:grid}.crm-skeleton__metrics span:first-child{width:65%}.crm-skeleton__metrics span:last-child{width:45%;height:32px}.crm-skeleton--dashboard .crm-skeleton__body{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-skeleton--dashboard .crm-skeleton__row{border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);grid-template-columns:1fr;align-content:space-between;min-height:240px}.crm-skeleton--dashboard .crm-skeleton__row span:last-child{height:130px}.crm-skeleton--settings .crm-skeleton__row{gap:var(--crm-space-3);border:0;grid-template-columns:1fr;max-width:760px}.crm-skeleton--settings .crm-skeleton__row span:first-child{width:24%}.crm-skeleton--settings .crm-skeleton__row span:last-child{height:var(--crm-control-height)}.crm-skeleton--cards .crm-skeleton__body{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-skeleton--cards .crm-skeleton__row{border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);grid-template-columns:1fr;align-content:start;min-height:150px}.crm-skeleton--compact .crm-skeleton__shapes,.crm-skeleton--compact .crm-skeleton__body{gap:var(--crm-space-3)}.crm-skeleton--compact .crm-skeleton__row{min-height:36px;padding:var(--crm-space-2)}.crm-skeleton--cards.crm-skeleton--compact .crm-skeleton__body{grid-template-columns:1fr}.crm-skeleton--cards.crm-skeleton--compact .crm-skeleton__row{min-height:100px;padding:var(--crm-space-4)}.crm-bootstrap-content{margin-left:calc(var(--crm-rail-width) + var(--crm-sidebar-width));padding:var(--crm-space-8)}@keyframes crm-skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (max-width:767px){.crm-bootstrap-content{padding:var(--crm-space-4);margin-left:0}.crm-skeleton__row{gap:var(--crm-space-4);grid-template-columns:2fr 1fr}.crm-skeleton--table .crm-skeleton__row span:nth-child(n+3){display:none}.crm-skeleton__metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-skeleton--dashboard .crm-skeleton__body,.crm-skeleton--cards .crm-skeleton__body{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.crm-skeleton__shapes span{background:var(--crm-skeleton-base);animation:none}.crm-loading-content__data,.crm-loading-content__placeholder,.crm-loading-content[data-loading=true]>.crm-loading-content__placeholder{transition:none}}.crm-dialog .crm-tabs,.crm-dialog--fullscreen .crm-tabs{border-bottom:0}.crm-task-badges{align-items:center;gap:var(--crm-space-2);flex-wrap:wrap;display:flex}.crm-task-badges__type,.crm-task-badges__priority{align-items:center;gap:var(--crm-space-1);padding:var(--crm-space-1) var(--crm-space-2);border-radius:var(--crm-radius-sm);background:var(--crm-surface-subtle);color:var(--crm-text-muted);font-size:var(--crm-font-xs);display:inline-flex}.crm-task-badges__priority{text-transform:capitalize}.crm-task-badges__priority[data-priority=high]{color:var(--crm-warning);background:var(--crm-warning-subtle)}.crm-task-facts{gap:var(--crm-space-3);grid-template-columns:repeat(2,minmax(0,1fr));margin:0;display:grid}.crm-task-facts>div{min-width:0;padding:var(--crm-space-4);border-radius:var(--crm-radius-lg);background:var(--crm-surface-subtle)}.crm-task-facts dt{margin-bottom:var(--crm-space-2);color:var(--crm-text-muted);font-size:var(--crm-font-xs)}.crm-task-facts dd{align-items:center;gap:var(--crm-space-3);font-size:var(--crm-font-sm);overflow-wrap:anywhere;margin:0;line-height:1.6;display:flex}.crm-task-facts dd>:last-child{min-width:0}.crm-task-facts__avatar,.crm-task-facts__icon{background:var(--crm-accent-subtle);width:36px;height:36px;color:var(--crm-accent);border-radius:var(--crm-radius-md);flex:none;place-items:center;display:inline-grid}.crm-task-facts__avatar{font-size:var(--crm-font-xs);border-radius:50%;font-weight:500}@media (max-width:520px){.crm-task-facts{grid-template-columns:minmax(0,1fr)}}
.crm-design-system{min-height:100dvh;color:var(--crm-text);background:var(--crm-surface);font-size:var(--crm-font-md)}.crm-ds-topbar{z-index:30;justify-content:space-between;align-items:center;gap:var(--crm-space-4);min-height:72px;padding:var(--crm-space-4) var(--crm-space-8);border-bottom:1px solid var(--crm-border);background:var(--crm-surface);display:flex;position:sticky;top:0}.crm-ds-brand{align-items:center;gap:var(--crm-space-3);font-size:var(--crm-font-md);font-weight:600;display:flex}.crm-ds-brand>span:first-child{border-radius:var(--crm-radius-md);width:32px;height:32px;color:var(--crm-surface);background:var(--crm-primary);place-items:center;display:grid}.crm-ds-layout{grid-template-columns:232px minmax(0,1fr);max-width:1440px;margin:0 auto;display:grid}.crm-ds-nav{padding:var(--crm-space-8) var(--crm-space-4);align-self:start;position:sticky;top:72px}.crm-ds-nav nav{gap:var(--crm-space-1);display:grid}.crm-ds-nav nav a{align-items:center;gap:var(--crm-space-3);min-height:42px;padding:var(--crm-space-2) var(--crm-space-3);border-radius:var(--crm-radius-md);font-size:var(--crm-font-sm);transition:background var(--crm-transition);display:flex}.crm-ds-nav nav a:hover{color:var(--crm-primary);background:var(--crm-primary-subtle)}.crm-ds-content{min-width:0;padding:var(--crm-space-8) clamp(24px, 4vw, 64px) 0;border-left:1px solid var(--crm-border)}.crm-ds-intro{max-width:680px;padding-bottom:var(--crm-space-6)}.crm-ds-intro h1{margin:0 0 var(--crm-space-3);font-size:var(--crm-font-2xl);letter-spacing:-.025em;font-weight:600;line-height:1.3}.crm-ds-intro p{max-width:580px;color:var(--crm-text-muted);font-size:var(--crm-font-md);line-height:1.6}.crm-ds-section{padding:var(--crm-space-8) 0 48px;border-top:1px solid var(--crm-border);scroll-margin-top:96px}.crm-ds-section-heading{margin-bottom:var(--crm-space-6)}.crm-ds-section-heading h2{font-size:var(--crm-font-xl);letter-spacing:-.025em}.crm-ds-section-heading p{margin-top:var(--crm-space-2);color:var(--crm-text-muted);font-size:var(--crm-font-md);line-height:1.6}.crm-ds-swatches{gap:var(--crm-space-4);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.crm-ds-swatch{gap:var(--crm-space-1);min-width:0;display:grid}.crm-ds-swatch>span{height:80px;margin-bottom:var(--crm-space-2);border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg)}.crm-ds-swatch strong{font-size:var(--crm-font-md);font-weight:600}.crm-ds-swatch small,.crm-ds-caption{color:var(--crm-text-muted);font-size:var(--crm-font-xs);line-height:1.7}.crm-design-system code{color:var(--crm-text-muted);overflow-wrap:anywhere;font-size:.85em}.crm-ds-example{padding:var(--crm-space-6);border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);background:var(--crm-surface)}.crm-ds-example--flush{border:0;border-radius:0;padding:0;overflow:hidden}.crm-ds-example--flush>.settings-tabs,.crm-ds-example--flush .pagination{padding:var(--crm-space-3) var(--crm-space-4);margin:0}.crm-ds-example+.crm-ds-caption{margin-top:var(--crm-space-3)}.crm-ds-row{align-items:center;gap:var(--crm-space-3);flex-wrap:wrap;display:flex}.crm-ds-stack{gap:var(--crm-space-5);display:grid}.crm-ds-icon-grid{gap:var(--crm-space-5);grid-template-columns:repeat(auto-fit,minmax(100px,1fr));display:grid}.crm-ds-icon-sample{align-items:center;gap:var(--crm-space-2);color:var(--crm-text-muted);font-size:var(--crm-font-xs);flex-direction:column;display:flex}.crm-ds-navigation{grid-template-columns:var(--crm-rail-width) minmax(0, 1fr);width:100%;max-width:calc(var(--crm-rail-width) + var(--crm-sidebar-width));border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);min-height:360px;display:grid;overflow:hidden}.crm-ds-navigation__rail{isolation:isolate;gap:var(--crm-space-2);padding:var(--crm-space-3) var(--crm-space-2);background:var(--crm-rail);flex-direction:column;display:flex;position:relative}.crm-ds-navigation__rail button:not(.active){background:0 0}.crm-ds-navigation__sidebar{background:var(--crm-sidebar-bg);min-width:0}.crm-ds-navigation__sidebar .space-header{padding-top:var(--crm-space-5)}.crm-ds-form-grid,.crm-ds-foundations,.crm-ds-state-grid{gap:var(--crm-space-6);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.crm-ds-foundations{margin-top:var(--crm-space-6);background:var(--crm-surface-subtle)}.crm-ds-foundations h3{margin:var(--crm-space-2) 0;font-size:var(--crm-font-xl)}.crm-ds-foundations p:last-child{margin-top:var(--crm-space-3);color:var(--crm-text-muted);font-size:var(--crm-font-sm)}.crm-ds-space-scale{align-items:flex-end;gap:var(--crm-space-4);margin-top:var(--crm-space-3);display:flex}.crm-ds-space-scale>div{justify-items:center;gap:var(--crm-space-1);display:grid}.crm-ds-space-scale span{background:var(--crm-primary);border-radius:2px;display:block}.crm-ds-space-scale small{color:var(--crm-text-muted);font-size:var(--crm-font-xs)}.crm-ds-full{grid-column:1/-1}.crm-ds-search{position:relative}.crm-ds-search>svg{top:50%;left:var(--crm-space-3);color:var(--crm-text-muted);pointer-events:none;position:absolute;transform:translateY(-50%)}.crm-ds-search>input{padding-left:38px}.crm-ds-kanban{gap:var(--crm-space-4);margin:var(--crm-space-6) 0 var(--crm-space-3);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.crm-ds-kanban-column{padding:var(--crm-space-3);border-radius:var(--crm-radius-lg);background:var(--crm-bg)}.crm-ds-kanban-column>h3{justify-content:space-between;align-items:center;gap:var(--crm-space-2);margin:var(--crm-space-1) 0 var(--crm-space-4);font-size:var(--crm-font-sm);display:flex}.crm-ds-record-card{justify-items:start;gap:var(--crm-space-2);padding:var(--crm-space-4);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);background:var(--crm-surface);box-shadow:var(--crm-shadow-sm);display:grid}.crm-ds-record-card h4{margin-top:var(--crm-space-2);font-size:var(--crm-font-md)}.crm-ds-record-card p,.crm-ds-record-card>div{color:var(--crm-text-muted);font-size:var(--crm-font-xs)}.crm-ds-record-card>div{align-items:center;gap:var(--crm-space-2);margin-top:var(--crm-space-3);display:flex}.crm-ds-avatar{width:26px;height:26px;color:var(--crm-primary);background:var(--crm-primary-subtle);font-size:var(--crm-font-xs);border-radius:50%;place-items:center;font-weight:600;display:grid}.crm-ds-state-grid .empty-state{padding:var(--crm-space-5) 0;min-height:180px}.crm-ds-state-grid .page-loader{min-height:220px}.crm-ds-saved{align-items:center;gap:var(--crm-space-2);color:var(--crm-success);font-size:var(--crm-font-sm);display:inline-flex}.crm-ds-rules{gap:var(--crm-space-4);margin:0 0 var(--crm-space-6);padding-left:var(--crm-space-5);color:var(--crm-text-muted);line-height:1.7;display:grid}.crm-ds-rules strong{color:var(--crm-text);font-weight:600}.crm-ds-detail{gap:var(--crm-space-4);display:grid}.crm-ds-detail>div{gap:var(--crm-space-4);grid-template-columns:100px 1fr;display:grid}.crm-ds-detail dt{color:var(--crm-text-muted)}.crm-ds-detail dd{margin:0}@media (max-width:1000px){.crm-ds-layout{grid-template-columns:192px minmax(0,1fr)}.crm-ds-content{padding:var(--crm-space-8) var(--crm-space-6) 0}.crm-ds-kanban,.crm-ds-foundations,.crm-ds-state-grid{grid-template-columns:1fr}}@media (max-width:720px){.crm-ds-topbar{padding:var(--crm-space-4);flex-wrap:wrap;position:static}.crm-ds-layout{display:block}.crm-ds-nav{padding:var(--crm-space-4);border-bottom:1px solid var(--crm-border);position:static}.crm-ds-nav nav{gap:var(--crm-space-1);flex-wrap:wrap;display:flex}.crm-ds-nav nav a{min-height:44px}.crm-ds-content{padding:var(--crm-space-8) var(--crm-space-4) 0;border-left:0}.crm-ds-swatches{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-ds-form-grid{grid-template-columns:1fr}.crm-ds-example{padding:var(--crm-space-4)}.crm-ds-example--flush{padding:0}}
