:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#f5f5f5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,*:before,*:after{box-sizing:border-box}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh;background-color:#f5f5f5;overflow-x:hidden}h1{line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#f9f9f9;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus:not(:focus-visible){outline:none}button:focus-visible{outline:3px solid rgba(13,110,253,.25);outline-offset:2px}:root{--ui-radius-sm: 8px;--ui-radius-md: 12px;--ui-border: #e5e7eb;--ui-bg: #f6f7f9;--ui-surface: #ffffff;--ui-text: #111827;--ui-muted: #6b7280;--ui-primary: #0d6efd;--ui-primary-hover: #0b5ed7;--ui-danger: #dc3545;--ui-danger-hover: #c82333}.ui-page{display:flex;flex-direction:column;gap:18px;width:100%;min-width:0}.ui-page-header{display:flex;flex-direction:column;gap:6px}.ui-page-header--split{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:12px}.ui-page-header-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.ui-page-header h1{margin:0;font-size:30px;color:var(--ui-text)}.ui-page-header p{margin:0;color:var(--ui-muted)}.ui-state-card{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);padding:18px;display:grid;gap:10px}.ui-state-card.is-error{border-color:#fecaca;background:#fff5f5}.ui-state-title{margin:0;font-size:1rem;font-weight:800;color:var(--ui-text)}.ui-state-card.is-error .ui-state-title{color:#991b1b}.ui-state-message{margin:0;color:var(--ui-muted);line-height:1.5}.ui-state-actions{display:flex;gap:8px;flex-wrap:wrap}.crm-page-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ui-filter-field{display:grid;gap:.35rem;flex:1 1 220px;min-width:180px}.ui-filter-field--search{flex:2 1 320px;min-width:220px}.ui-filter-field>span{font-size:.78rem;font-weight:700;color:var(--ui-muted);text-transform:uppercase;letter-spacing:.02em}.crm-page-toolbar>*{max-width:100%}.crm-emails-page-header{display:flex;flex-direction:column;align-items:stretch;gap:.75rem}.crm-emails-toolbar-secondary{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:.65rem;border-top:1px solid var(--ui-border)}.crm-emails-toolbar-secondary .ui-btn{font-size:.875rem}@media(max-width:768px){.crm-emails-toolbar-secondary{flex-direction:column;align-items:stretch}.crm-emails-toolbar-secondary .ui-btn{width:100%;justify-content:center}}.crm-actions-mobile{flex-wrap:wrap}.crm-client-detail-header-actions{flex:1;min-width:0;justify-content:flex-end}.crm-client-detail-header-actions .row-actions-menu{margin-left:auto}.crm-table-desktop{display:block;min-width:0;max-width:100%;box-sizing:border-box}.ui-card-body.crm-table-desktop,.ui-card-body.crm-table-wrap-scroll{min-width:0}.crm-mobile-list{display:none}.crm-mobile-list-inner{display:grid;gap:12px}.crm-mobile-card{border:1px solid var(--ui-border);border-radius:12px;padding:14px;background:#fff;display:grid;gap:10px}.crm-mobile-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.crm-mobile-card-title{font-weight:800;color:var(--ui-text)}.crm-mobile-card-subtitle{margin-top:4px;font-size:.9rem;color:var(--ui-muted)}.crm-mobile-card-grid{display:grid;gap:8px}.crm-mobile-card-row{display:grid;gap:4px}.crm-mobile-card-label{font-size:.75rem;font-weight:700;color:var(--ui-muted);text-transform:uppercase;letter-spacing:.02em}.crm-mobile-card-value{color:var(--ui-text);line-height:1.45}.crm-mobile-card-actions{display:grid;gap:8px}.crm-mobile-card-actions .ui-btn,.crm-mobile-card-actions .row-actions-menu,.crm-mobile-card-actions .row-actions-menu-trigger{width:100%}.crm-mobile-card-actions .row-actions-menu-dropdown{left:0;right:0;min-width:0}.crm-note-preview{font-size:.83rem;line-height:1.45;color:var(--ui-muted)}.crm-mobile-card-note{color:var(--ui-muted)}.note-indicator-btn{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;margin:0;border:1px solid #fcd34d;border-radius:8px;background:#fffbeb;color:#b45309;cursor:pointer;vertical-align:middle;font:inherit;transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease}.note-indicator-btn:hover:not(.note-indicator-btn--readonly){background:#fef3c7;border-color:#fbbf24;color:#92400e;box-shadow:0 1px 3px #b453091f}.note-indicator-btn:focus-visible:not(.note-indicator-btn--readonly){outline:2px solid #f59e0b;outline-offset:2px}.note-indicator-btn--readonly{cursor:default}.note-indicator-btn-svg{display:block;flex-shrink:0}.crm-contact-detail-header{display:grid;gap:.75rem}.crm-metric-grid>*{min-width:0}.crm-metric-grid a.crm-metric-card:hover{background:var(--bg-soft, #f8fafc)}.crm-dashboard-stat-card,.crm-dashboard-module-card{min-width:0}.crm-dashboard-quick-actions{margin-bottom:1.5rem;padding:1rem 1.25rem}.crm-dashboard-quick-actions-title{font-size:.85rem;margin-bottom:.75rem}.crm-dashboard-quick-actions-buttons{display:flex;gap:1rem;flex-wrap:wrap;align-items:flex-start}.crm-dashboard-quick-actions-item{min-width:0}.crm-dashboard-quick-actions-label{font-size:.8rem;margin-bottom:.25rem}@media(max-width:480px){.crm-dashboard-quick-actions{padding:.75rem 1rem}.crm-dashboard-quick-actions-buttons{flex-direction:column;gap:.75rem;width:100%}.crm-dashboard-quick-actions-item{width:100%}.crm-dashboard-quick-actions-item .ui-btn{width:100%;justify-content:center}}.crm-pagination{display:flex;align-items:center;gap:12px;margin-top:1rem;flex-wrap:wrap}.crm-readonly-wrap{position:relative;display:inline-flex}.crm-readonly-badge{display:inline-flex;align-items:center;height:24px;margin-left:10px;padding:0 10px;border-radius:999px;border:1px solid #fcd34d;background:#fffbeb;color:#92400e;font-size:12px;font-weight:700;line-height:1;gap:6px;cursor:pointer}.crm-readonly-badge-icon{width:13px;height:13px;flex:0 0 13px}.crm-readonly-popover{position:absolute;top:calc(100% + 8px);left:10px;z-index:20;width:min(360px,80vw);padding:10px 12px;border-radius:10px;border:1px solid #fcd34d;background:#fffdf5;color:#78350f;box-shadow:0 8px 20px #00000024}.crm-readonly-popover-title{font-size:12px;font-weight:800;margin-bottom:4px}.crm-readonly-popover-text{font-size:12px;line-height:1.35}.crm-readonly-popover-list{margin:6px 0 0;padding-left:18px;font-size:12px}.ui-card{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);box-shadow:0 1px 2px #0000000f;min-width:0;max-width:100%;box-sizing:border-box}.ui-card-header{padding:16px 18px;border-bottom:1px solid var(--ui-border);display:flex;align-items:center;justify-content:space-between;gap:12px}.ui-card-body{padding:18px}.ui-tabs-card .ui-card-body{padding:12px}.ui-tabs-nav{display:flex;gap:8px;flex-wrap:wrap;padding:4px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-bg)}.ui-tab-btn{display:inline-flex;align-items:center;justify-content:center;height:34px;padding:0 12px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--ui-muted);font-size:14px;font-weight:700;cursor:pointer;text-decoration:none;transition:background .2s,color .2s,border-color .2s}.ui-tab-btn:hover{color:var(--ui-text);background:#ffffffbf}.ui-tab-btn.active{background:#fff;color:var(--ui-primary);border-color:#0d6efd40}.ui-tab-btn:focus-visible{outline:3px solid rgba(13,110,253,.25);outline-offset:2px}.ui-btn{height:36px;padding:0 14px;border-radius:10px;border:1px solid transparent;font-weight:700;font-size:14px;line-height:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;-webkit-user-select:none;user-select:none;text-decoration:none}.ui-btn:focus-visible{outline:3px solid rgba(13,110,253,.25);outline-offset:2px}.ui-btn-primary{background:var(--ui-primary);color:#fff}.ui-btn-primary:hover{background:var(--ui-primary-hover)}.ui-btn-secondary{background:#fff;border-color:var(--ui-border);color:var(--ui-text)}.ui-btn-secondary:hover{background:#f3f4f6}.ui-btn:disabled{opacity:.6;cursor:not-allowed}.ui-btn-link{height:auto;min-height:0;padding:0;border:none;border-radius:0;background:transparent;color:var(--ui-primary);font-weight:600;line-height:1.35;justify-content:flex-start;text-align:left;white-space:normal;text-decoration:underline}.ui-btn-link:hover{background:transparent;color:var(--ui-primary-hover);text-decoration:none}.ui-btn-sm{height:28px;padding:0 10px;font-size:12px}.ui-input,.ui-select{height:40px;padding:0 12px;border:1px solid var(--ui-border);border-radius:10px;background:#fff;color:var(--ui-text);font-size:14px}.ui-input:focus,.ui-select:focus{outline:3px solid rgba(13,110,253,.2);outline-offset:1px;border-color:#0d6efd8c}.phone-input-wrapper{display:flex;width:100%}.phone-input-wrapper input{flex:1;min-width:120px;background:#fff}.ui-input[type=textarea],textarea.ui-input{height:auto;min-height:80px;padding:10px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;resize:vertical}.ui-file-input-wrap{display:flex;align-items:center;gap:.5rem;min-height:40px}.ui-file-input-wrap .ui-file-input-btn{flex-shrink:0;margin:0;cursor:pointer}.ui-file-input-wrap .ui-file-input-hidden{position:absolute;width:.1px;height:.1px;opacity:0;overflow:hidden;z-index:-1}.ui-file-input-wrap .ui-file-input-filename{flex:1;min-width:0;padding:0 12px;height:40px;display:flex;align-items:center;border:1px solid var(--ui-border);border-radius:10px;background:#fff;color:var(--ui-muted);font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-btn-danger{background:var(--ui-danger);color:#fff}.ui-btn-danger:hover{background:var(--ui-danger-hover)}.ui-btn-warning{background:#d97706;color:#fff}.ui-btn-warning:hover{background:#b45309;color:#fff}.ui-link{color:var(--ui-primary);text-decoration:none;font-weight:700}.ui-link:hover{text-decoration:underline}.ui-link:focus-visible{outline:3px solid rgba(13,110,253,.25);outline-offset:2px;border-radius:6px}button.ui-link-button{font:inherit;font-weight:700;color:var(--ui-primary);text-decoration:none;background:none;border:none;padding:0;margin:0;cursor:pointer;text-align:inherit}button.ui-link-button:hover{text-decoration:underline}button.ui-link-button:focus-visible{outline:3px solid rgba(13,110,253,.25);outline-offset:2px;border-radius:6px}.ui-modal-overlay{position:fixed;inset:0;background:#0f172a80;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;padding:24px;z-index:9999;overflow-y:auto;overflow-x:hidden}.ui-modal-overlay.file-explorer-overlay{z-index:10000}.ui-modal{width:min(720px,100%);max-height:calc(100vh - 32px);background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:20px;box-shadow:0 28px 70px #0f172a3d;overflow:hidden;display:flex;flex-direction:column}.ui-modal--wide{width:min(920px,100%)}.ui-modal--xl{width:min(1080px,100%)}.ui-modal-header{padding:18px 20px;border-bottom:1px solid var(--ui-border);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;background:color-mix(in srgb,var(--ui-surface) 84%,var(--ui-bg) 16%)}.ui-modal-header h2,.ui-modal-header h3,.ui-modal-header strong{margin:0}.ui-modal-close-btn{border:1px solid var(--ui-border);background:color-mix(in srgb,var(--ui-surface) 80%,var(--ui-bg) 20%);color:var(--ui-text);border-radius:10px;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;font-size:20px;line-height:1;cursor:pointer;flex-shrink:0}.ui-modal-close-btn:hover{background:color-mix(in srgb,var(--ui-primary) 10%,var(--ui-surface) 90%)}.ui-modal-body{padding:20px;display:flex;flex-direction:column;gap:12px;overflow-y:auto;overflow-x:hidden;min-height:0;overscroll-behavior:contain}.ui-modal-body>*{min-width:0}.ui-modal-body label{display:flex;flex-direction:column;gap:6px}.ui-modal-body .label{font-size:12px;font-weight:700;color:var(--ui-muted)}.restore-path-hint{margin-top:8px;font-size:13px;color:var(--ui-muted)}.restore-mode-panel{margin-top:8px;padding:10px 12px;border-radius:10px;border:1px solid var(--ui-border)}.restore-mode-panel.safe{background:#ecfdf5;border-color:#6ee7b7}.restore-mode-panel.live{background:#fff7ed;border-color:#fdba74}.restore-mode-title{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--ui-text);margin-bottom:4px}.restore-mode-description{margin:0;font-size:13px;color:#374151}.restore-mode-warning{margin:8px 0 0;font-size:12px;font-weight:700;color:#9a3412}.restore-live-ack{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:var(--ui-text)}.restore-mode-badge{display:inline-flex;align-items:center;justify-content:center;height:22px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}.restore-mode-badge.safe{background:#d1fae5;color:#065f46}.restore-mode-badge.live{background:#ffedd5;color:#9a3412}.restore-mode-legend{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 10px}.restore-mode-legend-text{font-size:12px;color:var(--ui-text-muted, #6b7280)}.crm-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media(max-width:480px){.crm-form-row{grid-template-columns:1fr}}.crm-category-add-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1rem 1.25rem;width:100%}.crm-category-add-field{display:flex;flex-direction:column;gap:.4rem;min-width:0}.crm-category-add-field .label{display:block;font-size:.875rem;font-weight:600;color:var(--ui-text-muted, #4b5563)}.crm-category-add-field .ui-input{width:100%;min-width:0;box-sizing:border-box}.crm-category-add-actions{margin-top:.25rem}.crm-email-body{word-wrap:break-word;overflow-wrap:break-word;color:var(--ui-text)}.crm-email-body *{max-width:100%}.crm-email-body p{margin:0 0 .75em}.crm-email-body p:last-child{margin-bottom:0}.crm-email-body a{color:var(--ui-primary);text-decoration:underline}.crm-email-body a:hover{text-decoration:none}.crm-email-body img{max-width:100%;height:auto;vertical-align:middle}.crm-email-body .crm-email-social-placeholder{display:inline-block;font-size:.85em;opacity:.7;margin:0 .1em}.crm-email-body blockquote{margin:.75em 0;padding:.5em 0 .5em 1em;border-left:3px solid var(--ui-border);color:#666;font-size:.9em}.crm-email-body table{border-collapse:collapse;margin:.5em 0;max-width:100%}.crm-email-body th,.crm-email-body td{border:1px solid var(--ui-border);padding:4px 8px}.crm-email-body ul,.crm-email-body ol{margin:.5em 0;padding-left:1.5em}.crm-email-body hr{border:none;border-top:1px solid var(--ui-border);margin:1em 0}.crm-email-ai-panel{border-radius:10px;border:1px solid color-mix(in srgb,var(--ui-primary, #2563eb) 35%,var(--ui-border));background:color-mix(in srgb,var(--ui-primary, #2563eb) 8%,var(--ui-bg, #fff));box-shadow:0 1px #0000000a}.crm-email-ai-panel .ui-card-header strong{font-size:1.05rem;letter-spacing:.01em}.crm-email-ai-reply-text{min-height:11rem;font-size:1rem;line-height:1.55}.crm-email-reply-panel{border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-bg-elevated, var(--ui-bg, #fff))}.ui-modal-footer{padding:16px 20px;border-top:1px solid var(--ui-border);display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;flex-shrink:0;background:color-mix(in srgb,var(--ui-surface) 78%,var(--ui-bg) 22%)}.ui-modal-footer .ui-btn{min-width:88px}.ui-table{width:100%;table-layout:fixed;border-collapse:collapse}.ui-table.crm-quotes-table{table-layout:auto}.crm-clients-table th:not(.ui-table-actions-header),.crm-clients-table td:not(.ui-table-actions-cell){min-width:0}.crm-clients-table td:nth-child(2),.crm-clients-table td:nth-child(5){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-clients-table td:nth-child(1) a{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}.crm-clients-table td:nth-child(3){white-space:nowrap}.crm-contacts-table th:not(.ui-table-actions-header),.crm-contacts-table td:not(.ui-table-actions-cell){min-width:0}.crm-contacts-table td:nth-child(2),.crm-contacts-table td:nth-child(5),.crm-contacts-table td:nth-child(6){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-locations-table th:not(.ui-table-actions-header),.crm-locations-table td:not(.ui-table-actions-cell),.crm-quotes-table th:not(.ui-table-actions-header),.crm-quotes-table td:not(.ui-table-actions-cell){min-width:0}.crm-locations-table td:nth-child(1),.crm-locations-table td:nth-child(3),.crm-locations-table td:nth-child(4),.crm-locations-table td:nth-child(5){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-quotes-table td:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:16rem}.crm-quotes-table td:nth-child(2) .ui-link{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-quotes-table td:nth-child(1){white-space:normal;word-break:break-word;vertical-align:top}.crm-quotes-table td:nth-child(1) button.ui-link-button{white-space:normal;text-align:left;word-break:break-word;line-height:1.35}.crm-quotes-table th:nth-child(3),.crm-quotes-table td:nth-child(3){white-space:nowrap;width:1%;padding-inline-start:.5rem;padding-inline-end:.5rem}.crm-quotes-table th:nth-child(4),.crm-quotes-table td:nth-child(4){white-space:nowrap;min-width:6.75rem;padding-inline-start:.25rem;padding-inline-end:1rem;box-sizing:border-box}.crm-quotes-table th:nth-child(5),.crm-quotes-table td:nth-child(5){white-space:nowrap;min-width:9.5rem;padding-inline-start:.5rem;padding-inline-end:.5rem;box-sizing:border-box}.crm-quotes-table th:nth-child(6),.crm-quotes-table td:nth-child(6){white-space:nowrap;min-width:7.5rem;padding-inline-start:.5rem;padding-inline-end:.5rem}.crm-quotes-table th:nth-child(7),.crm-quotes-table td:nth-child(7){white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.ui-table th,.ui-table td{padding:10px 12px;text-align:left;vertical-align:middle;overflow-wrap:break-word;word-break:break-word;border-bottom:1px solid var(--ui-border)}.ui-table th{background:var(--ui-bg);font-weight:600;color:var(--ui-text)}.ui-table th.ui-table-actions-header,.ui-table th.ui-table-actions-cell,.ui-table td.ui-table-actions-cell{white-space:nowrap;word-break:normal;overflow-wrap:normal;width:1%;min-width:5.25rem;vertical-align:middle;box-sizing:border-box;padding-inline-start:12px;padding-inline-end:1.5rem}.ui-table th.ui-table-actions-header,.ui-table th.ui-table-actions-cell{text-align:right}.ui-table td.ui-table-actions-cell{text-align:right;position:relative}.ui-card .ui-card-body .ui-table>thead>tr>th:last-child,.ui-card .ui-card-body .ui-table>tbody>tr>td:last-child{padding-inline-end:1.5rem}.ui-table tbody tr:last-child td{border-bottom:none}.ui-table tbody tr:hover{background:#00000005}.ui-table-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;align-items:center;width:100%;min-width:0}.ui-table-actions .ui-btn{min-width:72px}.row-actions-menu{position:relative;display:inline-flex;justify-content:flex-end;align-items:center;flex:0 0 auto;max-width:100%;margin-left:auto}.row-actions-menu-trigger{min-width:44px!important;min-height:40px;padding:8px 10px!important;justify-content:center;align-items:center;font-weight:700;letter-spacing:.08em;flex-shrink:0;box-sizing:border-box}.row-actions-menu-icon{display:inline-block;font-size:1.1rem;line-height:1;letter-spacing:0}.row-actions-menu-icon--hamburger{display:inline-flex;flex-direction:column;justify-content:center;align-items:stretch;gap:3px;width:16px;height:12px;flex-shrink:0;font-size:0;line-height:0;letter-spacing:0}.row-actions-menu-icon--hamburger span{display:block;height:2px;width:100%;border-radius:1px;background:currentColor;opacity:.88}.row-actions-menu-icon--kebab{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:18px;height:18px;font-size:0}.row-actions-menu-icon--kebab span{display:block;width:4px;height:4px;border-radius:999px;background:currentColor;opacity:.85}.row-actions-menu-dropdown{position:absolute;top:calc(100% + 6px);right:0;z-index:30;min-width:180px;display:grid;gap:4px;padding:6px;border:1px solid var(--border-color, #d0d5dd);border-radius:12px;background:var(--card-bg, #fff);box-shadow:0 12px 32px #0f172a1f}.row-actions-menu-item{width:100%;border:1px solid transparent;border-radius:8px;background:transparent;padding:.55rem .7rem;text-align:left;cursor:pointer;color:inherit}.row-actions-menu-item--with-icon{padding:.45rem .6rem}.row-actions-menu-item-inner{display:flex;align-items:center;gap:10px;width:100%;min-width:0;text-align:left}.row-actions-menu-item-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--ui-muted, #64748b)}.crm-quick-action-menu-icon{display:block;width:18px;height:18px}.row-actions-menu-item-label{flex:1 1 auto;min-width:0}.enterprise-row-menu-icon-v2{display:block;width:18px;height:18px}.row-actions-menu-item:hover:not(:disabled){background:var(--bg-soft, #f8fafc);border-color:var(--border-color, #d0d5dd)}.row-actions-menu-item:hover:not(:disabled) .row-actions-menu-item-icon{color:var(--ui-primary, #345dff)}.row-actions-menu-item.is-danger{color:#b42318}.crm-pdf-download-wrap,.crm-pdf-download-details{position:relative;display:inline-block}.crm-pdf-download-details summary{list-style:none;cursor:pointer}.crm-pdf-download-details summary::-webkit-details-marker{display:none}.crm-pdf-download-details[open] .crm-pdf-download-dropdown{display:grid}.crm-pdf-download-details .crm-pdf-download-dropdown,.crm-pdf-download-wrap .crm-pdf-download-dropdown{position:absolute;top:calc(100% + 4px);left:0;z-index:40;min-width:200px;display:grid;gap:2px;padding:6px;border:1px solid var(--border-color, #d0d5dd);border-radius:8px;background:var(--card-bg, #fff);box-shadow:0 8px 24px #0f172a1a}.crm-pdf-download-dropdown a{display:block;width:100%;padding:.5rem .75rem;text-align:left;border:none;border-radius:6px;background:transparent;cursor:pointer;color:inherit;font-size:.9rem;text-decoration:none}.crm-pdf-download-dropdown a:hover{background:var(--bg-soft, #f8fafc)}.row-actions-menu-item:disabled{opacity:.55;cursor:not-allowed}.crm-quote-modal{width:min(1480px,100%)}.crm-quote-modal .ui-table{width:100%;table-layout:fixed}.crm-quote-modal .ui-table th,.crm-quote-modal .ui-table td{word-break:normal;overflow-wrap:anywhere;vertical-align:middle}.crm-quote-modal .quote-items-table{min-width:1280px}.crm-quote-modal .quote-items-table th:nth-child(1),.crm-quote-modal .quote-items-table td:nth-child(1){width:18%}.crm-quote-modal .quote-items-table th:nth-child(2),.crm-quote-modal .quote-items-table td:nth-child(2){width:7%;min-width:88px}.crm-quote-modal .quote-items-table th:nth-child(3),.crm-quote-modal .quote-items-table td:nth-child(3){width:7%;min-width:92px}.crm-quote-modal .quote-items-table th:nth-child(4),.crm-quote-modal .quote-items-table td:nth-child(4){width:8%}.crm-quote-modal .quote-items-table th:nth-child(5),.crm-quote-modal .quote-items-table td:nth-child(5){width:8%}.crm-quote-modal .quote-items-table th:nth-child(6),.crm-quote-modal .quote-items-table td:nth-child(6){width:8%}.crm-quote-modal .quote-items-table th:nth-child(7),.crm-quote-modal .quote-items-table td:nth-child(7){width:8%}.crm-quote-modal .quote-items-table th:nth-child(8),.crm-quote-modal .quote-items-table td:nth-child(8){width:5%}.crm-quote-modal .quote-items-table th:nth-child(9),.crm-quote-modal .quote-items-table td:nth-child(9){width:7%}.crm-quote-modal .quote-items-table th:nth-child(10),.crm-quote-modal .quote-items-table td:nth-child(10){width:8%}.crm-quote-modal .quote-items-table th:nth-child(11),.crm-quote-modal .quote-items-table td:nth-child(11){width:8%;min-width:110px}.crm-quote-modal .quote-items-table .ui-input{width:100%;min-width:0}.crm-quote-modal .quote-items-table td:nth-child(3) .ui-input{min-width:88px}.crm-quote-modal .quote-items-table td:nth-child(2) .ui-input{min-width:88px}.crm-quote-modal .quote-items-table .ui-btn{height:32px;padding:0 8px;font-size:12px}.crm-quote-modal .quote-items-table .quote-item-actions{display:flex;gap:6px;align-items:center;justify-content:flex-start;flex-wrap:wrap}.crm-quote-modal .quote-items-table .quote-item-actions .ui-btn{width:auto;min-height:32px;justify-content:center}.crm-quote-modal .quote-items-table td:nth-child(11),.crm-quote-modal .quote-items-table td:nth-child(11) *{overflow-wrap:normal;word-break:keep-all}.crm-quote-modal .quote-item-report-status{display:grid;gap:.35rem;align-content:start}.crm-quote-modal .quote-item-report-status-note{font-size:.78rem;line-height:1.35;color:var(--ui-muted)}.crm-quote-modal .quote-item-supplier-invoice{display:grid;gap:.5rem}.crm-quote-modal .quote-item-supplier-details{border:1px solid var(--border-color, #d0d5dd);border-radius:10px;background:var(--bg-soft, #f8fafc);padding:.4rem .55rem}.crm-quote-modal .quote-item-details-row td{background:#f8fafc;border-top:none;padding-top:.35rem;padding-bottom:.55rem}.crm-quote-modal .quote-item-details-row .quote-item-supplier-details{border-left:3px solid var(--ui-primary, #2563eb)}.crm-quote-modal .quote-item-supplier-summary{list-style:none;display:grid;gap:.15rem;cursor:pointer;position:relative;padding-left:1rem}.crm-quote-modal .quote-item-supplier-summary::-webkit-details-marker{display:none}.crm-quote-modal .quote-item-supplier-summary:before{content:"▸";position:absolute;left:0;top:0;color:var(--ui-muted);transition:transform .15s ease}.crm-quote-modal .quote-item-supplier-details[open] .quote-item-supplier-summary:before{transform:rotate(90deg)}.crm-quote-modal .quote-item-supplier-details-body{display:grid;gap:.55rem;margin-top:.55rem}.crm-quote-modal .quote-item-supplier-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.crm-quote-modal .quote-item-field,.crm-copy-client-modal .quote-item-field{display:grid;gap:.25rem;position:relative}.crm-quote-modal .quote-item-field-label{font-size:.76rem;font-weight:700;color:var(--text-color, #101828)}.crm-quote-modal .quote-supplier-suggestions,.crm-quick-offer-modal .quote-supplier-suggestions,.crm-copy-client-modal .quote-supplier-suggestions{display:grid;gap:.35rem;margin-top:.4rem;padding:.45rem;border:1px solid var(--border-color, #d0d5dd);border-radius:10px;background:var(--card-bg, #fff);box-shadow:0 8px 24px #0f172a14}.crm-quote-modal .quote-supplier-suggestion,.crm-quick-offer-modal .quote-supplier-suggestion,.crm-copy-client-modal .quote-supplier-suggestion{display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%;border:1px solid var(--border-color, #d0d5dd);border-radius:8px;background:transparent;padding:.45rem .6rem;text-align:left;cursor:pointer}.crm-quote-modal .quote-supplier-suggestion small,.crm-quick-offer-modal .quote-supplier-suggestion small,.crm-copy-client-modal .quote-supplier-suggestion small{color:var(--ui-muted)}.crm-copy-client-modal .quote-supplier-suggestion.is-selected{border-color:var(--ui-primary, #2563eb);background:color-mix(in srgb,var(--ui-primary) 10%,var(--ui-surface, #fff) 90%)}.crm-copy-client-modal .quote-supplier-suggestions{max-height:min(240px,45vh);overflow-y:auto}.crm-quote-modal .quote-supplier-suggestion-create{border-style:dashed;background:#eff6ff}.crm-quote-modal .quote-item-invoice-upload-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem;align-items:center}.crm-quote-modal .quote-invoice-copy-targets{display:grid;gap:.45rem;padding:.5rem;border:1px dashed var(--border-color, #d0d5dd);border-radius:8px;background:#fff}.crm-quote-modal .quote-invoice-copy-targets-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem .75rem}.crm-quote-modal .quote-invoice-copy-target-option{display:inline-flex;align-items:center;gap:.4rem;font-size:.82rem;color:var(--text-color, #101828)}.crm-quote-modal .quote-document-picker-selected{display:inline-flex;align-items:center;gap:.35rem;flex-wrap:wrap;font-size:.82rem;color:var(--ui-muted)}.crm-quote-modal .quote-document-picker-selected strong{color:var(--text-color, #101828)}.crm-quotes-row-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.crm-quotes-row-actions .ui-btn{margin:0;padding:.35rem .6rem;font-size:.875rem;white-space:nowrap}.crm-quote-modal .quote-item-details-row td{background:#f8fafc;border-top:none}.crm-quote-modal .quote-item-details-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}@media(max-width:1100px){.crm-quote-modal .quote-item-details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1100px){.crm-table-desktop{display:none!important}.crm-mobile-list{display:block!important}}@media(max-width:768px){.ui-page-header--split{flex-direction:column;align-items:stretch}.ui-page-header-actions{justify-content:stretch}.ui-page-header-actions .ui-btn{width:100%}.ui-tabs-nav{width:100%;display:grid;grid-template-columns:1fr}.ui-tab-btn{width:100%;justify-content:center}.ui-page-header h1{font-size:24px}.crm-actions-mobile,.crm-stack-mobile,.crm-client-detail-header,.crm-contact-detail-header{width:100%;display:flex;flex-direction:column;align-items:stretch!important;gap:.75rem!important}.crm-actions-mobile>*,.crm-stack-mobile>*,.crm-client-detail-header>*,.crm-contact-detail-header>*{width:100%;min-width:0!important}.crm-client-detail-header-actions>.row-actions-menu{width:auto!important;align-self:flex-end}.crm-actions-mobile .ui-btn,.crm-actions-mobile .ui-input,.crm-actions-mobile .ui-select,.crm-page-toolbar{width:100%}.crm-page-toolbar{display:grid;grid-template-columns:1fr;align-items:stretch}.crm-page-toolbar .ui-btn,.crm-page-toolbar .ui-input,.crm-page-toolbar .ui-select,.crm-actions-mobile .ui-btn,.crm-actions-mobile .ui-input,.crm-actions-mobile .ui-select{width:100%!important;min-width:0!important}.crm-dashboard-stat-grid,.crm-dashboard-widget-grid{gap:.75rem!important}.crm-dashboard-stat-card{flex:1 1 calc(50% - .75rem)}.crm-dashboard-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.crm-dashboard-module-card{text-align:left!important}.crm-metric-grid{gap:.5rem!important}.crm-metric-card{flex:1 1 calc(50% - .5rem);min-width:0!important;padding:.75rem!important}.crm-client-detail-page .ui-tabs-nav .ui-tab-btn{flex:1 1 calc(50% - .25rem);min-width:0}.crm-client-summary-grid{grid-template-columns:1fr!important}.crm-client-timeline-item{gap:.4rem!important}.crm-client-timeline-date{min-width:0!important;width:100%}.ui-card-body{overflow-x:auto}.ui-card-body>.ui-table,.ui-card-body .ui-table{min-width:640px;table-layout:auto}.ui-table th,.ui-table td{word-break:normal;overflow-wrap:anywhere}.ui-state-actions .ui-btn{width:100%}.ui-filter-field,.ui-filter-field--search{min-width:0;flex-basis:100%}.crm-table-desktop{display:none!important}.crm-mobile-list{display:block!important}}@media(max-width:480px){.crm-dashboard-stat-card,.crm-metric-card,.crm-client-detail-page .ui-tabs-nav .ui-tab-btn{flex-basis:100%}.crm-dashboard-module-grid{grid-template-columns:1fr!important}}@media(max-width:900px){.ui-modal{max-height:calc(100vh - 12px);border-radius:10px}.ui-modal-overlay{padding:6px}.ui-modal-header,.ui-modal-body,.ui-modal-footer{padding:12px}.ui-modal-body .ui-input,.ui-modal-body .ui-select{height:42px;font-size:16px}.ui-modal-body textarea.ui-input{min-height:92px;font-size:16px}.ui-modal-footer{flex-direction:column-reverse;padding-bottom:calc(12px + env(safe-area-inset-bottom))}.ui-modal-footer .ui-btn{width:100%}.crm-quotes-header{gap:.75rem!important}.crm-quotes-toolbar{width:100%;display:grid!important;grid-template-columns:1fr;gap:.5rem!important}.crm-quotes-toolbar .ui-btn,.crm-quotes-toolbar .ui-input{width:100%!important;min-width:0!important}.crm-quotes-list-table,.crm-quick-items-table-wrap,.quote-items-table-wrap{overflow-x:auto}.crm-quotes-row-actions{flex-direction:column;width:100%}.crm-quotes-row-actions .ui-btn{width:100%}}@media(max-width:768px){.crm-quote-modal{width:100%;max-height:calc(100vh - 8px)}.crm-quote-modal .ui-modal-body{gap:10px}.crm-quote-modal .ui-table{min-width:900px}.crm-quote-modal .quote-item-details-grid{grid-template-columns:1fr;gap:8px}.crm-quote-modal .quote-items-table .ui-btn{height:32px;font-size:12px;padding:0 10px}.crm-quote-modal .quote-items-table td{min-height:44px}}@media(max-width:640px){.crm-quote-modal .quote-items-table .quote-item-actions{display:flex;flex-wrap:wrap;width:auto}.crm-quote-modal .quote-items-table .quote-item-actions .ui-btn{width:auto;justify-content:center;white-space:nowrap}.crm-quote-modal .quote-item-supplier-meta,.crm-quote-modal .quote-item-invoice-upload-row,.crm-quote-modal .quote-invoice-copy-targets-list{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}@keyframes backup-progress-indeterminate{0%{transform:translate(-100%)}to{transform:translate(350%)}}.backup-progress-track{height:6px;background:var(--ui-border-muted, #e5e7eb);border-radius:3px;overflow:hidden}.backup-progress-track--narrow{max-width:420px}.backup-progress-fill{height:100%;background:#3b82f6;transition:width .3s}.backup-progress-track--indeterminate{position:relative}.backup-progress-fill--indeterminate{width:38%;border-radius:3px;background:linear-gradient(90deg,#93c5fd,#3b82f6);animation:backup-progress-indeterminate 1.15s ease-in-out infinite}.toast-container{position:fixed;top:20px;right:20px;z-index:10000;display:flex;flex-direction:column;gap:10px;pointer-events:none}.toast{min-width:300px;max-width:500px;padding:12px 16px;border-radius:8px;box-shadow:0 4px 12px #00000026;background:#fff;pointer-events:auto;cursor:pointer;animation:slideIn .3s ease-out;border-left:4px solid}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.toast-content{display:flex;align-items:center;gap:12px}.toast-icon{font-size:20px;font-weight:700;flex-shrink:0}.toast-message{flex:1;font-size:14px;line-height:1.5;color:#333}.toast-close{background:none;border:none;font-size:24px;color:#999;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;flex-shrink:0;line-height:1}.toast-close:hover{color:#333}.toast-success{border-left-color:#10b981;background:#f0fdf4}.toast-success .toast-icon{color:#10b981}.toast-error{border-left-color:#ef4444;background:#fef2f2}.toast-error .toast-icon{color:#ef4444}.toast-warning{border-left-color:#f59e0b;background:#fffbeb}.toast-warning .toast-icon{color:#f59e0b}.toast-info{border-left-color:#3b82f6;background:#eff6ff}.toast-info .toast-icon{color:#3b82f6}@media print{.toast-container{display:none!important}}@media(max-width:768px){.toast-container{top:10px;right:10px;left:10px}.toast{min-width:auto;max-width:none}}.feature-gate-loading{display:flex;justify-content:center;align-items:center;padding:2rem;color:var(--ui-muted)}.feature-gate-locked{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem;text-align:center;background:var(--ui-bg);border:2px dashed var(--ui-border);border-radius:var(--ui-radius-md);margin:1rem 0}.feature-gate-icon{font-size:3rem;margin-bottom:1rem;opacity:.5}.feature-gate-message{max-width:500px;margin-bottom:1.5rem}.feature-gate-message h3{margin:0 0 .5rem;font-size:1.25rem;color:var(--ui-text)}.feature-gate-message p{margin:0;color:var(--ui-muted);line-height:1.5}.feature-gate-upgrade{margin-top:1rem}@media(max-width:768px){.feature-gate-locked{padding:2rem 1rem}.feature-gate-icon{font-size:2rem}}.language-switcher{display:flex;gap:5px;align-items:center}.lang-btn{min-width:44px;height:32px;padding:0 12px;border:1px solid #ddd;background:#fff;color:#213547;cursor:pointer;font-size:14px;font-weight:700;line-height:1;border-radius:4px;transition:all .2s;display:inline-flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none}.lang-btn:hover{background:#f5f5f5}.lang-btn.active{background:#007bff;color:#fff;border-color:#007bff}.download-agent-modal-overlay{z-index:10000}.download-agent-modal{width:min(720px,100%)}.download-agent-modal-header{display:flex;justify-content:space-between;align-items:center}.download-agent-modal-header h2{margin:0;font-size:1.2rem}.download-agent-modal-content{padding:20px;overflow-y:auto;flex:1}.download-agent-step h3{margin-top:0;margin-bottom:16px;font-size:20px}.step-description{color:var(--ui-muted);margin-bottom:20px;font-size:14px}.system-selection{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:20px}.system-btn{display:flex;flex-direction:column;align-items:center;gap:8px;padding:20px;border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:14px;cursor:pointer;transition:all .2s;position:relative}.system-btn:hover:not(.disabled){border-color:var(--ui-primary);background:var(--ui-bg)}.system-btn.active{border-color:var(--ui-primary);background:color-mix(in srgb,var(--ui-primary) 12%,var(--ui-surface) 88%)}.system-btn.disabled{opacity:.6;cursor:not-allowed}.system-icon{font-size:32px}.coming-soon-badge{position:absolute;top:8px;right:8px;background:#ff9800;color:#fff;padding:2px 8px;border-radius:12px;font-size:10px;font-weight:700}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:500}.form-group select{width:100%;padding:10px;border:1px solid var(--ui-border);border-radius:10px;font-size:14px}.download-options{margin-bottom:20px}.download-option{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--ui-border);border-radius:14px;margin-bottom:12px;cursor:pointer;transition:all .2s}.download-option:hover{border-color:var(--ui-primary);background:var(--ui-bg)}.download-option input[type=radio]{margin-top:4px;cursor:pointer}.download-option label{flex:1;cursor:pointer;display:flex;flex-direction:column;gap:4px}.download-option label strong{font-size:16px}.download-option label span{font-size:14px;color:var(--ui-muted)}.download-content{margin-top:20px}.download-msi-primary{text-align:center;padding:16px 0;margin-bottom:12px}.download-msi-primary .ui-btn{font-size:1rem;padding:12px 24px}.download-msi-hint{margin:10px 0 0;font-size:12px;color:var(--ui-muted)}.download-msi-details{margin-top:16px;border:1px solid var(--ui-border);border-radius:14px;overflow:hidden}.download-msi-details summary{padding:12px 16px;cursor:pointer;font-weight:500;background:var(--ui-bg);list-style:none}.download-msi-details summary::-webkit-details-marker{display:none}.download-msi-details summary:before{content:"▶ ";font-size:10px;margin-right:6px}.download-msi-details[open] summary:before{content:"▼ "}.download-msi-details .step-description,.download-msi-details .code-block{margin:12px 16px 16px}.download-msi-details .step-description{margin-bottom:8px}.code-block{position:relative;background:var(--ui-bg);border:1px solid var(--ui-border);border-radius:10px;padding:12px 40px 12px 12px}.code-block code{display:block;font-family:Courier New,monospace;font-size:13px;word-break:break-all;white-space:pre-wrap}.copy-btn{position:absolute;top:8px;right:8px;background:var(--ui-primary);color:#fff;border:none;border-radius:4px;padding:6px 12px;cursor:pointer;font-size:14px;z-index:10;transition:background .2s}.copy-btn:hover:not(:disabled){background:var(--ui-primary-hover)}.copy-btn:disabled{background:#ccc;cursor:not-allowed;opacity:.6}.copy-btn-old{position:absolute;top:8px;right:8px;background:#fff;border:1px solid #ddd;border-radius:4px;padding:6px 10px;cursor:pointer;font-size:16px}.copy-btn:hover{background:#f0f0f0}.download-agent-modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 20px;border-top:1px solid var(--ui-border);background:color-mix(in srgb,var(--ui-surface) 78%,var(--ui-bg) 22%);flex-wrap:wrap}.service-intake-modal-overlay{z-index:10000}.service-intake-modal{width:min(1080px,100%)}.service-intake-modal-header{display:flex;align-items:center;justify-content:space-between}.service-intake-modal-header h2{margin:0;font-size:1.125rem}.service-intake-modal-body{padding:20px;overflow-y:auto;display:flex;flex-direction:column;gap:1rem}.service-intake-fieldset{border:1px solid var(--ui-border, #e0e0e0);border-radius:16px;padding:1rem;background:color-mix(in srgb,var(--ui-surface) 82%,var(--ui-bg) 18%)}.service-intake-fieldset legend{padding:0 .5rem;font-weight:600}.service-intake-radio-group{display:flex;gap:1rem;margin-bottom:.75rem;flex-wrap:wrap}.service-intake-radio-group label{display:flex;flex-direction:row;align-items:center;gap:.5rem;cursor:pointer}.service-intake-radio-group input[type=radio]{width:16px;height:16px;margin:0;flex-shrink:0;accent-color:var(--ui-primary, #2563eb)}.service-intake-client-fields .label,.service-intake-fieldset .label{display:block;margin-bottom:.25rem;font-size:.875rem}.service-intake-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem 1rem}.service-intake-field{min-width:0}.service-intake-field-block{display:block}.service-intake-field-full{grid-column:1 / -1}.service-intake-field .ui-input{width:100%}.service-intake-client-autocomplete-wrap{position:relative}.service-intake-client-dropdown{position:absolute;top:100%;left:0;right:0;max-height:220px;overflow-y:auto;z-index:1000;list-style:none;margin:0;padding:.5rem 0;box-shadow:0 20px 45px #0f172a29;border:1px solid var(--ui-border, #e0e0e0);border-radius:14px;background:var(--ui-surface, #fff)}.service-intake-client-dropdown-empty{padding:.75rem 1rem;color:var(--text-muted, #666);font-size:.9rem}.service-intake-client-option{display:block;width:100%;padding:.5rem 1rem;text-align:left;border:none;background:transparent;cursor:pointer;font-size:.9rem}.service-intake-client-option:hover,.service-intake-client-option.focused{background:var(--bg-hover, #f0f0f0)}.service-intake-client-option-name{font-weight:500}.service-intake-client-option-sub{font-size:.8rem;color:var(--text-muted, #666)}.service-intake-client-clear-btn{margin-top:4px;font-size:.85rem}.service-intake-hint{display:block;margin-top:4px;font-size:.8rem;color:var(--ui-text-muted, #666);line-height:1.35}.service-intake-selected-card{display:grid;gap:.35rem;padding:.85rem 1rem;border:1px solid var(--ui-border, #e0e0e0);border-radius:14px;background:var(--ui-bg, #f6f7f9)}.service-intake-checkbox-row{display:flex;align-items:flex-start;gap:.5rem}.service-intake-checkbox-row input[type=checkbox]{width:16px;height:16px;margin:.2rem 0 0;flex-shrink:0;accent-color:var(--ui-primary, #2563eb)}.service-intake-checkbox-row span{font-size:.9rem;color:var(--ui-text, #333)}@media(max-width:900px){.service-intake-modal{max-width:760px}}@media(max-width:720px){.service-intake-grid{grid-template-columns:1fr}}.service-intake-modal-footer{display:flex;justify-content:flex-end;gap:.5rem;padding:16px 20px;border-top:1px solid var(--ui-border, #e0e0e0);background:color-mix(in srgb,var(--ui-surface) 78%,var(--ui-bg) 22%);flex-wrap:wrap}@media print{.service-intake-modal-overlay{display:none}}.trial-top-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:12px 16px;border-radius:12px;margin-bottom:16px;box-sizing:border-box}.trial-top-banner__text{flex:1 1 220px;min-width:0}.trial-top-banner__line{margin:0;font-size:.92rem;line-height:1.45}.trial-top-banner__cta.ui-btn{flex-shrink:0;font-size:.85rem;padding:8px 14px}.trial-top-banner--legacy.trial-top-banner--active{background:#fff8e6;border:1px solid #e8c96a;color:#3d3300}.trial-top-banner--legacy.trial-top-banner--active .trial-top-banner__line{color:#5c4a00}.trial-top-banner--legacy.trial-top-banner--expired{background:#ffe8ec;border:1px solid #e8a0af;color:#5c1020}.trial-top-banner--legacy.trial-top-banner--expired .trial-top-banner__line{color:#7a1a30}.trial-top-banner--enterprise.trial-top-banner--active{background:var(--enterprise-warn-bg);border:1px solid var(--enterprise-border-strong);color:var(--enterprise-text)}.trial-top-banner--enterprise.trial-top-banner--active .trial-top-banner__line{color:var(--enterprise-warn-text)}.trial-top-banner--enterprise.trial-top-banner--expired{background:var(--enterprise-critical-bg);border:1px solid var(--enterprise-border-strong);color:var(--enterprise-text)}.trial-top-banner--enterprise.trial-top-banner--expired .trial-top-banner__line{color:var(--enterprise-critical-text)}.enterprise-shell-v2{--enterprise-bg: radial-gradient(circle at top right, rgba(89, 122, 255, .14), transparent 28%), linear-gradient(180deg, #0c1423 0%, #10192c 100%);--enterprise-text: #f3f7ff;--enterprise-muted: #c3d0ea;--enterprise-muted-strong: #aab9d7;--enterprise-border: rgba(138, 157, 196, .16);--enterprise-border-strong: rgba(168, 188, 228, .34);--enterprise-sidebar-bg: rgba(8, 15, 28, .88);--enterprise-topbar-bg: rgba(10, 17, 31, .84);--enterprise-panel: rgba(255, 255, 255, .08);--enterprise-panel-strong: rgba(255, 255, 255, .12);--enterprise-primary: #b8cdff;--enterprise-primary-soft: rgba(150, 183, 255, .2);--enterprise-primary-strong: rgba(150, 183, 255, .4);--enterprise-primary-contrast: #08101f;--enterprise-good-bg: rgba(48, 168, 118, .18);--enterprise-good-text: #83ddb3;--enterprise-warn-bg: rgba(240, 180, 66, .16);--enterprise-warn-text: #ffd27b;--enterprise-critical-bg: rgba(218, 85, 109, .16);--enterprise-critical-text: #ff9aae;--enterprise-shadow: 0 16px 36px rgba(5, 11, 21, .18);--enterprise-overlay-menu-bg: #161f33;--ui-border: color-mix(in srgb, var(--enterprise-border-strong) 92%, rgba(255, 255, 255, .08));--ui-bg: color-mix(in srgb, var(--enterprise-panel) 82%, rgba(8, 15, 28, .82));--ui-surface: color-mix(in srgb, var(--enterprise-panel-strong) 88%, rgba(10, 17, 31, .9));--ui-text: var(--enterprise-text);--ui-muted: var(--enterprise-muted);--ui-primary: #8fb1ff;--ui-primary-hover: #b8cdff;--ui-danger: #f07286;--ui-danger-hover: #ff8ca0;--border-color: var(--ui-border);--card-bg: var(--ui-surface);--bg-soft: var(--ui-bg);--ui-bg-elevated: color-mix(in srgb, var(--ui-surface) 82%, rgba(255, 255, 255, .04));min-height:100vh;display:grid;grid-template-columns:272px minmax(0,1fr);background:var(--enterprise-bg);color:var(--enterprise-text)}.enterprise-shell-v2--light{--enterprise-bg: radial-gradient(circle at top right, rgba(72, 116, 255, .12), transparent 24%), linear-gradient(180deg, #f7f9fd 0%, #eef3fb 100%);--enterprise-text: #122033;--enterprise-muted: #475b7a;--enterprise-muted-strong: #536785;--enterprise-border: rgba(109, 128, 166, .18);--enterprise-border-strong: rgba(109, 128, 166, .26);--enterprise-sidebar-bg: rgba(255, 255, 255, .72);--enterprise-topbar-bg: rgba(247, 250, 255, .82);--enterprise-panel: rgba(255, 255, 255, .82);--enterprise-panel-strong: rgba(255, 255, 255, .94);--enterprise-primary: #345dff;--enterprise-primary-soft: rgba(52, 93, 255, .1);--enterprise-primary-strong: rgba(52, 93, 255, .24);--enterprise-primary-contrast: #ffffff;--enterprise-good-bg: #dcf7eb;--enterprise-good-text: #0f7a4c;--enterprise-warn-bg: #fff0cf;--enterprise-warn-text: #9a5a00;--enterprise-critical-bg: #ffe0e6;--enterprise-critical-text: #af294b;--enterprise-shadow: 0 16px 36px rgba(31, 52, 89, .08);--enterprise-overlay-menu-bg: #ffffff;--ui-border: color-mix(in srgb, var(--enterprise-border-strong) 92%, #d7dff0);--ui-bg: color-mix(in srgb, var(--enterprise-panel) 88%, #f1f5fd);--ui-surface: color-mix(in srgb, var(--enterprise-panel-strong) 92%, #ffffff);--ui-text: var(--enterprise-text);--ui-muted: var(--enterprise-muted);--ui-primary: #345dff;--ui-primary-hover: #274de4;--ui-danger: #d63f63;--ui-danger-hover: #bf3155;--border-color: var(--ui-border);--card-bg: var(--ui-surface);--bg-soft: var(--ui-bg);--ui-bg-elevated: color-mix(in srgb, var(--ui-surface) 92%, #ffffff)}.enterprise-shell-v2--light .enterprise-ghost-btn-v2,.enterprise-shell-v2--light .enterprise-icon-btn-v2,.enterprise-shell-v2--light .enterprise-sidebar-v2__toggle,.enterprise-shell-v2--light .enterprise-mobile-nav-open-btn,.enterprise-shell-v2--light .enterprise-avatar-btn-v2,.enterprise-shell-v2--light .enterprise-danger-btn-v2,.enterprise-shell-v2--light .enterprise-topbar-v2 .lang-btn{border-color:color-mix(in srgb,var(--enterprise-border-strong) 88%,#8a9bb8);background:linear-gradient(180deg,#fff,color-mix(in srgb,var(--enterprise-panel-strong) 94%,#eef2fb));box-shadow:0 1px #fffffff2 inset,0 1px 3px #1f345912;color:var(--enterprise-text)}.enterprise-shell-v2--light .enterprise-danger-btn-v2{background:linear-gradient(180deg,color-mix(in srgb,var(--enterprise-critical-bg) 55%,#ffffff),color-mix(in srgb,var(--enterprise-critical-bg) 75%,#fff5f7));border-color:color-mix(in srgb,var(--enterprise-critical-text) 28%,var(--enterprise-border-strong));color:var(--enterprise-critical-text)}.enterprise-shell-v2--light .enterprise-ghost-btn-v2:hover,.enterprise-shell-v2--light .enterprise-icon-btn-v2:hover,.enterprise-shell-v2--light .enterprise-sidebar-v2__toggle:hover,.enterprise-shell-v2--light .enterprise-mobile-nav-open-btn:hover,.enterprise-shell-v2--light .enterprise-avatar-btn-v2:hover,.enterprise-shell-v2--light .enterprise-danger-btn-v2:hover,.enterprise-shell-v2--light .enterprise-topbar-v2 .lang-btn:hover{background:#fff;border-color:color-mix(in srgb,var(--enterprise-primary) 38%,var(--enterprise-border-strong));box-shadow:0 2px 10px #345dff24}.enterprise-shell-v2--light .enterprise-danger-btn-v2:hover{background:color-mix(in srgb,var(--enterprise-critical-bg) 88%,#ffffff);border-color:color-mix(in srgb,var(--enterprise-critical-text) 45%,var(--enterprise-border-strong));color:var(--enterprise-critical-text)}.enterprise-shell-v2--light .enterprise-topbar-v2 .lang-btn.active{box-shadow:0 1px 3px #345dff38}.enterprise-shell-v2--light .enterprise-command-v2__input{border-color:color-mix(in srgb,var(--enterprise-border-strong) 100%,#8b9cbd);box-shadow:0 1px 2px #1f34590d}.enterprise-shell-v2--light .enterprise-command-v2__results,.enterprise-shell-v2--light .enterprise-quick-create-v2__menu,.enterprise-shell-v2--light .enterprise-user-menu-v2__dropdown{border-color:color-mix(in srgb,var(--enterprise-border-strong) 90%,#a8b4cc);box-shadow:0 10px 32px #1f34591f}.enterprise-shell-v2--light .enterprise-topbar-v2 .enterprise-crm-search-v2 .crm-search-input{border-color:color-mix(in srgb,var(--enterprise-border-strong) 100%,#8b9cbd);box-shadow:0 1px 2px #1f34590d}.enterprise-shell-v2--light .enterprise-topbar-v2 .enterprise-crm-search-v2 .crm-search-dropdown.ui-card{border-color:color-mix(in srgb,var(--enterprise-border-strong) 90%,#a8b4cc);box-shadow:0 10px 32px #1f34591f}.enterprise-shell-v2--light .enterprise-user-menu-v2__item--danger{color:var(--enterprise-critical-text)}.enterprise-shell-v2--light .enterprise-user-menu-v2__item--danger:hover{background:color-mix(in srgb,var(--enterprise-critical-bg) 65%,var(--enterprise-panel))}.enterprise-shell-v2--light .enterprise-domain-switcher-v2__item:not(.is-active){border:1px solid var(--enterprise-border);background:color-mix(in srgb,#ffffff 78%,var(--enterprise-panel) 22%)}.enterprise-shell-v2--light.enterprise-shell-v2--collapsed .enterprise-domain-switcher-v2__item:not(.is-active){border-color:transparent}.enterprise-shell-v2--collapsed{grid-template-columns:80px minmax(0,1fr)}.enterprise-sidebar-v2{position:relative;min-height:100vh;display:flex;flex-direction:column;gap:14px;padding:18px 14px;border-right:1px solid var(--enterprise-border);background:var(--enterprise-sidebar-bg);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.enterprise-brand-v2{display:flex;gap:12px;align-items:center;margin-bottom:12px}.enterprise-shell-v2--collapsed .enterprise-brand-v2{justify-content:center}.enterprise-brand-v2__mark{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#7aa2ff,#8c6eff);color:#06101f;font-weight:800;letter-spacing:.04em}.enterprise-brand-v2__title{font-size:1rem;font-weight:700}.enterprise-brand-v2__subtitle{font-size:.78rem;color:var(--enterprise-muted)}.enterprise-domain-switcher-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:6px;margin-bottom:12px;border-radius:16px;background:var(--enterprise-panel)}.enterprise-shell-v2--collapsed .enterprise-domain-switcher-v2{grid-template-columns:1fr;margin-bottom:10px}.enterprise-domain-switcher-v2__item{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px 12px;border-radius:12px;text-align:center;font-weight:700;color:var(--enterprise-muted);text-decoration:none}.enterprise-domain-switcher-v2__item.is-active{color:var(--enterprise-primary-contrast);background:var(--enterprise-primary)}.enterprise-side-nav-v2{display:flex;flex-direction:column;gap:14px;overflow:visible}.enterprise-side-nav-v2__section{display:flex;flex-direction:column;gap:6px}.enterprise-shell-v2--collapsed .enterprise-side-nav-v2{gap:12px}.enterprise-side-nav-v2__section-title{padding:0 10px;font-size:.75rem;color:var(--enterprise-muted-strong);text-transform:uppercase;letter-spacing:.08em}.enterprise-side-nav-v2__item{display:flex;gap:12px;align-items:center;padding:11px 12px;border-radius:14px;color:var(--enterprise-text);text-decoration:none;border:1px solid transparent;position:relative;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease}.enterprise-shell-v2--collapsed .enterprise-side-nav-v2__item{justify-content:center;align-items:center;padding:12px 10px;border-radius:18px}.enterprise-side-nav-v2__item:hover{background:var(--enterprise-panel);border-color:var(--enterprise-border);transform:translateY(-1px)}.enterprise-side-nav-v2__item.is-active{background:linear-gradient(180deg,var(--enterprise-primary-strong),var(--enterprise-primary-soft));border-color:var(--enterprise-primary-strong);box-shadow:inset 3px 0 0 var(--enterprise-primary)}.enterprise-shell-v2--collapsed .enterprise-side-nav-v2__item.is-active{box-shadow:inset 0 0 0 1px var(--enterprise-primary-strong)}.enterprise-side-nav-v2__icon{width:20px;flex:0 0 20px;color:var(--enterprise-primary)}.enterprise-shell-v2--collapsed .enterprise-side-nav-v2__icon{width:22px;flex-basis:22px}.enterprise-side-nav-v2__copy{min-width:0;display:flex;flex-direction:column;gap:3px}.enterprise-side-nav-v2__label{font-weight:700;line-height:1.2}.enterprise-side-nav-v2__item-wrap{display:flex;flex-direction:column;gap:4px}.enterprise-side-nav-v2__item-shell{display:flex;align-items:stretch;min-width:0;border-radius:14px;border:1px solid transparent;background:transparent;overflow:hidden;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}.enterprise-side-nav-v2__item-shell:hover{background:var(--enterprise-panel);border-color:var(--enterprise-border)}.enterprise-side-nav-v2__item-shell.is-active{background:linear-gradient(180deg,var(--enterprise-primary-strong),var(--enterprise-primary-soft));border-color:var(--enterprise-primary-strong);box-shadow:inset 3px 0 0 var(--enterprise-primary)}.enterprise-side-nav-v2__item--in-shell{flex:1;min-width:0;margin:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;transform:none!important;padding-right:4px}.enterprise-side-nav-v2__item-shell:hover .enterprise-side-nav-v2__item--in-shell,.enterprise-side-nav-v2__item-shell.is-active .enterprise-side-nav-v2__item--in-shell{background:transparent!important;border-color:transparent!important}.enterprise-side-nav-v2__item-shell .enterprise-side-nav-v2__icon{color:var(--enterprise-primary)}.enterprise-side-nav-v2__item-shell.is-active .enterprise-side-nav-v2__icon{color:var(--enterprise-text);opacity:.95}.enterprise-side-nav-v2__subtoggle{flex:0 0 40px;align-self:stretch;display:inline-flex;align-items:center;justify-content:center;padding:0;margin:0;border:0;border-radius:0;border-left:1px solid transparent;background:transparent;color:color-mix(in srgb,var(--enterprise-text) 78%,transparent);cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease}.enterprise-side-nav-v2__item-shell:hover .enterprise-side-nav-v2__subtoggle{border-left-color:var(--enterprise-border);color:var(--enterprise-text)}.enterprise-side-nav-v2__item-shell.is-active .enterprise-side-nav-v2__subtoggle{border-left-color:color-mix(in srgb,var(--enterprise-primary) 42%,transparent);color:var(--enterprise-text)}.enterprise-side-nav-v2__item-shell.is-active .enterprise-side-nav-v2__subtoggle:hover{background:color-mix(in srgb,var(--enterprise-text) 10%,transparent)}.enterprise-side-nav-v2__item-shell:not(.is-active) .enterprise-side-nav-v2__subtoggle{border-left-color:color-mix(in srgb,var(--enterprise-border-strong) 50%,transparent);color:var(--enterprise-muted-strong)}.enterprise-side-nav-v2__item-shell:not(.is-active):hover .enterprise-side-nav-v2__subtoggle{color:var(--enterprise-text);border-left-color:var(--enterprise-border)}.enterprise-shell-v2--light .enterprise-side-nav-v2__item-shell:not(.is-active) .enterprise-side-nav-v2__subtoggle{color:color-mix(in srgb,var(--enterprise-muted) 92%,var(--enterprise-text) 8%)}.enterprise-side-nav-v2__subtoggle.is-collapsed .enterprise-side-nav-v2__chevron{transform:rotate(-90deg)}.enterprise-side-nav-v2__chevron{display:block;width:16px;height:16px;opacity:1;transition:transform .22s cubic-bezier(.4,0,.2,1)}.enterprise-side-nav-v2__children{display:flex;flex-direction:column;gap:4px;padding:2px 0 2px 18px}@media(prefers-reduced-motion:reduce){.enterprise-side-nav-v2__chevron{transition:none}}.enterprise-side-nav-v2__child{display:flex;align-items:center;min-height:34px;padding:0 12px;border-radius:12px;color:var(--enterprise-muted);text-decoration:none;transition:background-color .2s ease,color .2s ease}.enterprise-side-nav-v2__child:hover{background:var(--enterprise-panel);color:var(--enterprise-text)}.enterprise-side-nav-v2__child.is-active{background:var(--enterprise-primary-soft);color:var(--enterprise-text)}.enterprise-side-nav-icon{display:block;width:20px;height:20px}.enterprise-sidebar-v2__toggle{width:44px;height:44px;margin:6px auto 0;padding:0;border:1px solid var(--enterprise-border-strong);border-radius:14px;background:transparent;color:var(--enterprise-text);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,transform .2s ease}.enterprise-sidebar-v2__toggle:hover{background:var(--enterprise-panel);border-color:var(--enterprise-primary-strong);transform:translateY(-1px)}.enterprise-sidebar-toggle-icon-v2{width:18px;height:18px;transition:transform .2s ease}.enterprise-sidebar-toggle-icon-v2.is-collapsed{transform:rotate(180deg)}.enterprise-main-v2{min-width:0;display:flex;flex-direction:column;min-height:0;--enterprise-content-inline: clamp(22px, 3.6vw, 42px)}.enterprise-topbar-v2{position:sticky;top:0;z-index:600;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px var(--enterprise-content-inline);border-bottom:1px solid var(--enterprise-border);background:var(--enterprise-topbar-bg);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);overflow:visible}.enterprise-topbar-v2__heading{display:flex;align-items:baseline;gap:12px;min-width:0}.enterprise-topbar-v2__heading-text{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1 1 auto}.enterprise-breadcrumbs-v2{display:flex;gap:8px;font-size:.82rem;color:var(--enterprise-muted-strong);flex-wrap:wrap}.enterprise-topbar-v2__title{font-size:1.18rem;font-weight:800}.enterprise-topbar-v2__actions{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;justify-content:flex-end;padding-inline-end:4px;overflow:visible;position:relative;z-index:1}.enterprise-ghost-btn-v2,.enterprise-danger-btn-v2{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:12px;border:1px solid var(--enterprise-border-strong);text-decoration:none;color:var(--enterprise-text);background:var(--enterprise-panel);cursor:pointer;white-space:nowrap;transition:background-color .2s ease,border-color .2s ease,color .2s ease}.enterprise-danger-btn-v2{background:#d1495b1f;border-color:#d1495b38}.enterprise-ghost-btn-v2:hover,.enterprise-danger-btn-v2:hover,.enterprise-icon-btn-v2:hover{background:var(--enterprise-panel-strong);border-color:var(--enterprise-primary-strong)}.enterprise-quick-create-v2{position:relative}.enterprise-quick-create-v2__trigger{gap:8px}.enterprise-quick-create-v2__plus{width:18px;height:18px;border-radius:999px;background:color-mix(in srgb,var(--enterprise-primary) 34%,var(--enterprise-panel-strong));color:var(--enterprise-primary);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;line-height:0}.enterprise-quick-create-v2__plus-svg{width:10px;height:10px;display:block}.enterprise-quick-create-v2__trigger:after{content:"▾";margin-left:8px;font-size:.78rem}.enterprise-quick-create-v2__menu{position:absolute;top:calc(100% + 10px);right:0;min-width:220px;padding:10px;border-radius:18px;border:1px solid var(--enterprise-border);background:var(--enterprise-panel-strong);box-shadow:var(--enterprise-shadow);display:flex;flex-direction:column;gap:6px;z-index:10}.enterprise-quick-create-v2__menu-header{padding:10px 12px;border-radius:12px;background:var(--enterprise-panel);border:1px solid var(--enterprise-border)}.enterprise-quick-create-v2__menu-title{font-size:.8rem;font-weight:800}.enterprise-quick-create-v2__menu-meta{margin-top:4px;font-size:.76rem;color:var(--enterprise-muted)}.enterprise-quick-create-v2__item{min-height:40px;padding:0 12px;border-radius:12px;color:var(--enterprise-text);text-decoration:none;display:inline-flex;align-items:center;gap:10px}.enterprise-quick-create-v2__item-mark{width:18px;height:18px;border-radius:999px;background:color-mix(in srgb,var(--enterprise-primary) 34%,var(--enterprise-panel-strong));color:var(--enterprise-primary);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;line-height:0}.enterprise-quick-create-v2__item-mark .enterprise-quick-create-v2__plus-svg{width:9px;height:9px}.enterprise-quick-create-v2__item:hover{background:var(--enterprise-panel)}.enterprise-icon-btn-v2{width:40px;height:40px;padding:0;border-radius:12px;border:1px solid var(--enterprise-border-strong);background:var(--enterprise-panel);color:var(--enterprise-text);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 auto}.enterprise-control-icon-v2{width:18px;height:18px;display:block}.enterprise-command-v2{position:relative;width:min(100%,240px);display:flex}.enterprise-command-v2__input{min-height:42px;width:100%;padding:0 14px;border-radius:12px;border:1px solid var(--enterprise-border-strong);background:var(--enterprise-panel-strong);color:var(--enterprise-text);transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease}.enterprise-command-v2__input::placeholder{color:var(--enterprise-muted)}.enterprise-command-v2__input:focus{outline:none;border-color:var(--enterprise-primary-strong);background:color-mix(in srgb,var(--enterprise-panel-strong) 78%,white 22%);box-shadow:0 0 0 3px color-mix(in srgb,var(--enterprise-primary-soft) 72%,transparent)}.enterprise-command-v2__results{position:absolute;top:calc(100% + 8px);left:0;right:0;display:flex;flex-direction:column;gap:6px;padding:10px;border-radius:16px;border:1px solid var(--enterprise-border);background:var(--enterprise-panel-strong);box-shadow:var(--enterprise-shadow)}.enterprise-command-v2__result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:12px;text-decoration:none;color:var(--enterprise-text);background:var(--enterprise-panel)}.enterprise-command-v2__result:hover{background:var(--enterprise-primary-soft)}.enterprise-command-v2__result-title{font-weight:700}.enterprise-command-v2__result-meta{font-size:.76rem;color:var(--enterprise-muted)}.enterprise-crm-search-v2{position:relative;flex:1 1 auto;min-width:0;max-width:min(100%,380px);overflow:visible;z-index:2;--bg-hover: color-mix(in srgb, var(--enterprise-primary-soft) 100%, transparent)}.enterprise-topbar-v2 .enterprise-crm-search-v2 .crm-search-bar{width:100%;min-width:0;max-width:none}.enterprise-topbar-v2 .enterprise-crm-search-v2 .crm-search-input{min-height:42px;width:100%;padding:0 14px;border-radius:12px;border:1px solid var(--enterprise-border-strong);background:var(--enterprise-panel-strong);color:var(--enterprise-text);font-size:.9rem;transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease}.enterprise-topbar-v2 .enterprise-crm-search-v2 .crm-search-input::placeholder{color:var(--enterprise-muted)}.enterprise-topbar-v2 .enterprise-crm-search-v2 .crm-search-input:focus{outline:none;border-color:var(--enterprise-primary-strong);background:color-mix(in srgb,var(--enterprise-panel-strong) 78%,white 22%);box-shadow:0 0 0 3px color-mix(in srgb,var(--enterprise-primary-soft) 72%,transparent)}.enterprise-topbar-v2 .enterprise-crm-search-v2 .crm-search-dropdown.ui-card{border-radius:16px;border:1px solid var(--enterprise-border);background:var(--enterprise-overlay-menu-bg);color:var(--enterprise-text);box-shadow:var(--enterprise-shadow)}.enterprise-shell-v2--light .enterprise-topbar-v2 .enterprise-crm-search-v2 .crm-search-dropdown.ui-card{background:var(--ui-surface)}.enterprise-content-v2{padding:28px var(--enterprise-content-inline);min-width:0;flex:1 1 auto;min-height:0}.enterprise-topbar-v2 .language-switcher{gap:6px}.enterprise-topbar-v2 .lang-btn{min-width:38px;height:36px;padding:0 10px;border-radius:10px;border-color:var(--enterprise-border-strong);background:var(--enterprise-panel);color:var(--enterprise-text)}.enterprise-topbar-v2 .lang-btn:hover{background:var(--enterprise-panel-strong)}.enterprise-topbar-v2 .lang-btn.active{background:var(--enterprise-primary);color:var(--enterprise-primary-contrast);border-color:var(--enterprise-primary)}.enterprise-user-menu-v2{position:relative}.enterprise-avatar-btn-v2{width:40px;height:40px;padding:0;border:1px solid var(--enterprise-border-strong);border-radius:12px;background:var(--enterprise-panel);color:var(--enterprise-text);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.enterprise-avatar-btn-v2__badge{width:28px;height:28px;border-radius:999px;background:var(--enterprise-primary);color:var(--enterprise-primary-contrast);display:inline-flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:800;letter-spacing:.04em}.enterprise-user-menu-v2__dropdown{position:absolute;top:calc(100% + 10px);right:0;min-width:280px;padding:10px;border-radius:18px;border:1px solid var(--enterprise-border);background:var(--enterprise-panel-strong);box-shadow:var(--enterprise-shadow);display:flex;flex-direction:column;gap:6px;z-index:10}.enterprise-user-menu-v2__section{display:grid;gap:4px}.enterprise-user-menu-v2__section-title{padding:2px 12px 4px;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--enterprise-muted)}.enterprise-user-menu-v2__divider{height:1px;margin:4px 0;background:var(--enterprise-border)}.enterprise-user-menu-v2__summary{padding:10px 12px;border-radius:14px;background:var(--enterprise-panel);border:1px solid var(--enterprise-border)}.enterprise-user-menu-v2__name{font-weight:700}.enterprise-user-menu-v2__meta{margin-top:4px;font-size:.74rem;color:var(--enterprise-muted)}.enterprise-user-menu-v2__item{width:100%;min-height:40px;padding:0 12px;border:0;border-radius:12px;background:transparent;color:var(--enterprise-text);text-decoration:none;display:inline-flex;align-items:center;cursor:pointer}.enterprise-user-menu-v2__item:hover{background:var(--enterprise-panel)}.enterprise-user-menu-v2__item--danger{color:#ff9aae}.enterprise-shell-v2 .ui-page-header h1,.enterprise-shell-v2 .ui-state-title,.enterprise-shell-v2 .ui-card-header,.enterprise-shell-v2 .ui-card-header strong,.enterprise-shell-v2 .ui-card-header h2,.enterprise-shell-v2 .ui-card-header h3,.enterprise-shell-v2 .ui-modal-header,.enterprise-shell-v2 .ui-modal-header strong,.enterprise-shell-v2 .ui-modal-header h2,.enterprise-shell-v2 .ui-modal-header h3,.enterprise-shell-v2 .ui-table th,.enterprise-shell-v2 .ui-table td,.enterprise-shell-v2 .crm-mobile-card-title,.enterprise-shell-v2 .crm-mobile-card-value{color:var(--ui-text)}.enterprise-shell-v2 .ui-page-header p,.enterprise-shell-v2 .ui-state-message,.enterprise-shell-v2 .ui-filter-field>span,.enterprise-shell-v2 .crm-mobile-card-subtitle,.enterprise-shell-v2 .crm-mobile-card-label,.enterprise-shell-v2 .crm-note-preview,.enterprise-shell-v2 .crm-mobile-card-note,.enterprise-shell-v2 .ui-modal-body .label,.enterprise-shell-v2 .restore-path-hint,.enterprise-shell-v2 .restore-mode-description,.enterprise-shell-v2 .restore-mode-legend-text{color:var(--ui-muted)}.enterprise-shell-v2 .ui-card,.enterprise-shell-v2 .ui-state-card,.enterprise-shell-v2 .crm-mobile-card,.enterprise-shell-v2 .crm-email-ai-panel,.enterprise-shell-v2 .crm-email-reply-panel{background:var(--ui-surface);border-color:var(--ui-border);box-shadow:var(--enterprise-shadow)}.enterprise-shell-v2 .ui-card-header,.enterprise-shell-v2 .ui-modal-header,.enterprise-shell-v2 .ui-modal-footer{background:color-mix(in srgb,var(--ui-surface) 88%,var(--ui-bg) 12%);border-color:var(--ui-border)}.enterprise-shell-v2 .ui-tabs-nav{background:var(--ui-bg);border-color:var(--ui-border)}.enterprise-shell-v2 .ui-tab-btn{color:var(--ui-muted)}.enterprise-shell-v2 .ui-tab-btn:hover,.enterprise-shell-v2 .ui-tab-btn.active{background:var(--ui-surface)}.enterprise-shell-v2 .ui-btn-secondary,.enterprise-shell-v2 .row-actions-menu-trigger,.enterprise-shell-v2 .ui-modal-close-btn{background:var(--ui-surface);border-color:var(--ui-border);color:var(--ui-text)}.enterprise-shell-v2 .ui-btn-secondary:hover,.enterprise-shell-v2 .row-actions-menu-item:hover:not(:disabled),.enterprise-shell-v2 .ui-modal-close-btn:hover{background:var(--ui-bg)}.enterprise-shell-v2--light.enterprise-shell-v2 .ui-btn-secondary,.enterprise-shell-v2--light.enterprise-shell-v2 .row-actions-menu-trigger,.enterprise-shell-v2--light.enterprise-shell-v2 .ui-modal-close-btn{border-color:color-mix(in srgb,var(--ui-border) 100%,#9aacca);box-shadow:0 1px 2px #1f345912}.enterprise-shell-v2--light.enterprise-shell-v2 .ui-btn-secondary:hover,.enterprise-shell-v2--light.enterprise-shell-v2 .row-actions-menu-trigger:hover,.enterprise-shell-v2--light.enterprise-shell-v2 .ui-modal-close-btn:hover{border-color:color-mix(in srgb,var(--enterprise-primary) 38%,var(--ui-border));box-shadow:0 2px 8px #345dff1a}.enterprise-shell-v2 .ui-input,.enterprise-shell-v2 .ui-select,.enterprise-shell-v2 .phone-input-wrapper input,.enterprise-shell-v2 .ui-file-input-wrap .ui-file-input-filename{background:var(--ui-surface);border-color:var(--ui-border);color:var(--ui-text)}.enterprise-shell-v2 .ui-input::placeholder,.enterprise-shell-v2 .ui-select::placeholder{color:var(--ui-muted)}.enterprise-shell-v2 .ui-table th{background:color-mix(in srgb,var(--ui-bg) 86%,transparent)}.enterprise-shell-v2 .ui-table tbody tr:hover{background:color-mix(in srgb,var(--ui-bg) 92%,transparent)}.enterprise-shell-v2 .row-actions-menu-dropdown,.enterprise-shell-v2 .crm-pdf-download-details .crm-pdf-download-dropdown,.enterprise-shell-v2 .crm-pdf-download-wrap .crm-pdf-download-dropdown{min-width:min(280px,92vw);background:var(--enterprise-overlay-menu-bg);border-color:var(--enterprise-border-strong);box-shadow:var(--enterprise-shadow),0 0 0 1px color-mix(in srgb,var(--enterprise-border-strong) 70%,rgba(0,0,0,.35));z-index:700}.enterprise-shell-v2 .row-actions-menu-item,.enterprise-shell-v2 .crm-pdf-download-dropdown a{color:var(--ui-text)}.enterprise-shell-v2 .row-actions-menu-item-icon{color:var(--enterprise-muted-strong)}.enterprise-shell-v2 .row-actions-menu-item:hover:not(:disabled) .row-actions-menu-item-icon{color:var(--enterprise-primary)}.enterprise-shell-v2 .row-actions-menu-item.is-danger{color:var(--ui-danger)}.enterprise-shell-v2 .row-actions-menu-item.is-danger .row-actions-menu-item-icon{color:inherit}.enterprise-shell-v2 .ui-modal{background:var(--ui-surface);border-color:var(--ui-border)}.enterprise-legacy-embed-v2{min-width:0}.enterprise-legacy-embed-v2 .admin-shell{min-height:0;display:block;background:transparent;overflow:visible}.enterprise-legacy-embed-v2 .admin-sidebar,.enterprise-legacy-embed-v2 .admin-topbar,.enterprise-legacy-embed-v2 .admin-overlay{display:none!important}.enterprise-legacy-embed-v2 .admin-main{display:block;min-width:0}.enterprise-legacy-embed-v2 .admin-content{padding:0;overflow:visible}@media(max-width:1180px){.enterprise-shell-v2:not(.enterprise-shell-v2--narrow),.enterprise-shell-v2--collapsed:not(.enterprise-shell-v2--narrow){grid-template-columns:1fr}.enterprise-shell-v2:not(.enterprise-shell-v2--narrow) .enterprise-sidebar-v2{position:static;min-height:0}.enterprise-topbar-v2{flex-direction:column;align-items:stretch}.enterprise-shell-v2--narrow .enterprise-topbar-v2{flex-direction:row;align-items:flex-start;flex-wrap:wrap}.enterprise-shell-v2--narrow .enterprise-topbar-v2__heading{flex-direction:row;align-items:flex-start;flex:1 1 auto;min-width:0}.enterprise-topbar-v2__actions{width:100%;flex-wrap:wrap;justify-content:flex-start}.enterprise-shell-v2--narrow .enterprise-topbar-v2__actions{width:auto;flex:1 1 100%;justify-content:flex-end}.enterprise-topbar-v2__heading{align-items:flex-start;flex-direction:column;gap:4px}.enterprise-shell-v2--narrow .enterprise-topbar-v2__heading{flex-direction:row;gap:10px}.enterprise-command-v2{width:100%}.enterprise-crm-search-v2{max-width:none;width:100%}}.enterprise-shell-v2--narrow{display:block}.enterprise-shell-v2--narrow .enterprise-sidebar-v2{position:fixed;top:0;left:0;z-index:800;width:min(300px,88vw);max-width:100%;height:100vh;height:100dvh;margin:0;padding-top:max(18px,env(safe-area-inset-top,0px));padding-right:max(14px,env(safe-area-inset-right,0px));padding-left:max(14px,env(safe-area-inset-left,0px));padding-bottom:max(22px,env(safe-area-inset-bottom,0px));overflow-y:auto;overscroll-behavior:contain;transform:translate(-100%);transition:transform .22s ease;box-shadow:none;border-right:1px solid var(--enterprise-border)}.enterprise-shell-v2--narrow .enterprise-sidebar-v2.is-open{transform:translate(0);box-shadow:12px 0 40px #050b1559}.enterprise-shell-v2--light.enterprise-shell-v2--narrow .enterprise-sidebar-v2.is-open{box-shadow:12px 0 40px #1f345924}.enterprise-shell-v2--narrow .enterprise-main-v2{min-height:100vh;min-height:100dvh}.enterprise-mobile-nav-backdrop{position:fixed;inset:0;z-index:799;margin:0;padding:0;border:0;cursor:pointer;background:#050b157a}.enterprise-shell-v2--light .enterprise-mobile-nav-backdrop{background:#12203359}.enterprise-mobile-nav-open-btn{flex:0 0 auto;width:44px;height:44px;margin:0;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:14px;border:1px solid var(--enterprise-border-strong);background:var(--enterprise-panel);color:var(--enterprise-text);cursor:pointer;transition:background-color .2s ease,border-color .2s ease,transform .2s ease}.enterprise-mobile-nav-open-btn:hover{background:var(--enterprise-panel-strong);border-color:var(--enterprise-primary-strong);transform:translateY(-1px)}.enterprise-mobile-nav-icon-v2{width:20px;height:20px;display:block}.enterprise-confirm-modal-overlay{position:fixed;inset:0;z-index:1100;background:#050a14a6;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:flex-start;justify-content:center;padding:max(20px,env(safe-area-inset-top)) 16px max(32px,env(safe-area-inset-bottom));overflow-y:auto;box-sizing:border-box}.enterprise-shell-v2--light .enterprise-confirm-modal-overlay{background:#12203373}.enterprise-confirm-modal{width:min(440px,calc(100% - 32px));margin:auto;border-radius:24px;border:1px solid var(--enterprise-border-strong);background:var(--enterprise-panel-strong);box-shadow:var(--enterprise-shadow);display:flex;flex-direction:column;max-height:min(92vh,720px);overflow:hidden}.enterprise-confirm-modal__head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid var(--enterprise-border);flex-shrink:0}.enterprise-confirm-modal--no-body .enterprise-confirm-modal__head{border-bottom:none;padding-bottom:12px}.enterprise-confirm-modal__title{margin:0;font-size:1.05rem;font-weight:700;color:var(--enterprise-text);line-height:1.35;padding-right:8px}.enterprise-confirm-modal__body{padding:20px 22px;flex:1;min-height:0}.enterprise-confirm-modal__body p{margin:0;font-size:.92rem;line-height:1.5;color:var(--enterprise-muted)}.enterprise-confirm-modal__foot{padding:16px 22px 20px;border-top:1px solid var(--enterprise-border);display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;align-items:center;flex-shrink:0;background:var(--enterprise-panel-strong)}.enterprise-confirm-modal__foot .enterprise-action-btn-v2{box-sizing:border-box}.enterprise-confirm-modal__confirm--danger{background:#dc2626!important;color:#fff!important;border:1px solid transparent}.enterprise-confirm-modal__confirm--danger:hover:not(:disabled){background:#b91c1c!important;filter:none}.enterprise-confirm-modal__confirm--warning{background:#ca8a04!important;color:#fff!important}.enterprise-confirm-modal__confirm--warning:hover:not(:disabled){background:#a16207!important;filter:none}@media(prefers-reduced-motion:reduce){.enterprise-shell-v2--narrow .enterprise-sidebar-v2{transition:none}}#root{width:100%;min-height:100vh;overflow-x:hidden}
