@import "https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap";.app-error-popup{z-index:1000;width:min(380px,100vw - 24px);color:var(--crm-theme-danger-text,#8f2e26);border:1px solid var(--crm-theme-border,#f2b6aa);background:var(--crm-theme-danger-surface,#fff9f7);border-radius:14px;grid-template-columns:24px minmax(0,1fr) 28px;align-items:start;gap:10px;padding:15px;font-size:13px;line-height:1.4;display:grid;position:fixed;bottom:78px;right:18px;box-shadow:0 18px 48px #34221c33}.app-error-popup>div{overflow-wrap:anywhere;gap:4px;min-width:0;display:grid}.app-error-popup strong{font-size:14px}.app-error-popup button{width:28px;height:28px;color:var(--crm-theme-danger-text,#8f2e26);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;padding:0;display:grid}.app-error-popup button:hover{background:var(--crm-theme-danger-surface,#fce7e1)}@media (max-width:600px){.app-error-popup{right:12px;bottom:max(90px, calc(80px + env(safe-area-inset-bottom)));width:auto;left:12px}}:root{--color-warehouse-danger-1:#df3c50;--color-warehouse-warning-1:#d89400;--color-warehouse-danger-2:#d9364f;--color-warehouse-warning-2:#ffc20e;--color-warehouse-danger-3:#e6374e;--color-warehouse-info-1:#255bad;--color-warehouse-info-2:#264269;--color-warehouse-text-1:#155b30;--color-warehouse-text-2:#4a0b72;--color-warehouse-info-3:#1f70e7;--color-warehouse-success-1:#168850;--color-warehouse-info-4:#1db6d3;--color-warehouse-text-3:#20231f;--color-warehouse-muted-1:#6d7169;--color-warehouse-success-2:#146c43;--color-warehouse-border-1:#d1e7dd;--color-warehouse-warning-3:#8a5a00;--color-warehouse-surface-1:#fff3cd;--color-platform-surface-1:#f5fafc;--color-platform-text-1:#24313a;--color-platform-text-2:#17232b;--color-platform-border-1:#d8e5ec;--color-platform-info-1:#3b82f6;--color-platform-success-1:#22a55a;--color-platform-warning-1:#b7791f;--color-platform-danger-1:#e25454;--color-platform-muted-1:#687382;--color-platform-text-3:#1d2530;--color-platform-success-2:#3f9b63;--color-platform-border-2:#d8e5ec;--color-platform-status-surface-1:#f0c7bf;--color-platform-surface-2:#fff8f6;--color-platform-danger-2:#b13e27;--color-platform-surface-3:#eef2f5;--color-platform-text-4:#25303b;--color-platform-muted-2:#7a8592;--color-platform-info-2:#2563eb;--color-platform-muted-3:#47515d;--color-logistics-info-1:#0877d4;--color-logistics-info-2:#055faa;--color-logistics-info-3:#254f91;--color-logistics-heading-1:#243f53;--color-logistics-heading-2:#39566a;--color-logistics-heading-3:#1f2937;--color-logistics-heading-4:#2c2f33;--color-logistics-muted-1:#53677d;--color-logistics-muted-2:#5f6770;--color-logistics-muted-3:#6f8393;--color-logistics-muted-4:#748897;--color-logistics-muted-5:#7b8078;--color-logistics-muted-6:#7d8b98;--color-logistics-muted-7:#8a99aa;--color-logistics-border-1:#b9d8eb;--color-logistics-border-2:#cfdce4;--color-logistics-border-3:#d3dbe2;--color-logistics-border-4:#d7e8f8;--color-logistics-border-5:#dbe8ee;--color-logistics-border-6:#e2edf2;--color-logistics-border-7:#e8e8e1;--color-logistics-border-8:#ecece7;--color-logistics-border-9:#edf1f4;--color-logistics-surface-1:#f6fafc;--color-logistics-surface-2:#f7fbfd;--color-logistics-surface-3:#edf7fb;--color-logistics-surface-4:#fffdf9;--color-logistics-surface-5:#fbfaf7;--color-logistics-surface-6:#eef6ff;--color-logistics-surface-7:#fbfdff;--color-logistics-surface-8:#f2f7ff;--color-logistics-surface-9:#f6f9fb;--color-logistics-danger-1:#aa392d;--color-logistics-danger-2:#a64938;--color-logistics-danger-3:#a74434;--color-logistics-danger-4:#e02f3e;--color-logistics-danger-border-1:#e2b7b0;--color-logistics-danger-surface-1:#fff3f0;--color-logistics-success-1:#21864a;--color-logistics-success-2:#178b48;--color-logistics-success-surface-1:#d9f2e1;--color-logistics-success-surface-2:#d8f5df;--color-logistics-warning-surface-1:#fff8ed;--color-stock-available:#17633d;--color-stock-available-bg:#e5f4ea;--color-stock-pending:#825c08;--color-stock-pending-bg:#fff3cf;--color-stock-blocked:#a12828;--color-stock-blocked-bg:#fbe7e7;--color-link-strong:#163f5a;--color-success-ink:#166534;--color-status-ready:#17633a;--color-success-action:#18894d;--color-link:#245d81;--color-input-text:#252821;--color-warehouse-margin:#253b28;--color-status-sold:#315d7d;--color-task-bucket-later:#495f9b;--color-warehouse-margin-muted:#59605a;--color-status-repair:#69418b;--color-status-disputed:#6f5400;--color-danger-ink:#722821;--color-table-heading:#73786f;--color-status-reserved:#7a4a00;--color-disabled-text:#85858c;--color-danger-strong-ink:#9a2f18;--color-warning-ink:#9a4a2b;--color-disabled-icon:#9a9aa1;--color-warehouse-input-border:#aabf99;--color-danger-action-strong:#b42318;--color-success-surface-strong:#bbf7d0;--color-danger-financial:#bd3429;--color-warehouse-margin-text:#bdd6a7;--color-accent:#c96b4d;--color-task-bucket-soon:#c9982b;--color-warehouse-price-border:#c9d7bd;--color-accent-contrast:#d23f57;--color-warning-action:#d4a017;--color-disabled-border:#d6d6da;--color-success-surface-text:#d7f1c5;--color-input-border:#d8d9d1;--color-status-sold-surface:#dceefb;--color-task-bucket-late:#df735f;--color-status-ready-surface:#dff7e7;--color-warehouse-margin-muted-text:#e1e4df;--color-table-divider-strong:#e3e3dc;--color-danger-border-soft:#e4b4ae;--color-table-divider:#ecece6;--color-success-surface:#edf4e9;--color-status-repair-surface:#efe0ff;--color-success-surface-subtle:#f0fdf4;--color-disabled-surface:#f2f2f4;--color-warning-border-soft:#f3c3ae;--color-warehouse-panel-surface:#f3f7ef;--color-warehouse-price-surface:#f5f9f1;--color-warehouse-hero-end:#f6f6f1;--color-status-disputed-surface:#f7e8a6;--color-table-header-surface:#f7f7f3;--color-surface-subtle-alt:#fafafa;--color-warehouse-row-hover:#fbf8ef;--color-warehouse-panel-start:#fbfcf9;--color-status-blocked-surface:#ffe1d8;--color-status-reserved-surface:#fff0c2;--color-warning-surface:#fff6f1;--color-danger-surface:#fff8f7;--color-warehouse-actions-surface:#fffaf6;--color-warehouse-child-surface:#fffdf8;--color-warehouse-hero-start:#fffefa;--font-body:Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-display:var(--font-body);--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;--font-size-2xs:9px;--font-size-xs:10px;--font-size-sm:11px;--font-size-md:13px;--font-size-lg:14px;--font-size-xl:18px;--font-size-2xl:22px;--font-weight-regular:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--line-height-tight:1.1;--line-height-title:1.3;--line-height-body:1.366;--line-height-relaxed:1.5;--color-canvas:#f3f3f3;--color-surface:#fff;--color-surface-muted:#f3f3f3;--color-surface-subtle:#f7f7f7;--color-surface-hover:#eee;--color-surface-sunken:#f7f7f7;--color-surface-rail:#f3f3f3;--color-surface-selection:#fff0e8;--color-surface-glass:#fffffff0;--color-surface-glass-soft:#fff6;--color-surface-glass-strong:#fffffff5;--color-on-dark-muted:#ffffff94;--color-overlay:#17171961;--color-text:#171719;--color-text-secondary:#4f4f56;--color-text-muted:#66666e;--color-text-subtle:#9697a0;--color-text-faint:#b8b9bf;--color-text-warm:#a83c16;--color-border:#ebebeb;--color-border-subtle:#f2f2f3;--color-border-strong:#dcdce0;--color-action:#b5471d;--color-action-hover:#963a17;--color-focus:#175cd3;--color-focus-soft:#eff8ff;--shell-bar-height:64px;--layer-navigation:20;--layer-panel:70;--layer-dialog:100;--color-primary:#f86b37;--color-primary-hover:#e85a28;--color-primary-strong:#d2612b;--color-primary-bright:#ff7a45;--color-primary-soft:#ffe4d8;--color-primary-softer:#fff0e8;--color-primary-faint:#fff7f3;--color-primary-border:#f6bba4;--color-primary-text:#f86b37;--color-on-primary:#fff;--color-avatar-end:var(--color-primary-bright);--color-avatar-start:var(--color-primary-soft);--color-avatar-middle:#ff9a76;--color-transfer-icon:#ff7a45;--color-transfer-text:#f86b37;--color-unread:var(--color-primary);--color-navigation-surface:#eee;--color-fab-start:#e85a28;--color-fab-end:var(--color-primary-bright);--color-next-action-surface:var(--color-primary-faint);--color-next-action-border:var(--color-primary-border);--color-info:var(--color-text-secondary);--color-info-soft:var(--color-surface-hover);--color-info-border:var(--color-border-strong);--color-next-action-accent:#004589;--color-next-action-accent-soft:#e4effb;--color-success:var(--color-primary);--color-success-strong:var(--color-primary-strong);--color-success-soft:var(--color-primary-softer);--color-success-border:var(--color-primary-border);--color-warning:var(--color-primary);--color-warning-strong:var(--color-primary-strong);--color-warning-soft:var(--color-primary-faint);--color-danger:var(--color-primary-strong);--color-danger-action:var(--color-primary-strong);--color-danger-strong:#a83c16;--color-danger-soft:var(--color-primary-softer);--color-danger-border:var(--color-primary-border);--color-on-danger:#fff;--color-stage-new:#9697a0;--color-stage-qualification:#66666e;--color-stage-selection:#4f4f56;--color-stage-offer:#f6bba4;--color-stage-financing:#ff9a76;--color-stage-approval:#ff7a45;--color-stage-documents:#f86b37;--color-stage-contract:#d2612b;--space-0:0;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-7:28px;--space-8:32px;--space-10:40px;--space-12:48px;--radius-xs:4px;--radius-sm:8px;--radius-md:10px;--radius-lg:13px;--radius-xl:20px;--radius-2xl:24px;--radius-pill:999px;--control-height-sm:36px;--control-height-md:44px;--control-height-lg:52px;--tap-target:44px;--rail-width:92px;--content-list-width:456px;--mobile-max-width:100%;--shadow-xs:0 1px 2px #1717190a;--shadow-sm:0 4px 14px #1717190f;--shadow-md:0 12px 34px #1717191f;--shadow-lg:0 24px 64px #1717192e;--shadow-sheet:0 -16px 48px #17171929;--focus-ring:0 0 0 3px #f86b373d;--motion-instant:80ms;--motion-fast:.14s;--motion-normal:.22s;--motion-slow:.32s;--ease-standard:cubic-bezier(.2, .8, .2, 1);--ease-emphasized:cubic-bezier(.16, 1, .3, 1);--bg:var(--color-canvas);--surface:var(--color-surface);--surface-2:var(--color-surface-muted);--surface-soft:var(--color-surface-subtle);--text:var(--color-text);--muted:var(--color-text-muted);--faint:var(--color-text-faint);--line:var(--color-border);--accent:var(--color-primary);--accent-soft:var(--color-primary-soft);--green:var(--color-primary);--info:var(--color-info);--danger:var(--color-danger);--shadow:var(--shadow-lg);--mono:var(--font-mono)}@media (prefers-reduced-motion:reduce){:root{--motion-instant:1ms;--motion-fast:1ms;--motion-normal:1ms;--motion-slow:1ms}}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]){--color-action:#c94b20;--color-action-hover:#ae3e19;--color-action-emphasis:#ff8a57;--color-selection-strong:#20252b;--font-body:"Noto Sans PC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--color-canvas:#f5f6f8;--color-surface-muted:#f0f2f5;--color-surface-subtle:#f0f2f5;--color-surface-rail:#fff;--color-surface-hover:#f0f2f5;--color-text:#20252b;--color-text-secondary:#606975;--color-text-muted:#606975;--color-text-subtle:#606975;--color-border:#d9dee5;--color-border-strong:#8a95a3;--color-primary:var(--color-action);--color-primary-hover:var(--color-action-hover);--color-primary-strong:var(--color-action-hover);--color-primary-text:var(--color-action);--color-success:#166534;--color-success-strong:#166534;--color-success-soft:#ecfdf3;--color-success-border:#166534;--color-warning:#854d0e;--color-warning-strong:#854d0e;--color-warning-soft:#fff8e1;--color-warning-surface:#fff8e1;--color-danger:#b42318;--color-danger-action:#b42318;--color-danger-strong:#b42318;--color-danger-soft:#fef3f2;--color-danger-surface:#fef3f2;--color-danger-border:#b42318;--color-info:var(--color-focus);--color-info-soft:var(--color-focus-soft);--color-info-border:var(--color-focus);--color-input-border:var(--color-border-strong);--color-input-text:var(--color-text);--color-table-heading:var(--color-text-secondary);--color-table-header-surface:var(--color-surface-muted);--color-table-divider:var(--color-border);--color-warehouse-panel-surface:var(--color-surface);--color-warehouse-price-surface:var(--color-surface-muted);--color-warehouse-row-hover:var(--color-surface-hover);--color-warehouse-panel-start:var(--color-surface);--color-warehouse-hero-start:var(--color-surface);--color-warehouse-hero-end:var(--color-surface);--color-warehouse-child-surface:var(--color-surface-muted);--font-size-2xs:11px;--font-size-xs:12px;--font-size-sm:12px;--font-size-md:13px;--font-size-lg:14px;--font-size-xl:16px;--font-size-2xl:20px;--line-height-body:1.5;--line-height-title:1.3;--space-1:3px;--space-2:6px;--space-3:8px;--space-4:10px;--space-5:12px;--space-6:14px;--space-7:16px;--space-8:20px;--space-10:24px;--space-12:28px;--radius-sm:4px;--radius-xl:8px;--radius-2xl:10px;--tap-target:30px;--shell-bar-height:46px;--radius-md:6px;--radius-lg:6px;--control-height-sm:28px;--control-height-md:30px;--control-height-lg:32px;--color-logistics-info-1:var(--color-info);--color-logistics-info-2:var(--color-info);--color-logistics-info-3:var(--color-info);--color-logistics-heading-1:var(--color-text);--color-logistics-heading-2:var(--color-text);--color-logistics-heading-3:var(--color-text);--color-logistics-heading-4:var(--color-text);--color-logistics-muted-1:var(--color-text-muted);--color-logistics-muted-2:var(--color-text-muted);--color-logistics-muted-3:var(--color-text-muted);--color-logistics-muted-4:var(--color-text-muted);--color-logistics-muted-5:var(--color-text-muted);--color-logistics-muted-6:var(--color-text-muted);--color-logistics-muted-7:var(--color-text-muted);--color-logistics-border-1:var(--color-border);--color-logistics-border-2:var(--color-border);--color-logistics-border-3:var(--color-border);--color-logistics-border-4:var(--color-border);--color-logistics-border-5:var(--color-border);--color-logistics-border-6:var(--color-border);--color-logistics-border-7:var(--color-border);--color-logistics-border-8:var(--color-border);--color-logistics-border-9:var(--color-border);--color-logistics-surface-1:var(--color-surface-muted);--color-logistics-surface-2:var(--color-surface-muted);--color-logistics-surface-3:var(--color-surface-muted);--color-logistics-surface-4:var(--color-surface-muted);--color-logistics-surface-5:var(--color-surface-muted);--color-logistics-surface-6:var(--color-surface-muted);--color-logistics-surface-7:var(--color-surface-muted);--color-logistics-surface-8:var(--color-surface-muted);--color-logistics-surface-9:var(--color-surface-muted);--color-logistics-danger-1:var(--color-danger);--color-logistics-danger-2:var(--color-danger);--color-logistics-danger-3:var(--color-danger);--color-logistics-danger-4:var(--color-danger);--color-logistics-danger-border-1:var(--color-danger-border);--color-logistics-danger-surface-1:var(--color-danger-soft);--color-logistics-success-1:var(--color-success);--color-logistics-success-2:var(--color-success);--color-logistics-success-surface-1:var(--color-success-soft);--color-logistics-success-surface-2:var(--color-success-soft);--color-logistics-warning-surface-1:var(--color-warning-soft);--color-warehouse-danger-1:var(--color-danger);--color-warehouse-warning-1:var(--color-warning);--color-warehouse-danger-2:var(--color-danger);--color-warehouse-warning-2:var(--color-warning);--color-warehouse-danger-3:var(--color-danger);--color-warehouse-info-1:var(--color-info);--color-warehouse-info-2:var(--color-info);--color-warehouse-text-1:var(--color-text);--color-warehouse-text-2:var(--color-text);--color-warehouse-info-3:var(--color-info);--color-warehouse-success-1:var(--color-success);--color-warehouse-info-4:var(--color-info);--color-warehouse-text-3:var(--color-text);--color-warehouse-muted-1:var(--color-text-muted);--color-warehouse-success-2:var(--color-success);--color-warehouse-border-1:var(--color-border);--color-warehouse-warning-3:var(--color-warning);--color-warehouse-surface-1:var(--color-surface-muted);--color-platform-surface-1:var(--color-surface-muted);--color-platform-text-1:var(--color-text);--color-platform-text-2:var(--color-text);--color-platform-border-1:var(--color-border);--color-platform-info-1:var(--color-info);--color-platform-success-1:var(--color-success);--color-platform-warning-1:var(--color-warning);--color-platform-danger-1:var(--color-danger);--color-platform-muted-1:var(--color-text-muted);--color-platform-text-3:var(--color-text);--color-platform-success-2:var(--color-success);--color-platform-border-2:var(--color-border);--color-platform-status-surface-1:var(--color-warning-soft);--color-platform-surface-2:var(--color-surface-muted);--color-platform-danger-2:var(--color-danger);--color-platform-surface-3:var(--color-surface-muted);--color-platform-text-4:var(--color-text);--color-platform-muted-2:var(--color-text-muted);--color-platform-info-2:var(--color-info);--color-platform-muted-3:var(--color-text-muted);--pc-page-title-size:20px;--pc-page-title-line:26px;--pc-section-title-size:16px;--pc-section-title-line:22px;--pc-dialog-title-size:16px;--pc-dialog-title-line:22px;--pc-body-size:13px;--pc-body-line:18px;--pc-secondary-size:12px;--pc-secondary-line:16px;--pc-table-row-height:34px;--pc-table-compact-row-height:28px;--pc-form-width:720px;--pc-page-gutter:12px;--pc-dialog-small:520px;--pc-dialog-form:720px;--pc-object-panel:600px;--layer-page:0;--layer-sticky:10;--layer-popover:120;--layer-toast:140;--focus-ring:0 0 0 3px var(--color-focus-soft);--shadow-sheet:var(--shadow-md);--motion-normal:.18s;--rail-width:190px}@media (max-width:1100px){:is(html[data-crm-surface=desktop],html[data-app-surface=platform]){--pc-page-gutter:10px}}@media (prefers-reduced-motion:reduce){:is(html[data-crm-surface=desktop],html[data-app-surface=platform]){--motion-instant:1ms;--motion-fast:1ms;--motion-normal:1ms;--motion-slow:1ms}}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(button,input,select,textarea){font-family:var(--font-body)}:root{font-family:var(--font-body);color:var(--color-text);background:var(--color-surface-muted);font-synthesis:none}.load-more-button{border:1px solid var(--line);background:var(--surface);width:calc(100% - 32px);color:var(--color-text);border-radius:10px;margin:8px 16px 16px;padding:10px 14px}html,body,#root{min-width:320px;min-height:100%;margin:0}body{min-height:100vh;min-height:100dvh;overflow:hidden}button,input,textarea,select{font:inherit}button{color:inherit;cursor:pointer}button,select,input,textarea{outline:none}:is(button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible){box-shadow:0 0 0 3px #c84e382e}svg{stroke-width:1.8px;flex:none}.app-shell{height:100vh;height:100dvh;height:var(--tg-viewport-stable-height,100dvh);background:var(--bg);overflow:hidden}.workspace.warehouse-mode,.workspace.calls-mode{grid-template-columns:minmax(0,1fr)}.list-pane{border-right:1px solid var(--line);background:var(--surface);flex-direction:column;min-width:0;display:flex}.warehouse-list-pane{border-right:0}.detail-pane{background:var(--bg);min-width:0;overflow:hidden}.entity-scroll{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:0;padding:0 0 110px;overflow:auto}.brand-mark{color:#fff;background:var(--color-text);width:42px;height:42px;font:700 22px var(--font-display);border:0;border-radius:8px;align-self:center}.avatar-button span,.profile-card>span,.large-avatar{background:#dcdce0;border:1px solid #dcdce0;border-radius:50%;place-items:center;font-weight:700;display:grid}.offline-banner{top:0;left:var(--rail-width);z-index:80;min-height:28px;color:var(--crm-theme-text,#4f4f56);background:var(--crm-theme-accent-surface,#ffe4d8);text-align:center;justify-content:center;align-items:center;gap:7px;padding:4px 12px;font-size:11px;display:flex;position:fixed;right:0}.offline-banner span{min-width:0}.offline-banner button{color:var(--crm-theme-accent-text,#a83c16);font:inherit;text-underline-offset:2px;background:0 0;border:0;padding:0;font-weight:800;text-decoration:underline}.offline-banner button:focus-visible{border-radius:2px}.offline-banner~.workspace{padding-top:28px}.mobile-report-app-header{display:none}.avatar-button{background:0 0;border:0;border-radius:50%;width:38px;height:38px;padding:0}.avatar-button span{width:38px;height:38px;font-size:11px}.header-copy{flex-direction:column;align-items:flex-start;gap:2px;min-width:0;display:flex}.header-copy>span{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:600}.report-header-switch{text-align:left;background:0 0;border:0;grid-template-columns:minmax(0,auto) auto;align-items:center;gap:1px 5px;width:max-content;max-width:100%;padding:3px 2px;display:grid;position:relative}.report-header-switch small{color:var(--accent);letter-spacing:.08em;text-transform:uppercase;grid-column:1/-1;font-size:8px;font-weight:800}.report-header-switch strong{font:700 18px var(--font-display);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.report-header-switch svg{color:var(--muted)}.filter-title{max-width:100%;font:700 18px var(--font-display);white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;align-items:center;gap:4px;padding:0;display:flex;overflow:hidden}.filter-title.active{color:var(--accent)}.header-actions{align-items:center;gap:7px;display:flex}.count-pill{border:1px solid var(--line);background:var(--bg);border-radius:17px;flex-direction:column;justify-content:center;align-items:center;min-width:53px;height:34px;padding:0 8px;line-height:1;display:flex}.count-pill small{color:var(--muted);margin-top:2px;font-size:8px}.icon-button,.back-button{border:1px solid var(--line);background:var(--surface);border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.icon-button svg,.back-button svg{width:18px}.icon-button.filter-active{color:var(--accent);border-color:var(--crm-theme-border,#f6bba4);background:var(--accent-soft)}.stage-group{border-bottom:1px solid var(--line)}.stage-heading{z-index:3;height:28px;color:var(--crm-theme-muted,#66666e);border-bottom:1px solid var(--crm-theme-border,#deded7bf);background:var(--crm-theme-glass,#f7f6f2eb);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);text-transform:uppercase;grid-template-columns:8px 1fr auto;align-items:center;gap:7px;padding:0 14px;font-size:10px;font-weight:700;display:grid;position:sticky;top:0}.stage-heading i{border-radius:2px;width:7px;height:7px}.stage-heading em{color:var(--faint);font-style:normal}.entity-card:last-child{border-bottom:0}.transfer-notices{border-bottom:1px solid var(--line);background:var(--crm-theme-surface-soft,#ebebeb);padding:9px 10px}.transfer-notice-card{border:1px solid var(--crm-theme-border,#dcdce0);min-height:70px;color:var(--crm-theme-muted,#66666e);background:var(--crm-theme-surface-soft,#ebebeb);border-radius:8px;align-items:center;gap:12px;padding:12px;display:flex}.transfer-notice-card>div{flex:1;min-width:0}.transfer-notice-card strong{color:var(--crm-theme-muted,#66666e);text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.transfer-notice-card p{margin:5px 0 0;font-size:9px;line-height:1.4}.transfer-notice-card button{height:32px;color:var(--crm-theme-text,#4f4f56);border:1px solid var(--crm-theme-border,#b8b9bf);background:var(--color-canvas);border-radius:6px;flex:none;align-items:center;gap:4px;padding:0 10px;font-size:9px;font-weight:700;display:flex}.transfer-notice-card button:hover{color:#fff;background:#66666e;border-color:#66666e}.select-target,.task-check{background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}.select-target{border-radius:50%;width:30px;height:30px}.selected .select-target{color:var(--crm-theme-on-solid,white);background:var(--accent)}.entity-avatar{background:#ebebeb;border:1px solid #dcdce0;border-radius:50%;place-items:center;width:30px;height:30px;font-size:9px;font-weight:700;display:grid}.entity-avatar.company{color:#66666e}.card-body{flex:1;min-width:0}.card-title-row{justify-content:space-between;align-items:baseline;gap:10px;min-width:0;display:flex}.card-title-row strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;overflow:hidden}.card-title-row b,.card-title-row time{color:var(--crm-theme-muted,#66666e);flex:none;font-size:10px;font-weight:600}.next-line{color:var(--crm-theme-text,#4f4f56);grid-template-columns:auto minmax(0,1fr);gap:8px;margin-top:7px;font-size:11px;display:grid}.next-line time{color:var(--muted);font-size:10px}.next-line span,.signal-line span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.signal-line{color:var(--crm-theme-text,#4f4f56);align-items:center;gap:6px;margin-top:8px;font-size:10px;display:flex}.client-card p{color:var(--crm-theme-text,#4f4f56);text-overflow:ellipsis;white-space:nowrap;margin:7px 0 5px;font-size:11px;overflow:hidden}.client-card small,.task-card small{color:var(--muted);font-size:9px}.client-card>svg{color:var(--faint)}.task-check{width:28px;height:28px;color:var(--crm-theme-muted,#66666e);border:1px solid var(--crm-theme-border,#b8b9bf);background:var(--crm-theme-surface-soft,#f7f7f7);border-radius:50%;transition:color .16s,border-color .16s,background .16s,box-shadow .16s}.task-check.soon,.task-check.late{border-color:var(--crm-theme-border,#b8b9bf)}:is(.task-check:hover,.task-check:focus-visible){color:#fff;border-color:var(--crm-theme-border,#f86b37);background:#f86b37;box-shadow:0 0 0 4px #ef5b4529}.card-title-row time.soon,.card-title-row time.late{color:var(--crm-theme-accent-text,#a83c16)}.completed-fold{height:46px;color:var(--muted);align-items:center;gap:8px;padding:0 16px;font-size:11px;display:flex}.completed-fold b{margin-left:auto}.segmented{background:var(--crm-theme-surface-soft,#ebebeb);border-radius:7px;grid-template-columns:1fr 1fr;gap:3px;padding:3px;display:grid}.segmented button{height:29px;color:var(--muted);background:0 0;border:0;border-radius:5px;font-size:10px;font-weight:600}.segmented button.active{color:var(--text);background:var(--surface);box-shadow:0 1px 4px #28282314}.search-field input{background:0 0;border:0;flex:1;min-width:0;font-size:11px}.search-field button{background:0 0;border:0;place-items:center;padding:0;display:grid}.detail-screen{background:var(--surface);flex-direction:column;height:100%;display:flex}.deal-status-stack{display:contents}.detail-header{border-bottom:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:74px;padding:10px 16px;display:grid}.detail-header>div{min-width:0}.detail-header small{color:var(--muted);margin-bottom:3px;font-size:9px;display:block}.detail-header h1{font:700 17px var(--font-display);text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.client-detail-header{grid-template-columns:auto auto minmax(0,1fr) auto}.client-detail-header.deal-detail-header{grid-template-columns:auto minmax(0,1fr) auto}.client-title-button,.client-title-company{cursor:default}.stage-bar{min-height:42px;color:color-mix(in srgb, var(--stage) 72%, var(--color-text));border:0;border-bottom:1px solid color-mix(in srgb, var(--stage) 34%, var(--line));background:color-mix(in srgb, var(--stage) 18%, var(--color-surface));box-shadow:inset 4px 0 0 var(--stage);justify-content:space-between;align-items:center;padding:0 18px;font-size:11px;font-weight:700;display:flex}.stage-bar span{align-items:center;gap:8px;display:flex}.stage-bar i{background:var(--stage);border-radius:2px;width:8px;height:18px}.next-action>div{grid-column:1/-1;justify-content:space-between;align-items:center;display:flex}.next-action small{color:var(--crm-theme-muted,#66666e);text-transform:uppercase;font-size:9px;font-weight:700}.next-action time{color:var(--color-text-warm);align-items:center;gap:5px;font-size:10px;display:flex}.next-action p{margin:6px 0 0;font-size:12px;font-weight:600}.next-action>svg{color:var(--crm-theme-muted,#9697a0);align-self:end}.detail-tabs{border-bottom:1px solid var(--line);background:var(--surface);flex:none;grid-template-columns:repeat(3,1fr);height:43px;display:grid}.detail-tabs.two{grid-template-columns:1fr 1fr}.detail-tabs button{color:var(--muted);background:0 0;border:0;font-size:10px;font-weight:600;position:relative}.detail-tabs button.active{color:var(--text)}.contact-strip{border-bottom:1px solid var(--line);background:var(--crm-theme-surface-soft,#f7f7f7);align-items:center;gap:8px;height:48px;padding:6px 14px;display:flex}.contact-strip>button{text-align:left;background:0 0;border:0;flex:1;justify-content:space-between;align-items:center;min-width:0;padding:0 10px;display:flex}.contact-strip span{flex-direction:column;font-size:10px;font-weight:600;display:flex}.contact-strip small{color:var(--muted);font-size:9px;font-weight:400}.contact-strip a{width:34px;height:34px;color:var(--color-primary-strong);border:1px solid var(--color-primary-border);background:var(--color-primary-softer);border-radius:50%;place-items:center;display:grid}.conversation{background:var(--color-surface-sunken);flex:1;min-height:0;padding:16px 18px;overflow-y:auto}.conversation-frame,.history-search-frame{flex:1;min-height:0;display:flex;position:relative;overflow:hidden}.conversation-frame>.conversation,.history-search-frame>.detail-content{width:100%}.entity-search{z-index:8;justify-content:flex-end;align-items:center;display:flex;position:absolute;top:9px;right:10px}.entity-search>button{width:31px;height:31px;color:var(--muted);border:1px solid var(--crm-theme-border,#d2d1c9eb);background:var(--crm-theme-glass,#fffefaeb);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:50%;place-items:center;padding:0;display:grid;box-shadow:0 2px 8px #23231e14}.entity-search.open{width:min(290px,100% - 20px);height:34px;color:var(--muted);border:1px solid var(--crm-theme-border,#dcdce0);background:var(--crm-theme-glass,#fffefaf5);border-radius:17px;gap:6px;padding:0 5px 0 9px;box-shadow:0 3px 12px #23231e17}.entity-search.open input{background:0 0;border:0;flex:1;min-width:0;padding:0;font-size:10px}.entity-search.open>button{width:25px;height:25px;box-shadow:none;background:0 0;border:0}.search-empty{color:var(--muted);justify-content:center;align-items:center;gap:7px;margin:50px auto;font-size:9px;display:flex}.deal-call-timeline{gap:9px;width:min(620px,100%);margin:0 auto 14px;display:grid}.deal-call-card{border:1px solid var(--crm-theme-border,#dcdce0);background:var(--surface);border-radius:10px;overflow:hidden;box-shadow:0 2px 8px #2828230a}.deal-call-summary{text-align:left;background:0 0;border:0;grid-template-columns:36px minmax(0,1fr) auto 20px;align-items:center;gap:10px;width:100%;min-height:64px;padding:9px 11px;display:grid}.deal-call-summary>i{width:36px;height:36px;color:var(--color-primary-strong);background:var(--color-primary-softer);border-radius:50%;place-items:center;display:grid}.deal-call-card.missed .deal-call-summary>i{color:var(--crm-theme-danger-text,#a83c16);background:var(--crm-theme-danger-surface,#ffe4d8)}.deal-call-summary>span{flex-direction:column;gap:3px;min-width:0;display:flex}.deal-call-summary small{color:var(--muted);font-size:9px}.deal-call-summary strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.deal-call-summary em{color:var(--crm-theme-accent-text,#a83c16);background:var(--crm-theme-accent-surface,#ffe4d8);border-radius:999px;padding:4px 7px;font-size:8px;font-style:normal;font-weight:700}.deal-call-summary>svg{color:var(--faint)}.deal-call-card.expanded .deal-call-summary>svg{transform:rotate(180deg)}.deal-call-body{border-top:1px solid var(--crm-theme-border,#ebebeb);background:var(--crm-theme-surface-soft,#f7f7f7);padding:0 13px 13px 57px}.deal-call-body p{max-height:190px;color:var(--crm-theme-text,#4f4f56);margin:0;padding:12px 0 9px;font-size:10px;line-height:1.6;overflow-y:auto}.deal-call-body p.empty{color:var(--muted)}.deal-call-player{min-height:45px;color:var(--color-primary-strong);grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;display:grid}.deal-call-player>svg{background:var(--color-primary-softer);border-radius:50%;width:24px;height:24px;padding:5px}.deal-call-player audio{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;width:100%;min-width:0;height:38px}.message{border:1px solid var(--crm-theme-border,#dcdce0);background:var(--surface);border-radius:7px 7px 7px 2px;width:fit-content;max-width:min(78%,560px);margin:0 0 8px;padding:9px 11px 6px;font-size:11px;box-shadow:0 1px 2px #2828230a}.message.me{background:var(--color-primary-softer);border-color:var(--color-primary-border);border-radius:7px 7px 2px;margin-left:auto}.message-avatar-row{align-items:flex-end;gap:7px;max-width:100%;margin-bottom:8px;display:flex}.message-avatar-row.me{justify-content:flex-end}.message-avatar-row.me .message-contact-avatar{order:2}.message-avatar-content{min-width:0;max-width:min(100% - 37px,560px)}.message-avatar-row .message{max-width:100%;margin:0}.message-avatar-row.me .message{margin-left:0}.message-contact-avatar{border-radius:50%;flex:0 0 30px;width:30px;height:30px;overflow:hidden}.message-contact-avatar-link{cursor:pointer;background:0 0;border:2px solid #0000;padding:0;transition:border-color .15s,transform .15s}:is(.message-contact-avatar-link:hover,.message-contact-avatar-link:focus-visible){border-color:var(--color-primary-strong);transform:scale(1.05)}.message-contact-avatar>*{width:100%;height:100%}.contact-avatar-photo{object-fit:cover;border-radius:50%;width:100%;height:100%;display:block}.message-author-link{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px dashed;padding:0;display:block}.message-link-contact{color:var(--muted);cursor:pointer;opacity:.72;background:0 0;border:0;border-bottom:1px dashed;margin:3px 0 0 2px;padding:0;font-size:10px;line-height:1.25;display:block}:is(.message-link-contact:hover,.message-link-contact:focus-visible){color:var(--color-primary-strong);opacity:1}.group-dialog-filter{z-index:3;border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 92%, transparent);border-radius:9px;align-items:center;gap:7px;max-width:min(310px,100% - 108px);padding:5px 8px;display:flex;position:absolute;top:8px;right:50px;box-shadow:0 2px 7px #23231e14}.group-dialog-filter span{color:var(--muted);flex:none;font-size:10px}.group-dialog-filter select{min-width:0;max-width:190px;color:var(--text);background:0 0;border:0;padding:0;font-size:11px}.message.ai{border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff0e8)}.message p{white-space:pre-line;margin:0;line-height:1.45}.message time{color:var(--faint);text-align:right;margin-top:3px;font-size:8px;display:block}.timeline-event{width:fit-content;color:var(--crm-theme-muted,#66666e);background:var(--crm-theme-glass,#e1e0d9bf);border-radius:12px;align-items:center;gap:6px;margin:8px auto;padding:5px 9px;font-size:8px;display:flex}.timeline-event time{margin-left:4px}.composer-zone{border-top:1px solid var(--line);background:var(--surface);padding-bottom:max(8px, env(safe-area-inset-bottom));flex:none}.read-only-dialog-notice{padding:12px 14px max(12px, env(safe-area-inset-bottom));color:var(--muted);border-top:1px solid var(--line);background:var(--surface);text-align:center;flex:none;font-size:11px;line-height:1.45}.composer-selects{align-items:center;gap:6px;height:37px;padding:5px 12px 0;display:flex}.composer-selects label{border:1px solid var(--line);background:var(--bg);border-radius:6px;align-items:center;gap:4px;height:28px;padding:0 8px;display:flex}.composer-selects select{-webkit-appearance:none;appearance:none;max-width:150px;color:var(--muted);background:0 0;border:0;padding:0;font-size:9px}.composer-box button{width:30px;height:30px;color:var(--muted);background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.composer-box textarea{resize:none;background:0 0;border:0;align-self:center;min-height:31px;max-height:90px;padding:7px 4px 4px;font-size:11px}.send-button{color:var(--crm-theme-on-solid,white)!important;background:var(--accent)!important}.detail-content{background:var(--bg);flex:1;min-height:0;padding:16px;overflow:auto}.field-section{border:1px solid var(--line);background:var(--surface);border-radius:7px;flex:none;min-height:max-content;overflow:visible}.field-section h2{border-bottom:1px solid var(--line);min-height:44px;font:700 13px var(--font-display);justify-content:space-between;align-items:center;margin:0;padding:0 14px;display:flex}.field-subsections{background:var(--surface-soft,#f3f3f3);flex-direction:column;gap:12px;width:100%;min-height:max-content;padding:12px;display:flex;overflow:visible}.field-subsection{border:1px solid var(--line);background:var(--surface);border-radius:9px;flex:none;width:100%;min-height:max-content;overflow:visible}.field-subsection h3{border-bottom:1px solid var(--line);min-height:42px;color:var(--text);letter-spacing:.01em;text-transform:none;justify-content:space-between;align-items:center;gap:8px;margin:0;padding:9px 14px;font-size:11px;font-weight:800;display:flex}.field-subsection h3 small,.field-section h2>small{color:var(--muted);background:var(--surface-2);font-family:var(--font-body);letter-spacing:0;text-transform:none;border-radius:999px;flex:none;padding:3px 7px;font-size:9px;font-weight:700}.field-custom-subgroups{gap:8px;padding:8px;display:grid}.field-custom-subgroup{border:1px solid var(--line);background:var(--surface);border-radius:7px;overflow:hidden}.field-custom-subgroup.plain{border:0;border-radius:0}.field-custom-subgroup>header{border-bottom:1px solid var(--line);background:var(--surface-soft,#f7f7f7);justify-content:space-between;align-items:center;gap:8px;min-height:30px;padding:0 10px;display:flex}.field-custom-subgroup>header strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:800;overflow:hidden}.field-custom-subgroup>header small{color:var(--muted);flex:none;font-size:9px;font-weight:700}.field-row sup{color:var(--crm-theme-accent-text,#a83c16);margin-left:3px}.participant-field{width:100%;color:inherit;grid-template-columns:26px minmax(120px,.55fr) minmax(0,1fr) auto}.participant-field>strong{text-overflow:ellipsis;white-space:nowrap;max-width:48%;overflow:hidden}.participant-picker{gap:14px;display:grid}.participant-picker>p{color:var(--muted);margin:0;font-size:12px}.participant-picker>div{gap:6px;display:grid}.participant-picker>div>button{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:8px;align-items:center;gap:10px;min-height:48px;padding:8px 10px;display:flex}.participant-picker>div>button.selected{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 7%, var(--crm-theme-surface,white))}.participant-picker button i{border:1px solid var(--line);border-radius:5px;place-items:center;width:20px;height:20px;display:grid}.participant-picker button span{gap:2px;display:grid}.participant-picker button small{color:var(--muted)}.task-participants{margin-bottom:10px}.field-section h2 button{color:var(--accent);background:0 0;border:0;align-items:center;gap:4px;font-size:9px;display:flex}.field-row{text-align:left;border:0;border-bottom:1px solid var(--color-border-subtle);background:0 0;grid-template-columns:minmax(110px,.55fr) 1fr auto;align-items:center;gap:10px;width:100%;min-height:48px;padding:6px 14px;display:grid}.field-row:last-child{border-bottom:0}.field-row span{color:var(--muted);font-size:9px}.field-row strong{font-size:10px;font-weight:600}.field-row svg{color:var(--faint)}.field-row.readonly{cursor:default;color:var(--text);opacity:1;-webkit-text-fill-color:currentColor}.field-row.readonly:hover{background:0 0}.field-row.readonly svg{opacity:.45}.readonly-field-indicator:hover,.readonly-field-indicator:focus{border-color:var(--line);background:var(--surface);color:var(--accent)}.readonly-field-indicator small{z-index:8;border:1px solid var(--line);background:var(--crm-theme-ink-surface,var(--text));width:max-content;max-width:210px;color:var(--surface);white-space:normal;opacity:0;pointer-events:none;border-radius:7px;padding:7px 9px;font-size:10px;font-weight:700;line-height:1.25;transition:opacity .14s,transform .14s;position:absolute;bottom:calc(100% + 7px);right:0;transform:translateY(3px);box-shadow:0 8px 24px #1a1b182e}.readonly-field-indicator:hover small,.readonly-field-indicator:focus small{opacity:1;transform:translateY(0)}.field-row.deal-key-field{background:linear-gradient(90deg, var(--crm-theme-surface-soft,#fff0e8) 0%, var(--crm-theme-surface-soft,#fff7f3) 100%)}.field-row.deal-key-field>span{color:var(--crm-theme-accent-text,#a83c16);font-weight:700}.field-row.deal-key-field>strong{color:var(--crm-theme-accent-text,#a83c16)}.field-row.deal-key-field>svg{color:var(--accent);opacity:1}.field-row.deal-key-field:hover,.field-row.deal-key-field.readonly:hover{background:linear-gradient(90deg, var(--crm-theme-accent-surface,#ffe4d8) 0%, var(--crm-theme-surface-soft,#fff7f3) 100%)}.field-row-editing{background:color-mix(in srgb, var(--accent) 6%, var(--surface));cursor:default;grid-template-columns:minmax(110px,.55fr) minmax(0,1fr) auto}.field-row-editing>span{min-width:0;color:var(--muted);font-size:9px}.field-inline-control input,.field-inline-control select,.field-inline-control textarea{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;color:var(--text);font:600 12px var(--font-body);border-radius:7px}.field-inline-control textarea{resize:vertical;min-height:72px;max-height:132px;padding:8px 10px;line-height:1.35}.field-inline-control input:focus,.field-inline-control select:focus,.field-inline-control textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.field-inline-actions{align-items:center;gap:5px;display:flex}.field-inline-actions button:disabled{cursor:wait;opacity:.65}.field-inline-actions .field-inline-save{color:var(--accent);border-color:color-mix(in srgb, var(--accent) 35%, var(--line))}.field-inline-actions .field-inline-cancel{color:var(--muted)}.linked-block,.linked-deal{border:1px solid var(--line);background:var(--surface);border-radius:7px;align-items:center;gap:10px;margin-top:12px;padding:12px;display:flex}.linked-block div,.linked-deal span{flex-direction:column;flex:1;gap:3px;font-size:10px;display:flex}.linked-block small,.linked-deal small{color:var(--muted);font-size:8px}.history-list article{gap:12px;padding-bottom:24px;display:flex;position:relative}.history-list article:not(:last-child):before{content:"";background:var(--line);width:1px;position:absolute;top:24px;bottom:0;left:12px}.history-list article>i{z-index:1;border:1px solid var(--line);background:var(--surface);width:25px;height:25px;color:var(--muted);border-radius:50%;place-items:center;display:grid}.history-list article>i.accent{color:var(--accent);border-color:var(--crm-theme-border,#f6bba4);background:var(--accent-soft)}.history-list time{color:var(--muted);font-size:8px}.history-list p{margin:4px 0 0;font-size:10px}.large-avatar{width:38px;height:38px;font-size:10px}.client-actions{border-bottom:1px solid var(--line);grid-template-columns:repeat(3,1fr);padding:10px 14px;display:grid}.client-actions a,.client-actions button{color:var(--muted);background:0 0;border:0;flex-direction:column;align-items:center;gap:4px;font-size:8px;text-decoration:none;display:flex}.client-actions svg{width:18px;color:var(--text)}.deal-picker{border-bottom:1px solid var(--line);background:var(--bg);padding:10px 14px}.deal-picker>small{color:var(--muted);text-transform:uppercase;font-size:8px}.deal-picker>div{gap:7px;margin-top:7px;display:flex;overflow-x:auto}.deal-picker button{text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:7px;grid-template-columns:5px 1fr auto;align-items:center;gap:8px;min-width:min(280px,85%);padding:9px;display:grid}.deal-picker button i{border-radius:2px;width:5px;height:30px}.deal-picker button span{flex-direction:column;gap:3px;font-size:9px;font-weight:600;display:flex}.deal-picker button small{color:var(--muted);font-size:8px}.client-conversation,.task-conversation{flex:1}.task-chat-selector{gap:6px;padding:8px 10px 2px;display:flex;overflow-x:auto}.task-chat-selector button{min-width:130px;height:32px;color:var(--muted);border:1px solid var(--line);background:var(--surface);border-radius:8px;justify-content:space-between;align-items:center;gap:6px;padding:0 8px;font-size:10px;display:flex}.task-chat-selector button.active{color:#fff;background:#171719;border-color:#171719}.task-chat-selector span{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:5px;min-width:0;display:flex;overflow:hidden}.task-chat-selector i{background:var(--color-primary-strong);min-width:18px;height:18px;color:var(--crm-theme-on-solid,#fff);border-radius:999px;place-items:center;font-size:9px;font-style:normal;display:grid}.task-chat-actions{flex-wrap:wrap;gap:7px;padding:8px 10px 2px;display:flex}.task-chat-actions button{border:1px solid var(--line);background:var(--surface);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:0 11px;font-size:11px;font-weight:800;display:inline-flex}.task-chat-actions button.approve{color:var(--color-success-ink);border-color:var(--color-success-surface-strong);background:var(--color-success-surface-subtle)}.task-chat-actions button.reject{color:var(--crm-theme-accent-text,#a83c16);border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3)}.task-chat-actions button:disabled{opacity:.45}.task-conversation .timeline-event.error{color:var(--crm-theme-danger-text,#a83c16);background:var(--crm-theme-danger-surface,#fff7f3);border-color:var(--crm-theme-border,#f6bba4)}.message.system{max-width:min(86%,420px);color:var(--muted);border-color:var(--line);background:var(--bg);text-align:center;align-self:center}.complete-detail{width:36px;height:36px;color:var(--color-primary);border:2px solid var(--color-primary-border);background:0 0;border-radius:50%;place-items:center;padding:0;display:grid}.complete-detail.done{color:#fff;background:var(--green)}.linked-deal{border:0;border-bottom:1px solid var(--line);text-align:left;border-radius:0;min-height:56px;margin:0}.linked-deal i{border-radius:2px;width:5px;height:30px}.note-block{border:1px solid var(--line);background:var(--surface);border-radius:7px;margin-top:12px;padding:14px}.note-block small{color:var(--muted);text-transform:uppercase;font-size:8px}.note-block p{margin:7px 0 0;font-size:10px;line-height:1.5}.bottom-nav{right:18px;bottom:max(14px, env(safe-area-inset-bottom));left:calc(var(--rail-width) + 14px);z-index:25;grid-template-columns:1fr 70px;gap:7px;width:402px;display:none;position:fixed}.nav-switch{border:1px solid var(--crm-theme-border,#d2d2cbe6);background:var(--crm-theme-glass,#fffefae6);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:8px;grid-template-columns:repeat(5,1fr);gap:3px;height:58px;padding:4px;display:grid;box-shadow:0 10px 30px #28282321}.nav-switch.mobile-nav-switch{grid-template-columns:repeat(4,1fr)}.nav-switch button{color:var(--muted);background:0 0;border:0;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:8px;font-weight:600;display:flex}.nav-switch button svg{width:17px}.nav-switch button.active{color:var(--text);background:var(--surface-2)}.bulk-bar strong{margin-right:auto;font-size:11px}.bulk-bar>button:not(.icon-button){border:1px solid var(--line);background:var(--surface);border-radius:6px;align-items:center;gap:6px;height:36px;padding:0 12px;font-size:9px;display:flex}.bulk-bar>button.bulk-ai{color:var(--color-primary-text);border-color:var(--color-primary-border);background:var(--accent-soft)}.bulk-bar>button.bulk-danger{color:var(--crm-theme-danger-text,#a83c16);border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-danger-surface,#fff7f3)}.bulk-action-menu{z-index:12;border:1px solid var(--line);background:var(--surface);width:min(290px,100vw - 20px);max-height:min(70vh,520px);box-shadow:var(--shadow);border-radius:10px;gap:3px;padding:8px;display:grid;position:absolute;bottom:calc(100% + 8px);right:0;overflow-y:auto}.bulk-action-menu>header{color:var(--muted);border-bottom:1px solid var(--line);text-transform:uppercase;padding:5px 8px 7px;font-size:9px;font-weight:750}.bulk-action-menu>button{min-height:40px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:9px;padding:0 9px;font-size:11px;display:flex}.bulk-action-menu>button:hover{background:var(--surface-2)}.bulk-action-menu>button.danger{color:var(--crm-theme-danger-text,#a83c16)}.bulk-notification-actions{border-top:1px solid var(--line);gap:7px;margin-top:4px;padding:9px 8px 4px;display:grid}.bulk-notification-actions>span{color:var(--muted);align-items:center;gap:6px;font-size:9px;display:flex}.bulk-notification-actions>div{grid-template-columns:repeat(3,1fr);gap:4px;display:grid}.bulk-notification-actions button{border:1px solid var(--line);background:var(--bg);border-radius:6px;min-height:32px;padding:3px 5px;font-size:8px}.ai-panel{z-index:70;width:min(560px, calc(100% - var(--rail-width)));border:1px solid var(--color-border-strong);background:var(--surface);height:38vh;min-height:330px;box-shadow:var(--shadow);border-bottom:0;border-radius:8px 0 0;flex-direction:column;transition:height .28s cubic-bezier(.22,.8,.3,1);display:flex;position:fixed;bottom:0;right:0}.ai-panel.expanded{height:calc(100vh - 16px);height:calc(100dvh - 16px)}.drag-handle{background:0 0;border:0;width:48px;height:16px;padding:0;position:absolute;top:4px;left:50%;transform:translate(-50%)}.drag-handle span{background:var(--crm-theme-surface-soft,#b8b9bf);border-radius:2px;width:30px;height:3px;margin:auto;display:block}.ai-panel>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:63px;padding:15px 14px 7px;display:flex}.ai-panel>header>div:last-child{gap:5px;display:flex}.ai-identity{align-items:center;gap:9px;display:flex}.ai-identity>i{width:36px;height:36px;color:var(--crm-theme-accent-text,#a83c16);background:var(--accent-soft);border-radius:7px;place-items:center;display:grid}.ai-identity div{flex-direction:column;gap:2px;display:flex}.ai-identity small{max-width:280px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.ai-mode-switch{border-bottom:1px solid var(--line);background:var(--surface);grid-template-columns:1fr 1.35fr;gap:4px;padding:7px 10px;display:grid}.ai-mode-switch button{min-width:0;min-height:32px;color:var(--muted);background:var(--crm-theme-surface-soft,#ebebeb);border:0;border-radius:7px;justify-content:center;align-items:center;gap:5px;padding:0 8px;font-size:9px;font-weight:700;display:flex}.ai-mode-switch button.active{color:var(--crm-theme-text,#4f4f56);background:var(--crm-theme-surface-soft,#fff7f3);box-shadow:inset 0 0 0 1px #c84e3824}.rotate-up{transform:rotate(90deg)}.ai-thread{background:var(--crm-theme-surface-soft,#f3f3f3);flex:1;min-height:0;padding:12px 14px;overflow-y:auto}.ai-message{border:1px solid var(--line);background:var(--surface);border-radius:7px;width:fit-content;max-width:86%;margin-bottom:8px;padding:8px 10px;font-size:10px}.ai-message.me{color:var(--crm-theme-on-ink,white);border-color:var(--text);background:var(--crm-theme-ink-surface,var(--text));margin-left:auto}.ai-message-body{align-items:flex-start;gap:6px;width:100%;margin:0;display:flex}.formatted-ai-text a{color:var(--crm-theme-accent-text,#a83c16);cursor:pointer;z-index:1;text-decoration:underline;position:relative}.message.ai .formatted-ai-text a{color:var(--crm-theme-accent-text,#a83c16)}.ai-message.me .formatted-ai-text a{color:inherit}.message .formatted-ai-text a{color:var(--crm-theme-accent-text,#a83c16);cursor:pointer;text-decoration:underline}.ai-message.pending{color:var(--muted)}.ai-message.error{color:var(--danger);border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-danger-surface,#fff7f3)}.ai-message>div{gap:5px;margin-top:8px;display:flex}.ai-message>div button{border:1px solid var(--crm-theme-border,#f6bba4);color:var(--crm-theme-accent-text,#a83c16);background:var(--accent-soft);border-radius:5px;padding:5px 8px;font-size:8px}.ai-message>div button:disabled{cursor:default;opacity:.5}.ai-message>.ai-inline-keyboard{flex-wrap:wrap}.ai-message>.ai-entity-links{flex-direction:column;align-items:flex-start}.ai-message>.ai-entity-links button{align-items:center;gap:4px;display:inline-flex}.ai-suggestions{scrollbar-width:none;gap:6px;padding:8px 10px 0;display:flex;overflow-x:auto}.ai-suggestions::-webkit-scrollbar{display:none}.ai-suggestions button{border:1px solid var(--line);background:var(--bg);height:30px;color:var(--muted);border-radius:6px;flex:none;align-items:center;gap:5px;padding:0 9px;font-size:8px;display:flex}.ai-suggestions button.primary{color:var(--color-primary-text);border-color:var(--color-primary-border);background:var(--accent-soft);font-weight:700}.ai-bottom-dock .composer-box{margin:7px 10px max(8px, env(safe-area-inset-bottom))}.ai-bottom-dock{background:var(--surface);flex:none;min-width:0}.ai-recorder-onboarding-zone{width:100%}.ai-standalone-desktop{display:none}.manual-create-panel{background:var(--crm-theme-surface-soft,#f3f3f3);flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.manual-create-actions{background:var(--surface);border-bottom:1px solid var(--line);flex:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:10px;display:grid}.manual-create-actions button{border:1px solid var(--line);background:var(--bg);min-width:0;min-height:36px;color:var(--muted);border-radius:7px;justify-content:center;align-items:center;gap:4px;padding:0 7px;font-size:8px;font-weight:700;display:flex}.manual-create-actions button.active{color:var(--crm-theme-accent-text,#a83c16);border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3)}.manual-create-form{flex:1;grid-template-rows:minmax(0,1fr) auto;min-height:0;display:grid;overflow:hidden}.manual-create-scroll{min-height:0;padding:10px 10px 12px;overflow-y:auto}.manual-fields{grid-template-columns:minmax(0,1fr);gap:8px;margin-bottom:8px;display:grid}.manual-fields label{flex-direction:column;gap:4px;min-width:0;display:flex}.manual-fields span{color:var(--muted);font-size:8px;font-weight:700}.manual-fields input,.manual-fields select,.manual-fields textarea{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;color:var(--text);font:inherit;border-radius:7px;font-size:11px;line-height:1.25}.manual-fields input::placeholder,.manual-fields textarea::placeholder{color:var(--muted);opacity:.72;font-size:11px}.manual-fields select option{font-size:11px}.manual-fields input,.manual-fields select{height:36px;padding:0 9px}.manual-fields textarea{resize:vertical;padding:8px 9px}.manual-fields input:disabled{color:var(--muted);background:var(--crm-theme-surface-soft,#ebebeb)}.manual-create-form .required-fields,.manual-create-form .optional-fields{background:0 0;border:0;border-radius:0;padding:0}.manual-extra-fields{margin-top:8px}.manual-extra-fields>button{width:100%;min-height:34px;color:var(--crm-theme-text,#4f4f56);background:0 0;border:0;border-radius:0;justify-content:space-between;align-items:center;padding:0;font-size:9px;font-weight:800;display:flex}.manual-extra-fields>button svg{transition:transform .16s}.manual-extra-fields .optional-fields{margin-top:8px}.manual-relations{border-top:1px solid var(--line);margin-top:10px;padding-top:8px}.manual-relations>header{justify-content:space-between;align-items:baseline;padding:0 2px 7px;display:flex}.manual-relations strong{font-size:10px}.manual-relations small{color:var(--muted);font-size:8px}.manual-relation-chips{flex-wrap:wrap;gap:6px;padding:0 2px 7px;display:flex}.manual-relation-chips button{border:1px solid var(--crm-theme-border,#dcdce0);min-width:0;min-height:28px;color:var(--text);background:var(--surface);border-radius:7px;align-items:center;gap:5px;padding:0 8px;font-size:9px;display:flex}.manual-relation-chips span{text-overflow:ellipsis;white-space:nowrap;max-width:140px;overflow:hidden}.manual-picker{background:0 0;border:0;border-radius:0;margin:0;padding:0}.manual-relations .manual-picker .picker-types{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.manual-picker .picker-types button{min-height:30px;font-size:8px}.manual-picker .picker-options button{border-bottom:1px solid var(--line);min-height:34px;padding:6px 0}.manual-picker .picker-options button:last-child{border-bottom:0}.manual-contact-context{border-top:1px solid var(--line);gap:8px;margin-top:10px;padding-top:10px;display:grid}.manual-contact-context>header,.manual-contact-context>p{border:1px solid var(--line);background:var(--surface);border-radius:9px;grid-template-columns:30px minmax(0,1fr) 22px;align-items:center;gap:8px;min-width:0;margin:0;padding:9px;display:grid}.manual-contact-context>header>svg:first-child,.manual-contact-context>p>svg:first-child{width:30px;height:30px;color:var(--crm-theme-accent-text,#a83c16);background:var(--accent-soft);border-radius:50%;padding:7px}.manual-contact-context>header>svg:last-child,.manual-contact-context>p>svg:last-child{color:var(--color-primary)}.manual-contact-context>header>span,.manual-contact-context>p>span{flex-direction:column;gap:2px;min-width:0;display:flex}.manual-contact-context strong,.manual-contact-context small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.manual-contact-context strong{font-size:10px}.manual-contact-context small{color:var(--muted);font-size:8px}.manual-contact-context>label{border:1px solid var(--line);background:var(--surface);border-radius:9px;flex-direction:column;gap:5px;padding:9px;display:flex}.manual-contact-context>label>span{color:var(--muted);font-size:8px;font-weight:700}.manual-contact-context select{width:100%;min-width:0;height:38px;color:var(--text);border:1px solid var(--line);background:var(--bg);font:inherit;border-radius:7px;padding:0 9px;font-size:10px}.manual-form-error{color:var(--crm-theme-danger-text,#a83c16);margin:8px 2px 0;font-size:9px;display:block}.manual-save-dock{padding:9px 10px max(9px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface)}.manual-save-button{width:100%;min-height:40px;color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:8px;justify-content:center;align-items:center;gap:6px;font-size:11px;font-weight:800;display:flex}.manual-save-button:disabled{cursor:default;opacity:.55}.manual-status{border:1px solid var(--color-primary-border);color:var(--color-primary-strong);background:var(--color-primary-softer);border-radius:7px;margin:0 10px 10px;padding:8px 9px;font-size:9px;font-weight:700}.bottom-sheet.wide{width:min(650px,100%)}.sheet-handle{background:var(--crm-theme-surface-soft,#b8b9bf);border-radius:2px;width:32px;height:3px;margin:7px auto 2px}.bottom-sheet>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:54px;display:flex}.bottom-sheet h2{font:700 17px var(--font-display);margin:0}.option-list{padding:8px 0;display:grid}.option-list button{border:0;border-bottom:1px solid var(--color-border-subtle);background:0 0;justify-content:space-between;align-items:center;min-height:46px;padding:0 7px;font-size:11px;display:flex}.option-list button.active{color:var(--accent);font-weight:700}.option-list button.add-option{color:var(--accent);justify-content:flex-start;gap:7px}.filter-fields label{color:var(--muted);flex-direction:column;gap:6px;font-size:9px;display:flex}.filter-fields select,.filter-fields input{height:40px;color:var(--text);border:1px solid var(--line);background:var(--bg);border-radius:6px;padding:0 10px;font-size:10px}.sheet-footer{border-top:1px solid var(--line);gap:8px;padding-top:10px;display:flex}.sheet-footer button{border-radius:6px;flex:1;justify-content:center;align-items:center;gap:6px;min-height:42px;font-size:10px;font-weight:600;display:flex}.sheet-footer .secondary{border:1px solid var(--line);background:var(--surface)}.sheet-footer .primary{color:var(--crm-theme-on-solid,white);border:1px solid var(--accent);background:var(--accent)}.profile-card{border-bottom:1px solid var(--line);align-items:center;gap:11px;padding:16px 4px;display:flex}.profile-card>span{width:44px;height:44px;font-size:11px}.profile-card div{flex-direction:column;gap:3px;display:flex}.profile-card small{color:var(--muted);font-size:9px}.sheet-label{color:var(--muted);text-transform:uppercase;margin:14px 4px 4px;font-size:9px}.settings-note{color:var(--muted);background:var(--bg);border-radius:6px;align-items:center;gap:8px;margin-top:10px;padding:12px;font-size:9px;display:flex}.stage-options{padding:7px 0}.stage-option-group{gap:2px;padding:6px 0 8px;display:grid}.stage-option-group>header{color:var(--muted);text-transform:uppercase;padding:5px 7px 4px;font-size:9px;font-weight:750}.stage-options button{text-align:left;border:0;border-bottom:1px solid var(--color-border-subtle);background:0 0;grid-template-columns:8px 1fr auto;align-items:center;gap:9px;width:100%;min-height:42px;padding:0 7px;font-size:10px;display:grid}.stage-options button i{border-radius:2px;width:7px;height:24px}.stage-options button span{flex-direction:column;gap:2px;min-width:0;display:flex}.stage-options button small{color:var(--muted);font-size:9px;font-weight:500}.stage-options button.active{font-weight:700}.next-editor{padding:14px 0}.next-editor label{color:var(--muted);grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin-bottom:12px;font-size:9px;display:grid}.next-editor input{border:1px solid var(--line);background:var(--bg);border-radius:6px;width:110px;height:36px;padding:0 8px;font-size:10px}.next-editor label.action-input{flex-direction:column;align-items:stretch;display:flex}.next-editor textarea{resize:vertical;border:1px solid var(--line);background:var(--bg);border-radius:6px;width:100%;padding:10px;font-size:11px;line-height:1.5}.ai-format{color:var(--crm-theme-accent-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--accent-soft);border-radius:6px;align-items:center;gap:6px;padding:7px 9px;font-size:9px;display:flex}.skeleton-list{padding:10px 14px}.skeleton-card{border-bottom:1px solid var(--crm-theme-border,#ebebeb);align-items:center;gap:10px;height:70px;display:flex}.skeleton-card i,.skeleton-card span{background:linear-gradient(90deg, var(--crm-theme-surface-soft,#ebebeb) 25%, var(--crm-theme-surface-soft,#f2f2f3) 50%, var(--crm-theme-surface-soft,#ebebeb) 75%);background-size:200% 100%;animation:1.4s infinite shimmer;display:block}.skeleton-card i{border-radius:50%;width:30px;height:30px}.skeleton-card div{flex:1}.skeleton-card span{border-radius:3px;height:9px;margin:8px 0}.skeleton-card span:last-child{width:65%}.desktop-welcome{text-align:center;flex-direction:column;justify-content:center;align-items:center;height:100%;padding:30px;display:flex}.empty-state i,.welcome-mark{width:45px;height:45px;color:var(--muted);background:var(--surface-2);border-radius:50%;place-items:center;display:grid}.empty-state strong{margin-top:12px;font-size:12px}.empty-state p,.desktop-welcome p{max-width:360px;color:var(--muted);margin:7px 0;font-size:10px;line-height:1.5}.desktop-welcome h2{font:700 23px var(--font-display);margin:15px 0 0}.desktop-welcome button{color:var(--crm-theme-text,#4f4f56);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--accent-soft);border-radius:6px;align-items:center;gap:7px;margin-top:16px;padding:10px 13px;font-size:10px;font-weight:600;display:flex}.warehouse-scroll{background:var(--bg);overscroll-behavior-x:none;touch-action:pan-y;max-width:100%;padding:0 0 50px;overflow:hidden auto}.warehouse-dashboard{width:min(1480px,100%);min-width:0;max-width:100%;margin:0 auto;padding:22px 24px 36px;overflow-x:clip}.warehouse-intro{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px;display:flex}.warehouse-intro>div{min-width:0}.warehouse-intro h1{font:700 25px var(--font-display);margin:7px 0 4px}.warehouse-intro p{color:var(--muted);margin:0;font-size:11px}.eyebrow,.updated{color:var(--muted);align-items:center;gap:5px;font-size:9px;font-weight:700;display:inline-flex}.eyebrow{color:var(--crm-theme-muted,#66666e);background:var(--crm-theme-surface-soft,#ebebeb);text-transform:uppercase;border-radius:10px;padding:4px 7px}.updated{border:1px solid var(--line);background:var(--surface);white-space:nowrap;border-radius:15px;padding:7px 9px}.stock-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.stock-metrics :is(article,button){border:1px solid var(--line);background:var(--surface);min-width:0;min-height:112px;color:inherit;text-align:left;font:inherit;border-radius:9px;grid-template-rows:auto auto 1fr;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;column-gap:9px;padding:13px;display:grid}.stock-metrics button{cursor:pointer}.stock-metrics button:hover,.stock-metrics button.active{background:var(--surface-2)}.stock-metrics button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.stock-metrics :is(article,button)>span{color:var(--muted);overflow-wrap:anywhere;font-size:10px;font-weight:600;line-height:1.25}.stock-metrics :is(article,button)>strong{font:700 28px var(--font-display);grid-area:1/3/3}.stock-metrics :is(article,button)>small{color:var(--muted);grid-column:1/-1;align-self:end;font-size:8px;line-height:1.2}.metric-icon{border-radius:8px;grid-row:1/3;place-items:center;width:32px;height:32px;display:grid}.metric-icon svg{width:17px}.metric-icon.free{color:var(--color-primary-strong);background:var(--color-primary-softer)}.metric-icon.reserve{color:var(--color-primary-strong);background:var(--color-primary-soft)}.metric-icon.transit{color:var(--color-text-secondary);background:var(--color-surface-hover)}.metric-icon.blocker{color:var(--crm-theme-accent-text,#a83c16);background:var(--accent-soft)}.warehouse-tools{z-index:9;border:1px solid var(--line);background:var(--crm-theme-glass,#fffefaf0);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:9px;grid-template-columns:minmax(250px,1fr);gap:9px;margin:14px 0;padding:10px;display:grid;position:sticky;top:0;box-shadow:0 5px 18px #2828230f}.warehouse-search{height:40px;color:var(--muted);border:1px solid var(--line);background:var(--bg);border-radius:7px;align-items:center;gap:8px;padding:0 10px;display:flex}.warehouse-search input{background:0 0;border:0;flex:1;min-width:0;font-size:11px}.warehouse-search button{background:0 0;border:0;place-items:center;padding:0;display:grid}.warehouse-search-spinner{color:var(--accent);flex:none;animation:.8s linear infinite spin}.stock-filter-chips{scrollbar-width:none;grid-column:1/-1;gap:6px;display:flex;overflow-x:auto}.stock-filter-chips::-webkit-scrollbar{display:none}.stock-filter-chips button{min-width:max-content;height:30px;color:var(--muted);background:var(--surface-2);border:1px solid #0000;border-radius:15px;align-items:center;gap:6px;padding:0 9px;font-size:9px;display:flex}.stock-filter-chips button b{min-width:19px;color:var(--muted);background:var(--crm-theme-glass,#ffffffbf);border-radius:9px;padding:2px 5px;font-size:8px}.stock-filter-chips button.active{color:var(--crm-theme-on-ink,white);border-color:var(--text);background:var(--crm-theme-ink-surface,var(--text))}.stock-filter-chips button.active b{color:var(--text)}.warehouse-tabs{border:1px solid var(--line);background:var(--surface-2);border-radius:9px;gap:7px;margin:14px 0 0;padding:4px;display:flex}.warehouse-tabs button{height:34px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;align-items:center;gap:7px;padding:0 12px;font-size:10px;font-weight:800;display:inline-flex}.warehouse-tabs button b{background:var(--crm-theme-glass,#ffffffbf);min-width:22px;color:var(--muted);border-radius:10px;padding:2px 6px;font-size:9px}.warehouse-tabs button.active{border-color:var(--line);background:var(--surface);color:var(--text);box-shadow:0 4px 14px #23211d0f}.warehouse-tabs button.active b{color:var(--text);background:var(--accent-soft)}.inventory-section,.restriction-section,.warehouse-events-section{border:1px solid var(--line);background:var(--surface);border-radius:9px;overflow:hidden}.inventory-section{overflow:visible}.warehouse-events-section:has(>header .export-button){overflow:visible}.inventory-section>header,.restriction-section>header,.warehouse-events-section>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;min-height:58px;padding:9px 14px;display:flex}.inventory-section>header>div,.restriction-section>header>div,.warehouse-events-section>header>div{flex-direction:column;gap:3px;display:flex}.inventory-section>header>.export-button,.warehouse-events-section>header>.export-button{order:10;margin-left:auto}.inventory-section h2,.restriction-section h2,.warehouse-events-section h2{font:700 16px var(--font-display);margin:0}.inventory-section header span,.restriction-section header span,.warehouse-events-section header span,.inventory-section header small{color:var(--muted);font-size:8px}.inventory-section header small{align-items:center;gap:5px;display:flex}.inventory-grid{--warehouse-inventory-columns:minmax(340px, 3.4fr) minmax(180px, 1.8fr) minmax(150px, 1.5fr) minmax(210px, 2.1fr) minmax(190px, 1.9fr) minmax(200px, 2fr) minmax(150px, 1.5fr) minmax(210px, 2.1fr) minmax(180px, 1.8fr) minmax(180px, 1.8fr);scrollbar-gutter:stable both-edges;width:100%;overflow:auto visible}.inventory-grid.finance-columns{--warehouse-inventory-columns:minmax(340px, 3.4fr) minmax(180px, 1.8fr) minmax(150px, 1.5fr) minmax(210px, 2.1fr) minmax(190px, 1.9fr) minmax(200px, 2fr) minmax(150px, 1.5fr) minmax(210px, 2.1fr) minmax(180px, 1.8fr) minmax(180px, 1.8fr) minmax(180px, 1.8fr) minmax(180px, 1.8fr)}.inventory-grid-head,.inventory-row{grid-template-columns:var(--warehouse-inventory-columns);align-items:stretch;gap:0;width:max-content;min-width:100%;padding:0;display:grid}.inventory-grid-head{z-index:6;min-height:39px;color:var(--color-table-heading);background:var(--color-table-header-surface);text-transform:none;font-size:10px;font-weight:700;position:sticky;top:0}.warehouse-grid-th{min-width:0;min-height:39px;color:inherit;font:inherit;box-shadow:inset 0 -1px 0 var(--color-table-divider);text-transform:inherit;align-items:center;gap:5px;padding:10px;display:inline-flex;position:relative}.warehouse-sort-button{min-width:0;color:inherit;font:inherit;text-align:left;text-transform:inherit;cursor:pointer;background:0 0;border:0;flex:auto;align-items:center;gap:5px;padding:0;display:inline-flex}.warehouse-sort-button>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.warehouse-sort-button>svg{color:var(--color-primary);flex:none}.warehouse-sort-button:hover>span{color:var(--text)}.warehouse-field-help{flex:none;align-items:center;display:inline-flex;position:relative}.warehouse-field-help>button{width:19px;height:19px;color:var(--muted);cursor:help;background:0 0;border:0;place-items:center;padding:0;display:grid}.warehouse-field-help>span{z-index:22;border:1px solid var(--line);background:var(--surface);width:220px;color:var(--text);text-transform:none;opacity:0;pointer-events:none;border-radius:7px;padding:8px;font-size:10px;font-weight:700;line-height:1.35;transition:opacity .12s,transform .12s;position:absolute;top:calc(100% + 6px);left:0;transform:translateY(-2px);box-shadow:0 14px 30px #1417142e}.warehouse-field-help:hover>span,.warehouse-field-help:focus-within>span{opacity:1;transform:translateY(0)}.warehouse-header-filter{flex:none;align-items:center;display:inline-flex;position:relative}.warehouse-header-filter>button{border:1px solid var(--line);background:var(--surface);width:22px;height:22px;color:var(--muted);cursor:pointer;border-radius:5px;place-items:center;padding:0;display:grid}.warehouse-header-filter>button.active{border-color:var(--crm-theme-border,#ff9a76);background:var(--crm-theme-surface-soft,#fff7f3);color:var(--crm-theme-accent-text,#a83c16)}.warehouse-filter-popover{z-index:18;border:1px solid var(--line);background:var(--surface);border-radius:7px;gap:7px;width:210px;padding:8px;display:grid;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 14px 30px #1417142e}.warehouse-filter-popover-portal{z-index:100;position:fixed}.warehouse-filter-popover input{border:1px solid var(--line);background:var(--bg);width:100%;min-width:0;height:30px;color:var(--text);text-transform:none;border-radius:6px;padding:0 8px;font-size:11px;font-weight:700}.warehouse-range-filter-popover>label{color:var(--muted);text-transform:none;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:6px;font-size:10px;font-weight:800;display:grid}.warehouse-filter-options{scrollbar-width:thin;gap:2px;max-height:210px;padding:2px;display:grid;overflow-y:auto}.warehouse-filter-options label{min-height:30px;color:var(--text);text-transform:none;cursor:pointer;border-radius:6px;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:7px;padding:5px 6px;font-size:10px;font-weight:800;display:grid}.warehouse-filter-options label:hover{background:var(--surface-2)}.warehouse-filter-options input{width:14px;height:14px;accent-color:var(--accent);cursor:pointer;background:0 0;border:0;margin:0;padding:0}.warehouse-filter-options span{overflow-wrap:anywhere;min-width:0}.warehouse-filter-popover button{border:1px solid var(--line);background:var(--surface-2);width:fit-content;height:26px;color:var(--muted);cursor:pointer;border-radius:6px;padding:0 9px;font-size:10px;font-weight:700}.inventory-row{border-top:0;min-height:58px;font-size:12px;position:relative}.inventory-row-button{width:100%;color:inherit;text-align:left;background:0 0;border-bottom:0;border-left:0;border-right:0}.inventory-row-button:hover{background:0 0}.inventory-row-button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.inventory-row:first-of-type{border-top:0}.inventory-row>span,.inventory-row>.inventory-edit-cell,.inventory-model{min-width:0;box-shadow:inset 0 -1px 0 var(--color-table-divider);padding:10px;line-height:1.4}.inventory-financial-warning{color:var(--color-danger-financial);cursor:help;justify-self:start;padding-right:15px;font-weight:800;display:inline-block;position:relative}.inventory-financial-warning>b{color:inherit;font-weight:inherit}.inventory-financial-warning>i{color:var(--color-danger-financial);font-style:normal;display:inline-flex;position:absolute;top:7px;right:0}.inventory-financial-warning>em{z-index:15;border:1px solid var(--color-danger-border-soft);background:var(--color-danger-surface);width:min(330px,70vw);color:var(--color-danger-ink);border-radius:7px;padding:8px 10px;font-size:10px;font-style:normal;font-weight:700;line-height:1.35;display:none;position:absolute;bottom:calc(100% + 7px);left:0;box-shadow:0 10px 24px #461e1929}.inventory-financial-warning:hover>em,.inventory-financial-warning:focus-within>em{gap:4px;display:grid}.inventory-financial-warning>em>strong{font-weight:900}.inventory-row:last-of-type>span,.inventory-row:last-of-type>.inventory-edit-cell,.inventory-row:last-of-type .inventory-model{box-shadow:none}.inventory-model{background:var(--crm-theme-surface,#fff);width:100%;max-width:100%;box-shadow:1px 0 0 var(--color-table-divider-strong), inset 0 -1px 0 var(--color-table-divider);flex-direction:column;justify-content:center;gap:4px;display:flex;overflow:hidden}.inventory-grid-head .warehouse-grid-th:first-child{z-index:8;background:var(--color-table-header-surface);box-shadow:1px 0 0 var(--color-table-divider-strong), inset 0 -1px 0 var(--color-table-divider);position:sticky;left:0}.inventory-row .inventory-model{z-index:7;position:sticky;left:0}.inventory-row-button:hover>span,.inventory-row-button:hover>.inventory-edit-cell,.inventory-row-button:hover .inventory-model{background:var(--color-warehouse-row-hover)}.inventory-model-button{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.inventory-row .inventory-model.inventory-model-button{background:var(--crm-theme-surface,#fff)}.inventory-row-button:hover .inventory-model.inventory-model-button{background:var(--color-warehouse-row-hover)}.inventory-model strong{text-overflow:ellipsis;white-space:nowrap;width:100%;max-width:100%;font-size:13px;display:block;overflow:hidden}.inventory-model-link{color:var(--color-primary-strong);text-underline-offset:3px;text-decoration:underline;text-decoration-thickness:1px}.inventory-row-button:hover .inventory-model-link{color:var(--accent)}.inventory-model code,.restriction-list code{width:100%;max-width:100%;color:var(--crm-theme-muted,#66666e);font-family:var(--font-body);letter-spacing:.03em;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:700;display:block;overflow:hidden}.inventory-edit-cell{min-width:0;color:inherit;font:inherit;text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border:0;border-radius:0;align-items:center;line-height:1.35;display:flex}.inventory-edit-cell:hover{color:var(--color-link);background:var(--color-warehouse-row-hover);text-underline-offset:3px;text-decoration:underline}.inventory-edit-cell.request{color:var(--crm-theme-accent-text,#a83c16)}.inventory-edit-cell.active{border-color:var(--line);cursor:default;background:0 0;padding:10px}.inventory-edit-cell input,.inventory-edit-cell select{border:1px solid var(--color-input-border);background:var(--crm-theme-surface,#fff);width:100%;min-width:0;height:32px;color:var(--color-input-text);font:inherit;border-radius:7px;padding:0 8px}.status-pill{white-space:nowrap;border-radius:10px;width:fit-content;padding:4px 7px;font-size:8px;font-style:normal;font-weight:700;display:inline-flex}.status-pill.free{color:var(--color-primary-strong);background:var(--color-primary-softer)}.status-pill.reserve{color:var(--color-primary-strong);background:var(--color-primary-soft)}.status-pill.transit{color:var(--color-text-secondary);background:var(--color-surface-hover)}.status-pill.blocker{color:var(--crm-theme-accent-text,#a83c16);background:var(--accent-soft)}.commercial-status-chip{white-space:normal;overflow-wrap:anywhere;border-radius:12px;align-items:center;width:fit-content;max-width:100%;padding:5px 8px;font-size:9px;font-style:normal;font-weight:800;line-height:1.2;display:inline-flex}.commercial-status-chip.ready{color:var(--color-status-ready);background:var(--color-status-ready-surface)}.commercial-status-chip.reserve{color:var(--color-status-reserved);background:var(--color-status-reserved-surface)}.commercial-status-chip.repair{color:var(--color-status-repair);background:var(--color-status-repair-surface)}.commercial-status-chip.sold{color:var(--color-status-sold);background:var(--color-status-sold-surface)}.commercial-status-chip.blocked{color:var(--color-danger-strong-ink);background:var(--color-status-blocked-surface)}.commercial-status-chip.customs,.commercial-status-chip.disputed{color:var(--color-status-disputed);background:var(--color-status-disputed-surface)}.commercial-status-chip.neutral{color:var(--muted);background:var(--surface-2)}.status-explain{display:inline-flex;position:relative}.status-explain-popup{z-index:20;box-sizing:border-box;border:1px solid var(--color-border-strong);background:var(--color-surface);width:min(320px,100vw - 32px);max-width:calc(100vw - 32px);color:var(--color-text);white-space:normal;overflow-wrap:anywhere;word-break:break-word;border-radius:8px;padding:10px;font-size:14px;line-height:1.35;display:none;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 8px 20px #00000029}.status-explain:hover .status-explain-popup,.status-explain:focus-within .status-explain-popup{gap:5px;display:grid}.status-explain-popup b{font-size:14px}.status-explain-popup span{white-space:normal;overflow-wrap:anywhere;min-width:0}.status-explain-popup a{color:var(--accent);overflow-wrap:anywhere;text-decoration:underline}.warehouse-models-section{margin-bottom:14px}.warehouse-models-section>header{justify-content:flex-start}.warehouse-model-nesting{color:var(--muted);text-transform:uppercase;align-items:center;gap:8px;font-size:9px;font-weight:800;display:inline-flex}.warehouse-models-section>.warehouse-model-nesting{margin:10px 14px 14px}.warehouse-model-nesting select{border:1px solid var(--line);background:var(--surface);min-width:170px;height:32px;color:var(--text);text-transform:none;border-radius:7px;padding:0 9px;font-size:11px;font-weight:800}.warehouse-model-grid{--warehouse-model-columns:minmax(360px, 1.4fr) 100px minmax(150px, .8fr) minmax(150px, .8fr) minmax(150px, .8fr);scrollbar-gutter:stable both-edges;width:100%;overflow-x:auto}.warehouse-model-grid-head,.warehouse-model-row{grid-template-columns:var(--warehouse-model-columns);align-items:center;gap:0;width:max-content;min-width:100%;display:grid}.warehouse-model-grid-head{min-height:39px;color:var(--color-table-heading);background:var(--color-table-header-surface);font-size:10px;font-weight:800}.warehouse-model-grid-head span,.warehouse-model-row>span,.warehouse-model-row>button{min-width:0;box-shadow:inset 0 -1px 0 var(--color-table-divider);overflow-wrap:anywhere;padding:10px;line-height:1.35}.warehouse-model-row{min-height:52px;color:inherit;font:inherit;text-align:left;background:0 0;border:0}.warehouse-model-row:hover{background:var(--color-warehouse-row-hover)}.warehouse-model-name{align-items:center;gap:8px;display:inline-flex}.warehouse-model-toggle{font:inherit;text-align:left;cursor:pointer;background:0 0;border:0}.warehouse-model-toggle:hover strong{color:var(--accent);text-underline-offset:3px;text-decoration:underline}.warehouse-model-name svg,.warehouse-model-name i{width:15px;height:15px;color:var(--accent);flex:none}.warehouse-model-name strong{min-width:0;color:var(--color-primary-strong);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.warehouse-model-row>span:not(.warehouse-model-name){color:var(--text);font-size:12px;font-weight:800}.warehouse-model-quantity{color:var(--color-primary-strong);font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;font-weight:800;text-decoration:underline;text-decoration-thickness:1px}.warehouse-model-quantity:hover{color:var(--accent)}.inventory-grid.warehouse-report-grid{--warehouse-inventory-columns:minmax(360px, 3.6fr) minmax(100px, 1fr) minmax(190px, 1.9fr) minmax(190px, 1.9fr)}.inventory-grid.warehouse-report-grid.report-finance-columns{--warehouse-inventory-columns:minmax(360px, 3.6fr) minmax(100px, 1fr) minmax(170px, 1.7fr) minmax(190px, 1.9fr) minmax(190px, 1.9fr)}.inventory-section>header>.warehouse-report-header-actions{margin-left:auto}.warehouse-reports-section>header{z-index:12;background:var(--surface);position:relative}.layout-desktop .sheet-backdrop.warehouse-report-settings-sheet{justify-content:center;align-items:center;padding:24px}.layout-desktop .sheet-backdrop.warehouse-report-settings-sheet .bottom-sheet.wide{border-radius:var(--radius-md);width:min(720px,100%);max-height:min(85vh,900px)}.warehouse-report-grid .warehouse-report-label{z-index:7;background:inherit;box-shadow:none;position:sticky;left:0}.warehouse-report-grid .inventory-grid-head .warehouse-grid-th:first-child{z-index:8;position:sticky;left:0}.warehouse-report-row .warehouse-report-label{padding-left:calc(var(--report-depth,0) * 20px + 10px)}.warehouse-report-toggle,.warehouse-report-leaf{align-items:center;gap:8px;min-width:0;display:inline-flex}.warehouse-report-toggle{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.warehouse-report-toggle strong{font-weight:800}.warehouse-report-row.depth-1 .warehouse-report-toggle strong{font-weight:400}.warehouse-report-leaf i{flex:0 0 15px;width:15px;display:inline-block}.warehouse-report-row{min-height:48px}.warehouse-report-grid .inventory-grid-head{display:grid}.warehouse-report-grid .inventory-row>span{display:block}.warehouse-report-grid .inventory-row>span:before{content:none}.warehouse-model-child{background:var(--color-warehouse-child-surface);min-height:44px}.warehouse-model-child .warehouse-model-name{color:var(--muted);padding-left:32px;font-size:11px;font-weight:800}.warehouse-model-child>span:not(.warehouse-model-name){color:var(--muted);font-size:11px}.warehouse-model-details{flex-direction:column;gap:12px;padding:0 16px 16px;display:flex}.warehouse-model-details>p{color:var(--muted);margin:0;font-size:12px}.warehouse-model-details-error{color:var(--color-danger-strong-ink)!important}.warehouse-model-details-list{border:1px solid var(--line);border-radius:9px;display:grid;overflow:hidden}.warehouse-model-details-list>button{border:0;border-bottom:1px solid var(--line);background:var(--surface);color:var(--text);text-align:left;cursor:pointer;grid-template-columns:minmax(220px,1.4fr) minmax(130px,.8fr) minmax(130px,.7fr);align-items:center;gap:12px;padding:12px;display:grid}.warehouse-model-details-list>button:last-child{border-bottom:0}.warehouse-model-details-list>button:hover{background:var(--color-warehouse-row-hover)}.warehouse-model-details-list span{gap:3px;min-width:0;display:grid}.warehouse-model-details-list strong,.warehouse-model-details-list code{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.warehouse-model-details-list strong{color:var(--color-primary-strong);font-size:12px}.warehouse-model-details-list code{color:var(--muted);font-family:var(--font-body);font-size:10px;font-weight:700}.warehouse-model-details-list>button>span:nth-child(2){color:var(--muted);font-size:11px;font-weight:700}.warehouse-model-details-pagination{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;font-size:11px;font-weight:700;display:flex}.warehouse-model-details-pagination div{gap:6px;display:flex}.warehouse-model-details-pagination button{border:1px solid var(--line);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;border-radius:7px;padding:7px 10px}.warehouse-model-details-pagination button:disabled{opacity:.45;cursor:default}.deal-link{color:var(--accent);font-weight:700;text-decoration:none}a.deal-link:hover{color:var(--color-link-strong);text-decoration:underline}.restriction-section{margin-top:14px}.restriction-section>header>svg{color:var(--accent)}.warehouse-card-backdrop{z-index:80;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#201f1c47;border:0;position:fixed;top:0;bottom:0;left:0;right:0}.warehouse-card-drawer{z-index:81;border-left:1px solid var(--line);background:var(--surface);flex-direction:column;width:min(560px,94vw);animation:.18s task-drawer-in;display:flex;position:fixed;top:0;bottom:0;right:0;overflow-y:auto;box-shadow:-20px 0 56px #23211d33}.warehouse-card-page{grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;min-width:0;display:grid}.warehouse-card-drawer>header,.warehouse-card-page>header{border-bottom:1px solid var(--line);background:var(--bg);flex:none;justify-content:space-between;align-items:flex-start;gap:12px;min-height:86px;padding:16px;display:flex}.warehouse-card-page>header{border:1px solid var(--line);background:linear-gradient(180deg, var(--color-warehouse-hero-start) 0%, var(--color-warehouse-hero-end) 100%);border-radius:9px;grid-column:1/-1;align-items:center;min-height:116px}.warehouse-card-drawer>header>div,.warehouse-card-page>header>div{flex-direction:column;gap:4px;min-width:0;display:flex}.warehouse-card-drawer>header small,.warehouse-card-page>header small{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:700}.warehouse-card-drawer>header h2,.warehouse-card-page>header h2{overflow-wrap:anywhere;margin:0;font-size:18px;line-height:1.2}.warehouse-card-page>header h2{font-size:26px}.warehouse-card-drawer>header code,.warehouse-card-page>header code{color:var(--crm-theme-muted,#66666e);font-family:Manrope,sans-serif;font-size:11px;font-weight:700}.warehouse-card-drawer>header button,.warehouse-card-page>header button{border:1px solid var(--line);background:var(--surface);border-radius:50%;flex:none;place-items:center;width:34px;height:34px;padding:0;display:grid}.warehouse-card-page>header button{cursor:pointer}.warehouse-card-actions{align-items:center;gap:7px;display:flex}.warehouse-card-actions .warehouse-card-action-button{width:auto;height:34px;color:var(--text);cursor:pointer;border-radius:17px;gap:6px;padding:0 10px;font-size:10px;font-weight:800;display:inline-flex}.warehouse-card-status{border-bottom:1px solid var(--line);background:var(--surface-2);align-items:center;gap:10px;padding:12px 16px;display:flex}.warehouse-card-page>.warehouse-card-status{border:1px solid var(--line);background:var(--surface);border-radius:9px;grid-column:span 6;min-height:68px}.warehouse-card-page>.warehouse-card-status .status-pill{border-radius:16px;padding:10px 15px;font-size:15px;font-weight:900}.warehouse-card-page>.warehouse-card-status span{font-size:15px;font-weight:700}.warehouse-card-block-reason{color:var(--crm-theme-accent-text,#a83c16);background:var(--accent-soft)}.warehouse-card-page>.warehouse-card-block-reason{background:var(--accent-soft)}.warehouse-card-status span{min-width:0;color:var(--muted);overflow-wrap:anywhere;font-size:11px}.warehouse-card-block-reason span,.warehouse-card-block-reason svg{color:var(--crm-theme-accent-text,#a83c16)}.warehouse-card-section{border-bottom:1px solid var(--line);padding:14px 16px}.warehouse-card-page>.warehouse-card-section{border:1px solid var(--line);background:var(--surface);border-radius:9px;grid-column:span 6}.warehouse-card-page>.warehouse-deal-actions,.warehouse-card-page>.warehouse-card-tab-section,.warehouse-card-page>.manual-costs-card,.warehouse-card-page>.warehouse-card-section:last-child{grid-column:1/-1}.warehouse-financial-blocks{gap:12px;display:grid}.warehouse-card-page>.warehouse-financial-blocks{grid-column:1/-1}.warehouse-financial-blocks>.warehouse-card-section{min-width:0}.warehouse-financial-calculator{padding:0;overflow:hidden}.warehouse-financial-calculator-heading{width:100%;color:var(--text);border:0;border-bottom:1px solid var(--line);background:linear-gradient(105deg, var(--color-warehouse-panel-start) 0%, var(--color-warehouse-panel-surface) 100%);text-align:left;cursor:pointer;flex-direction:column;align-items:flex-start;gap:12px;padding:18px 20px;display:flex}.warehouse-financial-calculator-heading>div:first-child,.warehouse-financial-panel-heading>div{gap:2px;display:grid}.warehouse-financial-calculator-heading span,.warehouse-financial-panel-heading span,.warehouse-margin-result span{color:var(--color-primary-strong);letter-spacing:.08em;text-transform:uppercase;font-size:9px;font-weight:900}.warehouse-financial-calculator-heading h3{margin:0;font-size:17px}.warehouse-financial-summary{grid-template-columns:repeat(2,minmax(112px,max-content));justify-content:flex-start;align-items:start;gap:10px 18px;display:grid}.warehouse-financial-summary>span{gap:2px;min-width:112px;display:grid}.warehouse-financial-summary small{color:var(--muted);text-align:left;font-size:9px;font-weight:800}.warehouse-financial-summary strong{color:var(--color-primary-strong);text-align:left;white-space:nowrap;font-size:12px}.warehouse-financial-details-trigger{width:fit-content;color:var(--accent);white-space:nowrap;grid-column:1/-1;align-items:center;gap:4px;margin-top:1px;font-size:10px;font-style:normal;font-weight:800;display:inline-flex}.warehouse-financial-details-trigger svg{transition:transform .18s}.warehouse-financial-calculator-heading[aria-expanded=true] .warehouse-financial-details-trigger svg{transform:rotate(180deg)}.warehouse-financial-workspace{grid-template-columns:minmax(300px,1.05fr) minmax(330px,.95fr);gap:0;display:grid}.warehouse-cost-panel,.warehouse-sale-panel{padding:18px 20px 20px}.warehouse-cost-panel{border-right:1px solid var(--line)}.warehouse-financial-panel-heading{justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:12px;display:flex}.warehouse-financial-panel-heading h4,.warehouse-margin-result h4{color:var(--text);margin:0;font-size:14px}.warehouse-financial-panel-heading>small{color:var(--muted);font-size:9px;font-weight:800}.warehouse-financial-lines{gap:1px;display:grid}.warehouse-financial-lines>div,.warehouse-financial-input{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) minmax(120px,auto);align-items:center;gap:10px;min-height:36px;padding:7px 0;display:grid}.warehouse-financial-lines span,.warehouse-financial-reason>span,.warehouse-one-c-price span,.warehouse-price-after-discount span{color:var(--muted);font-size:10px;font-weight:700}.warehouse-financial-lines strong{color:var(--text);text-align:right;font-size:11px}.warehouse-cost-detail{vertical-align:middle;color:inherit;cursor:help;display:inline-flex;position:relative}.warehouse-cost-popover{z-index:20;border:1px solid var(--line);background:var(--surface);width:min(410px,72vw);color:var(--text);border-radius:8px;padding:12px;font-size:11px;line-height:1.45;display:none;position:absolute;bottom:calc(100% + 8px);left:0;box-shadow:0 10px 28px #1923192e}.warehouse-cost-detail:hover .warehouse-cost-popover,.warehouse-cost-detail:focus .warehouse-cost-popover{gap:8px;display:grid}.warehouse-cost-popover>strong{text-align:left;max-width:none;font-size:12px}.warehouse-cost-popover-item{border-top:1px solid var(--line);gap:3px;padding-top:7px;display:grid}.warehouse-cost-popover-item:first-of-type{border-top:0;padding-top:0}.warehouse-cost-popover-item>b{color:var(--text)}.warehouse-cost-popover-item>span{color:var(--muted)}.warehouse-financial-lines .missing strong,.warehouse-financial-lines .not-applicable strong{color:var(--muted);font-weight:700}.warehouse-financial-input>input,.warehouse-financial-reason input,.warehouse-discount-control select,.warehouse-discount-control>input,.warehouse-markup-control>input,.warehouse-price-with-currency select{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;height:32px;color:var(--text);text-align:right;border-radius:7px;padding:0 9px;font:700 11px Manrope,sans-serif}.warehouse-price-with-currency{grid-template-columns:minmax(0,1fr) 56px;gap:4px;display:grid}.warehouse-price-with-currency select{text-align:left}.warehouse-financial-total{background:var(--color-success-surface);border-radius:8px;justify-content:space-between;align-items:center;gap:8px;margin-top:10px;padding:11px 12px;display:flex}.warehouse-financial-total span{color:var(--text);font-size:11px;font-weight:800}.warehouse-financial-total strong{color:var(--color-primary-strong);text-align:right;font-size:14px}.warehouse-financial-total.incomplete{background:var(--surface-2)}.warehouse-financial-total.incomplete strong{color:var(--color-danger-financial);font-size:11px}.warehouse-one-c-price,.warehouse-price-after-discount{justify-content:space-between;align-items:center;gap:8px;padding:8px 0;display:flex}.warehouse-one-c-price strong{color:var(--muted);font-size:11px}.warehouse-primary-price{border:1px solid var(--color-warehouse-price-border);background:var(--color-warehouse-price-surface);border-radius:9px;grid-template-columns:minmax(0,1fr) minmax(160px,auto);margin-top:4px;padding:12px}.warehouse-primary-price>span{color:var(--text);font-size:11px;font-weight:900}.warehouse-primary-price>input{border-color:var(--color-warehouse-input-border);background:var(--crm-theme-surface,#fff);text-align:left;height:38px;font-size:13px}.warehouse-primary-price>small{color:var(--muted);grid-column:1/-1;font-size:9px;font-weight:700}.warehouse-sale-adjustments{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:10px;display:grid}.warehouse-sale-adjustments .warehouse-financial-input{border-bottom:0;grid-template-columns:1fr;gap:6px}.warehouse-discount-control{grid-template-columns:74px minmax(0,1fr);gap:4px;display:grid}.warehouse-discount-control select{text-align:left}.warehouse-markup-control{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;display:grid}.warehouse-markup-control strong{color:var(--muted);white-space:nowrap;font-size:10px}.warehouse-price-after-discount{border-top:1px solid var(--line);margin-top:4px}.warehouse-price-after-discount strong{color:var(--text);font-size:13px}.warehouse-margin-result{border-top:1px solid var(--line);background:var(--color-warehouse-margin);color:#fff;grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:16px 20px;display:grid}.warehouse-margin-result h4,.warehouse-margin-result small{color:#fff}.warehouse-margin-result span{color:var(--color-warehouse-margin-text)}.warehouse-margin-result small{opacity:.74;margin-top:3px;font-size:9px;font-weight:600;display:block}.warehouse-margin-result>strong{text-align:right;font-size:20px}.warehouse-margin-result>b{background:var(--crm-theme-glass-soft,#bedda32e);min-width:60px;color:var(--color-success-surface-text);text-align:center;border-radius:7px;padding:7px 9px;font-size:14px}.warehouse-margin-result.incomplete{background:var(--color-warehouse-margin-muted)}.warehouse-margin-result.incomplete span{color:var(--color-warehouse-margin-muted-text)}.warehouse-margin-result.incomplete>strong{font-size:13px}.warehouse-margin-result.incomplete>b{color:#fff;background:var(--crm-theme-glass-soft,#ffffff21)}.financial-incomplete-value{color:var(--color-danger-financial)!important}.warehouse-financial-footer{background:var(--surface-2);grid-template-columns:minmax(0,1fr);gap:14px;padding:14px 20px 16px;display:grid}.warehouse-financial-reason{gap:4px;display:grid}.warehouse-financial-reason input{text-align:left;width:100%}.warehouse-card-section h3{margin:0 0 10px;font-size:13px}.warehouse-actual-payments{gap:12px;display:grid}.warehouse-actual-payment-contract{border:1px solid var(--line);background:var(--surface-muted);border-radius:8px;gap:10px;padding:12px;display:grid}.warehouse-actual-payment-contract>header{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.warehouse-actual-payment-contract>small{color:var(--muted)}.warehouse-actual-payment{border-top:1px solid var(--line);gap:8px;padding-top:10px;display:grid}.warehouse-actual-payment p{overflow-wrap:anywhere;margin:0;line-height:1.45}.warehouse-rop-payment-form{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;gap:10px;display:grid}.warehouse-rop-payment-form label,.warehouse-actual-payment>label{gap:5px;font-size:12px;font-weight:700;display:grid}.warehouse-rop-payment-form input,.warehouse-rop-payment-form select,.warehouse-actual-payment>label input{border:1px solid var(--line);background:var(--surface);width:100%;min-height:36px;color:var(--text);border-radius:6px;padding:7px 9px}.warehouse-rop-payment-form button{background:var(--accent);min-height:36px;color:var(--crm-theme-on-solid,white);cursor:pointer;border:0;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:7px 12px;display:inline-flex}.warehouse-payments-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px;display:flex}.warehouse-payments-heading h3{margin:0}.warehouse-payments-heading>span{color:var(--muted);font-size:12px}.warehouse-payments-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0;display:grid}.warehouse-payments-total{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-content:center;gap:5px;min-width:0;padding:15px 18px;display:grid}.warehouse-payments-total span{color:var(--muted);font-size:12px;font-weight:700}.warehouse-payments-total strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:clamp(20px,2vw,28px);line-height:1.2}.warehouse-payments-total-rop{border-color:var(--crm-theme-border,#ffd1bc);background:var(--crm-theme-surface-soft,#fff3ed)}.warehouse-payments-total-rop strong{color:var(--crm-theme-accent-text,#a94316)}.warehouse-payments-total-one-c{border-color:var(--crm-theme-border,#c9e8d5);background:var(--crm-theme-surface-soft,#eef9f2)}.warehouse-payments-total-one-c strong{color:var(--crm-theme-success-text,#176b43)}@media (max-width:640px){.warehouse-payments-summary{grid-template-columns:1fr}}.warehouse-payments-panel{border:1px solid var(--line);background:var(--surface);border-radius:10px;gap:14px;padding:16px;display:grid}.warehouse-payments-scroll{overflow-x:auto}.warehouse-payments-table{border-collapse:collapse;text-align:left;width:100%;min-width:650px}.warehouse-payments-table th{border-bottom:1px solid var(--line);color:var(--muted);text-transform:uppercase;letter-spacing:.04em;padding:10px 12px;font-size:11px;font-weight:800}.warehouse-payments-table td{border-bottom:1px solid var(--line);vertical-align:top;padding:13px 12px;font-size:13px}.warehouse-payments-table tbody tr:hover{background:var(--surface-muted)}.warehouse-payment-document{overflow-wrap:anywhere;max-width:280px}.warehouse-payment-amount{white-space:nowrap;font-weight:800}.warehouse-payment-source{background:var(--surface-2);color:var(--text);border-radius:20px;padding:4px 9px;font-size:11px;font-weight:800;display:inline-flex}.warehouse-payment-source.one-c{color:var(--crm-theme-success-text,#176b43);background:var(--crm-theme-surface-soft,#e8f6ee)}.warehouse-payment-toggle{color:var(--accent);font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;padding:0;font-weight:700}.layout-desktop .sheet-backdrop.warehouse-payment-details-sheet{justify-content:center;align-items:center;padding:24px}.layout-desktop .sheet-backdrop.warehouse-payment-details-sheet .bottom-sheet.wide{border-radius:var(--radius-md);width:min(760px,100%);max-height:min(85vh,900px)}.warehouse-payment-detail-content{border:1px solid var(--line);background:var(--surface);border-radius:10px;gap:12px;padding:18px;display:grid}.warehouse-payment-detail-content label{gap:5px;font-size:12px;font-weight:700;display:grid}.warehouse-payment-detail-content input{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--text);border-radius:6px;padding:7px 9px}.warehouse-payment-detail-content p{overflow-wrap:anywhere;margin:0;line-height:1.5}.warehouse-payment-note{color:var(--muted)}.warehouse-card-tabs{border:1px solid var(--line);background:var(--surface-2);border-radius:8px;gap:4px;margin-bottom:12px;padding:4px;display:inline-flex}.warehouse-card-tabs button{min-height:34px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:0 12px;font-size:11px;font-weight:800}.warehouse-card-tabs button.active{border-color:var(--line);background:var(--surface);color:var(--text);box-shadow:0 4px 12px #23211d0f}.warehouse-deal-actions{background:var(--crm-theme-surface-soft,#fff7f3);gap:10px;display:grid}.warehouse-card-page>.warehouse-deal-actions{background:var(--color-warehouse-actions-surface);grid-template-columns:minmax(240px,.55fr) minmax(420px,1fr) minmax(360px,.75fr);align-items:start}.warehouse-card-page .warehouse-deal-actions-heading{align-self:center}.warehouse-deal-actions-heading>span{align-items:center;gap:8px;display:flex}.warehouse-deal-actions-heading>span>svg{color:var(--accent);flex:none}.warehouse-deal-actions-heading>span>span{flex-direction:column;gap:2px;min-width:0;display:flex}.warehouse-deal-actions-heading h3{margin:0}.warehouse-deal-actions-heading small{color:var(--muted);font-size:9px}.warehouse-deal-picker{gap:8px;min-width:0;display:grid}.warehouse-deal-actions>label,.warehouse-deal-picker>label{gap:5px;display:grid}.warehouse-deal-actions>label>span,.warehouse-deal-picker>label>span{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:700}.warehouse-deal-actions>label>select{width:100%;min-width:0;height:42px;color:var(--text);border:1px solid var(--line);background:var(--surface);font:700 11px var(--font-body);border-radius:8px;padding:0 10px}.warehouse-deal-search>div{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-items:center;gap:8px;height:42px;padding:0 10px;display:flex}.warehouse-deal-search>div>svg{color:var(--muted);flex:none}.warehouse-deal-search input{width:100%;min-width:0;color:var(--text);font:700 11px var(--font-body);background:0 0;border:0;outline:0}.warehouse-deal-search-results{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:4px;width:100%;max-height:180px;padding:4px;display:grid;overflow:auto}.warehouse-deal-search-results button{width:100%;min-width:0;color:var(--text);text-align:left;background:0 0;border:0;border-radius:6px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;display:grid}.warehouse-deal-search-results button:hover,.warehouse-deal-search-results button.active{background:var(--surface-2)}.warehouse-deal-search-results span{flex-direction:column;gap:2px;min-width:0;display:flex}.warehouse-deal-search-results strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.warehouse-deal-search-results small,.warehouse-deal-search-results p{color:var(--muted);margin:0;font-size:9px}.warehouse-deal-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.warehouse-card-page .warehouse-deal-action-grid{grid-template-columns:1fr;align-self:end}.warehouse-deal-action-grid>button{min-height:54px;color:var(--text);border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:9px;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:8px;padding:8px 10px;display:grid}.warehouse-deal-action-grid>button.primary{color:var(--crm-theme-on-solid,white);border-color:var(--accent);background:var(--accent);grid-column:1/-1}.warehouse-card-page .warehouse-deal-action-grid>button.primary{grid-column:1/-1}.warehouse-deal-action-grid>button>svg{color:var(--accent)}.warehouse-deal-action-grid>button.primary>svg{color:#fff}.warehouse-deal-action-grid>button>span{flex-direction:column;gap:2px;min-width:0;display:flex}.warehouse-deal-action-grid>button strong{font-size:10px}.warehouse-deal-action-grid>button small{color:var(--muted);font-size:8px;line-height:1.3}.warehouse-deal-action-grid>button.primary small{color:#ffffffd1}.warehouse-deal-action-grid>button:disabled{cursor:default;opacity:.45}.warehouse-logistics-manual{border:1px solid var(--line);background:var(--color-warehouse-actions-surface,#fff7f3);border-radius:9px;margin-top:10px;padding:12px}.warehouse-card-tab-section .warehouse-logistics-manual{margin-top:12px}.warehouse-logistics-manual>summary{cursor:pointer;color:var(--text);justify-content:space-between;align-items:center;gap:8px;font-size:11px;font-weight:800;list-style:none;display:flex}.warehouse-logistics-manual>summary::-webkit-details-marker{display:none}.warehouse-logistics-manual[open]>summary{border-bottom:1px solid var(--line);margin-bottom:10px;padding-bottom:10px}.warehouse-logistics-manual .warehouse-deal-actions-heading{display:none}.warehouse-logistics-form{background:var(--surface);margin-bottom:0}.warehouse-card-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.warehouse-card-page .warehouse-card-fields{background:0 0;border:0;border-radius:0;grid-template-columns:1fr;gap:7px;overflow:visible}.warehouse-card-field{border:1px solid var(--line);background:var(--bg);border-radius:8px;flex-direction:column;gap:3px;min-width:0;padding:9px;display:flex}.warehouse-card-page .warehouse-card-field{background:0 0;border:0;border-radius:0;flex-direction:row;align-items:baseline;gap:7px;min-height:0;padding:0;display:flex}.warehouse-card-field>span{color:var(--muted);text-transform:uppercase;align-items:center;gap:4px;font-size:9px;font-weight:700;display:inline-flex}.warehouse-card-field strong{overflow-wrap:anywhere;min-width:0;font-size:11px;line-height:1.35}.warehouse-card-page .warehouse-card-field>span{flex:none;font-size:10px}.warehouse-card-page .warehouse-card-field>span:after{content:":"}.warehouse-card-page .warehouse-card-field strong{text-align:left;font-size:13px}.warehouse-card-click-field{color:inherit;text-align:left;cursor:pointer}.warehouse-card-click-field:hover{border-color:var(--crm-theme-border,#b8b9bf);background:var(--crm-theme-surface-soft,#fff7f3)}.warehouse-card-click-field small{color:var(--crm-theme-accent-text,#a83c16);font-size:9px;font-weight:800}.warehouse-card-edit-field input,.warehouse-card-edit-field select,.warehouse-card-edit-field textarea{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;color:var(--text);border-radius:7px;font:700 11px/1.35 Manrope,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.warehouse-card-edit-field input,.warehouse-card-edit-field select{height:34px;padding:0 8px}.warehouse-card-edit-field textarea{resize:vertical;padding:8px}.warehouse-card-wide-field{grid-column:1/-1}.warehouse-card-page .warehouse-card-wide-field{grid-column:auto}.warehouse-finance-grid{gap:10px;display:grid}.warehouse-card-page .warehouse-finance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.warehouse-finance-grid article{gap:8px;display:grid}.warehouse-finance-grid h4{color:var(--muted);text-transform:uppercase;margin:0;font-size:10px;font-weight:800}.warehouse-finance-empty{min-height:40px;color:var(--muted);border:1px dashed var(--line);background:var(--bg);border-radius:8px;align-items:center;gap:8px;padding:9px;font-size:10px;font-weight:700;display:flex}.warehouse-finance-empty svg{flex:none}@media (max-width:1240px){.warehouse-card-page>.warehouse-deal-actions{grid-template-columns:minmax(220px,.55fr) minmax(360px,1fr)}.warehouse-card-page .warehouse-deal-action-grid{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));align-self:stretch}}.warehouse-card-request-sent{color:var(--color-primary-strong);background:var(--color-primary-softer)}.warehouse-card-request-sent span,.warehouse-card-request-sent svg{color:var(--color-primary)}.warehouse-card-list{flex-direction:column;gap:7px;display:flex}.warehouse-card-list article{border:1px solid var(--line);background:var(--bg);border-radius:8px;grid-template-columns:auto minmax(0,1fr) minmax(70px,auto);align-items:center;gap:9px;min-height:48px;padding:9px;display:grid}.warehouse-card-list article svg{color:var(--muted)}.warehouse-card-list article span{flex-direction:column;gap:3px;min-width:0;display:flex}.warehouse-card-list article strong{font-size:11px}.warehouse-card-list article small{color:var(--muted);font-size:9px}.warehouse-card-list article em{color:var(--muted);text-align:right;overflow-wrap:anywhere;font-size:10px;font-style:normal}.warehouse-section-heading{flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:10px;display:flex}.warehouse-section-heading h3{margin:0}.warehouse-section-heading small{color:var(--muted);font-size:9px;font-weight:700}.warehouse-manual-cost-add{min-height:32px;color:var(--crm-theme-on-solid,white);background:var(--accent);cursor:pointer;border:0;border-radius:7px;align-items:center;gap:6px;margin-top:4px;padding:0 10px;font:800 10px Manrope,sans-serif;display:inline-flex}.manual-cost-form{border:1px solid var(--line);background:var(--bg);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px;padding:10px;display:grid}.manual-cost-form label{flex-direction:column;gap:4px;min-width:0;display:flex}.manual-cost-form label>span{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:800}.manual-cost-form input,.manual-cost-form select,.manual-cost-form textarea{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;color:var(--text);border-radius:7px;font:700 11px/1.35 Manrope,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.manual-cost-form input,.manual-cost-form select{height:34px;padding:0 8px}.manual-cost-form textarea{resize:vertical;padding:8px}.manual-cost-form-wide,.manual-cost-file,.manual-cost-error,.warehouse-manual-cost-save{grid-column:1/-1}.manual-cost-file{min-height:34px;color:var(--muted);border:1px dashed var(--line);background:var(--surface);cursor:pointer;border-radius:7px;align-items:center;padding:0 8px;position:relative;overflow:hidden;flex-direction:row!important;display:flex!important}.manual-cost-file input{opacity:0;cursor:pointer;position:absolute;top:0;bottom:0;left:0;right:0}.manual-cost-error{color:var(--crm-theme-danger-text,#a83c16);margin:0;font-size:10px;font-weight:700}.warehouse-manual-cost-save{height:34px;color:var(--crm-theme-on-solid,white);background:var(--accent);cursor:pointer;border:0;border-radius:7px;font:800 11px Manrope,sans-serif}.warehouse-manual-cost-save:disabled{cursor:default;opacity:.6}.manual-cost-list article{grid-template-columns:auto minmax(0,1fr) auto auto}.manual-cost-list article a{color:var(--accent)}.warehouse-events-section>header>svg{color:var(--muted)}.warehouse-events-list{flex-direction:column;display:flex}.warehouse-events-list button{border:0;border-top:1px solid var(--color-border-subtle);min-height:62px;color:inherit;text-align:left;cursor:pointer;background:0 0;grid-template-columns:minmax(150px,.9fr) minmax(190px,1.25fr) minmax(90px,.6fr) minmax(150px,1fr) minmax(80px,.55fr);align-items:center;gap:12px;padding:10px 14px;display:grid}.warehouse-events-list button:first-child{border-top:0}.warehouse-events-list button:hover{background:var(--surface-2)}.warehouse-events-list span{flex-direction:column;gap:3px;min-width:0;display:flex}.warehouse-events-list strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11px;overflow:hidden}.warehouse-events-list small,.warehouse-events-list code{color:var(--muted);font-size:9px}.warehouse-events-list code{font-family:Manrope,sans-serif;font-weight:800}.warehouse-events-list button>span:first-child strong{color:var(--color-primary-strong)}.warehouse-events-list button>span:nth-child(2) strong{color:var(--text);text-underline-offset:3px;text-decoration:underline;text-decoration-thickness:1px}.warehouse-events-list button>span:nth-child(3),.warehouse-events-list button>span:nth-child(4),.warehouse-events-list em{min-width:0;color:var(--muted);overflow-wrap:anywhere;font-size:10px;font-style:normal}.warehouse-events-list em{text-align:right}.warehouse-load-status{min-height:48px;color:var(--muted);place-items:center;padding:12px;font-size:12px;font-weight:700;display:grid}.warehouse-inline-loading{min-height:34px;color:var(--accent);border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--accent) 8%, var(--surface));align-items:center;gap:8px;padding:8px 14px;font-size:11px;font-weight:800;display:flex}.warehouse-inline-loading svg{animation:.8s linear infinite spin}.restriction-list article{border-top:1px solid var(--color-border-subtle);grid-template-columns:minmax(160px,1fr) minmax(190px,1.25fr) minmax(160px,1fr) auto;align-items:center;gap:12px;min-height:58px;padding:9px 14px;font-size:9px;display:grid}.restriction-list article:first-child{border-top:0}.restriction-list article>div,.restriction-list article>span{overflow-wrap:anywhere;flex-direction:column;gap:3px;min-width:0;display:flex}.restriction-list article small{color:var(--muted);text-transform:uppercase;font-size:7px}.restriction-list article>i{color:var(--crm-theme-accent-text,#a83c16);background:var(--accent-soft);white-space:nowrap;border-radius:10px;padding:5px 7px;font-size:8px;font-style:normal;font-weight:700}@keyframes shimmer{to{background-position:-200% 0}}@keyframes fade-in{0%{opacity:0}}@keyframes slide-up{0%{opacity:0;transform:translateY(30px)}}@media (max-width:760px){body{background:var(--surface)}.desktop-rail{display:none}.workspace{margin-left:0;display:block}.list-pane{border:0;height:100%}.detail-pane{z-index:40;display:none;position:fixed;top:0;bottom:0;left:0;right:0}.detail-pane.visible{animation:.2s slide-in;display:block}.app-header{min-height:70px;padding-top:max(9px, env(safe-area-inset-top))}.bottom-nav{width:auto;display:grid;left:10px;right:10px}.entity-scroll{padding-bottom:92px}.offline-banner{text-align:center;min-height:54px;padding:6px 12px;font-size:10px;line-height:1.25;left:0}.offline-banner~.workspace{padding-top:54px}.bulk-bar{right:10px;bottom:max(10px, env(safe-area-inset-bottom));left:10px}.bulk-bar>button:not(.icon-button){padding:0 9px}.bulk-bar>button:not(.bulk-ai):not(.icon-button){display:none}.ai-panel{border-left:0;border-right:0;border-radius:8px 8px 0 0;width:100%;height:36vh;min-height:300px;left:0;right:0}.ai-panel.expanded{height:calc(100dvh - env(safe-area-inset-top))}.ai-identity small{max-width:210px}.detail-header{padding-top:max(10px, env(safe-area-inset-top))}.filter-fields{grid-template-columns:1fr}.desktop-welcome{display:none}.message{max-width:86%}.transfer-notices{padding:8px 10px}.transfer-notice-card{min-height:66px;padding:10px}.transfer-notice-card strong{font-size:11px}.transfer-notice-card p{font-size:8px}.transfer-notice-card button{justify-content:center;min-width:48px;height:34px}.warehouse-scroll{width:100%;padding-bottom:96px}.warehouse-dashboard{width:100%;padding:14px 10px 24px}.warehouse-detail-dashboard{padding-bottom:96px}.warehouse-card-page{grid-template-columns:1fr;gap:9px}.warehouse-card-page>header,.warehouse-card-page>.warehouse-card-status,.warehouse-card-page>.warehouse-card-section,.warehouse-card-page>.warehouse-deal-actions,.warehouse-card-page>.warehouse-card-tab-section,.warehouse-card-page>.manual-costs-card,.warehouse-card-page>.warehouse-card-section:last-child{grid-column:1/-1}.warehouse-card-page>header{align-items:flex-start;min-height:0;padding:12px}.warehouse-card-page>header h2{font-size:20px}.warehouse-card-page .warehouse-card-fields,.warehouse-card-page .warehouse-finance-grid,.warehouse-card-page>.warehouse-deal-actions,.warehouse-card-page .warehouse-deal-action-grid{grid-template-columns:1fr}.warehouse-card-page .warehouse-card-field strong{text-align:left}.warehouse-financial-calculator-heading{align-items:flex-start;padding:15px}.warehouse-financial-summary{grid-template-columns:repeat(2,minmax(0,max-content));gap:9px}.warehouse-financial-summary>span{min-width:0}.warehouse-financial-summary strong{text-overflow:ellipsis;max-width:106px;font-size:10px;overflow:hidden}.warehouse-financial-details-trigger{margin-left:0;font-size:9px}.warehouse-financial-workspace{grid-template-columns:1fr}.warehouse-cost-panel{border-right:0;border-bottom:1px solid var(--line)}.warehouse-cost-panel,.warehouse-sale-panel{padding:15px}.warehouse-sale-adjustments{gap:10px}.warehouse-primary-price{grid-template-columns:1fr}.warehouse-margin-result{grid-template-columns:1fr auto;gap:8px 14px;padding:15px}.warehouse-margin-result>div{grid-column:1}.warehouse-margin-result>strong{text-align:left;grid-area:2/1;font-size:16px}.warehouse-margin-result>b{grid-area:1/2/span 2}.warehouse-financial-footer{grid-template-columns:1fr;padding:14px 15px 16px}.warehouse-card-tabs{width:100%}.warehouse-card-tabs button{flex:1 1 0;min-width:0;padding:0 8px}.warehouse-card-page .warehouse-deal-action-grid>button.primary{grid-column:1/-1}.warehouse-intro{gap:10px;margin-bottom:12px}.warehouse-intro h1{margin-top:5px;font-size:20px}.warehouse-intro p{max-width:230px;font-size:9px;line-height:1.45}.updated{padding:6px;font-size:0}.updated svg{width:15px;height:15px}.stock-metrics{grid-template-columns:1fr 1fr;gap:7px}.stock-metrics :is(article,button){grid-template-columns:28px 1fr auto;min-height:88px;padding:9px}.stock-metrics :is(article,button)>strong{font-size:21px}.stock-metrics :is(article,button)>small{font-size:7px}.metric-icon{border-radius:7px;width:27px;height:27px}.metric-icon svg{width:15px}.warehouse-tools{border-radius:8px;grid-template-columns:minmax(0,1fr);margin:10px -1px;padding:7px}.warehouse-search{height:40px}.stock-filter-chips{flex-wrap:wrap;margin:0 -1px;overflow:hidden}.stock-filter-chips button{height:32px;padding:0 9px}.inventory-section>header,.restriction-section>header,.warehouse-events-section>header{min-height:52px;padding:8px 11px}.inventory-section header small{display:none}.warehouse-tabs{scrollbar-width:none;margin-top:10px;overflow-x:auto}.warehouse-tabs::-webkit-scrollbar{display:none}.warehouse-tabs button{min-width:max-content}.inventory-grid-head{display:none}.inventory-grid:not(.warehouse-report-grid){background:var(--crm-theme-surface-soft,#f3f3f3);padding:8px}.inventory-row:not(.warehouse-report-row){border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:1fr 1fr;gap:11px 14px;min-height:0;margin-bottom:8px;padding:12px;display:grid}.warehouse-models-section>.warehouse-model-nesting{justify-content:space-between;width:calc(100% - 28px)}.warehouse-model-grid-head{display:none}.warehouse-model-grid{background:var(--crm-theme-surface-soft,#f3f3f3);padding:8px;display:block}.warehouse-model-row{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:1fr 1fr;gap:11px 14px;width:100%;min-height:0;margin-bottom:8px;padding:12px;display:grid}.warehouse-model-row>span{box-shadow:none;padding:0;font-size:10px}.warehouse-model-row>span:before{content:attr(data-label);color:var(--muted);text-transform:uppercase;margin-bottom:3px;font-size:7px;font-weight:700;display:block}.warehouse-model-name{grid-column:1/-1}.warehouse-model-child{background:var(--color-warehouse-child-surface);margin-left:10px}.warehouse-model-child .warehouse-model-name{padding-left:0}.warehouse-events-list{background:var(--crm-theme-surface-soft,#f3f3f3);padding:8px}.warehouse-events-list button{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:1fr 1fr;gap:10px 14px;min-height:0;margin-bottom:8px;padding:12px}.warehouse-events-list button:last-child{margin-bottom:0}.warehouse-events-list em{text-align:left}.inventory-row-button{border:1px solid var(--line)}.inventory-row:last-child{margin-bottom:0}.inventory-model{box-shadow:none;grid-column:1/-1;padding:0 80px 0 0;position:static}.inventory-row>span,.inventory-row>.inventory-edit-cell,.inventory-model{box-shadow:none}.inventory-model strong{font-size:12px}.inventory-model code{font-size:9px}.inventory-row:not(.warehouse-report-row)>span,.inventory-row:not(.warehouse-report-row)>.inventory-edit-cell{overflow-wrap:anywhere;flex-direction:column;gap:3px;min-width:0;font-size:9px;display:flex}.inventory-row:not(.warehouse-report-row)>span:before,.inventory-row:not(.warehouse-report-row)>.inventory-edit-cell:before{content:attr(data-label);color:var(--muted);text-transform:uppercase;font-size:7px;font-weight:700}.inventory-row:not(.warehouse-report-row)>.inventory-edit-cell.active:before{content:none}.restriction-section{margin-top:10px}.restriction-list{background:var(--crm-theme-surface-soft,#f3f3f3);padding:7px}.restriction-list article{border:1px solid var(--line);background:var(--surface);border-radius:7px;grid-template-columns:1fr auto;gap:8px;margin-bottom:7px;padding:10px}.restriction-list article:last-child{margin-bottom:0}.restriction-list article>span{grid-column:1/-1}.restriction-list article>i{grid-area:1/2}@keyframes slide-in{0%{opacity:.4;transform:translate(18px)}}}.pipeline-switcher{text-align:left;min-width:0;min-height:42px;color:var(--text);border:1px solid var(--line);background:var(--surface);border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:5px 10px;display:flex}.pipeline-switcher span{flex-direction:column;gap:2px;min-width:0;display:flex}.pipeline-switcher small{color:var(--muted);text-transform:uppercase;font-size:8px}.pipeline-switcher strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.pipeline-options{gap:6px;padding:6px 0;display:grid}.pipeline-options>button{text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:9px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:62px;padding:7px 8px;display:grid}.pipeline-options>button.active{color:var(--accent);border-color:var(--color-primary-border);background:var(--color-primary-softer)}.pipeline-options i{background:var(--bg);border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.pipeline-options span{flex-direction:column;gap:3px;display:flex}.pipeline-options strong{font-size:11px}.pipeline-options small{color:var(--muted);font-size:8px}.quick-filter-options{gap:5px}.quick-filter-row{border:1px solid #0000;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;display:grid}.quick-filter-row.active{border-color:var(--color-primary-border);background:var(--color-primary-softer)}.quick-filter-row>button:first-child{text-align:left;background:0 0;border:0;align-items:center;gap:7px;min-width:0;padding:0 10px;display:flex}.quick-filter-row>button:first-child span{flex:1}.quick-filter-row .delete-filter{width:38px;color:var(--muted);background:0 0;border:0}.filter-save-box{border:1px solid var(--line);background:var(--bg);border-radius:9px;gap:9px;margin:12px 0 0;padding:12px;display:grid}.filter-save-box>label:not(.toggle-line){color:var(--muted);gap:6px;font-size:9px;display:grid}.filter-save-box input[type=text],.filter-save-box input:not([type]){border:1px solid var(--line);background:var(--surface);border-radius:7px;height:38px;padding:0 9px}.toggle-line{align-items:center;gap:9px;font-size:10px;display:flex}.toggle-line>span{flex-direction:column;gap:2px;display:flex}.toggle-line small{color:var(--muted);font-size:8px}.sheet-footer button:disabled{opacity:.45;cursor:default}.load-error-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:280px;padding:28px;display:flex}.load-error-state>i{width:48px;height:48px;color:var(--crm-theme-danger-text,#a83c16);background:var(--accent-soft);border-radius:50%;place-items:center;display:grid}.load-error-state strong{margin-top:13px;font-size:14px}.load-error-state p{max-width:280px;color:var(--muted);margin:7px 0 14px;font-size:10px;line-height:1.45}.load-error-state button{min-height:38px;color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:7px;align-items:center;gap:6px;padding:0 13px;font-size:10px;display:flex}.crm-login-screen{background:var(--bg);place-items:center;min-height:100vh;padding:24px;display:grid}.crm-login-panel{border:1px solid var(--line);background:var(--surface);width:min(390px,100%);box-shadow:var(--shadow-md);border-radius:12px;gap:14px;padding:24px;display:grid}.crm-login-brand{color:var(--muted);text-transform:uppercase;justify-content:space-between;align-items:center;gap:10px;font-size:10px;font-weight:700;display:flex}.crm-login-brand strong{color:var(--color-primary-text);border:1px solid var(--color-primary-border);background:var(--color-primary-softer);border-radius:6px;padding:4px 7px;font-size:9px}.crm-login-panel h1{color:var(--text);font:700 24px/1.1 var(--font-display);margin:0}.crm-login-panel p{color:var(--muted);margin:-4px 0 4px;font-size:11px;line-height:1.5}.crm-login-form{gap:12px;display:grid}.crm-login-form label{color:var(--muted);text-transform:uppercase;gap:6px;font-size:9px;font-weight:700;display:grid}.crm-login-form input{min-height:42px;color:var(--text);border:1px solid var(--line);background:var(--color-surface-sunken);font:12px var(--font-body);border-radius:8px;outline:0;padding:0 11px}.crm-login-form input:focus{border-color:var(--color-primary-border);box-shadow:0 0 0 3px var(--color-primary-softer)}.crm-login-form input:disabled{opacity:.65}.crm-login-form button{min-height:42px;color:var(--crm-theme-on-solid,white);background:var(--accent);cursor:pointer;border:0;border-radius:8px;font-size:11px;font-weight:700}.crm-login-form button:disabled{opacity:.55;cursor:default}.crm-login-error{color:var(--crm-theme-danger-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-danger-surface,#fff7f3);border-radius:8px;padding:10px 11px;font-size:10px;line-height:1.4}.auth-error-banner{top:max(8px, env(safe-area-inset-top));z-index:210;width:min(620px,100% - 20px);min-height:58px;color:var(--crm-theme-danger-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-danger-surface,#fff7f3);box-shadow:var(--shadow);border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 10px;display:grid;position:fixed;left:50%;transform:translate(-50%)}.auth-error-banner span{flex-direction:column;gap:2px;display:flex}.auth-error-banner strong{font-size:10px}.auth-error-banner small{font-size:8px;line-height:1.35}.auth-error-banner button{border:1px solid var(--crm-theme-border,#ff9a76);background:var(--crm-theme-danger-surface,white);border-radius:7px;align-items:center;gap:5px;min-height:34px;padding:0 9px;font-size:9px;display:flex}.composer-channel-picker{min-height:30px;color:var(--muted);border:1px solid var(--line);background:var(--bg);border-radius:7px;align-items:center;gap:6px;margin:0 10px;padding:0 9px;font-size:8px;display:flex}.composer-channel-picker select{min-width:0;color:var(--text);-webkit-appearance:none;appearance:none;background:0 0;border:0;flex:1;font-size:9px;font-weight:650}.composer-file-chip,.composer-recording-hint,.composer-voice-preview,.composer-status{border:1px solid var(--line);background:var(--bg);border-radius:7px;align-items:center;gap:6px;min-height:27px;margin:4px 10px 0;padding:4px 7px;font-size:9px;display:flex}.composer-file-chip span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.composer-file-chip button,.composer-voice-preview button,.composer-recording-hint button{background:0 0;border:0;place-items:center;width:22px;height:22px;padding:0;display:grid}.composer-recording-hint{color:var(--crm-theme-accent-text,#a83c16);border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3)}.composer-recording-hint i{background:#d2612b;border-radius:50%;width:8px;height:8px;animation:1s infinite pulse}.composer-recording-hint strong{font:10px var(--mono);margin-left:auto}.composer-recording-hint button{width:auto;min-width:42px;color:var(--crm-theme-accent-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface,white);border-radius:6px;padding:0 7px;font-size:9px}.composer-voice-preview{min-height:42px;color:var(--text)}.composer-voice-preview>span{flex-direction:column;gap:1px;min-width:62px;display:flex}.composer-voice-preview strong{font:11px var(--mono)}.composer-voice-preview small{max-width:96px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.composer-voice-preview audio{flex:1;min-width:120px;height:32px}.composer-status{color:var(--color-primary-strong);background:0 0;border:0;justify-content:flex-end}.composer-status.failed{color:var(--crm-theme-accent-text,#a83c16)}.composer-status button{color:var(--crm-theme-accent-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface,white);border-radius:5px;padding:3px 7px}.composer-box.has-error{border-color:var(--crm-theme-border,#ff9a76)}.composer-box button:disabled{opacity:.55}.message-attachments{gap:6px;margin-top:6px;display:grid}.message-attachment{border:1px solid var(--line);background:var(--crm-theme-glass-soft,#ffffff70);max-width:100%;color:inherit;border-radius:8px;text-decoration:none;overflow:hidden}.message-attachment.image{width:min(220px,100%);display:block}.message-attachment.image img{object-fit:cover;width:100%;max-height:180px;display:block}.message-attachment.media{width:min(260px,100%);display:block}.message-attachment.file{align-items:center;gap:7px;min-height:34px;padding:7px 9px;font-size:11px;display:flex}.message-attachment.file span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.message-attachment.file small{color:var(--muted);margin-left:auto;font-size:9px}.message-attachment.voice{width:min(340px,100%);box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;display:grid}.message-attachment.voice.pending{opacity:.72}.message-file-card{display:none}html[data-crm-surface=desktop] .deal-client-conversation .message-file-card{display:block}html[data-crm-surface=desktop] .deal-client-conversation .message{overflow-wrap:anywhere;width:max-content;min-width:0;max-width:min(78%,560px)}html[data-crm-surface=desktop] .deal-client-conversation .message-avatar-content{width:max-content}html[data-crm-surface=desktop] .deal-client-conversation .message-avatar-row .message{max-width:100%}html[data-crm-surface=desktop] .deal-client-conversation .message-generated-label,html[data-crm-surface=desktop] .deal-client-conversation .message-file-variants>.message-attachment.file{display:none}html[data-crm-surface=desktop] .deal-client-conversation .message-file-card{border:1px solid var(--crm-theme-border,#ffffff2b);background:var(--crm-theme-surface,#ffffff14);border-radius:12px;width:min(320px,100%);min-width:min(260px,100%);overflow:hidden}html[data-crm-surface=desktop] .deal-client-conversation .message-file-heading{align-items:center;gap:10px;min-height:62px;padding:10px;display:flex}html[data-crm-surface=desktop] .deal-client-conversation .message-file-icon{color:#fff;background:var(--crm-theme-surface,#ffffff29);border-radius:10px;flex:0 0 40px;place-items:center;width:40px;height:40px;display:grid}html[data-crm-surface=desktop] .deal-client-conversation .message-file-details{flex:1;gap:3px;min-width:0;display:grid}html[data-crm-surface=desktop] .deal-client-conversation .message-file-details strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:650;overflow:hidden}html[data-crm-surface=desktop] .deal-client-conversation .message-file-details small{opacity:.7;font-size:10px}html[data-crm-surface=desktop] .deal-client-conversation .message-file-download{width:32px;height:32px;color:inherit;background:var(--crm-theme-surface,#ffffff21);border-radius:8px;flex:0 0 32px;place-items:center;display:grid}html[data-crm-surface=desktop] .deal-client-conversation .message-file-download:hover{background:var(--crm-theme-surface,#ffffff3d)}html[data-crm-surface=desktop] .deal-client-conversation .message-file-preview{border-top:1px solid var(--crm-theme-border,#ffffff26);background:var(--crm-theme-surface,#fff);height:190px;overflow:hidden}html[data-crm-surface=desktop] .deal-client-conversation .message-file-preview iframe{pointer-events:none;border:0;width:100%;height:235px}html[data-crm-surface=desktop] .deal-client-conversation .message-file-pending{opacity:.7;padding:0 10px 10px;display:block}@media (max-width:600px){html[data-crm-surface=desktop] .deal-client-conversation .message{max-width:88%}}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.3}}.entity-action-menu>button{text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:8px;align-items:center;gap:10px;min-height:58px;padding:8px 10px;display:flex}.entity-action-menu>button span{flex-direction:column;gap:3px;display:flex}.entity-action-menu strong{font-size:10px}.entity-action-menu small{color:var(--muted);font-size:8px}.entity-action-menu .danger-action{color:var(--crm-theme-danger-text,#a83c16);border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-danger-surface,#fff7f3)}.entity-notification-options{border:1px solid var(--line);border-radius:8px;grid-template-columns:repeat(3,1fr);gap:5px;padding:10px;display:grid}.entity-notification-options>span{color:var(--muted);grid-column:1/-1;font-size:9px}.entity-notification-options button{border:1px solid var(--line);background:var(--bg);border-radius:6px;justify-content:center;align-items:center;gap:4px;min-height:34px;padding:3px 5px;font-size:8px;display:flex}.app-toast{z-index:220;color:#fff;min-height:46px;box-shadow:var(--shadow);background:#171719;border-radius:9px;align-items:center;gap:12px;padding:8px 10px 8px 14px;font-size:10px;display:flex;position:fixed;bottom:20px;right:18px}.app-toast button{color:#ffe4d8;background:0 0;border:1px solid #66666e;border-radius:6px;min-height:30px;padding:0 9px;font-weight:700}.notification-popup>div>button.read{opacity:.62;background:var(--crm-theme-surface-soft,#f3f3f3)}.notification-popup>div small{color:var(--muted);font-size:8px}.notification-popup footer button:disabled{opacity:.45}.profile-card.editable{align-items:center;gap:12px;display:flex}.profile-card.editable>div{flex-direction:column;gap:3px;min-width:0;display:flex}.profile-card.editable p{color:var(--muted);margin:2px 0 0;font-size:9px}.profile-avatar-edit{background:0 0;border:0;border-radius:50%;width:58px;height:58px;padding:0;position:relative}.profile-avatar-edit>span{background:#dcdce0;border-radius:50%;place-items:center;width:54px;height:54px;font-weight:700;display:grid}.profile-avatar-edit img{border-radius:inherit;object-fit:cover;width:100%;height:100%}.profile-avatar-edit svg{color:#fff;background:var(--accent);border-radius:50%;padding:3px;position:absolute;bottom:0;right:0}.settings-form-grid label,.settings-select{color:var(--muted);gap:5px;font-size:9px;display:grid}.settings-form-grid input,.settings-form-grid textarea,.settings-select select,.settings-select input[type=time]{box-sizing:border-box;width:100%;min-width:0;color:var(--text);border:1px solid var(--line);background:var(--bg);resize:vertical;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-variant-numeric:tabular-nums;border-radius:7px;padding:8px 9px}.settings-toggle{border-bottom:1px solid var(--line);align-items:center;gap:10px;min-height:46px;font-size:10px;display:flex}.settings-toggle span{flex:1}.settings-toggle input{opacity:0;position:absolute}.settings-toggle i{background:var(--crm-theme-surface-soft,#dcdce0);border-radius:12px;width:38px;height:22px;transition:all .18s;position:relative}.settings-toggle i:after{content:"";background:var(--crm-theme-surface,white);border-radius:50%;width:16px;height:16px;transition:all .18s;position:absolute;top:3px;left:3px}.settings-toggle input:checked+i:after{transform:translate(16px)}.profile-actions{padding:12px 0 max(12px, env(safe-area-inset-bottom));background:linear-gradient(transparent, var(--bg) 20%);gap:8px;display:flex;position:sticky;bottom:0}.profile-actions button{border-radius:7px;justify-content:center;align-items:center;gap:6px;min-height:42px;padding:0 13px;font-size:10px;display:flex}.profile-actions .primary{color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;flex:1}.logout-button{color:#a83c16;background:#fff7f3;border:1px solid #f6bba4}.logout-button.confirm{color:#fff;background:#a83c16}.company-detail-content{overflow-y:auto}.company-detail-screen .large-avatar.company{color:#4f4f56}.company-detail-content .field-row{grid-template-columns:20px 1fr auto;text-decoration:none;display:grid}.company-detail-content .field-row.readonly{grid-template-columns:20px minmax(0,1fr) auto auto}.company-detail-content .field-row-editing>svg{color:var(--faint)}@media (max-width:760px){.app-shell{padding-right:env(safe-area-inset-right);padding-left:env(safe-area-inset-left)}.pipeline-switcher{min-height:44px}.app-toast{right:10px;bottom:max(88px, calc(76px + env(safe-area-inset-bottom)));justify-content:space-between;left:10px}.settings-form-grid{grid-template-columns:1fr}.profile-screen>main{padding-bottom:env(safe-area-inset-bottom)}.composer-channel-picker,.composer-file-chip,.composer-recording-hint,.composer-voice-preview,.composer-status{margin-inline-start:7px;margin-inline-end:7px}.auth-error-banner{top:max(6px, env(safe-area-inset-top))}}@media (min-width:761px) and (max-width:1050px){.workspace{grid-template-columns:minmax(340px,390px) 1fr}}@media (min-width:761px){.detail-pane:not(.visible) .desktop-welcome{display:flex}}.rail-avatar{background:0 0;border:0;border-radius:50%;align-self:center;place-items:center;width:42px;height:42px;padding:0;display:grid}.rail-avatar span{background:#dcdce0;border:1px solid #b8b9bf;border-radius:50%;place-items:center;width:42px;height:42px;font-size:11px;font-weight:700;display:grid}.tab-content-wrap{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.detail-view{height:100%}.bottom-tabs{display:none}.next-action-editor{border-bottom:1px solid var(--crm-theme-border,#dcdce0);background:var(--color-warning-soft);flex:none;padding:10px 18px}.next-editor-heading{color:var(--color-text-warm);text-transform:uppercase;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:10px;display:flex}.next-editor-heading button{background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.next-action-editor>label{color:var(--crm-theme-muted,#66666e);align-items:center;gap:6px;margin-bottom:7px;display:inline-flex}.next-action-editor input{border:1px solid var(--crm-theme-border,#b8b9bf);background:var(--crm-theme-glass,#ffffffad);border-radius:6px;width:130px;height:32px;padding:0 8px;font-size:10px}.next-action-editor textarea{resize:none;border:1px solid var(--crm-theme-border,#b8b9bf);background:var(--crm-theme-glass,#ffffffbf);border-radius:6px;width:100%;padding:8px 9px;font-size:11px;line-height:1.4}.next-action-editor>div:last-child{justify-content:space-between;gap:7px;margin-top:7px;display:flex}.schedule-trigger{text-align:left;width:100%;min-height:42px;color:var(--crm-theme-text,#4f4f56);border:1px solid var(--crm-theme-border,#b8b9bf);background:var(--crm-theme-glass,#ffffffc7);border-radius:7px;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:5px 9px;display:grid}.schedule-trigger>span{flex-direction:column;gap:2px;display:flex}.schedule-trigger small{color:var(--crm-theme-muted,#66666e);text-transform:uppercase;font-size:8px;font-weight:600}.schedule-trigger strong{color:var(--text);font-size:10px}.calendar-head{text-align:center;grid-template-columns:30px 1fr 30px;align-items:center;height:32px;display:grid}.calendar-head button{background:var(--bg);border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.calendar-head strong{font:700 13px var(--font-display)}.calendar-weekdays,.calendar-days{grid-template-columns:repeat(7,1fr);gap:3px;display:grid}.calendar-weekdays{color:var(--muted);text-align:center;text-transform:uppercase;padding:7px 0 4px;font-size:7px}.calendar-days button,.calendar-days i{aspect-ratio:1;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;font-size:9px;font-style:normal;display:grid}.calendar-days button:hover{background:var(--surface-2)}.calendar-days button.selected{color:var(--crm-theme-on-solid,white);background:var(--accent);box-shadow:0 4px 10px #c84e3840}.date-modal-backdrop{z-index:180;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1c1d1a61;place-items:center;padding:16px;animation:.16s fade-in;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.date-time-modal{border:1px solid var(--crm-theme-border,#dcdce0);background:var(--surface);border-radius:12px;flex-direction:column;width:min(620px,100%);max-height:min(720px,100dvh - 32px);display:flex;overflow:hidden;box-shadow:0 24px 80px #1e1e1a3d}.date-time-modal>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:64px;padding:9px 14px;display:flex}.date-time-modal>header small{color:var(--muted);text-transform:uppercase;font-size:8px}.date-time-modal>header h2{font:700 17px var(--font-display);margin:3px 0 0}.date-modal-body{grid-template-columns:minmax(280px,1.2fr) minmax(210px,.8fr);min-height:0;display:grid;overflow-y:auto}.calendar-panel{border-right:1px solid var(--line);padding:12px 16px 16px}.time-panel{background:var(--bg);flex-direction:column;padding:18px 16px;display:flex}.time-panel>label{justify-content:space-between;align-items:baseline;display:flex}.time-panel>label span{font-size:10px;font-weight:700}.time-panel>label small{color:var(--muted);font-size:8px}.time-panel>input[type=time]{width:100%;height:54px;color:var(--text);border:1px solid var(--crm-theme-border,#b8b9bf);background:var(--surface);letter-spacing:.04em;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;border-radius:8px;margin-top:10px;padding:0 12px;font-size:22px;font-weight:700}.quick-times{grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px;display:grid}.quick-times button{height:32px;color:var(--muted);border:1px solid var(--line);background:var(--surface);border-radius:6px;padding:0;font-size:9px}.quick-times button.selected{color:var(--crm-theme-accent-text,#a83c16);border-color:var(--crm-theme-border,#f6bba4);background:var(--accent-soft);font-weight:700}.chosen-datetime{border:1px solid var(--crm-theme-border,#dcdce0);background:var(--surface);border-radius:8px;align-items:center;gap:8px;margin-top:auto;padding:11px;display:flex}.chosen-datetime>span{flex-direction:column;gap:2px;display:flex}.chosen-datetime small{color:var(--muted);font-size:8px}.chosen-datetime strong{font-size:10px}.date-time-modal>footer{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;padding:10px 14px;display:flex}.date-time-modal>footer button{border-radius:6px;justify-content:center;align-items:center;gap:5px;min-width:108px;height:38px;font-size:9px;font-weight:700;display:flex}.date-time-modal>footer .secondary{border:1px solid var(--line);background:var(--surface)}.date-time-modal>footer .primary{color:var(--crm-theme-on-solid,white);border:1px solid var(--accent);background:var(--accent)}.primary-inline{color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:6px;align-items:center;gap:5px;padding:0 10px;font-size:9px;font-weight:600;display:flex}.entity-ai-thread{background:0 0}.inline-ai-actions{gap:6px;margin-top:9px;display:flex}.inline-ai-actions button{color:var(--crm-theme-text,#4f4f56);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3);border-radius:5px;align-items:center;gap:4px;padding:5px 7px;font-size:8px;display:flex}.composer-zone.ai-mode,.task-composer.ai-mode{background:var(--crm-theme-surface-soft,#fff0e8)}.send-stack{flex-direction:column;align-items:center;gap:4px;display:flex}.send-stack>.send-button{width:34px;height:34px}.chat-mode-switch{background:var(--crm-theme-surface-soft,#ebebeb);border-radius:9px;padding:2px;display:flex}.chat-mode-switch button{width:17px;height:17px;color:var(--muted)}.chat-mode-switch button.active{color:var(--crm-theme-on-solid,white);background:var(--accent)}.composer-selects label{padding-right:7px;position:relative;box-shadow:0 1px 2px #1e1e1a0a}.composer-selects select{cursor:pointer;min-width:92px;height:100%;padding:0 18px 0 2px}.composer-selects label svg{pointer-events:none;position:absolute;right:7px}.desktop-chat-mode{background:var(--crm-theme-surface-soft,#ebebeb);border-radius:7px;align-items:center;gap:3px;margin-left:auto;padding:2px;display:flex}.desktop-chat-mode button{height:24px;color:var(--muted);background:0 0;border:0;border-radius:5px;align-items:center;gap:4px;padding:0 7px;font-size:8px;display:flex}.desktop-chat-mode button.active{color:var(--crm-theme-on-ink,white);background:var(--crm-theme-ink-surface,var(--text))}.mobile-chat-mode{display:none}.filter-fields select{-webkit-appearance:none;appearance:none;cursor:pointer;background-image:linear-gradient(45deg,#0000 50%,#66666e 50%),linear-gradient(135deg,#66666e 50%,#0000 50%);background-position:calc(100% - 15px) 17px,calc(100% - 11px) 17px;background-repeat:no-repeat;background-size:4px 4px,4px 4px;padding-right:30px}.filter-fields select:focus{border-color:var(--crm-theme-border,#ff9a76);background-color:var(--crm-theme-surface-soft,#fff7f3)}.fields-layout{flex-direction:column;flex:auto;align-items:stretch;gap:12px;min-height:0;display:flex;overflow:hidden auto}.fields-layout>*{flex:none}.fields-layout>.field-section,.fields-layout>.relations-section,.fields-layout>.relation-builder{min-height:max-content}.relations-section{border:1px solid var(--line);background:var(--surface);border-radius:7px;overflow:visible}.relations-section>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:44px;padding:0 12px;display:flex}.relations-section>header div,.relations-section>header button{align-items:center;gap:6px;display:flex}.relations-section h2{font:700 13px var(--font-display);margin:0}.relations-section>header button{color:var(--accent);background:var(--accent-soft);border:0;border-radius:5px;padding:5px 7px;font-size:8px}.relation-row{text-align:left;border:0;border-bottom:1px solid var(--color-border-subtle);background:0 0;grid-template-columns:30px 1fr auto;align-items:center;gap:8px;width:100%;min-height:51px;padding:7px 12px;display:grid}.relation-row>i{width:28px;height:28px;color:var(--crm-theme-muted,#66666e);background:var(--crm-theme-surface-soft,#eee);border-radius:7px;place-items:center;display:grid}.relation-row>i svg{width:15px}.relation-row>span{flex-direction:column;gap:2px;display:flex}.relation-row small,.linked-deals-list>small{color:var(--muted);font-size:8px}.relation-row strong{font-size:10px}.products-relation{padding:10px 12px}.relation-label{align-items:center;gap:8px;font-size:10px;font-weight:700;display:flex}.relation-label small{background:var(--surface-2);border-radius:8px;padding:2px 5px}.relation-label button{width:26px;height:26px;color:var(--accent);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--accent-soft);border-radius:50%;place-items:center;margin-left:auto;padding:0;display:grid}.product-chips{flex-wrap:wrap;gap:5px;margin-top:8px;display:flex}.product-chips>span{border:1px solid var(--line);background:var(--bg);border-radius:13px;align-items:center;gap:4px;padding:5px 5px 5px 8px;font-size:8px;display:flex}.product-chips button{background:var(--crm-theme-surface-soft,#dcdce0);border:0;border-radius:50%;place-items:center;width:17px;height:17px;padding:0;display:grid}.product-search{border:1px solid var(--crm-theme-border,#dcdce0);background:var(--bg);border-radius:6px;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;margin-top:9px;padding:5px 6px;display:grid}.product-search input{background:0 0;border:0;min-width:0;font-size:9px}.product-search button{color:var(--color-primary-strong);border:1px solid var(--color-primary-border);background:var(--color-primary-softer);border-radius:5px;padding:5px 7px;font-size:8px}.empty-relation{width:calc(100% - 20px);min-height:39px;color:var(--accent);border:1px dashed var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3);border-radius:6px;justify-content:center;align-items:center;gap:6px;margin:10px;font-size:9px;display:flex}.linked-deals-list{border-top:1px solid var(--line);padding:9px 12px}.linked-deals-list>button{text-align:left;border:0;border-bottom:1px solid var(--color-border-subtle);background:0 0;grid-template-columns:5px 1fr auto;align-items:center;gap:8px;width:100%;padding:8px 0;display:grid}.linked-deals-list>button i{border-radius:2px;width:4px;height:28px}.linked-deals-list>button span{flex-direction:column;gap:2px;font-size:9px;display:flex}.task-link-zone{border-bottom:1px solid var(--line);background:var(--crm-theme-surface-soft,#f7f7f7);align-items:center;gap:8px;min-height:58px;padding-right:12px;display:flex;position:relative}.task-link-zone>span{color:var(--muted);flex:1;padding-left:16px;font-size:9px}.task-link-zone .linked-deal{border:0;flex:1;min-width:0}.add-task-link{width:34px;height:34px;color:var(--accent);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--accent-soft);border-radius:50%;place-items:center;padding:0;display:grid}.task-link-picker{z-index:30;border:1px solid var(--color-border-strong);background:var(--surface);width:min(430px,100vw - 20px);box-shadow:var(--shadow);border-radius:8px;padding:12px;position:absolute;top:calc(100% + 6px);right:10px}.task-link-picker>strong{font:700 13px var(--font-display)}.picker-types{background:var(--surface-2);border-radius:7px;grid-template-columns:repeat(3,1fr);gap:4px;margin:9px 0;padding:3px;display:grid}.picker-types button{background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;gap:4px;height:31px;font-size:8px;display:flex}.picker-types button.active{color:var(--crm-theme-on-ink,white);background:var(--crm-theme-ink-surface,var(--text))}.picker-options{margin-top:7px;display:grid}.picker-options button{text-align:left;border:0;border-bottom:1px solid var(--line);background:0 0;justify-content:space-between;align-items:center;min-height:36px;padding:0 6px;font-size:9px;display:flex}.task-composer{padding:7px 10px max(8px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface);flex:none;position:relative}.task-composer-head{align-items:center;gap:6px;display:flex}.task-composer-head .task-route-switch{flex:1;min-width:0}.task-route-switch{gap:6px;display:flex}.task-route-switch button{height:29px;color:var(--muted);border:1px solid var(--line);background:var(--bg);border-radius:6px;align-items:center;gap:5px;padding:0 9px;font-size:8px;display:flex}.task-route-switch button.active{color:var(--color-primary-text);border-color:var(--crm-theme-border,#f6bba4);background:var(--accent-soft);font-weight:700}.task-route-current{width:100%;height:31px;color:var(--muted);background:var(--bg);border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;margin-top:6px;padding:0 7px;font-size:9px;display:flex}.task-route-current>span{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:6px;min-width:0;display:flex;overflow:hidden}.task-composer .composer-box{margin:0}.task-fields{align-content:start;gap:10px;display:grid}.task-description-card{border:1px solid var(--line);background:var(--surface);border-radius:9px;min-height:180px;padding:16px}.task-description-card>span{color:var(--muted);text-transform:uppercase;font-size:8px;font-weight:700;display:block}.task-description-card textarea{resize:vertical;width:100%;min-height:132px;color:var(--text);background:0 0;border:0;margin-top:8px;padding:0;font-size:12px;line-height:1.65}.task-key-fields{grid-template-columns:1fr 1fr;gap:8px;display:grid}.task-key-fields>button{text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;min-height:64px;padding:9px 11px;display:grid}.task-key-fields>button>span{flex-direction:column;gap:3px;display:flex}.task-key-fields small{color:var(--muted);font-size:8px}.task-key-fields strong{font-size:10px}.task-meta-row{flex-wrap:wrap;gap:6px;display:flex}.task-meta-row span{color:var(--muted);background:var(--surface-2);border-radius:12px;padding:5px 8px;font-size:8px}.task-meta-row strong{color:var(--text)}.task-route-menu{z-index:25;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);border-radius:8px;max-height:min(360px,100dvh - 260px);padding:10px;position:absolute;bottom:calc(100% + 8px);left:10px;right:10px;overflow-y:auto;box-shadow:0 20px 46px #17171929}.task-route-menu>small{color:var(--muted);letter-spacing:0;text-transform:uppercase;padding:0 4px 8px;font-size:10px;font-weight:800;display:block}.task-route-menu>button{text-align:left;width:100%;min-height:46px;color:var(--text);border:1px solid #0000;border-bottom-color:var(--line);background:0 0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;font-size:12px;font-weight:700;display:grid}.task-route-menu>button:hover{border-color:var(--crm-theme-border,#f6bba4);background:var(--accent-soft);border-radius:7px}.task-route-menu>button.active{color:var(--color-primary-text);border-color:var(--color-primary-border);background:var(--color-primary-softer);border-radius:7px}.task-route-menu>button.approval-create{color:var(--text);background:0 0}.task-route-menu>button.approval-create svg{color:var(--color-success-action)}.task-route-menu>button:last-child{border-bottom-color:#0000}.task-route-menu>button small{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:10px;font-weight:500;display:block;overflow:hidden}.deal-task-discussions{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:7px;margin:4px 0 10px;padding:10px;display:grid}.deal-task-discussions header{color:var(--muted);justify-content:space-between;align-items:center;font-size:10px;font-weight:700;display:flex}.deal-task-discussions header span{align-items:center;gap:6px;display:flex}.deal-task-discussions article{border:1px solid var(--line);background:var(--bg);border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:44px;padding:8px;display:grid}.deal-task-discussions article span{flex-direction:column;gap:2px;min-width:0;display:flex}.deal-task-discussions article strong,.deal-task-discussions article small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.deal-task-discussions article strong{font-size:10px}.deal-task-discussions article small,.deal-task-discussions>small{color:var(--muted);font-size:9px}.deal-task-discussions i{background:var(--color-primary-strong);min-width:18px;height:18px;color:var(--crm-theme-on-solid,#fff);border-radius:999px;place-items:center;font-size:9px;font-style:normal;display:grid}.ai-entity-actions{border-bottom:1px solid var(--line);background:var(--crm-theme-surface-soft,#fff7f3);align-items:center;gap:6px;padding:8px 12px;display:flex}.ai-entity-actions>span{color:var(--muted);margin-right:auto;font-size:8px}.ai-entity-actions button{height:29px;color:var(--crm-theme-text,#4f4f56);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--accent-soft);border-radius:6px;align-items:center;gap:5px;padding:0 8px;font-size:8px;display:flex}.voice-recording{min-height:62px;margin:8px 10px max(8px, env(safe-area-inset-bottom));border:1px solid var(--crm-theme-border,#f6bba4);background:var(--accent-soft);border-radius:8px;align-items:center;gap:9px;padding:9px 10px;display:flex}.voice-recording>i{background:var(--accent);border-radius:50%;width:12px;height:12px;animation:1s infinite record-pulse}.voice-recording>div{flex-direction:column;flex:1;gap:2px;display:flex}.voice-recording small{color:var(--muted);font-size:8px}.voice-recording button{color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:6px;padding:6px 9px;font-size:8px}.profile-screen{z-index:120;background:var(--bg);flex-direction:column;animation:.18s fade-in;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.profile-screen>header{border-bottom:1px solid var(--line);background:var(--surface);grid-template-columns:auto 1fr auto;align-items:center;gap:10px;min-height:76px;padding:10px 18px;display:grid}.profile-screen>header small{color:var(--muted);font-size:9px}.profile-screen>header h1{font:700 19px var(--font-display);margin:2px 0 0}.profile-screen>main{width:min(720px,100% - 28px);margin:22px auto}.profile-screen .profile-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:18px}.profile-screen .profile-card>span{width:54px;height:54px}.settings-section{border:1px solid var(--line);background:var(--surface);border-radius:8px;margin-top:14px;padding:14px 18px}.settings-section h2{font:700 14px var(--font-display);align-items:center;gap:7px;margin:0;display:flex}.settings-section .settings-note{justify-content:space-between}.settings-section .settings-note strong{color:var(--text);font-size:9px}.notification-type-options{gap:9px;padding:10px 0 0}.notification-type-options button{text-align:left;min-height:68px;color:var(--muted);border:1px solid var(--line);background:var(--surface);box-shadow:none;border-radius:8px;grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:12px;padding:11px 13px;transition:border-color .18s,background .18s,box-shadow .18s;display:grid}.notification-type-options button strong{color:var(--muted);overflow-wrap:anywhere;font-size:11px;line-height:1.28}.notification-type-options button small{color:var(--muted);overflow-wrap:anywhere;font-size:9px;line-height:1.35}.telegram-account-section{gap:12px;display:grid}.telegram-account-add,.telegram-account-form button,.telegram-account-disconnect{min-height:38px;color:var(--crm-theme-on-solid,white);background:var(--accent);font:inherit;cursor:pointer;border:0;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:0 13px;font-size:10px;display:inline-flex}.telegram-account-add:disabled,.telegram-account-form button:disabled,.telegram-account-disconnect:disabled{cursor:default;opacity:.62}.telegram-account-card{border:1px solid var(--line);background:var(--bg);border-radius:8px;gap:12px;padding:12px;display:grid}.telegram-account-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.telegram-account-head strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.telegram-account-head span{border:1px solid var(--crm-theme-border,#dcdce0);border-radius:999px;flex:none;padding:4px 8px;font-size:9px;font-weight:800}.telegram-account-head .connected{color:var(--color-primary-strong);border-color:var(--color-primary-border);background:var(--color-primary-softer)}.telegram-account-head .empty{color:var(--crm-theme-accent-text,#a83c16);border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff0e8)}.telegram-account-disconnect{color:var(--crm-theme-accent-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3)}.telegram-account-form{gap:10px;display:grid}.telegram-account-form label{color:var(--muted);gap:5px;font-size:9px;display:grid}.telegram-account-form input{min-width:0;color:var(--text);border:1px solid var(--line);background:var(--surface);border-radius:7px;padding:8px 9px}.telegram-account-form input:disabled{color:var(--muted);background:var(--crm-theme-surface-soft,#ebebeb)}.telegram-code-form{gap:14px}.telegram-code-form label,.telegram-code-form button,.telegram-code-form .telegram-account-message{font-size:14px}.telegram-code-form input{letter-spacing:.15em;min-height:44px;font-size:20px}.telegram-code-form button{white-space:normal;min-height:44px}.telegram-code-form .telegram-code-resend{color:var(--text);border:1px solid var(--line);background:var(--surface)}.telegram-password-step{border:1px solid var(--color-primary-border);background:var(--color-primary-softer);border-radius:8px;gap:8px;padding:12px;display:grid}.telegram-password-step strong{font-size:12px}.telegram-password-step p{color:var(--muted);margin:0;font-size:10px}.telegram-account-message{border-radius:7px;padding:9px 10px;font-size:9px}.telegram-account-message.success{color:var(--color-primary-strong);border:1px solid var(--color-primary-border);background:var(--color-primary-softer)}.telegram-account-message.error{color:var(--crm-theme-danger-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-danger-surface,#fff7f3)}@keyframes record-pulse{50%{opacity:.55;transform:scale(1.35)}}@media (min-width:761px){.app-header{grid-template-columns:minmax(0,1fr) auto}.app-header>.avatar-button{display:none}.filter-drawer{padding-left:var(--rail-width);background:#1c1d1a33;justify-content:stretch;align-items:flex-start}.filter-drawer .bottom-sheet{border-radius:0 0 10px 10px;width:100%;max-width:none;max-height:70vh;padding:0 24px 18px;animation:.24s filter-slide-down}.filter-drawer .bottom-sheet.wide{width:100%}.filter-drawer .sheet-handle{display:none}.filter-drawer .filter-fields{grid-template-columns:repeat(3,minmax(160px,1fr))}@keyframes ai-slide-right{0%{opacity:.4;transform:translate(40px)}}@keyframes filter-slide-down{0%{opacity:.5;transform:translateY(-35px)}}.detail-pane{height:100%;min-height:0;position:relative}.ai-standalone-desktop{z-index:70;width:min(440px, calc(100% - var(--rail-width)));display:block;position:fixed;top:0;bottom:0;left:auto;right:0}.detail-pane.ai-active>.detail-view{display:none}@keyframes detail-ai-in{0%{opacity:.55;transform:translate(18px)}}}@media (max-width:760px){.ai-panel.desktop-surface{display:none}.ai-panel.mobile-surface{display:flex}.top-tabs{display:none}input,textarea{font-size:16px!important}.detail-screen{position:relative}.bottom-tabs{z-index:15;background:var(--crm-theme-glass,#fffefaf0);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);flex:none;order:20;transition:height .2s,opacity .16s,transform .2s;display:grid;position:relative}.bottom-tabs.scroll-hidden{opacity:0;pointer-events:none;border:0;min-height:0;overflow:hidden;transform:translateY(8px);height:0!important}.detail-tabs{border-top:1px solid var(--line);border-bottom:0;height:38px}.detail-tabs button.active:after{top:-1px;bottom:auto}.composer-zone,.task-composer{order:21}.tab-content-wrap{flex:1}.detail-header{min-height:48px;padding:max(5px, env(safe-area-inset-top)) 10px 5px}.detail-header .back-button,.detail-header .icon-button{width:32px;height:32px}.detail-header h1{font-size:14px}.detail-header small{margin-bottom:1px;font-size:8px}.stage-bar{min-height:28px;padding:0 12px;font-size:9px}.stage-bar i{height:14px}.next-action{min-height:40px;padding:5px 12px}.next-action>div{grid-column:1;justify-content:flex-start;gap:8px}.next-action small{font-size:8px}.next-action p{text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:10px;overflow:hidden}.next-action>svg{grid-area:1/2/3;align-self:center}.deal-status-stack{grid-template-columns:minmax(104px,.34fr) minmax(0,1fr);min-height:40px;display:grid}.deal-status-stack .stage-bar{border-right:1px solid var(--line);min-width:0;padding:0 8px}.deal-status-stack .stage-bar span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.deal-status-stack .next-action{border-bottom:1px solid var(--line);min-width:0}.deal-status-stack .next-action-editor{grid-column:1/-1}.deal-picker{max-height:55px;padding:5px 10px;overflow:hidden}.deal-picker>div{margin-top:3px}.deal-picker button{min-width:78%;padding:5px 7px}.deal-picker button i{height:22px}.client-actions{height:35px;padding:3px 12px}.client-actions svg{width:14px;height:14px}.client-actions a,.client-actions button{gap:1px;font-size:7px}.task-link-zone{min-height:42px}.task-link-zone .linked-deal{min-height:42px;padding:5px 10px}.next-action-editor{padding:9px 12px}.contact-strip{height:34px;padding:2px 10px}.contact-strip a{width:28px;height:28px}.conversation{padding:10px}.entity-search{top:7px;right:7px}.entity-search.open{height:36px}.composer-selects{gap:4px;width:100%;height:32px;padding:3px 7px 0;display:flex;overflow:hidden}.composer-selects label{border-color:var(--crm-theme-border,#dcdce0);background:var(--crm-theme-surface-soft,#f3f3f3);flex:auto;min-width:0;height:27px;padding:0 5px}.composer-selects label.composer-kind{flex-basis:88px;max-width:102px}.composer-selects label.composer-channel{flex-basis:112px;max-width:132px}.composer-selects select,.composer-selects label:first-of-type select,.composer-selects label:nth-of-type(2) select{width:100%;min-width:0;max-width:none;color:var(--text);text-overflow:ellipsis;padding-right:15px;font-weight:600;font-size:11px!important}.desktop-chat-mode,.desktop-voice,.desktop-send{display:none!important}.mobile-chat-mode{height:27px;color:var(--crm-theme-text,#4f4f56);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--accent-soft);white-space:nowrap;border-radius:6px;flex:none;align-items:center;gap:3px;margin-left:auto;padding:0 7px;font-size:9px;font-weight:700;display:flex}.mobile-chat-mode.active{color:var(--crm-theme-on-ink,white);border-color:var(--text);background:var(--crm-theme-ink-surface,var(--text))}.composer-box{grid-template-columns:30px minmax(0,1fr) 40px;min-height:48px;margin:3px 7px 0;padding:4px}.composer-zone{padding-bottom:max(5px, env(safe-area-inset-bottom))}.task-route-switch button{flex:1;justify-content:center}.task-detail-screen .task-composer{z-index:5;order:21;position:relative}.task-detail-screen .task-composer.picker-open{z-index:30}.task-description-card{min-height:150px}.task-key-fields{grid-template-columns:1fr}.date-modal-backdrop{align-items:end;padding:0}.date-time-modal{width:100%;max-height:calc(100dvh - env(safe-area-inset-top));border-bottom:0;border-left:0;border-right:0;border-radius:12px 12px 0 0}.date-modal-body{grid-template-columns:1fr}.calendar-panel{border-right:0;padding:8px 14px 12px}.calendar-days button,.calendar-days i{min-height:32px}.time-panel{border-top:1px solid var(--line);padding:12px 14px}.time-panel>input[type=time]{font-size:22px!important}.chosen-datetime{margin-top:10px}.date-time-modal>footer{padding-bottom:max(10px, env(safe-area-inset-bottom))}.date-time-modal>footer button{flex:1}.task-link-picker{right:4px}.ai-panel{top:auto}.ai-panel .ai-expand svg{transform:none}.ai-entity-actions{overflow-x:auto}.ai-entity-actions>span{display:none}.ai-entity-actions button{flex:1 0 auto;justify-content:center}.filter-drawer{align-items:flex-end;padding:0}.profile-screen>header{padding-top:max(10px, env(safe-area-inset-top))}.profile-screen>header .icon-button{display:none}.profile-screen>main{margin-top:12px;overflow-y:auto}}:root{--bg:var(--color-canvas);--surface:var(--color-surface);--surface-2:var(--color-surface-muted);--text:var(--color-text);--muted:var(--color-text-muted);--faint:var(--color-text-faint);--line:var(--color-border);--accent:var(--color-primary);--accent-hover:var(--color-primary-hover);--accent-soft:var(--color-primary-soft);--green:var(--color-success);--danger:var(--color-danger);--danger-soft:var(--color-danger-soft);--warning:var(--color-warning);--warning-soft:var(--color-warning-soft);--info:var(--color-info);--info-soft:var(--color-info-soft);--shadow:var(--shadow-lg)}body{color:var(--text);font-size:14px;line-height:1.45}button,input,textarea,select{letter-spacing:-.01em}button{-webkit-tap-highlight-color:transparent}.mobile-voice,.mobile-send,.mobile-scheduled,.mobile-detail-call{display:none}.mobile-scheduled{position:relative}.mobile-scheduled i{min-width:15px;height:15px;color:var(--crm-theme-on-solid,#fff);border:2px solid var(--surface);background:var(--accent);border-radius:999px;place-items:center;padding:0 3px;font-size:7px;font-style:normal;font-weight:800;line-height:1;display:grid;position:absolute;top:-3px;right:-3px}.ai-entry-icon{place-items:center;width:25px;height:25px;display:grid;position:relative}.ai-entry-icon>svg:first-child{width:22px;height:22px}.ai-entry-icon>svg:last-child{width:14px;height:14px;color:var(--accent);border:2px solid var(--accent);background:var(--crm-theme-surface,white);stroke-width:2.5px;border-radius:50%;padding:2px;position:absolute;bottom:-4px;right:-5px}.header-copy>span{color:var(--text);font:700 24px var(--font-display);letter-spacing:-.025em;text-transform:none;align-items:center;gap:9px;line-height:1.05;display:flex}.header-copy>span:before{content:"";background:linear-gradient(180deg, #d2612b, var(--accent));border-radius:999px;width:6px;height:22px;box-shadow:0 3px 9px #bd49363d}.filter-title{min-height:30px;color:var(--crm-theme-accent-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff0e8);font:700 12px var(--font-display);border-radius:999px;gap:6px;padding:5px 11px;box-shadow:0 2px 8px #87413414}.filter-title:hover{color:var(--crm-theme-accent-text,#a83c16);border-color:var(--crm-theme-border,#ff9a76);background:var(--crm-theme-accent-surface,#ffe4d8)}.filter-title.active{color:var(--crm-theme-on-solid,white);border-color:var(--accent);background:var(--accent);box-shadow:0 4px 12px #bd493633}.count-pill{border-radius:999px;min-width:62px;height:40px;padding:0 10px}.count-pill strong{font-size:15px}.count-pill small{color:var(--muted);font-size:10px}.header-actions .icon-button{color:var(--crm-theme-accent-text,#a83c16);border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff0e8)}.header-actions .icon-button.filter-active{color:var(--crm-theme-on-solid,white);border-color:var(--accent);background:var(--accent)}.icon-button,.back-button{width:40px;height:40px}.search-field input{font-size:13px}.search-field button{background:0 0;border:0;border-radius:50%;place-items:center;width:32px;height:32px;padding:0;display:grid}.segmented{border-radius:10px;padding:4px}.segmented button{border-radius:7px;height:36px;font-size:12px}.stage-heading{height:42px;color:var(--crm-theme-text,#4f4f56);border-bottom-color:color-mix(in srgb, var(--stage,var(--color-primary)) 24%, var(--line));border-left:4px solid var(--stage,var(--color-primary));background:var(--crm-theme-glass,#f0efeaf5);background:color-mix(in srgb, var(--stage,var(--color-primary)) 14%, var(--surface));letter-spacing:0;text-transform:none;grid-template-columns:7px 1fr auto;gap:10px;padding:0 15px 0 12px;font-size:12px;font-weight:750}.stage-heading i{background:var(--stage,var(--color-primary));width:5px;height:22px;box-shadow:0 0 0 3px color-mix(in srgb, var(--stage,var(--color-primary)) 14%, transparent);border-radius:999px}.stage-heading em{min-width:26px;color:var(--crm-theme-text,#4f4f56);background:var(--crm-theme-glass,#ffffff9e);text-align:center;border:1px solid #50544e1a;border-radius:999px;padding:3px 7px}.stage-heading.task{--stage:var(--color-primary)}.stage-heading.task i{background:var(--stage)}.entity-avatar{width:38px;height:38px;font-size:11px}.task-check{width:40px;height:40px}.card-title-row strong{font-size:15px;line-height:1.3}.card-title-row b,.card-title-row time{font-size:12px}.next-line{gap:9px;margin-top:8px;font-size:13px}.next-line time{font-size:12px;font-weight:600}.signal-line{gap:7px;margin-top:8px;font-size:12px}.signal-line.message{color:var(--crm-theme-text,#4f4f56)}.signal-line.call{color:var(--info)}.signal-line.late,.task-card time.late{color:var(--danger)}.client-card p{margin:8px 0 5px;font-size:13px}.client-card small,.task-card small{font-size:11px;line-height:1.35}.completed-fold{min-height:48px;padding:0 16px;font-size:12px}.transfer-notices{padding:10px 12px}.transfer-notice-card{border-radius:var(--radius-sm);min-height:78px;padding:13px}.transfer-notice-card strong{font-size:14px}.transfer-notice-card p{font-size:11px}.transfer-notice-card button{min-width:44px;height:40px;font-size:11px}.bottom-nav{left:calc(var(--rail-width) + 16px);grid-template-columns:minmax(0,1fr) 66px;gap:9px;width:432px}.nav-switch,.nav-actions{border:1px solid var(--crm-theme-border,#cdcec6f0);border-radius:var(--radius-md);background:var(--crm-theme-glass,#fffefaf0);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);height:66px;box-shadow:0 12px 34px #23252126}.nav-switch button{border-radius:8px;gap:4px;font-size:10px}.nav-switch button svg{width:20px;height:20px}.nav-actions{grid-template-columns:1fr;padding:5px;display:grid}.nav-actions button{min-width:0;color:var(--crm-theme-on-solid,white);background:linear-gradient(145deg, var(--color-primary-strong), #a83c16);border:0;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:0;font-size:10px;font-weight:750;display:flex}.nav-actions .ai-entry-icon{width:23px;height:23px}.nav-actions .ai-entry-icon>svg:first-child{width:20px;height:20px}.nav-actions .ai-entry-icon>svg:last-child{width:13px;height:13px;bottom:-3px;right:-4px}.nav-actions button:active{transform:scale(.96)}.entity-scroll{padding-bottom:96px}.detail-header{grid-template-columns:auto minmax(0,1fr) auto;gap:12px;min-height:68px;padding:10px 16px}.detail-header-actions{align-items:center;gap:7px;display:flex}.detail-header h1{font-size:19px;line-height:1.22}.detail-header small{margin-bottom:3px;font-size:11px}.deal-status-stack{background:var(--surface)}.stage-bar{min-height:44px;padding:0 16px;font-size:12px}.stage-bar i{width:7px;height:22px}.next-action small,.next-action time{font-size:11px}.next-action p{margin-top:5px;font-size:13px;line-height:1.35}.detail-tabs{background:var(--crm-theme-glass,#fffefaf5);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);height:46px}.detail-tabs button{font-size:12px}.contact-strip{height:auto;min-height:46px;padding:4px 14px}.contact-strip button{min-height:38px}.contact-strip button span{font-size:12px}.contact-strip button small{font-size:10px}.contact-strip a{width:40px;height:40px}.conversation{padding:16px}.message{border-radius:11px;padding:10px 12px;font-size:13px}.message time,.timeline-event time{font-size:10px}.timeline-event{font-size:11px}.entity-search>button{width:40px;height:40px}.entity-search.open{height:42px}.entity-search input{font-size:12px}.composer-selects{height:44px;padding:7px 12px 0}.composer-selects label{height:34px;font-size:11px}.composer-selects select{font-size:11px}.composer-box button{width:40px;height:40px}.composer-box textarea{min-height:40px;padding:10px 5px 6px;font-size:13px}.desktop-chat-mode button{height:30px;padding:0 9px;font-size:10px}.field-section h2,.relations-section h2{font:700 15px var(--font-display)}.field-row{min-height:56px}.field-row span{font-size:12px}.field-row strong{font-size:13px}.field-row-editing{grid-template-columns:minmax(98px,.5fr) minmax(0,1fr) auto;align-items:start}.field-row-editing>span{padding-top:9px;font-size:12px}.field-inline-actions{padding-top:2px}.company-detail-content .field-row-editing{grid-template-columns:20px minmax(88px,.42fr) minmax(0,1fr) auto}.field-inline-control input,.field-inline-control select{height:36px;font-size:13px}.field-inline-control textarea{font-size:13px}.history-list time,.note-block small,.linked-block small,.linked-deal small{font-size:11px}.history-list p,.note-block p{font-size:13px}.client-actions a,.client-actions button{min-height:44px;font-size:11px}.deal-picker>small,.relation-row small,.linked-deals-list>small,.task-description-card>span,.task-key-fields small,.task-route-menu>small{font-size:11px}.deal-picker button span,.linked-deals-list>button span,.task-link-zone>span{font-size:12px}.deal-picker button small{font-size:11px}.relations-section>header button,.product-search button,.inline-ai-actions button{min-height:36px;font-size:11px}.relation-row{min-height:60px}.relation-row strong,.task-key-fields strong,.relation-label{font-size:13px}.relation-label button{width:36px;height:36px}.product-chips>span{min-height:34px;font-size:11px}.product-chips button{width:24px;height:24px}.product-search{min-height:44px}.product-search input{font-size:12px}.empty-relation{min-height:46px;font-size:12px}.picker-types button,.task-route-switch button,.ai-entity-actions button{height:auto;min-height:40px;font-size:11px}.picker-options button,.task-route-menu>button{min-height:44px;font-size:12px}.task-route-current{height:40px;font-size:11px}.task-meta-row span,.ai-entity-actions>span,.next-editor-heading,.next-editor label,.schedule-trigger small{font-size:11px}.next-editor input,.next-action-editor input{height:42px;font-size:13px}.schedule-trigger{min-height:52px}.schedule-trigger strong{font-size:13px}.ai-format,.primary-inline{min-height:40px;font-size:12px}.calendar-weekdays,.date-time-modal>header small,.time-panel>label small,.chosen-datetime small{font-size:11px}.calendar-days button,.calendar-days i{min-height:40px;font-size:12px}.time-panel>label span,.chosen-datetime strong{font-size:13px}.quick-times button{height:40px;font-size:12px}.date-time-modal>footer button{height:44px;font-size:12px}.bulk-bar strong{font-size:13px}.bulk-bar>button:not(.icon-button){height:42px;font-size:12px}.profile-screen>header small,.settings-section .settings-note strong{font-size:11px}.ai-panel>header{min-height:72px;padding:15px 16px 9px}.ai-identity>i{border-radius:10px;width:42px;height:42px}.ai-identity strong{font:700 15px var(--font-display)}.ai-identity small{font-size:11px}.ai-thread{padding:14px 16px}.ai-message{border-radius:10px;margin-bottom:10px;padding:10px 12px;font-size:13px}.ai-message>div button{min-height:36px;padding:6px 10px;font-size:11px}.ai-suggestions button{border-radius:8px;height:38px;padding:0 11px;font-size:11px}.voice-recording{min-height:70px}.voice-recording strong{font-size:12px}.voice-recording small{font-size:10px}.voice-recording button{min-height:38px;font-size:11px}.bottom-sheet>header{height:64px}.bottom-sheet h2{font:700 19px var(--font-display)}.option-list button{min-height:50px;font-size:13px}.filter-fields label{gap:7px;font-size:12px}.filter-fields select,.filter-fields input{height:46px;font-size:13px}.sheet-footer button,.stage-options button{min-height:48px;font-size:13px}.profile-card strong{font-size:14px}.profile-card small,.sheet-label,.settings-note{font-size:11px}.empty-state strong{font-size:15px}.empty-state p,.desktop-welcome p{font-size:13px}.warehouse-intro h1{font-size:28px}.warehouse-intro p{font-size:13px}.eyebrow,.updated{font-size:11px}.stock-metrics article{border-radius:var(--radius-md);min-height:120px;padding:15px}.stock-metrics article>span{font-size:12px}.stock-metrics article>small{font-size:11px}.warehouse-search input{font-size:12px}.stock-filter-chips button{height:38px;padding:0 12px;font-size:11px}.stock-filter-chips button b{font-size:10px}.inventory-section,.restriction-section{border-radius:var(--radius-md)}.inventory-section h2,.restriction-section h2{font:700 18px var(--font-display)}.inventory-section header span,.restriction-section header span,.inventory-section header small{font-size:11px}.inventory-grid-head{min-height:42px;font-size:10px}.inventory-row{min-height:78px;font-size:12px}.inventory-model strong{font-size:13px}.inventory-model code,.restriction-list code{font-size:10px}.status-pill{padding:5px 9px;font-size:10px}.restriction-list article{min-height:68px;font-size:12px}.restriction-list article strong{font-size:12px}.restriction-list article small,.restriction-list article>i{font-size:10px}@media (min-width:761px) and (max-width:1120px){.warehouse-dashboard{padding:18px}.warehouse-dashboard .stock-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.warehouse-dashboard .inventory-grid-head{display:none}.warehouse-dashboard .inventory-grid:not(.warehouse-report-grid){background:var(--crm-theme-surface-soft,#eee);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px;display:grid}.warehouse-dashboard .inventory-row:not(.warehouse-report-row){border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);grid-template-columns:1fr 1fr;gap:12px 16px;min-height:0;padding:14px;display:grid}.warehouse-dashboard .inventory-row:not(.warehouse-report-row):first-of-type{border-top:1px solid var(--line)}.warehouse-dashboard .inventory-model{box-shadow:none;grid-column:1/-1;padding:0 84px 0 0;position:static}.warehouse-dashboard .inventory-row:not(.warehouse-report-row)>span,.warehouse-dashboard .inventory-row:not(.warehouse-report-row)>.inventory-edit-cell,.warehouse-dashboard .inventory-model{box-shadow:none}.warehouse-dashboard .inventory-row:not(.warehouse-report-row)>span,.warehouse-dashboard .inventory-row:not(.warehouse-report-row)>.inventory-edit-cell{overflow-wrap:anywhere;flex-direction:column;gap:4px;display:flex}.warehouse-dashboard .inventory-row:not(.warehouse-report-row)>span:before,.warehouse-dashboard .inventory-row:not(.warehouse-report-row)>.inventory-edit-cell:before{content:attr(data-label);color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:700}.warehouse-dashboard .inventory-row>.inventory-edit-cell.active:before{content:none}.warehouse-dashboard .restriction-list article{grid-template-columns:minmax(140px,1fr) minmax(160px,1fr) minmax(140px,1fr) auto}}@media (max-width:760px){.workspace{margin-left:0}.app-header{min-height:82px;padding:max(10px, env(safe-area-inset-top)) 12px 10px}.avatar-button,.avatar-button span{width:44px;height:44px}.header-copy{gap:5px}.header-copy>span{gap:7px;font-size:21px}.header-copy>span:before{width:5px;height:19px}.filter-title{min-height:29px;padding:4px 10px;font-size:12px}.count-pill{min-width:54px;height:38px;padding:0 8px}.count-pill strong{font-size:14px}.app-header .icon-button{width:44px;height:44px}.search-zone{padding:10px 12px}.search-field{height:46px}.entity-scroll{padding-bottom:102px}.entity-card{gap:10px;min-height:96px;padding:14px 12px}.card-title-row strong{font-size:15px}.card-title-row b,.card-title-row time{font-size:11px}.next-line{font-size:13px}.signal-line{font-size:12px}.stage-group+.stage-group{border-top-width:6px}.stage-heading{height:44px;padding-right:12px;font-size:13px}.bottom-nav{right:8px;bottom:max(8px, env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) 66px;gap:7px;width:auto;left:8px}.nav-switch,.nav-actions{border-radius:13px;height:68px}.nav-switch{gap:2px;padding:4px}.nav-switch button{min-width:0;font-size:9px}.nav-switch button svg{width:20px}.nav-actions{padding:4px}.nav-actions button{font-size:10px}.detail-header{min-height:60px;padding:max(7px, env(safe-area-inset-top)) 8px 7px}.detail-header .back-button,.detail-header .icon-button,.mobile-detail-call{width:44px;height:44px}.detail-header h1{font-size:16px}.detail-header small{font-size:10px}.mobile-detail-call{color:var(--color-primary-strong);border:1px solid var(--color-primary-border);background:var(--color-primary-softer);border-radius:50%;place-items:center;text-decoration:none;display:grid}.deal-status-stack{grid-template-columns:minmax(118px,.36fr) minmax(0,1fr);min-height:48px}.deal-status-stack .stage-bar{min-height:48px;padding:0 10px;font-size:11px}.deal-status-stack .next-action{min-height:48px;padding:6px 10px}.next-action small,.next-action time{font-size:10px}.next-action p{margin-top:3px;font-size:12px}.deal-contact-strip{display:none}.top-tabs{z-index:16;flex:none;display:grid;position:sticky;top:0}.bottom-tabs{display:none!important}.detail-tabs{border-top:0;border-bottom:1px solid var(--line);height:44px}.detail-tabs button{font-size:12px}.detail-tabs button.active:after{top:auto;bottom:-1px}.contact-strip{min-height:44px;padding:2px 10px}.contact-strip a{width:40px;height:40px}.conversation{padding:12px}.message{font-size:13px}.composer-selects{height:42px;padding:6px 8px 0}.composer-selects label{height:34px;padding:0 7px}.mobile-chat-mode{height:34px;padding:0 9px;font-size:11px}.composer-box{grid-template-columns:40px minmax(0,1fr) 40px 40px;gap:2px;min-height:58px;margin:5px 7px 0;padding:4px}.composer-box textarea{min-height:40px}.mobile-voice,.mobile-send{border:0;border-radius:50%;place-items:center;padding:0;width:40px!important;height:40px!important;display:grid!important}.mobile-voice{color:var(--muted);background:var(--surface-2)}.mobile-voice.recording{color:var(--crm-theme-on-solid,white);background:var(--danger);animation:1s infinite record-pulse}.mobile-send{color:var(--crm-theme-on-solid,white);background:var(--accent)}.composer-zone{padding-bottom:max(7px, env(safe-area-inset-bottom))}.client-actions{height:auto;min-height:52px;padding:4px 10px}.client-actions a,.client-actions button{gap:3px;font-size:10px}.client-actions svg{width:17px;height:17px}.ai-panel{border-radius:16px 16px 0 0;min-height:330px}.ai-panel>header{min-height:70px}.ai-message{font-size:13px}.ai-suggestions button{height:40px;font-size:11px}.bottom-sheet h2{font-size:18px}.option-list button,.stage-options button{min-height:50px;font-size:13px}.warehouse-intro h1{font-size:23px}.warehouse-intro p{font-size:11px}.stock-metrics article{min-height:102px}.stock-metrics article>span{font-size:11px}.stock-metrics article>small{font-size:10px}.inventory-row>span{font-size:12px}.inventory-row>span:before{font-size:10px}.inventory-model strong{font-size:14px}.inventory-model code{font-size:11px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.icon-button.search-active{color:var(--crm-theme-accent-text,#a83c16);border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff0e8)}.search-reveal{transform-origin:top;animation:.2s cubic-bezier(.2,.72,.3,1) search-reveal}.view-switch button{justify-content:center;align-items:center;gap:6px;display:flex}.search-zone .segmented button.active{color:var(--crm-theme-accent-text,#a83c16);background:var(--crm-theme-accent-surface,#ffe4d8);box-shadow:inset 0 0 0 1px #c84e3824,0 1px 4px #502a2314}.search-scope-switch{scrollbar-width:none;border-bottom:1px solid var(--line);gap:16px;min-width:0;display:flex;overflow-x:auto}.search-scope-switch button{height:32px;color:var(--muted);box-shadow:none;white-space:nowrap;background:0 0;border:0;border-radius:0;flex:none;padding:0;font-size:12px;font-weight:700;position:relative}@keyframes search-reveal{0%{opacity:0;transform:translateY(-5px)scaleY(.9)}}.stage-heading{border:0;border-bottom:1px solid var(--crm-theme-border,#deded7bf);text-align:left;grid-template-columns:8px minmax(0,1fr) auto 18px;width:100%}.stage-heading>svg.folded{transform:rotate(-90deg)}.sales-search-zone+.entity-scroll{padding-top:0}.entity-scroll .stage-group{overflow:visible}.entity-scroll .stage-heading{z-index:12;position:sticky;top:0}.stage-load-more-button{margin-top:10px}.next-line{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.compact-signal{width:25px;height:25px;color:var(--crm-theme-accent-text,#a83c16);background:var(--crm-theme-accent-surface,#ffe4d8);border-radius:50%;place-items:center;line-height:0;display:grid}.compact-signal>svg{display:block}.compact-signal:not(.call):not(.late)>svg{transform:translate(-1px,-1px)}.compact-signal.call{color:var(--color-text-secondary);background:var(--color-surface-hover)}.deal-chat-list{background:var(--surface)}.deal-chat-row{border-bottom:1px solid var(--crm-theme-border,#ebebeb);background:var(--surface);cursor:pointer;align-items:center;gap:11px;min-height:82px;padding:11px 13px;display:flex}.deal-chat-row.selected .select-target{color:var(--crm-theme-on-solid,white);background:var(--accent)}.ai-attention{color:#fff;border:2px solid var(--surface);background:#d2612b;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;display:grid;box-shadow:0 2px 7px #a8312647}.deal-card .card-attention{z-index:2;position:absolute;top:7px;right:7px}.deal-card .card-attention+*{margin-right:20px}.chat-avatar{color:#4f4f56;background:linear-gradient(145deg,#ffe4d8,#f6bba4);border-radius:50%;place-items:center;width:42px;height:42px;font-size:11px;font-weight:700;display:grid}.chat-row-main{flex:1;min-width:0}.chat-row-main>div{justify-content:space-between;align-items:center;gap:9px;display:flex}.chat-row-main strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.chat-row-main time{color:var(--muted);flex:none;font-size:9px}.chat-row-main p{color:var(--crm-theme-text,#4f4f56);text-overflow:ellipsis;white-space:nowrap;margin:5px 0 3px;font-size:11px;overflow:hidden}.chat-row-main small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;display:block;overflow:hidden}.chat-activity{width:27px;height:27px;color:var(--crm-theme-accent-text,#a83c16);background:var(--crm-theme-accent-surface,#ffe4d8);border-radius:50%;place-items:center;line-height:0;display:grid}.chat-activity>svg{display:block}.chat-activity:not(.call)>svg{transform:translate(-1px,-1px)}.chat-activity.call{color:var(--color-text-secondary);background:var(--color-surface-hover)}.chat-activity.quiet{color:var(--faint);background:var(--surface-2)}.detail-tabs.tabs-4{grid-template-columns:repeat(4,1fr)}.detail-tabs.tabs-5{grid-template-columns:repeat(5,minmax(0,1fr))}.detail-tabs.tabs-3{grid-template-columns:repeat(3,1fr)}.detail-tabs button{border-radius:7px;margin:4px 3px;transition:color .16s,background .16s}.detail-tabs button.active:after{background:var(--color-primary-strong);left:30%;right:30%}.deal-direct-actions{align-items:center;gap:6px;display:flex}.deal-action-circle{width:38px;height:38px;color:var(--crm-theme-muted,#66666e);border-color:var(--crm-theme-border,#dcdce0);background:var(--crm-theme-surface-soft,#f7f7f7)}.deal-action-circle:hover{color:var(--crm-theme-accent-text,#a83c16);border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff0e8)}.deal-action-circle.archive{color:var(--crm-theme-accent-text,#a83c16);border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3)}.deal-action-circle svg{width:16px}.entity-action-menu.notification-only{padding-bottom:12px}.bot-control{z-index:8;height:34px;color:var(--crm-theme-text,#4f4f56);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-glass,#fff8f6f5);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:17px;align-items:center;gap:6px;padding:0 10px;font-size:9px;font-weight:700;display:flex;position:absolute;top:9px;left:10px;box-shadow:0 2px 8px #46261f14}.bot-control.active{color:#fff;border-color:var(--crm-theme-border,#a83c16);background:#a83c16}.bot-settings-card{z-index:30;border:1px solid var(--crm-theme-border,#b8b9bf);background:var(--surface);border-radius:12px;width:min(360px,100% - 20px);padding:12px;position:absolute;top:51px;left:10px;box-shadow:0 18px 50px #2d211d33}.bot-settings-card>header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.bot-settings-card>header span{color:var(--crm-theme-accent-text,#a83c16);align-items:center;gap:7px;display:flex}.bot-settings-card>header button{background:var(--bg);border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.bot-settings-card>label:not(.bot-autopilot-toggle){color:var(--muted);gap:5px;margin-top:10px;font-size:9px;display:grid}.bot-settings-card textarea{border:1px solid var(--line);background:var(--bg);resize:vertical;font:inherit;border-radius:7px;padding:9px;line-height:1.45}.bot-autopilot-toggle{border-block:1px solid var(--line);align-items:center;gap:10px;min-height:52px;padding:8px 0;display:flex}.bot-autopilot-toggle>span{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.bot-autopilot-toggle strong{font-size:10px}.bot-autopilot-toggle small{color:var(--muted);font-size:8px;line-height:1.4}.bot-autopilot-toggle input{opacity:0;position:absolute}.bot-autopilot-toggle i{background:var(--crm-theme-surface-soft,#dcdce0);border-radius:11px;flex:none;width:38px;height:22px;position:relative}.bot-autopilot-toggle i:after{content:"";background:var(--crm-theme-surface,white);border-radius:50%;width:16px;height:16px;transition:transform .18s;position:absolute;top:3px;left:3px}.bot-autopilot-toggle input:checked+i{background:var(--accent)}.bot-autopilot-toggle input:checked+i:after{transform:translate(16px)}.bot-save{min-height:34px;color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:7px;justify-content:center;align-items:center;gap:5px;margin:10px 0 0 auto;padding:0 11px;font-size:9px;font-weight:700;display:flex}.deal-client-conversation{padding-top:58px}.field-row.static{cursor:default}.field-row.link-row{color:inherit;text-decoration:none}.field-row.link-row strong{color:var(--crm-theme-text,#4f4f56)}.ai-reply-request{border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3);border-radius:12px;width:min(470px,92%);margin:14px auto;padding:12px;box-shadow:0 7px 24px #7d362a1c}.ai-reply-request header{align-items:center;gap:8px;display:flex}.ai-reply-request header>i{color:#fff;background:#d2612b;border-radius:50%;place-items:center;width:29px;height:29px;display:grid}.ai-reply-request header span{flex-direction:column;gap:2px;display:flex}.ai-reply-request header strong{font-size:11px}.ai-reply-request header small{color:var(--crm-theme-muted,#66666e);font-size:8px}.ai-reply-request>p{background:var(--crm-theme-surface,white);border-radius:8px;margin:11px 0;padding:10px;font-size:11px;line-height:1.5}.ai-reply-request>div{gap:7px;display:flex}.ai-reply-request button{min-height:34px;color:var(--crm-theme-text,#4f4f56);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface,white);border-radius:7px;justify-content:center;align-items:center;gap:5px;padding:0 10px;font-size:9px;font-weight:700;display:flex}.next-action-main{text-align:left;background:0 0;border:0;align-items:center;gap:7px;min-width:0;padding:8px 8px 8px 15px;display:flex}.next-action-main>span{flex:1;min-width:0}.next-action-main small{color:var(--crm-theme-muted,#66666e);text-transform:uppercase;font-size:9px;font-weight:700}.next-action-main p{text-overflow:ellipsis;white-space:nowrap;margin:3px 0 0;font-size:11px;font-weight:600;overflow:hidden}.next-action-main>svg{color:var(--crm-theme-muted,#9697a0)}.next-action-date{min-width:94px;color:var(--color-text-warm);border:0;border-left:1px solid var(--crm-theme-border,#dcdce0);background:var(--crm-theme-glass-soft,#ffffff4d);justify-content:center;align-items:center;gap:5px;padding:0 12px;font-size:9px;display:flex}.next-action-editor{border-top:0;border-bottom:1px solid var(--crm-theme-border,#dcdce0);padding:10px 12px}.action-format-switch{background:var(--crm-theme-glass-soft,#d9cdb86b);border-radius:7px;gap:3px;width:fit-content;margin-bottom:8px;padding:3px;display:flex}.action-format-switch button{height:27px;color:var(--crm-theme-muted,#66666e);background:0 0;border:0;border-radius:5px;align-items:center;gap:4px;padding:0 8px;font-size:9px;display:flex}.action-format-switch button.active{color:var(--crm-theme-text,#4f4f56);background:var(--color-surface);box-shadow:0 1px 3px #4134261a}.next-checklist{gap:6px;display:grid}.next-check-row{grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:5px;min-width:0;display:grid}.next-check-row>input{border:1px solid var(--crm-theme-border,#b8b9bf);background:var(--crm-theme-glass,#ffffffc7);border-radius:6px;min-width:0;height:36px;padding:0 8px;font-size:10px}.mini-check{color:#fff;border:1px solid var(--crm-theme-border,#b8b9bf);background:var(--crm-theme-surface,white);border-radius:50%;place-items:center;width:21px;height:21px;padding:0;display:grid}.mini-check.done{border-color:var(--green);background:var(--green)}.check-date{height:30px;color:var(--crm-theme-muted,#66666e);background:var(--crm-theme-glass-soft,#ffffff7a);border:0;border-radius:6px;align-items:center;gap:4px;padding:0 7px;font-size:8px;display:flex}.remove-check{width:28px;height:28px;color:var(--crm-theme-muted,#9697a0);background:0 0;border:0;place-items:center;padding:0;display:grid}.add-check-row{width:fit-content;height:30px;color:var(--crm-theme-text,#4f4f56);border:1px dashed var(--crm-theme-border,#b8b9bf);background:var(--crm-theme-glass-soft,#ffffff52);border-radius:6px;align-items:center;gap:5px;padding:0 8px;font-size:9px;display:flex}.next-editor-actions{justify-content:space-between;gap:7px;margin-top:8px;display:flex}.composer-zone,.task-composer{position:relative}.composer-toolbar{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:48px;padding:6px 10px 0;display:grid}.composer-route-switch{align-items:center;gap:4px;display:flex}.composer-route-switch>button{height:34px;color:var(--crm-theme-accent-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3);border-radius:8px;align-items:center;gap:5px;padding:0 8px;font-size:9px;font-weight:650;display:flex}.composer-route-switch>button.active{color:var(--crm-theme-on-solid,white);border-color:var(--color-primary-strong);background:var(--color-primary-strong);box-shadow:0 3px 9px #ad412e2e}.task-composer .composer-toolbar{grid-template-columns:minmax(0,1fr) auto}.task-composer .task-recipient{grid-template-columns:38px minmax(0,1fr);justify-self:stretch;align-items:center;gap:4px;width:min(420px,100%)}.task-composer .task-channel-badge{color:#fff;background:linear-gradient(145deg,#ff7a45 0%,#e85a28 100%);border:0;border-radius:50%;place-items:center;width:34px;height:34px;padding:0;display:grid;position:relative;box-shadow:0 4px 12px #ff4f2e3d}.task-composer .task-channel-badge.approval{background:linear-gradient(145deg,#ff7a45 0%,#e85a28 100%)}.task-composer .task-recipient .recipient-label{background:0 0;border:0;justify-content:center;align-items:center;min-width:0;height:38px;padding:0 4px;display:flex}.task-composer .task-recipient .recipient-label>span{flex-direction:column;align-items:center;min-width:0;display:flex}.task-composer .task-recipient .recipient-label strong,.task-composer .task-recipient .recipient-label small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.task-mode-menu>button>span{flex-direction:column;gap:2px;min-width:0;display:flex}.task-mode-menu>button>span small{text-transform:none;padding:0}.task-mode-menu>button.active{color:var(--crm-theme-accent-text,#a83c16);background:var(--crm-theme-surface-soft,#fff7f3)}.composer-recipient{grid-template-columns:minmax(0,1fr) 32px;justify-self:center;width:min(300px,100%);min-width:0;display:grid;position:relative}.composer-recipient>button:first-child{background:0 0;border:0;justify-content:center;align-items:center;gap:6px;min-width:0;height:38px;padding:0 7px;display:flex}.composer-recipient>button:first-child>span{flex-direction:column;align-items:center;min-width:0;display:flex}.composer-recipient strong,.composer-mode-title{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.composer-recipient small{max-width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.composer-recipient .add-recipient{width:30px;height:30px;color:var(--crm-theme-accent-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--color-primary-softer);border-radius:50%;align-self:center;place-items:center;padding:0;display:grid}.composer-mode-title{color:var(--muted);justify-self:center}.composer-ai-toggle{height:34px;color:var(--crm-theme-accent-text,#a83c16);border:1px solid var(--color-primary-border);background:var(--color-primary-softer);border-radius:8px;align-items:center;gap:5px;padding:0 9px;font-size:9px;font-weight:700;display:flex}.composer-ai-toggle.active{color:#fff;background:#171719;border-color:#171719}.recipient-menu{z-index:40;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:10px;padding:6px;position:absolute;bottom:calc(100% + 7px);left:0;right:0}.recipient-menu>button{text-align:left;border:0;border-bottom:1px solid var(--line);background:0 0;justify-content:space-between;align-items:center;width:100%;min-height:44px;padding:5px 8px;display:flex}.recipient-menu>button:last-child{border-bottom:0}.recipient-menu span{flex-direction:column;gap:2px;min-width:0;font-size:10px;display:flex}.recipient-menu small{color:var(--muted);font-size:8px}.scheduled-message-hint{min-height:28px;color:var(--crm-theme-muted,#66666e);border:1px solid var(--crm-theme-border,#dcdce0);background:var(--crm-theme-surface-soft,#fff0e8);border-radius:7px;align-items:center;gap:6px;margin:5px 10px 0;padding:4px 7px;font-size:9px;display:flex}.scheduled-message-hint button{background:0 0;border:0;place-items:center;width:22px;height:22px;margin-left:auto;padding:0;display:grid}.scheduled-send-date{cursor:pointer;text-align:left;justify-content:flex-start;width:calc(100% - 20px);min-height:36px;font-size:12px}.scheduled-send-date span{flex:1}.scheduled-send-date strong{color:var(--crm-theme-text,#303039)}.scheduled-send-date:disabled{cursor:default;opacity:.65}.contact-attach{gap:2px;padding:10px 0;display:grid}.contact-attach>p{color:var(--muted);margin:0 5px 8px;font-size:10px;line-height:1.5}.contact-attach>button{text-align:left;border:0;border-bottom:1px solid var(--line);background:0 0;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;min-height:52px;padding:6px 5px;display:grid}.contact-attach>button>span:nth-child(2){flex-direction:column;gap:3px;display:flex}.contact-attach strong{font-size:11px}.contact-attach small{color:var(--muted);font-size:9px}.contact-attach>label{color:var(--muted);flex-direction:column;gap:6px;margin-top:8px;font-size:9px;display:flex}.contact-attach>label>div{grid-template-columns:minmax(0,1fr) auto;gap:7px;display:grid}.contact-attach input{border:1px solid var(--line);background:var(--bg);border-radius:7px;min-width:0;height:42px;padding:0 10px}.contact-attach label button{color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:7px;align-items:center;gap:5px;padding:0 12px;font-size:10px;display:flex}.deal-tasks{align-content:start;gap:10px;display:grid}.deal-tasks-room{background:var(--bg);flex-direction:column;flex:1;min-height:0;display:flex;position:relative;overflow:hidden}.team-chat-header{border-bottom:1px solid var(--line);background:var(--surface);flex:none;justify-content:space-between;align-items:center;gap:10px;min-height:58px;padding:8px 12px;display:flex}.team-chat-header>div{align-items:center;gap:9px;min-width:0;display:flex}.team-chat-header>div>svg{color:var(--crm-theme-accent-text,#a83c16)}.team-chat-header span{flex-direction:column;gap:2px;min-width:0;display:flex}.team-chat-header strong{font-size:11px}.team-chat-header small{color:var(--muted);font-size:8px}.team-chat-header>button{min-height:36px;color:var(--crm-theme-accent-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3);border-radius:8px;align-items:center;gap:6px;padding:0 9px;font-size:9px;font-weight:700;display:flex}.team-chat-header>button>span{display:inline}.team-chat-header>button i{min-width:19px;height:19px;color:var(--crm-theme-on-solid,white);background:var(--accent);border-radius:10px;place-items:center;font-size:8px;font-style:normal;display:grid}.deal-team-feed{flex:1;min-height:0;padding:12px;overflow-y:auto}.team-room-title{align-items:center;gap:8px;margin:0 2px 10px;display:flex}.team-room-title>svg{color:var(--crm-theme-accent-text,#a83c16)}.team-room-title span{flex-direction:column;gap:2px;display:flex}.team-room-title strong{font-size:11px}.team-room-title small{color:var(--muted);font-size:8px}.deal-task-list.pinned{border-color:var(--crm-theme-border,#b8b9bf);background:var(--crm-theme-surface-soft,#fff7f3);margin:10px 0}.deal-task-list.pinned article{background:var(--crm-theme-glass,#fffbf2db)}.deal-task-list.pinned article>span>small:first-child{color:var(--crm-theme-muted,#66666e);text-transform:uppercase;font-size:7px;font-weight:700}.deal-task-board{background:var(--bg);flex:1;grid-template-columns:minmax(220px,38%) minmax(0,1fr);gap:10px;min-height:0;padding:12px;display:grid;overflow:hidden}.deal-task-column,.deal-task-chat-panel{flex-direction:column;min-height:0;display:flex;overflow:hidden}.deal-task-column{gap:10px}.deal-task-chat-panel{border:1px solid var(--line);background:var(--surface);border-radius:10px;box-shadow:0 2px 8px #232a2e0a}.deal-task-chat-panel>header{border-bottom:1px solid var(--line);flex:none;align-items:center;min-height:52px;padding:10px 12px;display:flex}.deal-task-chat-panel>header span{flex-direction:column;gap:3px;min-width:0;display:flex}.deal-task-chat-panel>header strong,.deal-task-chat-panel>header small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.deal-task-chat-panel>header strong{font-size:12px}.deal-task-chat-panel>header small{color:var(--muted);font-size:9px}.deal-task-summary-counts{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.deal-task-summary-counts span{min-height:24px;color:var(--crm-theme-text,#4f4f56);border:1px solid var(--line);background:var(--bg);border-radius:999px;align-items:center;padding:0 8px;font-size:9px;font-weight:700;display:inline-flex}.deal-inline-task-create{border:1px solid var(--line);background:var(--surface);border-radius:9px;margin:0}.deal-linked-task-list{align-content:start;gap:8px;min-height:0;display:grid;overflow-y:auto}.deal-linked-task-card{cursor:pointer;text-align:left;width:100%;color:var(--text);border:1px solid var(--line);background:var(--surface);border-radius:9px;gap:8px;padding:10px;display:grid;box-shadow:0 2px 8px #232a2e0a}.deal-linked-task-card:hover{border-color:var(--crm-theme-border,#f6bba4);box-shadow:0 7px 18px #a9431c14}.deal-linked-task-card.selected{border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3);box-shadow:0 8px 20px #a9431c17}.deal-linked-task-card.completed{opacity:.72}.deal-linked-task-card>header{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;display:grid}.deal-linked-task-card>header>i{color:#fff;background:var(--color-task-bucket-later);border-radius:50%;place-items:center;width:28px;height:28px;font-style:normal;display:grid}.deal-linked-task-card>header>i.soon{background:var(--color-task-bucket-soon)}.deal-linked-task-card>header>i.late{background:var(--color-task-bucket-late)}.deal-linked-task-card>header>i.done{background:var(--green)}.deal-linked-task-card>header span{flex-direction:column;gap:3px;min-width:0;display:flex}.deal-linked-task-card>header strong,.deal-linked-task-card>header small,.deal-linked-chat-row strong,.deal-linked-chat-row small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.deal-linked-task-card>header strong{font-size:11px}.deal-linked-task-card>header small{color:var(--muted);font-size:8px}.deal-linked-task-card>header b,.deal-linked-chat-row i{min-width:19px;height:19px;color:var(--crm-theme-on-solid,#fff);background:var(--color-primary-strong);border-radius:999px;place-items:center;font-size:9px;font-weight:800;display:grid}.deal-linked-task-card>p{min-height:17px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:0 0 0 37px;font-size:9px;line-height:1.45;overflow:hidden}.deal-linked-chat-list{gap:6px;padding-left:37px;display:grid}.deal-linked-chat-row{border:1px solid var(--line);background:var(--bg);border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;min-height:40px;padding:7px 8px;display:grid}.deal-linked-chat-row>svg{color:var(--crm-theme-accent-text,#a83c16)}.deal-linked-chat-row span{flex-direction:column;gap:2px;min-width:0;display:flex}.deal-linked-chat-row strong{font-size:10px}.deal-linked-chat-row small,.deal-linked-chat-empty{color:var(--muted);font-size:9px}.deal-linked-chat-empty{border:1px dashed var(--crm-theme-border,#dcdce0);background:var(--bg);border-radius:7px;align-items:center;gap:6px;min-height:34px;padding:0 8px;display:flex}.deal-linked-task-card footer{color:var(--crm-theme-accent-text,#a83c16);justify-content:space-between;align-items:center;gap:8px;margin-left:37px;font-size:9px;font-weight:700;display:flex}.deal-linked-task-card footer span{align-items:center;gap:5px;display:inline-flex}.deal-task-inline-chat{cursor:default;border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:8px;margin-top:2px;padding:8px;display:grid}.deal-task-chat-panel .deal-task-inline-chat{min-height:0;box-shadow:none;border:0;border-radius:0;flex:1;margin:0}.deal-task-inline-chat>header{color:var(--muted);justify-content:space-between;align-items:center;font-size:10px;font-weight:800;display:flex}.deal-task-inline-chat>header span{align-items:center;gap:6px;display:flex}.deal-task-inline-chat .task-chat-actions,.deal-task-inline-chat .task-chat-selector{padding-left:0;padding-right:0}.task-chat-groups{gap:7px;display:grid}.inline-task-conversation{border:1px solid var(--line);background:var(--bg);border-radius:8px;min-height:160px;max-height:min(360px,48dvh);padding:8px;overflow-y:auto}.deal-task-chat-panel .inline-task-conversation{flex:1;max-height:none}.deal-task-inline-chat .composer-box{margin:0}@media (max-width:760px){.deal-task-board{grid-template-columns:1fr;overflow-y:auto}.deal-task-column,.deal-task-chat-panel{overflow:visible}.deal-linked-task-list{max-height:none;overflow:visible}.deal-task-chat-panel{min-height:420px}}.deal-team-composer{border-top:1px solid var(--line);background:var(--surface);flex:none;padding:4px 0 8px}.team-recipient{color:var(--muted);align-items:center;gap:5px;padding:6px 14px 0;font-size:9px;display:flex}.deal-team-composer .mobile-voice,.deal-team-composer .mobile-send{display:none!important}.deal-team-composer .desktop-voice,.deal-team-composer .desktop-send{display:grid!important}.deal-task-directory{flex:1;width:100%;min-height:0;overflow-y:auto}.deal-task-directory-summary{align-items:center;gap:6px;min-height:30px;margin:-7px 0 8px;display:flex}.deal-task-directory-summary>span{min-height:24px;color:var(--crm-theme-text,#4f4f56);border:1px solid var(--line);background:var(--surface);border-radius:999px;align-items:center;padding:0 8px;font-size:9px;font-weight:750;display:inline-flex}.deal-task-directory-summary>svg{color:var(--muted)}:is(.deal-task-directory-group>button,.deal-task-directory-group>.deal-task-linked-row>.deal-task-open).completed{opacity:.68}:is(.deal-task-directory-group>button,.deal-task-directory-group>.deal-task-linked-row>.deal-task-open)>i.has-chat{color:var(--crm-theme-accent-text,#a83c16);background:var(--crm-theme-surface-soft,#fff0e8)}:is(.deal-task-directory-group>button,.deal-task-directory-group>.deal-task-linked-row>.deal-task-open)>i.no-chat{color:var(--crm-theme-muted,#66666e);background:var(--crm-theme-surface-soft,#eee)}:is(.deal-task-directory-group>button,.deal-task-directory-group>.deal-task-linked-row>.deal-task-open)>i.completed{color:var(--green);background:var(--color-success-soft)}:is(.deal-task-directory-group>button,.deal-task-directory-group>.deal-task-linked-row>.deal-task-open)>b.chat-count{color:var(--crm-theme-muted,#66666e);background:var(--crm-theme-surface-soft,#eee)}.deal-task-directory-empty{flex-direction:column;justify-content:center;align-items:center;min-height:330px;display:flex}.deal-task-directory-empty .empty-state{flex:none;min-height:0;padding-bottom:14px}.deal-task-directory-empty>button,.deal-task-no-chat>button{color:#fff;background:#171719;border:0;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-height:40px;padding:0 14px;font-size:11px;font-weight:800;display:inline-flex}.deal-task-chat-screen{background:var(--bg);flex-direction:column;flex:1;width:100%;min-height:0;display:flex;overflow:hidden}.deal-task-chat-screen-header{border-bottom:1px solid var(--line);background:var(--surface);flex:none;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:66px;padding:8px 12px;display:grid}.deal-task-chat-screen-header>button:first-child{width:36px;height:36px;color:var(--crm-theme-text,#4f4f56);border:1px solid var(--line);background:var(--bg);border-radius:50%;place-items:center;padding:0;display:grid}.deal-task-open-card{text-align:left;background:0 0;border:0;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;min-height:50px;padding:5px 8px;display:grid}:is(.deal-task-open-card:hover,.deal-task-open-card:focus-visible){background:var(--bg);outline:1px solid var(--line)}.deal-task-open-card>i{width:36px;height:36px;color:var(--crm-theme-accent-text,#a83c16);background:var(--crm-theme-surface-soft,#fff0e8);border-radius:50%;flex:none;place-items:center;display:grid}.deal-task-open-card>span{gap:3px;min-width:0;display:grid}.deal-task-open-card>svg{color:var(--muted)}.deal-task-open-card strong,.deal-task-open-card small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.deal-task-chat-screen-header strong{font-size:12px}.deal-task-chat-screen-header small{color:var(--muted);font-size:9px}.deal-task-open-card small em{color:var(--crm-theme-accent-text,#a83c16);margin-left:7px;font-style:normal;font-weight:800}.deal-task-chat-header-actions{align-items:center;gap:6px;display:flex}.deal-task-chat-header-actions>button{white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:0 10px;font-size:10px;font-weight:800;display:inline-flex}.deal-task-chat-header-actions>button.edit-task{color:var(--crm-theme-text,#4f4f56);border:1px solid var(--line);background:var(--bg)}.deal-task-chat-header-actions>button.edit-task.active{color:var(--crm-theme-accent-text,#a83c16);border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3)}.deal-task-chat-header-actions>button.new-chat{color:#fff;background:#171719;border:1px solid #171719}.deal-task-chat-screen>.task-chat-builder{min-height:0;padding-bottom:0}.deal-task-chat-screen>.task-chat-actions{flex:none}.deal-task-chat-screen>.task-chat-groups{background:var(--surface);flex:none;padding:8px 4px 0}.deal-task-chat-screen>.timeline-event{flex:none;margin-top:7px}.deal-task-chat-screen .inline-task-conversation{border:0;border-radius:0;flex:1;min-height:0;max-height:none;margin:0;padding:12px}.deal-task-chat-composer{border-top:1px solid var(--line);background:var(--surface);flex:none;padding:4px 0 8px}.deal-task-chat-composer .composer-box{margin-top:4px;margin-bottom:0}.deal-task-no-chat{flex-direction:column;justify-content:center;align-items:center;min-height:100%;display:flex}.deal-task-no-chat .empty-state{flex:none;min-height:0;padding-bottom:14px}.deal-task-editor-screen{background:var(--bg);flex-direction:column;flex:1;width:100%;min-height:0;display:flex;overflow:hidden}.deal-task-editor-screen>header{border-bottom:1px solid var(--line);background:var(--surface);flex:none;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-height:66px;padding:10px 14px;display:grid}.deal-task-editor-screen>header>button{width:36px;height:36px;color:var(--crm-theme-text,#4f4f56);border:1px solid var(--line);background:var(--bg);border-radius:50%;place-items:center;padding:0;display:grid}.deal-task-editor-screen>header>span{gap:3px;min-width:0;display:grid}.deal-task-editor-screen>header strong{font-size:12px}.deal-task-editor-screen>header small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.deal-task-editor-screen>.manual-create-form,.deal-task-chat-screen>.deal-task-edit-form{flex:1;min-height:0}.deal-task-editor-screen .manual-create-scroll,.deal-task-edit-form .manual-create-scroll{padding:14px}.deal-task-editor-screen .manual-fields,.deal-task-edit-form .manual-fields{gap:10px}.deal-task-editor-screen .manual-fields span,.deal-task-edit-form .manual-fields span{font-size:10px}.deal-task-editor-screen .manual-fields input,.deal-task-editor-screen .manual-fields select,.deal-task-edit-form .manual-fields input,.deal-task-edit-form .manual-fields select{min-height:42px;font-size:11px}.deal-task-editor-screen .manual-fields textarea,.deal-task-edit-form .manual-fields textarea{font-size:11px}.deal-task-edit-context{border:1px solid var(--line);background:var(--surface);border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;margin-top:12px;padding:12px;display:grid}.deal-task-edit-context>svg{color:var(--crm-theme-accent-text,#a83c16)}.deal-task-edit-context>span{gap:2px;min-width:0;display:grid}.deal-task-edit-context strong{font-size:9px}.deal-task-edit-context small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.deal-task-editor-actions{grid-template-columns:minmax(110px,.35fr) minmax(0,1fr);gap:8px;display:grid}.deal-task-editor-actions .secondary{min-height:40px;color:var(--crm-theme-text,#4f4f56);border:1px solid var(--line);background:var(--bg);border-radius:8px;font-size:11px;font-weight:800}@media (max-width:760px){.deal-task-directory{padding:14px 14px 92px}.deal-task-directory>header{align-items:flex-start}.deal-task-directory>header>button{padding:0 10px}.deal-task-chat-screen-header{padding-inline-start:10px;padding-inline-end:10px}.deal-task-open-card>i{display:none}.deal-task-open-card{grid-template-columns:minmax(0,1fr) auto}.deal-task-open-card small em{display:none}.deal-task-chat-header-actions>button{padding-inline-start:9px;padding-inline-end:9px}.deal-task-chat-screen>.task-chat-builder{padding-bottom:0}.deal-task-chat-composer{padding-bottom:max(8px, env(safe-area-inset-bottom))}}@media (max-width:520px){.deal-task-chat-screen-header{grid-template-columns:auto minmax(0,1fr)}.deal-task-chat-header-actions{grid-column:2}.deal-task-chat-header-actions>button{flex:1}.deal-task-edit-context{grid-template-columns:auto minmax(0,1fr)}}.task-drawer-backdrop{z-index:50;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#201f1c38;border:0;position:absolute;top:0;bottom:0;left:0;right:0}.deal-task-drawer{z-index:51;border-left:1px solid var(--line);background:var(--surface);flex-direction:column;width:min(420px,88%);animation:.18s task-drawer-in;display:flex;position:absolute;top:0;bottom:0;right:0;box-shadow:-18px 0 48px #23211d2e}@keyframes task-drawer-in{0%{opacity:.6;transform:translate(18px)}}.deal-task-drawer>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;min-height:65px;padding:10px 12px;display:flex}.deal-task-drawer>header>div{align-items:center;gap:9px;min-width:0;display:flex}.deal-task-drawer>header span{flex-direction:column;gap:2px;display:flex}.deal-task-drawer>header strong{font-size:12px}.deal-task-drawer>header small{color:var(--muted);font-size:8px}.deal-task-drawer>header>button{border:1px solid var(--line);background:var(--bg);border-radius:50%;place-items:center;width:32px;height:32px;padding:0;display:grid}.drawer-task-create{border-bottom:1px solid var(--line);background:var(--bg);grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:10px 12px;display:grid}.drawer-task-create input{border:1px solid var(--line);background:var(--surface);border-radius:7px;min-width:0;height:40px;padding:0 9px;font-size:10px}.drawer-task-create button{color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:7px;align-items:center;gap:5px;padding:0 10px;font-size:9px;display:flex}.drawer-task-list{background:var(--bg);flex:1;padding:10px 12px;overflow-y:auto}.drawer-task-list article{border:1px solid var(--line);background:var(--surface);border-radius:9px;align-items:center;gap:9px;min-height:60px;padding:9px;display:flex}.drawer-task-list article+article{margin-top:7px}.drawer-task-list article>i{color:#fff;border:1px solid var(--color-primary-border);border-radius:50%;flex:none;place-items:center;width:23px;height:23px;display:grid}.drawer-task-list article>i.done{background:var(--green)}.drawer-task-list article>span{flex-direction:column;gap:3px;min-width:0;display:flex}.drawer-task-list strong{font-size:10px}.drawer-task-list small{color:var(--muted);font-size:8px}.company-entity-header.deal-detail-header{grid-template-columns:auto minmax(0,1fr) auto}.company-title-button,.company-title-type{cursor:default}.task-detail-header.deal-detail-header{grid-template-columns:auto minmax(0,1fr) auto}.task-title-button,.task-title-meta{cursor:default}.task-header-actions{align-items:center;gap:6px;display:flex}.task-complete-action{color:var(--color-primary-strong);border:1px solid var(--color-primary-border);background:var(--color-primary-softer)}.task-complete-action.done{color:#fff;border-color:var(--green);background:var(--green)}.task-entity-workspace{align-content:start;gap:12px}.task-section-card{border:1px solid var(--line);background:var(--surface);border-radius:10px;overflow:hidden;box-shadow:0 2px 8px #232a2e0a}.task-section-card>.deal-section-intro{border-bottom:1px solid var(--line)}.task-access-section .participant-field{min-height:58px;padding:8px 14px}.task-description-section .task-description-card{box-sizing:border-box;width:100%;min-height:170px;box-shadow:none;border:0;border-radius:0;display:block}.task-parameters-section .task-key-fields{padding:12px 12px 8px}.task-parameters-section .task-meta-row{padding:0 12px 12px}.company-contacts>header button{color:var(--crm-theme-on-solid,white);background:var(--accent)}.company-add-contact{border-bottom:1px solid var(--line);background:var(--crm-theme-surface-soft,#f7f7f7);grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:9px;display:grid}.company-add-contact input{border:1px solid var(--line);background:var(--crm-theme-surface,white);border-radius:7px;min-width:0;height:38px;padding:0 9px}.company-add-contact button{color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:7px;align-items:center;gap:4px;padding:0 10px;font-size:9px;display:flex}.company-contact-strip{border-bottom:1px solid var(--line);background:var(--crm-theme-surface-soft,#f7f7f7);flex:none;min-height:52px;position:relative}.company-contact-strip>button{text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;width:100%;min-height:52px;padding:5px 15px;display:flex}.company-contact-strip>button span{flex-direction:column;gap:2px;display:flex}.company-contact-strip small{color:var(--muted);font-size:8px}.company-contact-strip strong{font-size:11px}.company-contact-strip>div{z-index:30;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:10px;padding:5px;position:absolute;top:calc(100% + 4px);left:10px;right:10px}.company-contact-strip>div button{text-align:left;border:0;border-bottom:1px solid var(--line);background:0 0;justify-content:space-between;align-items:center;width:100%;min-height:43px;padding:5px 8px;display:flex}.company-contact-strip>div button:last-child{border-bottom:0}.company-contact-strip>div span{flex-direction:column;gap:2px;font-size:10px;display:flex}.company-contact-strip>div i{background:var(--accent);border-radius:50%;width:7px;height:7px}.company-dialog-frame{flex:1;min-height:0;display:flex;position:relative;overflow:hidden}.company-dialog-search{z-index:8;height:36px;color:var(--muted);border:1px solid var(--crm-theme-border,#d6d3c9e6);background:var(--crm-theme-glass,#fffefaf0);border-radius:18px;align-items:center;gap:7px;padding:0 9px;display:flex;position:absolute;top:8px;left:10px;right:10px}.company-dialog-search input{background:0 0;border:0;flex:1;min-width:0;font-size:9px}.company-dialog-search button{background:0 0;border:0;place-items:center;padding:0;display:grid}.company-conversation{width:100%;padding-top:58px}.message-author{color:var(--crm-theme-accent-text,#a83c16);margin-bottom:4px;font-size:8px;font-weight:700;display:block}.company-composer{border-top:1px solid var(--line);background:var(--surface);flex:none;padding:7px 10px 9px}.company-composer>span{color:var(--muted);align-items:center;gap:5px;margin:0 3px 5px;font-size:8px;display:flex}.company-composer>div{grid-template-columns:minmax(0,1fr) 38px;gap:6px;display:grid}.company-composer textarea{border:1px solid var(--line);resize:none;min-height:42px;font:inherit;border-radius:8px;padding:11px}.company-composer button{width:38px;height:38px;color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:50%;align-self:center;place-items:center;display:grid}.company-composer button:disabled{opacity:.45}.company-history{width:100%}@media (max-width:760px){.deal-direct-actions{gap:4px}.deal-direct-actions .mobile-detail-call{display:none}.detail-header .deal-action-circle{width:34px;height:34px}.detail-header:has(.deal-direct-actions){gap:7px;padding-inline-start:9px;padding-inline-end:9px}.detail-header:has(.deal-direct-actions) h1{font-size:14px}.bot-control{max-width:150px}.bot-control span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ai-reply-request{width:100%}.ai-reply-request>div{grid-template-columns:1fr 1fr;display:grid}.deal-task-create>div:last-child{grid-template-columns:1fr}.deal-task-create button{justify-content:center;min-height:38px}.deal-task-drawer{border-left:0;width:100%}.drawer-task-create{grid-template-columns:1fr}.drawer-task-create button{justify-content:center;min-height:38px}}.deal-task-create{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:13px}.deal-task-create>div:first-child{align-items:center;gap:9px;display:flex}.deal-task-create span{flex-direction:column;gap:3px;display:flex}.deal-task-create strong{font-size:12px}.deal-task-create small{color:var(--muted);font-size:9px}.deal-task-create>div:last-child{grid-template-columns:minmax(0,1fr) auto;gap:7px;margin-top:12px;display:grid}.deal-task-create input{border:1px solid var(--line);background:var(--bg);border-radius:7px;min-width:0;height:40px;padding:0 10px;font-size:10px}.deal-task-create button{color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:7px;align-items:center;gap:5px;padding:0 11px;font-size:9px;display:flex}.deal-task-list{border:1px solid var(--line);background:var(--surface);border-radius:10px;overflow:hidden}.deal-task-list article{border-bottom:1px solid var(--line);align-items:center;gap:9px;min-height:58px;padding:8px 10px;display:flex}.deal-task-list article:last-child{border-bottom:0}.deal-task-list article>i{color:#fff;border:1px solid var(--color-primary-border);border-radius:50%;place-items:center;width:23px;height:23px;display:grid}.deal-task-list article>i.done{background:var(--green)}.deal-task-list article>span{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.deal-task-list strong{font-size:10px}.deal-task-list small{color:var(--muted);font-size:8px}.deal-task-list article>button{width:32px;height:32px;color:var(--crm-theme-accent-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--color-primary-softer);border-radius:50%;place-items:center;display:grid}.task-relations{position:relative}.task-relations>header{border:1px solid var(--line);background:var(--surface);border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:13px;display:flex}.task-relations>header>div{align-items:center;gap:9px;min-width:0;display:flex}.task-relations header span{flex-direction:column;gap:3px;display:flex}.task-relations header strong{font-size:12px}.task-relations header small{color:var(--muted);font-size:8px}.task-relations header button{min-height:34px;color:var(--crm-theme-accent-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--color-primary-softer);border-radius:7px;align-items:center;gap:5px;padding:0 9px;font-size:9px;display:flex}.relation-cards{border:1px solid var(--line);background:var(--surface);border-radius:9px;margin-top:10px;overflow:hidden}.relation-cards article{border-bottom:1px solid var(--line);align-items:center;gap:10px;min-height:64px;padding:9px 11px;display:flex}.relation-cards article:last-child{border-bottom:0}.relation-cards article>i{color:#fff;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.relation-cards article>span{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.relation-cards small{color:var(--muted);font-size:8px}.relation-cards strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.relation-cards em{color:var(--muted);font-size:8px;font-style:normal}.company-one-c-documents .relation-cards article{gap:9px}.one-c-document-open{min-height:29px;color:var(--color-primary-strong);border:1px solid var(--color-primary-border);background:var(--color-primary-faint);border-radius:6px;align-items:center;gap:4px;padding:0 8px;font-size:8px;font-weight:700;display:inline-flex}.one-c-document-open:disabled{opacity:.65}.task-relations .task-link-picker{width:100%;margin-top:10px;position:relative;top:auto;bottom:auto;left:auto;right:auto}.notification-backdrop{z-index:160;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1e1f1c38;animation:.16s fade-in;position:fixed;top:0;bottom:0;left:0;right:0}.notification-popup{border:1px solid var(--color-border-strong);background:var(--surface);border-radius:13px;flex-direction:column;width:min(390px,100% - 32px);max-height:calc(100dvh - 86px);animation:.2s cubic-bezier(.2,.75,.3,1) notification-in;display:flex;position:absolute;top:70px;right:16px;overflow:hidden;box-shadow:0 22px 70px #20211d3d}.notification-popup>header,.notification-popup>footer{flex:none}.notification-popup>div{overscroll-behavior:contain;min-height:0;overflow-y:auto}.notification-popup>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:65px;padding:10px 12px;display:flex}.notification-popup>header>div{align-items:center;gap:9px;display:flex}.notification-popup header span{flex-direction:column;gap:2px;display:flex}.notification-popup header strong{font-size:13px}.notification-popup header small{color:var(--muted);font-size:9px}.notification-popup>div>button{text-align:left;border:0;border-bottom:1px solid var(--line);background:0 0;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-height:72px;padding:9px 12px;display:grid}.notification-popup>div>button:hover{background:var(--crm-theme-surface-soft,#fff7f3)}.notification-popup>div i{width:34px;height:34px;color:var(--crm-theme-accent-text,#a83c16);background:var(--crm-theme-accent-surface,#ffe4d8);border-radius:50%;place-items:center;display:grid}.notification-popup>div span{min-width:0}.notification-popup>div strong{font-size:10px;display:block}.notification-popup p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:9px;overflow:hidden}.notification-popup time{color:var(--faint);align-self:start;padding-top:4px;font-size:8px}.notification-popup footer{padding:9px 12px}.notification-popup footer button{width:100%;height:36px;color:var(--crm-theme-text,#4f4f56);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff0e8);border-radius:7px;justify-content:center;align-items:center;gap:6px;font-size:9px;display:flex}@keyframes notification-in{0%{opacity:0;transform:translateY(-7px)scale(.98)}}.ai-mobile-backdrop{display:none}.deal-task-linked-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;display:grid}@media (max-width:760px){.app-header{grid-template-columns:auto minmax(0,1fr) auto}.header-actions{gap:5px}.app-header .header-actions .icon-button{width:40px;height:40px}.search-zone{padding:8px 10px}.search-zone:not(.search-visible){gap:0}.view-switch button{font-size:11px}.stage-heading{grid-template-columns:7px minmax(0,1fr) auto 20px}.deal-chat-row{min-height:88px;padding:11px 12px}.chat-avatar{width:44px;height:44px}.chat-row-main strong{font-size:14px}.chat-row-main p{font-size:12px}.chat-row-main small{font-size:10px}.detail-tabs:is(.tabs-4,.tabs-5) button{margin-inline-start:1px;margin-inline-end:1px;font-size:10px}.next-action{min-height:54px}.next-action-main{padding-left:10px}.next-action-main small{font-size:9px}.next-action-main p{font-size:11px}.next-action-date{min-width:88px;padding:0 8px;font-size:9px}.next-action-editor{max-height:42vh;padding:9px;overflow-y:auto}.next-check-row{grid-template-columns:auto minmax(0,1fr) auto}.next-check-row .remove-check{grid-column:3}.check-date{grid-column:2/4;justify-self:start}.composer-toolbar{grid-template-columns:auto minmax(0,1fr) auto;gap:4px;min-height:52px;padding:6px 7px 0}.composer-route-switch{gap:3px}.composer-route-switch>button{border-radius:50%;justify-content:center;width:36px;height:36px;padding:0}.composer-route-switch>button span{display:none}.composer-recipient{grid-template-columns:minmax(0,1fr) 32px;width:100%}.composer-recipient strong,.composer-mode-title{max-width:150px;font-size:10px}.composer-recipient small{max-width:145px;font-size:8px}.composer-ai-toggle{border-radius:50%;justify-content:center;width:36px;height:36px;padding:0}.composer-ai-toggle span{display:none}.task-recipient{grid-template-columns:minmax(0,1fr)}.task-composer .task-recipient{grid-template-columns:36px minmax(0,1fr)}.task-composer .composer-toolbar{grid-template-columns:minmax(0,1fr) 36px;gap:5px;padding:6px 8px 0}.task-composer .task-recipient strong{max-width:min(190px,52vw);font-size:11px}.task-composer .task-recipient small{max-width:min(190px,52vw);font-size:8px}.task-composer .task-route-menu{max-height:min(320px,100dvh - 230px);bottom:calc(100% + 8px);left:8px;right:8px}.task-route-menu{bottom:calc(100% + 8px);left:7px;right:7px}.deal-task-create>div:last-child{grid-template-columns:1fr}.deal-task-create button{justify-content:center;min-height:40px}.task-relations{padding:10px}.task-relations>header{align-items:flex-start}.task-relations header small{font-size:9px;line-height:1.35}.notification-popup{top:max(10px, env(safe-area-inset-top));width:auto;max-height:calc(100dvh - 20px);left:8px;right:8px;overflow-y:auto}.notification-popup>div>button{min-height:78px}.ai-mobile-backdrop{z-index:66;-webkit-backdrop-filter:blur(7px)saturate(.82);backdrop-filter:blur(7px)saturate(.82);background:#20211e57;animation:.18s fade-in;display:block;position:fixed;top:0;bottom:0;left:0;right:0}.ai-panel.mobile-surface{border:1px solid var(--crm-theme-border,#cdcbc3fa);border-bottom:0;border-radius:17px 17px 0 0;width:auto;bottom:0;left:8px;right:8px;box-shadow:0 -12px 50px #1d1e1b3d}.ai-panel.mobile-surface.expanded{border-radius:17px 17px 0 0;width:auto;height:calc(100dvh - 8px);left:4px;right:4px}}.profile-screen>main{min-height:0;padding-bottom:max(16px, env(safe-area-inset-bottom));flex:1;overflow-y:auto}.logout-button:disabled{cursor:default;opacity:.72}.nav-brand-icon{object-fit:contain;border-radius:5px;width:22px;height:22px}.nav-switch button.active .nav-brand-icon{filter:saturate(1.08)contrast(1.04)}.today-check.done{color:#fff;border-color:var(--green);background:var(--green)}.composer-zone .composer-toolbar{grid-template-columns:auto minmax(250px,1fr) auto}.scheduled-entry{height:34px;color:var(--crm-theme-text,#4f4f56);border:1px solid var(--crm-theme-border,#dcdce0);background:var(--crm-theme-surface-soft,#fff0e8);border-radius:8px;align-items:center;gap:5px;padding:0 9px;font-size:9px;font-weight:700;display:flex;position:relative}.scheduled-entry i{min-width:17px;height:17px;color:var(--crm-theme-on-solid,white);border:2px solid var(--surface);background:var(--accent);border-radius:9px;place-items:center;padding:0 4px;font-size:7px;font-style:normal;display:grid;position:absolute;top:-5px;right:-5px}.scheduled-entry.active{color:#fff;background:#66666e;border-color:#66666e;box-shadow:0 3px 10px #58462b2e}.composer-zone .composer-recipient{grid-template-columns:38px minmax(0,1fr);align-items:center;gap:4px;width:min(420px,100%)}.composer-zone .composer-recipient .channel-badge{color:#fff;border:0;border-radius:50%;place-items:center;width:34px;height:34px;padding:0;display:grid;position:relative}.channel-badge.telegram_bot,.mini-channel.telegram_bot{background:#278dcc!important}.channel-badge.telegram_number,.mini-channel.telegram_number{background:#5b78bc!important}.channel-badge.instagram,.mini-channel.instagram{background:linear-gradient(135deg,#7b3bc0,#ee3f65 62%,#f0a44b)!important}.channel-badge.whatsapp,.mini-channel.whatsapp{background:#25a766!important}.channel-badge.youtube,.mini-channel.youtube{background:#d3483b!important}.channel-badge.empty,.mini-channel.empty{background:#9697a0!important}.composer-zone .composer-recipient .recipient-label{background:0 0;border:0;justify-content:center;align-items:center;gap:5px;min-width:0;height:38px;padding:0 4px;display:flex}.composer-zone .recipient-label>span{flex-direction:column;align-items:center;min-width:0;display:flex}.composer-zone .recipient-contact-cluster{justify-content:center;align-items:center;gap:4px;min-width:0;display:flex}.composer-zone .recipient-contact-cluster .recipient-label{flex:0 auto;min-width:0}.composer-zone .recipient-phone,.composer-zone .add-recipient{border-radius:50%;place-items:center;width:30px;height:30px;padding:0;display:grid}.composer-zone a.recipient-phone{box-sizing:border-box;text-decoration:none}.composer-zone .recipient-phone{color:var(--color-primary-strong);border:1px solid var(--color-primary-border);background:var(--color-primary-softer)}.composer-zone .recipient-menu{padding:7px;left:0;right:0}.composer-zone .composer-recipient.no-dialog .recipient-label strong{color:var(--crm-theme-accent-text,#a83c16)}.composer-zone .composer-recipient.no-dialog .recipient-label small{color:#d2612b}.composer-box.disabled{background:var(--crm-theme-surface-soft,#eee)}.composer-box.disabled textarea{color:var(--crm-theme-muted,#9697a0)}.recipient-menu-empty{color:var(--muted);margin:0;padding:10px 8px;font-size:10px;line-height:1.35}.recipient-menu>small{color:var(--muted);text-transform:uppercase;padding:3px 7px 6px;font-size:8px;font-weight:700;display:block}.recipient-menu>button{justify-content:flex-start;gap:8px}.recipient-menu>button>svg{margin-left:auto}.mini-channel{color:#fff;border-radius:50%;flex:none;place-items:center;width:27px;height:27px;display:grid}.phone-menu{z-index:45;border:1px solid var(--line);background:var(--surface);width:min(390px,100%);box-shadow:var(--shadow);border-radius:11px;padding:8px;position:absolute;bottom:calc(100% + 7px);right:0}.phone-menu header{justify-content:space-between;align-items:center;padding:3px 3px 7px;display:flex}.phone-menu header strong{font-size:10px}.phone-menu header button{background:0 0;border:0;place-items:center;width:25px;height:25px;padding:0;display:grid}.phone-menu>div{border-top:1px solid var(--line);grid-template-columns:minmax(95px,1fr) auto auto;align-items:center;gap:5px;padding:7px 3px;display:grid}.phone-menu>div>span{flex-direction:column;gap:2px;min-width:0;display:flex}.phone-menu>div>span strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.phone-menu>div>span small{color:var(--muted);font-size:8px;font-weight:500}.phone-menu a,.phone-menu>div>button{min-height:30px;color:var(--color-primary-strong);border:1px solid var(--color-primary-border);background:var(--color-primary-softer);border-radius:6px;align-items:center;gap:4px;padding:0 7px;font-size:8px;text-decoration:none;display:flex}.phone-menu>label{border-top:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;padding:8px 3px 2px;display:grid}.phone-menu input{border:1px solid var(--line);border-radius:6px;min-width:0;height:34px;padding:0 8px}.phone-menu label button{height:32px;color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:6px;padding:0 8px;font-size:8px}.phone-menu label button:disabled{opacity:.45}.scheduled-conversation{background:var(--color-surface-sunken);padding-top:14px}.scheduled-conversation .scheduled-title{width:min(520px,94%);min-height:34px;color:var(--crm-theme-text,#4f4f56);border-color:var(--crm-theme-border,#dcdce0);background:var(--crm-theme-surface-soft,#fff0e8);justify-content:center;margin:0 auto 15px}.scheduled-conversation .scheduled-title small{color:var(--crm-theme-muted,#66666e);margin-left:5px;font-size:8px}.scheduled-message{cursor:default;width:min(520px,86%);margin:0 0 11px auto}.scheduled-message>p{white-space:pre-wrap}.scheduled-message>textarea{width:100%;min-height:74px;color:var(--text);border:1px solid var(--crm-theme-border,#b8b9bf);background:var(--crm-theme-glass,#ffffffc2);resize:vertical;font:inherit;border-radius:7px;padding:8px;line-height:1.45}.scheduled-message>footer{justify-content:space-between;align-items:center;gap:8px;margin-top:6px;display:flex}.scheduled-message .scheduled-date{min-height:26px;color:var(--crm-theme-muted,#66666e);background:var(--crm-theme-glass,#ffffff80);border:0;border-radius:5px;align-items:center;gap:4px;padding:0 5px;font-size:10px;display:flex}.scheduled-message footer>span{align-items:center;gap:3px;display:flex}.scheduled-message footer>span button{width:27px;height:27px;color:var(--crm-theme-muted,#66666e);background:var(--crm-theme-glass,#ffffff94);border:0;border-radius:50%;place-items:center;padding:0;display:grid}.scheduled-message footer>span button.save{color:#fff;background:var(--green)}.scheduled-message.editing{outline:1px solid var(--crm-theme-border,#b05f4e52)}.contact-attach.redesigned{gap:9px}.attach-contact-target{border:1px solid var(--line);background:var(--bg);border-radius:9px;gap:8px;padding:10px;display:grid}.attach-contact-target>header{flex-direction:column;gap:2px;display:flex}.attach-contact-target>header strong{font-size:10px}.attach-contact-target>header small{color:var(--muted);font-size:8px}.attach-contact-target>div{gap:5px;display:grid}.attach-contact-target>div>button{min-height:38px;color:var(--text);border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:7px;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:7px;padding:5px 8px;display:grid}.attach-contact-target>div>button.active{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 7%, var(--crm-theme-surface,white))}.attach-contact-target>div>button i{width:20px;height:20px;color:var(--crm-theme-on-solid,white);background:var(--accent);border-radius:50%;place-items:center;display:grid}.attach-contact-target>div>button span{font-size:9px;font-weight:700}.attach-contact-target.empty{grid-template-columns:28px minmax(0,1fr);align-items:center}.attach-contact-target.empty>svg{color:var(--accent)}.attach-contact-target.empty>span{flex-direction:column;gap:2px;display:flex}.attach-contact-target.empty strong{font-size:10px}.attach-contact-target.empty small{color:var(--muted);font-size:8px}.attach-source-switch,.field-section-switch{background:var(--crm-theme-surface-soft,#ebebeb);border-radius:9px;grid-template-columns:repeat(2,1fr);gap:4px;padding:4px;display:grid}.attach-source-switch button,.field-section-switch button{min-height:34px;color:var(--muted);background:0 0;border:0;border-radius:6px;padding:0 10px;font-size:9px;font-weight:700}.attach-source-switch button.active,.field-section-switch button.active{color:var(--crm-theme-text,#4f4f56);background:var(--crm-theme-surface,white);box-shadow:0 2px 8px #2d2a2514}.attach-search{border:1px solid var(--line);background:var(--bg);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;height:43px;padding:0 10px;margin:0!important;display:grid!important}.attach-search input{background:0 0;border:0;height:auto;padding:0}.attach-search button{place-items:center;width:26px;height:26px;display:grid;color:var(--muted)!important;background:0 0!important;border:0!important;padding:0!important}.attach-results{border:1px solid var(--line);border-radius:9px;max-height:250px;overflow-y:auto}.attach-results>button{text-align:left;border:0;border-bottom:1px solid var(--line);background:var(--surface);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-height:55px;padding:7px 9px;display:grid}.attach-results>button:last-child{border-bottom:0}.attach-results>button>span:nth-child(2){flex-direction:column;gap:3px;min-width:0;display:flex}.entity-avatar.telegram{color:#fff;background:#278dcc}.attach-error{color:var(--crm-theme-danger-text,#a83c16)}.attach-confirm-backdrop{z-index:55;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#26252138;place-items:center;padding:14px;display:grid;position:absolute;top:0;bottom:0;left:0;right:0}.attach-confirm{border:1px solid var(--line);background:var(--surface);width:min(330px,100%);box-shadow:var(--shadow);border-radius:10px;gap:8px;padding:14px;display:grid}.attach-confirm strong{font-size:13px;line-height:1.35}.attach-confirm small{color:var(--muted);font-size:10px}.attach-confirm>div{grid-template-columns:1fr 1fr;gap:7px;margin-top:4px;display:grid}.attach-confirm button{border-radius:7px;min-height:38px;font-size:10px;font-weight:700}.attach-confirm .secondary{border:1px solid var(--line);background:var(--bg)}.attach-confirm .primary{color:var(--crm-theme-on-solid,white);border:1px solid var(--accent);background:var(--accent)}.onboarding-check-backdrop{z-index:260;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1c1b1985;place-items:center;padding:20px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.onboarding-check-dialog{background:var(--surface);border-radius:16px;gap:16px;width:min(470px,100%);padding:22px;display:grid;box-shadow:0 18px 46px #00000047}.onboarding-check-dialog header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.onboarding-check-dialog h2{margin:0;font-size:22px;line-height:1.15}.onboarding-check-dialog p{color:var(--muted);margin:0;font-size:14px;line-height:1.45}.onboarding-check-prompt{border:1px solid var(--color-warning-border-soft);background:var(--color-warning-surface);border-radius:10px;gap:7px;padding:12px;display:grid}.onboarding-check-prompt>span{color:var(--color-warning-ink);font-size:11px;font-weight:700}.onboarding-check-prompt code{color:var(--text);white-space:normal;font-family:inherit;font-size:13px;line-height:1.45}.onboarding-check-dialog footer{justify-content:flex-end;display:flex}.onboarding-check-dialog .primary{min-height:38px;color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:8px;padding:0 16px;font-weight:700}.create-first-dialog{border-radius:9px;gap:9px;border:1px dashed var(--crm-theme-border,#f6bba4)!important;background:var(--crm-theme-surface-soft,#fff7f3)!important;grid-template-columns:auto minmax(0,1fr) auto!important;min-height:54px!important;padding:7px 10px!important;display:grid!important}.create-first-dialog:disabled{cursor:not-allowed;opacity:1;color:var(--color-disabled-text)!important;border-color:var(--color-disabled-border)!important;background:var(--color-disabled-surface)!important;box-shadow:none!important}.create-first-dialog:disabled svg{color:var(--color-disabled-icon)}.create-first-dialog>span{flex-direction:column;gap:3px;display:flex}.new-dialog-form{border:1px solid var(--line);background:var(--bg);border-radius:9px;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px;display:grid}.new-dialog-form>label:first-child{color:var(--muted);gap:4px;font-size:8px;display:grid}.new-dialog-form input[type=text],.new-dialog-form input:not([type]){width:100%;height:38px}.new-dialog-form>button{color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:7px;grid-area:1/2/3;align-items:center;gap:5px;padding:0 11px;font-size:9px;display:flex}.group-toggle{color:var(--text);align-items:center;gap:6px;font-size:9px;display:flex}.merge-conflict{border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3);border-radius:10px;padding:11px}.merge-conflict header{align-items:center;gap:8px;display:flex}.merge-conflict header span{flex-direction:column;gap:2px;display:flex}.merge-conflict>p{color:var(--crm-theme-muted,#66666e);margin:8px 0;font-size:9px;line-height:1.4}.merge-conflict>div{grid-template-columns:1fr 1fr;gap:6px;display:grid}.merge-conflict>div>span{background:var(--crm-theme-surface,white);border-radius:7px;grid-column:1/-1;align-items:center;gap:7px;padding:8px;display:flex}.merge-conflict>div>span small{margin-right:auto}.merge-conflict>div>span strong{font-size:9px}.merge-conflict>div>button{min-height:34px;color:var(--crm-theme-accent-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface,white);border-radius:6px;padding:4px 8px;font-size:8px}.entity-journal{background:var(--bg);flex:1;min-height:0;padding:12px 14px 20px;overflow-y:auto}.journal-switch{z-index:2;background:var(--crm-theme-surface-soft,#ebebeb);border-radius:9px;grid-template-columns:repeat(2,1fr);gap:4px;margin-bottom:11px;padding:4px;display:grid;position:sticky;top:0}.journal-switch--three{grid-template-columns:repeat(3,minmax(0,1fr))}.journal-switch button{min-height:34px;color:var(--muted);background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:5px;font-size:9px;font-weight:700;display:flex}.journal-switch button.active{color:var(--crm-theme-text,#4f4f56);background:var(--crm-theme-surface,white);box-shadow:0 2px 7px #2d2a2514}.journal-filter{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.journal-filter button{border:1px solid var(--line);background:var(--bg);min-height:30px;color:var(--muted);cursor:pointer;border-radius:7px;padding:5px 9px;font-size:11px}.journal-filter button.active{color:var(--text);border-color:var(--text);background:var(--surface);font-weight:700}.journal-summary{gap:11px;display:grid}.journal-note-composer{border:1px solid var(--crm-theme-border,#dcdce0);background:var(--crm-theme-surface-soft,#fff7f3);border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px;display:grid}.journal-note-composer>svg{color:var(--crm-theme-muted,#66666e)}.journal-note-composer textarea{resize:none;background:0 0;border:0;min-width:0;padding:5px;font-size:10px}.journal-note-composer button{min-height:34px;color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:6px;align-items:center;gap:5px;padding:0 9px;font-size:8px;display:flex}.journal-note-composer button:disabled{opacity:.45}.journal-sessions,.journal-notes{border:1px solid var(--line);background:var(--surface);border-radius:10px;overflow:hidden}.journal-sessions>header,.journal-notes>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:10px 11px;display:flex}.journal-sessions header span,.journal-notes header{gap:3px}.journal-sessions header span{flex-direction:column;display:flex}.journal-sessions header strong,.journal-notes header strong{font-size:10px}.journal-sessions header small,.journal-notes header small{color:var(--muted);font-size:8px}.journal-sessions>article{border-bottom:1px solid var(--line)}.journal-sessions>article:last-child{border-bottom:0}.journal-sessions article>button{text-align:left;background:0 0;border:0;align-items:center;gap:9px;width:100%;min-height:58px;padding:8px 10px;display:flex}.journal-sessions article>button>i{width:32px;height:32px;color:var(--crm-theme-text,#4f4f56);background:var(--crm-theme-surface-soft,#fff0e8);border-radius:8px;place-items:center;display:grid}.journal-sessions article>button>span{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.journal-sessions article>button strong{font-size:10px}.journal-sessions article>button small{color:var(--muted);font-size:8px}.journal-sessions article.expanded>button>svg{transform:rotate(180deg)}.journal-sessions article>p,.journal-session-detail{background:var(--bg);border-radius:7px;margin:0 10px 10px 51px;padding:9px;font-size:9px;line-height:1.5}.journal-session-detail p{margin:0}.journal-session-detail button{color:var(--crm-theme-accent-text,#a83c16);background:0 0;border:0;margin-top:7px;padding:0;font-size:9px;font-weight:700}.journal-notes>article{border-bottom:1px solid var(--line);grid-template-columns:30px minmax(0,1fr);gap:8px;min-height:58px;padding:9px 10px;display:grid}.journal-notes>article:last-child{border-bottom:0}.journal-notes article>i{width:28px;height:28px;color:var(--crm-theme-text,#4f4f56);background:var(--crm-theme-accent-surface,#ffe4d8);border-radius:50%;place-items:center;display:grid}.journal-notes article small{color:var(--muted);font-size:8px}.journal-notes article p{margin:3px 0 0;font-size:9px;line-height:1.45}.journal-logs{padding:0}.journal-empty{color:var(--muted);justify-content:center;align-items:center;gap:5px;padding:30px;font-size:9px;display:flex}.field-section-switch{z-index:3;position:sticky;top:0}.document-workspace{gap:10px}.deal-sales-workspace{flex-direction:column;gap:10px;min-width:0;display:flex}.deal-sales-subnavigation .documents-navigation{border:1px solid var(--line);background:var(--surface);padding:3px}.deal-sales-subnavigation .documents-navigation__item{min-height:34px;padding:0 10px;font-size:9px}.entity-profile-workspace .deal-sales-subnavigation .documents-navigation{overflow:hidden}.entity-profile-workspace .deal-sales-subnavigation .documents-navigation__item{text-align:center;white-space:normal;flex:1 1 0;justify-content:center;min-width:0;padding:0 5px}.deal-sales-panel{gap:0}.deal-data-section{overflow:hidden}.deal-participants-section,.deal-products-section{border:1px solid var(--line);background:var(--surface);border-radius:10px;overflow:hidden}.deal-products-workspace{border:1px solid var(--line);background:var(--surface);border-radius:10px;gap:0;min-width:0;display:grid;overflow:hidden}.deal-products-workspace>.deal-product-search{border:0;border-radius:0}.deal-products-workspace>.deal-products-section{border:0;border-top:1px solid var(--line);border-radius:0}.deal-section-intro{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;min-height:58px;padding:10px 12px;display:flex}.deal-section-intro>span{align-items:center;gap:9px;min-width:0;display:flex}.deal-section-intro>span>svg{color:var(--accent);flex:none}.deal-section-intro>span>span{flex-direction:column;gap:2px;min-width:0;display:flex}.deal-section-intro strong{font-size:11px}.deal-section-intro small{color:var(--muted);font-size:8px}.deal-section-intro>button{min-height:34px;color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:7px;align-items:center;gap:5px;padding:0 10px;font-size:9px;font-weight:700;display:flex}.deal-participants-section>.participant-field{min-height:58px}.deal-product-list{display:grid}.deal-interested-models-workspace{border:1px solid var(--line);background:var(--surface);border-radius:10px;gap:0;min-width:0;margin-top:0;display:grid;overflow:hidden}.deal-interested-models-workspace>.deal-product-search{border:0;border-radius:0}.deal-interested-models-workspace>.deal-products-section{border:0;border-top:1px solid var(--line);border-radius:0}.deal-interested-models-workspace .deal-product-main{grid-template-columns:30px minmax(0,1fr) 30px}.deal-interested-models-workspace .deal-product-result{grid-template-columns:36px minmax(0,1fr) 28px}.deal-interested-model-availability{padding:0 0 5px 39px}.deal-interested-contract-choice{color:var(--muted);align-items:center;gap:8px;margin-bottom:8px;font-size:11px;display:flex}.deal-interested-contract-choice select{border:1px solid var(--line);background:var(--surface);min-width:0;color:var(--text);border-radius:6px;padding:5px 7px}.deal-product-main>span>.deal-interested-payment-status{color:var(--muted);white-space:normal;align-items:center;gap:5px;font-size:10px;font-weight:600;display:inline-flex;overflow:visible}.deal-product-main>span>.deal-interested-payment-status.is-paid{color:var(--crm-theme-success-text,#21805c)}.deal-interested-model-contracts{gap:6px;padding-left:39px;display:grid}.deal-interested-model-contract{flex-wrap:wrap;align-items:center;gap:6px 12px;display:flex}.deal-interested-model-contracts a{color:var(--accent);font-size:11px;font-weight:700;text-decoration:none}.deal-interested-model-contracts a:hover{text-decoration:underline}.deal-interested-model-contract button{border:1px solid var(--line);background:var(--surface);color:var(--accent);font:inherit;cursor:pointer;border-radius:6px;align-items:center;gap:5px;padding:5px 8px;font-size:12px;font-weight:700;display:inline-flex}.deal-interested-model-contract button:hover{border-color:var(--accent)}.deal-interested-linked-unit{border:1px solid var(--line);background:var(--surface);border-radius:9px;flex-wrap:wrap;align-items:center;gap:5px 12px;padding:10px 12px;display:flex}.deal-interested-linked-unit>div{order:2;gap:2px;min-width:0;display:grid}.deal-interested-linked-unit>div:first-child{flex:calc(100% - 42px);order:0}.deal-interested-linked-unit>div:not(:first-child) small{display:none}.deal-interested-linked-unit small{color:var(--muted);font-size:9px}.deal-interested-linked-unit strong{font-size:11px}.deal-interested-linked-unit>div:first-child strong{color:var(--text);font-size:13px}.deal-interested-linked-unit>div:not(:first-child) strong{color:var(--muted);font-size:10px;font-weight:600}.deal-interested-linked-unit>div:nth-of-type(3) strong{color:var(--text);font-variant-numeric:tabular-nums}.deal-interested-linked-unit>div:nth-of-type(4) strong{background:var(--crm-theme-surface-soft,#edf6f1);color:var(--crm-theme-success-text,#24724d);border-radius:6px;padding:4px 7px}.deal-interested-linked-unit>a{color:var(--accent);align-items:center;gap:5px;font-size:10px;font-weight:600;text-decoration:none;display:inline-flex}.deal-interested-linked-unit>button:not(.deal-interested-linked-unit-attach){width:27px;height:27px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;margin-left:auto;display:grid}.deal-interested-linked-unit>.deal-interested-linked-unit-attach{border:1px solid var(--line);background:var(--surface);color:var(--accent);cursor:pointer;border-radius:7px;padding:6px 9px;font-size:11px;font-weight:700}.deal-interested-linked-unit>button:disabled{opacity:.5;cursor:default}.deal-interested-unit-menu{order:1;align-self:flex-start;margin-left:auto;position:relative}.deal-interested-unit-menu>summary{width:28px;height:28px;color:var(--muted);cursor:pointer;border-radius:7px;place-items:center;list-style:none;display:grid}.deal-interested-unit-menu>summary::-webkit-details-marker{display:none}.deal-interested-unit-menu>summary:hover,.deal-interested-unit-menu[open]>summary{background:var(--surface-2);color:var(--text)}.deal-interested-unit-menu>div{z-index:5;border:1px solid var(--line);background:var(--surface);border-radius:10px;min-width:190px;padding:5px;display:grid;position:absolute;bottom:34px;right:-4px;box-shadow:0 10px 24px #0000001a}.deal-interested-linked-unit .deal-interested-unit-menu>div>:is(a,button){width:100%;min-height:32px;color:var(--text);font:inherit;text-align:left;white-space:nowrap;cursor:pointer;box-sizing:border-box;background:0 0;border:0;border-radius:6px;align-items:center;gap:9px;padding:7px 9px;font-size:10px;font-weight:600;line-height:1.25;text-decoration:none;display:flex}.deal-interested-unit-menu>div>:is(a,button) svg{color:var(--muted);flex:none}.deal-interested-unit-menu>div>:is(a,button):hover:not(:disabled){background:var(--surface-2)}.deal-interested-unit-menu>div>.deal-interested-unit-menu-danger{border-top:1px solid var(--line);color:var(--color-danger);border-radius:0 0 6px 6px;margin-top:4px;padding-top:9px}.deal-interested-unit-menu>div>.deal-interested-unit-menu-danger svg{color:var(--color-danger)}.deal-interested-unit-menu>div>button:disabled{opacity:.45;cursor:default}.deal-interested-unit-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin:0;display:grid}.deal-interested-unit-fields>div{border-bottom:1px solid var(--line);min-width:0;padding:11px 0}.deal-interested-unit-fields dt{color:var(--muted);margin-bottom:4px;font-size:11px}.deal-interested-unit-fields dd{overflow-wrap:anywhere;margin:0;font-size:13px;font-weight:650}.deal-interested-unit-note{color:var(--muted);margin:0 0 10px;font-size:11px}@media (max-width:520px){.deal-interested-unit-fields{grid-template-columns:1fr}}.deal-interested-model-summary{flex-wrap:wrap;align-items:center;gap:8px 16px;font-size:12px;display:flex}.deal-interested-model-summary>span{color:var(--muted)}.deal-interested-model-summary>strong{font-size:12px}.deal-interested-model-summary>button{color:var(--accent);border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:7px;align-items:center;gap:5px;padding:6px 9px;font-size:11px;font-weight:700;display:inline-flex}.deal-interested-model-summary>button:disabled{opacity:.5;cursor:default}.mgmt-modal.deal-interested-model-modal.wide{width:min(1160px,100vw - 48px)}.deal-interested-model-modal .mgmt-modal-body{padding:0 22px 18px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .mgmt-modal.pc-dialog.deal-interested-model-modal[data-size=form]{width:min(1160px,100vw - 48px)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog.deal-interested-model-modal .pc-dialog-body{padding:0 22px 18px}.deal-interested-model-modal-note{border:1px solid var(--crm-theme-border,#f0dfc3);background:var(--crm-theme-surface-soft,#fff9ed);color:var(--crm-theme-warning-text,#775923);border-radius:9px;align-items:center;gap:10px;margin:18px 0 4px;padding:11px 13px;font-size:12px;line-height:1.45;display:flex}.deal-interested-model-modal-note svg{flex:none}.deal-interested-model-table-wrap{max-width:100%;overflow-x:auto}.deal-interested-model-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px}.deal-interested-model-table th,.deal-interested-model-table td{border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;padding:15px 12px}.deal-interested-model-table th{z-index:1;background:var(--surface);color:var(--muted);letter-spacing:.035em;text-transform:uppercase;padding-top:18px;padding-bottom:12px;font-size:10px;font-weight:700;position:sticky;top:0}.deal-interested-model-table tbody tr:hover{background:var(--surface-2)}.deal-interested-model-table tbody tr:last-child td{border-bottom:0}.deal-interested-model-vin{color:var(--text);font-variant-numeric:tabular-nums;letter-spacing:.015em;font-size:12px}.deal-interested-model-status{background:var(--crm-theme-surface-soft,#eaf5ee);color:var(--crm-theme-success-text,#237049);border-radius:999px;align-items:center;gap:7px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.deal-interested-model-status:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.deal-interested-model-price{color:var(--muted);font-variant-numeric:tabular-nums}.deal-interested-model-table a{color:var(--accent);align-items:center;gap:6px;font-weight:700;text-decoration:none;display:inline-flex}.deal-interested-model-table a:hover{text-decoration:underline}.deal-interested-model-attach-hint{display:inline-flex}.deal-interested-model-attach-button{border:1px solid var(--accent);background:var(--accent);min-width:118px;min-height:34px;color:var(--crm-theme-on-solid,#fff);font:inherit;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:7px 12px;font-size:11px;font-weight:750;display:inline-flex}.deal-interested-model-attach-button:hover:not(:disabled){filter:brightness(.93)}.deal-interested-model-attach-button:disabled{border-color:var(--line);background:var(--surface-2);color:var(--muted);cursor:not-allowed}.deal-interested-model-attach-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.deal-interested-model-table a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media (max-width:760px){.mgmt-modal.deal-interested-model-modal.wide{width:min(100%,100vw - 20px)}.deal-interested-model-modal .mgmt-modal-body{padding:0 14px 14px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .mgmt-modal.pc-dialog.deal-interested-model-modal[data-size=form]{width:min(100%,100vw - 20px)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog.deal-interested-model-modal .pc-dialog-body{padding:0 14px 14px}.deal-interested-model-table thead{display:none}.deal-interested-model-table,.deal-interested-model-table tbody,.deal-interested-model-table tr,.deal-interested-model-table td{display:block}.deal-interested-model-table tr{border:1px solid var(--line);border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin-top:12px;padding:14px;display:grid}.deal-interested-model-table td{overflow-wrap:anywhere;white-space:normal;border:0;min-width:0;padding:0}.deal-interested-model-table td:before{color:var(--muted);content:attr(data-label);margin-bottom:4px;font-size:10px;font-weight:650;display:block}.deal-interested-model-table td:first-child,.deal-interested-model-table td:last-child{grid-column:1/-1}.deal-interested-model-attach-button{width:100%}.deal-interested-model-attach-hint{display:flex}}.deal-interested-model-empty{margin:0;padding:12px}.deal-product-list article{border-bottom:1px solid var(--line);gap:8px;min-width:0;padding:8px 11px;display:grid}.deal-product-list article:last-child{border-bottom:0}.deal-product-main{grid-template-columns:30px minmax(0,1fr) auto 30px;align-items:center;gap:9px;min-height:42px;display:grid}.deal-product-main>i{width:30px;height:30px;color:var(--accent);background:var(--surface-2);border-radius:8px;place-items:center;display:grid}.deal-product-main>span{flex-direction:column;gap:2px;min-width:0;display:flex}.deal-product-main>span>strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.deal-product-main>span>small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.deal-product-main>em{color:var(--text);white-space:nowrap;font-size:9px;font-style:normal;font-weight:700}.deal-product-main>button{width:30px;height:30px;color:var(--muted);background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.deal-product-warehouse-summary{border:1px solid var(--line);background:var(--bg);border-radius:8px;gap:7px;margin-left:39px;padding:8px;display:grid}.deal-product-warehouse-summary>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0;display:grid}.deal-product-warehouse-summary span{flex-direction:column;gap:2px;min-width:0;display:flex}.deal-product-warehouse-summary small{color:var(--muted);text-transform:uppercase;font-size:8px;font-weight:700}.deal-product-warehouse-summary strong{overflow-wrap:anywhere;min-width:0;font-size:9px;line-height:1.35}.deal-product-warehouse-summary p{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:9px;line-height:1.45}.deal-product-warehouse-summary a{width:fit-content;color:var(--accent);align-items:center;gap:5px;font-size:9px;font-weight:800;text-decoration:none;display:inline-flex}.deal-product-picker{gap:14px;display:grid}.deal-product-picker>div{gap:6px;display:grid}.deal-product-picker>div>button{min-height:46px;color:var(--text);border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:8px;grid-template-columns:24px minmax(0,1fr) 20px;align-items:center;gap:8px;padding:7px 10px;display:grid}.deal-product-picker>div>button>svg:first-child{color:var(--accent)}.deal-product-picker>label{gap:6px;display:grid}.deal-product-picker>label>span{color:var(--muted);font-size:9px;font-weight:700}.deal-product-picker>label>div{grid-template-columns:minmax(0,1fr) auto;gap:7px;display:grid}.deal-product-picker input{border:1px solid var(--line);border-radius:8px;min-width:0;height:40px;padding:0 10px}.deal-product-picker label button{min-height:40px;color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:8px;align-items:center;gap:5px;padding:0 11px;font-size:9px;font-weight:700;display:flex}.deal-product-picker label button:disabled{opacity:.45}.deal-contacts-workspace,.deal-companies-workspace{gap:10px;min-width:0;display:grid}.deal-company-search{border:1px solid var(--line);background:var(--surface);border-radius:10px;min-width:0;overflow:hidden}.deal-company-search>header{border-bottom:1px solid var(--line);align-items:center;min-height:58px;padding:9px 11px;display:flex}.deal-company-search>header>button{min-height:34px;color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:17px;flex:none;align-items:center;gap:5px;margin-left:auto;padding:0 10px;font-size:9px;font-weight:700;display:flex}.deal-company-search>header>span{align-items:center;gap:8px;min-width:0;display:flex}.deal-company-search>header>span>svg{color:var(--accent);flex:none}.deal-company-search>header>span>span{flex-direction:column;gap:2px;min-width:0;display:flex}.deal-company-search>header strong{font-size:10px}.deal-company-search>header small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.deal-product-search>header{justify-content:space-between;gap:8px}.deal-product-search>header>em{color:var(--color-primary-strong);background:var(--color-primary-softer);white-space:nowrap;border-radius:999px;flex:none;padding:4px 7px;font-size:8px;font-style:normal;font-weight:700}.deal-company-search>label{min-height:44px;color:var(--muted);border:1px solid var(--line);background:var(--bg);border-radius:8px;grid-template-columns:18px minmax(0,1fr) 28px;align-items:center;gap:7px;margin:9px;padding:0 9px;display:grid}.deal-company-search>label input{min-width:0;height:42px;color:var(--text);background:0 0;border:0;outline:0;padding:0;font-size:10px}.deal-company-search>label button{width:28px;height:28px;color:var(--muted);background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.deal-company-search-results{gap:6px;padding:0 9px 9px;display:grid}.deal-company-search-results>button{min-height:52px;color:var(--text);border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:8px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;padding:7px 9px;display:grid}.deal-company-search-results>button>i{border-radius:50%;width:34px;height:34px;overflow:hidden}.deal-company-search-results>button>span{flex-direction:column;gap:2px;min-width:0;display:flex}.deal-company-search-results>button strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.deal-company-search-results>button small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.deal-company-search-results>button>svg{color:var(--accent)}.deal-company-search-results>button>em{color:var(--color-primary-strong);background:var(--color-primary-softer);border-radius:8px;padding:3px 6px;font-size:7px;font-style:normal;font-weight:700}.deal-product-search-results>button{grid-template-columns:36px minmax(0,1fr) auto 18px}.deal-product-search-results>button>i{color:var(--color-primary-strong);background:var(--color-primary-softer);place-items:center;display:grid}.deal-product-search-results>button>em{color:var(--text);background:var(--surface-2);white-space:nowrap}.deal-product-search-results>button>svg{color:var(--accent)}.deal-product-result{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:36px minmax(0,1fr) auto 28px;align-items:center;gap:9px;min-height:60px;padding:7px 9px;display:grid}.deal-product-result>i{width:34px;height:34px;color:var(--color-primary-strong);background:var(--color-primary-softer);border-radius:50%;place-items:center;display:grid}.deal-product-result>span{flex-direction:column;align-items:flex-start;gap:2px;min-width:0;display:flex}.deal-product-result strong,.deal-product-result small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.deal-product-result>em{color:var(--text);background:var(--surface-2);white-space:nowrap;border-radius:8px;padding:3px 6px;font-size:9px;font-style:normal;font-weight:700}.deal-product-result .deal-product-details-link{color:var(--accent);cursor:pointer;background:0 0;border:0;padding:2px 0;font-size:9px;font-weight:700;text-decoration:underline}.deal-product-result .deal-product-add{width:28px;height:28px;color:var(--accent);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.deal-product-result .deal-product-add:disabled{opacity:.4;cursor:default}.deal-product-info-modal .mgmt-modal-body{padding:0}.deal-product-info-content{gap:0;display:grid}.deal-product-info-hero{border-bottom:1px solid var(--line);background:linear-gradient(115deg, var(--color-primary-softer), var(--surface) 72%);justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 24px;display:flex}.deal-product-info-hero-main{align-items:center;gap:13px;min-width:0;display:flex}.deal-product-info-hero-main>i{width:48px;height:48px;color:var(--accent);background:var(--surface);border-radius:14px;flex:none;place-items:center;display:grid;box-shadow:0 3px 12px #00000012}.deal-product-info-hero-main>div{gap:4px;min-width:0;display:grid}.deal-product-info-hero-main small{color:var(--muted);font-size:10px;font-weight:700}.deal-product-info-hero-main strong{overflow-wrap:anywhere;font-size:19px;line-height:1.25}.deal-product-info-hero-main code{width:fit-content;color:var(--text);border:1px solid var(--line);background:var(--surface);border-radius:5px;padding:4px 7px;font-size:11px}.deal-product-ready{color:var(--crm-theme-success-text,#22724a);border:1px solid var(--crm-theme-border,#bde4cf);background:var(--crm-theme-surface-soft,#ebf8f0);border-radius:999px;flex:none;align-items:center;gap:5px;padding:7px 10px;font-size:10px;font-weight:800;display:inline-flex}.deal-product-info-note{color:var(--muted);align-items:center;gap:7px;margin:12px 24px 0;font-size:10px;display:flex}.deal-product-info-highlights{border-bottom:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:18px 24px;display:grid}.deal-product-info-highlights>span{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;align-content:start;gap:5px;min-width:0;padding:13px;display:grid}.deal-product-info-highlights small{color:var(--muted);align-items:center;gap:5px;font-size:10px;display:flex}.deal-product-info-highlights strong{overflow-wrap:anywhere;font-size:13px}.deal-product-info-highlights em{color:var(--muted);font-size:9px;font-style:normal}.deal-product-info-section{border-bottom:1px solid var(--line);gap:12px;padding:18px 24px;display:grid}.deal-product-info-heading{align-items:baseline;gap:9px;display:flex}.deal-product-info-heading h3{margin:0;font-size:13px}.deal-product-info-heading small{color:var(--muted);font-size:9px}.deal-product-info-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;margin:0;display:grid}.deal-product-info-fields>div{border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:10px;min-width:0;padding:9px 0;display:flex}.deal-product-info-fields dt{color:var(--muted);flex:none;font-size:10px}.deal-product-info-fields dd{overflow-wrap:anywhere;text-align:right;min-width:0;margin:0;font-size:10px;font-weight:700}.deal-product-info-comment{border-left:3px solid var(--accent);background:var(--surface-2);border-radius:6px;margin:0;padding:10px 12px;font-size:10px;line-height:1.5}.deal-product-info-technical{border-bottom:1px solid var(--line);padding:14px 24px}.deal-product-info-technical summary{color:var(--text);cursor:pointer;justify-content:space-between;align-items:center;font-size:12px;font-weight:800;list-style:none;display:flex}.deal-product-info-technical summary::-webkit-details-marker{display:none}.deal-product-info-technical[open] summary svg{transform:rotate(90deg)}.deal-product-info-technical .deal-product-info-fields{margin-top:10px}.deal-product-info-events{gap:0;display:grid}.deal-product-info-events p{border-left:2px solid var(--line);gap:3px;margin:0;padding:9px 0 9px 15px;font-size:10px;line-height:1.4;display:grid}.deal-product-info-events p:before{content:"";border:2px solid var(--accent);background:var(--surface);border-radius:50%;width:8px;height:8px;margin-bottom:-8px;position:relative;top:9px;left:-20px}.deal-product-info-events small{color:var(--muted)}.deal-product-full-link{color:var(--accent);border:1px solid var(--color-primary-border);background:var(--color-primary-softer);border-radius:9px;justify-content:space-between;align-items:center;gap:10px;margin:16px 24px 22px;padding:13px 15px;font-size:11px;font-weight:800;text-decoration:none;display:flex}.deal-product-full-link>span{align-items:center;gap:8px;display:inline-flex}.deal-product-full-link:hover{border-color:var(--accent)}@media (max-width:620px){.deal-product-info-hero{flex-direction:column;padding:16px}.deal-product-info-highlights{grid-template-columns:1fr;padding:14px 16px}.deal-product-info-section,.deal-product-info-technical{padding:16px}.deal-product-info-fields{grid-template-columns:1fr}.deal-product-full-link{margin:14px 16px 18px}}.deal-product-confirm-modal .mgmt-modal-body p{margin:0;line-height:1.6}.deal-product-confirm-modal footer{justify-content:flex-end;gap:8px;display:flex}.deal-product-pages{justify-content:center;align-items:center;gap:10px;padding:6px;font-size:10px;display:flex}.deal-product-pages button{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:6px;padding:6px 10px}.deal-product-pages button:disabled{opacity:.45}.deal-company-search-state{min-height:42px;color:var(--muted);justify-content:center;align-items:center;gap:7px;font-size:9px;display:flex}.deal-company-portal-fallback{border:1px dashed var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3);border-radius:8px;justify-content:space-between;align-items:center;gap:9px;padding:9px;display:flex}.deal-company-portal-fallback>span{flex-direction:column;gap:2px;min-width:0;display:flex}.deal-company-portal-fallback strong{font-size:10px}.deal-company-portal-fallback small{color:var(--muted);font-size:8px}.deal-company-portal-fallback button{min-height:32px;color:var(--crm-theme-accent-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface,white);border-radius:7px;flex:none;padding:0 9px;font-size:8px;font-weight:700}.deal-company-search-results>p{min-height:36px;color:var(--crm-theme-muted,#66666e);background:var(--crm-theme-surface-soft,#f3f3f3);border-radius:7px;align-items:center;gap:7px;margin:0;padding:7px 9px;font-size:8px;display:flex}.company-search-switch{margin:9px}.tin-lookup-panel{gap:9px;padding:0 9px 9px;display:grid}.tin-lookup-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;display:grid}.tin-lookup-row.tin-lookup-help-row{grid-template-columns:minmax(0,1fr) auto auto}.tin-lookup-row .search-field{margin:0}.tin-lookup-row>button{border:0;border-radius:8px;min-height:42px;padding:0 14px;font-size:10px;font-weight:700}.company-registry-status{border:1px solid var(--color-primary-border);background:var(--color-primary-softer);min-width:0;color:var(--color-primary-strong);border-radius:8px;align-items:flex-start;gap:8px;padding:9px 11px;font-size:12px;line-height:1.4;display:flex}.company-registry-status>svg{flex:none}.company-registry-status>span{overflow-wrap:anywhere}.company-registry-status.is-success{border-color:var(--color-success-border);background:var(--color-success-soft);color:var(--color-success-text)}.company-registry-status.is-error{border-color:var(--color-danger-border);background:var(--color-danger-soft);color:var(--color-danger-strong)}.company-registry-spinner{animation:.85s linear infinite company-registry-spin}@keyframes company-registry-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.company-registry-spinner{animation:none}}.deal-company-registry-actions{grid-column:1/-1;gap:6px;display:grid}.deal-company-registry-feedback{gap:6px;margin:0 9px 9px;display:grid}.deal-company-registry-button{border:1px solid var(--color-primary-border);background:var(--surface);min-height:36px;color:var(--color-primary-strong);border-radius:7px;justify-self:start;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.deal-company-registry-button:disabled{opacity:.5}.deal-company-card>header>span{gap:2px;min-width:0;display:grid}.tin-lookup-result{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:10px;padding:10px;display:grid}.tin-lookup-result>header{align-items:center;gap:9px;display:flex}.tin-lookup-result>header>i{width:34px;height:34px;color:var(--accent);background:var(--color-primary-softer);border-radius:8px;flex:none;place-items:center;display:grid}.tin-lookup-result>header>span{flex-direction:column;gap:2px;min-width:0;display:flex}.tin-lookup-result>header strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.tin-lookup-result>header small,.tin-lookup-founders>small{color:var(--muted);font-size:8px}.tin-lookup-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.tin-lookup-facts>span{background:var(--bg);border-radius:7px;gap:2px;min-width:0;padding:7px;display:grid}.tin-lookup-facts small{color:var(--muted);font-size:7px}.tin-lookup-facts strong{overflow-wrap:anywhere;font-size:9px;line-height:1.3}.tin-lookup-founders{gap:5px;display:grid}.tin-lookup-founders>span{background:var(--bg);border-radius:7px;justify-content:space-between;align-items:center;gap:8px;padding:6px 7px;display:flex}.tin-lookup-founders strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:9px;overflow:hidden}.tin-lookup-founders em{color:var(--muted);flex:none;font-size:8px;font-style:normal}.tin-lookup-result>button{border:0;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:38px;font-size:10px;font-weight:700;display:flex}.related-deals-workspace,.company-contacts-workspace{gap:10px;min-width:0;display:grid}.related-deal-create{border-top:1px solid var(--line);background:var(--bg);grid-template-columns:minmax(0,1fr) minmax(110px,.45fr);gap:8px;padding:10px;display:grid}.related-deal-create>label{min-width:0;color:var(--muted);gap:4px;font-size:8px;display:grid}.related-deal-create>label input{border:1px solid var(--line);background:var(--surface);border-radius:8px;min-width:0;height:38px;padding:0 9px}.related-deal-create>div{grid-column:1/-1;justify-content:flex-end;gap:7px;display:flex}.related-deal-create>div button{border-radius:17px;align-items:center;gap:5px;min-height:34px;padding:0 11px;font-size:9px;font-weight:700;display:flex}.related-deal-create .secondary{color:var(--muted);border:1px solid var(--line);background:var(--surface)}.related-deal-create .primary{color:var(--crm-theme-on-solid,white);border:1px solid var(--accent);background:var(--accent)}.related-contact-create{grid-template-columns:repeat(3,minmax(0,1fr))}.related-deal-switcher .deal-contact-main>i{color:var(--crm-theme-text,#4f4f56);background:var(--crm-theme-surface-soft,#ebebeb)}.related-deal-card>header>span,.company-contacts-workspace .deal-contact-card>header>span{align-items:center;gap:8px;min-width:0;display:flex}.related-deal-card>header>span>span,.company-contacts-workspace .deal-contact-card>header>span>span{flex-direction:column;gap:2px;min-width:0;display:flex}.related-deal-card>header>button{min-height:34px;color:var(--crm-theme-text,#4f4f56);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3);border-radius:17px;align-items:center;gap:4px;padding:0 10px;font-size:9px;font-weight:700;display:flex}.related-deal-fields{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.related-deal-fields>div{border-right:1px solid var(--line);border-bottom:1px solid var(--line);flex-direction:column;justify-content:center;gap:4px;min-width:0;min-height:54px;padding:8px 12px;display:flex}.related-deal-fields>div:nth-child(2n){border-right:0}.related-deal-fields small{color:var(--muted);font-size:8px}.related-deal-fields strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.deal-budget-confirm{border:1px solid var(--crm-theme-border,#ff9a76);background:var(--crm-theme-surface-soft,#fff0e8);border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:10px 11px;display:flex}.deal-budget-confirm>span{align-items:center;gap:8px;min-width:0;display:flex}.deal-budget-confirm>span>svg{color:#d2612b;flex:none}.deal-budget-confirm>span>span{flex-direction:column;gap:2px;min-width:0;display:flex}.deal-budget-confirm strong{font-size:10px}.deal-budget-confirm small{color:var(--crm-theme-muted,#66666e);font-size:8px}.deal-budget-confirm>div{flex:none;gap:6px;display:flex}.deal-budget-confirm button{border-radius:7px;align-items:center;gap:4px;min-height:32px;padding:0 9px;font-size:8px;font-weight:700;display:flex}.deal-budget-confirm button.secondary{color:var(--crm-theme-muted,#66666e);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface,white)}.deal-budget-confirm button.primary{color:var(--crm-theme-on-solid,white);border:1px solid var(--accent);background:var(--accent)}.deal-budget-warning{border-bottom:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-warning-surface,#fff0e8);grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:50px;padding:7px 10px;display:grid}.deal-budget-warning>svg{color:#d2612b}.deal-budget-warning>span{flex-direction:column;gap:2px;min-width:0;display:flex}.deal-budget-warning>span strong{color:var(--crm-theme-warning-text,#a83c16);font-size:9px}.deal-budget-warning>span small{color:var(--crm-theme-warning-text,#66666e);font-size:8px}.deal-budget-warning>button{min-height:32px;color:var(--crm-theme-warning-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-warning-surface,white);border-radius:7px;align-items:center;gap:4px;padding:0 8px;font-size:8px;font-weight:700;display:flex}.deal-company-switcher>header{justify-content:flex-start}.deal-contact-switcher,.deal-contact-card,.deal-dialog-manager{border:1px solid var(--line);background:var(--surface);border-radius:10px;min-width:0;overflow:hidden}.deal-contact-switcher>header,.deal-dialog-manager>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;min-height:58px;padding:9px 11px;display:flex}.deal-contact-switcher>header>span,.deal-dialog-manager>header>span{align-items:center;gap:8px;min-width:0;display:flex}.deal-contact-switcher>header>span>svg,.deal-dialog-manager>header>span>svg{color:var(--accent);flex:none}.deal-contact-switcher header span span,.deal-dialog-manager header span span{flex-direction:column;gap:2px;min-width:0;display:flex}.deal-contact-switcher header strong,.deal-dialog-manager header strong{font-size:10px}.deal-contact-switcher header small,.deal-dialog-manager header small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.deal-contact-switcher>header>button,.deal-dialog-manager>header>button{min-height:34px;color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:7px;flex:none;align-items:center;gap:5px;padding:0 9px;font-size:9px;font-weight:700;display:flex}.entity-dialog-manager>header{justify-content:flex-start}.relation-search-state{min-height:42px;color:var(--muted);justify-content:center;align-items:center;gap:6px;font-size:9px;display:flex}.deal-contact-switcher>div{gap:7px;padding:9px;display:grid}.deal-contact-switcher>div::-webkit-scrollbar{display:none}.deal-contact-switcher>div>article{border:1px solid var(--line);background:var(--surface);border-radius:9px;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:6px;width:100%;min-height:58px;padding:6px 8px;display:grid}.deal-contact-switcher>div>article.active{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 6%, var(--crm-theme-surface,white));box-shadow:inset 3px 0 0 var(--accent)}.deal-entity-open,.deal-contact-primary{width:30px;height:30px;color:var(--muted);border:1px solid var(--line);background:var(--surface);border-radius:50%;place-items:center;padding:0;display:grid}.deal-entity-open{color:var(--crm-theme-text,#4f4f56);border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3)}.deal-entity-open:hover{color:var(--crm-theme-on-solid,white);border-color:var(--accent);background:var(--accent)}.deal-contact-primary.active{color:#d2612b;border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff0e8)}.deal-contact-main{min-width:0;min-height:46px;color:var(--text);text-align:left;background:0 0;border:0;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:9px;padding:0;display:grid}.deal-contact-main>i,.deal-fields-contact-picker>i,.deal-fields-contact-menu button>i{width:34px;height:34px;color:var(--crm-theme-text,#4f4f56);background:var(--crm-theme-surface-soft,#ebebeb);border-radius:50%;place-items:center;padding:0;font-size:10px;font-style:normal;font-weight:800;display:grid;overflow:hidden}.deal-contact-main>span{flex-direction:column;gap:2px;min-width:0;display:flex}.deal-contact-main strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.deal-contact-main small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.deal-contact-card>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;min-height:62px;padding:10px 12px;display:flex}.deal-fields-contact-picker{min-width:0;color:var(--text);text-align:left;background:0 0;border:0;flex:1;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:9px;padding:0;display:grid}.deal-fields-contact-picker>span{flex-direction:column;gap:2px;min-width:0;display:flex}.deal-fields-contact-picker>svg{color:var(--muted)}.deal-contact-card>header strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.deal-contact-card>header small{color:var(--muted);font-size:8px}.deal-contact-card>header>a{width:34px;height:34px;color:var(--color-primary-strong);border:1px solid var(--color-primary-border);background:var(--color-primary-softer);border-radius:50%;flex:none;place-items:center;display:grid}.deal-fields-contact-menu{border-bottom:1px solid var(--line);background:var(--bg);gap:5px;padding:8px;display:grid}.deal-fields-contact-menu>button{min-height:48px;color:var(--text);border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:8px;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:9px;padding:6px 8px;display:grid}.deal-fields-contact-menu>button[aria-selected=true]{border-color:var(--accent)}.deal-fields-contact-menu button>span{flex-direction:column;gap:2px;min-width:0;display:flex}.deal-fields-contact-menu button strong{font-size:10px}.deal-fields-contact-menu button small{color:var(--muted);font-size:8px}.deal-fields-contact-menu button>svg{color:var(--accent)}.deal-contact-card .field-subsections{padding:9px}.deal-dialog-list{gap:8px;padding:9px;display:grid}.deal-dialog-list article{border:1px solid var(--line);background:var(--surface);border-radius:9px;overflow:hidden}.deal-dialog-list article.active{border-color:var(--color-primary);box-shadow:inset 3px 0 0 var(--color-primary)}.deal-dialog-select{width:100%;min-height:58px;color:var(--text);text-align:left;background:0 0;border:0;grid-template-columns:36px minmax(0,1fr) auto 18px;align-items:center;gap:9px;padding:8px 10px;display:grid}.deal-dialog-select>i{color:#fff;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.deal-dialog-select>span{flex-direction:column;gap:2px;min-width:0;display:flex}.deal-dialog-select strong,.deal-dialog-select small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.deal-dialog-select strong{font-size:10px}.deal-dialog-select small{color:var(--muted);font-size:8px}.deal-dialog-select>em{color:#fff;background:#e85a28;border-radius:9px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:8px;font-style:normal;font-weight:800;display:grid}.deal-dialog-select>svg{color:var(--color-primary)}.deal-dialog-list article>footer{border-top:1px solid var(--line);background:var(--bg);justify-content:flex-end;gap:6px;padding:7px 9px;display:flex}.deal-dialog-list article>footer button{min-height:30px;color:var(--color-primary-strong);border:1px solid var(--color-primary-border);background:var(--crm-theme-surface,white);border-radius:7px;align-items:center;gap:5px;padding:0 9px;font-size:8px;font-weight:700;display:flex}.deal-dialog-list article>footer button.remove{color:var(--crm-theme-muted,#66666e);border-color:var(--crm-theme-border,#dcdce0)}.document-entity-tabs{z-index:3;background:var(--crm-theme-surface-soft,#ebebeb);border-radius:9px;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px;display:grid;position:sticky;top:0}.document-entity-tabs button{min-width:0;min-height:36px;color:var(--muted);background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:5px;padding:0 6px;font-size:9px;font-weight:700;display:flex}.document-entity-tabs button.active{color:var(--crm-theme-text,#4f4f56);background:var(--crm-theme-surface,white);box-shadow:0 2px 8px #2d2a2514}.document-entity-tabs span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.product-field-section{padding:6px 0}.relation-builder{border:1px solid var(--line);background:var(--surface);border-radius:10px}.relation-builder>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;min-height:60px;padding:9px 11px;display:flex}.relation-builder>header>span{align-items:center;gap:8px;display:flex}.relation-builder>header>span>span{flex-direction:column;gap:2px;display:flex}.relation-builder header strong{font-size:10px}.relation-builder header small{color:var(--muted);font-size:8px}.relation-builder>header>button{min-height:34px;color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:7px;align-items:center;gap:5px;padding:0 9px;font-size:9px;display:flex}.relation-builder .relation-cards{margin:9px}.relation-builder .relation-cards article>i{color:var(--crm-theme-text,#4f4f56);background:var(--crm-theme-surface-soft,#ebebeb)}.relation-builder .relation-cards article>button{width:30px;height:30px;color:var(--muted);background:0 0;border:0;place-items:center;padding:0;display:grid}.universal-relation-picker{border:1px solid var(--line);background:var(--bg);border-radius:9px;margin:0 9px 9px;padding:9px}.universal-relation-picker .picker-types{grid-template-columns:repeat(4,1fr)}.universal-relation-picker .picker-types button{justify-content:center;align-items:center;gap:4px;display:flex}.universal-relation-picker .search-field{margin-top:8px}.universal-relation-picker .picker-options button{justify-content:space-between;align-items:center;display:flex}.universal-relation-picker .picker-options span{flex-direction:column;gap:2px;display:flex}.universal-relation-picker .picker-options small{color:var(--muted);font-size:8px}.ai-create-relation{min-height:34px;color:var(--crm-theme-text,#4f4f56);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3);border-radius:7px;align-items:center;gap:5px;margin-top:8px;padding:0 9px;font-size:9px;font-weight:700;display:flex}.relation-ai-chat{background:var(--crm-theme-surface-soft,#fff0e8);border-radius:8px;margin-top:7px;padding:9px}.relation-ai-chat p{margin:0 0 7px;font-size:9px}.relation-ai-chat>div{grid-template-columns:minmax(0,1fr) 34px;gap:6px;display:grid}.relation-ai-chat input{border:1px solid var(--line);border-radius:6px;min-width:0;height:36px;padding:0 8px}.relation-ai-chat button{color:var(--crm-theme-on-solid,white);background:var(--accent);border:0;border-radius:6px;place-items:center;padding:0;display:grid}.relation-create-form>div{gap:6px;display:flex}.relation-create-fields{grid-template-columns:1fr 1fr;gap:7px;display:grid!important}.relation-create-fields label{flex-direction:column;gap:3px;min-width:0;display:flex}.relation-create-fields label:first-child{grid-column:1/-1}.relation-create-fields span{color:var(--muted);font-size:8px}.relation-create-fields input{width:100%}.relation-create-error{color:var(--crm-theme-danger-text,#a83c16);margin-top:7px;font-size:8px;display:block}.relation-create-form>div:last-child{justify-content:flex-end;margin-top:8px;display:flex}.relation-create-form>div:last-child button{align-items:center;gap:5px;min-height:32px;padding:0 10px;display:flex}.relation-create-form>div:last-child .secondary{color:var(--text);border:1px solid var(--line);background:var(--surface)}.company-add-contact.universal{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.document-generator{border:1px solid var(--line);background:linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-subtle) 100%);border-radius:10px;overflow:hidden;box-shadow:0 8px 24px #2a27220f}.deal-document-list{background:var(--surface);box-shadow:none;overflow:visible}.deal-document-toolbar{border-bottom:1px solid var(--line);justify-content:flex-end;padding:10px 12px;display:flex}.deal-document-create{position:relative}.deal-document-rows{width:100%;min-width:0;display:grid;container-type:inline-size}.deal-document-row{border-bottom:1px solid var(--line);grid-template-columns:88px minmax(0,120px) minmax(100px,140px) minmax(0,1fr) minmax(0,100px) 40px;align-items:center;gap:10px;min-width:0;min-height:52px;padding:8px 12px;font-size:12px;display:grid}.deal-document-row>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.deal-document-row--head{min-height:40px;color:var(--muted);background:var(--color-surface-subtle);font-size:11px;font-weight:700}.deal-document-list .deal-document-row>strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;overflow:hidden}.deal-document-list .deal-document-row>.deal-document-name-input{box-sizing:border-box;width:100%;min-width:0;height:32px;color:var(--text);box-shadow:none;text-overflow:ellipsis;cursor:text;background:0 0;border:1px solid #0000;border-radius:5px;padding:5px 9px;font-family:inherit;font-size:12px;font-weight:600;transition:border-color .15s,background .15s}.deal-document-list .deal-document-row>.deal-document-name-input:hover{border-bottom-color:var(--line);background:color-mix(in srgb, var(--color-surface-subtle) 30%, transparent)}.deal-document-list .deal-document-row>.deal-document-name-input:is(:focus,:focus-visible){border-bottom-color:var(--line);background:color-mix(in srgb, var(--color-surface-subtle) 30%, transparent);box-shadow:none;text-overflow:clip;outline:none}.deal-document-row>.deal-document-row__type{white-space:normal;overflow-wrap:anywhere;font-weight:600}.deal-document-row__number{font-variant-numeric:tabular-nums;font-weight:600}.deal-document-row time{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}.deal-document-row>span:nth-last-child(2){color:var(--muted)}.deal-document-row:not(.deal-document-row--head):hover{background:var(--color-surface-subtle)}.deal-document-menu{justify-self:center;position:relative}.deal-document-menu>.entity-more-button{border-radius:50%;place-items:center;width:38px;min-width:38px;height:38px;min-height:38px;padding:0;display:grid}.deal-document-menu>div{z-index:5;border:1px solid var(--line);background:var(--surface);border-radius:8px;min-width:min(230px,100vw - 16px);padding:5px;display:grid;position:absolute;top:40px;right:0;overflow-y:auto;box-shadow:0 8px 24px #0000001f}.deal-document-menu>div.deal-document-menu--above{top:auto;bottom:40px}.deal-document-list .deal-document-menu>div>:is(a,button){box-sizing:border-box;width:100%;min-height:0;color:inherit;font-family:inherit;font-size:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:9px;padding:8px;font-weight:400;line-height:1.4;text-decoration:none;display:flex}.deal-document-list :is(.deal-document-menu>div,.deal-document-create-menu) :is(a,button)>svg{width:16px;height:16px;color:var(--accent);stroke-width:2px;flex:0 0 16px}.deal-document-menu>div>:is(a,button):hover{background:var(--color-surface-subtle)}.deal-document-empty{color:var(--muted);text-align:center;margin:0;padding:22px}.deal-chat-media{border-top:1px solid var(--line);margin-top:16px}.deal-chat-media h3{color:var(--text);margin:0;padding:14px 12px;font-size:13px;font-weight:700}.message-attachment-file-row{align-items:center;gap:4px;display:inline-flex}.message-attachment-file-row details{position:relative}.message-attachment-file-row summary{cursor:pointer;padding:4px;list-style:none}.message-attachment-file-row details>button{z-index:5;border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:6px;min-width:160px;padding:8px;position:absolute;right:0}@container (width<=560px){.deal-document-row{grid-template-columns:80px minmax(90px,110px) minmax(0,1fr) 40px;gap:8px}.deal-document-row__type,.deal-document-row--head>span:nth-child(2),.deal-document-row>span:nth-last-child(2),.deal-document-row--head>span:nth-last-child(2){display:none}.deal-document-list>.deal-document-rows:not(.deal-document-rows--grid) .deal-document-row>.deal-document-row__type{color:var(--muted);grid-area:2/3;font-size:11px;display:block}}@container (width<=390px){.deal-document-row{grid-template-columns:60px minmax(75px,90px) minmax(0,1fr) 40px;gap:6px;padding-inline-start:8px;padding-inline-end:8px}.deal-document-row--head{font-size:10px}}.deal-chat-media .deal-document-rows:not(.deal-document-rows--grid) .deal-document-row{grid-template-columns:88px minmax(0,120px) minmax(0,1fr) minmax(0,100px) 40px}@container (width<=560px){.deal-chat-media .deal-document-rows:not(.deal-document-rows--grid) .deal-document-row{grid-template-columns:80px minmax(0,1fr) 40px}}@container (width<=390px){.deal-chat-media .deal-document-rows:not(.deal-document-rows--grid) .deal-document-row{grid-template-columns:60px minmax(0,1fr) 40px}}.deal-document-toolbar{flex-wrap:wrap;align-items:center;gap:10px}.deal-document-toolbar-actions{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;margin-right:auto;display:flex}.deal-document-view-switch{border:1px solid var(--line);border-radius:8px;gap:2px;padding:2px;display:inline-flex}.deal-document-view-switch button{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:5px;display:grid;position:relative}.deal-document-view-switch button:after{z-index:10;width:max-content;color:var(--surface);background:var(--crm-theme-ink-surface,var(--text));content:attr(aria-label);pointer-events:none;opacity:0;visibility:hidden;border-radius:5px;padding:5px 8px;font-size:12px;transition:opacity .1s,visibility 0s linear .1s;position:absolute;top:calc(100% + 8px);right:0}.deal-document-view-switch button:is(:hover,:focus-visible):after{opacity:1;visibility:visible;transition-delay:.2s,.2s}.deal-document-view-switch button[aria-pressed=true]{color:var(--text);background:var(--color-surface-subtle)}.deal-document-view-switch .deal-document-hidden-toggle[data-has-hidden]:before{background:var(--accent);content:"";border-radius:50%;width:5px;height:5px;position:absolute;top:3px;bottom:auto;left:auto;right:3px}.deal-document-row[data-hidden]{box-shadow:inset 2px 0 var(--line)}.deal-document-hidden-mark{vertical-align:text-bottom;width:12px;height:12px;margin-inline-end:4px}.deal-document-view-switch button:focus-visible{outline-offset:2px;outline:2px solid}.deal-document-view-switch svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:15px;height:15px}.deal-document-rows--grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:16px;padding:16px}.deal-document-rows--grid .deal-document-row{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-rows:160px auto auto auto;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;min-height:0;padding:0 0 10px;display:grid}.deal-document-rows--grid .deal-document-row:hover{background:var(--surface);box-shadow:0 3px 12px #00000014}.deal-document-preview{border-bottom:1px solid var(--line);background:var(--color-surface-subtle);grid-column:1/-1;align-self:stretch;position:relative;overflow:hidden}.deal-document-preview iframe{pointer-events:none;border:0;width:100%;height:100%}.deal-document-preview :is(img,video){object-fit:cover;width:100%;height:100%}.deal-document-preview>span{height:100%;color:var(--muted);place-items:center;font-size:30px;font-weight:700;display:grid}.deal-document-preview>a{position:absolute;top:0;bottom:0;left:0;right:0}.deal-document-rows--grid .deal-document-row>:is(strong,.deal-document-name-input){grid-area:3/1;margin-left:10px;font-size:14px}.deal-document-rows--grid .deal-document-row>strong{padding-top:8px}.deal-document-rows--grid .deal-document-row>time{grid-area:4/1;padding-left:10px}.deal-document-rows--grid .deal-document-row__type{display:none}.deal-document-rows--grid .deal-document-row__number{grid-area:2/1;margin:8px 10px 0;font-size:12px}.deal-document-rows--grid .deal-document-row>span:nth-last-child(2){display:none}.deal-document-rows--grid .deal-document-menu{grid-area:2/2/5;align-self:end;margin-right:4px}.deal-document-rows--grid .deal-document-empty{grid-column:1/-1}.deal-document-list .deal-document-rows:not(.deal-document-rows--grid) .deal-document-row{border-bottom-color:color-mix(in srgb, var(--line) 60%, transparent);min-height:54px}.deal-document-list .deal-document-rows:not(.deal-document-rows--grid) .deal-document-row--head{min-height:36px;color:var(--muted);background:var(--surface);font-size:10px;font-weight:600}.deal-document-list .deal-document-rows:not(.deal-document-rows--grid) .deal-document-row>strong{font-weight:600}.deal-document-list .deal-document-rows:not(.deal-document-rows--grid) .deal-document-row__type{font-weight:500}.deal-document-list .deal-document-rows:not(.deal-document-rows--grid) .deal-document-row:not(.deal-document-row--head):hover{background:var(--color-surface-subtle)}.deal-document-list .deal-chat-media{border-top-color:color-mix(in srgb, var(--line) 60%, transparent);margin-top:12px}.deal-document-list .deal-chat-media h3{color:var(--text);align-items:center;gap:8px;padding:12px 12px 6px;font-size:12px;font-weight:650;display:flex}.deal-document-list .deal-chat-media h3:before{background:var(--accent);content:"";border-radius:2px;width:3px;height:15px}.document-generator>header{border-bottom:1px solid var(--line);background:var(--crm-theme-glass,#ffffffb8);justify-content:space-between;align-items:center;min-height:60px;padding:9px 11px;display:flex}.document-generator>header>span{align-items:center;gap:8px;display:flex}.document-generator>header>span>span{flex-direction:column;gap:2px;display:flex}.document-generator strong{font-size:10px}.document-generator small{color:var(--muted);font-size:8px}.document-actions{gap:8px;padding:10px;display:grid}.document-actions--single{padding:12px}.document-actions button{min-height:44px;color:var(--crm-theme-text,#4f4f56);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3);border-radius:7px;justify-content:center;align-items:center;gap:7px;font-size:10px;font-weight:700;display:flex}.document-actions .document-primary-action{min-height:62px;color:var(--text);border-color:var(--color-primary-border);background:var(--color-primary-faint);text-align:left;grid-template-columns:34px minmax(0,1fr) 18px;justify-content:stretch;gap:10px;padding:10px 12px;transition:border-color .16s,background .16s,transform .16s;display:grid}.document-actions .document-primary-action:hover:not(:disabled){border-color:var(--accent);background:var(--color-primary-softer);transform:translateY(-1px)}.document-actions .document-primary-action:disabled{cursor:wait;opacity:.58}.document-actions .document-primary-action>svg:first-child{width:34px;height:34px;color:var(--crm-theme-on-solid,white);background:var(--accent);border-radius:8px;padding:8px}.document-actions .document-primary-action>span{gap:3px;min-width:0;display:grid}.document-actions .document-primary-action>span strong{font-size:11px;line-height:1.25}.document-actions .document-primary-action>span small{overflow-wrap:anywhere;font-size:9px;line-height:1.35}.document-actions .document-primary-action>svg:last-child{color:var(--color-primary-strong)}.document-registry{border-top:1px solid var(--line)}.document-registry>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;min-height:52px;padding:9px 11px;display:flex}.document-registry>header>span{flex-direction:column;gap:2px;min-width:0;display:flex}.document-registry>header>em{min-width:24px;height:24px;color:var(--muted);background:var(--bg);border-radius:12px;place-items:center;padding:0 6px;font-size:8px;font-style:normal;font-weight:800;display:grid}.document-registry>p{color:var(--muted);text-align:center;margin:0;padding:18px 12px;font-size:9px}.document-registry>div{gap:7px;padding:9px;display:grid}.document-registry article{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:58px;padding:8px;display:grid;box-shadow:0 2px 10px #2a27220a}.document-registry article>i{width:32px;height:32px;color:var(--crm-theme-accent-text,#a83c16);background:var(--crm-theme-surface-soft,#fff0e8);border-radius:8px;place-items:center;display:grid}.document-registry article>span{flex-direction:column;gap:3px;min-width:0;display:flex}.document-registry article>span strong{text-transform:capitalize;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.document-registry article>div{gap:4px;display:flex}.document-registry article>div button,.document-registry article>div a{width:30px;height:30px;color:var(--muted);border:1px solid var(--line);background:var(--surface);border-radius:7px;place-items:center;padding:0;display:grid}.document-registry article>div button:hover,.document-registry article>div a:hover{color:var(--color-primary-strong);border-color:var(--color-primary-border);background:var(--color-primary-faint)}.document-registry article>div button.remove{color:var(--crm-theme-accent-text,#a83c16);border-color:var(--crm-theme-border,#dcdce0)}.document-modal-backdrop{z-index:190;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1c1d1a61;place-items:center;padding:16px;animation:.16s fade-in;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.document-modal{border:1px solid var(--crm-theme-border,#dcdce0);background:var(--surface);border-radius:12px;flex-direction:column;width:min(520px,100%);max-height:min(720px,100dvh - 32px);display:flex;overflow:hidden;box-shadow:0 24px 80px #1e1e1a3d}.document-modal>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:64px;padding:9px 14px;display:flex}.document-modal>header small{color:var(--muted);text-transform:uppercase;font-size:8px}.document-modal>header h2{margin:3px 0 0;font:700 17px PT Serif,serif}.document-modal>header>.document-modal-close{box-sizing:border-box;width:32px;min-width:32px;height:32px;min-height:32px;color:var(--muted);box-shadow:none;background:0 0;border:0;border-radius:50%;flex:0 0 32px;place-items:center;padding:0;display:grid}.document-modal>header>.document-modal-close:hover{color:var(--text);background:var(--color-surface-subtle)}.document-modal>header>.document-modal-close:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.document-modal-body{gap:9px;min-height:0;padding:12px 14px;display:grid;overflow-y:auto}.one-c-document-modal{width:min(900px,100%);max-height:calc(100dvh - 32px)}.one-c-document-body{gap:14px}.one-c-document-total{border:1px solid var(--color-primary-border);background:var(--color-primary-faint);border-radius:9px;justify-content:space-between;align-items:baseline;gap:12px;padding:13px;display:flex}.one-c-document-total span,.one-c-document-fields small,.one-c-document-items small,.one-c-document-technical summary{color:var(--muted);font-size:8px;font-weight:700}.one-c-document-total strong{font:700 18px PT Serif,serif}.one-c-document-fields{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:7px;display:grid}.one-c-document-fields>div,.one-c-document-technical>div{border:1px solid var(--line);background:var(--bg);border-radius:7px;flex-direction:column;gap:3px;min-height:49px;padding:8px;display:flex}.one-c-document-fields strong,.one-c-document-technical strong{overflow-wrap:anywhere;font-size:9px;line-height:1.3}.one-c-document-items{gap:7px;display:grid}.one-c-document-items>header{justify-content:space-between;display:flex}.one-c-document-items>header span{flex-direction:column;gap:2px;display:flex}.one-c-document-items article{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:8px;padding:10px;display:grid}.one-c-document-items article>header{justify-content:space-between;gap:10px;display:flex}.one-c-document-items article>header span{flex-direction:column;gap:2px;min-width:0;display:flex}.one-c-document-items article>header strong{overflow-wrap:anywhere;font-size:10px}.one-c-document-items article>header em{color:var(--color-primary-strong);flex:none;font-size:10px;font-style:normal;font-weight:700}.one-c-document-items article>div{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:6px;display:grid}.one-c-document-items article>div>span{color:var(--muted);flex-direction:column;gap:2px;font-size:8px;display:flex}.one-c-document-items article>div strong{color:var(--text);overflow-wrap:anywhere;font-size:9px}.one-c-document-technical{border:1px dashed var(--line);background:var(--bg);border-radius:8px;padding:10px}.one-c-document-technical summary{cursor:pointer}.one-c-document-technical>div{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:6px;margin-top:9px;display:grid}.one-c-document-technical>div>span{color:var(--muted);flex-direction:column;gap:2px;font-size:8px;display:flex}.admin-one-c-sync-document-note{color:var(--muted);margin-top:10px;font-size:11px;line-height:1.4;display:block}.document-modal-body label{gap:4px;display:grid}.document-modal-body label span{min-width:0;color:var(--muted);font-size:8px;font-weight:700;line-height:1.25}.document-modal-body :is(input,textarea,select){border:1px solid var(--line);background:var(--bg);border-radius:7px;width:100%;min-width:0;min-height:42px;padding:9px;font-size:10px;line-height:1.35}.document-modal-body .document-locale-field select{border:1px solid var(--line);background:var(--bg);border-radius:7px;width:100%;min-height:42px;padding:9px;font-size:12px}.document-modal-body textarea{resize:vertical;line-height:1.45}.document-modal-body :is(input,textarea,select,.document-date-trigger)[aria-invalid=true]{border-color:var(--crm-theme-border,#c73535);box-shadow:0 0 0 1px #c73535}.document-modal-body :is(input,textarea,select,.document-date-trigger)[aria-invalid=true]:focus-visible{outline:2px solid var(--crm-theme-border,#c73535);outline-offset:2px}.document-date-picker{min-width:0;position:relative}.document-modal-body .document-date-trigger{width:100%;min-height:42px;color:var(--text);border:1px solid var(--line);background:var(--bg);font:inherit;text-align:left;border-radius:7px;justify-content:space-between;align-items:center;padding:9px;font-size:10px;display:flex}.document-modal-body label .document-date-trigger span{color:var(--text);font-size:10px;font-weight:400}.document-date-trigger svg{color:var(--muted)}.document-date-calendar{z-index:5;border:1px solid var(--line);background:var(--surface);border-radius:10px;width:min(290px,100%);padding:10px;position:absolute;top:calc(100% + 5px);left:0;box-shadow:0 12px 32px #1e1e1a33}.document-date-calendar header{text-transform:capitalize;justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.document-date-calendar header strong{color:var(--text);font-size:12px}.document-date-calendar header button,.document-date-grid button{cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;display:grid}.document-date-calendar header button{width:30px;height:30px;color:var(--muted)}.document-date-grid{grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.document-date-grid span{color:var(--muted);text-align:center;padding:6px 0;font-size:9px;font-weight:700}.document-date-grid button{aspect-ratio:1;color:var(--text);font-size:11px}.document-date-calendar button:hover{background:var(--surface-2)}.document-date-grid button.selected{color:var(--crm-theme-on-solid,white);background:var(--accent)}.document-date-calendar button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.document-field-options{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:5px;display:grid}.document-field-options button{min-width:0;min-height:42px;color:var(--text);border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:7px;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;padding:6px 8px;display:flex}.document-field-options button span,.document-field-options button small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.document-field-options button span{color:var(--text);font-size:9px}.document-field-options button small{color:var(--muted);font-size:8px;line-height:1.2}.document-company-error{color:var(--crm-theme-danger-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-danger-surface,#fff7f3);text-align:center;border-radius:10px;justify-items:center;gap:10px;padding:18px 12px;display:grid}.document-company-error>span{flex-direction:column;gap:4px;display:flex}.document-company-error>span small{max-width:340px;font-size:9px;line-height:1.4}.document-company-error>div{flex-wrap:wrap;justify-content:center;gap:7px;display:flex}.document-company-error>div button{min-height:34px;color:var(--crm-theme-danger-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-danger-surface,white);border-radius:7px;align-items:center;gap:6px;padding:0 10px;font-size:8px;font-weight:700;display:flex}.document-company-choice{gap:5px;display:grid}.document-company-choice>small{margin-bottom:4px}.document-company-choice>div{gap:6px;display:grid}.document-company-choice>div>button{min-height:56px;color:var(--text);border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:8px;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:9px;padding:7px 9px;display:grid}.document-company-choice>div>button>i,.document-company-summary>i{border-radius:50%;width:36px;height:36px;overflow:hidden}.document-company-choice>div>button>span,.document-company-summary>span{flex-direction:column;gap:2px;min-width:0;display:flex}.document-company-choice>div>button small,.document-company-summary small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.document-company-summary{border:1px solid var(--color-primary-border);background:var(--color-primary-faint);border-radius:8px;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:58px;padding:8px 9px;display:grid}.document-company-summary>span:first-child{grid-column:1/-1}.document-company-summary strong{overflow-wrap:anywhere;max-width:100%;line-height:1.25}.document-company-summary>button{min-height:30px;color:var(--color-primary-strong);border:1px solid var(--color-primary-border);background:var(--crm-theme-surface,white);border-radius:6px;padding:0 8px;font-size:8px;font-weight:700}.document-missing-fields{color:var(--crm-theme-accent-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3);border-radius:8px;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px;display:grid}.document-missing-fields>span{flex-direction:column;gap:2px;min-width:0;display:flex}.document-missing-fields>span small{line-height:1.35}.document-missing-fields>button{min-height:32px;color:var(--crm-theme-accent-text,#a83c16);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface,white);border-radius:6px;padding:0 8px;font-size:8px;font-weight:700}.document-preview{border:1px solid var(--crm-theme-border,#dcdce0);background:var(--crm-theme-surface-soft,#fff7f3);border-radius:8px;padding:10px}.document-preview>small{margin-top:4px;line-height:1.4;display:block}.document-preview p{color:var(--crm-theme-muted,#66666e);margin:6px 0 0;font-size:9px;line-height:1.45}.document-item-editor{grid-template-columns:minmax(0,1fr) 72px 110px;gap:6px;margin-top:7px;display:grid}.document-item-editor input{min-width:0}.document-item-editor>.document-field-options{grid-column:1/-1}.document-item-model{grid-column:1/-1;justify-content:space-between;align-items:center;gap:8px;display:flex}.document-item-model>strong{font-size:11px}.document-item-model>button{color:var(--crm-theme-accent-text,#a83c16);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}.document-model-picker{border-top:1px solid var(--crm-theme-border,#dcdce0);gap:8px;margin-top:12px;padding-top:10px;display:grid}.document-deal-models{gap:7px;margin-top:10px;display:grid}.document-deal-models>strong{font-size:11px}.document-deal-models>small{color:var(--muted);font-size:12px}.document-deal-models-list{gap:5px;display:grid}.document-deal-models-list>div{border:1px solid var(--crm-theme-border,#e2e3e6);background:var(--crm-theme-surface,white);border-radius:6px;justify-content:space-between;align-items:center;gap:12px;min-height:38px;padding:6px 9px;display:flex}.document-deal-models-list>div>span{font-weight:600}.document-deal-models-list>div>small{color:var(--muted);white-space:nowrap}.document-deal-models-list button{border:1px solid var(--color-primary-border);background:var(--crm-theme-surface,white);color:var(--color-primary-strong);cursor:pointer;border-radius:6px;align-items:center;gap:4px;padding:5px 9px;display:inline-flex}.document-model-picker>strong{font-size:11px}.document-model-select-row{grid-template-columns:minmax(0,1fr) auto;gap:7px;display:grid}.document-model-select-row select{border:1px solid var(--crm-theme-border,#9da3ad);background:var(--crm-theme-surface,white);min-width:0;min-height:40px;color:var(--crm-theme-text,#24282f);font:inherit;border-radius:6px;padding:0 10px}.document-model-select-row>button{border:1px solid var(--color-primary-border);background:var(--color-primary-faint);color:var(--color-primary-strong);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:5px;padding:0 12px;display:inline-flex}.document-model-select-row>button:disabled{opacity:.5;cursor:not-allowed}.document-model-picker>label{border:1px solid var(--crm-theme-border,#dcdce0);background:var(--crm-theme-surface,white);border-radius:6px;align-items:center;gap:6px;padding:5px 8px;display:flex}.document-model-picker>label input{border:0;outline:0;flex:1;min-width:0}.document-model-picker>label>button{color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;padding:2px;display:grid}.document-model-search-results{gap:6px;max-height:280px;display:grid;overflow-y:auto}.document-model-search-results .deal-product-result{grid-template-columns:36px minmax(0,1fr) 28px}.document-model-search-results>small{color:var(--muted);padding:10px}.document-model-picker>small{color:var(--crm-theme-muted,#66666e);font-size:11px}.document-model-options{flex-wrap:wrap;gap:5px;display:flex}.document-model-options>small{color:var(--crm-theme-muted,#66666e);flex-basis:100%}.document-model-options>button{border:1px solid var(--color-primary-border);background:var(--crm-theme-surface,white);color:var(--color-primary-strong);cursor:pointer;border-radius:6px;align-items:center;gap:4px;padding:5px 8px;display:inline-flex}.document-send-box{border:1px solid var(--crm-theme-border,#dcdce0);background:var(--bg);border-radius:8px;gap:7px;padding:10px;display:grid}.document-send-box>div{gap:4px;display:grid}.document-send-box label{background:var(--surface);border-radius:7px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;min-height:38px;padding:6px;display:grid}.document-send-box label span{min-width:0;color:var(--text);flex-direction:column;font-size:9px;font-weight:700;display:flex}.document-send-box em{color:var(--green);font-size:9px;font-style:normal;font-weight:700}.document-modal>footer{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;padding:10px 14px;display:flex}.document-modal>footer button{border-radius:6px;justify-content:center;align-items:center;gap:5px;min-width:108px;height:38px;font-size:9px;font-weight:700;display:flex}.document-modal>footer .secondary{border:1px solid var(--line);background:var(--surface)}.document-modal>footer .primary{color:var(--crm-theme-on-solid,white);border:1px solid var(--accent);background:var(--accent)}.document-modal>footer .primary:disabled{opacity:.45}:is(.deal-products-workspace,.deal-interested-models-workspace){border-color:var(--color-border);border-radius:12px}:is(.deal-products-workspace,.deal-interested-models-workspace) .deal-product-result strong{font-size:11px}:is(.deal-products-workspace,.deal-interested-models-workspace) .deal-product-result small{font-size:9px}:is(.deal-products-workspace,.deal-interested-models-workspace) .deal-product-list article{padding:12px 14px}:is(.deal-products-workspace,.deal-interested-models-workspace) .deal-product-main>span>strong{font-size:12px}:is(.deal-products-workspace,.deal-interested-models-workspace) .deal-product-main>span>small{font-size:9px}:is(.deal-products-workspace,.deal-interested-models-workspace) .deal-product-main>em{font-variant-numeric:tabular-nums;font-size:11px}:is(.deal-products-workspace,.deal-interested-models-workspace) .deal-product-warehouse-summary strong{font-size:10px}.deal-interested-models-workspace .deal-interested-linked-unit strong{font-size:11px}.deal-interested-models-workspace>.deal-interested-model-summary{padding:10px 14px}.deal-interested-models-workspace>.deal-interested-model-summary>strong{color:var(--accent);font-size:13px}.deal-document-create-menu{z-index:5;border:1px solid var(--line);background:var(--surface);border-radius:8px;min-width:min(230px,100vw - 16px);padding:5px;display:grid;position:absolute;top:calc(100% + 4px);left:0;box-shadow:0 8px 24px #0000001f}.deal-document-create-menu--above{top:auto;bottom:calc(100% + 4px)}.deal-document-list .deal-document-create-menu button{box-sizing:border-box;width:100%;min-height:0;color:inherit;font-family:inherit;font-size:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:9px;padding:8px;font-weight:400;line-height:1.4;display:flex}.deal-document-create-menu button:not(:disabled):hover{background:var(--color-surface-subtle)}.deal-document-create-menu button:disabled{opacity:.55;cursor:not-allowed}.relation-row-actions{align-items:center;gap:4px;display:flex}.deal-contact-switcher>div>article.relation-actions-row{grid-template-columns:auto minmax(0,1fr) auto}.relation-detach-button{width:30px;height:30px;color:var(--muted);border:1px solid var(--line);background:var(--bg);border-radius:7px;flex:none;place-items:center;padding:0;display:inline-grid}.relation-detach-button:hover:not(:disabled){color:var(--color-text-warm);border-color:var(--accent)}.deal-company-switcher>div>article.deal-company-leasing{border-inline-start:3px solid var(--accent)}.deal-leasing-status{margin:0}.company-leasing-badge{background:var(--color-surface-selection);width:fit-content;color:var(--color-text-warm);border-radius:999px;margin-inline-start:4px;margin-inline-end:4px;padding:2px 8px;font-size:11px;font-weight:650;line-height:1.5;display:inline-block}@media (max-width:760px){.document-entity-tabs{grid-template-columns:repeat(2,1fr)}.composer-zone .composer-toolbar{grid-template-columns:minmax(0,1fr) auto}.composer-zone .scheduled-entry{display:none}.composer-zone .composer-recipient{grid-template-columns:36px minmax(0,1fr)}.composer-zone .composer-recipient strong{max-width:110px}.phone-menu{right:8px;bottom:max(84px, calc(72px + env(safe-area-inset-bottom)));width:auto;position:fixed;left:8px}.phone-menu>div{grid-template-columns:1fr 1fr}.phone-menu>div>span{grid-column:1/-1}.new-dialog-form{grid-template-columns:1fr}.new-dialog-form>button{grid-area:auto/1;justify-content:center;min-height:38px}.journal-note-composer{grid-template-columns:auto minmax(0,1fr)}.journal-note-composer button{grid-column:2;justify-self:end}.universal-relation-picker .picker-types{grid-template-columns:repeat(2,1fr)}.document-registry article{grid-template-columns:34px minmax(0,1fr)}.document-registry article>div{grid-column:2;justify-content:flex-end}.document-company-error>div{grid-template-columns:1fr 1fr;width:100%;display:grid}.document-company-error>div button{justify-content:center}.document-missing-fields{grid-template-columns:20px minmax(0,1fr)}.document-missing-fields>button{grid-column:1/-1}}.composer-zone .composer-recipient{align-items:center;min-height:42px}.composer-zone .composer-recipient .channel-badge{z-index:6;place-self:center;place-items:center;min-width:34px;min-height:34px;position:relative;overflow:visible;visibility:visible!important;opacity:1!important;display:grid!important}.composer-zone .composer-recipient .channel-badge>svg{stroke:currentColor;color:#fff!important;opacity:1!important;display:block!important}.telegram-bot-icon{place-items:center;width:22px;height:22px;display:grid;position:relative}.telegram-bot-icon .telegram-bot-plane{color:#fff;fill:#ffffff2e;width:20px;height:20px;transform:translate(-1px,-1px)rotate(-8deg)}.telegram-bot-icon .telegram-bot-mark{width:12px;height:12px;color:var(--crm-theme-info-text,#278dcc);border:1px solid var(--crm-theme-border,#fffffff5);background:var(--crm-theme-surface,#fff);stroke-width:2.4px;border-radius:50%;padding:1px;position:absolute;bottom:-2px;right:-2px}.composer-zone .composer-recipient .recipient-label{text-align:left;justify-content:flex-start;align-self:stretch}.composer-zone .composer-recipient .recipient-label>span{align-items:flex-start}.composer-zone .composer-recipient .recipient-phone,.composer-zone .composer-recipient .add-recipient{place-self:center;place-items:center;margin:0}.composer-zone>.composer-toolbar>.composer-ai-toggle{margin-left:10px}.composer-zone .channel-badge{box-shadow:0 0 0 3px var(--surface), 0 1px 5px #1f282b24}.contact-menu-avatar{color:#66666e;background:#ebebeb;border-radius:50%;flex:none;place-items:center;width:29px;height:29px;font-weight:800;font-size:8px!important;display:grid!important}.recipient-menu.contact-menu>button{justify-content:flex-start}.recipient-menu.contact-menu>button>svg{margin-left:auto}.recipient-menu.dialog-menu>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;min-height:45px;padding:5px 7px 8px;display:flex}.recipient-menu.dialog-menu>header>span{flex-direction:column;gap:2px;display:flex}.recipient-menu.dialog-menu>header strong{font-size:10px}.recipient-menu.dialog-menu>header small{color:var(--muted);font-size:8px}.recipient-menu.dialog-menu>header button{background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.channel-shortcuts{border-top:1px solid var(--line);margin-top:4px;padding:7px 4px 2px}.channel-shortcuts>small{color:var(--muted);margin-bottom:5px;font-size:8px;display:block}.channel-shortcuts>button{text-align:left;background:0 0;border:0;border-radius:6px;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:7px;width:100%;min-height:35px;padding:4px 5px;font-size:9px;display:grid}.channel-shortcuts>button:hover{background:var(--bg)}.composer-box>.desktop-voice,.composer-box>.desktop-send{display:grid!important}.composer-box>.mobile-voice,.composer-box>.mobile-send{display:none!important}.composer-box>.desktop-voice.recording{color:var(--crm-theme-on-solid,white);background:var(--danger);animation:1s infinite record-pulse}@media (min-width:761px){.mobile-chat-mode,.mobile-detail-call,.ai-mobile-backdrop,.ai-panel.mobile-surface{display:none!important}}@media (max-width:760px){.desktop-chat-mode,.ai-panel.desktop-surface,.composer-box>.desktop-voice,.composer-box>.desktop-send{display:none!important}.composer-box>.mobile-voice,.composer-box>.mobile-send{place-items:center;width:40px!important;height:40px!important;display:grid!important}}.channel-shortcuts .mini-channel{width:24px;height:24px}.phone-menu header>span{flex-direction:column;gap:2px;display:flex}.phone-menu header small{color:var(--muted);font-size:8px}.entity-journal{flex-direction:column;padding:0;display:flex;overflow:hidden}.history-search-frame>.entity-journal{width:100%}.journal-scroll{flex:1;min-height:0;padding:12px 14px 18px;overflow-y:auto}.journal-timeline{padding:2px 2px 8px}.journal-day{color:var(--muted);text-transform:uppercase;align-items:center;gap:8px;margin:4px 0 14px;font-size:9px;font-weight:750;display:flex;position:relative}.journal-day:after{content:"";background:var(--line);flex:1;height:1px}.journal-day i{background:var(--crm-theme-surface-soft,#b8b9bf);border-radius:50%;width:5px;height:5px}.journal-timeline .journal-timeline-event{padding-bottom:20px}.journal-timeline .journal-timeline-event>div{flex:1;min-width:0}.journal-timeline .journal-timeline-event>div>strong,.journal-timeline .journal-timeline-event>div>button strong{margin-top:3px;font-size:11px;display:block}.journal-timeline .journal-timeline-event>div>button{text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:0;display:flex}.journal-timeline .journal-timeline-event>div>p{color:var(--crm-theme-text,#4f4f56);margin-top:5px;font-size:10px;line-height:1.45}.journal-timeline .journal-timeline-event.expanded>div>button svg{transform:rotate(180deg)}.timeline-transcript{color:var(--crm-theme-muted,#66666e);border-left:2px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#f3f3f3);border-radius:0 7px 7px 0;margin-top:8px;padding:9px 10px;font-size:9px;line-height:1.5}.journal-timeline .journal-session-detail{background:0 0;margin:8px 0 0;padding:0}.journal-timeline .note-event>i{color:var(--crm-theme-muted,#66666e);border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3)}.journal-timeline .note-event>i.accent{color:var(--accent);border-color:var(--crm-theme-border,#f6bba4);background:var(--accent-soft)}.journal-composer{padding-bottom:max(7px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface);flex:none}.journal-composer .composer-toolbar{grid-template-columns:minmax(0,1fr) auto}.journal-composer .journal-recipient{grid-template-columns:38px minmax(0,1fr);justify-self:stretch;gap:4px;width:min(420px,100%)}.journal-composer .journal-channel-badge{color:#fff;width:34px;height:34px;box-shadow:none;place-items:center;visibility:visible!important;opacity:1!important;background:#171719!important;display:grid!important}.journal-composer.ai-mode .journal-channel-badge{background:var(--accent)!important}.journal-composer .journal-recipient .recipient-label{text-align:center;justify-content:center;min-width:0}.journal-composer .journal-recipient .recipient-label>span{align-items:center;min-width:0}.journal-composer .journal-recipient .recipient-label strong,.journal-composer .journal-recipient .recipient-label small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.journal-composer .composer-box{margin-top:2px}.journal-composer .send-button:disabled{opacity:.42}@media (max-width:760px){.journal-scroll{padding:10px 10px 14px}.journal-composer .composer-toolbar{grid-template-columns:minmax(0,1fr) 36px;gap:5px}.journal-composer .journal-recipient{grid-template-columns:36px minmax(0,1fr)}.journal-composer .journal-recipient strong{max-width:180px}.journal-composer .journal-recipient small{max-width:190px}.composer-zone>.composer-toolbar>.composer-ai-toggle{margin-left:5px}}html[data-crm-surface=desktop] body{overflow:auto hidden}html[data-crm-surface=desktop] #root,.app-shell.layout-desktop{min-width:1024px}.app-shell.layout-mobile{border-inline-start:0;border-inline-end:0;width:100%;max-width:none;margin:0;position:relative}.layout-mobile .mobile-report-app-header{z-index:34;min-height:70px;padding:max(10px, env(safe-area-inset-top)) 12px 10px;border-bottom:1px solid var(--line);background:var(--crm-theme-glass,#fffefaf0);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;display:grid;position:absolute;top:0;bottom:auto;left:0;right:0}.layout-mobile .mobile-report-switch{text-align:left;background:0 0;border:0;justify-items:start;gap:3px;min-width:0;padding:0;display:grid}.layout-mobile .mobile-report-switch>small{color:var(--accent);letter-spacing:.08em;text-transform:uppercase;font-size:9px;font-weight:800}.layout-mobile .mobile-report-switch>span{align-items:center;gap:4px;min-width:0;max-width:100%;display:flex}.layout-mobile .mobile-report-switch strong{font:700 18px var(--font-display);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.layout-mobile .mobile-report-switch svg{color:var(--muted)}.layout-mobile .mobile-report-app-header .avatar-button,.layout-mobile .mobile-report-app-header .avatar-button>span{width:44px;height:44px}.layout-mobile .mobile-report-app-header .avatar-button img{border-radius:inherit;object-fit:cover;width:100%;height:100%}.layout-mobile .mobile-report-app-header .alert-button{width:40px;height:40px;position:relative}.layout-mobile .mobile-report-app-header .alert-button i{border:2px solid var(--surface);min-width:17px;height:17px;color:var(--crm-theme-on-solid,white);background:var(--accent);border-radius:9px;place-items:center;padding:0 4px;font-size:8px;font-style:normal;font-weight:800;display:grid;position:absolute;top:-3px;right:-3px}.layout-mobile .mobile-report-app-header+.management-workspace .mgmt-page,.layout-mobile .mobile-report-app-header+.motivation-workspace .motivation-scroll{padding-top:max(86px, calc(76px + env(safe-area-inset-top)))}.layout-mobile .workspace.calls-mode>.mobile-report-app-header+.calls-report .crm-page-header{min-height:168px;padding-top:max(88px, calc(78px + env(safe-area-inset-top)))}html[data-crm-surface=mobile] body{background:var(--surface)}.layout-mobile .workspace{margin-left:0;display:block}.layout-mobile .list-pane{border:0;height:100%}.layout-mobile .detail-pane{z-index:40;display:none;position:absolute;top:0;bottom:0;left:0;right:0}.layout-mobile .detail-pane.visible{animation:.2s slide-in;display:block}.layout-mobile .app-header{min-height:82px;padding:max(10px, env(safe-area-inset-top)) 12px 10px;grid-template-columns:auto minmax(0,1fr) auto}.layout-mobile .app-header>.avatar-button{display:block}.layout-mobile .avatar-button,.layout-mobile .avatar-button span{width:44px;height:44px}.layout-mobile .header-copy{gap:5px}.layout-mobile .header-copy>span{gap:7px;font-size:21px}.layout-mobile .header-copy>span:before{width:5px;height:19px}.layout-mobile .header-actions{gap:5px}.layout-mobile .app-header .header-actions .icon-button{width:40px;height:40px}.layout-mobile .desktop-welcome,.layout-mobile .ai-panel.desktop-surface,.layout-mobile .desktop-chat-mode{display:none!important}.layout-mobile .entity-scroll{padding-bottom:102px}.layout-mobile .bottom-nav{right:8px;bottom:max(8px, env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) 66px;gap:7px;width:auto;display:grid;position:absolute;left:8px}.layout-mobile .nav-switch,.layout-mobile .nav-actions{border-radius:13px;height:68px}.layout-mobile .nav-switch{gap:2px;padding:4px}.layout-mobile .nav-switch button{min-width:0;font-size:9px}.layout-mobile .nav-switch button svg{width:20px}.layout-mobile .nav-actions{padding:4px}.layout-mobile .nav-actions button{font-size:10px}.mobile-reports-list{gap:7px;padding:4px 0 14px;display:grid}.mobile-reports-list button{min-height:54px;color:var(--text);text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:8px 10px;font-size:13px;font-weight:800;display:grid}.mobile-reports-list button.active{color:var(--color-primary-strong);border-color:var(--color-primary-border);background:var(--color-primary-softer)}.mobile-reports-list i{width:38px;height:38px;color:var(--color-primary-strong);background:var(--color-primary-softer);border-radius:8px;place-items:center;display:grid}.mobile-reports-list svg{width:18px;height:18px}.layout-mobile .offline-banner,.layout-mobile .bulk-bar,.layout-mobile .ai-panel.mobile-surface,.layout-mobile .sheet-backdrop,.layout-mobile .profile-screen,.layout-mobile .notification-backdrop,.layout-mobile .date-modal-backdrop,.layout-mobile .app-toast{position:absolute}.layout-mobile .offline-banner{left:0}.layout-mobile .bulk-bar{left:8px;right:8px}.layout-mobile .bulk-bar>button:not(.bulk-ai):not(.icon-button){display:none}.layout-mobile .ai-mobile-backdrop{z-index:66;-webkit-backdrop-filter:blur(7px)saturate(.82);backdrop-filter:blur(7px)saturate(.82);background:#20211e57;position:absolute;top:0;bottom:0;left:0;right:0;display:block!important}.layout-mobile .ai-panel.mobile-surface{border:1px solid var(--crm-theme-border,#cdcbc3fa);border-bottom:0;border-radius:17px 17px 0 0;width:auto;height:36vh;min-height:330px;top:auto;bottom:0;left:8px;right:8px;box-shadow:0 -12px 50px #1d1e1b3d;display:flex!important}.layout-mobile .ai-panel.mobile-surface.expanded{width:auto;height:calc(100dvh - 8px);left:4px;right:4px}.layout-mobile .ai-panel.mobile-surface .drag-handle{display:block}.layout-mobile .ai-panel.mobile-surface>header{padding-top:15px}.layout-mobile .filter-drawer{justify-content:center;align-items:flex-end;padding:0}.layout-mobile .filter-drawer .bottom-sheet,.layout-mobile .filter-drawer .bottom-sheet.wide{width:min(500px,100%);max-width:100%;max-height:min(84vh,760px);padding:0 14px max(16px, env(safe-area-inset-bottom));border-radius:var(--radius-lg) var(--radius-lg) 0 0;animation:.22s slide-up}.layout-mobile .filter-drawer .sheet-handle{display:block}.layout-mobile .filter-drawer .filter-fields,.layout-mobile .settings-form-grid{grid-template-columns:1fr}.layout-mobile .profile-screen>header{padding-top:max(10px, env(safe-area-inset-top))}.layout-mobile .profile-screen>header .icon-button{display:none}.layout-mobile .profile-screen>main{width:calc(100% - 28px);margin-top:12px;overflow-y:auto}.layout-mobile .notification-popup{top:max(10px, env(safe-area-inset-top));width:auto;max-height:calc(100dvh - 20px - env(safe-area-inset-bottom));left:8px;right:8px;overflow:hidden}.layout-mobile .app-toast{right:10px;bottom:max(88px, calc(76px + env(safe-area-inset-bottom)));left:10px}.layout-mobile .top-tabs{z-index:15;border-top:0;border-bottom:1px solid var(--line);background:var(--crm-theme-glass,#fffefaf5);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);flex:none;position:relative;display:grid!important}.layout-mobile .top-tabs button.active:after{top:auto;bottom:-1px}.layout-mobile .bottom-tabs{display:none!important}.layout-mobile .composer-zone,.layout-mobile .task-composer{order:21}.layout-mobile .mobile-chat-mode{height:34px;color:var(--crm-theme-text,#4f4f56);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--accent-soft);white-space:nowrap;border-radius:6px;flex:none;align-items:center;gap:3px;margin-left:auto;padding:0 9px;font-size:11px;font-weight:700;display:flex!important}.layout-mobile .mobile-chat-mode.active{color:var(--crm-theme-on-ink,white);border-color:var(--text);background:var(--crm-theme-ink-surface,var(--text))}.layout-mobile .mobile-detail-call,.layout-mobile .deal-direct-actions .mobile-detail-call{width:44px;height:44px;color:var(--color-primary-strong);border:1px solid var(--color-primary-border);background:var(--color-primary-softer);border-radius:50%;place-items:center;text-decoration:none;display:grid}.layout-mobile .deal-contact-strip{display:none}.layout-mobile input,.layout-mobile textarea{font-size:16px!important}.layout-mobile .composer-box textarea{min-height:34px;padding:8px 6px 6px;line-height:17px;font-size:13px!important}.layout-mobile .deal-status-stack{grid-template-columns:minmax(118px,.36fr) minmax(0,1fr);min-height:48px;display:grid}.layout-mobile .task-key-fields{grid-template-columns:1fr}.layout-mobile .date-modal-backdrop{align-items:end;padding:0}.layout-mobile .date-time-modal{width:100%;max-height:calc(100dvh - env(safe-area-inset-top));border-bottom:0;border-left:0;border-right:0;border-radius:12px 12px 0 0}.layout-mobile .date-modal-body{grid-template-columns:1fr}.layout-mobile .calendar-panel{border-right:0}.layout-mobile .time-panel{border-top:1px solid var(--line)}.layout-mobile .composer-zone .composer-toolbar{grid-template-columns:minmax(0,1fr) auto}.layout-mobile .composer-zone .scheduled-entry{display:none}.layout-mobile .composer-zone .composer-recipient{grid-template-columns:36px minmax(0,1fr) 30px 30px}.layout-mobile .phone-menu{right:8px;bottom:max(84px, calc(72px + env(safe-area-inset-bottom)));width:auto;position:absolute;left:8px}.layout-mobile .journal-composer .composer-route-switch>button span,.layout-mobile .composer-route-switch>button span,.layout-mobile .composer-ai-toggle span{display:none}.layout-mobile .composer-box>.desktop-voice,.layout-mobile .composer-box>.desktop-send{display:none!important}.layout-mobile .composer-box>.mobile-voice,.layout-mobile .composer-box>.mobile-send{place-items:center;width:40px!important;height:40px!important;display:grid!important}.layout-mobile .warehouse-scroll{width:100%;padding-bottom:96px}.layout-mobile .warehouse-dashboard{width:100%;padding:14px 10px 24px}.layout-mobile .warehouse-detail-dashboard{padding-bottom:96px}.layout-mobile .warehouse-card-page{grid-template-columns:1fr;gap:9px}.layout-mobile .warehouse-card-page>header,.layout-mobile .warehouse-card-page>.warehouse-card-status,.layout-mobile .warehouse-card-page>.warehouse-card-section,.layout-mobile .warehouse-card-page>.warehouse-deal-actions,.layout-mobile .warehouse-card-page>.warehouse-card-tab-section,.layout-mobile .warehouse-card-page>.manual-costs-card,.layout-mobile .warehouse-card-page>.warehouse-card-section:last-child{grid-column:1/-1}.layout-mobile .warehouse-card-page>header{align-items:flex-start;min-height:0;padding:12px}.layout-mobile .warehouse-card-page>header h2{font-size:20px}.layout-mobile .warehouse-card-page .warehouse-card-fields,.layout-mobile .warehouse-card-page .warehouse-finance-grid,.layout-mobile .warehouse-card-page>.warehouse-deal-actions,.layout-mobile .warehouse-card-page .warehouse-deal-action-grid{grid-template-columns:1fr}.layout-mobile .warehouse-card-page .warehouse-card-field strong{text-align:left}.layout-mobile .warehouse-card-tabs{width:100%}.layout-mobile .warehouse-card-tabs button{flex:1 1 0;min-width:0;padding:0 8px}.layout-mobile .warehouse-card-page .warehouse-deal-action-grid>button.primary{grid-column:1/-1}.layout-mobile .warehouse-intro{gap:10px;margin-bottom:12px}.layout-mobile .warehouse-intro h1{margin-top:5px;font-size:23px}.layout-mobile .warehouse-intro p{max-width:230px;font-size:11px}.layout-mobile .updated{padding:6px;font-size:0}.layout-mobile .stock-metrics{grid-template-columns:1fr 1fr;gap:7px}.layout-mobile .stock-metrics :is(article,button){grid-template-columns:28px 1fr auto;min-height:102px;padding:9px}.layout-mobile .warehouse-tools{grid-template-columns:minmax(0,1fr);margin:10px -1px;padding:7px}.layout-mobile .warehouse-tabs{scrollbar-width:none;margin-top:10px;overflow-x:auto}.layout-mobile .warehouse-tabs::-webkit-scrollbar{display:none}.layout-mobile .warehouse-tabs button{min-width:max-content}.layout-mobile{--crm-page-tabs-gap:10px}.layout-mobile .list-pane>.app-header{order:0}.layout-mobile .list-pane>.search-zone{margin-top:var(--crm-page-tabs-gap);order:1}.layout-mobile .list-pane>.app-filter-grid{order:2}.layout-mobile .list-pane>.entity-scroll{order:3}.layout-mobile .crm-page-header:has(+:is(.pc-tab-list,.warehouse-tabs,.mgmt-tabs)){margin-bottom:var(--crm-page-tabs-gap)}.layout-mobile .warehouse-dashboard>.warehouse-tabs{margin-top:0}.layout-mobile .crm-page-header.documents-hero{padding:0}.layout-mobile .motivation-scroll>.motivation-header{margin-bottom:0}.layout-mobile .motivation-scroll>.motivation-tabs{margin-top:calc(var(--crm-page-tabs-gap) - 16px)}.layout-mobile .stock-filter-chips{flex-wrap:wrap;margin:0 -1px;overflow:hidden}.layout-mobile .inventory-section header small,.layout-mobile .inventory-grid-head{display:none}.layout-mobile .inventory-grid:not(.warehouse-report-grid){background:var(--crm-theme-surface-soft,#f3f3f3);padding:8px;display:block}.layout-mobile .inventory-row:not(.warehouse-report-row){border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:1fr 1fr;gap:11px 14px;min-height:0;margin-bottom:8px;padding:12px;display:grid}.layout-mobile .warehouse-models-section>.warehouse-model-nesting{justify-content:space-between;width:calc(100% - 28px)}.layout-mobile .warehouse-model-grid-head{display:none}.layout-mobile .warehouse-model-grid{background:var(--crm-theme-surface-soft,#f3f3f3);padding:8px;display:block}.layout-mobile .warehouse-model-row{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:1fr 1fr;gap:11px 14px;width:100%;min-height:0;margin-bottom:8px;padding:12px;display:grid}.layout-mobile .warehouse-model-row>span{box-shadow:none;padding:0;font-size:10px}.layout-mobile .warehouse-model-row>span:before{content:attr(data-label);color:var(--muted);text-transform:uppercase;margin-bottom:3px;font-size:7px;font-weight:700;display:block}.layout-mobile .warehouse-model-name{grid-column:1/-1}.layout-mobile .warehouse-model-child{background:var(--color-warehouse-child-surface);margin-left:10px}.layout-mobile .warehouse-model-child .warehouse-model-name{padding-left:0}.layout-mobile .warehouse-events-list{background:var(--crm-theme-surface-soft,#f3f3f3);padding:8px}.layout-mobile .warehouse-events-list button{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:1fr 1fr;gap:10px 14px;min-height:0;margin-bottom:8px;padding:12px}.layout-mobile .warehouse-events-list button:last-child{margin-bottom:0}.layout-mobile .warehouse-events-list em{text-align:left}.layout-mobile .inventory-model{box-shadow:none;grid-column:1/-1;padding:0 80px 0 0;position:static}.layout-mobile .inventory-row>span,.layout-mobile .inventory-row>.inventory-edit-cell,.layout-mobile .inventory-model{box-shadow:none}.layout-mobile .inventory-row:not(.warehouse-report-row)>span,.layout-mobile .inventory-row:not(.warehouse-report-row)>.inventory-edit-cell{overflow-wrap:anywhere;flex-direction:column;gap:3px;min-width:0;font-size:12px;display:flex}.layout-mobile .inventory-row:not(.warehouse-report-row)>span:before,.layout-mobile .inventory-row:not(.warehouse-report-row)>.inventory-edit-cell:before{content:attr(data-label);color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:700}.layout-mobile .inventory-row:not(.warehouse-report-row)>.inventory-edit-cell.active:before{content:none}.layout-mobile .warehouse-report-grid .inventory-grid-head{display:grid}.layout-mobile .restriction-list{background:var(--crm-theme-surface-soft,#f3f3f3);padding:7px}.layout-mobile .restriction-list article{border:1px solid var(--line);background:var(--surface);border-radius:7px;grid-template-columns:1fr auto;gap:8px;margin-bottom:7px;padding:10px}.layout-mobile .restriction-list article>span{grid-column:1/-1}.layout-mobile .restriction-list article>i{grid-area:1/2}.layout-desktop .workspace.warehouse-mode,.layout-desktop .workspace.calls-mode{grid-template-columns:minmax(0,1fr)}.layout-desktop .list-pane{border-right:1px solid var(--line);height:auto}.layout-desktop .detail-pane{z-index:auto;display:block;position:relative;top:auto;bottom:auto;left:auto;right:auto}.layout-desktop .app-header{grid-template-columns:minmax(0,1fr) auto;min-height:88px;padding:14px 16px 13px}.layout-desktop .app-header>.avatar-button{display:none}.layout-desktop .top-tabs{position:relative;display:grid!important}.layout-desktop .bottom-tabs{display:none!important}.layout-desktop .deal-contact-strip{display:flex}.layout-desktop .bottom-nav,.layout-desktop .mobile-chat-mode,.layout-desktop .mobile-detail-call,.layout-desktop .ai-mobile-backdrop{display:none!important}.layout-desktop .desktop-chat-mode{display:flex!important}.layout-desktop .ai-standalone-desktop{z-index:70;width:min(440px, calc(100% - var(--rail-width)));display:block;position:fixed;top:0;bottom:0;left:auto;right:0}.layout-desktop .filter-drawer{padding-left:var(--rail-width);background:#1c1d1a33;justify-content:stretch;align-items:flex-start}.layout-desktop .filter-drawer .bottom-sheet,.layout-desktop .filter-drawer .bottom-sheet.wide{border-radius:0 0 10px 10px;width:100%;max-width:none;max-height:70vh;padding:0 24px 18px}.layout-desktop .filter-drawer .sheet-handle{display:none}.layout-desktop .filter-drawer .filter-fields{grid-template-columns:repeat(3,minmax(160px,1fr))}.layout-desktop .profile-screen>header .icon-button{display:grid}.layout-desktop .date-modal-backdrop{align-items:center;padding:16px}.layout-desktop .date-time-modal{border:1px solid var(--crm-theme-border,#dcdce0);border-radius:12px;width:min(620px,100%);max-height:min(720px,100dvh - 32px)}.layout-desktop .date-modal-body{grid-template-columns:minmax(280px,1.2fr) minmax(210px,.8fr)}.layout-desktop .calendar-panel{border-right:1px solid var(--line)}.layout-desktop .time-panel{border-top:0}.layout-desktop .task-key-fields{grid-template-columns:1fr 1fr}.layout-desktop .composer-zone .composer-toolbar{grid-template-columns:auto minmax(250px,1fr) auto}.layout-desktop .composer-zone .scheduled-entry{display:flex}.layout-desktop .composer-box>.desktop-voice,.layout-desktop .composer-box>.desktop-send{display:grid!important}.layout-desktop .composer-box>.mobile-voice,.layout-desktop .composer-box>.mobile-send{display:none!important}.layout-desktop .warehouse-dashboard{width:min(1480px,100%);padding:22px 24px 36px}.layout-desktop .stock-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.layout-desktop .warehouse-tools{grid-template-columns:minmax(250px,1fr);margin:14px 0;padding:10px}.layout-desktop .stock-filter-chips{flex-wrap:nowrap;margin:0;overflow-x:auto}.layout-desktop .inventory-section header small{display:flex}.layout-desktop .inventory-grid{scrollbar-gutter:stable both-edges;background:0 0;padding:0;display:block;overflow:auto visible}.layout-desktop .inventory-grid.warehouse-report-grid{--warehouse-inventory-columns:minmax(360px, 3.6fr) minmax(100px, 1fr) minmax(190px, 1.9fr) minmax(190px, 1.9fr)}.layout-desktop .inventory-grid.warehouse-report-grid.report-finance-columns{--warehouse-inventory-columns:minmax(360px, 3.6fr) minmax(100px, 1fr) minmax(170px, 1.7fr) minmax(190px, 1.9fr) minmax(190px, 1.9fr)}.layout-desktop .inventory-grid-head,.layout-desktop .inventory-row{grid-template-columns:var(--warehouse-inventory-columns);gap:0;width:max-content;min-width:100%;padding:0;display:grid}.layout-desktop .inventory-row{background:0 0;border:0;border-radius:0;min-height:58px;margin:0}.layout-desktop .warehouse-report-grid .inventory-row{min-height:48px}.layout-desktop .warehouse-report-grid .inventory-row>span:before{content:none}.layout-desktop .inventory-model{grid-column:auto;padding-right:0}.layout-desktop .inventory-row>span,.layout-desktop .inventory-row>.inventory-edit-cell{font-size:12px;display:block}.layout-desktop .inventory-row>span:before,.layout-desktop .inventory-row>.inventory-edit-cell:before{content:none}.layout-desktop .warehouse-model-grid{scrollbar-gutter:stable both-edges;background:0 0;padding:0;display:block;overflow-x:auto}.layout-desktop .warehouse-model-grid-head,.layout-desktop .warehouse-model-row{grid-template-columns:var(--warehouse-model-columns);gap:0;width:max-content;min-width:100%;padding:0;display:grid}.layout-desktop .warehouse-model-row{background:0 0;border:0;border-radius:0;min-height:52px;margin:0}.layout-desktop .warehouse-model-child{background:var(--color-warehouse-child-surface);margin-left:0}.layout-desktop .warehouse-model-row>span{box-shadow:inset 0 -1px 0 var(--color-table-divider);padding:10px;font-size:12px}.layout-desktop .warehouse-model-row>span:before{content:none}.layout-desktop .warehouse-model-name{grid-column:auto}.layout-desktop .restriction-list{background:0 0;padding:0}.layout-desktop .restriction-list article{border:0;border-top:1px solid var(--color-border-subtle);background:0 0;border-radius:0;grid-template-columns:minmax(160px,1fr) minmax(190px,1.25fr) minmax(160px,1fr) auto;gap:12px;margin:0;padding:9px 14px}.layout-desktop .restriction-list article>span,.layout-desktop .restriction-list article>i{grid-area:auto}.deal-work-context{border-bottom:1px solid var(--line);background:var(--crm-theme-surface-soft,#fff7f3);grid-template-columns:repeat(3,minmax(0,1fr));gap:0;display:grid}.deal-work-context span{border-right:1px solid var(--crm-theme-border,#ffe4d8);min-width:0;padding:9px 14px}.deal-work-context span:last-child{border-right:0}.deal-work-context small{color:var(--muted);letter-spacing:.035em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;margin-bottom:3px;font-size:9px;font-weight:750;display:block;overflow:hidden}.deal-work-context strong{color:var(--crm-theme-text,#4f4f56);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.25;display:block;overflow:hidden}.deal-status-stack{border-bottom:1px solid var(--line);background:var(--crm-theme-surface-soft,#f3f3f3);flex:none;grid-template-columns:minmax(150px,.38fr) minmax(0,1fr);min-height:64px;display:grid}.deal-status-stack .stage-bar{border-right:1px solid color-mix(in srgb, var(--stage) 24%, var(--line));border-bottom:0;min-width:0;min-height:64px;padding:8px 14px 8px 16px}.deal-status-stack .stage-bar-copy{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.deal-status-stack .stage-bar-copy small{color:color-mix(in srgb, var(--stage) 64%, var(--muted));letter-spacing:.035em;text-transform:uppercase;font-size:9px;font-weight:750;line-height:1}.deal-status-stack .stage-bar-copy strong{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:7px;min-width:0;font-size:12px;line-height:1.25;display:flex;overflow:hidden}.deal-status-stack .stage-bar-copy i{flex:none}.deal-status-stack .next-action{background:color-mix(in srgb, var(--color-warning-soft) 72%, var(--surface));border:0;min-width:0;min-height:64px}.deal-status-stack .next-action-main{padding:8px 10px 8px 15px}.deal-status-stack .next-action-main small{letter-spacing:.035em}.deal-status-stack .next-action-date{min-width:104px}.deal-status-stack .next-action-editor{border-top:1px solid var(--crm-theme-border,#dcdce0);border-bottom:0;grid-column:1/-1;box-shadow:inset 4px 0 #ff9a76}.deal-status-stack .next-check-row.text{grid-template-columns:minmax(0,1fr) auto auto}.deal-status-stack .next-check-row>input{width:100%}.deal-status-stack .next-check-row.text>input{grid-column:1}.deal-status-stack .next-check-row.text .check-date{grid-column:2;justify-self:end}.deal-status-stack .next-check-row.text .remove-check{grid-column:3}.deal-status-stack:has(.next-action-editor) .stage-bar{grid-column:1/-1;min-height:46px}@media (max-width:760px){.deal-work-context{grid-template-columns:1fr}.deal-work-context span{border-right:0;border-bottom:1px solid var(--crm-theme-border,#ffe4d8);padding:7px 10px}.deal-work-context span:last-child{border-bottom:0}.deal-status-stack{grid-template-columns:minmax(118px,.36fr) minmax(0,1fr);min-height:56px}.deal-status-stack .stage-bar{min-height:56px;padding:7px 9px 7px 11px}.deal-status-stack .stage-bar-copy{gap:3px}.deal-status-stack .stage-bar-copy small{font-size:8px}.deal-status-stack .stage-bar-copy strong{gap:5px;font-size:10px}.deal-status-stack .stage-bar>svg{width:14px}.deal-status-stack .next-action{min-height:56px;padding:0}.deal-status-stack .next-action-main{padding:7px 6px 7px 9px}.deal-status-stack .next-action-date{min-width:82px;padding:0 6px}.deal-status-stack .next-check-row.text{grid-template-columns:minmax(0,1fr) auto auto}.deal-status-stack .next-check-row.text .check-date{grid-column:2}.deal-status-stack:has(.next-action-editor) .stage-bar{min-height:40px}}:root{--bg:var(--color-canvas);--surface:var(--color-surface);--surface-2:var(--color-surface-muted);--surface-soft:var(--color-surface-subtle);--text:var(--color-text);--muted:var(--color-text-muted);--faint:var(--color-text-faint);--line:var(--color-border);--accent:var(--color-primary);--accent-hover:var(--color-primary-hover);--accent-soft:var(--color-primary-soft);--green:var(--color-success);--info:var(--color-info);--info-soft:var(--color-info-soft);--danger:var(--color-danger);--danger-soft:var(--color-danger-soft);--warning:var(--color-warning);--warning-soft:var(--color-warning-soft);--shadow:var(--shadow-lg);font-family:var(--font-body);color:var(--color-text);background:var(--color-canvas);font-synthesis:none;text-rendering:optimizelegibility}.task-view-switch{width:100%}.task-section-chat-list .task-chat-row{min-height:84px}.task-chat-avatar{color:#4f4f56;background:#f3f3f3}.task-chat-avatar.request{color:#a83c16;background:#fff0e8}.task-chat-list-loading{min-height:180px;color:var(--muted);justify-content:center;align-items:center;gap:8px;font-size:12px;display:flex}.task-chat-directory{background:var(--bg);min-height:100%;padding:18px 14px 110px}.task-chat-directory>header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.task-chat-directory>header>span{align-items:center;gap:10px;min-width:0;display:flex}.task-chat-directory>header>span>span{gap:2px;display:grid}.task-chat-directory>header strong{font-size:14px}.task-chat-directory>header small{color:var(--muted);font-size:10px}.task-chat-directory>header>button{color:#fff;background:#171719;border:0;border-radius:10px;align-items:center;gap:6px;min-height:36px;padding:0 12px;font-size:11px;font-weight:800;display:inline-flex}.task-chat-directory-group{gap:7px;margin-top:14px;display:grid}.task-chat-directory-group>small{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;padding:0 3px;font-size:9px;font-weight:850}:is(.task-chat-directory-group>button,.task-chat-directory-group>.deal-task-linked-row>.deal-task-open){text-align:left;border:1px solid var(--crm-theme-border,#ebebeb);background:var(--crm-theme-surface,white);border-radius:14px;grid-template-columns:42px minmax(0,1fr) auto auto;align-items:center;gap:10px;width:100%;min-height:76px;padding:10px 11px;display:grid;box-shadow:0 2px 8px #232a2e0a}:is(.task-chat-directory-group>button,.task-chat-directory-group>.deal-task-linked-row>.deal-task-open)>i{width:40px;height:40px;color:var(--crm-theme-text,#4f4f56);background:var(--crm-theme-surface-soft,#eee);border-radius:50%;place-items:center;display:grid}:is(.task-chat-directory-group>button,.task-chat-directory-group>.deal-task-linked-row>.deal-task-open)>i.request{color:var(--crm-theme-accent-text,#a83c16);background:var(--crm-theme-surface-soft,#fff0e8)}:is(.task-chat-directory-group>button,.task-chat-directory-group>.deal-task-linked-row>.deal-task-open)>span{gap:3px;min-width:0;display:grid}:is(.task-chat-directory-group>button,.task-chat-directory-group>.deal-task-linked-row>.deal-task-open) strong,:is(.task-chat-directory-group>button,.task-chat-directory-group>.deal-task-linked-row>.deal-task-open) small,:is(.task-chat-directory-group>button,.task-chat-directory-group>.deal-task-linked-row>.deal-task-open) em{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:is(.task-chat-directory-group>button,.task-chat-directory-group>.deal-task-linked-row>.deal-task-open) strong{font-size:12px}:is(.task-chat-directory-group>button,.task-chat-directory-group>.deal-task-linked-row>.deal-task-open) small{color:var(--crm-theme-text,#4f4f56);font-size:10px}:is(.task-chat-directory-group>button,.task-chat-directory-group>.deal-task-linked-row>.deal-task-open) em{color:var(--muted);font-size:9px;font-style:normal}:is(.task-chat-directory-group>button,.task-chat-directory-group>.deal-task-linked-row>.deal-task-open)>b,.task-chat-switcher>button>b{color:#fff;background:#e85a28;border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 5px;font-size:9px;display:grid}.task-chat-builder{background:var(--crm-theme-surface-soft,#f7f7f7);flex-direction:column;flex:100%;width:100%;min-width:0;min-height:100%;padding-bottom:96px;display:flex}.task-chat-builder>header{border-bottom:1px solid var(--crm-theme-border,#ebebeb);background:var(--crm-theme-surface,white);justify-content:space-between;align-items:center;gap:12px;min-height:66px;padding:12px 14px;display:flex}.task-chat-builder>header>span{align-items:center;gap:10px;min-width:0;display:flex}.task-chat-builder>header>span>i{width:38px;height:38px;color:var(--crm-theme-accent-text,#a83c16);background:var(--crm-theme-surface-soft,#fff0e8);border-radius:12px;place-items:center;display:grid}.task-chat-builder>header>span>span{gap:3px;min-width:0;display:grid}.task-chat-builder>header strong{font-size:13px}.task-chat-builder>header small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.task-chat-builder>header>button{background:var(--crm-theme-surface-soft,#eee);border:0;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.task-chat-builder-scroll{gap:12px;width:100%;min-width:0;padding:13px;display:grid;overflow-y:auto}.task-builder-mode,.task-create-mode-switch{grid-template-columns:1fr 1fr;gap:8px;display:grid}.task-builder-mode>button,.task-create-mode-switch>button{text-align:left;min-width:0;min-height:62px;color:var(--crm-theme-muted,#66666e);border:1px solid var(--crm-theme-border,#dcdce0);background:var(--crm-theme-surface,white);border-radius:12px;align-items:center;gap:8px;padding:10px;display:flex}.task-builder-mode>button>span,.task-create-mode-switch>button>span{gap:3px;min-width:0;display:grid}.task-builder-mode>button strong,.task-create-mode-switch>button strong{font-size:11px}.task-builder-mode>button small,.task-create-mode-switch>button small{color:var(--muted);font-size:8px}.task-builder-mode>button.active,.task-create-mode-switch>button.active{color:var(--crm-theme-accent-text,#a83c16);border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3);box-shadow:inset 0 0 0 1px #e65f2b14}.task-builder-required{border:1px solid var(--crm-theme-border,#dcdce0);background:var(--crm-theme-surface,white);border-radius:14px;gap:13px;padding:14px;display:grid}.task-builder-required>header{border-bottom:1px solid var(--crm-theme-border,#eee);gap:3px;padding-bottom:10px;display:grid}.task-builder-required>header strong{font-size:12px}.task-builder-required>header small{color:var(--muted);font-size:9px}.task-builder-required label{color:var(--crm-theme-text,#171719);gap:6px;font-size:10px;font-weight:800;display:grid}.task-builder-required input,.task-builder-required select,.task-builder-required textarea{width:100%;min-height:42px;color:var(--text);border:1px solid var(--crm-theme-border,#dcdce0);background:var(--crm-theme-surface-soft,#f7f7f7);font:inherit;resize:vertical;border-radius:10px;outline:0;padding:10px 11px;font-size:12px;font-weight:500}.task-builder-required textarea{min-height:92px;line-height:1.45}.task-builder-required label>small,.task-builder-required fieldset>small{color:var(--muted);font-size:9px;font-weight:500}.task-builder-required fieldset{border:0;gap:8px;min-width:0;margin:0;padding:0;display:grid}.task-builder-required legend{margin-bottom:7px;font-size:10px;font-weight:800}.task-builder-participants{gap:6px;display:grid}.task-builder-participants>button{text-align:left;border:1px solid var(--crm-theme-border,#dcdce0);background:var(--crm-theme-surface-soft,#f7f7f7);border-radius:10px;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-height:50px;padding:7px 9px;display:grid}.task-builder-participants>button>span:first-child{width:30px;height:30px;color:var(--crm-theme-muted,#66666e);background:var(--crm-theme-surface-soft,#eee);border-radius:50%;place-items:center;font-size:9px;font-weight:850;display:grid}.task-builder-participants>button>span:nth-child(2){gap:2px;min-width:0;display:grid}.task-builder-participants>button strong{font-size:10px}.task-builder-participants>button small{color:var(--muted);font-size:8px}.task-builder-participants>button.selected{color:var(--crm-theme-accent-text,#a83c16);border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3)}.task-builder-auto-participant,.task-builder-deal{min-height:54px;color:var(--green);border:1px solid var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3);border-radius:11px;align-items:center;gap:9px;padding:9px 10px;display:flex}.task-builder-auto-participant>span,.task-builder-deal>span{flex:1;gap:3px;min-width:0;display:grid}.task-builder-auto-participant strong,.task-builder-deal strong{font-size:10px}.task-builder-auto-participant small,.task-builder-deal small{color:inherit;opacity:.75;font-size:8px}.task-builder-deal{color:var(--crm-theme-text,#4f4f56);border-color:var(--crm-theme-border,#dcdce0);background:var(--crm-theme-surface-soft,#f7f7f7)}.task-builder-deal.required{color:var(--crm-theme-accent-text,#a83c16);border-color:var(--crm-theme-border,#f6bba4);background:var(--crm-theme-surface-soft,#fff7f3)}.task-chat-builder>footer{padding:10px 13px max(10px, env(safe-area-inset-bottom));border-top:1px solid var(--crm-theme-border,#dcdce0);background:var(--crm-theme-surface,#fffffff0);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);margin-top:auto;position:sticky;bottom:0}.task-chat-builder>footer>button{color:#fff;background:#171719;border:0;border-radius:12px;justify-content:center;align-items:center;gap:7px;width:100%;min-height:44px;font-size:12px;font-weight:850;display:flex}.task-chat-builder>footer>button:disabled{color:var(--crm-theme-muted,#9697a0);background:var(--crm-theme-surface-soft,#eee)}.task-create-form .task-create-mode-switch{margin-bottom:12px}.task-create-chat-intro{color:var(--crm-theme-text,#4f4f56);background:var(--crm-theme-surface-soft,#f3f3f3);border-radius:13px;margin-bottom:12px;padding:13px 14px}.task-create-chat-intro strong{font-size:12px}.task-create-chat-intro p{color:var(--crm-theme-muted,#66666e);margin:5px 0 0;font-size:10px;line-height:1.45}.task-create-form .task-builder-mode{margin-bottom:12px}.task-composer .composer-toolbar{grid-template-columns:auto minmax(0,1fr) auto;gap:6px}.task-composer .composer-recipient.task-recipient{grid-template-columns:minmax(0,1fr) 32px;justify-self:center;gap:2px;width:min(300px,100%)}.task-composer .task-recipient .recipient-label{justify-content:center;gap:6px}.task-composer .task-recipient .recipient-label>svg{color:var(--crm-theme-muted,#9697a0);flex:none}.task-composer .task-recipient .task-add-chat{width:32px;height:32px;color:var(--crm-theme-on-solid,white);background:var(--color-primary);border:0;box-shadow:0 4px 12px #e85a282e}.task-participant-toggle{background:0 0;border:0;align-items:center;min-width:36px;height:36px;padding:0;display:flex;position:relative}.task-participant-stack{align-items:center;display:flex}.task-participant-stack>i{width:27px;height:27px;color:var(--crm-theme-text,#4f4f56);border:2px solid var(--crm-theme-border,white);background:var(--crm-theme-surface-soft,#eee);border-radius:50%;place-items:center;margin-left:-9px;font-size:8px;font-style:normal;font-weight:850;display:grid;box-shadow:0 1px 4px #1717191a}.task-participant-stack>i:first-child{margin-left:0}.task-participant-stack>i:nth-child(2){background:var(--crm-theme-surface-soft,#fff0e8)}.task-participant-stack>i:nth-child(3){background:var(--crm-theme-surface-soft,#f3f3f3)}.task-participant-toggle>b{min-width:16px;height:16px;color:var(--crm-theme-on-solid,white);border:2px solid var(--crm-theme-border,white);background:var(--color-primary);border-radius:999px;place-items:center;padding:0 3px;font-size:7px;display:grid;position:absolute;top:-2px;right:-3px}.task-participant-menu{z-index:27;border:1px solid var(--line);background:var(--crm-theme-surface,white);border-radius:12px;gap:4px;width:min(290px,100% - 20px);padding:10px;display:grid;position:absolute;bottom:calc(100% + 14px);left:10px;box-shadow:0 18px 42px #17171929}.task-participant-menu>small{color:var(--muted);text-transform:uppercase;padding:0 3px 6px;font-size:9px;font-weight:850}.task-participant-menu>div{border-radius:9px;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;min-height:46px;padding:6px;display:grid}.task-participant-menu>div+div{border-top:1px solid var(--crm-theme-border,#eee)}.task-participant-menu>div>i{width:30px;height:30px;color:var(--crm-theme-text,#4f4f56);background:var(--crm-theme-surface-soft,#f3f3f3);border-radius:50%;place-items:center;font-size:8px;font-style:normal;font-weight:850;display:grid}.task-participant-menu>div>span{gap:2px;min-width:0;display:grid}.task-participant-menu strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.task-participant-menu div small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.task-participant-menu>p{color:var(--muted);margin:0;padding:8px 3px;font-size:10px}.task-composer.ai-mode .composer-mode-title{grid-column:1/3}.task-chat-switcher{padding-bottom:11px;bottom:calc(100% + 14px)}.task-chat-switcher>button:last-child.active{border-bottom-color:var(--color-primary-border);margin-bottom:1px}.task-chat-switcher>button>span{flex:1;min-width:0}.task-chat-switcher>button>span strong,.task-chat-switcher>button>span small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.message.pinned-agenda{border:1px solid var(--crm-theme-border,#f6bba4);padding-top:25px;position:relative;box-shadow:0 4px 14px #a83c1614}.pinned-agenda-label{color:var(--crm-theme-accent-text,#a83c16);letter-spacing:.03em;text-transform:uppercase;align-items:center;gap:4px;font-size:8px;font-weight:850;display:inline-flex;position:absolute;top:7px;left:11px}@media (max-width:720px){html[data-crm-surface=mobile] body .layout-mobile .task-search-zone{display:grid}html[data-crm-surface=mobile] body .layout-mobile .task-search-zone:not(.search-visible){padding-bottom:8px}html[data-crm-surface=mobile] body .layout-mobile .task-chat-directory{padding-top:14px}html[data-crm-surface=mobile] body .layout-mobile .task-chat-directory>header{align-items:flex-start}html[data-crm-surface=mobile] body .layout-mobile .task-chat-directory>header>button{padding:0 10px}html[data-crm-surface=mobile] body .layout-mobile .task-chat-builder{padding-bottom:0}html[data-crm-surface=mobile] body .layout-mobile .task-chat-builder-scroll{padding-bottom:18px}html[data-crm-surface=mobile] body .layout-mobile .task-composer .composer-toolbar{grid-template-columns:auto minmax(0,1fr) 36px}html[data-crm-surface=mobile] body .layout-mobile .task-composer .composer-recipient.task-recipient{grid-template-columns:minmax(0,1fr) 32px}}.deal-detail-header .task-title-meta{border-bottom:0}.company-deal-composer .composer-toolbar{grid-template-columns:minmax(0,1fr)}.company-deal-composer .composer-recipient{width:min(420px,100%)}.company-composer-contact-action{border-top:1px solid var(--color-border);padding:6px 4px 2px}.company-composer-contact-action>button{width:100%;min-height:34px;color:var(--color-text-secondary);background:var(--color-surface-subtle);border:0;border-radius:7px;justify-content:center;align-items:center;gap:6px;font-size:10px;font-weight:700;display:flex}@media (max-width:767px){html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header :is(.client-title-company,.company-title-type){color:var(--color-text-secondary);border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border);background:var(--color-surface)}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .task-title-meta{border-bottom:0}html[data-crm-surface=mobile] body .layout-mobile .company-detail-screen>.company-deal-composer{z-index:20;padding-bottom:max(4px, env(safe-area-inset-bottom));background:var(--crm-theme-glass,#f6f8f8a3);-webkit-backdrop-filter:blur(18px)saturate(1.16);backdrop-filter:blur(18px)saturate(1.16);border-radius:0;position:absolute;bottom:0;left:0;right:0;overflow:visible;box-shadow:0 -1px #ffffff9e,0 -12px 30px #262a3014}html[data-crm-surface=mobile] body .layout-mobile .company-detail-screen>.company-deal-composer .composer-box{background:var(--crm-theme-glass,#ffffffb8);-webkit-backdrop-filter:blur(12px)saturate(1.12);backdrop-filter:blur(12px)saturate(1.12)}html[data-crm-surface=mobile] body .layout-mobile .company-conversation{padding-bottom:126px}}.deal-detail-header .task-title-meta{color:var(--color-text-secondary);background:var(--color-surface);box-shadow:none;border-bottom:0}@media (max-width:767px){html[data-crm-surface=mobile] body .layout-mobile .task-detail-header{z-index:17;background:0 0;position:relative}html[data-crm-surface=mobile] body .layout-mobile .task-detail-header .task-title-meta{color:var(--color-text-secondary);border-top:1px solid var(--color-border);background:var(--color-surface);border-bottom:0}html[data-crm-surface=mobile] body .layout-mobile .task-header-actions{z-index:3;position:absolute;top:7px;right:7px}html[data-crm-surface=mobile] body .layout-mobile .task-header-actions .deal-action-circle{width:42px;min-width:42px;height:42px}html[data-crm-surface=mobile] body .layout-mobile .task-entity-workspace{background:0 0;padding:12px 10px 28px}html[data-crm-surface=mobile] body .layout-mobile .task-section-card,html[data-crm-surface=mobile] body .layout-mobile .task-relations>header,html[data-crm-surface=mobile] body .layout-mobile .task-relations>.relation-cards{background:var(--crm-theme-glass,#ffffffe0);-webkit-backdrop-filter:blur(12px)saturate(1.08);backdrop-filter:blur(12px)saturate(1.08)}html[data-crm-surface=mobile] body .layout-mobile .task-description-section .task-description-card{background:0 0;min-height:238px;padding:14px}html[data-crm-surface=mobile] body .layout-mobile .task-description-section .task-description-card textarea{min-height:190px}html[data-crm-surface=mobile] body .layout-mobile .task-detail-screen>.task-composer{z-index:20;padding:0 0 max(4px, env(safe-area-inset-bottom));background:var(--crm-theme-glass,#f6f8f8a3);-webkit-backdrop-filter:blur(18px)saturate(1.16);backdrop-filter:blur(18px)saturate(1.16);border-radius:0;margin:0;position:absolute;bottom:0;left:0;right:0;overflow:visible;box-shadow:0 -1px #ffffff9e,0 -12px 30px #262a3014}html[data-crm-surface=mobile] body .layout-mobile .task-detail-screen>.task-composer .composer-box{background:var(--crm-theme-glass,#ffffffb8);-webkit-backdrop-filter:blur(12px)saturate(1.12);backdrop-filter:blur(12px)saturate(1.12)}html[data-crm-surface=mobile] body .layout-mobile .task-conversation{padding-bottom:126px}}@media (max-width:760px){html.keyboard-open[data-crm-surface=mobile]{overflow:hidden}html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .sheet-backdrop:focus-within,html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .date-modal-backdrop:focus-within{top:var(--app-visual-viewport-top,0px);height:var(--app-visual-viewport-height,100dvh);align-items:stretch;min-height:0;padding:0;position:fixed;bottom:auto;left:0;right:0;overflow:hidden}html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .sheet-backdrop:focus-within .bottom-sheet{width:100%;max-width:none;height:100%;min-height:0;max-height:none;padding-bottom:max(6px, env(safe-area-inset-bottom));border-radius:0;flex-direction:column;margin:0;animation:none;display:flex;overflow:hidden;transform:none!important}html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .sheet-backdrop:focus-within .bottom-sheet>header{touch-action:none;flex:none}html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .sheet-backdrop:focus-within .bottom-sheet>:not(.sheet-handle):not(header){overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:auto;min-height:0;max-height:none;overflow:auto}html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .field-editor-sheet:focus-within .field-edit-form,html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .field-editor-sheet:focus-within .next-action-popup-form{height:auto;min-height:0;max-height:none}html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .field-editor-sheet:focus-within .field-edit-form .sheet-footer{z-index:2;padding-bottom:max(4px, env(safe-area-inset-bottom));background:var(--color-surface);position:sticky;bottom:0}html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .date-modal-backdrop:focus-within .date-time-modal{overscroll-behavior:contain;border-radius:0;width:100%;max-width:none;height:100%;min-height:0;max-height:none;margin:0;overflow:auto}html[data-crm-surface=mobile] body .layout-mobile .sheet-backdrop.is-fullscreen-sheet{top:var(--app-visual-viewport-top,0px);height:var(--app-visual-viewport-height,100dvh);align-items:stretch;min-height:0;padding:0;position:fixed;bottom:auto;left:0;right:0;overflow:hidden}html[data-crm-surface=mobile] body .layout-mobile .bottom-sheet.is-fullscreen,html[data-crm-surface=mobile] body .layout-mobile .bottom-sheet.wide.is-fullscreen{width:100%;max-width:none;height:100%;min-height:0;max-height:none;padding-bottom:max(6px, env(safe-area-inset-bottom));border-radius:0;flex-direction:column;margin:0;animation:none;display:flex;overflow:hidden}html[data-crm-surface=mobile] body .layout-mobile .bottom-sheet.is-fullscreen>header{flex:none}html[data-crm-surface=mobile] body .layout-mobile .bottom-sheet.is-fullscreen>:not(.sheet-handle):not(header):not(.sheet-footer){overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:auto;min-height:0;max-height:none;overflow:auto}html[data-crm-surface=mobile] body .layout-mobile .bottom-sheet.is-fullscreen>.sheet-footer{flex:none;min-height:0;overflow:visible}html[data-crm-surface=mobile] body .layout-mobile .bottom-sheet.is-fullscreen .field-edit-form,html[data-crm-surface=mobile] body .layout-mobile .bottom-sheet.is-fullscreen .next-action-popup-form{height:auto;min-height:0;max-height:none}}.stage-label-short,.deal-title-stage{display:none}@media (max-width:767px){body .layout-mobile .deal-detail-screen{background:var(--crm-theme-surface-soft,#eee)}body .layout-mobile .deal-detail-header{height:86px;min-height:86px;padding:max(16px, env(safe-area-inset-top)) 16px 8px;background:var(--crm-theme-surface-soft,#eee);grid-template-columns:48px minmax(0,1fr) 48px;align-items:start;gap:8px}body .layout-mobile .deal-detail-header .back-button,body .layout-mobile .deal-detail-header .deal-action-circle{background:var(--crm-theme-glass,#ffffffe6);width:48px;height:48px;box-shadow:none;border:0;border-radius:50%}body .layout-mobile .deal-detail-header .back-button svg,body .layout-mobile .deal-detail-header .deal-action-circle svg{width:20px;height:20px;color:var(--crm-theme-muted,#66666e)}body .layout-mobile .deal-detail-header .deal-title-block{background:var(--crm-theme-glass,#ffffffb8);border-radius:31px;flex-direction:column;justify-content:center;align-items:center;min-width:0;height:62px;padding:7px 12px;display:flex;overflow:hidden}body .layout-mobile .deal-detail-header .deal-title-block h1{width:100%}body .layout-mobile .deal-detail-header .deal-title-button{text-align:center;justify-content:center}body .layout-mobile .deal-detail-header .deal-title{color:var(--crm-theme-text,#171719);text-overflow:ellipsis;flex:0 auto;font-size:18px;font-weight:700;line-height:20px}body .layout-mobile .deal-detail-header .deal-title-block>small,body .layout-mobile .deal-detail-header.title-expanded .deal-title-block>small{width:100%;color:var(--crm-theme-muted,#66666e);text-align:center;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:1px 0 0;font-size:14px;font-weight:400;line-height:16px;display:-webkit-box;overflow:hidden}body .layout-mobile .deal-status-stack{background:var(--crm-theme-glass,#ffffffb8);border-radius:12px;grid-template-rows:66px 40px;grid-template-columns:minmax(0,1fr) 145px;gap:8px;min-height:130px;margin:0 16px 8px;padding:8px}body .layout-mobile .deal-status-stack .next-action{display:contents}body .layout-mobile .deal-status-stack .next-action-main{background:var(--color-primary-softer);border:0;border-radius:10px;grid-area:1/1/auto/-1;min-height:66px;overflow:hidden}body .layout-mobile .deal-status-stack .next-action-summary{gap:8px;min-height:66px;padding:8px 8px 8px 12px}body .layout-mobile .deal-status-stack:has(.next-action.expanded){grid-template-rows:auto 40px}body .layout-mobile .deal-status-stack .next-action.expanded .next-action-main{grid-template-rows:66px 36px;gap:0;min-height:110px;padding:0 8px 8px;overflow:visible}body .layout-mobile .deal-status-stack .next-action.expanded .next-action-summary{min-height:66px;padding:8px 0 0 4px}body .layout-mobile .deal-status-stack .next-action.expanded .next-action-edit{min-height:36px;color:var(--color-primary-strong);background:var(--crm-theme-glass,#ffffffd1);font-size:13px}body .layout-mobile .next-action.expanded .next-action-arrow{transform:rotate(90deg)}body .layout-mobile .deal-status-stack .next-action-main small{color:var(--color-primary-strong);font-size:13px;font-weight:700;line-height:16px}body .layout-mobile .deal-status-stack .next-action-main p{color:var(--crm-theme-text,#171719);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:2px;font-size:16px;font-weight:700;line-height:20px;display:-webkit-box;overflow:hidden}body .layout-mobile .next-action-arrow{background:var(--crm-theme-glass,#ffffffeb);border-radius:50%;flex:0 0 40px;place-items:center;width:40px;height:40px;display:grid}body .layout-mobile .next-action-arrow svg{color:var(--crm-theme-muted,#66666e)}body .layout-mobile .deal-status-stack .stage-bar{border:0;border-left:4px solid var(--stage,var(--color-primary));background:var(--crm-theme-surface-soft,#f3f3f3);border-radius:8px;grid-area:2/1;min-height:40px;padding:0 8px 0 12px}body .layout-mobile .deal-status-stack .stage-bar-copy{flex-direction:row;align-items:center;gap:5px;min-width:0}body .layout-mobile .deal-status-stack .stage-bar-copy small,body .layout-mobile .deal-status-stack .stage-bar-copy strong{font-size:15px;line-height:19px}body .layout-mobile .deal-status-stack .stage-bar-copy small{color:var(--crm-theme-muted,#66666e);flex:none}body .layout-mobile .stage-label-full{display:none}body .layout-mobile .stage-label-short{display:inline}body .layout-mobile .deal-status-stack .stage-bar-copy strong{min-width:0;color:var(--crm-theme-text,#171719);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}body .layout-mobile .deal-status-stack .next-action-date{min-width:0;min-height:40px;color:var(--crm-theme-text,#171719);background:var(--crm-theme-surface-soft,#f3f3f3);white-space:nowrap;border:0;border-radius:8px;grid-area:2/2;padding:0 8px;font-size:14px;font-weight:700}body .layout-mobile .deal-detail-screen>.top-tabs{background:var(--crm-theme-glass,#ffffffeb);border-radius:23px;height:42px;margin:0 16px 28px;padding:4px}body .layout-mobile .deal-detail-screen>.top-tabs:before{background:var(--crm-theme-surface-soft,#eee);border-radius:0;top:-8px;bottom:-28px;left:-16px;right:-16px}body .layout-mobile .deal-detail-screen>.top-tabs:after{background:#9697a0;bottom:-20px}body .layout-mobile .deal-detail-screen>.top-tabs button{font-size:14px}body .layout-mobile .next-action-popup-form{flex:1;grid-template-rows:minmax(0,1fr) auto;gap:12px;min-height:380px;max-height:min(620px,100dvh - 112px)}body .layout-mobile .field-editor-sheet:has(.next-action-popup-form) .bottom-sheet{flex-direction:column;max-height:min(720px,100dvh - 32px);display:flex;overflow:hidden}body .layout-mobile .next-action-popup-content{align-content:start;gap:16px;min-height:0;padding:2px 1px 8px;display:grid;overflow:auto}body .layout-mobile .next-action-popup-content>label{flex-direction:column;gap:8px;display:flex}body .layout-mobile .next-action-popup-content>label>span{color:var(--color-text-secondary);font-size:12px;font-weight:600}body .layout-mobile .next-action-popup-form textarea{min-height:112px}body .layout-mobile .next-action-popup-date{width:100%;min-height:52px;color:var(--color-text);border:1px solid var(--color-border);background:var(--color-surface-subtle);text-align:left;border-radius:10px;align-items:center;gap:10px;padding:0 14px;font-size:15px;font-weight:600;display:flex}body .layout-mobile .next-action-popup-date svg:last-child{color:var(--color-text-subtle);margin-left:auto}body .layout-mobile .next-action-popup-content .action-format-switch{background:var(--color-surface-subtle);border-radius:24px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:100%;margin:0;padding:4px;display:grid}body .layout-mobile .next-action-popup-content .action-format-switch button{border-radius:20px;justify-content:center;min-height:40px;font-size:13px;font-weight:700}body .layout-mobile .next-action-popup-content .next-checklist{gap:10px}body .layout-mobile .next-action-popup-content .next-check-row{grid-template-columns:28px minmax(0,1fr) auto auto;gap:8px}body .layout-mobile .next-action-popup-content .next-check-row>input{border-color:var(--color-border);background:var(--color-surface-subtle);border-radius:9px;height:44px;padding:0 12px;font-size:14px}body .layout-mobile .next-action-popup-content .mini-check{width:28px;height:28px}body .layout-mobile .next-action-popup-content .check-date{height:36px;color:var(--color-text-secondary);background:var(--color-surface-muted);padding:0 9px;font-size:11px}body .layout-mobile .next-action-popup-content .remove-check{width:28px;height:28px;color:var(--color-text-subtle);background:var(--color-surface-muted);border:0;border-radius:50%;place-items:center;padding:0;display:grid}body .layout-mobile .next-action-popup-content .add-check-row{min-height:40px;color:var(--color-primary-text);border-color:var(--color-primary-border);border-radius:20px;padding:0 14px;font-size:12px;font-weight:700}}body{color:var(--color-text);background:var(--color-canvas);font-family:var(--font-body);font-size:var(--font-size-lg);line-height:var(--line-height-body)}button,input,textarea,select{border-color:var(--color-border);border-radius:var(--radius-sm);letter-spacing:0;font-family:inherit}button:focus-visible{box-shadow:var(--focus-ring);outline:none}input:focus-visible{box-shadow:var(--focus-ring);outline:none}textarea:focus-visible{box-shadow:var(--focus-ring);outline:none}select:focus-visible{box-shadow:var(--focus-ring);outline:none}[role=tab]:focus-visible{box-shadow:var(--focus-ring);outline:none}button,a,[role=button],[role=tab]{transition:color var(--motion-fast) var(--ease-standard), background-color var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard), opacity var(--motion-fast) var(--ease-standard)}::selection{color:var(--color-text);background:var(--color-primary-border)}.app-shell{color:var(--color-text);background:var(--color-canvas)}.workspace{margin-left:var(--rail-width);background:var(--color-canvas);grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(390px,456px) 1fr;height:100%;min-height:0;display:grid}.list-pane{border-color:var(--color-border);background:var(--color-surface)}.detail-pane,.detail-screen,.detail-view{background:var(--color-surface)}.brand-mark{border-radius:var(--radius-lg);width:44px;height:44px;color:var(--color-surface);background:var(--color-text);box-shadow:var(--shadow-sm);font-family:var(--font-display)}.avatar-button span,.profile-card>span,.large-avatar,.entity-avatar,.chat-avatar{border-color:var(--color-border);color:var(--color-text-secondary);background:var(--color-surface-muted)}.nav-actions button{color:var(--color-on-primary);background:var(--color-primary);box-shadow:none}.bottom-nav{gap:var(--space-2)}.nav-switch,.nav-actions{border-radius:var(--radius-xl);background:var(--color-surface-glass);box-shadow:var(--shadow-md);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:0}.nav-switch{gap:var(--space-1);padding:var(--space-1)}.nav-switch button{border-radius:var(--radius-lg);color:var(--color-text-muted);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold)}.nav-switch button.active{color:var(--color-text);background:var(--color-surface-selection);box-shadow:inset 0 0 0 1px #ff74401a}.nav-actions{padding:var(--space-1)}.nav-actions button{border-radius:var(--radius-pill);font-size:0}.nav-actions .ai-entry-icon>svg:last-child,.ai-entry-icon>svg:last-child{color:var(--color-primary-text);border-color:var(--color-surface);background:var(--color-surface)}.offline-banner,.auth-error-banner{color:var(--color-danger-strong);background:var(--color-danger-soft)}.app-header{gap:var(--space-3);min-height:76px;padding:var(--space-3) var(--space-4) var(--space-2);background:var(--color-surface-muted);-webkit-backdrop-filter:none;backdrop-filter:none;border:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;display:grid}.avatar-button,.avatar-button span{width:40px;height:40px}.avatar-button span{color:var(--color-text-secondary);border:1px solid var(--color-border);background:var(--color-surface-muted);font-size:var(--font-size-md);font-weight:var(--font-weight-semibold)}.header-copy{gap:var(--space-1)}.header-copy>span{color:var(--color-text);font-family:var(--font-display);font-size:20px;font-weight:var(--font-weight-bold);line-height:var(--line-height-title);letter-spacing:-.025em;align-items:center;gap:9px;display:flex}.header-copy>span:before{content:"";border-radius:var(--radius-pill);background:linear-gradient(180deg, #d2612b, var(--color-primary));flex:0 0 5px;width:5px;height:19px;display:block;box-shadow:0 3px 9px #ff74403d}.header-actions{gap:var(--space-2)}.icon-button,.back-button,.header-actions .icon-button,.deal-action-circle{width:40px;height:40px;color:var(--color-text-secondary);border-radius:var(--radius-pill);background:var(--color-surface);box-shadow:none;border:0}.icon-button:hover,.back-button:hover,.header-actions .icon-button:hover{color:var(--color-text);background:var(--color-surface-hover);border-color:#0000}.icon-button.search-active,.header-actions .icon-button{color:var(--color-primary-text);border:1px solid var(--color-primary-border);background:var(--color-primary-softer)}.header-actions .icon-button:hover{border-color:var(--color-primary-border);background:var(--color-primary-soft)}.icon-button.filter-active,.header-actions .icon-button.filter-active{color:var(--color-on-primary);border-color:var(--color-primary);background:var(--color-primary)}.header-actions .icon-button.search-active{color:var(--color-primary-text);border-color:var(--color-primary-border);background:var(--color-primary-soft)}.alert-button{position:relative}.alert-button>i{min-width:16px;height:16px;color:var(--color-on-primary);border:2px solid var(--color-surface);background:var(--color-primary);border-radius:999px;place-items:center;padding:0 4px;font-size:9px;font-style:normal;font-weight:700;line-height:1;display:grid;position:absolute;top:6px;right:6px}.count-pill{border-radius:var(--radius-pill);background:var(--color-surface);border:0;min-width:56px;height:40px}.app-filter-grid{gap:var(--space-2);padding:0 var(--space-4) var(--space-3);background:var(--color-surface-muted);grid-template-columns:minmax(0,1fr);display:grid}.app-filter-grid.two-up{grid-template-columns:repeat(2,minmax(0,1fr))}.pipeline-filter-control{flex-direction:column;align-items:flex-start;gap:3px;min-width:0;display:flex}.pipeline-filter-control>.filter-summary-card{width:100%}.sales-filter-reset-link{color:var(--color-action);text-underline-offset:2px;cursor:pointer;background:0 0;border:0;padding:0 4px;font-size:11px;line-height:16px;text-decoration:underline}.sales-filter-reset-link:hover{color:var(--color-text)}.filter-summary-card{justify-content:space-between;align-items:center;gap:var(--space-2);min-width:0;min-height:52px;padding:var(--space-2) var(--space-4);text-align:left;border-radius:var(--radius-sm);color:var(--color-text);background:var(--color-surface);border:0;display:flex}.filter-summary-card>span{flex-direction:column;gap:1px;min-width:0;display:flex}.filter-summary-card small{color:var(--color-text-muted);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium)}.filter-summary-card strong{font-size:var(--font-size-md);font-weight:var(--font-weight-bold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.filter-summary-card.active{box-shadow:inset 3px 0 var(--color-primary)}.filter-title{min-height:36px;color:var(--color-text);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:none;font-family:var(--font-body);font-size:var(--font-size-md);border:0}.search-zone{gap:var(--space-2);padding:0 var(--space-4) var(--space-3);background:var(--color-surface-muted);border:0;transition:padding .18s,gap .18s;display:grid}.segmented{padding:var(--space-1);border-radius:var(--radius-xl);background:var(--color-surface-subtle);gap:0}.segmented button{border-radius:var(--radius-xl);min-width:0;height:40px;color:var(--color-text-muted);font-size:var(--font-size-md);font-weight:var(--font-weight-bold)}.segmented button.active,.search-zone .segmented button.active,.chat-mode-switch button.active,.task-route-switch button.active,.action-format-switch button.active{color:var(--color-primary-text);background:var(--color-primary-soft);box-shadow:inset 0 0 0 1px #ff744024}.warehouse-search,.product-search{min-height:var(--control-height-md);padding:0 var(--space-3);color:var(--color-text-muted);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:none;border:0}.search-field{min-height:var(--control-height-md);padding:0 var(--space-3);color:var(--color-text-muted);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:none;border:0;align-items:center;gap:8px;height:44px;display:flex}.search-field input,.warehouse-search input,.product-search input{color:var(--color-text);font-size:var(--font-size-md)}.search-scope-switch{gap:var(--space-4);scrollbar-width:none;border-bottom:1px solid var(--color-border);min-width:0;display:flex;overflow-x:auto}.search-scope-switch::-webkit-scrollbar{display:none}.search-scope-switch button{height:34px;color:var(--color-text-muted);box-shadow:none;font-size:var(--font-size-sm);font-weight:var(--font-weight-bold);white-space:nowrap;background:0 0;border:0;border-radius:0;flex:none;padding:0;position:relative}.search-scope-switch button.active{color:var(--color-primary-text)}.search-scope-switch button.active:after{content:"";background:var(--color-primary);border-radius:2px 2px 0 0;height:2px;position:absolute;bottom:-1px;left:0;right:0}.scoped-search-results{gap:0;display:grid}.scoped-search-row{align-items:center;gap:var(--space-3);width:100%;min-height:64px;padding:var(--space-2) var(--space-4);border:0;border-bottom:1px solid var(--color-border);color:var(--color-text);text-align:left;background:0 0;grid-template-columns:44px minmax(0,1fr) auto;display:grid}.scoped-search-row>i{width:40px;height:40px;color:var(--color-primary-text);background:var(--color-primary-soft);border-radius:50%;place-items:center;font-style:normal;display:grid}.scoped-search-row-link>i{color:var(--color-info-text);background:var(--color-info-soft)}.scoped-search-row-media>i{color:var(--color-success-text);background:var(--color-success-soft)}.scoped-search-row span{gap:2px;min-width:0;display:grid}.scoped-search-row strong,.scoped-search-row small{text-overflow:ellipsis;min-width:0;overflow:hidden}.scoped-search-row strong{color:var(--color-text);font-size:var(--font-size-md);font-weight:var(--font-weight-bold);white-space:nowrap}.scoped-search-row small{color:var(--color-text-muted);font-size:var(--font-size-sm);-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.3;display:-webkit-box}.scoped-search-row time{max-width:84px;color:var(--color-text-subtle);font-size:var(--font-size-xs);text-align:right;white-space:normal;align-self:start}.other-pipeline-search-results{margin-top:var(--space-2);border-top:1px solid var(--color-border);gap:0;display:grid}.other-pipeline-search-results>header{align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4) var(--space-2);color:var(--color-text-muted);text-transform:uppercase;grid-template-columns:1fr auto 1fr;font-size:11px;font-weight:700;display:grid}.other-pipeline-search-results>header span{background:var(--color-border);height:1px}.other-pipeline-search-row{align-items:center;gap:var(--space-3);width:100%;min-height:62px;padding:var(--space-2) var(--space-4);border:0;border-bottom:1px solid var(--color-border);color:var(--color-text);text-align:left;background:0 0;grid-template-columns:40px minmax(0,1fr) auto;display:grid}.other-pipeline-search-row.current,.other-pipeline-search-row:hover{background:var(--color-surface-muted)}.other-pipeline-search-row>span:nth-child(2){gap:3px;min-width:0;display:grid}.other-pipeline-search-row strong,.other-pipeline-search-row small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.other-pipeline-search-row small{color:var(--color-text-muted);font-size:12px}.message-search-hit .message,.message.message-search-hit{animation:2.4s search-hit-pulse}@keyframes search-hit-pulse{0%,to{box-shadow:none}18%,62%{box-shadow:0 0 0 3px var(--color-primary-soft), 0 10px 24px #19141224}}.entity-scroll{padding:var(--space-3) 0 104px;background:var(--color-surface);scrollbar-color:var(--color-border-strong) transparent}.stage-group{margin:0 var(--space-4) var(--space-3);border:0;border-left:4px solid var(--stage,var(--color-info));border-radius:var(--radius-md);background:var(--color-surface-muted);overflow:hidden}.stage-group:has(>.stage-heading.task){--stage:var(--color-primary)}.stage-group+.stage-group{border-top:0}.stage-group--drag-over{outline:2px dashed color-mix(in srgb, var(--stage,var(--color-primary)) 72%, transparent);outline-offset:-3px;background:color-mix(in srgb, var(--stage,var(--color-primary)) 12%, var(--color-surface))}.stage-heading{gap:var(--space-2);width:100%;height:44px;padding:0 var(--space-3);color:var(--color-text);background:var(--color-surface-muted);-webkit-backdrop-filter:none;backdrop-filter:none;font-size:var(--font-size-lg);font-weight:var(--font-weight-bold);letter-spacing:0;text-transform:none;border:0;grid-template-columns:minmax(0,1fr) auto 18px;position:relative;top:auto}.stage-heading>i{display:none}.stage-heading>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stage-heading em,.stage-heading h3 small{min-width:auto;color:var(--color-text-muted);border-radius:var(--radius-pill);background:color-mix(in srgb, var(--stage,var(--color-info)) 6%, var(--color-surface));font-size:var(--font-size-xs);font-style:normal;font-weight:var(--font-weight-medium);border:0;padding:2px 7px}.stage-heading>svg{color:var(--color-text-secondary);transition:transform var(--motion-normal) var(--ease-standard)}.stage-heading--empty{cursor:default;grid-template-columns:minmax(0,1fr) auto 18px}.entity-card{width:calc(100% - var(--space-4));gap:var(--space-2);min-height:66px;margin:0 var(--space-2) var(--space-2);padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);background:var(--color-surface);transition:background var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);cursor:pointer;border:0;align-items:center;display:flex;position:relative}.entity-card[draggable=true]{cursor:grab}.entity-card[draggable=true]:active{cursor:grabbing}.entity-card:last-child{margin-bottom:var(--space-2)}.entity-card:hover,.entity-card.current{background:var(--color-surface-subtle)}.entity-card:active{transform:scale(.995)}.entity-card.selected{background:var(--color-primary-soft)}.deal-card:after{display:none}.card-body{overflow:visible}.next-line-signals{flex:none;align-items:center;gap:4px;display:inline-flex}.select-target{width:36px;height:36px}.entity-avatar{width:32px;height:32px;font-size:var(--font-size-xs);border:0}.selected .select-target,.deal-chat-row.selected .select-target{color:var(--color-on-primary);background:var(--color-primary)}.card-title-row strong,.card-title-row b,.card-title-row time{color:var(--color-text);font-size:var(--font-size-md);font-weight:var(--font-weight-bold)}.next-line{gap:var(--space-2);margin-top:var(--space-1);color:var(--color-text-muted);font-size:var(--font-size-sm)}.next-line time{color:var(--color-text-muted);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium)}.compact-signal,.chat-activity{width:22px;height:22px;color:var(--color-primary-text);background:var(--color-primary-soft);border-radius:50%;flex:none;place-items:center;line-height:0;display:grid}.compact-signal>svg,.chat-activity>svg{display:block}.compact-signal.call,.chat-activity.call{color:var(--color-info);background:var(--color-info-soft)}.compact-signal.late{color:var(--color-danger-strong);background:var(--color-danger-soft)}.deal-chat-list{gap:var(--space-3);padding:0 var(--space-4) var(--space-6);background:0 0;display:grid}.deal-chat-row{gap:var(--space-2);min-height:74px;padding:var(--space-2);border-radius:var(--radius-sm);background:var(--color-surface);transition:background var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);border:0}.deal-chat-row:hover,.deal-chat-row.current{background:var(--color-surface-subtle)}.deal-chat-row.selected{background:var(--color-primary-soft)}.chat-avatar{background:var(--color-surface);width:34px;height:34px;font-size:var(--font-size-xs);border:0}.chat-row-main strong{color:var(--color-text);font-size:var(--font-size-md);font-weight:var(--font-weight-bold)}.chat-row-main time,.chat-row-main p,.chat-row-main small{color:var(--color-text-muted);font-size:var(--font-size-sm)}.chat-row-main p{margin:2px 0}.chat-row-heading{min-width:0}.chat-row-meta{flex-direction:column;flex:none;justify-content:space-between;align-self:stretch;align-items:flex-end;display:inline-flex}.chat-row-meta time{color:var(--color-text-muted);font-size:var(--font-size-sm)}.ai-attention{color:var(--color-on-primary);border-color:var(--color-surface);background:var(--color-primary);box-shadow:none}.transfer-notices{padding:0 var(--space-4) var(--space-2);background:var(--color-surface);border:0}.transfer-notice-card{border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text-secondary);background:var(--color-surface-muted)}.transfer-notice-card strong{color:var(--color-text-secondary)}.transfer-notice-card p{color:var(--color-text-muted)}.transfer-notice-card button{color:var(--color-text-secondary);border:1px solid var(--color-border-strong);background:var(--color-surface)}.completed-fold,.load-more-button{color:var(--color-text-muted);border-radius:var(--radius-md);background:var(--color-surface-muted);border:0}.detail-screen{color:var(--color-text)}.detail-header{gap:var(--space-3);min-height:72px;padding:var(--space-3) var(--space-4) var(--space-2);background:var(--color-surface-muted);border:0}.detail-header h1,.deal-title,.profile-screen>header h1{color:var(--color-text);font-family:var(--font-display);font-size:16px;font-weight:var(--font-weight-bold);line-height:var(--line-height-title);letter-spacing:0}.detail-header small,.deal-title-block>small{color:var(--color-text-muted);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium)}.deal-title-block,.deal-title-block h1{white-space:normal;min-width:0;margin:0;overflow:visible}.deal-title-button{justify-content:flex-start;align-items:center;gap:var(--space-1);width:100%;min-width:0;color:var(--color-text);text-align:left;background:0 0;border:0;padding:0;display:flex}.deal-title-inline-editor{align-items:center;gap:var(--space-1);flex:auto;min-width:0;display:flex}.deal-title-inline-editor input{min-width:0;height:32px;padding:0 var(--space-2);color:var(--color-text);font:inherit;font-size:var(--font-size-lg);font-weight:var(--font-weight-bold);border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);flex:auto}.deal-title-inline-editor input:focus{outline:2px solid color-mix(in srgb, var(--color-accent) 35%, transparent);outline-offset:1px;border-color:var(--color-accent)}.deal-title-inline-editor button{width:28px;height:28px;color:var(--color-text-muted);border-radius:var(--radius-sm);background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}.deal-title-inline-editor button.save{color:var(--color-accent)}.deal-title-inline-editor button:hover:not(:disabled){background:var(--color-surface-muted)}.deal-title{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.deal-title-button svg{transition:transform var(--motion-fast) var(--ease-standard)}.deal-detail-header.title-expanded{align-items:start}.deal-detail-header.title-expanded .deal-title{white-space:normal;overflow:visible}.deal-detail-header.title-expanded .deal-title-button svg{transform:rotate(180deg)}.large-avatar{border:0}.deal-status-stack{gap:var(--space-2);min-height:auto;padding:0 var(--space-4) var(--space-2);background:var(--color-surface-muted);border:0}.deal-status-stack .stage-bar,.stage-bar{min-height:44px;padding:var(--space-2) var(--space-3);color:var(--color-text);border:0;border-left:4px solid var(--stage,var(--color-info));border-radius:var(--radius-sm);background:var(--color-surface);box-shadow:none}.deal-status-stack .stage-bar-copy{gap:2px}.deal-status-stack .stage-bar-copy small{color:var(--color-text-muted);font-size:var(--font-size-xs);font-weight:var(--font-weight-medium);letter-spacing:0;text-transform:none}.deal-status-stack .stage-bar-copy strong{color:var(--color-text);font-size:var(--font-size-md);font-weight:var(--font-weight-bold)}.stage-bar i,.deal-status-stack .stage-bar-copy i{display:none}.deal-status-stack .next-action,.next-action{border-radius:var(--radius-sm);background:var(--color-info-soft);text-align:left;border:0;flex:none;grid-template-columns:minmax(0,1fr) auto;min-height:44px;padding:0;display:grid;position:relative;overflow:hidden}.deal-status-stack .next-action-main,.next-action-main{min-height:44px;padding:0;display:grid}.next-action-summary{align-items:center;gap:var(--space-2);width:100%;min-width:0;min-height:44px;padding:var(--space-2) var(--space-3);color:inherit;text-align:left;background:0 0;border:0;display:flex}.next-action-summary>span{flex:1;min-width:0}.next-action-summary>svg{transition:transform var(--motion-fast) var(--ease-standard);flex:none}.next-action.expanded .next-action-summary>svg{transform:rotate(180deg)}.next-action-edit{justify-content:center;align-items:center;gap:var(--space-2);min-height:36px;color:var(--color-text-muted);border-radius:var(--radius-sm);background:var(--color-surface);font-size:var(--font-size-md);font-weight:var(--font-weight-semibold);border:0;display:flex}.next-action-main small,.deal-status-stack .next-action-main small{color:var(--color-info);font-size:var(--font-size-xs);font-weight:var(--font-weight-bold);letter-spacing:0;text-transform:none}.next-action-main p,.deal-status-stack .next-action-main p{color:var(--color-text);font-size:var(--font-size-md);font-weight:var(--font-weight-bold);margin-top:2px}.next-action-date,.deal-status-stack .next-action-date{min-width:92px;color:var(--color-danger-strong);border:0;border-left:1px solid var(--color-info-border);background:var(--color-surface-glass-soft);font-size:var(--font-size-sm);font-weight:var(--font-weight-bold)}.detail-tabs{height:48px;margin:0 var(--space-4) var(--space-3);padding:var(--space-1);border-radius:var(--radius-xl);background:var(--color-surface-subtle);-webkit-backdrop-filter:none;backdrop-filter:none;border:0;gap:0}.detail-tabs button{border-radius:var(--radius-xl);min-width:0;color:var(--color-text-muted);font-size:var(--font-size-md);font-weight:var(--font-weight-bold);margin:0;position:relative}.detail-tabs button.active{color:var(--color-primary-text);background:var(--color-primary-soft)}.detail-tabs button.active:after{content:"";background:var(--color-primary-strong);height:2px;position:absolute;bottom:-1px;left:30%;right:30%}.contact-strip{height:auto;min-height:52px;margin:0 var(--space-4) var(--space-2);padding:var(--space-1) var(--space-2);border-radius:var(--radius-md);background:var(--color-surface-subtle);border:0}.contact-strip a,.client-actions a,.client-actions button{color:var(--color-text-secondary)}.contact-strip a{background:var(--color-success-soft);border:0}.conversation-frame,.history-search-frame,.tab-content-wrap{background:var(--color-surface)}.conversation{padding:var(--space-4);background:var(--color-surface-subtle)}.message{max-width:min(78%,560px);margin-bottom:var(--space-3);padding:var(--space-3);color:var(--color-text);border-radius:var(--radius-md) var(--radius-md) var(--radius-md) var(--radius-xs);background:var(--color-surface);box-shadow:var(--shadow-sm);font-size:var(--font-size-md);border:0}.message.me{color:var(--crm-theme-on-ink,var(--color-surface));border-radius:var(--radius-md) var(--radius-md) var(--radius-xs) var(--radius-md);background:var(--crm-theme-ink-surface,var(--color-text));box-shadow:none;border:0}.message.ai{background:var(--color-primary-soft);border:0}.entity-ai-thread .message>.ai-inline-keyboard,.entity-ai-thread .message>.ai-entity-links{flex-wrap:wrap;gap:7px;margin-top:10px;display:flex}.entity-ai-thread .message>.ai-inline-keyboard button,.entity-ai-thread .message>.ai-entity-links button{border:1px solid var(--color-primary-border);max-width:100%;min-height:32px;color:var(--color-primary-text);background:var(--color-surface);font:650 10px/1.3 var(--font-body);text-align:left;overflow-wrap:anywhere;cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:5px;padding:6px 11px;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s;display:inline-flex;box-shadow:0 1px 3px #22201d12}.entity-ai-thread .message>.ai-inline-keyboard button:hover:not(:disabled),.entity-ai-thread .message>.ai-entity-links button:hover:not(:disabled){border-color:var(--color-primary);background:var(--color-primary-softer);transform:translateY(-1px);box-shadow:0 3px 9px #22201d1a}:is(.entity-ai-thread .message>.ai-inline-keyboard button:focus-visible,.entity-ai-thread .message>.ai-entity-links button:focus-visible){outline:2px solid var(--color-primary);outline-offset:2px}.entity-ai-thread .message>.ai-inline-keyboard button:disabled{opacity:.48;box-shadow:none;cursor:default}.entity-ai-thread .message>.ai-entity-links button{border-color:var(--color-border);color:var(--color-text-secondary);background:var(--color-surface-muted)}.message time{color:var(--color-text-muted);font-size:var(--font-size-xs)}.message.me time,.message.me .voice-meta small{color:var(--color-on-dark-muted)}.timeline-event{color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text-muted));font-size:var(--font-size-xs)}.deal-call-card,.message-attachment,.voice-transcription{border-color:var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:none}.deal-call-card.missed{border-color:var(--color-danger-border);background:var(--color-danger-soft)}.entity-search>button,.entity-search.open{background:var(--color-surface-glass);box-shadow:var(--shadow-sm);border:0}.composer-zone,.task-composer,.journal-composer,.company-composer{border-color:var(--color-border);background:var(--color-surface)}.composer-toolbar{min-height:52px;padding:var(--space-2) var(--space-3) 0}.composer-recipient,.composer-recipient>button:first-child{color:var(--color-text)}.composer-recipient strong,.composer-mode-title{font-size:var(--font-size-md);font-weight:var(--font-weight-bold)}.composer-recipient small{color:var(--color-text-muted);font-size:var(--font-size-xs)}.composer-route-switch>button,.composer-ai-toggle,.composer-selects label{color:var(--color-text-secondary);border-radius:var(--radius-pill);background:var(--color-surface-subtle);border:0}.composer-route-switch>button.active{color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text));box-shadow:none}.composer-recipient .add-recipient{color:var(--color-text-secondary);background:var(--color-surface-subtle);border:0}.composer-box{min-height:56px;margin:var(--space-2) var(--space-2) 0;padding:var(--space-1);border-radius:var(--radius-xl);background:var(--color-surface-muted);border:0;grid-template-columns:40px minmax(0,1fr) 40px 40px;align-items:end;gap:3px;display:grid}.composer-box textarea{color:var(--color-text);font-size:var(--font-size-md)}.composer-box textarea::placeholder{color:var(--color-text-muted)}.composer-box button{color:var(--color-text-secondary)}.send-button,.primary-inline,.profile-actions .primary,.date-time-modal>footer .primary,.sheet-footer .primary{color:var(--color-on-primary)!important;border-color:var(--color-primary)!important;background:var(--color-primary)!important}.composer-box.has-error{box-shadow:inset 0 0 0 1px var(--color-danger)}.composer-status.failed,.voice-transcription-status.failed{color:var(--color-danger-strong);background:var(--color-danger-soft)}.detail-content{padding:var(--space-4);background:var(--color-surface-subtle)}.documents-navigation{gap:var(--space-1);width:100%;padding:var(--space-1);border-radius:var(--radius-lg);background:var(--color-surface-muted);scrollbar-width:none;scroll-snap-type:x proximity;flex-wrap:nowrap;display:flex;overflow:auto hidden}.documents-navigation::-webkit-scrollbar{display:none}.documents-navigation__item{justify-content:center;align-items:center;gap:var(--space-2);min-height:40px;padding:0 var(--space-4);color:var(--color-text-muted);border-radius:var(--radius-md);scroll-snap-align:start;font-size:var(--font-size-md);font-weight:var(--font-weight-bold);white-space:nowrap;background:0 0;border:0;flex:none;display:inline-flex}.documents-navigation__item>span:last-child:not(:first-child){border-radius:var(--radius-pill);background:var(--color-surface);min-width:20px;font-size:var(--font-size-xs);text-align:center;padding:2px 6px}.documents-navigation__item.active{color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text));box-shadow:none}.documents-navigation__item.active>span:last-child:not(:first-child){color:var(--color-text);background:var(--color-surface)}.documents-tabpanel{gap:var(--space-3);outline:none;flex-direction:column;min-width:0;display:flex}.documents-tabpanel[hidden]{display:none}.documents-tabpanel:focus-visible{border-radius:var(--radius-lg);box-shadow:var(--focus-ring)}.documents-empty-state{min-height:240px;margin-top:var(--space-3);border-radius:var(--radius-lg);background:var(--color-surface);place-items:center;display:grid}.documents-empty-state .empty-state{min-height:240px}.documents-empty-state .empty-state i{color:var(--color-info);background:var(--color-info-soft)}.field-section,.field-subsection,.relations-section,.deal-task-create,.deal-task-list,.relation-cards,.task-relations>header,.note-block,.linked-block,.linked-deal{border-color:var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:none}.field-section h2,.field-subsection h3,.relations-section h2{color:var(--color-text);border-color:var(--color-border);font-family:var(--font-display);font-size:var(--font-size-lg);font-weight:var(--font-weight-bold)}.field-subsections{background:var(--color-surface-subtle)}.field-custom-subgroup{border-color:var(--color-border);background:var(--color-surface);box-shadow:none}.field-custom-subgroup>header{border-color:var(--color-border);background:var(--color-surface-subtle)}.field-row{border-color:var(--color-border-subtle);min-height:52px}.field-row span,.relation-row small,.linked-block small,.linked-deal small{color:var(--color-text-muted);font-size:var(--font-size-sm)}.field-row strong,.relation-row strong,.linked-block strong,.linked-deal strong{color:var(--color-text);font-size:var(--font-size-md);font-weight:var(--font-weight-semibold)}.readonly-field-indicator{width:30px;height:30px;color:var(--color-text-muted);border:1px solid #0000;border-radius:7px;outline:none;justify-self:end;place-items:center;display:grid;position:relative}.readonly-field-indicator svg{color:currentColor;opacity:1}.readonly-field-indicator:has(svg:hover){border-color:var(--color-border);background:var(--color-surface);color:var(--color-accent,var(--color-accent))}.readonly-field-indicator:focus-visible{border-color:var(--color-border);background:var(--color-surface);color:var(--color-accent,var(--color-accent))}.readonly-field-indicator small{z-index:8;border:1px solid var(--color-border);background:var(--crm-theme-ink-surface,var(--color-text));width:max-content;max-width:min(360px,100vw - 80px);color:var(--crm-theme-on-ink,var(--color-surface));font-size:var(--font-size-sm);font-weight:var(--font-weight-bold);white-space:nowrap;text-overflow:ellipsis;opacity:0;visibility:hidden;pointer-events:none;border-radius:7px;padding:7px 9px;line-height:1.25;transition:opacity .14s,visibility;position:absolute;top:50%;right:calc(100% + 7px);overflow:hidden;transform:translateY(-50%);box-shadow:0 8px 24px #1a1b182e}.readonly-field-indicator:has(svg:hover) small{opacity:1;visibility:visible;transition-delay:.3s}.readonly-field-indicator:focus-visible small{opacity:1;visibility:visible;transition-delay:.3s}.field-row-editing{background:color-mix(in srgb, var(--color-accent,var(--color-accent)) 6%, var(--color-surface));align-items:start}.field-row-editing>span{padding-top:9px}.field-inline-control{min-width:0}.field-inline-control input,.field-inline-control select,.field-inline-control textarea{border:1px solid var(--color-border);background:var(--color-surface);width:100%;min-width:0;color:var(--color-text);font-size:var(--font-size-md);font-weight:var(--font-weight-semibold);border-radius:7px}.field-inline-control input,.field-inline-control select{height:36px;padding:0 10px}.field-inline-control textarea{resize:vertical;min-height:72px;max-height:132px;padding:8px 10px}.field-inline-actions{align-items:center;gap:5px;padding-top:3px;display:flex}.field-inline-actions button{border:1px solid var(--color-border);background:var(--color-surface);width:30px;height:30px;color:var(--color-text-muted);border-radius:7px;place-items:center;padding:0;display:grid}.field-inline-actions .field-inline-save{color:var(--color-accent,var(--color-accent))}.field-section h2 button,.relation-label button,.product-search button,.add-task-link,.ai-create-relation{color:var(--color-primary-text)}.product-chips>span,.status-pill,.field-subsection h3 small,.field-section h2>small{border-radius:var(--radius-pill);background:var(--color-surface-muted);border:0}.empty-relation{color:var(--color-text-muted);border-color:var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-subtle)}.date-modal-backdrop,.notification-backdrop,.attach-confirm-backdrop,.ai-mobile-backdrop{background:var(--color-overlay);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.sheet-backdrop{background:var(--color-overlay);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:100;justify-content:center;align-items:flex-end;animation:.16s fade-in;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.bottom-sheet{border-radius:var(--radius-xl) var(--radius-xl) 0 0;background:var(--color-surface);box-shadow:var(--shadow-sheet);width:min(500px,100%);max-height:min(84vh,760px);padding:0 14px max(16px, env(safe-area-inset-bottom));animation:.22s slide-up;animation-duration:var(--motion-normal);border:0;overflow-y:auto}.bottom-sheet>header{border-color:var(--color-border-subtle);height:auto;min-height:64px}.bottom-sheet h2,.date-time-modal>header h2{color:var(--color-text);font-family:var(--font-display);font-size:18px;font-weight:var(--font-weight-bold)}.sheet-handle span,.drag-handle span{background:var(--crm-theme-ink-surface,var(--color-text-muted))}.option-list,.stage-options,.pipeline-options,.quick-filter-options,.picker-options{gap:var(--space-2)}.stage-option-group{gap:var(--space-1);padding-block:var(--space-2);display:grid}.stage-option-group+.stage-option-group{border-top:1px solid var(--color-border-subtle)}.stage-option-group>header{padding:4px var(--space-2);color:var(--color-text-muted);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);text-transform:uppercase}.option-list button,.stage-options button,.pipeline-options>button,.quick-filter-row,.picker-options button,.entity-action-menu>button{min-height:52px;color:var(--color-text);border-radius:var(--radius-sm);background:var(--color-surface-subtle);font-size:var(--font-size-md);border:0}.option-list button.active,.stage-options button.active,.pipeline-options>button.active,.quick-filter-row.active,.picker-types button.active{color:var(--color-text);background:var(--color-primary-soft);box-shadow:inset 3px 0 var(--color-primary);border-color:#0000}.notification-type-options{gap:var(--space-3);padding-top:var(--space-4)}.notification-type-options button{align-items:center;gap:var(--space-3);min-height:72px;padding:var(--space-3) var(--space-4);text-align:left;color:var(--color-text-muted);border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);grid-template-columns:minmax(0,1fr) 34px;transition:border-color .18s,background .18s,box-shadow .18s;display:grid}.notification-type-options button.active{color:var(--color-text);border-color:var(--color-border);background:var(--color-surface);box-shadow:none}.notification-type-options button:hover{border-color:var(--color-border);background:var(--color-surface-hover)}.notification-type-options button:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}.notification-type-options button span{gap:var(--space-1);min-width:0;display:grid}.notification-type-options button strong{color:var(--color-text-muted);font-size:var(--font-size-md);overflow-wrap:anywhere;line-height:1.28}.notification-type-options button.active strong{color:var(--color-text)}.notification-type-options button small{color:var(--color-text-muted);font-size:var(--font-size-sm);overflow-wrap:anywhere;line-height:1.38}.notification-type-options button .notification-type-state{background:var(--color-border);border-radius:12px;justify-content:flex-start;align-items:center;width:34px;height:20px;padding:2px;transition:background .18s;display:flex}.notification-type-options button .notification-type-state:before{content:"";background:var(--crm-theme-surface,#fff);border-radius:50%;width:16px;height:16px;transition:transform .18s;box-shadow:0 1px 3px #0002}.notification-type-options button.active .notification-type-state{background:var(--color-primary)}.notification-type-options button.active .notification-type-state:before{transform:translate(14px)}.notification-type-options button .notification-type-state svg{display:none}.entity-action-menu{gap:var(--space-4);padding:var(--space-1) 0 var(--space-3);display:grid}.entity-action-section{gap:var(--space-2);display:grid}.entity-action-section__label{padding-inline:var(--space-1);color:var(--color-text-muted);font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);line-height:var(--line-height-body);margin:0}.entity-action-row{width:100%;min-height:var(--control-height-lg);align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-3);color:var(--color-text-secondary);text-align:left;border-radius:var(--radius-sm);background:var(--color-surface-subtle);border:0;display:flex}.entity-action-row>span{gap:var(--space-1);flex-direction:column;flex:1;min-width:0;display:flex}.entity-action-row>svg:first-child{color:var(--color-text-secondary);flex:none}.entity-action-menu strong{color:var(--color-text);font-size:var(--font-size-md);line-height:var(--line-height-body)}.entity-action-menu small{color:var(--color-text-muted);font-size:var(--font-size-sm);line-height:var(--line-height-body)}.entity-action-row.success-action{color:var(--color-success-strong);background:var(--color-success-soft)}.entity-action-row.success-action>svg,.entity-action-row.success-action strong{color:var(--color-success-strong)}.entity-action-menu .danger-action,.logout-button.confirm,.bulk-action-menu>button.danger{color:var(--color-danger-strong);background:var(--color-danger-soft);border-color:#0000}.entity-action-menu .danger-action>svg,.entity-action-menu .danger-action strong{color:var(--color-danger-strong)}.entity-notification-disclosure__chevron{color:var(--color-text-muted);transition:transform var(--motion-fast) var(--ease-standard);margin-left:auto}.entity-notification-disclosure[aria-expanded=true] .entity-notification-disclosure__chevron{transform:rotate(180deg)}.entity-notification-options{gap:var(--space-1);padding:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-subtle);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.entity-notification-options button{min-height:var(--control-height-sm);justify-content:center;align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-2);color:var(--color-text-secondary);border-radius:var(--radius-xs);background:var(--color-surface);font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);border:0;display:flex}.entity-notification-options button.active{color:var(--crm-theme-on-ink,var(--color-surface));border-color:var(--color-text);background:var(--crm-theme-ink-surface,var(--color-text))}.entity-action-confirmation{gap:var(--space-3);padding:var(--space-4);border:1px solid var(--color-danger-border);border-radius:var(--radius-md);background:var(--color-danger-soft);grid-template-columns:auto minmax(0,1fr);display:grid}.entity-action-confirmation__icon{width:var(--control-height-sm);height:var(--control-height-sm);color:var(--color-danger-strong);border-radius:var(--radius-pill);background:var(--color-surface);place-items:center;display:grid}.entity-action-confirmation__copy{gap:var(--space-2);display:grid}.entity-action-confirmation__copy h3,.entity-action-confirmation__copy p{margin:0}.entity-action-confirmation__copy h3{color:var(--color-danger-strong);font-size:var(--font-size-lg);line-height:var(--line-height-title)}.entity-action-confirmation__copy p{color:var(--color-text);font-size:var(--font-size-md);line-height:var(--line-height-relaxed)}.entity-action-confirmation__actions{gap:var(--space-2);grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.entity-action-confirmation__actions button{min-height:var(--control-height-md);border-radius:var(--radius-sm);font-size:var(--font-size-md);font-weight:var(--font-weight-semibold);border:0}.entity-action-confirmation__actions .secondary-action{color:var(--color-text);background:var(--color-surface)}.entity-action-confirmation__actions .confirm-danger-action{color:var(--color-on-danger);background:var(--color-danger)}.next-editor,.next-action-editor{gap:var(--space-3)}.settings-form-grid{gap:var(--space-3);grid-template-columns:1fr 1fr;display:grid}.filter-fields{gap:var(--space-3);grid-template-columns:1fr 1fr;padding:15px 0;display:grid}.filter-drawer .bottom-sheet{background:var(--color-surface)}.filter-drawer .filter-fields{padding:var(--space-4) 0 var(--space-3)}.filter-fields label,.settings-form-grid label,.settings-select,.next-editor label,.time-panel>label{color:var(--color-text-muted);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium)}.filter-fields select,.filter-fields input,.settings-form-grid input,.settings-form-grid textarea,.settings-select select,.settings-select input[type=time],.next-editor input,.next-editor textarea,.next-action-editor input,.time-panel>input[type=time],.deal-task-create input{min-height:var(--control-height-md);padding-inline:var(--space-3);color:var(--color-text);border:1px solid var(--color-border);border-radius:var(--radius-sm);background-color:var(--color-surface-subtle);font-size:var(--font-size-md)}.filter-fields label{gap:var(--space-2);min-width:0;display:grid}.filter-fields select:focus,.filter-fields input:focus,.settings-form-grid input:focus,.settings-form-grid textarea:focus,.settings-select select:focus,.settings-select input[type=time]:focus,.next-editor input:focus,.next-editor textarea:focus,.next-action-editor input:focus{border-color:var(--color-primary);background-color:var(--color-surface)}.settings-select{gap:var(--space-2);display:grid}.settings-select input[type=time]{box-sizing:border-box;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-variant-numeric:tabular-nums;width:100%}.settings-select input[type=time]:disabled{opacity:.55;cursor:not-allowed}.filter-save-box{gap:var(--space-3);margin:0 0 var(--space-4);padding:var(--space-3);border:1px solid var(--color-border-subtle);border-radius:var(--radius-md);background:var(--color-surface-subtle);display:grid}.filter-save-box>label:not(.toggle-line){gap:var(--space-2);color:var(--color-text-muted);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);display:grid}.filter-save-box input[type=text],.filter-save-box input:not([type]){min-height:var(--control-height-md);padding-inline:var(--space-3);color:var(--color-text);border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface)}.toggle-line{align-items:center;gap:var(--space-3);color:var(--color-text);grid-template-columns:18px minmax(0,1fr);display:grid}.toggle-line input{width:18px;height:18px;accent-color:var(--color-primary)}.toggle-line>span{gap:2px;min-width:0;display:grid}.toggle-line small{color:var(--color-text-muted);font-size:var(--font-size-xs);line-height:1.35}.sales-list-filter-fields{gap:var(--space-4);padding:var(--space-4) 0;display:grid}.sales-list-filter-fields fieldset{gap:var(--space-3);border:0;min-width:0;margin:0;padding:0;display:grid}.sales-list-filter-fields legend{color:var(--color-text-muted);font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);margin:0;padding:0}.sales-list-filter-fields .sales-status-picker{margin:0}.sales-status-picker{gap:var(--space-1);padding:var(--space-1);border-radius:var(--radius-pill);background:var(--color-surface-subtle);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.sales-status-picker button{min-height:40px;color:var(--color-text-secondary);border-radius:var(--radius-pill);font-size:var(--font-size-sm);font-weight:var(--font-weight-bold);background:0 0;border:0}.sales-status-picker button.active{color:var(--color-text);background:var(--color-surface);box-shadow:0 1px 4px #1f252d14}.sales-filter-checks{gap:var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.sales-filter-checks>button{align-items:center;gap:var(--space-2);min-width:0;min-height:88px;padding:var(--space-3);color:var(--color-text);text-align:left;border:1px solid var(--color-border-subtle);border-radius:var(--radius-sm);background:var(--color-surface-subtle);grid-template-columns:34px minmax(0,1fr) 20px;display:grid}.sales-filter-checks>button:hover,.sales-filter-checks>button[aria-pressed=true]{border-color:var(--color-primary-border);background:var(--color-primary-soft)}.sales-filter-checks>button>span:not(.sales-filter-icon){overflow-wrap:anywhere;min-width:0;font-size:var(--font-size-sm);font-weight:var(--font-weight-bold)}.sales-filter-icon{width:34px;height:34px;color:var(--color-primary-text);border-radius:var(--radius-pill);background:var(--color-primary-softer);place-items:center;display:grid}.sales-filter-checks>button>i{width:20px;height:20px;color:var(--color-on-primary);border-radius:var(--radius-pill);background:0 0;place-items:center;font-style:normal;display:grid}.sales-filter-checks>button[aria-pressed=true]>i{background:var(--color-primary)}.sheet-footer{gap:var(--space-2);border-color:var(--color-border-subtle)}.sheet-footer button,.date-time-modal>footer button,.profile-actions button,.attach-confirm button{border-radius:var(--radius-pill);min-height:48px;font-size:var(--font-size-md);font-weight:var(--font-weight-bold)}.sheet-footer .secondary,.date-time-modal>footer .secondary,.attach-confirm .secondary{color:var(--color-text-secondary);border-color:var(--color-border);background:var(--color-surface)}.field-editor-sheet:has(.next-action-popup-form) .bottom-sheet{flex-direction:column;width:min(620px,100% - 32px);max-height:min(720px,100dvh - 48px);display:flex;overflow:hidden}.next-action-popup-form{gap:var(--space-4);min-height:360px;padding:var(--space-4) 0 0;grid-template-rows:minmax(0,1fr) auto;display:grid}.next-action-popup-content{align-content:start;gap:var(--space-4);min-height:0;padding:2px 2px var(--space-2);display:grid;overflow:auto}.next-action-text-fields{gap:var(--space-4);display:grid}.next-action-text-fields>label{gap:var(--space-2);min-width:0;color:var(--color-text-secondary);font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);display:grid}.next-action-text-fields textarea{width:100%;min-height:156px;color:var(--color-text);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-subtle);resize:vertical;outline:0;padding:14px;font-size:18px;line-height:1.35}.next-action-text-fields textarea:focus{border-color:var(--color-primary);background:var(--color-surface);box-shadow:0 0 0 3px var(--color-primary-soft)}.next-action-popup-date:focus-visible{border-color:var(--color-primary);background:var(--color-surface);box-shadow:0 0 0 3px var(--color-primary-soft)}.next-action-popup-date{align-items:center;gap:var(--space-2);width:100%;min-height:52px;padding:0 var(--space-3);color:var(--color-text);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-subtle);font-size:var(--font-size-md);font-weight:var(--font-weight-bold);text-align:left;display:flex}.next-action-popup-date svg:last-child{color:var(--color-text-subtle);margin-left:auto}.date-time-modal,.attach-confirm,.notification-popup,.confirm-dialog,[role=dialog].dialog-card{border-radius:var(--radius-xl);background:var(--color-surface);box-shadow:var(--shadow-lg);border:0}.calendar-panel,.time-panel,.date-time-modal>header,.date-time-modal>footer{border-color:var(--color-border)}.calendar-days button,.quick-times button{border-radius:var(--radius-sm)}.calendar-days button.selected,.quick-times button.selected{color:var(--crm-theme-on-ink,var(--color-surface));border-color:var(--color-text);background:var(--crm-theme-ink-surface,var(--color-text))}.settings-toggle input:checked+i{background:var(--color-primary)}.ai-panel{border-color:var(--color-border);border-radius:var(--radius-xl) var(--radius-xl) 0 0;background:var(--color-surface);box-shadow:var(--shadow-lg);transition:height var(--motion-normal) var(--ease-emphasized)}.ai-panel>header{border-color:var(--color-border-subtle);min-height:72px}.ai-identity>i{color:var(--color-on-primary);border-radius:var(--radius-pill);background:var(--color-primary)}.ai-identity strong{color:var(--color-text);font-family:var(--font-display);font-size:var(--font-size-lg);font-weight:var(--font-weight-bold)}.ai-identity small{color:var(--color-text-muted);font-size:var(--font-size-sm)}.ai-thread{background:var(--color-surface)}.ai-message{padding:var(--space-3);color:var(--color-text);border-radius:var(--radius-md);background:var(--color-surface-muted);font-size:var(--font-size-md);border:0}.ai-message.me{color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text))}.ai-message.error{color:var(--color-danger-strong);background:var(--color-danger-soft);border:0}.ai-message-body{align-items:flex-start;gap:var(--space-2);margin:0;display:flex}.ai-message-note{margin-top:var(--space-2);opacity:.8;font-size:.75em;line-height:1.35;display:block}.message .ai-message-body,.ai-message .ai-message-body{width:100%}.formatted-ai-text{white-space:normal;overflow-wrap:anywhere;word-break:break-word;flex:1;min-width:0;margin:0;line-height:1.5}.formatted-ai-text>:first-child{margin-top:0}.formatted-ai-text>:last-child{margin-bottom:0}.formatted-ai-text p{margin:0 0 .65em}.formatted-ai-text strong{font-weight:700}.formatted-ai-text em{font-style:italic}.formatted-ai-text h1,.formatted-ai-text h2,.formatted-ai-text h3,.formatted-ai-text h4,.formatted-ai-text h5,.formatted-ai-text h6{margin:.65em 0 .4em;font-weight:700;line-height:1.3}.formatted-ai-text h1{font-size:1.35em}.formatted-ai-text h2{font-size:1.2em}.formatted-ai-text h3{font-size:1.1em}.formatted-ai-text ul,.formatted-ai-text ol{margin:.5em 0;padding-left:1.5em}.formatted-ai-text ul{list-style:outside}.formatted-ai-text ol{list-style:decimal}.formatted-ai-text li>p{margin-bottom:.25em}.formatted-ai-text blockquote{border-left:3px solid;margin:.5em 0;padding-left:.8em}.formatted-ai-text pre{white-space:pre;background:#0000000d;border-radius:6px;max-width:100%;padding:.65em;overflow-x:auto}.formatted-ai-text code{font-family:monospace}.formatted-ai-text table{border-collapse:collapse;max-width:100%;display:block;overflow-x:auto}.formatted-ai-text th,.formatted-ai-text td{border:1px solid;padding:.35em .6em}.message.ai .formatted-ai-text,.message.ai .formatted-ai-text a,.ai-message:not(.me) .formatted-ai-text a{color:var(--color-primary-strong,#a83c16)}.formatted-ai-text a{color:var(--color-primary-strong,#a83c16);cursor:pointer;z-index:1;font-weight:600;text-decoration:underline;position:relative}.ai-message.me .formatted-ai-text a,.message.me .formatted-ai-text a{color:inherit}.ai-message>div button,.ai-suggestions button,.ai-entity-actions button,.inline-ai-actions button,.ai-format{color:var(--color-text-secondary);border-radius:var(--radius-pill);background:var(--color-surface-muted);border:0}.ai-message>div button{min-height:34px;font-size:var(--font-size-sm)}.ai-suggestions{gap:var(--space-2);padding:var(--space-2) var(--space-2) 0}.ai-suggestions button{height:40px;font-size:var(--font-size-sm)}.ai-suggestions button.primary,.ai-entity-actions button:first-of-type,.ai-format{color:var(--color-primary-text);background:var(--color-primary-soft);border:0}.ai-bottom-dock{background:var(--color-surface)}.ai-reply-request{border-radius:var(--radius-lg);background:var(--color-primary-soft);box-shadow:none;border:0}.ai-reply-request button.accept{color:var(--color-on-primary);border-color:var(--color-primary);background:var(--color-primary)}.empty-state,.desktop-welcome{color:var(--color-text);text-align:center;flex-direction:column;justify-content:center;align-items:center;height:100%;padding:30px;display:flex}.empty-state i,.welcome-mark,.load-error-state>i{width:48px;height:48px;color:var(--color-text-muted);border-radius:var(--radius-pill);background:var(--color-surface-muted)}.empty-state strong,.desktop-welcome h2,.load-error-state strong{color:var(--color-text);font-family:var(--font-display);font-size:var(--font-size-lg);font-weight:var(--font-weight-bold)}.empty-state p,.desktop-welcome p,.load-error-state p{color:var(--color-text-muted);font-size:var(--font-size-md)}.skeleton-card{border-radius:var(--radius-md);background:var(--color-surface-subtle)}.app-toast{border-radius:var(--radius-lg);background:var(--color-surface-glass-strong);box-shadow:var(--shadow-md);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:0}.bulk-bar{border-radius:var(--radius-lg);background:var(--color-surface-glass-strong);box-shadow:var(--shadow-md);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);z-index:50;border:0;align-items:center;gap:9px;min-height:58px;padding:8px 10px;display:flex;position:fixed;bottom:18px;left:94px;right:18px}.app-toast{color:var(--color-text)}.app-toast button{color:var(--color-primary-strong);border-color:var(--color-primary-border)}.bulk-bar>button.bulk-ai{color:var(--color-primary-text);background:var(--color-primary-soft);border-color:#0000}.bulk-bar>button.bulk-danger{color:var(--color-danger-strong);background:var(--color-danger-soft);border-color:#0000}.notification-popup>div>button{border-color:var(--color-border-subtle)}.notification-popup>div>button.read{background:var(--color-surface-subtle)}.notification-popup>div>button.unread{box-shadow:inset 3px 0 var(--color-primary)}.notification-popup>div i,.notification-popup footer button{color:var(--color-primary-text);background:var(--color-primary-soft);border-color:#0000}@media (max-width:760px){html[data-crm-surface=mobile] body{background:var(--color-surface)}.app-shell.layout-mobile{width:var(--mobile-max-width);background:var(--color-surface);border:0;max-width:none;margin:0}.layout-mobile .workspace{background:var(--color-surface);margin-left:0}.layout-mobile .list-pane{background:var(--color-surface);border:0}.layout-mobile .app-header{min-height:76px;padding:max(var(--space-3), env(safe-area-inset-top)) var(--space-4) var(--space-2)}.layout-mobile .header-copy{gap:0}.layout-mobile .header-copy>span{gap:0;font-size:20px}.layout-mobile .header-actions{gap:var(--space-2)}.layout-mobile .app-header .header-actions .icon-button{width:40px;height:40px}.layout-mobile .app-filter-grid{padding-bottom:var(--space-3)}.layout-mobile .search-zone{padding:0 var(--space-4) var(--space-3)}.layout-mobile .search-zone:not(.search-visible){gap:var(--space-2)}.layout-mobile .segmented{min-height:48px}.layout-mobile .segmented button{height:40px}.layout-mobile .entity-scroll{padding-top:var(--space-3);padding-bottom:102px}.layout-mobile .sales-search-zone+.entity-scroll{padding-top:0}.layout-mobile .stage-heading{grid-template-columns:minmax(0,1fr) auto 20px}.layout-mobile .deal-chat-row{min-height:74px}.layout-mobile .bottom-nav{right:var(--space-4);bottom:max(var(--space-3), env(safe-area-inset-bottom));left:var(--space-4);gap:var(--space-2);grid-template-columns:minmax(0,1fr) 56px}.layout-mobile .nav-switch,.layout-mobile .nav-actions{border-radius:var(--radius-xl);height:64px}.layout-mobile .nav-switch{padding:var(--space-1)}.layout-mobile .nav-switch button{border-radius:var(--radius-xl);font-size:var(--font-size-2xs)}.layout-mobile .nav-actions{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;padding:0}.layout-mobile .nav-actions button{border-radius:var(--radius-pill);background:var(--color-primary);width:56px;height:56px}.layout-mobile .detail-pane,.layout-mobile .detail-screen{background:var(--color-surface)}.layout-mobile .detail-header{min-height:72px;padding:max(var(--space-3), env(safe-area-inset-top)) var(--space-4) var(--space-2)}.layout-mobile .deal-detail-header{grid-template-columns:40px minmax(0,1fr) auto}.layout-mobile .deal-detail-header .today-check{display:none}.layout-mobile .deal-status-stack{gap:var(--space-2);min-height:auto;padding:0 var(--space-4) var(--space-2);grid-template-columns:minmax(0,1fr) minmax(104px,.46fr)}.layout-mobile .deal-status-stack .stage-bar{min-height:44px;padding:var(--space-2) var(--space-3)}.layout-mobile .deal-status-stack .next-action{min-height:44px;display:contents}.layout-mobile .deal-status-stack .next-action-main{border-radius:var(--radius-sm);background:var(--color-info-soft);grid-area:2/1/auto/-1;min-height:60px}.layout-mobile .deal-status-stack .next-action-date{border-radius:var(--radius-sm);background:var(--color-danger-soft);border:0;grid-area:1/2;min-width:0}.layout-mobile .deal-status-stack:has(.next-action-editor) .stage-bar{grid-column:1/-1;min-height:44px}.layout-mobile .deal-status-stack .next-action-editor{border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-sm);border:0;grid-column:1/-1}.layout-mobile .top-tabs{z-index:15;height:48px;margin:0 var(--space-4) calc(var(--space-10) + var(--space-2));background:var(--color-surface-subtle);-webkit-backdrop-filter:none;backdrop-filter:none;border:0;position:relative;display:grid!important}.layout-mobile .detail-screen>.top-tabs:before{z-index:-1;inset:calc(0px - var(--space-2)) calc(0px - var(--space-4)) calc(0px - var(--space-10));border-radius:0 0 var(--radius-xl) var(--radius-xl);background:var(--color-surface-muted);content:"";position:absolute}.layout-mobile .detail-screen>.top-tabs:after{bottom:calc(0px - var(--space-6));border-radius:var(--radius-pill);background:var(--crm-theme-ink-surface,var(--color-text-muted));content:"";width:36px;height:4px;position:absolute;left:50%;transform:translate(-50%)}.layout-mobile .bottom-tabs{display:none!important}.layout-mobile .detail-tabs.tabs-4 button{font-size:var(--font-size-sm);margin:0}.layout-mobile .conversation-frame{margin:0 var(--space-2);border-radius:var(--radius-lg) var(--radius-lg) 0 0}.layout-mobile .conversation{padding:var(--space-5) var(--space-4) 128px;border-radius:var(--radius-lg) var(--radius-lg) 0 0}.layout-mobile .message{max-width:86%;font-size:var(--font-size-md)}.layout-mobile .composer-zone,.layout-mobile .task-composer,.layout-mobile .journal-composer{z-index:20;margin:0 var(--space-2) var(--space-2);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);border:0;overflow:visible}.layout-mobile .composer-toolbar{min-height:52px;padding:var(--space-2) var(--space-2) 0}.layout-mobile .composer-box{min-height:56px;margin:var(--space-2)}.layout-mobile .mobile-chat-mode{height:36px;color:var(--color-primary-text);border-radius:var(--radius-pill);background:var(--color-primary-soft);border:0}.layout-mobile .mobile-chat-mode.active{color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text))}.layout-mobile .detail-content{padding:var(--space-3)}.layout-mobile .documents-navigation{margin-bottom:var(--space-3)}.layout-mobile .documents-navigation__item{min-height:38px;padding-inline:var(--space-3);font-size:var(--font-size-sm)}.layout-mobile .field-subsections{padding:var(--space-2)}.layout-mobile .field-row{gap:var(--space-2);padding-inline:var(--space-3);grid-template-columns:minmax(90px,.45fr) minmax(0,1fr) auto}.layout-mobile .sheet-backdrop,.layout-mobile .date-modal-backdrop,.layout-mobile .notification-backdrop,.layout-mobile .ai-mobile-backdrop{position:absolute}.layout-mobile .filter-drawer .bottom-sheet,.layout-mobile .filter-drawer .bottom-sheet.wide,.layout-mobile .bottom-sheet{border-radius:var(--radius-xl) var(--radius-xl) 0 0;width:100%;max-width:100%}.layout-mobile .filter-drawer .filter-fields,.layout-mobile .settings-form-grid,.layout-mobile .date-modal-body{grid-template-columns:1fr}.layout-mobile .date-time-modal{border-radius:var(--radius-xl) var(--radius-xl) 0 0;border:0;width:100%}.layout-mobile .calendar-panel{border-right:0}.layout-mobile .time-panel{border-top:1px solid var(--color-border)}.layout-mobile .ai-panel.mobile-surface{right:var(--space-2);left:var(--space-2);border-radius:var(--radius-xl) var(--radius-xl) 0 0;width:auto;box-shadow:var(--shadow-sheet);border:0}.layout-mobile .ai-panel.mobile-surface.expanded{right:var(--space-1);left:var(--space-1);height:calc(100dvh - var(--space-2));border-radius:var(--radius-xl) var(--radius-xl) 0 0}.layout-mobile input,.layout-mobile textarea,.layout-mobile select{font-size:16px}}.entity-action-confirmation-backdrop{z-index:3;background:var(--color-overlay);place-items:center;padding:16px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.entity-action-confirmation-backdrop .entity-action-confirmation{background:var(--color-surface);width:min(358px,100%);box-shadow:var(--shadow-lg);border:0;border-radius:20px;grid-template-columns:32px minmax(0,1fr);gap:8px;padding:24px 16px;display:grid}.entity-action-confirmation-backdrop .entity-action-confirmation__icon{width:24px;height:24px;color:var(--color-danger-action);border:1.5px solid var(--color-danger-action);background:0 0}.entity-action-confirmation-backdrop .entity-action-confirmation__icon svg{width:16px;height:16px}.entity-action-confirmation-backdrop .entity-action-confirmation__copy{gap:4px}.entity-action-confirmation-backdrop .entity-action-confirmation__copy h3{color:var(--color-text);font-size:20px;line-height:24px}.entity-action-confirmation-backdrop .entity-action-confirmation__copy p{color:var(--color-text);font-size:13px;line-height:18px}.entity-action-confirmation-backdrop .entity-action-confirmation__copy small{min-height:72px;color:var(--color-danger-strong);background:var(--color-danger-soft);border-radius:8px;align-items:center;gap:10px;margin:4px 0 0 -40px;padding:12px;font-size:12px;line-height:17px;display:flex}.entity-action-confirmation-backdrop .entity-action-confirmation__copy small:before{width:20px;height:20px;color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text));content:"✓";border-radius:4px;flex:0 0 20px;place-items:center;font-size:12px;font-weight:700;display:grid}.entity-action-confirmation-backdrop .entity-action-confirmation__actions{grid-column:1/-1;grid-template-columns:1fr;gap:8px;margin-top:0}.entity-action-confirmation-backdrop .entity-action-confirmation__actions button{border-radius:24px;min-height:48px;font-size:14px;font-weight:700}.entity-action-confirmation-backdrop .entity-action-confirmation__actions .confirm-danger-action{color:var(--color-surface);background:var(--color-danger-action);order:1}.entity-action-confirmation-backdrop .entity-action-confirmation__actions .secondary-action{color:var(--color-text-muted);border:1px solid var(--color-border-strong);background:var(--color-surface);order:2}@media (min-width:761px){.layout-desktop .app-header{min-height:82px;padding:var(--space-4)}.layout-desktop .header-copy>span{font-size:var(--font-size-2xl)}.layout-desktop .app-filter-grid,.layout-desktop .search-zone{padding-inline:var(--space-4)}.layout-desktop .entity-scroll{padding-top:var(--space-4)}.layout-desktop .sales-search-zone+.entity-scroll{padding-top:0}.layout-desktop .detail-header{min-height:76px;padding-inline:var(--space-5)}.layout-desktop .deal-status-stack{padding-inline:var(--space-5);grid-template-columns:minmax(180px,.38fr) minmax(0,1fr)}.layout-desktop .detail-tabs{width:min(620px,100% - 40px);margin-inline-start:auto;margin-inline-end:auto}.layout-desktop .conversation{padding:var(--space-6)}.layout-desktop .detail-content{padding:var(--space-5)}.layout-desktop .documents-navigation{width:fit-content;max-width:100%}.layout-desktop .bottom-sheet:not(.wide){width:min(520px,100% - 32px)}.layout-desktop .filter-drawer .bottom-sheet,.layout-desktop .filter-drawer .bottom-sheet.wide{border-radius:0 0 var(--radius-xl) var(--radius-xl)}.layout-desktop .date-time-modal{width:min(640px,100%)}}@media (hover:hover){.filter-summary-card:hover,.documents-navigation__item:hover,.option-list button:hover,.stage-options button:hover,.entity-action-menu>button:hover,.entity-action-row:not(.success-action):not(.danger-action):hover,.entity-notification-options button:not(.active):hover{background:var(--color-surface-hover)}.segmented button.active:hover,.detail-tabs button.active:hover,.nav-switch button.active:hover{color:var(--color-primary-text);background:var(--color-primary-soft)}.documents-navigation__item.active:hover{color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text))}}.calls-report{color:var(--color-text);background:var(--color-canvas);font-family:var(--font-body)}.calls-report-header{gap:var(--space-4);padding:var(--space-5) var(--space-6);color:var(--color-text);border-color:var(--color-border);background:var(--color-surface-muted)}.calls-report-header h1{color:var(--color-text);font-family:var(--font-display);font-size:var(--font-size-2xl);font-weight:var(--font-weight-bold);line-height:var(--line-height-title)}.calls-report-header p,.calls-period small,.calls-kpis span,.calls-kpis small,.calls-section-heading p,.calls-list-toolbar>span,.call-main small,.call-duration,.call-detail>header p,.call-detail-status>small,.call-detail-metrics small,.call-crm-context small,.call-transcript header small,.call-transcript>div{color:var(--color-text-muted)}.calls-eyebrow,.calls-section-heading span,.calls-overview-panel>header span{color:var(--color-primary-text);font-weight:var(--font-weight-extrabold)}.calls-period{gap:var(--space-2);padding:var(--space-2) var(--space-3);color:var(--color-text);border-color:var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-xs)}.calls-period svg{color:var(--color-primary-text)}.calls-tabs{gap:var(--space-1);padding:var(--space-2) var(--space-4);border-color:var(--color-border);background:var(--color-surface-muted)}.calls-tabs button{min-height:var(--control-height-sm);gap:var(--space-2);padding-inline:var(--space-3);color:var(--color-text-muted);border-radius:var(--radius-sm);font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);background:0 0;border-color:#0000}.calls-tabs button.active{color:var(--color-primary-text);border-color:var(--color-primary-border);background:var(--color-primary-soft)}.calls-report-scroll{padding:var(--space-4) var(--space-5) 110px;background:var(--color-canvas)}.calls-source-note{gap:var(--space-2);margin-bottom:var(--space-4);padding:var(--space-3);color:var(--color-success-strong);border-color:var(--color-success-border);border-radius:var(--radius-lg);background:var(--color-success-soft)}.calls-source-note small{color:var(--color-text-secondary)}.calls-kpis{gap:var(--space-3);margin-bottom:var(--space-3)}.calls-kpis article,.calls-panel{color:var(--color-text);border-color:var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-xs)}.calls-kpis article{gap:var(--space-1);padding:var(--space-4)}.calls-kpis strong{color:var(--color-text);font-family:var(--font-display);font-size:var(--font-size-2xl);font-weight:var(--font-weight-bold)}.calls-empty-state{gap:var(--space-3);padding:var(--space-7);color:var(--color-text-muted)}.calls-empty-state svg{color:var(--color-primary-text)}.calls-empty-state h2,.calls-section-heading h2,.calls-overview-panel>header h2{color:var(--color-text);font-family:var(--font-display);font-weight:var(--font-weight-bold);line-height:var(--line-height-title)}.calls-section-heading{margin-bottom:var(--space-3)}.calls-list-toolbar{gap:var(--space-2);margin-bottom:var(--space-3)}.calls-list-toolbar label{min-height:var(--control-height-md);gap:var(--space-2);padding-inline:var(--space-3);color:var(--color-text-secondary);border-color:var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-xs)}.calls-list-toolbar input{color:var(--color-text);font-size:var(--font-size-md);background:0 0}.calls-list-toolbar label button{color:var(--color-text-muted);border-radius:var(--radius-pill);background:0 0}.calls-call-row{gap:var(--space-3);padding:var(--space-2) var(--space-3);color:var(--color-text);border-color:var(--color-border-subtle);background:var(--color-surface);border-radius:0}.call-main{gap:var(--space-2)}.call-main>i{color:var(--color-success-strong);border-radius:var(--radius-pill);background:var(--color-success-soft)}.call-main>i.outgoing{color:var(--color-info);background:var(--color-info-soft)}.call-main strong,.call-detail-status>strong,.call-detail-metrics strong,.call-crm-context strong,.call-transcript header strong{color:var(--color-text);font-weight:var(--font-weight-semibold)}.call-status{gap:var(--space-1);color:var(--color-text-secondary);border-radius:var(--radius-pill);background:var(--color-surface-muted);font-weight:var(--font-weight-semibold)}.call-status.answered{color:var(--color-success-strong);background:var(--color-success-soft)}.call-status.missed{color:var(--color-danger-strong);background:var(--color-danger-soft)}.calls-report .transcript-mark{color:var(--color-text-faint)}.calls-report .transcript-mark.ready{color:var(--color-primary-text)}.calls-overview-panel>header{gap:var(--space-3);padding:var(--space-3) var(--space-4);border-color:var(--color-border)}.calls-overview-panel>header button{gap:var(--space-1);color:var(--color-primary-text);border-color:var(--color-primary-border);border-radius:var(--radius-sm);background:var(--color-primary-softer);font-weight:var(--font-weight-semibold)}.calls-report .operators-head{color:var(--color-text-muted);border-color:var(--color-border);background:var(--color-surface-subtle)}.calls-report .operators-panel article{color:var(--color-text);border-color:var(--color-border-subtle)}.calls-report .operator-person>i{color:var(--color-primary-text);background:var(--color-primary-soft)}.calls-report .operator-person small{color:var(--color-text-muted)}.calls-report .operator-good{color:var(--color-success-strong)}.calls-report .operator-bad{color:var(--color-danger-strong)}.calls-report .operators-panel article>em{color:var(--color-warning-strong);border-radius:var(--radius-sm);background:var(--color-warning-soft)}.call-detail-backdrop{background:var(--color-overlay)}.call-detail{color:var(--color-text);border-color:var(--color-border);background:var(--color-surface);box-shadow:var(--shadow-lg);font-family:var(--font-body)}.call-detail>header{gap:var(--space-4);padding:var(--space-5);border-color:var(--color-border);background:var(--color-surface-muted)}.call-detail>header h2{color:var(--color-text);font-family:var(--font-display);font-size:var(--font-size-xl);font-weight:var(--font-weight-bold);line-height:var(--line-height-title)}.call-detail>header>button{color:var(--color-text-secondary);border-color:var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface)}.call-detail-body{gap:var(--space-3);padding:var(--space-4) var(--space-5) var(--space-7)}.call-detail-status{gap:var(--space-2)}.call-detail-metrics{border-color:var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.call-detail-metrics span{gap:var(--space-2);padding:var(--space-2);border-color:var(--color-border)}.call-crm-context,.call-transcript{padding:var(--space-3);color:var(--color-text);border-color:var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-subtle)}.call-callback{gap:var(--space-2);padding:var(--space-3);color:var(--color-warning-strong);border-color:var(--color-warning);border-radius:var(--radius-md);background:var(--color-warning-soft)}.call-callback small{color:var(--color-text-secondary)}.call-transcript>header{gap:var(--space-2)}.call-transcript>header>svg{color:var(--color-primary-text)}.call-transcript>p{color:var(--color-text-secondary);line-height:var(--line-height-relaxed)}.management-workspace{color:var(--color-text);background:var(--color-canvas);font-family:var(--font-body)}.mgmt-page,.management-workspace .settings-content{padding:var(--space-7) var(--space-8) var(--space-12);color:var(--color-text)}.mgmt-page-header{gap:var(--space-6);margin-bottom:var(--space-6)}.mgmt-page-header>div:first-child>span{color:var(--color-primary-text);font-size:var(--font-size-sm);font-weight:var(--font-weight-extrabold)}.mgmt-page-header h1{color:var(--color-text);font-family:var(--font-display);font-size:var(--font-size-2xl);font-weight:var(--font-weight-bold);line-height:var(--line-height-title)}.mgmt-page-header p{color:var(--color-text-muted);font-size:var(--font-size-md);line-height:var(--line-height-relaxed)}.mgmt-page-actions{gap:var(--space-2)}.mgmt-primary,.mgmt-secondary,.mgmt-danger,.mgmt-link{min-height:var(--control-height-sm);gap:var(--space-2);padding-inline:var(--space-3);border-radius:var(--radius-sm);font-family:var(--font-body);font-size:var(--font-size-md);font-weight:var(--font-weight-semibold)}.mgmt-primary{color:var(--color-on-primary);border-color:var(--color-primary);background:var(--color-primary);box-shadow:var(--shadow-xs)}.mgmt-primary:hover{background:var(--color-primary-hover)}.mgmt-secondary{color:var(--color-text-secondary);border-color:var(--color-border);background:var(--color-surface)}.mgmt-secondary:hover{color:var(--color-text);border-color:var(--color-border-strong);background:var(--color-surface-hover)}.mgmt-danger{color:var(--color-danger-strong);border-color:var(--color-danger-border);background:var(--color-danger-soft)}.mgmt-link{color:var(--color-primary-text);background:0 0}.mgmt-filterbar{gap:var(--space-3);margin-bottom:var(--space-4);padding:var(--space-3);border-color:var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface-glass);box-shadow:var(--shadow-xs)}.mgmt-filterbar>svg,.mgmt-select svg{color:var(--color-text-muted)}.mgmt-select{gap:var(--space-1);color:var(--color-text-muted);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold)}.mgmt-select select{height:var(--control-height-sm);color:var(--color-text);border-color:var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);font-family:var(--font-body);font-size:var(--font-size-md);font-weight:var(--font-weight-medium)}.mgmt-select select:focus{border-color:var(--color-primary);box-shadow:var(--focus-ring)}.mgmt-kpi-grid{gap:var(--space-3);margin-bottom:var(--space-4)}.mgmt-kpi-grid article,.mgmt-card{color:var(--color-text);border-color:var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-xs)}.mgmt-kpi-grid article{padding:var(--space-4)}.mgmt-kpi-grid article>i{color:var(--color-primary-text);border-radius:var(--radius-sm);background:var(--color-primary-soft)}.mgmt-kpi-grid article>span,.mgmt-card>header p,.mgmt-live,.mgmt-field,.mgmt-sticky-actions>span,.mgmt-modal header p,.mgmt-toggle small{color:var(--color-text-muted)}.mgmt-kpi-grid article>strong,.mgmt-card>header h2,.mgmt-modal h2,.mgmt-toggle strong{color:var(--color-text);font-family:var(--font-display);font-weight:var(--font-weight-bold)}.mgmt-kpi-grid article>small,.mgmt-live i{color:var(--color-success-strong)}.mgmt-live i{background:var(--color-success);box-shadow:0 0 0 3px var(--color-success-soft)}.mgmt-two-columns{gap:var(--space-4);margin-bottom:var(--space-4)}.mgmt-card>header{gap:var(--space-3);padding:var(--space-3) var(--space-4);border-color:var(--color-border)}.mgmt-table{color:var(--color-text);font-family:var(--font-body);font-size:var(--font-size-sm)}.mgmt-table th{color:var(--color-text-muted);border-color:var(--color-border);background:var(--color-surface-subtle);font-size:var(--font-size-2xs);font-weight:var(--font-weight-extrabold)}.mgmt-table td{color:var(--color-text-secondary);border-color:var(--color-border-subtle)}.mgmt-table td>strong{color:var(--color-text)}.mgmt-table tbody tr.clickable:hover td{background:var(--color-surface-hover)}.mgmt-form-grid{gap:var(--space-3);padding:var(--space-4)}.mgmt-field{gap:var(--space-1);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold)}.mgmt-field input,.mgmt-field textarea{color:var(--color-text);border-color:var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);font-family:var(--font-body);font-size:var(--font-size-md);font-weight:var(--font-weight-medium)}.mgmt-field input:focus,.mgmt-field textarea:focus{border-color:var(--color-primary);box-shadow:var(--focus-ring)}.mgmt-note{gap:var(--space-3);padding:var(--space-3);color:var(--color-success-strong);border-color:var(--color-success-border);border-radius:var(--radius-md);background:var(--color-success-soft)}.mgmt-note small{color:var(--color-text-secondary)}.mgmt-sticky-actions{gap:var(--space-4);padding:var(--space-3) var(--space-4);border-color:var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface-glass);box-shadow:var(--shadow-md)}.mgmt-sticky-actions>span strong{color:var(--color-text)}.mgmt-badge{border-radius:var(--radius-pill);font-weight:var(--font-weight-bold)}.mgmt-badge.good{color:var(--color-success-strong);background:var(--color-success-soft)}.mgmt-badge.warn{color:var(--color-warning-strong);background:var(--color-warning-soft)}.mgmt-badge.bad{color:var(--color-danger-strong);background:var(--color-danger-soft)}.mgmt-badge.neutral{color:var(--color-text-secondary);background:var(--color-surface-muted)}.mgmt-modal-backdrop{padding:var(--space-6);background:var(--color-overlay)}.mgmt-modal{color:var(--color-text);border-color:var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-lg);font-family:var(--font-body)}.mgmt-modal>header{gap:var(--space-3);padding:var(--space-4) var(--space-5);border-color:var(--color-border);background:var(--color-surface-muted)}.mgmt-icon-button{color:var(--color-text-secondary);border-color:var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface)}.mgmt-modal-body{padding:var(--space-4) var(--space-5)}.mgmt-toggle{color:var(--color-text)}.mgmt-toggle>i{border-radius:var(--radius-pill);background:var(--color-border-strong)}.mgmt-toggle>i:after{border-radius:var(--radius-pill);background:var(--color-surface);box-shadow:var(--shadow-xs)}.mgmt-toggle input:checked+i{background:var(--color-primary)}.mgmt-tabs{gap:var(--space-1);margin-bottom:var(--space-4);padding:var(--space-1);border-color:var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted)}.mgmt-tabs button{min-height:var(--control-height-sm);gap:var(--space-2);padding-inline:var(--space-3);color:var(--color-text-muted);border-radius:var(--radius-sm);font-family:var(--font-body);font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold)}.mgmt-tabs button.active{color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text));box-shadow:var(--shadow-xs)}.mgmt-tabs button i{border-radius:var(--radius-pill);background:var(--color-surface-hover)}.mgmt-toast{gap:var(--space-2);padding:var(--space-2) var(--space-3);color:var(--crm-theme-on-ink,var(--color-surface));border-radius:var(--radius-md);background:var(--crm-theme-ink-surface,var(--color-text));box-shadow:var(--shadow-md);font-family:var(--font-body)}.mgmt-toast>svg{color:var(--color-primary-text)}.mgmt-toast button{color:var(--color-text-faint)}@media (max-width:1200px){.mgmt-page,.management-workspace .settings-content{padding-right:var(--space-5);padding-left:var(--space-5)}}@media (max-width:760px){.calls-report-header{min-height:96px;padding:var(--space-4)}.calls-report-header h1{font-size:var(--font-size-xl)}.calls-tabs{padding:var(--space-2)}.calls-report-scroll{padding:var(--space-3) var(--space-2) 92px}.calls-kpis{gap:var(--space-2)}.call-detail{border-left:0;width:100%}.call-detail>header,.call-detail-body{padding-right:var(--space-4);padding-left:var(--space-4)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}}@media (max-width:760px){html[data-crm-surface=mobile] body{color:var(--color-text);background:var(--color-surface);font-family:var(--font-body)}.app-shell.layout-mobile{background:var(--color-surface);width:100%;max-width:none;margin:0}.layout-mobile .app-header{min-height:80px;padding:max(16px, env(safe-area-inset-top)) 16px 12px;background:var(--color-surface-hover);gap:12px}.layout-mobile .avatar-button,.layout-mobile .avatar-button span{width:40px;height:40px}.layout-mobile .avatar-button span{color:var(--color-surface);background:linear-gradient(145deg, var(--color-avatar-start) 0%, var(--color-avatar-middle) 52%, var(--color-avatar-end) 100%);border:0;font-size:12px;font-weight:700}.layout-mobile .header-copy>span{letter-spacing:-.025em;gap:0;font-size:22px;font-weight:700;line-height:1.2}.layout-mobile .header-copy>span:before{display:none}.layout-mobile .header-actions{gap:0}.layout-mobile .app-header .header-actions .icon-button,.layout-mobile .icon-button,.layout-mobile .back-button,.layout-mobile .deal-action-circle{width:40px;height:40px;color:var(--color-text-muted);background:var(--color-surface);border:0}.layout-mobile .app-header .header-actions .icon-button{background:radial-gradient(circle, var(--color-surface) 0 20px, transparent 20px);width:48px;height:48px}.layout-mobile .app-header .header-actions .icon-button svg{width:24px;height:24px}.layout-mobile .app-header .header-actions .icon-button.filter-active,.layout-mobile .app-header .header-actions .icon-button.search-active{color:var(--crm-theme-on-ink,var(--color-surface));background:radial-gradient(circle, var(--crm-theme-ink-surface,var(--color-text)) 0 20px, transparent 20px);border:0}.layout-mobile .app-filter-grid{background:var(--color-surface-hover);border-radius:0 0 20px 20px;gap:8px;padding:0 16px 12px}.layout-mobile .app-filter-grid:has(+.search-zone){border-radius:0}.layout-mobile .filter-summary-card{border-radius:8px;min-height:50px;padding:8px 16px}.layout-mobile .filter-summary-card small{color:var(--color-text-subtle);font-size:11px;line-height:14px}.layout-mobile .filter-summary-card strong{font-size:13px;line-height:18px}.layout-mobile .filter-summary-card.active{box-shadow:none}.layout-mobile .search-zone{background:var(--color-surface-hover);border-radius:0 0 20px 20px;padding:0 16px 10px}.layout-mobile .segmented,.layout-mobile .view-switch{background:var(--color-surface-subtle);border-radius:28px;min-height:48px;padding:4px}.layout-mobile .segmented button,.layout-mobile .view-switch button{height:40px;color:var(--color-text-subtle);border-radius:24px;gap:8px;font-size:14px;font-weight:700}.layout-mobile .view-switch button i{min-width:20px;height:20px;color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text-subtle));border-radius:10px;place-items:center;font-size:11px;font-style:normal;line-height:1;display:grid}.layout-mobile .segmented button.active,.layout-mobile .search-zone .segmented button.active,.layout-mobile .view-switch button.active,.layout-mobile .chat-mode-switch button.active,.layout-mobile .task-route-switch button.active,.layout-mobile .action-format-switch button.active{color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text));box-shadow:none}.layout-mobile .view-switch button.active i{color:var(--color-text);background:var(--color-surface)}.layout-mobile .entity-scroll{background:var(--color-surface);touch-action:pan-y;padding:12px 0 100px}.layout-mobile .sales-search-zone+.entity-scroll{padding-top:0}.layout-mobile .transfer-notices{padding:0 16px 8px}.layout-mobile .transfer-notice-card{min-height:61px;color:var(--color-text);background:var(--color-primary-soft);border:0;border-radius:10px;gap:12px;padding:10px 12px}.layout-mobile .transfer-notice-avatar{width:32px;height:32px;color:var(--color-surface);background:var(--color-transfer-icon);border-radius:50%;flex:0 0 32px;place-items:center;display:grid}.layout-mobile .transfer-notice-title,.layout-mobile .transfer-notice-copy{min-width:0}.layout-mobile .transfer-notice-title{align-items:center;gap:7px;display:flex}.layout-mobile .transfer-notice-title strong{color:var(--color-text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.layout-mobile .transfer-notice-dot{background:var(--crm-theme-ink-surface,var(--color-text));border-radius:50%;flex:0 0 3px;width:3px;height:3px}.layout-mobile .transfer-notice-card p{color:var(--color-text-warm);margin-top:2px;font-size:11px}.layout-mobile .transfer-notice-card button{width:32px;height:32px;color:var(--color-transfer-text);background:var(--color-surface);border:0;border-radius:50%;justify-content:center;padding:0;font-size:12px}.layout-mobile .stage-group{border-left-width:4px;border-radius:10px;width:calc(100% - 32px);margin:0 16px 12px}.layout-mobile .stage-heading{grid-template-columns:minmax(0,1fr) auto 16px;gap:8px;height:auto;min-height:43px;padding:10px 12px;font-size:14px;line-height:18px}.layout-mobile .stage-heading em{height:20px;color:var(--color-text-subtle);background:var(--color-surface);white-space:nowrap;place-items:center;padding:0 8px;font-size:11px;display:grid}.layout-mobile .stage-heading>span{text-overflow:clip;white-space:normal;overflow:visible}.layout-mobile .stage-heading--empty{grid-template-columns:minmax(0,1fr) auto 16px}.layout-mobile .stage-heading>svg{width:14px;height:14px;transition:transform var(--motion-fast) var(--ease-standard);transform:rotate(180deg)}.layout-mobile .stage-heading>svg.folded{transform:rotate(0)}.layout-mobile .entity-card.deal-card{overflow:visible}.layout-mobile .deal-card .card-body{padding-right:2px;overflow:visible}.layout-mobile .entity-card{border-radius:8px;gap:8px;width:calc(100% - 20px);min-height:59px;margin:0 8px 8px;padding:8px;box-shadow:0 0 8px #1717190d}.layout-mobile .entity-scroll>.client-card{background:var(--color-surface-muted);width:calc(100% - 32px);min-height:72px;box-shadow:none;border-radius:10px;margin:0 16px 8px;padding:12px 8px}.layout-mobile .entity-scroll>.client-card .entity-avatar{background:var(--color-surface)}.layout-mobile .entity-scroll>.client-card .card-body p{color:var(--color-text-secondary);margin:1px 0;font-size:11px;line-height:15px}.layout-mobile .entity-scroll>.client-card .card-body small,.layout-mobile .entity-scroll>.client-card>svg{color:var(--color-text-subtle);font-size:11px;line-height:15px}.layout-mobile .select-target{width:32px;height:32px}.layout-mobile .entity-avatar,.layout-mobile .chat-avatar{width:32px;height:32px;font-size:10px}.layout-mobile .card-title-row strong,.layout-mobile .card-title-row b{font-size:13px;line-height:17px}.layout-mobile .deal-card-meta{align-items:center;gap:6px}.layout-mobile .deal-budget{flex:none;align-items:center;gap:4px;display:inline-flex}.layout-mobile .deal-budget-mark{width:16px;height:16px;color:var(--color-on-primary);background:linear-gradient(145deg, var(--color-fab-start) 0%, var(--color-fab-end) 100%);border-radius:50%;flex:none;place-items:center;display:grid}.layout-mobile .deal-budget-mark svg{width:10px;height:10px}.layout-mobile .deal-overdue-badge{height:16px;color:var(--color-danger-strong);background:var(--color-danger-soft);white-space:nowrap;border-radius:4px;flex:none;align-items:center;padding:0 5px;font-size:9px;font-weight:600;display:inline-flex}.layout-mobile .next-line{grid-template-columns:auto 3px minmax(0,1fr) auto;align-items:center;gap:5px;margin-top:1px;font-size:11px;line-height:15px;overflow:visible}.layout-mobile .next-line-signals{justify-content:flex-end;min-width:20px}.layout-mobile .next-line-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.layout-mobile .compact-signal{width:20px;height:20px}.layout-mobile .compact-signal svg{width:12px;height:12px}.layout-mobile .next-line time{font-size:11px}.layout-mobile .next-line-dot,.layout-mobile .deal-unread-dot{border-radius:50%;align-self:center;width:3px;height:3px}.layout-mobile .next-line-dot{background:var(--crm-theme-ink-surface,var(--color-text-subtle))}.layout-mobile .deal-unread-dot{background:var(--color-unread);width:4px;height:4px}.layout-mobile .deal-chat-list{gap:12px;padding:0 16px 24px}.layout-mobile .deal-chat-row{border-radius:10px;gap:8px;min-height:73px;padding:12px 8px}.layout-mobile .chat-row-main>div{align-items:center}.layout-mobile .chat-row-name{align-items:center;gap:6px;min-width:0;display:flex}.layout-mobile .chat-row-main strong{font-size:13px;line-height:18px}.layout-mobile .chat-row-meta time,.layout-mobile .chat-row-main time,.layout-mobile .chat-row-main p,.layout-mobile .chat-row-main small{font-size:11px;line-height:15px}.layout-mobile .chat-row-main p{margin:1px 0}.layout-mobile .chat-ai-badge{width:12px;height:12px;color:var(--color-surface);background:var(--color-primary);border-radius:50%;flex:0 0 12px;place-items:center;font-size:8px;font-style:normal;line-height:1;display:grid}.layout-mobile .chat-unread-count{min-width:20px;height:20px;color:var(--color-surface);background:var(--color-unread);border-radius:10px;place-items:center;font-size:11px;font-weight:700;display:grid}.layout-mobile .bottom-nav{right:16px;bottom:max(8px, env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) 48px;align-items:center;gap:4px;width:auto;height:69px;left:16px}.layout-mobile .nav-switch,.layout-mobile .nav-actions{height:69px;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;border:0}.layout-mobile .nav-switch{background:var(--color-navigation-surface);border-radius:35px;gap:0;padding:8px}.layout-mobile .nav-switch button{height:48px;color:var(--color-text-subtle);border-radius:27px;gap:2px;font-size:10px;font-weight:600}.layout-mobile .nav-switch button.active{min-width:78px;height:53px;color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text));box-shadow:none;margin-top:-4px}.layout-mobile .nav-icon-wrap{place-items:center;width:24px;height:24px;display:grid}.layout-mobile .nav-switch button.active .nav-icon-wrap{color:inherit;background:0 0;border-radius:0}.layout-mobile .nav-switch button svg{width:20px;height:20px}.layout-mobile .nav-actions{width:48px;height:69px;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;place-items:center;margin-left:0;padding:0;display:grid}.layout-mobile .nav-actions button{width:48px;height:48px;color:var(--color-surface);background:linear-gradient(145deg, var(--color-fab-start) 0%, var(--color-fab-end) 100%);border-radius:50%}.layout-mobile .nav-actions .nav-fab svg{width:24px;height:24px}.layout-mobile .deal-detail-header{min-height:72px;padding:max(16px, env(safe-area-inset-top)) 16px 8px;background:var(--color-surface-hover);grid-template-columns:40px minmax(0,1fr) 40px;gap:12px}.layout-mobile .deal-title-block>small{display:none}.layout-mobile .deal-detail-header.title-expanded .deal-title-block>small{margin-bottom:4px;display:block}.layout-mobile .deal-title,.layout-mobile .detail-header h1{font-size:20px;line-height:24px}.layout-mobile .deal-title-button{gap:8px}.layout-mobile .deal-status-stack{background:var(--color-surface-hover);grid-template-columns:minmax(0,245px) minmax(0,105px);gap:8px;padding:0 16px 8px}.layout-mobile .deal-work-context{display:none}.layout-mobile .deal-status-stack .stage-bar{border-left-width:4px;border-radius:8px;min-height:40px;padding:6px 12px}.layout-mobile .deal-status-stack .next-action-main{min-height:60px;padding:0}.layout-mobile .deal-status-stack .next-action-summary{min-height:60px;padding:10px 12px}.layout-mobile .deal-status-stack .next-action.expanded .next-action-main{gap:8px;padding:0 12px 12px}.layout-mobile .deal-status-stack .next-action.expanded .next-action-summary{padding:10px 0 0}.layout-mobile .deal-status-stack .next-action-edit{min-height:36px;font-size:13px}.layout-mobile .deal-status-stack .next-action-date{border:1px solid var(--color-danger-border);background:var(--color-danger-soft);border-radius:8px;min-height:40px;padding:0 8px;font-size:12px}.layout-mobile .deal-status-stack .next-action-main{border:1px solid var(--color-next-action-border);background:var(--color-next-action-surface);border-radius:8px}.layout-mobile .top-tabs{background:var(--color-surface-subtle);border-radius:28px;height:48px;margin:0 16px 44px;padding:4px}.layout-mobile .detail-tabs button{color:var(--color-text-subtle);border-radius:24px;font-size:14px;font-weight:700}.layout-mobile .detail-tabs button.active{color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text))}.layout-mobile .detail-tabs button.active:after{display:none}.layout-mobile .detail-screen>.top-tabs:before{background:var(--color-surface-hover);border-radius:0 0 24px 24px;top:-8px;bottom:-36px;left:-16px;right:-16px}.layout-mobile .detail-screen>.top-tabs:after{background:var(--crm-theme-ink-surface,var(--color-text-subtle));width:36px;height:4px;bottom:-25px}.layout-mobile .conversation-frame{background:var(--color-surface-subtle);border-radius:12px 12px 0 0;margin:0 8px}.layout-mobile .conversation{border-radius:12px 12px 0 0;padding:20px 16px 144px}.layout-mobile .message{background:var(--color-surface);border:0;border-radius:10px 10px 10px 2px;max-width:86%;padding:12px 12px 8px;font-size:14px;line-height:19px;box-shadow:0 4px 18px #1717190d}.layout-mobile .message.me{color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text));border:0;border-radius:10px 10px 2px}.layout-mobile .message time{color:var(--color-text-subtle);font-size:10px}.layout-mobile .timeline-event{color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text-subtle));padding:4px 12px;font-size:11px}.layout-mobile .composer-zone{background:var(--crm-theme-surface,#fffffff5);border-radius:12px;margin:0;bottom:8px;left:8px;right:8px;box-shadow:0 0 18px #17171914}.layout-mobile .composer-toolbar{min-height:52px;padding:8px 12px 0}.layout-mobile .composer-ai-toggle{width:40px;height:40px;color:var(--color-primary-text);background:var(--color-primary-softer);border-radius:50%;place-items:center;margin:0;padding:0;display:grid}.layout-mobile .composer-toolbar{grid-template-columns:minmax(0,1fr) 40px}.layout-mobile .composer-box{background:var(--color-surface-muted);border:0;border-radius:28px;min-height:56px;margin:8px}.layout-mobile .composer-box textarea{font-size:14px}.layout-mobile .bottom-sheet{width:100%;max-width:none;max-height:calc(100dvh - 176px);padding:0 16px max(16px, env(safe-area-inset-bottom));border-radius:20px 20px 0 0}.layout-mobile .bottom-sheet .sheet-handle{display:none}.layout-mobile .bottom-sheet>header{touch-action:pan-x;cursor:grab;min-height:58px;padding:12px 16px}.layout-mobile .bottom-sheet.is-dragging,.layout-mobile .ai-panel.mobile-surface.is-dragging{cursor:grabbing;transition:none!important}.layout-mobile .bottom-sheet.is-settling,.layout-mobile .ai-panel.mobile-surface.is-settling{transition:transform var(--motion-normal) var(--ease-emphasized)}.layout-mobile .bottom-sheet>header h2{font-size:20px}.layout-mobile .bottom-sheet>header .icon-button{width:40px;height:40px}.layout-mobile .bottom-sheet>header .icon-button svg{width:16px;height:16px}.layout-mobile .sheet-backdrop{background:var(--color-overlay);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.layout-mobile .sales-status-sheet .bottom-sheet{max-height:min(306px,100dvh - 96px)}.layout-mobile .sales-status-picker{background:var(--color-surface-subtle);border-radius:28px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;height:47px;margin:8px 0 16px;padding:4px;display:grid}.layout-mobile .sales-status-picker button{min-height:39px;color:var(--color-text-subtle);background:0 0;border:0;border-radius:24px;padding:0 12px;font-size:14px;font-weight:700}.layout-mobile .sales-status-picker button.active{color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text))}.layout-mobile .sales-default-filter{min-height:44px;color:var(--color-text);cursor:pointer;align-items:center;gap:10px;font-size:14px;display:flex}.layout-mobile .sales-default-filter input{width:20px;height:20px;accent-color:var(--color-text);margin:0}.layout-mobile .sales-filter-footer{border:0;flex:none;padding:12px 0 0}.layout-mobile .sales-filter-footer .primary{border-radius:24px;width:100%;min-height:48px;font-size:14px}.layout-mobile .sales-list-filter .bottom-sheet,.layout-mobile .sales-list-filter .bottom-sheet.wide{height:min(548px,100dvh - 96px);max-height:calc(100dvh - 96px)}.layout-mobile .sales-list-filter-fields{gap:16px;min-height:0;padding:8px 0;display:grid;overflow-y:auto}.layout-mobile .sales-list-filter-fields fieldset{border:0;gap:8px;min-width:0;margin:0;padding:0;display:grid}.layout-mobile .sales-list-filter-fields legend{color:var(--color-text-subtle);margin-bottom:8px;font-size:13px;font-weight:600}.layout-mobile .sales-list-filter-fields .sales-status-picker{width:100%;margin:0}.layout-mobile .sales-filter-checks{gap:4px;display:grid}.layout-mobile .sales-filter-checks>button{min-height:48px;color:var(--color-text);text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:40px minmax(0,1fr) 24px;align-items:center;gap:8px;padding:0 8px;font-size:14px;display:grid}.layout-mobile .sales-filter-checks>button:hover,.layout-mobile .sales-filter-checks>button[aria-pressed=true]{background:var(--color-surface-subtle)}.layout-mobile .sales-filter-checks>button.overdue{color:var(--color-danger-strong);background:var(--color-danger-soft)}.layout-mobile .sales-filter-icon{width:40px;height:40px;color:var(--color-text-subtle);background:var(--color-surface-subtle);border-radius:8px;place-items:center;display:grid}.layout-mobile .sales-filter-checks>button.overdue .sales-filter-icon{color:var(--color-danger-strong);background:var(--color-surface)}.layout-mobile .sales-filter-checks>button>i{border:1.5px solid var(--color-text-subtle);border-radius:5px;justify-self:center;place-items:center;width:20px;height:20px;display:grid}.layout-mobile .sales-filter-checks>button[aria-pressed=true]>i{color:var(--crm-theme-on-ink,var(--color-surface));border-color:var(--color-text);background:var(--crm-theme-ink-surface,var(--color-text))}.layout-mobile .pipeline-picker-sheet .bottom-sheet{height:min(376px,100dvh - 96px);max-height:calc(100dvh - 96px)}.layout-mobile .pipeline-options{gap:0;padding:16px 0 0;overflow-y:auto}.layout-mobile .pipeline-options>button{min-height:56px;color:var(--color-text);background:var(--color-surface);box-shadow:none;border:0;border-radius:8px;grid-template-columns:40px minmax(0,1fr) 24px;gap:8px;padding:8px}.layout-mobile .composer-zone>.composer-box{min-height:64px}.layout-mobile .pipeline-options>button.active{color:var(--color-text);background:var(--color-surface-subtle);box-shadow:none}.layout-mobile .pipeline-options>button>i{width:40px;height:40px;color:var(--color-text-subtle);background:var(--color-surface-subtle);border-radius:8px}.layout-mobile .pipeline-options>button.active>i{background:var(--color-surface)}.layout-mobile .pipeline-options>button>i svg{width:20px;height:20px}.layout-mobile .pipeline-options strong{font-size:14px;line-height:19px}.layout-mobile .pipeline-options small{color:var(--color-text-subtle);font-size:12px;line-height:16px}.layout-mobile .pipeline-option-radio{border:0;place-items:center;width:24px;height:24px;display:grid;position:relative}.layout-mobile .pipeline-option-radio:before{content:"";border:1.5px solid var(--color-text-subtle);border-radius:50%;width:20px;height:20px;position:absolute}.layout-mobile .pipeline-options>button.active .pipeline-option-radio:before{border-color:var(--color-text)}.layout-mobile .pipeline-option-radio i{background:var(--crm-theme-ink-surface,var(--color-text));border-radius:50%;width:10px;height:10px}.layout-mobile .pipeline-picker-footer{border:0;padding-top:16px}.layout-mobile .pipeline-picker-footer .primary{min-height:48px;color:var(--color-surface);background:var(--color-primary-hover);border:0;border-radius:24px;font-size:14px;font-weight:700}.layout-mobile .entity-action-menu{padding:12px 16px max(20px, env(safe-area-inset-bottom));gap:0}.layout-mobile .entity-action-section{gap:8px}.layout-mobile .entity-action-section__label{margin:12px 0 4px;font-size:13px}.layout-mobile .entity-action-row{border-radius:8px;gap:10px;min-height:56px;padding:8px}.layout-mobile .entity-action-row>svg{background:var(--color-surface-subtle);border-radius:8px;width:40px;height:40px;padding:10px}.layout-mobile .entity-action-row strong{font-size:14px}.layout-mobile .entity-action-row small{font-size:12px}.layout-mobile .ai-mobile-backdrop{background:var(--color-overlay);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.layout-mobile .ai-panel.mobile-surface{background:var(--color-surface-hover);width:100%;height:220px;min-height:0;box-shadow:var(--shadow-sheet);border:0;border-radius:20px 20px 0 0;top:auto;bottom:0;left:0;right:0}.layout-mobile .ai-panel.mobile-surface.expanded{border-radius:20px 20px 0 0;width:100%;height:calc(100dvh - 24px);top:24px;bottom:0;left:0;right:0}.layout-mobile .ai-panel.mobile-surface.expanded.history-open{border-radius:0;height:100dvh;top:0;bottom:0;left:0;right:0}.layout-mobile .ai-panel.mobile-surface>.drag-handle{display:none}.layout-mobile .ai-panel.mobile-surface>header{touch-action:pan-x;border:0;min-height:68px;padding:10px 16px 6px}.layout-mobile .ai-panel.mobile-surface>header>div:last-child{gap:0}.layout-mobile .ai-panel.mobile-surface>header>div:last-child .icon-button{background:radial-gradient(circle, var(--color-surface) 0 20px, transparent 20px);width:48px;height:48px}.layout-mobile .ai-panel.mobile-surface .ai-identity{gap:8px}.layout-mobile .ai-panel.mobile-surface .ai-identity>i{width:40px;height:40px;color:var(--color-surface);background:linear-gradient(145deg, var(--color-fab-start) 0%, var(--color-fab-end) 100%);border-radius:50%}.layout-mobile .ai-panel.mobile-surface .ai-identity strong{font-size:16px}.layout-mobile .ai-panel.mobile-surface .ai-identity small{display:none}.layout-mobile .ai-panel.mobile-surface .ai-mode-switch{background:var(--color-surface-subtle);border:0;border-radius:28px;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;width:calc(100% - 32px);height:47px;margin:0 16px;padding:4px}.layout-mobile .ai-panel.mobile-surface .ai-mode-switch button{min-height:39px;color:var(--color-text-subtle);background:0 0;border:0;border-radius:24px;gap:0;font-size:14px;font-weight:700}.layout-mobile .ai-panel.mobile-surface .ai-mode-switch button.active{color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text));box-shadow:none}.layout-mobile .ai-panel.mobile-surface .ai-mode-switch svg,.layout-mobile .ai-panel.mobile-surface .composer-attach,.layout-mobile .ai-panel.mobile-surface:not(.expanded) .ai-thread,.layout-mobile .ai-panel.mobile-surface:not(.expanded) .ai-suggestions,.layout-mobile .ai-panel.mobile-surface:not(.expanded) .ai-greeting{display:none}.layout-mobile .ai-history-row{width:calc(100% - 32px);min-height:48px;color:var(--color-text);text-align:left;background:0 0;border:0;border-radius:0;flex:none;grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:8px;margin:0 16px;padding:0 12px;font-size:14px;font-weight:600;display:grid}.layout-mobile .ai-history-row>svg:last-child{color:var(--color-text-subtle);justify-self:end}.layout-mobile .ai-chat-surface{background:var(--color-surface-subtle);border-radius:12px 12px 0 0;flex-direction:column;flex:1;min-height:0;margin:8px 8px 0;display:flex;overflow:hidden}.layout-mobile .ai-panel.mobile-surface:not(.expanded) .ai-chat-surface{background:var(--color-surface);border-radius:0;margin:8px 0 0}.layout-mobile .ai-panel.mobile-surface:not(.expanded) .ai-bottom-dock{padding-left:16px;padding-right:16px}.layout-mobile .ai-panel.mobile-surface:not(.expanded) .composer-box{background:var(--color-surface-subtle)}.layout-mobile .ai-greeting{background:0 0;border-radius:0;flex:none;margin:0;padding:22px 16px 0}.layout-mobile .ai-greeting h2{color:var(--color-text);letter-spacing:-.02em;margin:0;font-size:20px;line-height:24px}.layout-mobile .ai-greeting>p{color:var(--color-text-subtle);margin:6px 0 0;font-size:13px;line-height:17px}.layout-mobile .ai-prompt-suggestions{justify-items:start;gap:8px;margin-top:14px;display:grid}.layout-mobile .ai-prompt-suggestions button{min-height:42px;color:var(--color-primary-text);border:1px solid var(--color-primary-border);text-align:left;background:0 0;border-radius:22px;align-items:center;gap:8px;padding:7px 16px;font-size:13px;font-weight:500;display:flex}.layout-mobile .ai-prompt-suggestions button i{width:16px;height:16px;color:var(--color-surface);background:linear-gradient(145deg, var(--color-fab-start), var(--color-fab-end));border-radius:50%;place-items:center;font-style:normal;display:grid}.layout-mobile .ai-chat-surface>.ai-thread{background:0 0;padding:8px 16px}.layout-mobile .ai-quick-actions-collapsed{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.62fr);gap:8px;margin-bottom:12px;display:grid}.layout-mobile .ai-quick-actions-collapsed button{min-width:0;min-height:48px;color:var(--color-text);background:var(--color-surface-hover);border:0;border-radius:12px;justify-content:center;align-items:center;gap:6px;padding:0 8px;font-size:12px;font-weight:600;display:flex}.layout-mobile .ai-quick-actions-collapsed button.primary{color:var(--color-on-primary);background:var(--color-primary)}.layout-mobile .ai-quick-actions-expanded>header{justify-content:space-between;align-items:center;min-height:40px;padding:0 4px 8px;display:flex}.layout-mobile .ai-quick-actions-expanded>header strong{font-size:14px}.layout-mobile .ai-quick-actions-expanded>header button{color:var(--color-text-subtle);background:0 0;border:0;align-items:center;gap:4px;padding:0;font-size:12px;display:flex}.layout-mobile .ai-panel.mobile-surface .ai-suggestions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:112px;padding:0 0 8px;display:grid;overflow-y:auto}.layout-mobile .ai-panel.mobile-surface .ai-suggestions button{background:var(--color-surface);text-align:center;white-space:normal;border-radius:12px;justify-content:center;width:100%;min-width:0;height:48px;padding:0 8px}.layout-mobile .ai-panel.mobile-surface .ai-suggestions button.primary{color:var(--color-on-primary);border-color:var(--color-primary);background:var(--color-primary)}.layout-mobile .ai-panel.mobile-surface>header.ai-history-header{border:0;flex:none;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:8px;min-height:68px;padding:20px 16px 8px;display:grid}.layout-mobile .ai-history-header strong{font-size:20px;line-height:24px}.layout-mobile .ai-history-search{flex:none;grid-template-columns:minmax(0,1fr);gap:8px;padding:0 16px 12px;display:grid}.layout-mobile .ai-history-search.filters-open{grid-template-columns:minmax(0,1fr) 48px}.layout-mobile .ai-history-search label{background:var(--color-surface);border-radius:24px;align-items:center;gap:8px;min-height:48px;padding:0 12px;display:flex}.layout-mobile .ai-history-search input{min-width:0;color:var(--color-text);background:0 0;border:0;outline:0;flex:1;font-size:14px}.layout-mobile .ai-history-search>button{width:48px;height:48px;color:var(--color-text-subtle);background:var(--color-surface);border:0;border-radius:50%;place-items:center;display:grid}.layout-mobile .ai-history-search>button.active{color:var(--color-text);background:var(--color-surface)}.layout-mobile .ai-history-kinds{gap:8px;padding:0 20px 16px;display:flex}.layout-mobile .ai-history-kinds button,.layout-mobile .ai-history-chips button{min-height:40px;color:var(--color-text-subtle);background:var(--color-surface-glass-soft);border:0;border-radius:20px;padding:0 16px;font-size:13px;font-weight:600}.layout-mobile .ai-history-kinds button.active{color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text))}.layout-mobile .ai-history-chips{background:var(--color-surface);flex:none;gap:8px;padding:12px 20px 4px;display:flex}.layout-mobile .ai-history-chips button{background:var(--color-surface-muted);align-items:center;gap:6px;min-height:32px;padding:0 12px;display:flex}.layout-mobile .ai-history-date{width:max-content;min-height:32px;color:var(--color-primary-text);background:var(--color-primary-soft);border:0;border-radius:16px;flex:none;align-items:center;gap:6px;margin:0 16px 8px;padding:0 10px;font-size:12px;display:flex}.layout-mobile .ai-panel.mobile-surface.history-open .ai-thread{background:var(--color-surface-subtle);border-radius:12px 12px 0 0;margin:8px;padding:24px 16px}.layout-mobile .ai-panel.mobile-surface .ai-bottom-dock{background:0 0;border:0;margin-top:auto;padding:0 8px 16px}.layout-mobile .ai-panel.mobile-surface .ai-recorder-host,.layout-mobile .ai-panel.mobile-surface .composer-box{width:100%}.layout-mobile .ai-panel.mobile-surface .composer-box{background:var(--color-surface);border:0;border-radius:32px;grid-template-columns:minmax(0,1fr) 48px;align-items:center;min-height:64px;margin:0;padding:8px}.layout-mobile .ai-panel.mobile-surface .composer-box textarea{padding-inline-start:6px;padding-inline-end:6px;line-height:17px;font-size:13px!important}.layout-mobile .ai-panel.mobile-surface .composer-box>.mobile-send:disabled{display:none!important}.layout-mobile .ai-panel.mobile-surface .composer-box:has(>.mobile-send:not(:disabled))>.mobile-voice{display:none!important}.layout-mobile .ai-panel.mobile-surface .composer-box>.mobile-voice,.layout-mobile .ai-panel.mobile-surface .composer-box>.mobile-send{width:48px!important;height:48px!important}.layout-mobile .date-time-modal.date-only{border-radius:20px 20px 0 0;height:min(513px,100dvh - 96px);max-height:calc(100dvh - 96px)}.layout-mobile .date-time-modal.date-only>header{background:var(--color-surface-subtle);border:0;min-height:58px;padding:9px 16px}.layout-mobile .date-time-modal.date-only>header h2{margin:0;font-size:20px;line-height:24px}.layout-mobile .date-time-modal.date-only>header .icon-button{background:var(--color-surface);border:0;width:40px;height:40px}.layout-mobile .date-time-modal.date-only .date-modal-body{display:block;overflow:hidden}.layout-mobile .date-time-modal.date-only .calendar-panel{height:100%;padding:16px 16px 8px}.layout-mobile .date-time-modal.date-only .calendar-head{text-align:left;grid-template-columns:minmax(0,1fr) 40px 40px;height:40px}.layout-mobile .date-time-modal.date-only .calendar-head strong{text-transform:capitalize;grid-area:1/1;font-size:16px}.layout-mobile .date-time-modal.date-only .calendar-head button:first-child{color:var(--color-text-subtle);grid-column:2}.layout-mobile .date-time-modal.date-only .calendar-head button:last-child{color:var(--color-primary);grid-column:3}.layout-mobile .date-time-modal.date-only .calendar-head button{background:0 0;width:40px;height:40px}.layout-mobile .date-time-modal.date-only .calendar-weekdays{color:var(--color-text-subtle);padding:16px 0 8px;font-size:11px}.layout-mobile .date-time-modal.date-only .calendar-days{gap:0}.layout-mobile .date-time-modal.date-only .calendar-days button{border-radius:50%;justify-self:center;width:48px;height:48px;min-height:48px;font-size:14px}.layout-mobile .date-time-modal.date-only .calendar-days button.outside{color:var(--color-text-subtle);opacity:1}.layout-mobile .date-time-modal.date-only>footer{border:0;padding:8px 16px 16px}.layout-mobile .date-time-modal.date-only>footer .primary{width:100%;height:48px;color:var(--color-on-primary);background:var(--color-primary);border:0;border-radius:24px;font-size:14px}.layout-mobile .document-workspace{background:var(--color-surface-subtle);gap:12px;padding:12px 16px 104px}.layout-mobile .document-workspace .documents-navigation{background:var(--color-surface-muted);border-radius:12px;gap:4px;min-height:48px;margin:0;padding:4px}.layout-mobile .document-workspace .documents-navigation__item{border-radius:9px;min-height:40px;padding:0 12px;font-size:12px;line-height:16px}.layout-mobile .document-workspace .deal-document-navigation .documents-navigation{overflow:hidden}.layout-mobile .document-workspace .deal-document-navigation .documents-navigation__item{flex:1 1 0;min-width:0;padding:0 5px;font-size:10px}.layout-mobile .document-workspace .deal-sales-subnavigation .documents-navigation{background:0 0;border:0;border-radius:0;gap:6px;min-height:40px;padding:0}.layout-mobile .document-workspace .deal-sales-subnavigation .documents-navigation__item{border:1px solid var(--color-border-subtle);background:var(--color-surface);border-radius:19px;min-height:38px;padding:0 12px;font-size:11px;line-height:14px}.layout-mobile .document-workspace .deal-sales-subnavigation .documents-navigation__item.active{color:var(--crm-theme-on-ink,var(--color-surface));border-color:var(--color-text);background:var(--crm-theme-ink-surface,var(--color-text))}.layout-mobile .document-workspace .deal-participants-section,.layout-mobile .document-workspace .deal-products-section{border:0;border-radius:12px;box-shadow:0 1px 4px #1717190d}.layout-mobile .document-workspace .deal-products-workspace{border:1px solid var(--color-border-subtle);border-radius:12px;gap:0;box-shadow:0 1px 4px #1717190d}.layout-mobile .document-workspace .deal-products-workspace>.deal-products-section{border-top:1px solid var(--color-border-subtle);box-shadow:none;border-radius:0}.layout-mobile .document-workspace .deal-section-intro{border-color:var(--color-border-subtle);min-height:64px;padding:10px 14px}.layout-mobile .document-workspace .deal-section-intro strong{font-size:13px;line-height:18px}.layout-mobile .document-workspace .deal-section-intro small{font-size:10px;line-height:14px}.layout-mobile .document-workspace .deal-section-intro>button{border-radius:18px;min-height:36px;padding:0 12px;font-size:11px}.layout-mobile .document-workspace .deal-product-list article{border-color:var(--color-border-subtle);grid-template-columns:34px minmax(0,1fr) auto 34px;gap:10px;min-height:58px;padding:9px 14px}.layout-mobile .document-workspace .deal-product-list article>i,.layout-mobile .document-workspace .deal-product-list article>button{width:34px;height:34px}.layout-mobile .document-workspace .deal-product-list article>span>strong{font-size:13px;line-height:18px}.layout-mobile .document-workspace .deal-product-list article>span>small{font-size:10px;line-height:14px}.layout-mobile .document-workspace .deal-product-list article>em{font-size:11px;line-height:16px}.layout-mobile .document-workspace .deal-product-search>header>em{padding:4px 8px;font-size:9px}.layout-mobile .document-workspace .deal-product-search-results>button{grid-template-columns:40px minmax(0,1fr) auto 18px}.layout-mobile .document-workspace .deal-product-search-results>button>em{font-size:9px}.layout-mobile .document-workspace .deal-budget-confirm{border-radius:12px;flex-direction:column;align-items:stretch;padding:12px 14px}.layout-mobile .document-workspace .deal-budget-confirm strong{font-size:12px;line-height:16px}.layout-mobile .document-workspace .deal-budget-confirm small{font-size:10px;line-height:14px}.layout-mobile .document-workspace .deal-budget-confirm>div{justify-content:flex-end}.layout-mobile .document-workspace .deal-budget-confirm button{border-radius:18px;min-height:36px;padding:0 14px;font-size:11px}.layout-mobile .document-workspace .deal-budget-warning{grid-template-columns:22px minmax(0,1fr) auto;min-height:62px;padding:8px 14px}.layout-mobile .document-workspace .deal-budget-warning>span strong{font-size:11px;line-height:15px}.layout-mobile .document-workspace .deal-budget-warning>span small{font-size:9px;line-height:13px}.layout-mobile .document-workspace .deal-budget-warning>button{border-radius:50%;justify-content:center;width:34px;height:34px;min-height:34px;padding:0}.layout-mobile .document-workspace .deal-budget-warning>button>span{display:none}.layout-mobile .document-workspace .deal-contacts-workspace,.layout-mobile .document-workspace .deal-companies-workspace{gap:12px}.layout-mobile .document-workspace .deal-company-search{border:0;border-radius:12px;box-shadow:0 1px 4px #1717190d}.layout-mobile .document-workspace .deal-company-search>header{border-color:var(--color-border-subtle);min-height:64px;padding:10px 14px}.layout-mobile .document-workspace .deal-company-search>header strong{font-size:13px;line-height:18px}.layout-mobile .document-workspace .deal-company-search>header small{font-size:10px;line-height:14px}.layout-mobile .document-workspace .deal-company-search>label{border-radius:10px;grid-template-columns:20px minmax(0,1fr) 30px;min-height:48px;margin:10px;padding:0 11px}.layout-mobile .document-workspace .deal-company-search>label input{height:46px;font-size:13px}.layout-mobile .document-workspace .deal-company-search-results{gap:8px;padding:0 10px 10px}.layout-mobile .document-workspace .deal-company-search-results>button{border-radius:10px;grid-template-columns:42px minmax(0,1fr) auto;min-height:62px;padding:8px 10px}.layout-mobile .document-workspace .deal-company-search-results>button>i{width:40px;height:40px}.layout-mobile .document-workspace .deal-company-search-results>button strong,.layout-mobile .document-workspace .deal-company-portal-fallback strong{font-size:12px;line-height:17px}.layout-mobile .document-workspace .deal-company-search-results>button small,.layout-mobile .document-workspace .deal-company-portal-fallback small{font-size:9px;line-height:13px}.layout-mobile .document-workspace .deal-company-portal-fallback{border-radius:10px;padding:10px}.layout-mobile .document-workspace .deal-company-portal-fallback button{border-radius:17px;min-height:34px;font-size:9px}.layout-mobile .document-workspace .deal-contact-switcher,.layout-mobile .document-workspace .deal-contact-card,.layout-mobile .document-workspace .deal-dialog-manager{border:0;border-radius:12px;box-shadow:0 1px 4px #1717190d}.layout-mobile .document-workspace .deal-contact-switcher>header,.layout-mobile .document-workspace .deal-dialog-manager>header{border-color:var(--color-border-subtle);min-height:64px;padding:10px 14px}.layout-mobile .document-workspace .deal-contact-switcher header strong,.layout-mobile .document-workspace .deal-dialog-manager header strong{font-size:13px;line-height:18px}.layout-mobile .document-workspace .deal-contact-switcher header small,.layout-mobile .document-workspace .deal-dialog-manager header small{font-size:10px;line-height:14px}.layout-mobile .document-workspace .deal-contact-switcher>header>button,.layout-mobile .document-workspace .deal-dialog-manager>header>button{border-radius:18px;min-height:36px;padding:0 11px;font-size:10px}.layout-mobile .document-workspace .deal-contact-switcher>div{gap:8px;padding:10px}.layout-mobile .document-workspace .deal-contact-switcher>div>article{border-color:var(--color-border-subtle);border-radius:10px;grid-template-columns:34px minmax(0,1fr) 34px;width:100%;min-height:68px;padding:8px 10px}.layout-mobile .document-workspace .deal-contact-switcher>div>article.relation-actions-row{grid-template-columns:34px minmax(0,1fr) auto}.layout-mobile .document-workspace .deal-company-switcher>div>article.deal-company-leasing{border-inline-start-color:var(--accent)}.layout-mobile .document-workspace .deal-contact-main>i,.layout-mobile .document-workspace .deal-fields-contact-picker>i,.layout-mobile .document-workspace .deal-fields-contact-menu button>i{width:38px;height:38px;font-size:11px}.layout-mobile .document-workspace .deal-contact-main strong,.layout-mobile .document-workspace .deal-contact-card>header strong{font-size:13px;line-height:18px}.layout-mobile .document-workspace .deal-contact-main small,.layout-mobile .document-workspace .deal-contact-card>header small{font-size:10px;line-height:14px}.layout-mobile .document-workspace .deal-contact-main{grid-template-columns:38px minmax(0,1fr);min-height:50px}.layout-mobile .document-workspace .deal-contact-check,.layout-mobile .document-workspace .deal-contact-primary{width:32px;height:32px}.layout-mobile .document-workspace .deal-contact-card>header{border-color:var(--color-border-subtle);min-height:68px;padding:10px 14px}.layout-mobile .document-workspace .deal-contact-card>header>a{width:38px;height:38px}.layout-mobile .document-workspace .deal-fields-contact-picker{grid-template-columns:38px minmax(0,1fr) 18px}.layout-mobile .document-workspace .deal-fields-contact-menu{gap:7px;padding:10px}.layout-mobile .document-workspace .deal-fields-contact-menu>button{grid-template-columns:38px minmax(0,1fr) 18px;min-height:56px;padding:7px 9px}.layout-mobile .document-workspace .deal-contact-card .field-subsections{padding:10px}.layout-mobile .document-workspace .deal-dialog-list{gap:9px;padding:10px}.layout-mobile .document-workspace .deal-dialog-select{grid-template-columns:40px minmax(0,1fr) auto 18px;min-height:68px;padding:9px 11px}.layout-mobile .document-workspace .deal-dialog-select>i{width:38px;height:38px}.layout-mobile .document-workspace .deal-dialog-select strong{font-size:13px;line-height:18px}.layout-mobile .document-workspace .deal-dialog-select small{font-size:10px;line-height:14px}.layout-mobile .document-workspace .deal-dialog-list article>footer{border-color:var(--color-border-subtle);gap:7px;padding:8px 10px}.layout-mobile .document-workspace .deal-dialog-list article>footer button{border-radius:17px;min-height:34px;padding:0 10px;font-size:10px}.layout-mobile .document-workspace .field-section,.layout-mobile .document-workspace .relations-section{background:var(--color-surface);border:0;border-radius:12px;overflow:hidden;box-shadow:0 1px 4px #1717190d}.layout-mobile .document-workspace .field-section>h2{border-bottom:1px solid var(--color-border-subtle);gap:12px;min-height:56px;padding:10px 16px;font-size:15px;line-height:20px}.layout-mobile .document-workspace .field-section>h2>small{max-width:52%;color:var(--color-text-subtle);text-overflow:ellipsis;white-space:nowrap;padding:4px 8px;font-size:10px;line-height:14px;overflow:hidden}.layout-mobile .document-workspace .field-subsections{background:var(--color-surface-subtle);gap:12px;padding:12px}.layout-mobile .document-workspace .field-subsection{border:0;border-radius:10px;overflow:hidden;box-shadow:0 1px 3px #1717190a}.layout-mobile .document-workspace .field-subsection>h3{border-bottom:1px solid var(--color-border-subtle);min-height:48px;padding:10px 14px;font-size:14px;line-height:18px}.layout-mobile .document-workspace .field-subsection>h3 small{min-width:24px;color:var(--color-text-subtle);text-align:center;padding:3px 7px;font-size:10px;line-height:14px}.layout-mobile .document-workspace .field-row{border-bottom:1px solid var(--color-border-subtle);grid-template-columns:minmax(112px,.75fr) minmax(0,1fr) 20px;gap:10px;min-height:64px;padding:10px 14px}.layout-mobile .document-workspace.company-detail-content .field-row:not(.field-row-editing){grid-template-columns:18px minmax(88px,.8fr) minmax(0,1fr);gap:8px}.layout-mobile .document-workspace.company-detail-content .field-row.readonly{grid-template-columns:18px minmax(88px,.8fr) minmax(0,1fr) 20px}.layout-mobile .document-workspace.company-detail-content .field-row>strong{white-space:normal;overflow-wrap:anywhere;overflow:visible}.layout-mobile .document-workspace .field-row.participant-field{grid-template-columns:24px minmax(88px,.65fr) minmax(0,1fr) 20px}.layout-mobile .document-workspace .field-row>span{color:var(--color-text-muted);font-size:12px;line-height:16px}.layout-mobile .document-workspace .field-row>strong{min-width:0;color:var(--color-text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;line-height:18px;overflow:hidden}.layout-mobile .document-workspace .field-row>svg{width:16px;height:16px;color:var(--color-text-subtle)}.layout-mobile .document-workspace .field-row:not(.readonly):active{background:var(--color-surface-muted)}.layout-mobile .document-workspace .field-row.readonly>svg{visibility:hidden}.layout-mobile .document-workspace.company-detail-content .field-row.readonly>svg,.layout-mobile .document-workspace .field-row.readonly .readonly-field-indicator svg{visibility:visible}.layout-mobile .document-workspace .field-row-editing{grid-template-columns:minmax(96px,.5fr) minmax(0,1fr) 68px;align-items:start}.layout-mobile .document-workspace .company-field-row-editing{grid-template-columns:20px minmax(82px,.42fr) minmax(0,1fr) 68px}.layout-mobile .document-workspace .field-row-editing>span{padding-top:9px;font-size:12px;line-height:16px}.layout-mobile .document-workspace .field-inline-actions{padding-top:3px}.layout-mobile .document-workspace .product-field-section{padding:0}.layout-mobile .document-workspace .products-relation{padding:14px}.layout-mobile .document-workspace .relation-label{min-height:36px;font-size:13px}.layout-mobile .document-workspace .relation-label button{width:36px;height:36px;color:var(--color-primary);border-color:var(--color-primary-border);background:var(--color-primary-soft)}.layout-mobile .document-workspace .product-chips{gap:8px;margin-top:10px}.layout-mobile .document-workspace .product-chips>span{background:var(--color-surface-muted);border:0;border-radius:16px;min-height:32px;padding:6px 10px;font-size:11px;line-height:16px}.layout-mobile .field-editor-sheet .bottom-sheet{max-height:min(420px,100dvh - 96px);overflow:hidden}.layout-mobile .field-editor-sheet .field-edit-form{grid-template-rows:minmax(0,1fr) auto;gap:20px;min-height:190px;padding:18px 0 0;display:grid}.layout-mobile .field-editor-sheet .field-edit-form>label{flex-direction:column;gap:8px;min-width:0;display:flex}.layout-mobile .field-editor-sheet .field-edit-form>label>span{color:var(--color-text-secondary);font-size:12px;font-weight:600;line-height:16px}.layout-mobile .field-editor-sheet .field-edit-form input,.layout-mobile .field-editor-sheet .field-edit-form select,.layout-mobile .field-editor-sheet .field-edit-form textarea{width:100%;min-width:0;min-height:52px;color:var(--color-text);border:1px solid var(--color-border);background:var(--color-surface-subtle);border-radius:10px;outline:0;padding:0 14px;font-size:16px;line-height:22px}.layout-mobile .field-editor-sheet .field-edit-form textarea{resize:vertical;min-height:112px;padding-block-start:14px;padding-block-end:14px}.layout-mobile .field-editor-sheet .field-edit-form input:focus,.layout-mobile .field-editor-sheet .field-edit-form select:focus,.layout-mobile .field-editor-sheet .field-edit-form textarea:focus{border-color:var(--color-primary);background:var(--color-surface);box-shadow:0 0 0 3px var(--color-primary-soft)}.layout-mobile .field-editor-sheet .field-edit-form .sheet-footer{border-top:1px solid var(--color-border-subtle);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 0 0;display:grid}.layout-mobile .field-editor-sheet .field-edit-form .sheet-footer button{border-radius:24px;min-height:48px;font-size:14px}html[data-crm-surface=mobile] body{background:var(--color-canvas);justify-content:stretch;align-items:stretch;width:100%;height:100dvh;min-height:100dvh;display:flex;overflow:hidden}html[data-crm-surface=mobile] body #root{background:var(--color-canvas);width:100%;height:100dvh;min-height:100dvh;max-height:none}html[data-crm-surface=mobile] body .app-shell.layout-mobile{height:100dvh;min-height:100dvh;max-height:none}html[data-crm-surface=mobile] body .layout-mobile{font-size:13px}html[data-crm-surface=mobile] body .layout-mobile .list-pane{background-color:var(--color-canvas);background-image:url(/assets/entity-list-grain-CwtLlqee.png);background-position:top;background-repeat:repeat;background-size:360px 360px}html[data-crm-surface=mobile] body .layout-mobile .app-header{min-height:60px;padding:max(8px, env(safe-area-inset-top)) 10px 6px;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;gap:8px}html[data-crm-surface=mobile] body .layout-mobile .avatar-button,html[data-crm-surface=mobile] body .layout-mobile .avatar-button span{width:36px;height:36px}html[data-crm-surface=mobile] body .layout-mobile .header-copy>span{font-size:18px;line-height:22px}html[data-crm-surface=mobile] body .layout-mobile .header-actions{gap:2px}html[data-crm-surface=mobile] body .layout-mobile .app-header .header-actions .icon-button{background:var(--color-surface);width:36px;height:36px}html[data-crm-surface=mobile] body .layout-mobile .app-header .header-actions .icon-button svg{width:19px;height:19px}html[data-crm-surface=mobile] body .layout-mobile .app-header .header-actions .icon-button.filter-active{color:var(--color-text-muted);background:var(--color-surface);border:0}html[data-crm-surface=mobile] body .layout-mobile .app-filter-grid{background:0 0;border-radius:0 0 14px 14px;gap:5px;padding:0 10px 7px}html[data-crm-surface=mobile] body .layout-mobile .filter-summary-card{border-radius:9px;min-height:40px;padding:5px 10px}html[data-crm-surface=mobile] body .layout-mobile .filter-summary-card small{font-size:9px}html[data-crm-surface=mobile] body .layout-mobile .filter-summary-card strong{font-size:12px}html[data-crm-surface=mobile] body .layout-mobile .search-zone{background:0 0;gap:6px;padding:0 10px 7px}html[data-crm-surface=mobile] body .layout-mobile .segmented{min-height:38px;padding:3px}html[data-crm-surface=mobile] body .layout-mobile .segmented button{height:32px;font-size:12px}html[data-crm-surface=mobile] body .layout-mobile .search-scope-switch{gap:20px;margin:0 2px}html[data-crm-surface=mobile] body .layout-mobile .search-scope-switch button{height:32px;font-size:12px}html[data-crm-surface=mobile] body .layout-mobile .entity-scroll{background:0 0;padding-top:6px;padding-bottom:74px}html[data-crm-surface=mobile] body .layout-mobile .sales-search-zone+.entity-scroll{padding-top:0}html[data-crm-surface=mobile] body .layout-mobile .transfer-notices{background:0 0;border:0}html[data-crm-surface=mobile] body .layout-mobile .stage-heading{min-height:34px;padding:5px 10px;font-size:12px}html[data-crm-surface=mobile] body .layout-mobile .stage-group,html[data-crm-surface=mobile] body .layout-mobile .stage-heading{background:var(--color-surface)}html[data-crm-surface=mobile] body .layout-mobile .stage-group{width:calc(100% - 16px);margin:0 8px 8px}html[data-crm-surface=mobile] body .layout-mobile .stage-heading small,html[data-crm-surface=mobile] body .layout-mobile .stage-heading em{font-size:10px}html[data-crm-surface=mobile] body .layout-mobile .entity-card{border-radius:7px;gap:7px;min-height:54px;margin:0 6px 4px;padding:7px 8px}html[data-crm-surface=mobile] body .layout-mobile .stage-group>.entity-card{background:var(--color-surface);width:100%;box-shadow:none;border:0;border-radius:0;margin:0}html[data-crm-surface=mobile] body .layout-mobile .stage-group>.entity-card+.entity-card:before{background:var(--color-border-subtle);content:"";height:1px;position:absolute;top:0;left:48px;right:10px}html[data-crm-surface=mobile] body .layout-mobile .stage-group>.entity-card:last-child{border-radius:0 0 8px 8px}html[data-crm-surface=mobile] body .layout-mobile .entity-scroll>.client-card{width:calc(100% - 16px);min-height:60px;margin:0 8px 4px;padding:8px}html[data-crm-surface=mobile] body .layout-mobile .card-title-row strong,html[data-crm-surface=mobile] body .layout-mobile .card-title-row b{font-size:12px;line-height:15px}html[data-crm-surface=mobile] body .layout-mobile .deal-card .card-title-row{grid-template-columns:minmax(0,1fr) 82px;align-items:center;gap:5px;display:grid}html[data-crm-surface=mobile] body .layout-mobile .deal-card .card-title-row>strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}html[data-crm-surface=mobile] body .layout-mobile .deal-card .deal-card-meta{justify-self:end;width:82px}html[data-crm-surface=mobile] body .layout-mobile .deal-card .next-line{grid-template-columns:auto 3px minmax(0,1fr) 82px}html[data-crm-surface=mobile] body .layout-mobile .deal-card .next-line-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}html[data-crm-surface=mobile] body .layout-mobile .deal-card .next-line-signals{justify-content:flex-end;width:82px;min-width:82px}html[data-crm-surface=mobile] body .layout-mobile .next-line,html[data-crm-surface=mobile] body .layout-mobile .next-line time,html[data-crm-surface=mobile] body .layout-mobile .entity-scroll>.client-card .card-body p,html[data-crm-surface=mobile] body .layout-mobile .entity-scroll>.client-card .card-body small{font-size:10px;line-height:13px}html[data-crm-surface=mobile] body .layout-mobile .deal-chat-list{gap:4px;padding:0 8px 72px}html[data-crm-surface=mobile] body .layout-mobile .deal-chat-row{border-radius:8px;gap:7px;min-height:58px;padding:7px 8px}html[data-crm-surface=mobile] body .layout-mobile .chat-row-main strong{font-size:12px;line-height:15px}html[data-crm-surface=mobile] body .layout-mobile .chat-row-meta time,html[data-crm-surface=mobile] body .layout-mobile .chat-row-main time,html[data-crm-surface=mobile] body .layout-mobile .chat-row-main p,html[data-crm-surface=mobile] body .layout-mobile .chat-row-main small{font-size:10px;line-height:13px}html[data-crm-surface=mobile] body .layout-mobile .bottom-nav{right:8px;bottom:max(5px, env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) 44px;gap:4px;height:54px;left:8px}html[data-crm-surface=mobile] body .layout-mobile .nav-switch,html[data-crm-surface=mobile] body .layout-mobile .nav-actions{border-radius:27px;height:54px}html[data-crm-surface=mobile] body .layout-mobile .nav-switch{border:1px solid var(--crm-theme-border,#fffffff5);background:var(--crm-theme-surface,#fff);padding:4px;box-shadow:0 0 0 1px #272f3a14,0 5px 14px #272f3a24,0 14px 32px #272f3a33}html[data-crm-surface=mobile] body .layout-mobile .nav-switch button,html[data-crm-surface=mobile] body .layout-mobile .nav-switch button.active{border-radius:23px;gap:0;min-width:0;height:46px;margin:0;font-size:9px}html[data-crm-surface=mobile] body .layout-mobile .nav-icon-wrap{width:20px;height:20px}html[data-crm-surface=mobile] body .layout-mobile .nav-switch button svg{width:17px;height:17px}html[data-crm-surface=mobile] body .layout-mobile .nav-actions,html[data-crm-surface=mobile] body .layout-mobile .nav-actions button{width:44px;height:44px}html[data-crm-surface=mobile] body .layout-mobile .nav-actions .nav-fab{box-shadow:0 0 0 1px #272f3a14,0 5px 14px #272f3a24,0 14px 32px #272f3a33}html[data-crm-surface=mobile] body .layout-mobile .nav-actions .nav-fab svg{width:20px;height:20px}html[data-crm-surface=mobile] body .layout-mobile .detail-header{min-height:58px;padding:max(8px, env(safe-area-inset-top)) 10px 5px}html[data-crm-surface=mobile] body .layout-mobile .detail-header h1{font-size:17px;line-height:20px}html[data-crm-surface=mobile] body .layout-mobile .detail-header small{font-size:11px;line-height:14px}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header{height:64px;min-height:64px;padding:max(8px, env(safe-area-inset-top)) 10px 4px;grid-template-columns:40px minmax(0,1fr) 40px;gap:6px}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .back-button,html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .deal-action-circle{width:40px;height:40px}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .back-button svg,html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .deal-action-circle svg{width:18px;height:18px}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .deal-title-block{border-radius:26px;height:52px;padding:5px 10px}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .deal-title-block>small,html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header.title-expanded .deal-title-block>small{font-size:11px;line-height:13px}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack{border-radius:10px;grid-template-rows:52px 34px;grid-template-columns:minmax(0,1fr) 112px;gap:6px;min-height:102px;margin:0 10px 6px;padding:5px}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-main,html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-summary{min-height:52px}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-summary{gap:6px;padding:6px 6px 6px 9px}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-main small{font-size:11px;line-height:13px}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-main p{font-size:14px;line-height:17px}html[data-crm-surface=mobile] body .layout-mobile .next-action-arrow{flex-basis:32px;width:32px;height:32px}html[data-crm-surface=mobile] body .layout-mobile .next-action-arrow svg{width:15px;height:15px}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .stage-bar,html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-date{border-radius:7px;height:34px;min-height:34px}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .stage-bar{padding:0 6px 0 9px}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .stage-bar-copy small,html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .stage-bar-copy strong{font-size:12px;line-height:15px}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-date{padding:0 5px;font-size:12px}html[data-crm-surface=mobile] body .layout-mobile :is(.deal-detail-screen,.client-detail-screen,.company-detail-screen)>.top-tabs{background:var(--crm-theme-glass,#f8fafaad);-webkit-backdrop-filter:blur(16px)saturate(1.18);backdrop-filter:blur(16px)saturate(1.18);border-radius:20px;height:36px;margin:0 10px 7px;padding:3px;box-shadow:inset 0 0 0 1px #ffffffb3,0 2px 10px #262a3014}html[data-crm-surface=mobile] body .layout-mobile :is(.deal-detail-screen,.client-detail-screen,.company-detail-screen)>.top-tabs:before,html[data-crm-surface=mobile] body .layout-mobile :is(.deal-detail-screen,.client-detail-screen,.company-detail-screen)>.top-tabs:after{display:none}html[data-crm-surface=mobile] body .layout-mobile .detail-tabs button{border-radius:18px;font-size:12px}html[data-crm-surface=mobile] body .layout-mobile .conversation-frame{background-color:var(--color-surface-hover);background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='180'%20height='180'%20viewBox='0%200%20180%20180'%3e%3cg%20fill='none'%20stroke='%23687581'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-opacity='.16'%20stroke-width='1.4'%3e%3cpath%20d='M15%2025c0-6%205-10%2011-10h12c6%200%2011%204%2011%2010v4c0%206-5%2010-11%2010h-7l-7%206%201-6c-6%200-10-4-10-10z'/%3e%3cpath%20d='M92%2016l2.4%205.4%205.6.6-4.2%203.8%201.2%205.6-5-2.9-5%202.9%201.2-5.6L84%2022l5.6-.6z'/%3e%3cpath%20d='M137%2023c8%200%2014%206%2014%2014-8%200-14-6-14-14zm0%200c-1%209-5%2015-11%2020'/%3e%3cpath%20d='M25%2091h28l7%208H18l7-8zm4%200%204-13h13l7%2013m-27%2012a7%207%200%201%200%2014%200%207%207%200%200%200-14%200zm27%200a7%207%200%201%200%2014%200%207%207%200%200%200-14%200z'/%3e%3cpath%20d='M93%2070l19%208-19%208%204-7-4-9zm4%209h-9'/%3e%3cpath%20d='M142%2079c0-5%204-9%209-9s9%204%209%209-4%209-9%209h-4l-5%204%201-5c-1-2-1-4-1-8z'/%3e%3cpath%20d='M22%20143c7-9%2017-12%2027-8-3%2011-12%2018-23%2018m0%200c6-5%2012-8%2019-10'/%3e%3cpath%20d='M78%20134h24v19H78zm5-5h14v5m-14%207h14m-14%206h9'/%3e%3cpath%20d='M138%20132l5%205%2010-11m-15%2019l5%205%2010-11'/%3e%3ccircle%20cx='118'%20cy='109'%20r='3'/%3e%3cpath%20d='M112%20109h-8m17%200h8m-11-6v-8m0%2017v8'/%3e%3cpath%20d='M62%2056c3-4%207-6%2012-6m-7%2012c2-2%204-3%207-3m0%209h.1'/%3e%3cpath%20d='M160%20161c-5-6-12-8-19-5%202%207%208%2012%2015%2012'/%3e%3c/g%3e%3c/svg%3e");background-position:top;background-repeat:repeat;background-size:180px 180px;border-radius:0;margin:-43px 0 0}html[data-crm-surface=mobile] body .layout-mobile .conversation{border-radius:0;padding:89px 10px 104px}html[data-crm-surface=mobile] body .layout-mobile .deal-client-conversation{--chat-message-gap:8px;gap:var(--chat-message-gap);background:0 0;flex-direction:column;display:flex}html[data-crm-surface=mobile] body .layout-mobile .conversation-frame>.bot-control,html[data-crm-surface=mobile] body .layout-mobile .conversation-frame>.entity-search{top:52px}html[data-crm-surface=mobile] body .layout-mobile .message{border-radius:13px 13px 13px 0;max-width:88%;margin-bottom:0;padding:6px 8px 4px;font-size:13px;line-height:17px;position:relative;overflow:visible}html[data-crm-surface=mobile] body .layout-mobile .message.me{color:var(--crm-theme-text,#4f4f56);background:var(--crm-theme-accent-surface,#ffe4d8);box-shadow:none;border:0;border-radius:13px 13px 0}html[data-crm-surface=mobile] body .layout-mobile .deal-client-conversation .message.them{background:var(--crm-theme-surface,#fff);box-shadow:none;filter:drop-shadow(0 0 .65px #dcdce0)drop-shadow(0 3px 7px #404c5414);border:0;margin-left:6px}html[data-crm-surface=mobile] body .layout-mobile .deal-client-conversation .message.me{margin-right:6px}html[data-crm-surface=mobile] body .layout-mobile .deal-client-conversation .message.ai{color:var(--crm-theme-text,#4f4f56);background:var(--crm-theme-surface-soft,#fff0e8);box-shadow:none;filter:drop-shadow(0 0 .65px #ffe4d8)drop-shadow(0 3px 7px #7348370f);border:0;border-radius:13px 13px 13px 0;margin-left:6px}html[data-crm-surface=mobile] body .layout-mobile .deal-client-conversation .message.them:after,html[data-crm-surface=mobile] body .layout-mobile .deal-client-conversation .message.ai:after,html[data-crm-surface=mobile] body .layout-mobile .deal-client-conversation .message.me:after{content:"";background-position:50%;background-repeat:no-repeat;background-size:contain;width:7px;height:17px;position:absolute;bottom:0}html[data-crm-surface=mobile] body .layout-mobile .deal-client-conversation .message.them:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='7'%20height='17'%20viewBox='0%200%207%2017'%3e%3cpath%20fill='%23FFFFFF'%20transform='translate(0%2017)%20scale(1%20-1)'%20d='M1%200h6v17c-.2-2.84-.88-5.77-2.05-8.78C4.05%205.9%202.5%203.73.32%201.74A1%201%200%200%201%201%200Z'/%3e%3c/svg%3e");left:-6px}html[data-crm-surface=mobile] body .layout-mobile .deal-client-conversation .message.ai:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='7'%20height='17'%20viewBox='0%200%207%2017'%3e%3cpath%20fill='%23FFF1EB'%20transform='translate(0%2017)%20scale(1%20-1)'%20d='M1%200h6v17c-.2-2.84-.88-5.77-2.05-8.78C4.05%205.9%202.5%203.73.32%201.74A1%201%200%200%201%201%200Z'/%3e%3c/svg%3e");left:-6px}html[data-crm-surface=mobile] body .layout-mobile .deal-client-conversation .message.me:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='7'%20height='17'%20viewBox='0%200%207%2017'%3e%3cpath%20fill='%23F2EAD7'%20transform='translate(7%2017)%20scale(-1%20-1)'%20d='M1%200h6v17c-.2-2.84-.88-5.77-2.05-8.78C4.05%205.9%202.5%203.73.32%201.74A1%201%200%200%201%201%200Z'/%3e%3c/svg%3e");right:-6px}html[data-crm-surface=mobile] body .layout-mobile .deal-client-conversation .message-author{color:#d2612b;margin-bottom:1px;font-size:10px;font-weight:750;line-height:12px;display:block}html[data-crm-surface=mobile] body .layout-mobile .message time{white-space:nowrap;margin:0;font-size:9px;line-height:11px;position:absolute;bottom:4px;right:8px}html[data-crm-surface=mobile] body .layout-mobile .deal-client-conversation .message .voice-transcription[data-expanded=true]>p:after{content:"";width:68px;height:0;display:inline-block}html[data-crm-surface=mobile] body .layout-mobile .deal-client-conversation .message:not(:has(.message-attachment.voice))>p:first-of-type:after{content:"";width:68px;height:0;display:inline-block}html[data-crm-surface=mobile] body .layout-mobile :is(.client-conversation,.company-conversation,.task-conversation) .message:not(:has(.message-attachment.voice))>p:first-of-type:after{content:"";width:68px;height:0;display:inline-block}html[data-crm-surface=mobile] body .layout-mobile .timeline-event{padding:3px 9px;font-size:10px}html[data-crm-surface=mobile] body .layout-mobile .bot-control{width:34px;height:34px;min-height:34px;color:var(--crm-theme-on-solid,#fff);background:var(--crm-theme-accent-surface,#ff9a76);border:0;border-radius:50%;justify-content:center;gap:0;padding:0;box-shadow:0 3px 12px #7c371f2e}html[data-crm-surface=mobile] body .layout-mobile .bot-control.active{color:#fff;background:#a83c16}html[data-crm-surface=mobile] body .layout-mobile .bot-chat-glyph{place-items:center;width:18px;height:18px;display:grid;position:relative}html[data-crm-surface=mobile] body .layout-mobile .bot-chat-glyph>svg{stroke-width:2px;width:18px;height:18px}html[data-crm-surface=mobile] body .layout-mobile .entity-search>button{width:34px;height:34px}html[data-crm-surface=mobile] body .layout-mobile .ai-reply-request{border-radius:10px;padding:10px}html[data-crm-surface=mobile] body .layout-mobile .ai-reply-request p{padding:9px;font-size:12px;line-height:16px}html[data-crm-surface=mobile] body .layout-mobile .composer-zone,html[data-crm-surface=mobile] body .layout-mobile .task-composer,html[data-crm-surface=mobile] body .layout-mobile .journal-composer{border-radius:10px;margin:0;bottom:4px;left:4px;right:4px}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-screen>.composer-zone{z-index:20;padding-bottom:max(4px, env(safe-area-inset-bottom));background:var(--crm-theme-glass,#f6f8f8a3);-webkit-backdrop-filter:blur(18px)saturate(1.16);backdrop-filter:blur(18px)saturate(1.16);border-radius:0;position:absolute;bottom:0;left:0;right:0;overflow:visible;box-shadow:0 -1px #ffffff9e,0 -12px 30px #262a3014}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-screen>.composer-zone .composer-box{background:var(--crm-theme-glass,#ffffffb8);-webkit-backdrop-filter:blur(12px)saturate(1.12);backdrop-filter:blur(12px)saturate(1.12)}html[data-crm-surface=mobile] body .layout-mobile .composer-toolbar{grid-template-columns:minmax(0,1fr) 34px;gap:4px;height:38px;min-height:38px;padding:3px 6px 0}html[data-crm-surface=mobile] body .layout-mobile .composer-recipient{grid-template-columns:34px minmax(0,1fr);justify-self:stretch;gap:4px;width:100%;max-width:none;min-height:34px}html[data-crm-surface=mobile] body .layout-mobile .composer-ai-toggle{width:32px;height:32px;color:var(--color-primary-text);background:var(--color-primary-softer);place-items:center;margin:0;display:grid}html[data-crm-surface=mobile] body .layout-mobile .composer-ai-toggle.active{color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text))}html[data-crm-surface=mobile] body .layout-mobile .composer-recipient .channel-badge{width:32px;height:32px;box-shadow:none;justify-self:start}html[data-crm-surface=mobile] body .layout-mobile .composer-recipient .recipient-label{text-align:center;justify-content:center;height:34px}html[data-crm-surface=mobile] body .layout-mobile .composer-recipient .recipient-contact-cluster{grid-column:2;justify-self:center;gap:4px}html[data-crm-surface=mobile] body .layout-mobile .composer-recipient .recipient-label>span{align-items:center}html[data-crm-surface=mobile] body .layout-mobile .composer-recipient .recipient-label strong{font-size:11px;line-height:13px}html[data-crm-surface=mobile] body .layout-mobile .composer-recipient .recipient-label small{font-size:9px;line-height:11px}html[data-crm-surface=mobile] body .layout-mobile .composer-recipient .recipient-phone,html[data-crm-surface=mobile] body .layout-mobile .composer-recipient .add-recipient{box-sizing:border-box;border-radius:50%;width:32px;height:32px}html[data-crm-surface=mobile] body .layout-mobile .composer-recipient .channel-badge>svg,html[data-crm-surface=mobile] body .layout-mobile .composer-recipient .recipient-phone svg,html[data-crm-surface=mobile] body .layout-mobile .composer-recipient .add-recipient svg,html[data-crm-surface=mobile] body .layout-mobile .composer-ai-toggle svg{width:17px;height:17px}html[data-crm-surface=mobile] body .layout-mobile .composer-box{border-radius:22px;grid-template-columns:30px minmax(0,1fr) 32px;gap:2px;min-height:44px;margin:4px;padding:3px}html[data-crm-surface=mobile] body .layout-mobile .composer-box.has-mobile-scheduled{grid-template-columns:30px minmax(0,1fr) 32px 32px}html[data-crm-surface=mobile] body .layout-mobile .composer-box textarea{min-height:32px;max-height:72px;padding:7px 3px 4px;font-size:13px;line-height:17px}html[data-crm-surface=mobile] body .layout-mobile .composer-box button,html[data-crm-surface=mobile] body .layout-mobile .composer-box>.mobile-voice,html[data-crm-surface=mobile] body .layout-mobile .composer-box>.mobile-send,html[data-crm-surface=mobile] body .layout-mobile .composer-box>.mobile-scheduled{width:32px!important;height:32px!important}html[data-crm-surface=mobile] body .layout-mobile .composer-box>.mobile-scheduled{color:var(--color-primary-text);background:var(--color-primary-softer);place-items:center;display:grid!important}html[data-crm-surface=mobile] body .layout-mobile .composer-box button svg{width:17px;height:17px}html[data-crm-surface=mobile] body .layout-mobile .composer-box>.mobile-send{box-shadow:0 5px 14px #ff4f2e57;background:linear-gradient(145deg,#ff7a45 0%,#e85a28 100%)!important}html[data-crm-surface=mobile] body .layout-mobile .bottom-sheet>header{min-height:48px;padding:8px 10px}html[data-crm-surface=mobile] body .layout-mobile .bottom-sheet>header h2{font-size:16px}html[data-crm-surface=mobile] body .layout-mobile .bottom-sheet>header .icon-button{width:34px;height:34px}html[data-crm-surface=mobile] body .layout-mobile .field-editor-sheet .field-edit-form{gap:12px;min-height:250px;padding-top:12px}html[data-crm-surface=mobile] body .layout-mobile .field-editor-sheet .field-edit-form input,html[data-crm-surface=mobile] body .layout-mobile .field-editor-sheet .field-edit-form select,html[data-crm-surface=mobile] body .layout-mobile .field-editor-sheet .field-edit-form textarea{border-radius:8px;min-height:44px;padding:0 11px;font-size:14px;line-height:18px}html[data-crm-surface=mobile] body .layout-mobile .field-editor-sheet .field-edit-form textarea{min-height:88px;padding-block-start:10px;padding-block-end:10px}html[data-crm-surface=mobile] body .layout-mobile .field-editor-sheet .field-edit-form .sheet-footer button{border-radius:21px;min-height:42px;font-size:13px}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header{align-items:center;height:72px;min-height:72px;padding-bottom:4px}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header.title-expanded{align-items:center}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .deal-title-block{background:var(--crm-theme-glass,#ffffffeb);border:0;border-radius:17px;grid-template-rows:minmax(0,1fr) 22px;justify-content:stretch;align-items:stretch;height:60px;min-height:60px;padding:0;display:grid}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .deal-title-block h1{align-items:center;min-height:0;padding:0 10px;display:flex}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .deal-title-button{text-align:center;justify-content:center}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .deal-title{font-size:15px;line-height:18px}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .deal-product,html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header.title-expanded .deal-product{display:none}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .deal-title-stage{width:100%;min-width:0;height:22px;color:color-mix(in srgb, var(--stage,var(--color-primary)) 72%, var(--color-text));border:0;border-top:1px solid var(--color-border);border-bottom:3px solid var(--stage,var(--color-primary));background:color-mix(in srgb, var(--stage,var(--color-primary)) 13%, var(--crm-theme-surface,#fff));border-radius:0 0 17px 17px;justify-content:center;align-items:center;gap:3px;padding:0 8px;display:flex;overflow:hidden}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .deal-title-stage strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:10px;font-weight:750;line-height:13px;overflow:hidden}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .deal-title-stage svg{flex:none;width:11px;height:11px}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack{grid-template-rows:62px;grid-template-columns:minmax(0,1fr) 62px;gap:5px;min-height:70px;margin:0 10px 6px;padding:4px}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack>.deal-status-stage{display:none}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-main{background:var(--color-surface);border:1px solid #171719;border-radius:9px;grid-area:1/1;min-height:62px;overflow:hidden}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-summary{gap:0;min-height:62px;padding:5px 8px 6px}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-summary>span{flex-direction:column;justify-content:center;align-self:stretch;width:100%;min-width:0;display:flex}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-main small{color:var(--crm-theme-muted,#66666e);font-size:9px;line-height:10px}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-main p{color:var(--crm-theme-text,#171719);text-overflow:ellipsis;white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin-top:1px;font-size:12px;line-height:14px;display:-webkit-box;overflow:hidden}html[data-crm-surface=mobile] body .layout-mobile .next-action-checklist-preview{min-width:0;margin:1px 0 0;padding-left:16px;list-style:decimal}html[data-crm-surface=mobile] body .layout-mobile .next-action-checklist-preview li{min-width:0;height:13px;color:var(--crm-theme-text,#171719);padding-left:2px;font-size:10px;line-height:13px}html[data-crm-surface=mobile] body .layout-mobile .next-action-checklist-preview li::marker{font-size:9px;font-weight:750}html[data-crm-surface=mobile] body .layout-mobile .next-action-checklist-preview li>span{vertical-align:bottom;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;font-weight:650;display:inline-block;overflow:hidden}html[data-crm-surface=mobile] body .layout-mobile .next-action-checklist-preview li>i{color:var(--crm-theme-muted,#9697a0);font-size:8px;font-style:normal}html[data-crm-surface=mobile] body .layout-mobile .next-action-checklist-preview li>time{color:var(--crm-theme-muted,#66666e);white-space:nowrap;font-size:8px;font-weight:650}html[data-crm-surface=mobile] body .layout-mobile .next-action-checklist-preview li.done>span{color:var(--crm-theme-muted,#9697a0);text-decoration:line-through}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-date{color:#fff;background:#171719;border:1px solid #171719;border-radius:9px;flex-direction:column;grid-area:1/2;justify-content:center;align-self:center;align-items:stretch;width:62px;min-width:62px;height:48px;min-height:48px;padding:0;font-size:10px;line-height:13px;display:flex;overflow:hidden}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-date.split span{white-space:nowrap;place-items:center;min-height:23px;display:grid}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-date.split span+span{border-top:1px solid var(--crm-theme-border,#ffffff4d)}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-date strong{white-space:nowrap;font-size:10px;line-height:13px}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-date svg{align-self:center}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .deal-title-stage{color:var(--color-text-secondary);border-top-color:var(--color-border);border-bottom-color:var(--stage,var(--color-primary));background:var(--color-surface);box-shadow:none}html[data-crm-surface=mobile] body .layout-mobile .deal-client-conversation .message.me{color:var(--crm-theme-text,#4f4f56);background:var(--crm-theme-accent-surface,#ffe4d8);box-shadow:none;filter:drop-shadow(0 0 .65px #f6bba4)drop-shadow(0 3px 7px #69582f14);border:0}html[data-crm-surface=mobile] body .layout-mobile .deal-call-timeline{gap:var(--chat-message-gap);width:100%;margin:0;display:grid}html[data-crm-surface=mobile] body .layout-mobile .deal-call-card{background:var(--crm-theme-surface,#fff);width:min(230px,78%);min-height:54px;box-shadow:none;filter:drop-shadow(0 0 .65px #dcdce0)drop-shadow(0 3px 7px #404c5414);border:0;margin-bottom:0;position:relative;overflow:visible}html[data-crm-surface=mobile] body .layout-mobile .deal-call-card.incoming,html[data-crm-surface=mobile] body .layout-mobile .deal-call-card.missed{border-radius:13px 13px 13px 0;margin-left:6px;margin-right:auto}html[data-crm-surface=mobile] body .layout-mobile .deal-call-card.outgoing{background:var(--crm-theme-accent-surface,#ffe4d8);filter:drop-shadow(0 0 .65px #f6bba4)drop-shadow(0 3px 7px #69582f14);border-radius:13px 13px 0;margin-left:auto;margin-right:6px}html[data-crm-surface=mobile] body .layout-mobile .deal-call-card:after{content:"";background-position:50%;background-repeat:no-repeat;background-size:contain;width:7px;height:17px;position:absolute;bottom:0}html[data-crm-surface=mobile] body .layout-mobile .deal-call-card.incoming:after,html[data-crm-surface=mobile] body .layout-mobile .deal-call-card.missed:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='7'%20height='17'%20viewBox='0%200%207%2017'%3e%3cpath%20fill='%23FFFFFF'%20transform='translate(0%2017)%20scale(1%20-1)'%20d='M1%200h6v17c-.2-2.84-.88-5.77-2.05-8.78C4.05%205.9%202.5%203.73.32%201.74A1%201%200%200%201%201%200Z'/%3e%3c/svg%3e");left:-6px}html[data-crm-surface=mobile] body .layout-mobile .deal-call-card.outgoing:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='7'%20height='17'%20viewBox='0%200%207%2017'%3e%3cpath%20fill='%23F2EAD7'%20transform='translate(7%2017)%20scale(-1%20-1)'%20d='M1%200h6v17c-.2-2.84-.88-5.77-2.05-8.78C4.05%205.9%202.5%203.73.32%201.74A1%201%200%200%201%201%200Z'/%3e%3c/svg%3e");right:-6px}html[data-crm-surface=mobile] body .layout-mobile .deal-call-summary{text-align:left;grid-template-columns:minmax(0,1fr) 30px;align-items:center;gap:7px;min-height:54px;padding:7px 8px 6px 10px;display:grid;position:relative}html[data-crm-surface=mobile] body .layout-mobile .deal-call-copy{flex-direction:column;gap:3px;min-width:0;display:flex}html[data-crm-surface=mobile] body .layout-mobile .deal-call-copy strong{color:var(--crm-theme-text,#171719);text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:16px;overflow:hidden}html[data-crm-surface=mobile] body .layout-mobile .deal-call-copy small{color:var(--color-primary-strong);font-size:10px;font-weight:650;line-height:13px}html[data-crm-surface=mobile] body .layout-mobile .deal-call-card.missed .deal-call-copy small{color:#d2612b}html[data-crm-surface=mobile] body .layout-mobile .deal-call-icon{width:30px;height:30px;color:var(--color-primary-strong);background:var(--crm-theme-glass,#ffffff94);border-radius:50%;place-items:center;display:grid}html[data-crm-surface=mobile] body .layout-mobile .deal-call-card.missed .deal-call-icon{color:#f86b37}html[data-crm-surface=mobile] body .layout-mobile .call-transcript-toggle{width:28px;height:17px;color:var(--crm-theme-muted,#66666e);background:var(--crm-theme-glass,#ffffffb3);border:0;border-radius:9px;justify-content:center;align-items:center;gap:1px;padding:0;display:flex;position:absolute;bottom:5px;right:37px}html[data-crm-surface=mobile] body .layout-mobile .call-transcript-toggle[aria-expanded=true] svg:last-child{transform:rotate(180deg)}html[data-crm-surface=mobile] body .layout-mobile .deal-call-body{background:0 0;border-top:1px solid #69675f24;margin:0 8px 7px 10px;padding:6px 0 0}html[data-crm-surface=mobile] body .layout-mobile .deal-call-body p{color:var(--crm-theme-text,#4f4f56);margin:0;padding:0;font-size:10px;line-height:14px}html[data-crm-surface=mobile] body .layout-mobile .deal-call-body audio{width:100%;height:28px;margin-top:5px}html[data-crm-surface=mobile] body .layout-mobile .message:has(.message-attachment.voice){width:min(330px,94%);padding:11px 13px 9px}html[data-crm-surface=mobile] body .layout-mobile .message:has(.message-attachment.voice)>p:not(:empty){color:var(--color-text-secondary);margin:4px 0 8px;font-size:12px;font-weight:600;line-height:16px}html[data-crm-surface=mobile] body .layout-mobile .message>p:empty{display:none}html[data-crm-surface=mobile] body .layout-mobile .message-attachment.voice{background:0 0;border:0;margin:0;padding:0}html[data-crm-surface=mobile] body .layout-mobile .deal-client-conversation>.timeline-event,html[data-crm-surface=mobile] body .layout-mobile .deal-client-conversation>.ai-reply-request{margin-top:0;margin-bottom:0}html[data-crm-surface=mobile] body .layout-mobile :is(.deal-detail-screen,.client-detail-screen,.company-detail-screen,.task-detail-screen){background-color:var(--color-surface-hover);background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='180'%20height='180'%20viewBox='0%200%20180%20180'%3e%3cg%20fill='none'%20stroke='%23687581'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-opacity='.16'%20stroke-width='1.4'%3e%3cpath%20d='M15%2025c0-6%205-10%2011-10h12c6%200%2011%204%2011%2010v4c0%206-5%2010-11%2010h-7l-7%206%201-6c-6%200-10-4-10-10z'/%3e%3cpath%20d='M92%2016l2.4%205.4%205.6.6-4.2%203.8%201.2%205.6-5-2.9-5%202.9%201.2-5.6L84%2022l5.6-.6z'/%3e%3cpath%20d='M137%2023c8%200%2014%206%2014%2014-8%200-14-6-14-14zm0%200c-1%209-5%2015-11%2020'/%3e%3cpath%20d='M25%2091h28l7%208H18l7-8zm4%200%204-13h13l7%2013m-27%2012a7%207%200%201%200%2014%200%207%207%200%200%200-14%200zm27%200a7%207%200%201%200%2014%200%207%207%200%200%200-14%200z'/%3e%3cpath%20d='M93%2070l19%208-19%208%204-7-4-9zm4%209h-9'/%3e%3cpath%20d='M142%2079c0-5%204-9%209-9s9%204%209%209-4%209-9%209h-4l-5%204%201-5c-1-2-1-4-1-8z'/%3e%3cpath%20d='M22%20143c7-9%2017-12%2027-8-3%2011-12%2018-23%2018m0%200c6-5%2012-8%2019-10'/%3e%3cpath%20d='M78%20134h24v19H78zm5-5h14v5m-14%207h14m-14%206h9'/%3e%3cpath%20d='M138%20132l5%205%2010-11m-15%2019l5%205%2010-11'/%3e%3ccircle%20cx='118'%20cy='109'%20r='3'/%3e%3cpath%20d='M112%20109h-8m17%200h8m-11-6v-8m0%2017v8'/%3e%3cpath%20d='M62%2056c3-4%207-6%2012-6m-7%2012c2-2%204-3%207-3m0%209h.1'/%3e%3cpath%20d='M160%20161c-5-6-12-8-19-5%202%207%208%2012%2015%2012'/%3e%3c/g%3e%3c/svg%3e");background-position:top;background-repeat:repeat;background-size:180px 180px}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header{z-index:17;background:0 0;position:relative}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .deal-title-block,html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .back-button,html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .deal-action-circle{background:var(--crm-theme-glass,#ffffffd1);-webkit-backdrop-filter:blur(14px)saturate(1.12);backdrop-filter:blur(14px)saturate(1.12)}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack{z-index:16;background:var(--crm-theme-glass,#ffffffad);-webkit-backdrop-filter:blur(14px)saturate(1.12);backdrop-filter:blur(14px)saturate(1.12);position:relative;box-shadow:inset 0 0 0 1px #ffffff85,0 2px 10px #262a300f}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-main,html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-date{-webkit-backdrop-filter:blur(10px)saturate(1.08);backdrop-filter:blur(10px)saturate(1.08)}html[data-crm-surface=mobile] body .layout-mobile :is(.deal-detail-screen,.client-detail-screen,.company-detail-screen,.task-detail-screen)>.top-tabs{z-index:18}html[data-crm-surface=mobile] body .layout-mobile :is(.deal-detail-screen,.client-detail-screen,.task-detail-screen)>.tab-content-wrap{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;margin-top:-43px;padding-top:43px}html[data-crm-surface=mobile] body .layout-mobile :is(.deal-detail-screen,.client-detail-screen,.task-detail-screen)>.tab-content-wrap .detail-content,html[data-crm-surface=mobile] body .layout-mobile :is(.deal-detail-screen,.client-detail-screen,.task-detail-screen)>.tab-content-wrap .history-search-frame,html[data-crm-surface=mobile] body .layout-mobile .company-detail-screen>.company-detail-content,html[data-crm-surface=mobile] body .layout-mobile .deal-team-feed,html[data-crm-surface=mobile] body .layout-mobile .journal-scroll{background:0 0}html[data-crm-surface=mobile] body .layout-mobile .conversation-frame{background-color:#0000}html[data-crm-surface=mobile] body .layout-mobile :is(.client-conversation,.company-conversation,.task-conversation){background:0 0}html[data-crm-surface=mobile] body .layout-mobile :is(.client-title-block,.company-title-block,.task-title-block) h1{justify-content:center;position:relative}html[data-crm-surface=mobile] body .layout-mobile :is(.client-title-block,.company-title-block,.task-title-block) .deal-title-avatar{z-index:1;position:absolute;top:50%;left:10px;transform:translateY(-50%)}html[data-crm-surface=mobile] body .layout-mobile :is(.client-title-block,.company-title-block,.task-title-block) .deal-title-button{text-align:center;width:100%;padding:0 42px;justify-content:center!important}html[data-crm-surface=mobile] body .layout-mobile :is(.client-title-block,.company-title-block,.task-title-block) .deal-title{flex:0 auto}html[data-crm-surface=mobile] body .layout-mobile .deal-tasks-room{background:0 0}html[data-crm-surface=mobile] body .layout-mobile .team-chat-header,html[data-crm-surface=mobile] body .layout-mobile .deal-tasks-room>.task-composer{background:var(--crm-theme-glass,#ffffffd6);-webkit-backdrop-filter:blur(14px)saturate(1.1);backdrop-filter:blur(14px)saturate(1.1)}html[data-crm-surface=mobile] body .layout-mobile .entity-journal{background:0 0}html[data-crm-surface=mobile] body .layout-mobile .journal-switch,html[data-crm-surface=mobile] body .layout-mobile .journal-composer{background:var(--crm-theme-glass,#ffffffd1);-webkit-backdrop-filter:blur(14px)saturate(1.1);backdrop-filter:blur(14px)saturate(1.1)}}.deal-detail-header :is(.client-title-company,.company-title-type){color:var(--color-text-secondary);border-bottom-color:var(--color-border);background:var(--color-surface);box-shadow:none}@media (max-width:767px){html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header :is(.client-title-company,.company-title-type){color:var(--color-text-secondary);border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border);background:var(--color-surface)}html[data-crm-surface=mobile] body .layout-mobile .task-detail-header.deal-detail-header{grid-template-columns:40px minmax(0,1fr) 86px}html[data-crm-surface=mobile] body .layout-mobile .task-header-actions{place-self:center end;position:static}html[data-crm-surface=mobile] body .layout-mobile .task-header-actions .deal-action-circle{width:40px;min-width:40px;height:40px}html[data-crm-surface=mobile] body .layout-mobile .task-title-block .deal-title-button{padding:0 8px}html[data-crm-surface=mobile] body .layout-mobile .task-detail-screen>.top-tabs{background:var(--crm-theme-glass,#f8fafaad);-webkit-backdrop-filter:blur(16px)saturate(1.18);backdrop-filter:blur(16px)saturate(1.18);border:0;border-radius:20px;height:36px;margin:0 10px 7px;padding:3px;box-shadow:inset 0 0 0 1px #ffffffb3,0 2px 10px #262a3014}html[data-crm-surface=mobile] body .layout-mobile .task-detail-screen>.top-tabs:before,html[data-crm-surface=mobile] body .layout-mobile .task-detail-screen>.top-tabs:after{display:none}html[data-crm-surface=mobile] body .layout-mobile .task-detail-screen>.tab-content-wrap{margin-top:0;padding-top:0}html[data-crm-surface=mobile] body .layout-mobile .task-relations .task-link-picker{max-height:min(440px,100dvh - 250px);overflow:auto}}.task-detail-header.deal-detail-header .task-title-meta,html[data-crm-surface=mobile] body .layout-mobile .task-detail-header.deal-detail-header .task-title-meta{box-shadow:none;border-bottom:0!important}@media (max-width:760px){html[data-crm-surface=mobile] body .layout-mobile .deal-detail-screen>.deal-detail-header .deal-title-block h1{position:relative}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-screen>.deal-detail-header .deal-title-avatar{z-index:1;position:absolute;top:50%;left:10px;transform:translateY(-50%)}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-screen>.deal-detail-header .deal-title-button{text-align:center;justify-content:center;width:100%;padding-inline-start:42px;padding-inline-end:42px}html[data-crm-surface=mobile] body .layout-mobile .deal-card .next-line-signals{box-sizing:border-box;padding-right:16px;overflow:visible}html[data-crm-surface=mobile] body .layout-mobile .deal-card .deal-budget{gap:7px}html[data-crm-surface=mobile] body .layout-mobile .deal-card .deal-budget-mark{width:14px;height:14px}html[data-crm-surface=mobile] body .layout-mobile .deal-card .deal-budget-mark svg{width:8px;height:8px}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack{background:var(--crm-theme-glass,#ffffffeb);min-height:48px;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:10px;grid-template-rows:40px;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:0 12px 8px;padding:4px 8px 4px 12px}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-main{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;min-height:40px;overflow:hidden}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-summary{cursor:pointer;align-self:stretch;width:100%;height:100%;min-height:40px;padding:0}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-summary>span{align-self:auto;display:block}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-main small{display:none}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-main p{color:var(--color-text);text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal;-webkit-line-clamp:unset;margin:0;font-size:12px;font-weight:600;line-height:14px;display:block;overflow:hidden}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-date{width:auto;min-width:69px;height:24px;min-height:24px;color:var(--color-next-action-accent);background:var(--color-next-action-accent-soft);white-space:nowrap;-webkit-backdrop-filter:none;backdrop-filter:none;border:0;border-radius:4px;flex-direction:row;grid-area:1/2;align-self:center;align-items:center;gap:3px;padding:4px 10px;font-size:12px;font-weight:700;line-height:16px;overflow:hidden}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-date.split span{min-height:0;display:inline}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-date.split span+span{border-top:0}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-date strong,html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack .next-action-date svg{color:inherit;font-size:12px;line-height:16px}html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack:has(.next-action-checklist-preview){grid-template-rows:62px;min-height:70px}:is(html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack:has(.next-action-checklist-preview) .next-action-main,html[data-crm-surface=mobile] body .layout-mobile .deal-status-stack:has(.next-action-checklist-preview) .next-action-summary){height:100%;min-height:62px}html[data-crm-surface=mobile] body .layout-mobile .detail-screen>.detail-header,html[data-crm-surface=mobile] body .layout-mobile .detail-screen>.deal-work-context,html[data-crm-surface=mobile] body .layout-mobile .detail-screen>.deal-status-stack,html[data-crm-surface=mobile] body .layout-mobile .detail-screen>.top-tabs{transition:height .18s var(--ease-standard), min-height .18s var(--ease-standard), margin .18s var(--ease-standard), padding .18s var(--ease-standard), opacity .14s ease, transform .18s var(--ease-standard)}html.keyboard-open[data-crm-surface=mobile] body #root{height:var(--app-visual-viewport-height,100dvh);min-height:0}html.keyboard-open[data-crm-surface=mobile] body .app-shell.layout-mobile{height:100%;min-height:0}html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .detail-screen>.detail-header,html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .detail-screen>.deal-work-context,html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .detail-screen>.deal-status-stack,html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .detail-screen>.top-tabs{opacity:0;pointer-events:none;transform:translateY(-12px);border-width:0!important;flex:0 0 0!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .detail-screen>.top-tabs:before,html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .detail-screen>.top-tabs:after{display:none!important}html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .detail-screen>.conversation-frame,html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .detail-screen>.tab-content-wrap,html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .detail-screen>.company-detail-content{margin-top:0!important;padding-top:0!important}html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .conversation-frame>.bot-control,html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .conversation-frame>.entity-search{visibility:hidden;opacity:0;pointer-events:none}html.keyboard-open[data-crm-surface=mobile] body .layout-mobile .conversation-frame>.conversation{padding-top:10px}}html[data-crm-surface=mobile] body .layout-mobile .task-composer .composer-recipient.task-recipient{grid-template-columns:minmax(0,1fr) 32px;justify-self:center;gap:2px;width:min(300px,100%)}html[data-crm-surface=mobile] body .layout-mobile .task-composer .task-recipient .task-add-chat{width:32px;height:32px;color:var(--crm-theme-on-solid,#fff);background:var(--color-primary);border:0;display:grid}html[data-crm-surface=mobile] body .layout-mobile .task-composer .task-recipient .recipient-label{justify-content:center;gap:6px;display:flex}html[data-crm-surface=mobile] body .layout-mobile .task-composer .composer-toolbar{grid-template-columns:auto minmax(0,1fr) 36px;gap:6px}html[data-crm-surface=mobile] body .layout-mobile .task-composer .task-chat-switcher{bottom:calc(100% + 14px)}html[data-crm-surface=mobile] body .layout-mobile .task-detail-screen :is(.task-chat-directory,.task-chat-builder){min-height:calc(100% - 43px);margin-top:43px}html[data-crm-surface=mobile] body .layout-mobile .task-chat-directory>header{padding-right:34px}html[data-crm-surface=mobile] body .layout-mobile .task-conversation .message.pinned-agenda{padding-top:25px}html[data-crm-surface=mobile] body .layout-mobile .group-dialog-filter{max-width:calc(100% - 72px);top:52px;left:10px;right:auto}html[data-crm-surface=mobile] body .layout-mobile .conversation-frame:has(.group-dialog-filter) .client-conversation{padding-top:127px}html[data-crm-surface=mobile] body .layout-mobile .message-avatar-row{gap:6px;margin-bottom:8px}html[data-crm-surface=mobile] body .layout-mobile .message-avatar-content{max-width:calc(100% - 36px)}html[data-crm-surface=mobile] body .layout-mobile .message-contact-avatar{flex-basis:28px;width:28px;height:28px}.tractor-avatar-svg{width:100%;height:100%;display:block}.deal-detail-header{grid-template-columns:auto minmax(0,1fr) auto}.company-entity-header{grid-template-columns:auto auto minmax(0,1fr) auto}.tractor-avatar-button{background:#eee;border:0;border-radius:50%;flex:none;width:44px;height:44px;padding:0;position:relative;overflow:visible;box-shadow:0 1px 3px #1f272a24}.tractor-avatar-button:after{border-radius:inherit;content:"";pointer-events:none;border:1px solid #dcdce0;position:absolute;top:0;bottom:0;left:0;right:0}.tractor-avatar-button:hover{box-shadow:0 2px 7px #1f272a2e}.tractor-avatar-edit-mark{color:#fff;background:#4f4f56;border:2px solid #fff;border-radius:50%;place-items:center;width:15px;height:15px;display:grid;position:absolute;bottom:-1px;right:-1px}.deal-title-block h1{align-items:center;gap:6px;display:flex}.deal-title-block h1>.deal-title-avatar{flex:0 0 28px;width:28px;height:28px;box-shadow:0 2px 6px #232f2a21}.deal-title-block h1>.deal-title-avatar .tractor-avatar-edit-mark{display:none}.deal-title-block h1>.deal-title-button{flex:1;width:auto;min-width:0}.profile-card .profile-user-tractor{flex:0 0 48px;width:48px;height:48px}.profile-card .profile-user-tractor .tractor-avatar-edit-mark{width:18px;height:18px}.profile-avatar-choices{flex:none;align-items:flex-start;flex-direction:row!important;gap:8px!important;display:flex!important}.profile-avatar-choices>span{flex-direction:column;align-items:center;gap:3px;display:flex}.profile-avatar-choices>span>small{color:var(--muted);margin:0;font-size:8px}.profile-photo-choice{width:48px;height:48px;color:var(--muted);background:#ebebeb;border:1px dashed #b8b9bf;border-radius:50%;place-items:center;padding:0;display:grid;overflow:hidden}.profile-photo-choice img{object-fit:cover;width:100%;height:100%}.avatar-button .tractor-avatar-svg,.rail-avatar .tractor-avatar-svg{width:100%;height:100%}.avatar-button img,.rail-avatar img{border-radius:inherit;object-fit:cover;width:100%;height:100%}:is(.avatar-button span:has(.tractor-avatar-svg),.rail-avatar span:has(.tractor-avatar-svg)){background:0 0;padding:0;overflow:hidden}.tractor-editor-backdrop{z-index:240;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#1c22246b;place-items:center;padding:18px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.tractor-editor{background:#fff;border:1px solid #dcdce0;border-radius:16px;flex-direction:column;width:min(520px,100%);max-height:min(760px,100dvh - 30px);display:flex;overflow:hidden;box-shadow:0 24px 70px #181e203d}.tractor-editor>header{justify-content:space-between;align-items:flex-start;padding:20px 20px 12px;display:flex}.tractor-editor>header small{color:#66666e;letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:5px;font-size:10px;font-weight:800;display:flex}.tractor-editor>header h2{font:800 22px var(--font-display);margin:5px 0 1px}.tractor-editor>header p{color:#9697a0;margin:0;font-size:11px}.tractor-editor>header>button{color:#66666e;background:#f3f3f3;border:1px solid #dcdce0;border-radius:50%;place-items:center;width:34px;height:34px;padding:0;display:grid}.tractor-editor-preview{background:linear-gradient(#f7f7f7,#eee);border-block-start:1px solid #ebebeb;border-block-end:1px solid #ebebeb;place-items:center;gap:4px;min-height:164px;padding:10px 20px 15px;display:grid}.tractor-editor-preview>svg{filter:drop-shadow(0 7px 9px #232b2e1f);width:128px;height:128px}.tractor-editor-preview>button{color:#4f4f56;background:#fff;border:1px solid #dcdce0;border-radius:8px;align-items:center;gap:6px;padding:7px 11px;font-size:10px;font-weight:700;display:flex}.tractor-editor-controls{gap:15px;min-height:0;padding:17px 20px 22px;display:grid;overflow-y:auto}.tractor-trait{border:0;min-width:0;margin:0;padding:0}.tractor-trait legend{color:#4f4f56;margin-bottom:8px;font-size:11px;font-weight:800}.tractor-trait>div{flex-wrap:wrap;gap:7px;display:flex}.tractor-trait button{color:#66666e;background:#f7f7f7;border:1px solid #dcdce0;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:32px;padding:0 10px;font-size:9px;display:flex;position:relative}.tractor-trait button.selected{color:var(--color-text);border-color:var(--color-text-muted);background:var(--color-surface-hover);box-shadow:inset 0 0 0 1px var(--color-text-muted)}.tractor-trait-body_color button,.tractor-trait-background button{border-radius:50%;width:30px;min-height:30px;padding:3px}.tractor-trait-body_color button>i,.tractor-trait-background button>i{border:1px solid #272d2a29;border-radius:50%;width:100%;height:100%}.tractor-trait-body_color button>svg,.tractor-trait-background button>svg{color:#fff;filter:drop-shadow(0 1px 2px #00000073);position:absolute}.tractor-editor>footer{padding:13px 20px max(13px, env(safe-area-inset-bottom));background:#f7f7f7;border-top:1px solid #dcdce0;justify-content:flex-end;gap:9px;display:flex}.tractor-editor>footer button{border-radius:12px;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:0 16px;font-size:10px;font-weight:800;display:flex}.tractor-editor>footer .secondary{color:#66666e;background:#fff;border:1px solid #dcdce0}.tractor-editor>footer .primary{color:#fff;background:#4f4f56;border:1px solid #4f4f56}.entity-avatar .tractor-avatar-svg,.chat-avatar .tractor-avatar-svg{width:100%;height:100%}.entity-avatar.tractor,.chat-avatar.tractor{background:0 0;border:0;padding:0;overflow:hidden}@media (max-width:760px){.tractor-editor-backdrop{place-items:end center;padding:0}.tractor-editor{border-radius:16px 16px 0 0;width:100%;max-height:min(88dvh,760px)}.tractor-editor-preview{grid-template-columns:118px auto;min-height:145px}.tractor-editor-preview>svg{width:112px;height:112px}.tractor-editor-controls{padding:14px 16px 20px}.tractor-editor>footer{justify-content:stretch}.tractor-editor>footer button{flex:1}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header{grid-template-columns:auto minmax(0,1fr) auto;gap:8px}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .deal-title-avatar{flex-basis:27px;width:27px;height:27px}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .deal-title-block h1{gap:6px;padding-left:9px;padding-right:10px}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-header .deal-title-button{text-align:left;justify-content:flex-start}}:root{--bg:#f3f3f3;--surface:#fff;--ink:#171719;--muted:#66666e;--line:#ebebeb;--accent:#f86b37;--accent-soft:#fff0e8;--danger:#d2612b;--danger-soft:#fff0e8;color:var(--ink);background:var(--bg);font-family:Segoe UI,Arial,sans-serif}*{box-sizing:border-box}body{background:var(--bg);min-height:100vh;margin:0}button,input{font:inherit}.test-index-page{background:var(--crm-theme-surface-soft,#f7f7f7);min-height:100vh;color:var(--crm-theme-text,#171719);padding:32px}.test-index-header,.test-index-section{max-width:1040px;margin:0 auto 24px}.test-index-header h1{margin:0 0 8px;font-size:32px;line-height:1.1}.test-index-header p{color:var(--crm-theme-muted,#66666e);margin:0}.test-index-section h2{text-transform:uppercase;color:var(--crm-theme-text,#4f4f56);margin:0 0 12px;font-size:18px}.test-index-list{gap:10px;display:grid}.test-index-link{border:1px solid var(--crm-theme-border,#ebebeb);background:var(--crm-theme-surface,#fff);color:inherit;border-radius:8px;justify-content:space-between;gap:16px;padding:14px 16px;text-decoration:none;display:flex}.test-index-link:hover{border-color:var(--crm-theme-border,#f86b37)}.test-index-link span{gap:4px;min-width:0;display:grid}.test-index-link strong{font-size:15px}.test-index-link small{color:var(--crm-theme-text,#4f4f56);overflow-wrap:anywhere}.test-index-link em{color:var(--crm-theme-muted,#66666e);font-style:normal}.test-index-link b{border:1px solid var(--crm-theme-border,#dcdce0);color:var(--crm-theme-text,#4f4f56);border-radius:999px;align-self:start;padding:3px 8px;font-size:12px;font-weight:600}.privacy-page{background:var(--crm-theme-surface-soft,#f3f3f3);min-height:100vh;color:var(--crm-theme-text,#171719);padding:40px 20px}.privacy-document{border:1px solid var(--crm-theme-border,#ebebeb);background:var(--crm-theme-surface,#fff);width:min(920px,100%);margin:0 auto;padding:40px}.privacy-document header{border-bottom:1px solid var(--crm-theme-border,#ebebeb);margin-bottom:28px;padding-bottom:20px}.privacy-kicker{color:var(--accent);letter-spacing:0;text-transform:uppercase;margin:0 0 8px;font-size:13px;font-weight:700}.privacy-document h1{margin:0 0 10px;font-size:34px;line-height:1.15}.privacy-document h2{margin:26px 0 10px;font-size:19px;line-height:1.3}.privacy-document p{color:var(--crm-theme-text,#4f4f56);margin:0;font-size:16px;line-height:1.65}.privacy-document a{color:var(--accent);font-weight:600}@media (max-width:640px){.privacy-page{padding:16px}.privacy-document{padding:24px}.privacy-document h1{font-size:28px}}.page-loading{min-height:100vh;color:var(--muted);place-items:center;display:grid}.page-loading a{color:var(--accent)}.app-error-screen{place-items:center;min-height:100vh;padding:24px;display:grid}.app-error-card{background:var(--surface);border:1px solid var(--danger);width:100%;max-width:720px;padding:28px;box-shadow:0 12px 32px #1f243014}.app-error-label{color:var(--danger);margin-bottom:10px;font-weight:700}.app-error-card h1{margin:0 0 12px;font-size:1.6rem}.app-error-card p{color:var(--muted);margin:0 0 16px}.app-error-message{border:1px solid var(--line);background:var(--crm-theme-danger-surface,#fff);white-space:pre-wrap;margin:0 0 20px;padding:14px;overflow:auto}.login-page{place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:var(--surface);border:1px solid var(--line);width:100%;max-width:420px;padding:28px}.login-brand{color:var(--accent);margin-bottom:12px;font-weight:700}.login-card h1{margin:0 0 8px;font-size:1.6rem}.login-subtitle{color:var(--muted);margin:0 0 20px}.login-form{gap:16px;display:grid}.field{gap:6px;display:grid}.field span{color:var(--muted);font-size:.92rem}.field input{border:1px solid var(--line);background:var(--crm-theme-surface,#fff);padding:10px 12px}.form-error{background:var(--danger-soft);color:var(--danger);padding:10px 12px;font-size:.92rem}.button{border:1px solid var(--line);cursor:pointer;background:var(--crm-theme-surface,#fff);padding:10px 14px}.button-primary{background:var(--accent);border-color:var(--accent);color:var(--crm-theme-on-solid,#fff)}.button-primary:disabled{opacity:.6;cursor:not-allowed}.button-secondary{background:var(--crm-theme-surface,#fff)}.portal-layout{min-height:100vh}.portal-shell{grid-template-rows:auto 1fr;min-height:100vh;display:grid}.portal-header-bar{background:var(--surface);border-bottom:1px solid var(--line);align-items:center;gap:20px;padding:12px 24px;display:flex}.portal-header-brand{color:var(--accent);white-space:nowrap;font-size:1.05rem;font-weight:700}.portal-nav{flex-wrap:wrap;gap:6px;display:flex}.portal-nav-header{flex:1;min-width:0}.portal-nav-item{cursor:pointer;color:var(--ink);white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:4px;padding:8px 12px;text-decoration:none;display:inline-block}.portal-nav-item:hover{background:var(--accent-soft)}.portal-nav-item.is-active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent);font-weight:600}.portal-content{padding:24px;overflow:auto}.portal-page{max-width:1440px}.portal-page-blocks{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.portal-page-blocks>.sd-report-card-wide{grid-column:1/-1}@media (max-width:900px){.portal-page-blocks{grid-template-columns:1fr}}.portal-bullets{margin:0;padding-left:18px;line-height:1.5}.portal-bullets li{margin-bottom:8px}.portal-tree{gap:12px;margin-top:12px;display:grid}.portal-tree-root,.portal-tree-node{border:1px solid var(--line);background:var(--crm-theme-surface-soft,#f7f7f7);padding:10px 12px;font-weight:600}.portal-tree-root{text-align:center}.portal-tree-branch{border-left:2px solid var(--line);gap:8px;padding-left:16px;display:grid}.portal-tree-leaves{flex-wrap:wrap;gap:8px;display:flex}.portal-tree-leaves span{border:1px solid var(--line);background:var(--crm-theme-surface,#fff);padding:6px 10px;font-size:.88rem}.portal-table{border-collapse:separate;border-spacing:0;width:100%;font-size:.9rem;line-height:1.5}.portal-table th,.portal-table td{text-align:left;vertical-align:middle;border-bottom:1px solid var(--line);padding:14px 18px}.portal-table thead tr:first-child th{background:var(--crm-theme-surface-soft,#f3f3f3);color:var(--crm-theme-text,#4f4f56);text-transform:uppercase;letter-spacing:.04em;font-size:.78rem;font-weight:600}.portal-chips{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.portal-chip{border:1px solid var(--line);background:var(--crm-theme-surface-soft,#f7f7f7);padding:6px 10px;font-size:.85rem}.admin-page{background:var(--crm-theme-surface-soft,#f3f3f3);min-height:100vh;color:var(--ink);padding:28px 28px 56px}html[data-portal-route=admin] body,html[data-portal-route=auth] body{background:var(--crm-theme-surface-soft,#f3f3f3);overflow:hidden auto}html[data-portal-route=admin] #root,html[data-portal-route=auth] #root{height:auto;min-height:100%}.admin-page .button{white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:6px;font-size:.9rem;font-weight:600;line-height:1.2;text-decoration:none;display:inline-flex}.admin-page a.button{text-decoration:none}.admin-page .button:disabled{opacity:.55;cursor:not-allowed}.admin-denied{place-items:center;display:grid}.admin-header{justify-content:space-between;align-items:center;gap:16px;max-width:1280px;margin:0 auto 20px;display:flex}.admin-header h1,.admin-panel h2{margin:0}.admin-kicker{color:var(--accent);text-transform:uppercase;margin:0 0 6px;font-size:13px;font-weight:700}.admin-tabs{border:1px solid var(--line);background:var(--crm-theme-surface,#fff);border-radius:10px;flex-wrap:wrap;gap:4px;max-width:1280px;margin:0 auto 24px;padding:4px;display:flex}.admin-tabs button{cursor:pointer;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:7px;flex:140px;padding:10px 14px;font-size:.9rem;font-weight:600}.admin-tabs button:hover{color:var(--ink);background:var(--crm-theme-surface-soft,#f7f7f7)}.admin-tabs button.is-active{border-color:var(--line);background:var(--accent-soft);color:var(--accent);box-shadow:0 1px 3px #0f172a0f}.admin-grid,.admin-actions,.admin-panel,.admin-page>.sd-alert,.admin-page>.sd-loading-state{max-width:1280px;margin-left:auto;margin-right:auto}.admin-grid{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}@media (min-width:960px){.admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.admin-actions{gap:16px;display:grid}.admin-panel{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:20px;box-shadow:0 1px 3px #0f172a0a}.admin-panel-header h2{font-size:1.05rem;font-weight:700}.admin-panel-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.admin-panel-header span{border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:3px 8px;font-size:12px}.admin-link-list{gap:6px;display:grid}.admin-link-list a{border:1px solid var(--line);min-height:58px;color:inherit;background:var(--color-surface-subtle-alt);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;text-decoration:none;transition:border-color .15s,box-shadow .15s,background .15s;display:grid}.admin-link-list a:hover{border-color:var(--accent);background:var(--crm-theme-surface,#fff);box-shadow:0 2px 10px #f86b3714}.admin-link-list strong{font-size:.94rem}.admin-link-list small{font-size:.82rem}.admin-link-list em{border:1px solid var(--line);background:var(--crm-theme-surface,#fff);color:var(--muted);white-space:nowrap;border-radius:999px;padding:4px 9px;font-size:.74rem;font-style:normal}.admin-link-list span{gap:2px;min-width:0;display:grid}.admin-link-list small,.admin-muted-line{color:var(--muted);overflow-wrap:anywhere;display:block}.admin-commands-panel{padding:0;overflow:hidden}.admin-commands-panel>header{justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 20px 0;display:flex}.admin-commands-panel>header p{color:var(--muted);margin:6px 0 0;font-size:.88rem}.admin-table-wrap{padding:16px 20px 0;overflow-x:auto}.admin-table-wrap .portal-table{min-width:760px}.admin-panel .portal-table td strong{margin-bottom:4px;display:block}.admin-panel .portal-table td:last-child{white-space:nowrap;width:140px}.admin-panel .portal-table td:nth-child(2){color:var(--crm-theme-text,#4f4f56);word-break:break-word;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.82rem}.admin-panel .portal-table td:nth-child(3){white-space:nowrap;font-weight:600}.admin-commands-panel .admin-action-result{margin:16px 20px 20px}.admin-action-result{border:1px solid var(--line);border-radius:8px;gap:8px;margin-top:16px;padding:14px;display:grid}.admin-action-result.is-success{border-color:var(--crm-theme-border,#f86b3759);background:var(--accent-soft)}.admin-action-result.is-failed,.admin-action-result.is-unavailable{border-color:var(--crm-theme-border,#b4231840);background:var(--danger-soft)}.admin-action-result pre{border:1px solid var(--line);background:var(--crm-theme-surface,#fff);white-space:pre-wrap;max-height:360px;margin:0;padding:12px;overflow:auto}.admin-empty-line{border:1px dashed var(--line);color:var(--muted);text-align:center;border-radius:8px;padding:18px}.admin-sipuni-sync,.admin-one-c-sync{gap:18px;display:grid}.admin-one-c-sync-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.admin-one-c-sync-header p{color:var(--muted);margin:6px 0 0}.admin-one-c-sync-badge{border:1px solid var(--line);white-space:nowrap;border-radius:999px;padding:4px 10px;font-size:12px}.admin-one-c-sync-badge.is-ready{border-color:var(--crm-theme-border,#f86b3759);background:var(--accent-soft)}.admin-one-c-sync-badge.is-off{border-color:var(--crm-theme-border,#b4231840);background:var(--danger-soft)}.admin-one-c-sync-controls{gap:12px;display:grid}.admin-one-c-sync-entities{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;display:grid}.admin-one-c-sync-entity-button{text-align:left;align-items:start;gap:4px;min-height:88px;padding:12px;display:grid}.admin-one-c-sync-entity-button strong{font-size:14px}.admin-one-c-sync-entity-button small,.admin-one-c-sync-entity-button em{color:var(--muted);font-size:12px;font-style:normal}.admin-one-c-sync-message{margin:0}.admin-one-c-sync-result{border:1px solid var(--line);border-radius:8px;gap:14px;padding:14px;display:grid}.admin-one-c-sync-result.has-errors{border-color:var(--crm-theme-border,#b4231840);background:var(--danger-soft)}.admin-one-c-sync-result>header{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.admin-one-c-sync-result>header span{color:var(--muted)}.admin-one-c-sync-entity-results{gap:10px;display:grid}.admin-one-c-sync-entity-results article{border:1px solid var(--line);background:var(--crm-theme-surface,#fff);border-radius:8px;padding:12px}.admin-one-c-sync-entity-results dl{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 0;display:grid}.admin-one-c-sync-entity-results dt{color:var(--muted);font-size:12px}.admin-one-c-sync-entity-results dd{margin:2px 0 0;font-weight:600}.admin-sipuni-sync-header p{color:var(--muted);margin:6px 0 0}.admin-sipuni-sync-form{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:14px;display:grid}.admin-sipuni-sync-form .admin-checkbox-field{grid-column:1/-1}.admin-sipuni-sync-form>.button{grid-column:1/-1;justify-self:start;min-width:220px}.admin-form-field{gap:6px;min-width:0;display:grid}.admin-form-field>span{color:var(--muted);font-size:.82rem;font-weight:600}.admin-form-field input{border:1px solid var(--line);background:var(--crm-theme-surface,#fff);width:100%;min-height:41px;color:var(--ink);border-radius:4px;padding:9px 10px}.admin-form-field input:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #f86b371f}.admin-form-field input:disabled{background:var(--crm-theme-surface-soft,#f3f3f3);color:var(--muted)}.admin-checkbox-field{cursor:pointer;align-items:flex-start;gap:9px;min-height:41px;padding:2px 0;display:flex}.admin-checkbox-field input{width:17px;height:17px;accent-color:var(--accent);margin:2px 0 0}.admin-checkbox-field span{gap:2px;display:grid}.admin-checkbox-field strong{font-size:.86rem}.admin-checkbox-field small{color:var(--muted);line-height:1.3}.admin-sipuni-sync-form>.button{min-height:41px}.admin-sipuni-sync-message{margin:0}.admin-sipuni-sync-result{border:1px solid var(--crm-theme-border,#f86b3740);background:var(--accent-soft);border-radius:8px;padding:14px}.admin-sipuni-sync-result.has-errors{border-color:var(--crm-theme-border,#b4231840);background:var(--danger-soft)}.admin-sipuni-sync-result>header{justify-content:space-between;gap:12px;margin-bottom:12px;display:flex}.admin-sipuni-sync-result>header span{color:var(--muted);font-size:.86rem}.admin-sipuni-sync-result dl{grid-template-columns:repeat(5,minmax(120px,1fr));gap:8px;margin:0;display:grid}.admin-sipuni-sync-result dl>div{border:1px solid var(--crm-theme-border,#f86b3726);background:var(--crm-theme-glass,#ffffffb3);border-radius:6px;padding:10px}.admin-sipuni-sync-result dl>div.has-errors{border-color:var(--crm-theme-border,#b4231840)}.admin-sipuni-sync-result dt{color:var(--muted);font-size:.76rem}.admin-sipuni-sync-result dd{margin:3px 0 0;font-size:1.22rem;font-weight:700}.admin-sipuni-sync-log{border-top:1px solid var(--crm-theme-border,#f86b372e);gap:10px;margin-top:14px;padding-top:14px;display:grid}.admin-sipuni-sync-log h3{margin:0;font-size:.96rem}.admin-sipuni-sync-log>div{gap:8px;max-height:420px;display:grid;overflow:auto}.admin-sipuni-sync-log-item{border:1px solid var(--crm-theme-border,#f86b3724);background:var(--crm-theme-glass,#ffffffc7);border-radius:6px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding:10px;display:grid}.admin-sipuni-sync-log-item.is-error{border-color:var(--crm-theme-border,#b4231847)}.admin-sipuni-sync-log-item header{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.admin-sipuni-sync-log-item header strong{border:1px solid var(--crm-theme-border,#f86b3738);color:var(--accent);background:var(--accent-soft);border-radius:999px;padding:3px 8px;font-size:.74rem}.admin-sipuni-sync-log-item.is-error header strong{border-color:var(--crm-theme-border,#b4231842);color:var(--danger);background:var(--danger-soft)}.admin-sipuni-sync-log-item header span,.admin-sipuni-sync-log-item small{color:var(--muted);font-size:.78rem}.admin-sipuni-sync-log-item p{margin:7px 0 4px;line-height:1.45}.admin-sipuni-sync-log-item nav{flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:360px;display:flex}.admin-sipuni-sync-log-item a{border:1px solid var(--crm-theme-border,#f86b3738);color:var(--accent);background:var(--crm-theme-surface,#fff);overflow-wrap:anywhere;border-radius:999px;padding:5px 9px;font-size:.78rem;font-weight:600;text-decoration:none}.admin-sipuni-sync-log-item a:hover{border-color:var(--accent)}.admin-docs-panel{gap:12px;display:grid}.admin-docs-panel p{color:var(--muted);margin:0}.admin-doc-links{flex-wrap:wrap;gap:10px;display:flex}@media (max-width:860px){.admin-page{padding:16px 16px 40px}.admin-header{flex-direction:column;align-items:flex-start}.admin-tabs button{flex:calc(50% - 4px)}.admin-grid{grid-template-columns:minmax(0,1fr)}.admin-link-list a{grid-template-columns:minmax(0,1fr);align-items:start}.admin-link-list em{justify-self:start}.admin-sipuni-sync-form{grid-template-columns:1fr;align-items:stretch}.admin-sipuni-sync-form>.button{justify-self:stretch;width:100%;min-width:0}.admin-sipuni-sync-result>header{flex-direction:column}.admin-sipuni-sync-result dl{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-sipuni-sync-log-item{grid-template-columns:1fr}.admin-sipuni-sync-log-item nav{justify-content:flex-start;max-width:none}.admin-one-c-sync-header{flex-direction:column}.admin-one-c-sync-entity-results dl{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-commands-panel>header{padding:16px 16px 0}.admin-table-wrap{padding:12px 16px 0}.admin-commands-panel .admin-action-result{margin:16px}}@media (min-width:861px) and (max-width:1180px){.admin-sipuni-sync-result dl{grid-template-columns:repeat(3,minmax(120px,1fr))}}.sd-page{gap:20px;max-width:1440px;display:grid}.sd-page-header{gap:4px;display:grid}.sd-page-title{letter-spacing:-.02em;color:var(--ink);margin:0;font-size:1.5rem;font-weight:700}.sd-page-lead{color:var(--muted);margin:0;font-size:.92rem;line-height:1.45}.sd-toolbar-filters-only .sd-toolbar-row,.sd-toolbar-filters-only .sd-filter-grid{align-items:end;gap:14px 16px;display:grid}.sd-toolbar-row-2{grid-template-columns:repeat(2,minmax(0,1fr))}@media (max-width:900px){.sd-toolbar-row-2{grid-template-columns:1fr}}.sd-alert{border-radius:10px;padding:14px 16px}.sd-alert-error{background:var(--danger-soft);border:1px solid var(--crm-theme-border,#b4231826);color:var(--danger)}.sd-alert-success{background:var(--accent-soft);border:1px solid var(--crm-theme-border,#f86b3726);color:var(--accent)}.sd-alert p{margin:0}.sd-loading-state{text-align:center;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:64px 24px}.sd-dashboard-body{gap:16px;display:grid}.sd-dashboard-body.is-loading{opacity:.55;pointer-events:none}.sd-toolbar{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px 18px;box-shadow:0 1px 3px #0f172a0a,0 4px 16px #0f172a08}.sd-toolbar-filters{gap:14px;display:grid}.sd-toolbar-row{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:14px 16px;display:grid}.sd-mass-toolbar{gap:12px;display:grid}.sd-mass-toolbar .sd-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.sd-mass-toolbar-row{grid-template-columns:repeat(5,minmax(0,1fr))}.sd-mass-filter-chips{flex-wrap:wrap;gap:8px;display:flex}.sd-toolbar-actions{flex-shrink:0;gap:8px;display:flex}.sd-mass-preview{gap:10px;margin-top:16px;display:grid}.sd-mass-preview h3{margin:0;font-size:1rem}.sd-filter-panel{border:1px solid var(--line);background:var(--crm-theme-surface,#fff);border-radius:12px;padding:14px;box-shadow:0 1px 3px #0f172a0a,0 4px 16px #0f172a08}.sd-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:12px;display:grid}.sd-filter-field{gap:5px;min-width:0;display:grid}.sd-filter-field>span{color:var(--muted);font-size:.78rem;font-weight:500}.sd-filter-field select{border:1px solid var(--line);background:var(--crm-theme-surface,#fff);width:100%;color:var(--ink);border-radius:8px;padding:9px 12px;transition:border-color .15s,box-shadow .15s}.sd-filter-field select:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #f86b371f}.sd-filter-field-select{position:relative}.sd-filter-static{border:1px solid var(--line);background:var(--crm-theme-surface-soft,#f7f7f7);color:var(--ink);border-radius:8px;padding:9px 12px;font-size:.9rem}.sd-filter-trigger{border:1px solid var(--line);background:var(--crm-theme-surface,#fff);text-align:left;cursor:pointer;width:100%;font:inherit;color:var(--ink);white-space:nowrap;text-overflow:ellipsis;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;border-radius:8px;padding:9px 32px 9px 12px;transition:border-color .15s,box-shadow .15s;overflow:hidden}.sd-filter-trigger:hover{border-color:var(--crm-theme-border,#b8b9bf)}.sd-filter-trigger:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #f86b371f}.sd-filter-dropdown{z-index:20;border:1px solid var(--line);background:var(--crm-theme-surface,#fff);border-radius:10px;max-height:260px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 12px 32px #0f172a24}.sd-filter-option{cursor:pointer;border-radius:6px;align-items:center;gap:8px;padding:8px 10px;font-size:.88rem;display:flex}.sd-filter-option:hover{background:var(--crm-theme-surface-soft,#f3f3f3)}.sd-filter-option input{accent-color:var(--accent);flex-shrink:0;margin:0}.sd-chip{border:1px solid var(--line);background:var(--crm-theme-surface-soft,#f7f7f7);color:var(--ink);border-radius:999px;align-items:center;padding:5px 12px;font-size:.82rem;line-height:1.3;display:inline-flex}.sd-chip-accent{background:var(--accent-soft);border-color:var(--crm-theme-border,#f86b3733);color:var(--accent);font-weight:600}.sd-chip-muted{color:var(--muted);background:0 0;border-style:dashed}.sd-chip-strong{font-weight:700}.sd-summary-strip{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;display:grid}.sd-summary-box{border:1px solid var(--line);background:var(--crm-theme-surface,#fff);padding:10px}.sd-summary-box.sd-good{background:var(--accent-soft);border-color:var(--crm-theme-border,#f86b3738)}.sd-summary-box.sd-bad{background:var(--crm-theme-surface-soft,#fff0e8);border-color:var(--crm-theme-border,#b423182e)}.sd-summary-box.sd-warn{background:var(--crm-theme-surface-soft,#fff0e8);border-color:var(--crm-theme-border,#a9892d38)}.sd-summary-label{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;font-size:.72rem;display:block}.sd-summary-value{margin-top:4px;font-size:1.25rem;line-height:1.1;display:block}.sd-summary-sub{color:var(--muted);margin-top:4px;font-size:.78rem;line-height:1.35;display:block}.sd-delta-up{color:var(--accent);font-weight:700}.sd-delta-down{color:var(--danger);font-weight:700}.sd-pill{border:1px solid var(--line);background:var(--crm-theme-surface-soft,#f3f3f3);color:var(--muted);border-radius:999px;align-items:center;padding:4px 10px;font-size:.75rem;line-height:1.2;display:inline-flex}.sd-pill-good{background:var(--accent-soft);color:var(--accent);border-color:var(--crm-theme-border,#f86b3738)}.sd-pill-bad{background:var(--crm-theme-surface-soft,#fff0e8);color:#d2612b;border-color:var(--crm-theme-border,#b423182e)}.sd-pill-warn{background:var(--crm-theme-surface-soft,#fff0e8);color:var(--crm-theme-accent-text,#a83c16);border-color:var(--crm-theme-border,#a9892d38)}.sd-report-tabs{border:1px solid var(--line);background:var(--surface);border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #0f172a0a,0 4px 16px #0f172a08}.sd-tab-list{border-bottom:1px solid var(--line);background:var(--crm-theme-surface-soft,#f7f7f7);scrollbar-width:thin;flex-wrap:nowrap;gap:0;display:flex;overflow-x:auto}.sd-tab{font:inherit;cursor:pointer;color:var(--muted);white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;flex-shrink:0;margin-bottom:-1px;padding:13px 18px;font-size:.88rem;transition:color .15s,background .15s,border-color .15s}.sd-tab:hover{color:var(--ink);background:var(--crm-theme-glass,#ffffffb3)}.sd-tab.is-active{color:var(--accent);border-bottom-color:var(--accent);background:var(--crm-theme-surface,#fff);font-weight:600}.sd-tab-panel{padding:20px 24px 24px}.sd-table-scroll{margin:0 -4px;padding:0 4px;overflow-x:auto}.sd-table{border-collapse:separate;border-spacing:0;width:100%;min-width:640px;font-size:.9rem;line-height:1.5}.sd-table th,.sd-table td{text-align:left;vertical-align:middle;border-bottom:1px solid var(--line);padding:14px 18px}.sd-table thead tr:first-child th{background:var(--crm-theme-surface-soft,#f3f3f3);color:var(--crm-theme-text,#4f4f56);text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;z-index:1;padding-top:16px;padding-bottom:16px;font-size:.78rem;font-weight:600;position:sticky;top:0}.sd-table tbody tr:hover td{background:var(--crm-theme-surface-soft,#f7f7f7)}.sd-table tbody tr:last-child td{border-bottom:none}.sd-num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.sd-date-range{align-items:center;gap:6px;display:flex}.sd-date-range span{color:var(--muted);flex-shrink:0}.sd-date-range input{border:1px solid var(--line);background:var(--crm-theme-surface,#fff);min-width:0;font:inherit;color:var(--ink);border-radius:8px;flex:1;padding:8px 10px;transition:border-color .15s,box-shadow .15s}.sd-date-range input:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #f86b371f}.sd-table-interactive th{vertical-align:bottom;padding:0}.sd-th-inner{align-items:stretch;min-height:44px;display:flex}.sd-sort-button{min-width:0;text-align:inherit;font:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;cursor:pointer;background:0 0;border:none;flex:1;justify-content:space-between;align-items:center;gap:8px;padding:12px 10px 12px 14px;display:flex}.sd-th-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sd-sort-button:hover{background:var(--crm-theme-surface-soft,#eee)}.sd-num .sd-th-inner,.sd-num .sd-sort-button{justify-content:flex-end}.sd-sort-indicator{color:var(--crm-theme-muted,#9697a0);flex-shrink:0;font-size:.7rem}.sd-sort-button:hover .sd-sort-indicator{color:var(--accent)}.sd-table th:has(.sd-sort-button:focus) .sd-sort-indicator{color:var(--accent)}.sd-col-filter{flex-shrink:0;align-items:stretch;display:flex;position:relative}.sd-col-filter-btn{width:34px;color:var(--crm-theme-muted,#9697a0);cursor:pointer;background:0 0;border:none;border-left:1px solid #0000;place-items:center;padding:0;display:grid}.sd-col-filter-btn svg{fill:currentColor;width:14px;height:14px}.sd-col-filter-btn:hover{background:var(--crm-theme-surface-soft,#eee);color:var(--ink)}.sd-col-filter-btn.is-active{color:var(--accent);background:var(--accent-soft)}.sd-th-inner:hover .sd-col-filter-btn{border-left-color:var(--line)}.sd-col-filter-menu{z-index:30;border:1px solid var(--line);background:var(--crm-theme-surface,#fff);border-radius:8px;width:min(260px,72vw);padding:8px;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 10px 28px #0f172a24}.sd-col-filter-search{border:1px solid var(--line);width:100%;font:inherit;border-radius:6px;margin-bottom:6px;padding:7px 10px;font-size:.86rem}.sd-col-filter-search:focus{border-color:var(--accent);outline:none}.sd-col-filter-list{max-height:220px;margin-top:4px;overflow-y:auto}.sd-col-filter-option{cursor:pointer;border-radius:4px;align-items:flex-start;gap:8px;padding:6px 4px;font-size:.86rem;line-height:1.35;display:flex}.sd-col-filter-option:hover{background:var(--crm-theme-surface-soft,#f3f3f3)}.sd-col-filter-option input{accent-color:var(--accent);flex-shrink:0;margin-top:2px}.sd-col-filter-option span{word-break:break-word}.sd-col-filter-option-all{border-bottom:1px solid var(--line);margin-bottom:4px;padding-bottom:8px;font-weight:600}.sd-col-filter-empty{color:var(--muted);padding:10px 4px;font-size:.84rem}.sd-col-filter-reset{border:none;border-top:1px solid var(--line);width:100%;font:inherit;color:var(--accent);cursor:pointer;text-align:left;background:0 0;margin-top:8px;padding:8px 4px 2px;font-size:.84rem}.sd-col-filter-reset:hover{text-decoration:underline}.sd-cell-link{color:#f86b37;font:inherit;cursor:pointer;border:none;border-bottom:1px dashed var(--crm-theme-border,#2563eb59);background:0 0;padding:0;font-weight:500;text-decoration:none;transition:color .15s,border-color .15s}.sd-cell-link:hover{color:#d2612b;border-bottom-color:var(--crm-theme-border,#d2612b)}.sd-total-row td{border-top:2px solid var(--line);color:var(--ink);font-weight:700;background:var(--crm-theme-surface-soft,#f3f3f3)!important}.sd-modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a80;place-items:center;padding:20px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.sd-modal{background:var(--crm-theme-surface,#fff);border:1px solid var(--line);border-radius:14px;grid-template-rows:auto 1fr;width:min(960px,100%);max-height:85vh;display:grid;overflow:hidden;box-shadow:0 24px 64px #0f172a38}.sd-modal-header{border-bottom:1px solid var(--line);background:var(--crm-theme-surface-soft,#f7f7f7);justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex}.sd-modal-header h3{margin:0;font-size:1.05rem;font-weight:600}.sd-modal-close{cursor:pointer;width:32px;height:32px;color:var(--muted);background:0 0;border:none;border-radius:8px;place-items:center;font-size:1.4rem;line-height:1;transition:background .15s,color .15s;display:grid}.sd-modal-close:hover{background:var(--crm-theme-surface-soft,#eee);color:var(--ink)}.sd-modal-body{padding:16px 20px;overflow:auto}.sd-modal-loading,.sd-modal-empty{text-align:center;color:var(--muted);margin:0;padding:32px 0}.sd-dashboard{gap:16px;display:grid}.sd-dashboard-title{margin:8px 0 16px}.sd-shell{gap:16px;display:grid}.sd-reports{gap:12px;display:grid}.sd-report-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:16px 18px;box-shadow:0 1px 3px #0f172a0a,0 4px 16px #0f172a08}.sd-report-card-wide{grid-column:1/-1}.sd-report-card h3{margin:0 0 14px;font-size:1rem;font-weight:600}.sd-report-subtitle{color:var(--muted);margin:0 0 12px;font-size:.85rem;line-height:1.4}@media (max-width:900px){.sd-filter-grid,.sd-toolbar-row{grid-template-columns:1fr}}@media (max-width:600px){.sd-page-title{font-size:1.25rem}.sd-tab-panel{padding:16px}.sd-table th,.sd-table td{padding:12px 14px}}.portal-empty{text-align:center;place-content:center;min-height:100vh;padding:24px;display:grid}.portal-empty-inline{place-content:start center;min-height:auto;padding:48px 24px}.portal-empty h2{margin:0 0 8px}.portal-empty p{color:var(--muted);margin:0}.portal-header{background:var(--surface);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:20px 28px;display:flex}.portal-brand{color:var(--accent);margin-bottom:4px;font-weight:700}.portal-header h1{margin:0;font-size:1.3rem}.portal-header-actions{align-items:center;gap:12px;display:flex}.portal-user{color:var(--muted)}.portal-main{padding:24px 28px 40px}.portal-hero,.portal-card{background:var(--surface);border:1px solid var(--line);padding:20px}.portal-hero{margin-bottom:16px}.portal-hero h2,.portal-card h3{margin:8px 0}.portal-hero p,.portal-card p{color:var(--muted);margin:0;line-height:1.5}.portal-label{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-size:.75rem;display:inline-block}.portal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.portal-card-wide{grid-column:1/-1}.portal-list{color:var(--ink);margin:12px 0 0;padding-left:18px}.portal-list li{margin-bottom:8px}.portal-tag{background:var(--accent-soft);color:var(--accent);margin-left:8px;padding:2px 8px;font-size:.75rem;display:inline-block}@media (max-width:900px){.portal-header-bar{flex-wrap:wrap}.portal-nav-header{flex-basis:100%;order:3}.portal-page-blocks{grid-template-columns:1fr}}@media (max-width:760px){.portal-header{flex-direction:column;align-items:flex-start}.portal-grid{grid-template-columns:1fr}}.er-search-strip{border:1px solid var(--line);background:var(--paper-soft,#f7f7f7);border-radius:10px;gap:6px;margin-bottom:12px;padding:10px;display:grid}.er-search-strip label{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-size:11px;font-weight:700}.er-search-strip input{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);font:inherit;border-radius:8px;padding:9px 10px}.er-status-pill{text-transform:uppercase;letter-spacing:.06em;border:1px solid var(--line);border-radius:999px;align-items:center;padding:5px 10px;font-size:11px;font-weight:700;display:inline-flex}.er-status-pill-good{background:var(--accent-soft);color:var(--accent);border-color:var(--crm-theme-border,#f86b3738)}.er-status-pill-warn{background:var(--crm-theme-surface-soft,#fff0e8);color:var(--crm-theme-accent-text,#a83c16);border-color:var(--crm-theme-border,#9a670033)}.er-status-pill-bad{background:var(--danger-soft);color:var(--danger);border-color:var(--crm-theme-border,#b423182e)}.er-status-pill-normal{background:var(--paper-soft,#f7f7f7);color:var(--ink);border-color:var(--line)}.layout-desktop .desktop-rail.shell-navigation{inset:var(--shell-bar-height,64px) auto 0 0;z-index:var(--layer-navigation,20);border-right:1px solid var(--color-border);background:var(--color-surface);flex-direction:column;align-items:stretch;width:240px;min-height:0;padding:0;display:flex;position:fixed}.layout-desktop .desktop-rail.shell-navigation[data-collapsed=true]{width:88px}.layout-desktop .shell-navigation>.shell-navigation-scroll{min-height:0;padding:var(--space-3);overscroll-behavior:contain;scrollbar-gutter:stable;flex:auto;margin:0;display:block;overflow:hidden auto}.layout-desktop .shell-navigation-group+.shell-navigation-group{margin-top:var(--space-3)}.layout-desktop .shell-navigation-group-title{padding:var(--space-1) var(--space-3) var(--space-2);color:var(--color-text-muted);font-size:12px;font-weight:var(--font-weight-semibold);line-height:var(--line-height-body);display:block}.layout-desktop .shell-navigation .shell-navigation-item{justify-content:flex-start;align-items:center;gap:var(--space-3);width:100%;min-height:48px;padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);color:var(--color-text-secondary);box-shadow:none;font:var(--font-weight-medium) 14px / 20px var(--font-body);text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:row;margin:0;display:flex;position:relative}.layout-desktop .shell-navigation .shell-navigation-item:hover{background:var(--color-surface-hover)}.layout-desktop .desktop-rail.shell-navigation .shell-navigation-item[aria-current=page],.layout-desktop .shell-navigation-panel .shell-navigation-item[aria-current=page]{color:var(--crm-theme-on-ink,var(--color-surface));background:var(--color-selection-strong);box-shadow:none;font-weight:var(--font-weight-bold)}.layout-desktop .shell-navigation .shell-navigation-item[aria-current=page]:before{border-radius:var(--radius-pill);background:var(--color-action-emphasis);content:"";width:3px;position:absolute;top:12px;bottom:12px;left:0;right:auto}.layout-desktop .shell-navigation-icon{flex:0 0 20px;place-items:center;width:20px;height:20px;display:grid}.layout-desktop .shell-navigation .shell-navigation-icon svg{width:20px;height:20px}.layout-desktop .shell-navigation-label{overflow-wrap:anywhere;min-width:0}.layout-desktop .shell-navigation-toggle{justify-content:flex-start;align-items:center;gap:var(--space-2);min-height:52px;padding:var(--space-3) var(--space-6);border:0;border-top:1px solid var(--color-border);color:var(--color-text-secondary);background:var(--color-surface);font:var(--font-weight-semibold) 12px / 16px var(--font-body);text-align:left;cursor:pointer;flex:none;margin:0;display:flex}.layout-desktop .shell-navigation-toggle:hover{background:var(--color-surface-hover)}.layout-desktop .shell-navigation[data-collapsed=true] .shell-navigation-group-title{display:none}.layout-desktop .shell-navigation[data-collapsed=true] .shell-navigation-group+.shell-navigation-group{margin-top:var(--space-2);padding-top:var(--space-2);border-top:1px solid var(--color-border)}.layout-desktop .shell-navigation[data-collapsed=true] .shell-navigation-item{justify-content:center;padding-inline-start:0;padding-inline-end:0}.layout-desktop .shell-navigation[data-collapsed=true] .shell-navigation-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.layout-desktop .shell-navigation[data-collapsed=true] .shell-navigation-toggle{padding-inline:var(--space-2);text-align:center;justify-content:center;font-size:11px}.layout-desktop .shell-navigation[data-collapsed=true] .shell-navigation-toggle svg{display:none}.layout-desktop .shell-app-bar{z-index:calc(var(--layer-navigation,20) + 1);align-items:center;gap:var(--space-4);min-height:var(--shell-bar-height,64px);padding:var(--space-2) var(--space-5);border-bottom:1px solid var(--color-border);color:var(--color-text);background:var(--color-surface);grid-template-columns:minmax(0,1fr) auto auto;display:grid;position:fixed;top:0;bottom:auto;left:0;right:0}.layout-desktop .shell-app-identity{align-items:center;gap:var(--space-3);min-width:0;display:flex}.layout-desktop .shell-product{gap:2px;min-width:0;display:grid}.layout-desktop .shell-product strong{font-size:14px;font-weight:var(--font-weight-extrabold);letter-spacing:.025em;white-space:nowrap}.layout-desktop .shell-product>span{color:var(--color-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.layout-desktop .shell-global-actions{align-items:center;gap:var(--space-1);display:flex}.layout-desktop .shell-app-action{justify-content:center;align-items:center;gap:var(--space-2);min-height:44px;padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);color:var(--color-text-secondary);font:var(--font-weight-semibold) 13px / 18px var(--font-body);white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;display:flex}.layout-desktop .shell-app-action:hover,.layout-desktop .shell-app-action[aria-expanded=true]{color:var(--color-text);background:var(--color-surface-hover)}.layout-desktop .shell-app-action>svg{flex:none}.layout-desktop .shell-notifications-action{width:36px;min-width:36px;height:36px;min-height:36px;color:var(--crm-theme-accent-text,#b84f0b);background:var(--crm-theme-accent-surface,#fff0df);border-radius:50%;padding:0;position:relative}.layout-desktop .shell-notifications-action:hover{color:var(--crm-theme-accent-text,#963d08);background:var(--crm-theme-accent-surface,#ffe3c2)}.layout-desktop .shell-notifications-action .shell-unread-count{position:absolute;top:-5px;right:-7px}.layout-desktop .shell-language-picker{border-radius:var(--radius-sm);cursor:pointer;place-items:center;width:36px;height:36px;display:grid;position:relative}.layout-desktop .shell-language-picker:hover{background:var(--color-surface-hover)}.layout-desktop .shell-language-picker>span{letter-spacing:.02em;font-size:13px;font-weight:300;line-height:1}.layout-desktop .shell-language-picker select{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.layout-desktop .shell-language-picker:focus-within{outline:2px solid var(--color-focus,var(--color-action));outline-offset:2px}.layout-desktop .shell-report-icon{background:var(--crm-theme-accent-surface,#fee2e2);border-radius:7px;flex:none;place-items:center;width:25px;height:25px;font-size:18px;line-height:1;display:grid}.layout-desktop .shell-app-bar .shell-app-menu{display:none}.layout-desktop .shell-unread-count{border-radius:var(--radius-pill);min-width:19px;min-height:19px;color:var(--color-action,var(--color-text-warm));background:var(--color-primary-softer);font-size:10px;font-weight:var(--font-weight-bold);place-items:center;padding-inline-start:4px;padding-inline-end:4px;display:grid}.layout-desktop .shell-user{min-width:0;position:relative}.layout-desktop .shell-user-button{align-items:center;gap:var(--space-2);max-width:240px;min-height:44px;padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);color:var(--color-text);font:var(--font-weight-semibold) 13px / 18px var(--font-body);cursor:pointer;background:0 0;border:1px solid #0000;display:flex}.layout-desktop .shell-user-button:hover,.layout-desktop .shell-user-button[aria-expanded=true]{background:var(--color-surface-hover)}.layout-desktop .shell-user-avatar{border:1px solid var(--color-border);border-radius:var(--radius-pill);width:32px;height:32px;color:var(--color-text-secondary);background:var(--color-surface-muted);font-size:11px;font-weight:var(--font-weight-bold);flex:0 0 32px;place-items:center;display:grid;overflow:hidden}.layout-desktop .shell-user-avatar img,.layout-desktop .shell-user-avatar svg{object-fit:cover;width:100%;height:100%}.layout-desktop .shell-user-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.layout-desktop .shell-user-button>svg{flex:none}.layout-desktop .shell-user-menu{top:calc(100% + var(--space-2));width:min(288px,100vw - 24px);max-height:calc(100dvh - 80px);padding:var(--space-2);border:1px solid var(--color-border-strong);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-md);position:absolute;right:0;overflow-y:auto}.layout-desktop .shell-user-context{gap:var(--space-1);padding:var(--space-2) var(--space-2) var(--space-3);margin-bottom:var(--space-1);border-bottom:1px solid var(--color-border);overflow-wrap:anywhere;display:grid}.layout-desktop .shell-user-context>strong{font-size:13px}.layout-desktop .shell-user-context>span{color:var(--color-text-muted);font-size:12px}.layout-desktop .shell-user-menu [role=menuitem]{align-items:center;gap:var(--space-3);width:100%;min-height:44px;padding:var(--space-2);border-radius:var(--radius-sm);color:var(--color-text);font:var(--font-weight-medium) 13px / 18px var(--font-body);text-align:left;cursor:pointer;background:0 0;border:0;display:flex}.layout-desktop .shell-user-menu [role=menuitem]:hover{background:var(--color-surface-hover)}.layout-desktop .shell-user-menu [role=menuitem]>svg{flex:none}.layout-desktop .shell-navigation-backdrop{z-index:var(--layer-dialog,100);background:var(--color-overlay);justify-content:flex-start;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.layout-desktop .shell-navigation-panel{border-right:1px solid var(--color-border);background:var(--color-surface);width:min(320px,100vw - 32px);height:100%;min-height:0;box-shadow:var(--shadow-lg);flex-direction:column;display:flex}.layout-desktop .shell-navigation-panel-header{justify-content:space-between;align-items:center;gap:var(--space-2);min-height:64px;padding:max(var(--space-2), env(safe-area-inset-top)) var(--space-3) var(--space-2);border-bottom:1px solid var(--color-border);flex:none;display:flex}.layout-desktop .shell-navigation-panel-header>strong{font-size:16px}.layout-desktop .shell-navigation-panel-header>button{align-items:center;gap:var(--space-1);min-height:44px;padding:var(--space-2);border-radius:var(--radius-sm);color:var(--color-text-secondary);font:var(--font-weight-semibold) 12px / 16px var(--font-body);cursor:pointer;background:0 0;border:0;display:flex}.layout-desktop .shell-navigation-panel-header>button:hover{background:var(--color-surface-hover)}:is(.layout-desktop .shell-navigation button:focus-visible,.layout-desktop .shell-app-bar button:focus-visible){outline:2px solid var(--color-focus,var(--color-action,var(--color-text-warm)));outline-offset:2px}@media (max-width:1100px){.layout-desktop .shell-app-bar{gap:var(--space-2);padding-inline:var(--space-3)}.layout-desktop .shell-app-bar .shell-app-menu{display:flex}.layout-desktop .shell-app-identity{gap:var(--space-2)}.layout-desktop .shell-app-action{padding-inline:var(--space-2);font-size:12px}.layout-desktop .shell-user-button{max-width:180px}}@media (max-width:1023px){.layout-desktop .desktop-rail.shell-navigation{display:none}}.crm-shell{--shell-bar-height:64px;min-width:0}.crm-shell.layout-desktop{padding-top:var(--shell-bar-height)}.crm-shell.layout-desktop .workspace{min-width:0;height:100%;margin-left:var(--rail-width);grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);display:grid;overflow:hidden}.crm-shell.layout-desktop .workspace.has-detail{grid-template-columns:minmax(0,1fr)}.crm-shell.layout-desktop .workspace.has-detail>.list-pane{display:none}.crm-shell.layout-desktop .list-pane{border:0;min-width:0;min-height:0}.crm-shell.layout-desktop .entity-scroll{padding-bottom:var(--space-6)}.crm-shell.layout-desktop .detail-pane{background:var(--color-surface);border-left:0;flex-direction:column;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.crm-shell.layout-desktop .detail-view{flex:1;min-height:0;position:relative}.crm-detail-return{align-items:center;gap:var(--space-2);min-height:var(--control-height-md);padding:var(--space-2) var(--space-4);border:0;border-bottom:1px solid var(--color-border);background:var(--color-surface);color:var(--color-action);text-align:left;flex-shrink:0;font-size:14px;display:flex}.crm-assistant-slot{top:var(--shell-bar-height);z-index:var(--layer-panel);width:min(460px, calc(100% - var(--rail-width)));max-width:calc(100vw - var(--rail-width));border-left:1px solid var(--color-border);background:var(--color-surface);box-shadow:var(--shadow-md);position:fixed;bottom:0;right:0}.crm-assistant-slot.expanded{left:var(--rail-width);width:auto;max-width:none;right:0}.crm-shell.layout-desktop>.management-workspace{height:100%;min-height:0;margin-left:var(--rail-width)}.crm-shell.layout-desktop .app-header .alert-button{display:none}@media (max-width:1023px){.crm-shell.layout-desktop{--rail-width:0px}.crm-shell.layout-desktop .workspace,.crm-shell.layout-desktop>.management-workspace{margin-left:0}}@media (max-width:520px){.crm-assistant-slot{width:100%;max-width:100vw;left:0}.crm-assistant-slot.expanded{left:0}}.layout-desktop .ai-panel.assistant-shell{color:var(--color-text);background:var(--color-surface);border-color:var(--color-border);font-size:var(--font-size-lg);min-width:0;z-index:var(--layer-panel,70);flex-direction:column;display:flex;overflow:hidden}.layout-desktop .ai-panel.assistant-shell.desktop-surface,.layout-desktop .ai-panel.assistant-shell.desktop-surface.expanded{border-left:1px solid var(--color-border);grid-template:"header""privacy""context""mode""content"minmax(0,1fr)/minmax(0,1fr);width:auto;min-width:0;height:auto;min-height:0;display:grid;position:absolute;top:0;bottom:0;left:0;right:0}.layout-desktop .ai-panel.assistant-shell.desktop-surface>:is(.assistant-header,.assistant-privacy,.assistant-context,.ai-mode-switch,.assistant-conversation,.manual-create-panel){min-width:0}.layout-desktop .ai-panel.assistant-shell>.assistant-header{gap:var(--space-3);padding:var(--space-4);border-bottom:0;grid-area:header;align-items:start;min-height:auto;display:grid}.layout-desktop .assistant-shell .ai-identity{align-items:flex-start;min-width:0}.layout-desktop .assistant-shell .ai-identity>i{width:32px;height:32px;color:var(--color-text-secondary);background:var(--color-surface-muted);border-radius:50%;flex:0 0 32px;overflow:hidden}.layout-desktop .assistant-shell .ai-identity>i img{object-fit:cover;width:100%;height:100%;display:block}.layout-desktop .assistant-shell .ai-identity strong{font-size:var(--font-size-xl);overflow-wrap:anywhere;line-height:1.35}.layout-desktop .assistant-shell .ai-identity small{font-size:var(--font-size-lg);white-space:normal;max-width:none;line-height:1.5}.layout-desktop .assistant-shell .assistant-header-actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.layout-desktop .assistant-shell .assistant-header-actions button,.layout-desktop .assistant-shell .assistant-context button,.layout-desktop .assistant-shell .assistant-conversation-tools button,.layout-desktop .assistant-shell .assistant-action-toggle button:not([role=menuitem]){justify-content:center;align-items:center;gap:var(--space-2);min-height:var(--tap-target);padding:var(--space-2) var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text);font-size:var(--font-size-lg);cursor:pointer;line-height:1.4;display:inline-flex}.layout-desktop .assistant-shell .assistant-close-narrow{display:none}.layout-desktop .assistant-shell>.assistant-privacy{padding:0 var(--space-4) var(--space-3);color:var(--color-text-secondary);font-size:var(--font-size-lg);grid-area:privacy;margin:0;line-height:1.5}.layout-desktop .assistant-shell>.assistant-context{margin:0 var(--space-4) var(--space-3);padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted);font-size:var(--font-size-lg);overflow-wrap:anywhere;grid-area:context;line-height:1.5}.layout-desktop .assistant-shell .assistant-context>div{align-items:flex-start;gap:var(--space-2);flex-direction:column;display:flex}.layout-desktop .assistant-shell .assistant-context-change{margin-top:var(--space-3);padding-top:var(--space-3);border-top:1px solid var(--color-border)}.layout-desktop .assistant-shell .assistant-context-change button{color:var(--color-on-primary);border-color:var(--color-action,var(--color-primary));background:var(--color-action,var(--color-primary))}.layout-desktop .ai-panel.assistant-shell>.ai-mode-switch{gap:var(--space-2);padding:var(--space-3) var(--space-4);background:var(--color-surface);border-bottom:1px solid var(--color-border);grid-area:mode;grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.layout-desktop .ai-panel.assistant-shell>.ai-mode-switch button{min-width:0;height:auto;min-height:40px;padding:var(--space-2);color:var(--color-text-secondary);background:var(--color-surface-muted);border-radius:var(--radius-md);font-size:var(--font-size-lg);white-space:normal;overflow-wrap:anywhere;line-height:1.4}.layout-desktop .ai-panel.assistant-shell>.ai-mode-switch button.active{color:var(--color-primary-text);background:var(--color-primary-soft);box-shadow:inset 0 0 0 1px var(--color-primary)}.layout-desktop .assistant-shell>.assistant-conversation,.layout-desktop .assistant-shell>.manual-create-panel{flex:1;grid-area:content;min-width:0;min-height:0}.layout-desktop .assistant-shell>.assistant-conversation{flex-direction:column;display:flex;overflow:hidden}.layout-desktop .assistant-shell .assistant-conversation-tools{align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-4);flex-wrap:wrap;display:flex}.layout-desktop .assistant-shell .assistant-status{align-items:center;gap:var(--space-2);color:var(--color-text-secondary);font-size:var(--font-size-lg);line-height:1.4;display:inline-flex}.layout-desktop .assistant-shell .assistant-status.has-error{color:var(--color-danger-strong)}.layout-desktop .assistant-shell .ai-history-search{padding:0 var(--space-4) var(--space-3)}.layout-desktop .assistant-shell .ai-history-search label{align-items:center;gap:var(--space-2);min-height:40px;padding:var(--space-2) var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);display:flex}.layout-desktop .assistant-shell .ai-history-search input{width:100%;min-width:0;color:var(--color-text);font-size:var(--font-size-lg);background:0 0;border:0;padding:0}.layout-desktop .assistant-shell .ai-thread{min-width:0;min-height:0;padding:var(--space-3) var(--space-4);background:var(--color-surface);overscroll-behavior:contain;flex:1;overflow:hidden auto}.layout-desktop .assistant-shell .assistant-examples>p,.layout-desktop .assistant-shell .assistant-empty{margin:0 0 var(--space-3);color:var(--color-text-secondary);font-size:var(--font-size-lg);line-height:1.5}.layout-desktop .assistant-shell .assistant-examples button{justify-content:space-between;align-items:center;gap:var(--space-3);width:100%;margin-bottom:var(--space-2);padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);min-height:44px;color:var(--color-text);background:var(--color-surface);font-size:var(--font-size-lg);text-align:left;line-height:1.5;display:flex}.layout-desktop .assistant-shell .ai-message{box-sizing:border-box;border-radius:var(--radius-md);width:fit-content;min-width:0;max-width:94%;margin-bottom:var(--space-3);padding:var(--space-3);border:1px solid var(--color-border);background:var(--color-surface-muted);color:var(--color-text);font-size:var(--font-size-lg);line-height:1.5}.layout-desktop .assistant-shell .ai-message.me{color:var(--color-text);border-color:var(--color-border);background:var(--color-primary-soft);margin-left:auto}.layout-desktop .assistant-shell .ai-message.error{color:var(--color-danger-strong);border-color:var(--color-danger-strong);background:var(--color-danger-soft)}.layout-desktop .assistant-shell .ai-message-body{align-items:flex-start;gap:var(--space-2);overflow-wrap:anywhere;width:100%;min-width:0;margin-top:0;display:flex}.layout-desktop .assistant-shell .ai-message :is(.formatted-ai-text,p,a){overflow-wrap:anywhere;min-width:0;max-width:100%}.layout-desktop .assistant-shell .ai-bottom-dock :is(.composer-box,.composer-status){box-sizing:border-box;max-width:100%}.layout-desktop .assistant-shell .composer-status{overflow-wrap:anywhere;justify-content:flex-start;margin-inline-start:0;margin-inline-end:0}.layout-desktop .assistant-shell .ai-inline-keyboard{gap:var(--space-2);margin-top:var(--space-3);flex-wrap:wrap;display:flex}.layout-desktop .assistant-shell .ai-entity-links{align-items:flex-start;gap:var(--space-2);margin-top:var(--space-3);flex-direction:column;display:flex}.layout-desktop .assistant-shell .ai-entity-links button{align-items:center;gap:var(--space-2);overflow-wrap:anywhere;text-align:left;max-width:100%;display:inline-flex}.layout-desktop .assistant-shell .assistant-confirm-note{margin:var(--space-3) 0 0;color:var(--color-text-secondary);font-size:var(--font-size-lg);line-height:1.5}.layout-desktop .assistant-shell .ai-message>div button{font-size:var(--font-size-lg);min-height:var(--tap-target);height:auto;padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);white-space:normal;line-height:1.4}.layout-desktop .assistant-shell .ai-bottom-dock{min-height:0;padding:var(--space-3) var(--space-4) max(var(--space-3), env(safe-area-inset-bottom));border-top:1px solid var(--color-border);background:var(--color-surface);flex:none}.layout-desktop .assistant-shell .assistant-action-toggle{justify-content:space-between;align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.layout-desktop .assistant-shell .assistant-quick-actions-anchor{position:relative}.layout-desktop .assistant-shell .assistant-quick-actions-popover{left:0;bottom:calc(100% + var(--space-2));z-index:30;min-width:min(280px,72vw);max-height:min(320px,50vh);padding:var(--space-2);gap:var(--space-1);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);flex-direction:column;display:flex;position:absolute;overflow:auto;box-shadow:0 8px 24px #0000001f}.layout-desktop .assistant-shell .assistant-quick-actions-popover button{justify-content:flex-start;align-items:center;gap:var(--space-2);box-sizing:border-box;width:100%;min-width:100%;height:auto;min-height:var(--tap-target);padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);color:var(--color-text);font-size:var(--font-size-lg);text-align:left;white-space:normal;cursor:pointer;background:0 0;border:none;line-height:1.4;display:flex}.layout-desktop .assistant-shell .assistant-quick-actions-popover button svg{flex:none}.layout-desktop .assistant-shell .assistant-quick-actions-popover button span{flex:auto;min-width:0}.layout-desktop .assistant-shell .assistant-quick-actions-popover button:hover:not(:disabled){background:var(--color-surface-muted)}.layout-desktop .assistant-shell .assistant-quick-actions-popover button:disabled{opacity:.55}.layout-desktop .assistant-shell .ai-suggestions{gap:var(--space-2);margin:var(--space-3) 0;flex-wrap:wrap;padding:0;display:flex}.layout-desktop .assistant-shell .ai-suggestions button{min-width:0;min-height:var(--tap-target);gap:var(--space-2);height:auto;padding:var(--space-2) var(--space-3);color:var(--color-text);background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:var(--radius-md);font-size:var(--font-size-lg);white-space:normal;flex:0 auto;line-height:1.4}.layout-desktop .assistant-shell .assistant-input-label{margin:var(--space-3) 0 var(--space-2);color:var(--color-text);font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold);line-height:1.5}.layout-desktop .assistant-shell .ai-recorder-host{min-width:0}.layout-desktop .ai-panel.assistant-shell .ai-bottom-dock .composer-box{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);align-items:center;height:auto;min-height:44px;margin:0}.layout-desktop .assistant-shell .composer-box textarea{font-size:var(--font-size-lg);min-width:0;line-height:1.5}.layout-desktop .assistant-shell .composer-box .send-button{width:auto;min-width:44px;height:auto;min-height:40px;padding:var(--space-2) var(--space-3);gap:var(--space-2);border-radius:var(--radius-md);color:var(--color-on-primary);background:var(--color-action,var(--color-primary));white-space:normal;grid-template-columns:auto auto}.layout-desktop .assistant-shell .composer-send-label{font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold);line-height:1.3}.layout-desktop .assistant-shell button:disabled{opacity:.6;cursor:default}:is(.layout-desktop .assistant-shell button:focus-visible,.layout-desktop .assistant-shell input:focus-visible,.layout-desktop .assistant-shell textarea:focus-visible){outline:2px solid var(--color-focus,var(--color-primary));outline-offset:2px}.layout-desktop .assistant-shell .composer-box .send-button:hover:not(:disabled),.layout-desktop .assistant-shell .assistant-context-change button:hover:not(:disabled){background:var(--color-action-hover,var(--color-primary-strong))}@media (max-width:1100px){.layout-desktop .assistant-shell .assistant-close-desktop{display:none}.layout-desktop .assistant-shell .assistant-close-narrow{display:inline}}@media (prefers-reduced-motion:reduce){.layout-desktop .ai-panel.assistant-shell,.layout-desktop .ai-panel.assistant-shell.is-settling{transition:none;animation:none}}@media (max-width:760px){.layout-desktop .ai-panel.assistant-shell.desktop-surface,.layout-desktop .ai-panel.assistant-shell.desktop-surface.expanded{width:100%;height:100dvh;min-height:0;padding-top:env(safe-area-inset-top);box-sizing:border-box;border:0;border-radius:0;position:fixed;top:0;bottom:0;left:0;right:0}.layout-desktop .ai-panel.assistant-shell.desktop-surface .assistant-expand{display:none}}.layout-desktop .ai-panel.assistant-shell>.drag-handle,.assistant-shell .assistant-quick-actions-icon{display:none}html[data-crm-surface=desktop] body .layout-desktop .ai-panel.assistant-shell{--assistant-ink:#292c30;--assistant-muted:#777873;--assistant-paper:#fbfaf7;--assistant-line:#e9e5de;--assistant-accent:#ad4c2b;font-size:var(--pc-body-size);color:var(--assistant-ink);background:var(--assistant-paper);border-color:var(--assistant-line);box-shadow:-12px 0 48px #2a231817}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell>.assistant-header{background:var(--assistant-paper);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:76px;padding:18px 20px 12px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-identity{align-items:center;gap:12px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-identity>i{border-radius:15px;flex-basis:42px;width:42px;height:42px;position:relative;overflow:visible;box-shadow:0 0 0 4px #fff,0 3px 14px #52341a1f}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-identity strong{letter-spacing:-.4px;font-size:16px;line-height:24px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-header-actions button>span{display:none}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-header-actions{flex-wrap:nowrap;justify-content:flex-end;gap:4px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-header-actions button{width:30px;height:30px;min-height:30px;color:var(--assistant-muted);background:0 0;border:0;border-radius:10px;flex:0 0 30px;padding:0}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-header-actions .assistant-close{color:var(--assistant-muted);background:0 0;border-color:#0000}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-header-actions .assistant-close:hover{color:var(--color-danger-strong);background:var(--color-danger-soft)}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell>.assistant-privacy{color:var(--assistant-muted);white-space:normal;align-items:center;gap:6px;padding:0 20px 14px;font-size:10px;line-height:16px;display:flex}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell>.assistant-context{border:1px solid var(--assistant-line);background:var(--assistant-surface-muted,#f1efe9);color:var(--assistant-label,#65665f);border-radius:10px;margin:0 20px 14px;padding:9px 11px;font-size:11px;line-height:17px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-context>div{flex-direction:row;align-items:center;gap:7px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-context>div>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-context button{flex-shrink:0;min-height:24px;padding:0 5px;font-size:11px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-context-change{margin-top:3px;padding-top:3px}html[data-crm-surface=desktop] body .layout-desktop .ai-panel.assistant-shell>.ai-mode-switch{border:1px solid var(--assistant-line);background:var(--assistant-surface-muted,#efede7);border-radius:12px;gap:4px;margin:0 20px 8px;padding:4px}html[data-crm-surface=desktop] body .layout-desktop .ai-panel.assistant-shell>.ai-mode-switch button{min-height:32px;color:var(--assistant-muted);background:0 0;border:0;border-radius:8px;padding:6px 8px;font-size:12px;font-weight:600;line-height:18px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-conversation-tools{flex-wrap:nowrap;gap:8px;min-height:36px;padding:0 20px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-conversation-tools button{min-height:22px;padding:0 5px;font-size:11px;line-height:18px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-conversation-tools .assistant-history-toggle{width:28px;min-width:28px;height:28px;min-height:28px;color:var(--assistant-muted);background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:inline-grid}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-conversation-tools .assistant-history-toggle:hover,html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-conversation-tools .assistant-history-toggle[aria-expanded=true]{border-color:var(--color-action-emphasis);color:var(--color-action)}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-status{color:var(--assistant-muted);margin-left:auto;font-size:10px;line-height:16px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-history-search{padding:0 8px 4px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-history-search label{min-height:28px;padding:2px 6px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-history-search input{font-size:12px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-thread{background:radial-gradient(ellipse at 100% 0%, var(--assistant-glow,#f2e9dc) 0%, transparent 58%), var(--assistant-paper);scrollbar-width:thin;scrollbar-color:var(--assistant-scrollbar,#d8d0c4) transparent;padding:18px 20px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell :is(.ai-message,.assistant-examples>p,.assistant-empty){margin-bottom:16px;font-size:13px;line-height:21px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-message{border:1px solid var(--assistant-line);background:var(--assistant-surface,#fff);max-width:94%;color:var(--assistant-ink);border-radius:4px 18px 18px;padding:14px 16px;box-shadow:0 3px 12px #362a1608}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-examples button{border:1px solid var(--assistant-line);background:var(--assistant-surface-glass,#ffffffd9);min-height:52px;color:var(--assistant-ink);border-radius:12px;margin-bottom:9px;padding:13px 15px;font-size:12px;font-weight:500;line-height:19px;box-shadow:0 3px 8px #362a1605}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-thread:has(>.assistant-examples):not(:has(>.ai-message)){flex-direction:column;justify-content:center;padding:28px;display:flex}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-examples{width:100%;max-width:420px;margin-inline-start:auto;margin-inline-end:auto}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-examples>p{text-align:left;letter-spacing:1px;text-transform:uppercase;color:var(--assistant-muted);margin:26px 0 10px;font-size:10px;font-weight:600;line-height:16px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-bottom-dock{padding:14px 16px max(16px, env(safe-area-inset-bottom));border-top:1px solid var(--assistant-line);background:var(--assistant-paper);grid-template-columns:auto minmax(0,1fr);align-items:end;gap:8px;display:grid}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-action-toggle{flex-wrap:nowrap;grid-area:1/1;gap:4px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-action-toggle button:not([role=menuitem]){border:1px solid var(--assistant-line);width:38px;height:46px;min-height:38px;color:var(--assistant-accent);background:var(--assistant-surface,#fff);border-radius:14px;padding:0}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-quick-actions-icon{display:block}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell :is(.assistant-quick-actions-label,.assistant-quick-actions-chevron,.assistant-input-label,.composer-send-label){display:none}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-quick-actions-popover{gap:2px;width:max(240px,100%);min-width:240px;max-height:min(280px,45vh);padding:4px;font-size:12px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-quick-actions-popover button{width:100%;min-width:0;height:auto;min-height:32px;padding:6px 10px;font-size:12px;line-height:18px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-recorder-onboarding-zone{grid-area:1/2;min-width:0}html[data-crm-surface=desktop] body .layout-desktop .ai-panel.assistant-shell .ai-bottom-dock .composer-box{border:1px solid var(--assistant-control-border,#ddd5c8);background:var(--assistant-surface,#fff);border-radius:14px;grid-template-columns:28px minmax(0,1fr) 28px 34px;gap:2px;min-height:46px;padding:5px;box-shadow:0 2px 8px #362a160a}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .composer-box textarea{resize:vertical;box-sizing:border-box;background:0 0;height:34px;min-height:34px;max-height:110px;padding:8px 4px;font-size:12px;line-height:18px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .composer-box button{border-radius:9px;grid-template-columns:1fr;gap:0;width:28px;min-width:0;height:34px;min-height:34px;padding:0}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-identity>i img{border-radius:14px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-identity>i:after{content:"";border:2px solid var(--assistant-paper);background:#6d8d65;border-radius:50%;width:9px;height:9px;position:absolute;bottom:-2px;right:-2px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-identity small{color:var(--assistant-muted);letter-spacing:.3px;margin-top:1px;font-size:10px;line-height:15px;display:block}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-privacy svg,html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-context svg{flex-shrink:0}html[data-crm-surface=desktop] body .layout-desktop .ai-panel.assistant-shell>.ai-mode-switch button.active{color:var(--assistant-accent);background:var(--assistant-surface,#fff);box-shadow:0 1px 5px #2f25141a}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-status:before{content:"";background:#a5a39c;border-radius:50%;width:5px;height:5px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-status[data-state=ready]:before{background:#6d8d65;box-shadow:0 0 0 3px #6d8d651a}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-status[data-state=busy]:before{background:var(--assistant-accent)}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-status[data-state=error]:before{background:var(--color-danger-strong)}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-welcome-mark{border:1px solid var(--assistant-control-border,#e4d5bf);width:70px;height:70px;color:var(--assistant-accent);background:linear-gradient(145deg, var(--assistant-surface,#fff), var(--assistant-active-surface,#f0e3d1));box-shadow:0 10px 30px #81552717, inset 0 1px 0 var(--assistant-surface,#fff);border-radius:24px;place-items:center;margin:0 auto 22px;display:grid;transform:rotate(-7deg)}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-welcome-mark svg{transform:rotate(7deg)}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-examples h2{letter-spacing:-1px;text-align:center;max-width:290px;color:var(--assistant-ink);margin:0 auto 12px;font-size:26px;font-weight:600;line-height:1.2}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-examples>.assistant-welcome-description{letter-spacing:0;text-transform:none;text-align:center;max-width:280px;margin:0 auto;font-size:12px;font-weight:400;line-height:20px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-examples button:hover:not(:disabled){border-color:var(--assistant-active-border,#c5aa89);background:var(--assistant-surface,#fff);box-shadow:0 5px 14px #62462312}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-examples button svg{color:var(--assistant-accent);flex-shrink:0}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-message-author{color:var(--assistant-accent);align-items:center;gap:5px;margin-bottom:7px;font-size:9px;font-weight:600;line-height:14px;display:flex}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-message.me{color:#fff;background:#343833;border:0;border-radius:18px 4px 18px 18px;box-shadow:0 4px 10px #1c221a14}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-message.me .assistant-message-author{display:none}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-message.error{color:var(--color-danger-strong);border-color:var(--color-danger-strong);background:var(--color-danger-soft)}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-message .formatted-ai-text a{color:var(--assistant-accent);text-underline-offset:3px;text-decoration-color:#d9b9a9}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-message.me .formatted-ai-text a{color:#ffe0c5}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-message .formatted-ai-text pre{font-size:11px;line-height:18px}html[data-crm-surface=desktop] body .layout-desktop .ai-panel.assistant-shell .ai-bottom-dock .composer-box:focus-within{border-color:var(--assistant-focus,#b97d57);box-shadow:0 0 0 3px #ad4c2b14}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .composer-box .send-button{width:34px;color:var(--assistant-on-accent,#fff);background:var(--assistant-accent);box-shadow:0 2px 5px #80381826}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-context-change{flex-wrap:wrap}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-context-change>span{white-space:normal}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-context-change button{border-radius:7px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell button{transition:background-color .15s,border-color .15s,box-shadow .15s}@media (max-width:760px){html[data-crm-surface=desktop] body .layout-desktop .assistant-shell>.assistant-header{min-height:64px;padding:12px 16px 8px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell>.assistant-privacy{padding:0 16px 10px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell>.assistant-context{margin-inline-start:16px;margin-inline-end:16px;margin-bottom:10px}html[data-crm-surface=desktop] body .layout-desktop .ai-panel.assistant-shell>.ai-mode-switch{margin-inline-start:16px;margin-inline-end:16px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-examples h2{font-size:23px}}@media (prefers-reduced-motion:reduce){html[data-crm-surface=desktop] body .layout-desktop .assistant-shell button{transition:none}}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell.expanded{--assistant-content-gutter:max(24px, calc((100% - 840px) / 2))}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell.expanded>.assistant-conversation{background:radial-gradient(ellipse at 90% 5%, var(--assistant-glow,#f2e9dc) 0%, transparent 65%), var(--assistant-paper);width:100%;max-width:none;margin:0}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell.expanded>.assistant-header{padding-inline:var(--assistant-content-gutter)}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell.expanded>:is(.assistant-context,.ai-mode-switch){box-sizing:border-box;width:calc(100% - 48px);max-width:840px;margin-inline-start:auto;margin-inline-end:auto}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell.expanded .assistant-conversation-tools{padding-inline:var(--assistant-content-gutter);background:var(--assistant-paper);flex-shrink:0}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell.expanded .ai-thread{padding:24px var(--assistant-content-gutter);background:0 0}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell.expanded .ai-thread:has(>.assistant-examples):not(:has(>.ai-message)){padding-inline:var(--assistant-content-gutter)}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell.expanded .ai-bottom-dock{padding:16px var(--assistant-content-gutter) max(20px, env(safe-area-inset-bottom));background:var(--assistant-paper-glass,#fbfaf7f5)}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell.expanded .ai-history-search{padding:8px var(--assistant-content-gutter) 16px;background:var(--assistant-paper)}@media (max-width:760px){html[data-crm-surface=desktop] body .layout-desktop .assistant-shell.expanded{--assistant-content-gutter:16px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell.expanded>:is(.assistant-context,.ai-mode-switch){width:calc(100% - 32px)}}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .composer-box textarea:focus-visible{box-shadow:none;outline:none}@media (max-height:800px){html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .ai-thread:has(>.assistant-examples):not(:has(>.ai-message)){justify-content:flex-start;padding:16px 28px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-examples{margin-block-start:auto;margin-block-end:auto}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-welcome-mark{border-radius:15px;width:44px;height:44px;margin-bottom:12px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-welcome-mark svg{width:23px;height:23px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-examples h2{max-width:240px;font-size:22px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-examples>.assistant-welcome-description{line-height:18px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-examples>p:not(.assistant-welcome-description){margin:14px 0 8px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-examples button{min-height:44px;margin-bottom:7px;padding-block-start:10px;padding-block-end:10px}}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell>.manual-create-panel{background:var(--assistant-paper)}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-manual-intro{flex:none;padding:14px 20px 12px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-manual-intro h2{letter-spacing:-.5px;color:var(--assistant-ink);margin:0 0 5px;font-size:20px;font-weight:600;line-height:26px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .assistant-manual-intro p{color:var(--assistant-muted);margin:0;font-size:11px;line-height:18px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-actions{border-bottom:1px solid var(--assistant-line);background:0 0;gap:8px;padding:0 20px 16px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-actions button{border:1px solid var(--assistant-line);background:var(--assistant-surface,#fff);min-height:66px;color:var(--assistant-muted);border-radius:12px;flex-direction:column;gap:7px;padding:10px 4px;font-size:11px;font-weight:500;line-height:16px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-actions button.active,html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-actions button.active:hover{border-color:var(--assistant-active-border,#c68e69);color:var(--assistant-accent);background:var(--assistant-active-surface,#f7eee3);box-shadow:0 2px 8px #6246230d}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-actions button:hover:not(:disabled){border-color:var(--assistant-active-border,#c5aa89)}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-scroll{scrollbar-width:thin;scrollbar-color:var(--assistant-scrollbar,#d8d0c4) transparent;padding:20px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-fields{gap:16px;margin-bottom:16px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-fields label{gap:7px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-fields label>span{color:var(--assistant-label,#66675f);font-size:11px;font-weight:500;line-height:16px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-scroll :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=file]),select,textarea){box-sizing:border-box;border:1px solid var(--assistant-control-border,#ddd5c8);background:var(--assistant-surface,#fff);min-width:0;max-width:100%;color:var(--assistant-ink);border-radius:10px;font-family:inherit;font-size:12px;line-height:18px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-scroll :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=file]),select){min-height:42px;padding:0 12px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-scroll textarea{padding:10px 12px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-scroll :is(input,textarea)::placeholder{color:var(--assistant-placeholder,#8b8a82);opacity:1;font-size:12px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-scroll :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=file]),select,textarea):focus-visible{border-color:var(--assistant-focus,#b97d57);outline:none;box-shadow:0 0 0 3px #ad4c2b14}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-extra-fields{border:1px solid var(--assistant-line);background:var(--assistant-surface-muted,#f3f0e9);border-radius:12px;margin:20px 0;padding:0}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-extra-fields>button{min-height:44px;color:var(--assistant-label,#66675f);text-align:left;border-radius:12px;gap:10px;padding:10px 12px;font-size:11px;font-weight:500;line-height:18px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-extra-fields>button svg{color:var(--assistant-accent);flex-shrink:0}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-extra-fields .optional-fields{margin:0;padding:0 12px 12px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-relations{border:1px solid var(--assistant-line);background:var(--assistant-surface,#fff);border-radius:14px;margin-top:20px;padding:16px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-relations>header{flex-wrap:wrap;gap:8px;padding:0 0 12px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-relations strong{color:var(--assistant-ink);font-size:12px;font-weight:600}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-relations small{color:var(--assistant-muted);font-size:10px;line-height:16px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-relation-chips{padding:0 0 12px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-relation-chips button{border-color:var(--assistant-line);background:var(--assistant-active-surface,#f7eee3);min-height:30px;color:var(--assistant-accent);border-radius:8px;padding:4px 9px;font-size:11px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-relations .manual-picker{box-shadow:none;background:0 0;border:0;padding:0}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-picker .picker-types{background:var(--assistant-surface-muted,#f1efe9);border-radius:9px;gap:4px;padding:3px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-picker .picker-types button{min-height:30px;color:var(--assistant-muted);background:0 0;border:0;border-radius:7px;font-size:10px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-picker .picker-types button.active{background:var(--assistant-surface,#fff);color:var(--assistant-accent);border:0;box-shadow:0 1px 4px #2f251414}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-picker .search-field{border:1px solid var(--assistant-line);background:var(--assistant-paper);border-radius:9px;min-height:40px;margin-top:10px;padding:0 10px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-picker .search-field input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=file]){min-height:38px;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0 6px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-picker .search-field:focus-within{border-color:var(--assistant-focus,#b97d57);box-shadow:0 0 0 3px #ad4c2b14}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-picker .search-field input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=file]):focus-visible{box-shadow:none}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-picker .picker-options button{color:var(--assistant-ink);padding:10px 0;font-size:12px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-form-error{color:var(--assistant-accent);margin:14px 2px 0;font-size:10px;line-height:17px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-save-dock{padding:14px 20px max(16px, env(safe-area-inset-bottom));border-top:1px solid var(--assistant-line);background:var(--assistant-paper)}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-save-button{background:var(--assistant-accent);min-height:44px;color:var(--assistant-on-accent,#fff);border-radius:12px;font-size:12px;font-weight:600;box-shadow:0 3px 10px #8038181f}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-save-button:disabled{opacity:1;color:var(--assistant-placeholder,#98958e);background:var(--assistant-disabled-surface,#e9e5de);box-shadow:none}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-save-button:hover:not(:disabled){background:var(--assistant-accent-hover,#913d21)}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-scroll :is(.company-search-switch,.task-create-mode-switch,.task-builder-mode){border:1px solid var(--assistant-line);background:var(--assistant-surface-muted,#f1efe9);border-radius:12px;gap:6px;padding:4px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-scroll :is(.company-search-switch,.task-create-mode-switch,.task-builder-mode) button{min-width:0;min-height:38px;color:var(--assistant-muted);background:0 0;border:0;border-radius:8px;font-size:11px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-scroll :is(.company-search-switch,.task-create-mode-switch,.task-builder-mode) button.active{background:var(--assistant-surface,#fff);color:var(--assistant-accent);box-shadow:0 1px 4px #2f251414}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-scroll :is(.task-builder-required,.task-create-chat-intro,.tin-lookup-panel){border:1px solid var(--assistant-line);background:var(--assistant-surface,#fff);border-radius:12px;padding:14px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-scroll .task-builder-required :is(label>span,legend){color:var(--assistant-label,#66675f);font-size:11px;line-height:17px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-scroll :is(.task-create-chat-intro p,.task-builder-required small){color:var(--assistant-muted);font-size:10px;line-height:17px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-scroll .task-builder-participants button.selected{border-color:var(--assistant-active-border,#c68e69);background:var(--assistant-active-surface,#f7eee3);color:var(--assistant-accent)}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-scroll .tin-lookup-row button{background:var(--assistant-accent);color:var(--assistant-on-accent,#fff);border-radius:9px;font-size:11px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-scroll .task-create-mode-switch button small{font-size:9px;line-height:14px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-status{border-radius:10px;margin:0 20px 12px;padding:10px 12px;font-size:11px}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-panel>:is(.assistant-manual-intro,.manual-create-actions,.manual-create-form){box-sizing:border-box;width:100%;max-width:640px;margin-inline-start:auto;margin-inline-end:auto}html[data-crm-surface=desktop] body .layout-desktop .assistant-shell .manual-create-scroll select:not([multiple]){border:1px solid var(--assistant-control-border,#ddd5c8)!important;background:var(--assistant-surface,#fff)!important;height:42px!important;min-height:42px!important;color:var(--assistant-ink)!important;border-radius:10px!important;padding:0 30px 0 12px!important;font-weight:400!important}@font-face{font-family:Noto Sans PC;font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/noto-sans-variable-D7-AVeX-.ttf)format("truetype")}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body{font-family:var(--font-body);font-size:var(--pc-body-size);line-height:var(--pc-body-line);color:var(--color-text);background:var(--color-canvas)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(h1,h2,h3,p){overflow-wrap:anywhere}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(h1,.app-header h1,.platform-page-heading h1){font-size:var(--pc-page-title-size);line-height:var(--pc-page-title-line);font-weight:var(--font-weight-semibold)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(h2,.platform-panel h2){font-size:var(--pc-section-title-size);line-height:var(--pc-section-title-line);font-weight:var(--font-weight-semibold)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(h3){font-size:var(--pc-dialog-title-size);line-height:var(--pc-dialog-title-line);font-weight:var(--font-weight-semibold)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}@media (prefers-reduced-motion:reduce){:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) *,:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :before,:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :after{scroll-behavior:auto;transition-duration:1ms;animation-duration:1ms}}html[data-crm-surface=desktop] body #root,html[data-crm-surface=desktop] body .app-shell.layout-desktop{min-width:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .platform-sidebar{background:var(--color-surface);color:var(--color-text);border-right:1px solid var(--color-border);box-shadow:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .platform-logo{border-color:var(--color-border)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .platform-logo :is(strong,span){color:var(--color-text)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .platform-sidebar :is(h2,button){color:var(--color-text-secondary);text-transform:none;letter-spacing:normal}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .platform-sidebar button{box-shadow:none;background:0 0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .platform-sidebar button.active{background:var(--color-selection-strong);color:var(--crm-theme-on-ink,var(--color-surface));box-shadow:inset 3px 0 var(--color-action-emphasis)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .layout-desktop .shell-product{gap:var(--space-1);min-width:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .layout-desktop .shell-product strong{min-width:0;font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line);white-space:normal;overflow-wrap:anywhere}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .layout-desktop .shell-product>span{font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .layout-desktop .detail-header{height:auto;min-height:calc(var(--tap-target) + var(--space-6));flex:none;align-items:start;max-height:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .layout-desktop .company-title-block{gap:var(--space-1);min-width:0;display:grid}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .layout-desktop .company-title-block h1{min-height:var(--tap-target);height:auto}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .layout-desktop .company-title-block .deal-title{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;overflow:visible}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .layout-desktop .company-title-block .deal-product{font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line);white-space:normal;overflow-wrap:anywhere;margin:0}@media (max-width:860px){:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .crm-shell.layout-desktop{--shell-bar-height:calc(var(--space-8) * 4)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .layout-desktop .shell-app-bar{height:var(--shell-bar-height);grid-template-columns:minmax(0,1fr) auto;grid-template-rows:var(--control-height-md) minmax(0, 1fr);gap:var(--space-2);padding:var(--space-2) var(--space-3)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .layout-desktop .shell-app-identity{grid-area:1/1;min-width:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .layout-desktop .shell-app-identity .shell-app-menu{flex:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .layout-desktop .shell-user{grid-area:1/2}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .layout-desktop .shell-global-actions{min-width:0;max-width:100%;height:100%;padding-block:var(--space-1);scrollbar-width:thin;flex-wrap:nowrap;grid-area:2/1/auto/-1;overflow:auto hidden}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .layout-desktop .shell-global-actions .shell-app-action{font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line);white-space:nowrap;flex:none}}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .pc-select-filter{align-items:center;min-width:0;display:inline-flex;position:relative}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .pc-select-filter select{-webkit-appearance:none;appearance:none;border:1px solid var(--color-border);background:var(--color-surface);width:100%;min-width:0;min-height:38px;color:var(--color-text);font:500 13px/1.2 var(--font-body);cursor:pointer;border-radius:8px;padding:0 34px 0 12px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .pc-select-filter select:focus-visible{outline:2px solid var(--color-action);outline-offset:2px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .pc-select-filter>svg{color:var(--color-text-muted);pointer-events:none;position:absolute;right:11px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .pc-select-filter select:disabled{opacity:.65;cursor:not-allowed}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button{min-width:0;max-width:100%;min-height:var(--control-height-md);border-radius:var(--radius-sm);font-family:var(--font-body);font-size:var(--pc-body-size);line-height:var(--pc-body-line);font-weight:var(--font-weight-semibold);white-space:normal;overflow-wrap:anywhere;transition:background-color var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button:not(:disabled):hover{color:var(--color-text);background-color:var(--color-surface-hover)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button:not(:disabled):active{background-color:var(--color-surface-selection)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(.pc-button,:where(.logistics-panel button,.sheet-footer button,.field-inline-actions button,.platform-stub-actions button,.document-modal>footer button,.date-time-modal>footer button)){min-height:var(--control-height-md);justify-content:center;align-items:center;gap:var(--space-2);height:auto;padding:var(--space-2) var(--space-4);border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);color:var(--color-text);background:var(--color-surface);box-shadow:none;font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line);font-weight:var(--font-weight-semibold);text-transform:none;letter-spacing:normal;white-space:normal;overflow-wrap:anywhere;display:inline-flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button:is(.primary,.primary-inline,.pc-button--primary,.crm-login-form button,.platform-login-form button){min-height:var(--control-height-lg);color:var(--color-on-primary);border-color:var(--color-action);background:var(--color-action);box-shadow:none;font-size:var(--pc-body-size);line-height:var(--pc-body-line)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button:is(.primary,.primary-inline,.pc-button--primary,.crm-login-form button,.platform-login-form button):not(:disabled):hover{color:var(--color-on-primary);border-color:var(--color-action-hover);background:var(--color-action-hover)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button:is(.primary,.primary-inline,.pc-button--primary,.crm-login-form button,.platform-login-form button):not(:disabled):active{color:var(--color-on-primary);border-color:var(--color-selection-strong);background:var(--color-selection-strong);box-shadow:inset 0 0 0 2px var(--color-action-emphasis)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button:is(.danger,.danger-action,.pc-button--danger){color:var(--color-danger);border-color:var(--color-danger-border);background:var(--color-danger-soft);box-shadow:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button:is(.danger,.danger-action,.pc-button--danger):not(:disabled):is(:hover,:active){color:var(--color-on-danger);border-color:var(--color-danger-action);background:var(--color-danger-action)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button:is(.pc-button--text,.logistics-document-link,.logistics-link-button){color:var(--color-action);box-shadow:none;background:0 0;border-color:#0000}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button:is(.pc-button--text,.logistics-document-link,.logistics-link-button):not(:disabled):hover{color:var(--color-action-hover);background:var(--color-surface-hover)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button:is(.pc-button--text,.logistics-document-link,.logistics-link-button):not(:disabled):active{color:var(--color-action-hover);background:var(--color-surface-selection)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button:disabled:not([aria-busy=true]){opacity:1;color:var(--color-text-secondary);border-color:var(--color-border);background:var(--color-surface-muted);box-shadow:none;cursor:not-allowed}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button[aria-busy=true]{opacity:1;cursor:progress}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(button,input,select,textarea):focus-visible{outline:2px solid var(--color-focus);outline-offset:2px;box-shadow:var(--focus-ring)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(.icon-button,.back-button,.logistics-icon-button,.field-inline-actions button,.logistics-waybill-field button){min-width:var(--tap-target);width:var(--tap-target);min-height:var(--tap-target);height:var(--tap-target);padding:var(--space-2)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .logistics-waybill-field{grid-template-columns:minmax(0, 1fr) var(--tap-target)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=file]):not(.deal-document-name-input):not(.documents-detail-name-input),select,textarea){box-sizing:border-box;min-width:0;max-width:100%;min-height:var(--control-height-md);height:auto;padding:var(--space-2) var(--space-3);border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);color:var(--color-text);background-color:var(--color-surface);font-family:var(--font-body);font-size:var(--pc-body-size);line-height:var(--pc-body-line);font-weight:var(--font-weight-regular);letter-spacing:normal;text-transform:none;transition:border-color var(--motion-fast) var(--ease-standard), background-color var(--motion-fast) var(--ease-standard)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body select{-webkit-appearance:auto;appearance:auto;background-image:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body select:has(+svg){-webkit-appearance:none;appearance:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body textarea{min-height:calc(var(--pc-body-line) * 3 + var(--space-4) + 2px);resize:vertical;max-height:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(input,textarea)::placeholder{color:var(--color-text-secondary);opacity:1}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(input,select,textarea):not(.deal-document-name-input):not(.documents-detail-name-input):not(:disabled):not([readonly]):hover{border-color:var(--color-text-secondary)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(input,select,textarea):not(.deal-document-name-input):not(.documents-detail-name-input):focus-visible{border-color:var(--color-focus)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(input,textarea)[readonly]{color:var(--color-text);border-color:var(--color-border);background:var(--color-surface-muted);cursor:text}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(input,select,textarea):disabled{opacity:1;color:var(--color-text-secondary);-webkit-text-fill-color:var(--color-text-secondary);border-color:var(--color-border);background:var(--color-surface-muted);cursor:not-allowed}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(input,select,textarea):is([aria-invalid=true],:user-invalid){border-color:var(--color-danger);background-color:var(--color-danger-soft)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(input[type=checkbox],input[type=radio]){accent-color:var(--color-action)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body label:has(>:is(input[type=checkbox],input[type=radio])){min-height:var(--tap-target)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(.pc-form-field,.logistics-fields>*,.settings-form-grid>*,.filter-fields>*,.field-inline-control){min-width:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(.pc-form-field,.logistics-panel label,.settings-form-grid label,.filter-fields label){gap:var(--space-2);color:var(--color-text);font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line);font-weight:var(--font-weight-medium);text-transform:none;letter-spacing:normal}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .pc-form-field{align-content:start;display:grid}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .pc-field-control{width:100%}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(.pc-field-label,.pc-field-hint,.pc-field-error){white-space:normal;overflow-wrap:anywhere;min-width:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(.pc-field-hint,.pc-field-error,.pc-form-required-note){font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line);font-weight:var(--font-weight-regular);margin:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(.pc-field-hint,.pc-form-required-note){color:var(--color-text-secondary)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(.pc-field-error,.pc-field-required){color:var(--color-danger)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .logistics-fields{gap:var(--space-4);margin-block:var(--space-4)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .logistics-modal>footer{flex-wrap:wrap}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .logistics-modal footer>.pc-field-hint{flex-basis:100%}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .logistics-cargo-table .pc-field-label{font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .logistics-invoice-search input{padding-inline-start:var(--space-8)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .pc-button-content{min-width:0;display:grid}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(.pc-button-rest,.pc-button-busy){justify-content:center;align-items:center;gap:var(--space-2);overflow-wrap:anywhere;grid-area:1/1;min-width:0;display:inline-flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .pc-button-busy,:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .pc-button[data-loading=true] .pc-button-rest{visibility:hidden}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .pc-button[data-loading=true] .pc-button-busy{visibility:visible}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .pc-button-spinner{width:var(--space-4);height:var(--space-4);flex:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .field-subsections .field-row:not(.field-row-editing){gap:var(--space-1) var(--space-2);padding:var(--space-3) var(--space-4);grid-template-columns:minmax(0,1fr) auto}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .field-subsections .field-row>span:first-child{font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line);grid-area:1/1}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .field-subsections .field-row>strong{min-width:0;font-size:var(--pc-body-size);line-height:var(--pc-body-line);overflow-wrap:anywhere;white-space:normal;grid-area:2/1}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .field-subsections .field-row>svg{grid-area:1/2/3}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .field-subsections .readonly-field-indicator{grid-area:1/2/3;justify-self:end}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .deal-sales-subnavigation .documents-navigation{align-items:stretch;min-width:0;max-width:100%;height:auto}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .deal-sales-subnavigation button.documents-navigation__item{min-width:0;min-height:var(--control-height-md);gap:var(--space-2);height:auto;padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);font-size:var(--pc-body-size);line-height:var(--pc-body-line);font-weight:var(--font-weight-semibold);white-space:normal;overflow-wrap:anywhere}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .deal-sales-subnavigation .documents-navigation__item>span:first-child{min-width:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .pc-form-field>.pc-field-label{display:block}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.ui-panel,.platform-panel,.platform-dashboard>article,.platform-stub,.logistics-panel,.logistics-detail-card,.inventory-section,.warehouse-events-section,.restriction-section,.wh-panel,.wh-kpis>article){border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);min-width:0;color:var(--color-text);box-shadow:none;background-image:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.platform-panel,.platform-dashboard>article,.platform-stub,.logistics-panel,.wh-panel,.wh-kpis>article){padding:var(--space-6)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.ui-panel-header,.ui-panel-footer){padding:var(--space-4) var(--space-6)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-panel-header{justify-content:space-between;align-items:flex-start;gap:var(--space-4);border-bottom:1px solid var(--color-border);flex-wrap:wrap;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-panel-header>div{min-width:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-panel-header h2{font-size:var(--pc-dialog-title-size);line-height:var(--pc-dialog-title-line);font-weight:var(--font-weight-semibold);margin:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-panel-header p{margin:var(--space-1) 0 0;color:var(--color-text-secondary);font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-panel-actions{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-panel-body{min-width:0;padding:var(--space-6)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-panel-body-unpadded{padding:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-panel-footer{border-top:1px solid var(--color-border)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .logistics-detail-card>header{padding:var(--space-4);border-color:var(--color-border);background:var(--color-surface-muted)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.logistics-detail-card header strong,.platform-stage-row b,.platform-progress-row b){color:var(--color-text);font-size:var(--pc-body-size);line-height:var(--pc-body-line);font-weight:var(--font-weight-semibold);white-space:normal;overflow-wrap:anywhere}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.logistics-detail-card header small,.platform-stage-row small,.platform-progress-row small,.platform-dashboard p,.platform-stub p,.platform-kpi small){color:var(--color-text-secondary);font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line);white-space:normal}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.platform-stage-row strong,.platform-progress-row strong,.platform-kpi strong,.wh-kpis strong){color:var(--color-text);font-family:var(--font-body);font-variant-numeric:tabular-nums;text-align:right}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .platform-kpi span{color:var(--color-text-secondary);font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line);font-weight:var(--font-weight-medium);letter-spacing:normal;text-transform:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .platform-kpi{border-top:1px solid var(--color-border)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .platform-sidebar h2{font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.ui-data-table-scroll,.platform-table-scroll,.logistics-table-scroll,.logistics-goods-table-wrap,.logistics-cargo-table,.admin-table-wrap,.warehouse-import-table-wrap,.warehouse-branch-table-wrap,.warehouse-branch-movements-wrap,.warehouse-invoice-status-table-wrap,.warehouse-product-cost-table-wrap,.warehouse-certification-table-wrap,.warehouse-status-table-wrap,.warehouse-plan-fact-table-wrap,.warehouse-realization-table-wrap,.warehouse-sales-structure-table-wrap,.warehouse-customs-table-wrap,.warehouse-customs-items,.inventory-grid){overscroll-behavior:contain;scrollbar-gutter:stable;min-width:0;max-width:100%;max-height:64dvh;display:block;overflow:auto}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.ui-data-table,.logistics-table,.portal-table,.warehouse-dashboard table,.platform-table-scroll table){border-collapse:separate;border-spacing:0;width:100%;color:var(--color-text);font-family:var(--font-body);font-size:var(--pc-body-size);line-height:var(--pc-body-line)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-data-table{min-width:640px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-data-table caption{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.ui-data-table,.logistics-table,.portal-table,.warehouse-dashboard table,.platform-table-scroll table) :is(th,td){height:var(--pc-table-row-height);padding:var(--space-3) var(--space-4);border:0;border-bottom:1px solid var(--color-border);color:var(--color-text);font-size:var(--pc-body-size);line-height:var(--pc-body-line);text-align:left;vertical-align:middle}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.ui-data-table,.logistics-table,.portal-table,.warehouse-dashboard table,.platform-table-scroll table) thead{z-index:var(--layer-sticky);position:sticky;top:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.ui-data-table,.logistics-table,.portal-table,.warehouse-dashboard table,.platform-table-scroll table) th{background:color-mix(in srgb, var(--color-surface) 86%, var(--crm-theme-ink-surface,var(--color-text)));color:var(--color-text);font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line);font-weight:var(--font-weight-semibold);letter-spacing:normal;text-transform:none;white-space:normal}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.ui-data-table,.logistics-table,.portal-table,.warehouse-dashboard table,.platform-table-scroll table) tbody tr{background:var(--color-surface)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.ui-data-table,.logistics-table,.portal-table,.warehouse-dashboard table,.platform-table-scroll table) tbody tr:hover{background:var(--color-surface-hover)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.ui-data-table,.logistics-table,.portal-table,.warehouse-dashboard table,.platform-table-scroll table) tbody tr:is([data-selected=true],[aria-selected=true],.selected){background:var(--color-surface-selection)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-data-table tr[data-current=true]{box-shadow:inset 3px 0 var(--color-action)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.ui-data-table,.logistics-table,.portal-table,.warehouse-dashboard table,.platform-table-scroll table) :is(small,code){font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.ui-data-table,.logistics-table,.platform-table-scroll table) td strong{color:var(--color-text);font-size:inherit;font-weight:var(--font-weight-semibold)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .platform-table-scroll b{color:var(--color-text);font-family:var(--font-body);font-size:inherit;font-variant-numeric:tabular-nums}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-data-table :is(th,td)[data-numeric=true]{text-align:right;font-variant-numeric:tabular-nums}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-table-sort{justify-content:space-between;align-items:center;gap:var(--space-2);width:100%;min-height:var(--control-height-md);border-radius:var(--radius-xs);color:inherit;font:inherit;text-align:inherit;cursor:pointer;background:0 0;border:0;padding:0;display:inline-flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .warehouse-sort-button{align-items:center;gap:var(--space-2);min-width:0;color:inherit;font:inherit;text-align:inherit;cursor:pointer;background:0 0;border:0;border-radius:0;padding:0;display:inline-flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) [data-numeric=true] .ui-table-sort{justify-content:flex-end}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-table-sort-indicator{color:var(--color-text-secondary);font-size:var(--pc-body-size)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-data-table .ui-table-empty{padding:var(--space-6);text-align:center}@media (min-width:861px){:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-data-table [data-sticky=true]{z-index:1;background:inherit;box-shadow:1px 0 var(--color-border);position:sticky;left:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-data-table th[data-sticky=true]{z-index:2;background:var(--color-surface-muted)}}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.warehouse-import-table :is(th,td):nth-child(n+9),.warehouse-customs-table tbody td:nth-child(n+4):nth-child(-n+9),.warehouse-customs-table thead tr:first-child th:nth-child(n+4):nth-child(-n+7),.warehouse-customs-table thead tr:nth-child(2) th,.warehouse-customs-items :is(th,td):nth-child(n+5),.logistics-goods-table :is(th,td):nth-child(n+4),.reconciliation-matrix tbody td.number,.logistics-cargo-table:has(.logistics-table th:nth-child(10)) :is(th,td):nth-child(7),.logistics-cargo-table:has(.logistics-table th:nth-child(10)) :is(th,td):nth-child(8),.logistics-cargo-table:has(.logistics-table th:nth-child(10)) :is(th,td):nth-child(10)),:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.reconciliation-matrix:has(thead tr:first-child th:nth-child(3)[rowspan]) tbody td:nth-child(n+4),.reconciliation-matrix:not(:has(thead tr:first-child th:nth-child(3)[rowspan])) tbody td:nth-child(n+2),.reconciliation-matrix thead tr:nth-child(2) th,.reconciliation-matrix thead th[colspan],.logistics-template-table:has(th:nth-child(8)) :is(th,td):nth-child(n+5),.logistics-template-table :is(th,td):first-child){text-align:right;font-variant-numeric:tabular-nums}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body) .inventory-grid-table.ui-data-table-scroll{box-shadow:none;border:0;border-radius:0}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body) .inventory-grid-table>.ui-data-table thead th{background:var(--color-surface-muted);height:48px;color:var(--color-text);font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line);font-weight:var(--font-weight-semibold);letter-spacing:normal;background-image:none;padding:8px 14px}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body) .inventory-grid-table>.ui-data-table thead th:has(>.warehouse-grid-th){padding:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid-table>.ui-data-table thead th>.warehouse-grid-th{box-sizing:border-box;width:100%;box-shadow:none;border-bottom:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid-table>table thead th>div{justify-content:flex-start;align-items:center;gap:var(--space-2);min-width:0;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid-table>table thead th>div>button{flex:0 auto;min-width:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-report-column-header{justify-content:flex-start;align-items:center;gap:var(--space-2);width:100%;min-width:0;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-report-column-header>.warehouse-sort-button{flex:0 auto;min-width:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-header-filter{flex:none;align-items:center;display:inline-flex;position:relative}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .warehouse-header-filter>button{box-sizing:border-box;width:26px;min-width:26px;height:26px;min-height:26px;color:var(--color-text-muted);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;padding:0;display:grid}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .warehouse-header-filter>button:hover{background:var(--color-surface-hover);color:var(--color-text)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .warehouse-header-filter>button.active{background:var(--color-surface-selection);color:var(--color-action)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-tooltip-popup,:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-popover{border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);box-shadow:0 14px 36px color-mix(in srgb, var(--color-text) 15%, transparent);border-radius:12px;padding:12px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-popover{z-index:18;box-sizing:border-box;gap:8px;width:min(260px,100vw - 24px);max-height:min(360px,100dvh - 24px);display:grid;position:absolute;top:calc(100% + 7px);left:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-heading{border-bottom:1px solid var(--color-border);color:var(--color-text);justify-content:space-between;align-items:center;gap:8px;padding:1px 2px 5px;font-size:12px;line-height:18px;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-heading>strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:700;overflow:hidden}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-heading>small{color:var(--color-text-muted);flex:none;font-size:11px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body>.warehouse-filter-popover-portal{z-index:100;position:fixed}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-popover :is(input:not([type=checkbox]),select){box-sizing:border-box;border:1px solid var(--color-border);background:var(--color-surface);width:100%;min-width:0;height:36px;color:var(--color-text);border-radius:8px;padding:0 10px;font-size:12px;font-weight:500}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-popover :is(input:not([type=checkbox]),select):focus{border-color:var(--color-action);box-shadow:0 0 0 3px color-mix(in srgb, var(--color-action) 16%, transparent);outline:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-popover input::placeholder{color:var(--color-text-muted);font-weight:400}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.warehouse-filter-text-field,.warehouse-range-filter-popover>label){min-width:0;color:var(--color-text-secondary);grid-template-columns:minmax(0,1fr);gap:5px;font-size:11px;font-weight:600;line-height:16px;display:grid}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-range-filter-popover{grid-template-columns:minmax(0,1fr);gap:9px;min-width:0;display:grid}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-range-controls{gap:7px;min-width:0;display:grid}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-range-values{font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-popover .warehouse-range-values input[type=number]{border:0;border-bottom:1px dashed var(--color-border-strong);width:0;min-width:0;height:26px;box-shadow:none;color:var(--color-text-secondary);font-variant-numeric:tabular-nums;-webkit-appearance:textfield;appearance:textfield;background:0 0;border-radius:0;flex:1 1 0;padding:0 3px;font-size:11px;font-weight:650}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-popover .warehouse-range-values input[type=number]:last-child{text-align:right}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-popover .warehouse-range-values input[type=number]::placeholder{color:var(--color-text-secondary);opacity:1;font-weight:650}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-popover .warehouse-range-values input[type=number]:focus{border-color:var(--color-action);box-shadow:none;outline:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-range-values input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-range-slider{background:linear-gradient(to right, var(--color-border-strong) 0 var(--range-start), var(--color-action) var(--range-start) var(--range-end), var(--color-border-strong) var(--range-end) 100%) center / 100% 4px no-repeat;height:28px;margin:0 6px 4px;display:block;position:relative}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-popover .warehouse-range-slider input[type=range]{width:100%;height:28px;box-shadow:none;-webkit-appearance:none;appearance:none;pointer-events:none;background:0 0;border:0;margin:0;padding:0;position:absolute;top:0;bottom:0;left:0;right:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-range-slider input[type=range]:first-child{z-index:2}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-range-slider input[type=range]:last-child{z-index:3}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-range-slider input[type=range]::-webkit-slider-thumb{border:2px solid var(--color-action);background:var(--color-surface);width:16px;height:16px;box-shadow:0 1px 4px color-mix(in srgb, var(--color-text) 20%, transparent);-webkit-appearance:none;appearance:none;cursor:grab;pointer-events:auto;border-radius:50%}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-range-slider input[type=range]::-moz-range-thumb{border:2px solid var(--color-action);background:var(--color-surface);width:13px;height:13px;box-shadow:0 1px 4px color-mix(in srgb, var(--color-text) 20%, transparent);cursor:grab;pointer-events:auto;border-radius:50%}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-range-slider input[type=range]:focus-visible{outline:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-range-slider input[type=range]:focus-visible::-webkit-slider-thumb{outline:3px solid color-mix(in srgb, var(--color-action) 30%, transparent);outline-offset:2px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-range-filter-popover input[type=number]{-webkit-appearance:textfield;appearance:textfield}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-range-filter-popover input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-options{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--color-border-strong) transparent;grid-auto-rows:max-content;align-content:start;gap:2px;min-height:0;max-height:min(248px,100dvh - 155px);padding:2px 4px 2px 2px;display:grid;overflow-y:auto}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-search{border:1px solid var(--color-border);background:var(--color-surface-muted);min-height:34px;color:var(--color-text-muted);border-radius:8px;align-items:center;gap:7px;padding:0 10px;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-search input{height:30px!important;box-shadow:none!important;background:0 0!important;border:0!important;padding:0!important}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-options label{box-sizing:border-box;height:auto;min-height:34px;color:var(--color-text);cursor:pointer;border-radius:7px;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:9px;padding:6px 8px;font-size:12px;font-weight:550;line-height:18px;display:grid}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-options label:hover{background:var(--color-surface-hover)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .warehouse-filter-options input[type=checkbox]{box-sizing:border-box;width:14px;height:14px;min-height:14px;accent-color:var(--color-action);cursor:pointer;border:0;margin:0;padding:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-options label>span{-webkit-line-clamp:2;line-clamp:2;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;min-width:0;max-height:36px;line-height:18px;display:-webkit-box;overflow:hidden}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-filter-empty{padding:var(--space-3) var(--space-2);color:var(--color-text-secondary);font-size:var(--font-size-xs);text-align:center;display:block}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .warehouse-filter-popover>button.warehouse-filter-reset{width:auto;min-height:28px;color:var(--color-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-self:start;margin-top:2px;padding:0 2px;font-size:11px;font-weight:600}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .warehouse-filter-popover>button.warehouse-filter-reset:hover{color:var(--color-action);text-decoration:underline}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid:not(.inventory-grid-table) :is(.inventory-grid-head,.inventory-row){box-sizing:border-box;width:100%}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .inventory-grid-head{z-index:var(--layer-sticky);background:var(--color-surface-muted);min-height:48px;color:var(--color-text);font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line);font-weight:var(--font-weight-semibold);display:grid;position:sticky;top:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .inventory-row{grid-template-columns:var(--warehouse-inventory-columns);min-height:var(--pc-table-row-height);border:0;border-bottom:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);font-size:var(--pc-body-size);line-height:var(--pc-body-line);border-radius:0;gap:0;padding:0;display:grid}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .inventory-row>:is(span,.inventory-edit-cell,.inventory-model){min-width:0;padding:var(--space-3) var(--space-4);font-size:var(--pc-body-size);line-height:var(--pc-body-line);box-shadow:none;flex-direction:column;justify-content:center;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .inventory-row>:is(span,.inventory-edit-cell):before{content:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .inventory-row:hover,:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .inventory-row:hover .inventory-model,:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .warehouse-report-row:hover .warehouse-report-label{background:var(--color-surface-hover)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .inventory-row:is(.selected,[aria-selected=true]){background:var(--color-surface-selection)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid :is(.inventory-model,.warehouse-report-label){background:inherit}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .inventory-model strong{font-size:var(--pc-body-size);line-height:var(--pc-body-line);font-weight:var(--font-weight-semibold);white-space:normal}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid :is(.inventory-model code,.inventory-model small,.warehouse-grid-th,.warehouse-sort-button){font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .warehouse-grid-th{border-bottom:1px solid var(--color-border);align-items:center;gap:5px;min-height:48px;padding:7px 10px;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .warehouse-grid-th .warehouse-sort-button{flex:0 auto;justify-content:flex-start;gap:5px;width:auto;min-width:0;font-weight:650}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .warehouse-grid-th .warehouse-sort-button>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .warehouse-grid-th .warehouse-sort-button>svg{color:var(--color-text-muted);flex:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .warehouse-grid-th .warehouse-sort-button.active{color:var(--color-text)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .warehouse-grid-th .warehouse-sort-button.active>svg{color:var(--color-action)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .warehouse-grid-th .warehouse-field-help{flex:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .warehouse-grid-th .warehouse-header-filter{margin-left:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .warehouse-grid-th>select{width:100%;min-width:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .warehouse-grid-range{gap:var(--space-1);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .warehouse-grid-range input{box-sizing:border-box;width:100%;min-width:0;min-height:34px;padding:0 var(--space-2);border:1px solid var(--color-border);background:color-mix(in srgb, var(--color-surface) 94%, var(--color-canvas));color:var(--color-text);font:inherit;border-radius:12px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-report-grid :is(.inventory-grid-head>:nth-child(n+2),.warehouse-report-row>:nth-child(n+2)){text-align:right;font-variant-numeric:tabular-nums;align-items:flex-end}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-report-grid .inventory-grid-head>:nth-child(n+2) .warehouse-sort-button{text-align:right;justify-content:flex-end}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid :is(.inventory-price-cell,.warehouse-margin-display,.warehouse-price-display){text-align:right;font-variant-numeric:tabular-nums}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-dashboard .inventory-grid:not(.warehouse-report-grid):not(.warehouse-operational-grid) :is(.inventory-grid-head>:nth-child(n+8),.inventory-row>:nth-child(n+8)){text-align:right;font-variant-numeric:tabular-nums;align-items:flex-end}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .warehouse-dashboard .inventory-grid:not(.warehouse-report-grid):not(.warehouse-operational-grid) .inventory-grid-head>:nth-child(n+8) .warehouse-sort-button{text-align:right;justify-content:flex-end}html[data-crm-surface=desktop] .crm-shell.layout-desktop .entity-scroll{min-width:0;padding:var(--space-4) var(--pc-page-gutter) var(--space-6);background:var(--color-canvas);background-image:none;overflow-x:hidden}html[data-crm-surface=desktop] .crm-shell.layout-desktop :is(.entity-card,.deal-chat-row,.task-chat-row){min-height:var(--pc-table-row-height);gap:var(--space-3);padding:var(--space-3) var(--space-4);border-color:var(--color-border);background:var(--color-surface);color:var(--color-text);box-shadow:none}html[data-crm-surface=desktop] .crm-shell.layout-desktop :is(.entity-card,.deal-chat-row,.task-chat-row):hover{background:var(--color-surface-hover)}html[data-crm-surface=desktop] .crm-shell.layout-desktop :is(.entity-card,.deal-chat-row,.task-chat-row):is(.selected,.current){background:var(--color-surface-selection)}html[data-crm-surface=desktop] .crm-shell.layout-desktop :is(.card-body,.chat-row-main) :is(strong,p){font-size:var(--pc-body-size);line-height:var(--pc-body-line)}html[data-crm-surface=desktop] .crm-shell.layout-desktop :is(.card-body,.chat-row-main) strong{font-weight:var(--font-weight-semibold)}html[data-crm-surface=desktop] .crm-shell.layout-desktop :is(.card-body,.chat-row-main,.chat-row-meta) :is(small,time){color:var(--color-text-secondary);font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line)}html[data-crm-surface=desktop] .company-data-table{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);max-height:100%}html[data-crm-surface=desktop] .company-data-table .ui-data-table{min-width:960px}html[data-crm-surface=desktop] .company-data-table .company-table-selection{width:76px;padding-block:var(--space-1)}html[data-crm-surface=desktop] .company-data-table .company-table-check{width:var(--tap-target);height:var(--tap-target);cursor:pointer;place-items:center;display:grid}html[data-crm-surface=desktop] .company-data-table .company-table-selection input{width:20px;height:20px;accent-color:var(--color-action);cursor:pointer;margin:0;display:block}html[data-crm-surface=desktop] .company-data-table .company-table-name{min-width:248px;max-width:340px}html[data-crm-surface=desktop] .company-data-table a,:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-data-table .ui-table-link{color:var(--color-action);font-weight:var(--font-weight-semibold);text-underline-offset:3px;overflow-wrap:anywhere;text-decoration:underline}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-data-table .ui-table-link:hover{color:var(--color-action-hover)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-data-table button.ui-table-link{font:inherit;font-weight:var(--font-weight-semibold);text-align:left;cursor:pointer;background:0 0;border:0;padding:0}html[data-crm-surface=desktop] .company-data-table small{margin-top:var(--space-1);color:var(--color-text-secondary);display:block}html[data-crm-surface=desktop] .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:minmax(240px,.35fr) minmax(0,1fr);display:grid}html[data-crm-surface=desktop] .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode) .app-header{min-height:72px;padding:var(--space-3) var(--space-4) var(--space-3) var(--pc-page-gutter);background:var(--color-canvas);-webkit-backdrop-filter:none;backdrop-filter:none;border:0;grid-area:1/1}html[data-crm-surface=desktop] .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode) .app-filter-grid{padding:var(--space-2) var(--pc-page-gutter) var(--space-2) 0;background:var(--color-canvas);grid-area:1/2;align-content:center}html[data-crm-surface=desktop] .crm-shell.layout-desktop .filter-summary-card{min-height:56px;padding:var(--space-2) var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-sm);box-shadow:none}html[data-crm-surface=desktop] .crm-shell.layout-desktop .filter-summary-card strong{font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line);font-weight:var(--font-weight-semibold);white-space:normal;overflow-wrap:anywhere}html[data-crm-surface=desktop] .crm-shell.layout-desktop .filter-summary-card small{font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line)}html[data-crm-surface=desktop] .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode) .search-zone{align-items:center;gap:var(--space-2) var(--space-4);padding:0 var(--pc-page-gutter) var(--space-2);background:var(--color-canvas);grid-area:2/1/auto/-1;grid-template-columns:minmax(200px,.3fr) minmax(0,1fr);display:grid}html[data-crm-surface=desktop] .crm-shell.layout-desktop .search-zone .segmented{border-radius:var(--radius-sm);min-height:44px;padding:0}html[data-crm-surface=desktop] .crm-shell.layout-desktop .search-zone .segmented button{border-radius:var(--radius-sm);height:auto;min-height:44px;font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line)}html[data-crm-surface=desktop] .crm-shell.layout-desktop .search-scope-switch{gap:var(--space-2);flex-wrap:wrap;grid-column:1/-1;padding:0;display:flex}html[data-crm-surface=desktop] .crm-shell.layout-desktop .search-scope-switch button{min-height:44px;padding:var(--space-2) var(--space-3);font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line)}html[data-crm-surface=desktop] .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.entity-scroll{grid-area:3/1/auto/-1;padding-top:0}@media (max-width:1100px){:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.platform-panel,.platform-dashboard>article,.platform-stub,.logistics-panel,.wh-panel,.wh-kpis>article,.ui-panel-body){padding:var(--space-4)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-panel-body-unpadded{padding:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.ui-panel-header,.ui-panel-footer){padding:var(--space-4)}}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-data-table-scroll[data-density=compact] .ui-data-table :is(th,td){height:var(--pc-table-compact-row-height);padding-block:var(--space-2);font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .inventory-grid .inventory-grid-head .warehouse-grid-th:first-child{background:var(--color-surface-muted)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-table-number-range{gap:8px;display:grid}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-table-number-range label{gap:4px;font-size:12px;display:grid}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-backdrop{z-index:var(--layer-dialog);padding:var(--space-6);background:var(--color-overlay);-webkit-backdrop-filter:none;backdrop-filter:none;justify-content:center;align-items:center;animation:none;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.bottom-sheet.pc-dialog,.mgmt-modal.pc-dialog)[data-size]{width:min(var(--pc-dialog-small), 100%);min-width:0;max-width:100%;max-height:calc(100dvh - var(--space-12));border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-md);flex-direction:column;margin:0;padding:0;animation:none;display:flex;overflow:hidden}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.bottom-sheet.pc-dialog,.mgmt-modal.pc-dialog)[data-size=form]{width:min(var(--pc-dialog-form), 100%)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog>.pc-dialog-header{justify-content:space-between;align-items:center;gap:var(--space-4);height:auto;min-height:72px;padding:var(--space-4) var(--space-6);border-bottom:1px solid var(--color-border);background:var(--color-surface);flex:none;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-header>:first-child{min-width:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-header h2{color:var(--color-text);font:var(--font-weight-semibold) var(--pc-dialog-title-size) / var(--pc-dialog-title-line) var(--font-body);overflow-wrap:anywhere;margin:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-header p{margin:var(--space-1) 0 0;color:var(--color-text-secondary);font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line);overflow-wrap:anywhere}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog .pc-dialog-close{width:var(--tap-target);min-width:var(--tap-target);min-height:var(--tap-target);height:var(--tap-target);padding:var(--space-2);border-radius:var(--radius-sm);color:var(--color-text-secondary);background:var(--color-surface);cursor:pointer;border:1px solid #0000;flex:none;place-items:center;display:grid}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog .pc-dialog-close:hover{border-color:var(--color-border);background:var(--color-surface-hover);color:var(--color-text)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-content{flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-content[hidden]{display:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog .pc-dialog-body{min-width:0;min-height:0;padding:var(--space-6);overscroll-behavior:contain;scrollbar-gutter:stable;font-size:var(--pc-body-size);line-height:var(--pc-body-line);flex:auto;overflow:auto}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog .pc-dialog-footer{justify-content:flex-end;gap:var(--space-3);padding:var(--space-4) var(--space-6);border-top:1px solid var(--color-border);background:var(--color-surface);flex-wrap:wrap;flex:none;margin:0;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-body :is(.sheet-footer,.modal-actions,.form-actions){bottom:calc(-1 * var(--space-6));z-index:var(--layer-sticky);gap:var(--space-3);margin:var(--space-6) calc(-1 * var(--space-6)) calc(-1 * var(--space-6));padding:var(--space-4) var(--space-6);border-top:1px solid var(--color-border);background:var(--color-surface);flex-wrap:wrap;display:flex;position:sticky}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-confirmation{align-items:flex-start;gap:var(--space-3);min-height:0;padding:var(--space-6);color:var(--color-text);flex-direction:column;display:flex;overflow:auto}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-confirmation>svg{color:var(--color-warning);flex:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-confirmation h3{font:var(--font-weight-semibold) var(--pc-dialog-title-size) / var(--pc-dialog-title-line) var(--font-body);margin:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-confirmation p{color:var(--color-text-secondary);font-size:var(--pc-body-size);line-height:var(--pc-body-line);margin:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-confirmation__actions{gap:var(--space-3);width:100%;margin-top:var(--space-3);flex-wrap:wrap;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-confirmation__actions button{min-height:var(--control-height-md);padding:var(--space-2) var(--space-4);border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);font:var(--font-weight-semibold) var(--pc-secondary-size) / var(--pc-secondary-line) var(--font-body);cursor:pointer;white-space:normal}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-confirmation__actions .pc-dialog-continue{border-color:var(--color-action);background:var(--color-action);color:var(--color-on-primary)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-confirmation__actions .pc-dialog-continue:hover{border-color:var(--color-action-hover);background:var(--color-action-hover)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-confirmation__actions .pc-dialog-discard{color:var(--color-danger);border-color:var(--color-danger)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-confirmation__actions .pc-dialog-discard:hover{background:var(--color-danger-soft)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.pc-dialog,.pc-dialog-confirmation__actions button,.pc-dialog-close):focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .logistics-modal-backdrop{z-index:var(--layer-dialog);padding:var(--space-6);background:var(--color-overlay);-webkit-backdrop-filter:none;backdrop-filter:none;align-items:center}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .logistics-modal{width:min(1180px,100%);max-height:calc(100dvh - var(--space-12));border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-md);margin:0;overflow:hidden}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .logistics-modal>:is(header,footer),:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .logistics-modal>.pc-dialog-content>footer{gap:var(--space-3);padding:var(--space-4) var(--space-6);border-color:var(--color-border);background:var(--color-surface);flex-wrap:wrap}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .logistics-modal h3{font:var(--font-weight-semibold) var(--pc-dialog-title-size) / var(--pc-dialog-title-line) var(--font-body);margin:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .logistics-modal header small{color:var(--color-text-secondary);font-size:var(--pc-secondary-size);font-weight:var(--font-weight-medium);letter-spacing:normal;text-transform:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .logistics-modal>fieldset{overscroll-behavior:contain;scrollbar-gutter:stable;min-width:0;min-height:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .logistics-modal>.pc-dialog-content{overflow:hidden}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .logistics-modal>.pc-dialog-content>fieldset{overscroll-behavior:contain;scrollbar-gutter:stable;border:0;border-radius:0;flex:auto;min-width:0;min-height:0;margin:0;overflow:auto}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .logistics-modal>.pc-dialog-content>footer{border-top:1px solid var(--color-border);flex:none;justify-content:flex-end;align-items:center;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-status-message{--pc-state-ink:var(--color-info);--pc-state-surface:var(--color-info-soft);align-items:flex-start;gap:var(--space-3);padding:var(--space-4);border:1px solid var(--pc-state-ink);border-radius:var(--radius-md);background:var(--pc-state-surface);color:var(--pc-state-ink);font-size:var(--pc-body-size);line-height:var(--pc-body-line);display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-status-message--success{--pc-state-ink:var(--color-success);--pc-state-surface:var(--color-success-soft)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-status-message--warning{--pc-state-ink:var(--color-warning);--pc-state-surface:var(--color-warning-soft)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-status-message--danger{--pc-state-ink:var(--color-danger);--pc-state-surface:var(--color-danger-soft)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-status-message__icon{flex:none;margin-top:2px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-status-message__content{gap:var(--space-1);overflow-wrap:anywhere;flex:auto;min-width:0;display:grid}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-status-message__content strong{font-weight:var(--font-weight-semibold)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-status-message__content p{margin:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-status-message__action{align-items:center;gap:var(--space-2);flex:none;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .empty-state.pc-empty-state{gap:var(--space-2);height:auto;min-height:200px;padding:var(--space-8) var(--space-6);color:var(--color-text)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-empty-state strong{margin-top:var(--space-2);font-size:var(--pc-dialog-title-size);font-weight:var(--font-weight-semibold);line-height:var(--pc-dialog-title-line)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-empty-state p{max-width:560px;color:var(--color-text-secondary);font-size:var(--pc-body-size);line-height:var(--pc-body-line);margin:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-empty-state[data-state=error]>i{background:var(--color-danger-soft);color:var(--color-danger)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-empty-state[data-state=no-access]>i{background:var(--color-info-soft);color:var(--color-info)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-empty-state__action{justify-content:center;gap:var(--space-3);margin-top:var(--space-4);flex-wrap:wrap;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .skeleton-list.pc-skeleton-list{padding:var(--space-4)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-skeleton-list .skeleton-card{gap:var(--space-4);min-height:var(--pc-table-row-height);height:auto;padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--color-border);background:var(--color-surface);border-radius:0;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-skeleton-list .skeleton-card :is(i,span){border-radius:var(--radius-xs);background:var(--color-surface-muted);animation:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-skeleton-list .skeleton-card i{flex:none;width:32px;height:32px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-skeleton-list .skeleton-card span{height:12px;margin:var(--space-2) 0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-state-sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-refreshing-label{align-items:center;gap:var(--space-2);margin:0 0 var(--space-3);color:var(--color-info);font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line);display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-data-value{font-variant-numeric:tabular-nums}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-data-value[data-state=no-access]{color:var(--color-text-secondary);font-size:var(--pc-secondary-size)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-data-value--loading{color:var(--color-info)}@media (max-width:768px){:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-backdrop{padding:var(--space-4)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.bottom-sheet.pc-dialog,.mgmt-modal.pc-dialog)[data-size]{max-height:calc(100dvh - var(--space-8))}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-status-message{flex-wrap:wrap}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-status-message__action{margin-left:var(--space-8);flex-basis:100%}}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-footer>.form-actions{gap:var(--space-3);flex-wrap:wrap;justify-content:flex-end;min-width:0;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog-body [hidden]{display:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog .date-time-modal{background:var(--color-surface);width:100%;max-height:none;box-shadow:none;border:0;border-radius:0;overflow:visible}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog .date-modal-body{gap:var(--space-4);grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);overflow:visible}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog :is(.calendar-panel,.time-panel){min-width:0;padding:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog :is(.calendar-head button,.calendar-days button,.quick-times button){min-height:var(--control-height-md);border-radius:var(--radius-sm);font-size:var(--pc-secondary-size)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog :is(.calendar-head button,.calendar-days button){min-width:var(--tap-target)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog .calendar-days{gap:var(--space-1)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog .calendar-days :is(button,i){aspect-ratio:auto}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog .calendar-days button.selected{color:var(--color-on-primary);background:var(--color-primary);box-shadow:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog :is(.calendar-weekdays,.time-panel>label small,.chosen-datetime small){font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog .date-time-modal>footer{bottom:calc(-1 * var(--space-6));background:var(--color-surface);padding:var(--space-4) 0;margin-top:var(--space-4);gap:var(--space-3);flex-wrap:wrap;position:sticky}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog .date-time-modal>footer button{min-height:var(--control-height-md);height:auto;padding:var(--space-2) var(--space-4);font-size:var(--pc-body-size);line-height:var(--pc-body-line);border-radius:var(--radius-sm)}@media (max-width:960px){:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog .date-modal-body{grid-template-columns:minmax(0,1fr)}}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .pc-dialog .date-time-modal.date-only .date-modal-body{grid-template-columns:minmax(0,1fr)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button{padding-block:var(--space-1);font-size:var(--pc-body-size);line-height:var(--pc-body-line)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(.pc-button,.primary-inline,.sheet-footer button,.logistics-panel button,.platform-stub-actions button,.document-modal>footer button,.date-time-modal>footer button){gap:var(--space-1);padding:var(--space-1) var(--space-3)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=file]):not(.deal-document-name-input):not(.documents-detail-name-input),select,textarea){padding:var(--space-1) var(--space-3)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(.search-box input,.logistics-invoice-search input){padding-inline-start:var(--space-8)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(.icon-button,.back-button,.logistics-icon-button,.field-inline-actions button,.logistics-waybill-field button){padding:var(--space-1)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.ui-data-table,.logistics-table,.portal-table,.warehouse-dashboard table,.platform-table-scroll table) :is(th,td){box-sizing:border-box;padding:var(--space-1) var(--space-3)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .ui-data-table-scroll[data-density=compact] .ui-data-table :is(th,td){padding-block:var(--space-1)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(.ui-table-sort,.warehouse-sort-button){min-height:var(--control-height-sm);font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line);padding:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) :is(.ui-data-table-scroll,.platform-table-scroll,.logistics-table-scroll,.logistics-goods-table-wrap,.logistics-cargo-table,.admin-table-wrap,.warehouse-import-table-wrap,.warehouse-branch-table-wrap,.warehouse-branch-movements-wrap,.warehouse-invoice-status-table-wrap,.warehouse-product-cost-table-wrap,.warehouse-certification-table-wrap,.warehouse-status-table-wrap,.warehouse-plan-fact-table-wrap,.warehouse-realization-table-wrap,.warehouse-sales-structure-table-wrap,.warehouse-customs-table-wrap,.warehouse-customs-items,.inventory-grid){max-height:calc(100dvh - 190px)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .pc-status-message{gap:var(--space-2);padding:var(--space-3)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .empty-state.pc-empty-state{min-height:120px;padding:var(--space-4)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .company-data-table .company-table-selection{width:44px;padding-block-start:0;padding-block-end:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .company-data-table .company-table-selection input{width:16px;height:16px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .inventory-grid .inventory-row>:is(span,.inventory-edit-cell,.inventory-model){padding:var(--space-1) var(--space-3)}@media (min-width:761px){:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics.platform-dashboard{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:none;padding:0 12px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-dashboard-title{grid-column:1/-1;margin:0;font-size:18px;line-height:23px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics.platform-dashboard>article,:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-panel{padding:10px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics.platform-dashboard>article{min-height:102px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-kpi{gap:4px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-kpi>span{font-size:12px;line-height:16px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-kpi>small{font-size:11px;line-height:15px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-kpi-value{min-height:0;color:var(--color-action);font-variant-numeric:tabular-nums;text-align:left;background:0 0;border:0;justify-self:start;padding:0;font-size:23px;font-weight:600;line-height:29px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-kpi-value small{font-size:11px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-kpi.customer>strong{text-align:left;font-size:16px;line-height:20px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-help{width:18px;min-height:18px;padding:0;font-size:11px;line-height:16px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-help-text{margin-top:4px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-finance{grid-column:span 1}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-panel h2{margin-bottom:6px;font-size:14px;line-height:18px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-finance h3{margin:10px 0 4px;font-size:12px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-finance-rows>div{border-bottom:1px solid var(--color-border);grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:6px 0;font-size:11px;line-height:15px;display:grid}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-finance-rows b{text-align:right;font-variant-numeric:tabular-nums}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-stage-row{gap:8px;min-height:37px;padding:5px 0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-progress-row{gap:4px 8px;min-height:42px;padding:5px 0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics :is(.platform-stage-row,.platform-progress-row) b{font-size:12px;line-height:16px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics :is(.platform-stage-row,.platform-progress-row) small{font-size:11px;line-height:14px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-progress-row i{height:4px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-dashboard-state{min-height:32px;padding:6px 10px;font-size:12px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-table-scroll{max-height:none;overflow:auto visible}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-modal-backdrop{z-index:var(--layer-dialog);background:var(--color-overlay);place-items:center;padding:16px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-modal{border:1px solid var(--color-border);background:var(--color-surface);border-radius:6px;flex-direction:column;width:min(1080px,100%);max-height:calc(100dvh - 32px);display:flex;overflow:hidden}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-modal>header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-modal>header h2{margin:0;font-size:16px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-modal-table{min-height:0;overflow:auto}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-modal table{border-collapse:collapse;width:100%}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-modal :is(th,td){border-bottom:1px solid var(--color-border);text-align:left;padding:6px 10px;font-size:12px;line-height:17px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-modal th{background:var(--color-surface-muted);position:sticky;top:0}}@media (min-width:761px) and (max-width:1199px){:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics.platform-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-stages,:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .realtime-statistics .platform-table-panel{grid-column:span 2}}html[data-crm-surface=desktop] .detail-pane :is(.deal-company-search,.deal-contact-switcher,.deal-contact-card,.deal-dialog-manager) header strong,html[data-crm-surface=desktop] .detail-pane :is(.deal-company-search-results,.deal-contact-main,.deal-dialog-select,.deal-fields-contact-menu) strong{white-space:normal;overflow-wrap:anywhere;font-size:15px;line-height:1.5}html[data-crm-surface=desktop] .detail-pane :is(.deal-company-search,.deal-contact-switcher,.deal-contact-card,.deal-dialog-manager) header small,html[data-crm-surface=desktop] .detail-pane :is(.deal-company-search-results,.deal-contact-main,.deal-dialog-select,.deal-fields-contact-menu) small{white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.5;display:block}html[data-crm-surface=desktop] .detail-pane .deal-company-search>label input{font-size:14px}html[data-crm-surface=desktop] .detail-pane :is(.deal-company-search,.deal-contact-switcher,.deal-dialog-manager)>header>button,html[data-crm-surface=desktop] .detail-pane .deal-dialog-list article>footer button{min-height:40px;font-size:14px}html[data-crm-surface=desktop] .detail-pane .deal-status-stack{grid-template-columns:minmax(0,1fr)}html[data-crm-surface=desktop] .detail-pane .next-action{grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto}html[data-crm-surface=desktop] .detail-pane .next-action-main{grid-column:1}html[data-crm-surface=desktop] .detail-pane .next-action-summary,html[data-crm-surface=desktop] .detail-pane .next-action-summary>span{width:100%;max-width:none}html[data-crm-surface=desktop] .detail-pane .next-action-main p{white-space:normal;text-overflow:clip;overflow-wrap:anywhere;overflow:visible}html[data-crm-surface=desktop] .detail-pane .relation-builder>header{flex-wrap:wrap}html[data-crm-surface=desktop] .detail-pane .relation-builder>header strong,html[data-crm-surface=desktop] .detail-pane .relation-cards article strong{font-size:15px;line-height:1.5}html[data-crm-surface=desktop] .detail-pane .relation-builder>header small,html[data-crm-surface=desktop] .detail-pane .relation-cards article :is(small,em){font-size:13px;line-height:1.5}html[data-crm-surface=desktop] .detail-pane .relation-builder>header>button{white-space:nowrap;min-height:40px;font-size:14px}html[data-crm-surface=desktop] .workspace[data-section=sales] .entity-scroll{min-width:0;overflow:auto}html[data-crm-surface=desktop] .workspace .search-zone{flex-wrap:wrap;min-width:0}html[data-crm-surface=desktop] .workspace .search-field{min-width:min(260px,100%)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace .list-pane .search-zone .search-field>input{box-shadow:none;border:0;outline:0}html[data-crm-surface=desktop] .crm-shell.layout-desktop .search-zone .search-field:focus-within{box-shadow:var(--focus-ring)}html[data-crm-surface=desktop] .workspace .view-switch{flex:0 auto}html[data-crm-surface=desktop] .workspace .view-switch>button{white-space:nowrap}html[data-crm-surface=desktop] .workspace .search-scope-switch{flex-wrap:wrap}html[data-crm-surface=desktop] .workspace .load-more-button{width:auto;min-width:160px;margin:var(--space-3) auto;display:block}html[data-crm-surface=desktop] .warehouse-report-catalog{gap:var(--space-2)}html[data-crm-surface=desktop] .warehouse-report-card{padding:var(--space-3);border-radius:var(--radius-md);min-height:64px}html[data-crm-surface=desktop] .warehouse-report-card h3{font-size:var(--font-size-sm);line-height:1.4}html[data-crm-surface=desktop] .warehouse-reports-section .warehouse-report-filter-bar{gap:var(--space-3);flex-wrap:wrap}html[data-crm-surface=desktop] .warehouse-inventory-grid{min-width:0}html[data-crm-surface=desktop] .warehouse-grid-row{font-size:14px;line-height:1.45}html[data-crm-surface=desktop] .warehouse-grid-head{z-index:var(--layer-sticky);background:var(--color-surface-muted);position:sticky;top:0}html[data-crm-surface=desktop] .warehouse-model-name{color:var(--color-text);line-height:1.45}html[data-crm-surface=desktop] .warehouse-report-number{font-variant-numeric:tabular-nums;text-align:right}html[data-crm-surface=desktop] .warehouse-report-header-actions{flex-wrap:wrap}html[data-crm-surface=desktop] .registry-data-note{padding:var(--space-2) var(--space-3);color:var(--color-text-muted);font-size:13px;line-height:1.5}html[data-crm-surface=desktop] .crm-shell.layout-desktop .registry-create-button{align-items:center;gap:var(--space-2);white-space:nowrap;min-height:44px;padding:var(--space-2) var(--space-3);font-size:14px;display:inline-flex}html[data-crm-surface=desktop] .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane{grid-template-columns:minmax(440px,.45fr) minmax(0,.55fr)}html[data-crm-surface=desktop] .crm-shell.layout-desktop .app-header .header-copy>span{white-space:nowrap}html[data-crm-surface=desktop] .crm-shell.layout-desktop .sales-search-zone .view-switch{display:inline-flex}html[data-crm-surface=desktop] .crm-shell.layout-desktop .sales-search-zone .view-switch>button{padding-inline:var(--space-3)}html[data-crm-surface=desktop] .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode) .search-zone{grid-template-columns:auto minmax(260px,1fr)}html[data-crm-surface=desktop] .crm-shell.layout-desktop .workspace[data-section=tasks]:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane .app-header{grid-column:1/-1}@media (max-width:1200px){html[data-crm-surface=desktop] .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane{grid-template-rows:auto auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}html[data-crm-surface=desktop] .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode) .app-header{grid-area:1/1}html[data-crm-surface=desktop] .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode) .app-filter-grid{padding-inline:var(--pc-page-gutter);grid-area:2/1}html[data-crm-surface=desktop] .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode) .search-zone{grid-area:3/1}html[data-crm-surface=desktop] .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.entity-scroll{grid-area:4/1}}html[data-crm-surface=desktop] body .crm-shell.layout-desktop{--shell-bar-height:46px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .desktop-rail.shell-navigation,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .desktop-rail.shell-navigation[data-collapsed=true]{width:var(--rail-width)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .shell-app-bar{min-height:var(--shell-bar-height);height:var(--shell-bar-height);gap:10px;padding:4px 12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.shell-app-action,.shell-user-button){min-height:30px;padding:4px 8px;font-size:12px;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .shell-notifications-action{border-radius:50%;width:30px;min-width:30px;height:30px;padding:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .shell-language-picker{width:30px;height:30px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .shell-user-avatar{flex-basis:26px;width:26px;height:26px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .shell-navigation-scroll{padding:6px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .shell-navigation-group+.shell-navigation-group{margin-top:6px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .shell-navigation-group-title{padding:3px 8px;font-size:11px;line-height:15px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .shell-navigation-item{gap:8px;min-height:32px;padding:5px 8px;font-size:12px;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .shell-navigation-item[aria-current=page]:before{top:6px;bottom:6px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .shell-navigation-icon,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .shell-navigation-icon svg{flex-basis:17px;width:17px;height:17px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .shell-navigation-toggle{min-height:34px;padding:6px 12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .shell-navigation[data-collapsed=true] .shell-navigation-item{justify-content:center;padding-inline-start:0;padding-inline-end:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .app-header{min-height:46px;padding:6px 12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:minmax(300px,.35fr) minmax(0,.65fr)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode) .app-header{grid-area:1/1;min-height:46px;padding:6px 12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode) .app-filter-grid{width:fit-content;min-width:0;max-width:100%;box-shadow:none;background:0 0;border:0;flex-wrap:wrap;grid-area:1/2;justify-content:flex-end;place-self:center end;align-items:center;gap:6px;padding:5px 12px 5px 0;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode) .search-zone{min-height:0;box-shadow:none;background:0 0;border:0;grid-area:2/1/auto/-1;grid-template-columns:auto minmax(200px,1fr);gap:6px;padding:0 12px 6px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.entity-scroll{grid-area:3/1/auto/-1;padding-top:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .app-header .header-copy>span{font-size:20px;line-height:26px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .app-filter-grid{flex-wrap:wrap;align-items:center;gap:6px;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .filter-summary-card{flex:0 auto;gap:6px;width:max-content;max-width:min(360px,100%);min-height:30px;padding:4px 8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .filter-summary-card>span{flex-direction:row;align-items:center;gap:6px;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .filter-summary-card>span>small{white-space:nowrap}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .filter-summary-card>span>strong{white-space:nowrap;text-overflow:ellipsis;min-width:0;max-width:230px;overflow:hidden}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .filter-summary-card>svg{flex:0 0 14px;width:14px;height:14px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .filter-summary-card :is(strong,small){font-size:12px;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .filter-summary-card>small{margin-top:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.registry-create-button,.search-field,.view-switch>button,.search-scope-switch>button,.search-zone .segmented,.search-zone .segmented>button){height:auto;min-height:30px;font-size:12px;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.registry-create-button,.view-switch>button,.search-scope-switch>button,.search-zone .segmented>button){white-space:nowrap;padding:5px 8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .entity-scroll{padding:6px 12px 14px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.entity-card,.deal-chat-row,.task-chat-row){gap:8px;min-height:42px;padding:6px 10px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .task-desktop-list{gap:8px;padding:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .task-desktop-search>div{min-height:30px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .task-desktop-toolbar :is(select,input:not([type=checkbox])){min-height:30px;padding-block-start:4px;padding-block-end:4px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .task-desktop-toolbar .task-desktop-search input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=file]){min-height:28px;padding:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .clients-desktop-registry{gap:8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .clients-table-toolbar{gap:8px;min-height:30px;font-size:12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .clients-column-picker summary{padding:5px 8px;font-size:12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .clients-desktop-table .ui-data-table th{height:30px;padding:5px 8px;font-size:12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .clients-desktop-table .ui-data-table td{height:42px;padding:5px 8px;font-size:13px;line-height:18px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .clients-table-avatar{flex-basis:28px;width:28px;height:28px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .clients-table-identity{gap:8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .clients-desktop-table small{margin-top:2px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-horizontal-board{gap:8px;padding-bottom:8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-stage-column{flex-basis:264px;width:264px;min-width:240px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.sales-stage-heading,.sales-stage-cards,.sales-board-card){padding:8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-desktop-list .sales-stage-column .sales-stage-heading>h2{font-size:14px;line-height:18px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-desktop-list .sales-horizontal-board .sales-stage-column .sales-board-card .sales-card-next>strong{font-size:13px;line-height:18px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-desktop-list .sales-board-card .sales-card-responsible>:is(span,small){font-size:12px;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-desktop-list--pipeline{gap:10px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-board-controls button{border-color:color-mix(in srgb, var(--color-border) 88%, transparent);background:var(--color-surface);border-radius:8px;min-height:28px;transition:border-color .16s,box-shadow .16s,transform .16s}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-board-controls button:hover{border-color:var(--color-action);box-shadow:0 4px 12px color-mix(in srgb, var(--color-action) 16%, transparent);transform:translateY(-1px)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-drag-help{color:var(--color-text-muted);padding-left:10px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-horizontal-board{gap:12px;padding:2px 2px 10px;scroll-padding-inline:2px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-stage-column{border-color:color-mix(in srgb, var(--color-border) 86%, transparent);background:color-mix(in srgb, var(--color-surface-muted) 92%, var(--color-surface));border-radius:14px;flex-basis:276px;width:276px;min-width:248px;box-shadow:0 8px 24px #1925300d}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-stage-heading{border-top:0;border-bottom-color:color-mix(in srgb, var(--color-border) 78%, transparent);background:linear-gradient(135deg, color-mix(in srgb, var(--stage) 13%, var(--color-surface)) 0%, var(--color-surface) 68%);padding:11px 12px 10px;position:relative}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-stage-heading:before{background:var(--stage);content:"";border-radius:0 0 4px 4px;height:3px;position:absolute;top:0;left:12px;right:12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-desktop-list .sales-stage-column .sales-stage-heading>h2{gap:7px;margin-bottom:3px;font-size:14px;font-weight:700;line-height:19px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-stage-heading>span{color:color-mix(in srgb, var(--stage) 70%, var(--color-text-secondary));background:color-mix(in srgb, var(--stage) 10%, transparent);border-radius:999px;padding:2px 6px;font-size:11px;font-weight:600;line-height:14px;display:inline-flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-stage-cards{gap:8px;padding:9px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-empty-stage{border:1px dashed color-mix(in srgb, var(--color-border) 88%, transparent);color:var(--color-text-muted);text-align:center;border-radius:10px;margin:10px 2px;padding:20px 8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-board-card{border-color:color-mix(in srgb, var(--color-border) 78%, transparent);background:var(--color-surface);border-radius:12px;padding:12px;transition:border-color .16s,box-shadow .16s,transform .16s;box-shadow:0 2px 8px #1925300d}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-board-card:hover{border-color:color-mix(in srgb, var(--color-action) 46%, var(--color-border));transform:translateY(-1px);box-shadow:0 6px 16px #19253017}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-board-card .sales-card-heading{align-items:flex-start;gap:8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-board-card .sales-card-actions{flex:none;align-items:center;gap:2px;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-board-card .sales-card-actions .sales-record-check{width:24px;min-height:24px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-board-card .sales-card-actions .sales-record-check input{width:16px;height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-board-card .sales-object-link{color:var(--color-text);font-size:14px;font-weight:700;line-height:19px;text-decoration:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-board-card .sales-object-link:hover{color:var(--color-action)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-card-details{gap:3px;margin-top:6px;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-card-details :is(.sales-card-client,.sales-card-product){color:var(--color-text-secondary);margin:0;font-size:12px;line-height:17px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-card-details .sales-card-budget{color:var(--color-text);margin:7px 0 0;font-size:15px;line-height:20px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-card-details .sales-card-responsible{color:var(--color-text-secondary);align-items:center;gap:4px 7px;margin-top:5px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-card-details .sales-card-responsible>:is(span,small){font-size:12px;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-card-details .sales-communication-signals>span{background:var(--color-surface-muted);border-radius:5px;padding:1px 5px;font-size:11px;line-height:15px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-card-next{border:0;border-top:1px solid color-mix(in srgb, var(--color-border) 72%, transparent);background:color-mix(in srgb, var(--color-surface-muted) 72%, var(--color-surface));border-radius:0 0 11px 11px;margin:12px -12px -12px;padding:8px 12px 9px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-card-next.is-empty{background:color-mix(in srgb, var(--color-surface-muted) 50%, var(--color-surface));padding:8px 12px 9px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-card-next.overdue{border-color:color-mix(in srgb, var(--color-danger) 24%, transparent);background:color-mix(in srgb, var(--color-danger-soft) 76%, var(--color-surface))}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.detail-header,.clients-desktop-detail>.detail-header){gap:8px;min-height:52px;padding:8px 12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.deal-title-block h1,.deal-title,.clients-desktop-detail .deal-title,.task-desktop-detail-header h1){font-size:20px;line-height:26px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.detail-content,.clients-desktop-detail .detail-content,.clients-related-tasks,.task-desktop-detail){gap:10px;padding:12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.clients-contact-summary,.clients-company-summary){gap:6px 14px;padding:0 12px 8px;font-size:13px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .clients-detail-navigation{padding-inline-start:12px;padding-inline-end:12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .clients-detail-navigation button{min-height:30px;padding:5px 8px;font-size:12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.clients-desktop-detail .field-section,.clients-overview-relations,.task-desktop-overview,.task-desktop-history,.task-desktop-fields){gap:8px;margin-bottom:8px;padding:10px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .clients-desktop-detail .field-row{min-height:32px;font-size:13px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .task-desktop-facts>div{gap:3px;padding:8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .detail-pane :is(.deal-company-search,.deal-contact-switcher,.deal-contact-card,.deal-dialog-manager,.relation-builder) header strong,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .detail-pane :is(.deal-company-search-results,.deal-contact-main,.deal-dialog-select,.deal-fields-contact-menu,.relation-cards article) strong{font-size:13px;line-height:18px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .detail-pane :is(.deal-company-search,.deal-contact-switcher,.deal-contact-card,.deal-dialog-manager,.relation-builder) header small,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .detail-pane :is(.deal-company-search-results,.deal-contact-main,.deal-dialog-select,.deal-fields-contact-menu,.relation-cards article) :is(small,em){font-size:12px;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .detail-pane :is(.deal-company-search,.deal-contact-switcher,.deal-dialog-manager,.relation-builder)>header>button,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .detail-pane .deal-dialog-list article>footer button{min-height:30px;padding:4px 8px;font-size:12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.mgmt-page,.settings-content,.mgmt-stage3-mass,.leadership-warehouse-reports,.warehouse-dashboard){width:100%;max-width:none;padding:12px 12px 20px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.mgmt-primary,.mgmt-secondary,.mgmt-danger,.mgmt-link){min-height:30px;box-shadow:none;padding:4px 9px;font-size:12px;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.mgmt-filterbar,.sales-dashboard-filters){gap:8px;margin-bottom:8px;padding:8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-dashboard-filter-row{gap:8px;padding:6px 0 0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-select{gap:3px;min-width:140px;font-size:12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-select select{height:30px;min-height:30px;padding-block-start:4px;padding-block-end:4px;font-size:13px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-select svg{top:8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-dashboard-scope{gap:6px 14px;margin-bottom:8px;font-size:12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-dashboard-desktop .mgmt-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-kpi-grid :is(article,button){gap:4px;min-height:76px;padding:8px 10px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-kpi-grid strong{font-size:20px;line-height:26px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-kpi-grid :is(span,small){font-size:12px;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-card{border-radius:var(--radius-md);box-shadow:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.sales-dashboard-desktop,.mgmt-stage3-mass) .mgmt-card{padding:10px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-card>header{gap:8px;min-height:40px;padding:8px 10px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-card h2{font-size:16px;line-height:22px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-dashboard-desktop .sales-report-row{min-height:36px;font-size:13px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-dashboard-desktop .sales-report-row :is(strong,button){font-size:13px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-dashboard-conversion-note{margin-bottom:8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-stage3-settings{grid-template-columns:220px minmax(0,1fr)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-stage3-settings .settings-sidebar{padding:8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-stage3-settings .settings-sidebar nav button{min-height:42px;padding:6px 8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-stage3-settings .settings-scroll{padding:12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs{align-items:center;gap:6px;min-width:0;margin-bottom:8px;padding:6px 8px;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs-row{flex-wrap:nowrap;gap:6px;min-width:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs-row:first-child{flex:1 1 0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs-list{scrollbar-width:thin;flex-wrap:nowrap;gap:4px;min-width:0;overflow-x:auto}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-report-tab{flex:none;font-size:12px;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-report-tab-label{white-space:nowrap;min-height:28px;padding:4px 8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-report-tab-star{width:28px;height:28px;min-height:28px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.warehouse-report-tabs-toggle,.warehouse-report-tabs-kicker){white-space:nowrap;flex-shrink:0;font-size:12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-report-tabs-toggle{padding:4px 6px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs:has(>.warehouse-report-tabs-row:nth-child(3)){flex-wrap:wrap}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs-row:nth-child(3){flex:100%}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-report-tab-content{gap:8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-active-report-header{padding-top:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-active-report-header h2{margin-bottom:2px;font-size:16px;line-height:22px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-report-control-bar{padding:6px 8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-report-control-bar .warehouse-report-date-nav{flex:0 290px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-report-date-presets{flex-wrap:wrap;gap:4px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.warehouse-report-date-display,.warehouse-report-date-arrow,.warehouse-report-date-presets button){height:28px;min-height:28px;padding:4px 8px;font-size:12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard :is(.warehouse-source,.warehouse-legal-entity-filter){min-height:34px;box-shadow:none;gap:2px;padding:4px 28px 4px 8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard :is(.warehouse-source,.warehouse-legal-entity-filter)>svg{bottom:7px;right:8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard :is(.warehouse-source,.warehouse-legal-entity-filter) select{min-height:18px;font-size:13px;line-height:18px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.warehouse-report-filter-stack,.warehouse-report-filter-bar,.warehouse-report-search-row){gap:8px;margin-bottom:8px;padding:8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-report-filter-stack{flex-wrap:wrap;align-items:end;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-report-filter-stack :is(.warehouse-report-filter-bar,.warehouse-report-search-row){margin:0;padding:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-report-filter-stack .warehouse-report-search-row{flex:340px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-report-search{gap:3px;min-width:min(100%,240px);font-size:12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-report-reset{height:30px;min-height:30px;padding-block-start:4px;padding-block-end:4px;font-size:13px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tabs{gap:4px;margin-bottom:8px;padding-bottom:6px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tabs button{min-height:30px;padding:5px 10px;font-size:13px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools{gap:8px;margin-bottom:8px;padding:8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-search{height:30px;min-height:30px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-search input{font-size:13px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-report-card{min-height:42px;padding:8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-grid-row{font-size:13px;line-height:18px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports{padding-top:8px;font-size:13px;line-height:18px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .leadership-reports-header{margin-bottom:4px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .leadership-reports-header :is(.eyebrow,p){display:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .leadership-reports-header h1{margin:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs{margin-bottom:4px;padding:3px 6px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs-row:nth-child(2){flex:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tab-content{gap:4px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-active-report-header span{display:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-active-report-header h2{margin:0;font-size:14px;line-height:18px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-control-bar{background:0 0;border:0;padding:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-control-bar .warehouse-report-date-range{flex-wrap:nowrap;align-items:center;gap:4px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-control-bar .warehouse-report-date-nav{flex:0 0 252px;min-width:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-date-picker-wrap{flex:auto;min-width:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-date-arrow{flex:0 0 24px;width:24px;padding:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-date-display{gap:4px;padding-inline-start:4px;padding-inline-end:4px;font-size:11px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-date-display>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-date-presets{scrollbar-width:thin;flex-wrap:nowrap;flex:auto;gap:3px;min-width:0;overflow-x:auto}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-date-presets button{white-space:nowrap;flex:none;padding-inline-start:6px;padding-inline-end:6px;font-size:11px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-control-bar .warehouse-report-date-note{display:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-source{flex-direction:row;align-items:center;gap:4px;width:100%;min-width:0;height:28px;min-height:28px;padding:0 4px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-source>span{text-transform:none;white-space:nowrap;font-size:11px;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-source>span>svg,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-source>svg{display:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-source select{border:0;flex:1;width:auto;min-width:0;height:26px;min-height:26px;padding:2px 0;font-size:12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-operational-report>header{border:0;gap:4px;min-height:18px;margin:0;padding:0 6px;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-operational-report>header h2{display:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-operational-report>header span{font-size:11px;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-note{margin:0;padding:0 6px;font-size:11px;line-height:14px;display:block}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-search-row{gap:6px;margin:0;padding:3px 6px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-search{align-items:center;gap:6px;min-width:0;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-search>span{flex-shrink:0;font-size:11px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-search>div{flex:1;min-width:150px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports :is(.warehouse-operational-grid,[class*=-table-wrap]){margin-top:4px}@media (min-width:1024px){html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tab-content.warehouse-standard-report-layout{grid-template-columns:minmax(0,1fr);align-items:stretch}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tab-content.warehouse-standard-report-layout>*{grid-area:auto/1}}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-standard-report-layout :is(.warehouse-report-search-row,.warehouse-report-filter-bar){justify-content:space-between}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-standard-report-layout .warehouse-report-search{flex:320px;max-width:560px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-standard-report-layout .warehouse-report-actions{margin-left:auto}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-standard-report-layout .warehouse-report-actions .warehouse-source{width:200px;min-width:190px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-standard-report-layout>:is(.warehouse-operational-report,.warehouse-branch-report,.warehouse-invoice-status-report,.warehouse-product-cost-report,.warehouse-certification-report,.warehouse-status-report,.warehouse-realization-report,.warehouse-plan-fact-report,.warehouse-sales-structure-report,.warehouse-customs-report)>:is(header,.warehouse-report-note){display:none}@media (max-width:1100px){html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane{grid-template-rows:auto auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode) .app-filter-grid{grid-area:2/1;justify-content:flex-start;justify-self:start;padding:0 12px 6px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode) .search-zone{grid-area:3/1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.entity-scroll{grid-area:4/1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-stage3-settings{grid-template-columns:minmax(0,1fr)}}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs{grid-template-columns:minmax(0,1fr) max-content;align-items:center;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs-row:first-child{grid-area:1/1;grid-template-columns:max-content minmax(0,1fr);min-width:0;display:grid;overflow:hidden}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs-row:nth-child(3){grid-area:2/1/auto/-1;grid-template-columns:max-content minmax(0,1fr);min-width:0;display:grid;overflow:hidden}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs-list{max-width:100%}@media (max-width:860px){html[data-crm-surface=desktop] body .crm-shell.layout-desktop{--shell-bar-height:76px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .shell-app-bar{grid-template-rows:30px minmax(0,1fr);grid-template-columns:minmax(0,1fr) auto;gap:4px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-dashboard-desktop .mgmt-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs{grid-template-columns:minmax(0,1fr);row-gap:6px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs-row:first-child{grid-area:1/1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs-row:nth-child(2){grid-area:2/1;justify-self:end}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs-row:nth-child(3){grid-area:3/1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs.report-cloud{grid-template-columns:minmax(0,1fr);gap:8px;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs.report-cloud .warehouse-report-tabs-list{flex-wrap:wrap;width:100%;max-width:none;display:flex;overflow:visible}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs.report-cloud .warehouse-report-tab-label{white-space:normal}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs.report-cloud .warehouse-report-tab.active,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .leadership-warehouse-reports .warehouse-report-tabs.report-cloud .warehouse-report-tab.active button{background:var(--color-selection-strong);border-color:var(--color-selection-strong);color:var(--crm-theme-on-ink,var(--color-surface))}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .search-scope-switch button{min-height:var(--control-height-sm);padding:var(--space-1) var(--space-3)}html[data-crm-surface=desktop] body .sales-transfer-summary{padding:var(--space-1) var(--space-3)}html[data-crm-surface=desktop] body .sales-transfer-summary>summary{min-height:20px;font-size:var(--pc-secondary-size);line-height:20px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .transfer-notices{gap:var(--space-1);margin:0;padding:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .transfer-notice-card{min-height:var(--pc-table-row-height);padding:var(--space-2) var(--space-3);gap:var(--space-2)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .transfer-notice-card :is(strong,p){font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line);margin:0}html[data-crm-surface=desktop] body .sales-drag-help{font-size:var(--font-size-2xs);line-height:14px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .task-desktop-toolbar>label{align-items:center;gap:var(--space-1);font-size:var(--pc-secondary-size);flex:0 200px;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .task-desktop-toolbar>.task-desktop-search{flex:280px}html[data-crm-surface=desktop] body .task-desktop-search>div{flex:1}html[data-crm-surface=desktop] body .task-desktop-toolbar :is(.task-desktop-search>span,label>span){white-space:nowrap}html[data-crm-surface=desktop] body .task-desktop-more-filters>summary{min-height:var(--control-height-md);padding:var(--space-1) var(--space-3)}html[data-crm-surface=desktop] body .task-desktop-list-summary,html[data-crm-surface=desktop] body .task-desktop-list-summary>div{align-items:center;gap:var(--space-1) var(--space-3);font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line);flex-wrap:wrap;display:flex}html[data-crm-surface=desktop] body .documents-desktop-workspace .documents-page{padding:var(--pc-page-gutter)}html[data-crm-surface=desktop] body .documents-desktop-workspace .documents-hero{gap:var(--space-3);padding-bottom:var(--space-3)}html[data-crm-surface=desktop] body .documents-desktop-workspace .documents-hero h1{font-size:var(--pc-page-title-size);line-height:var(--pc-page-title-line)}html[data-crm-surface=desktop] body .documents-desktop-workspace .documents-hero p{margin-block:var(--space-1) 0;font-size:var(--pc-secondary-size);line-height:var(--pc-secondary-line)}html[data-crm-surface=desktop] body .documents-desktop-workspace .documents-tabs{margin-bottom:var(--space-3);gap:var(--space-1)}html[data-crm-surface=desktop] body .documents-desktop-workspace .documents-tabs button{min-height:var(--control-height-md);padding:var(--space-1) var(--space-3);font-size:var(--pc-secondary-size)}html[data-crm-surface=desktop] body .documents-registry-toolbar{gap:var(--space-2);padding:var(--space-2) var(--space-3);margin-bottom:var(--space-3)}html[data-crm-surface=desktop] body .documents-registry-toolbar>label:first-child:not(.report-search-control){min-height:var(--control-height-md);gap:var(--space-2);padding:0 var(--space-3)}html[data-crm-surface=desktop] body .documents-registry-toolbar>label:first-child:not(.report-search-control) input{min-height:var(--control-height-sm);font-size:var(--pc-body-size);border:0;padding:0}html[data-crm-surface=desktop] body .documents-desktop-workspace :is(.documents-detail-layout,.documents-detail-metrics,.documents-template-grid){gap:var(--space-3)}html[data-crm-surface=desktop] body .documents-desktop-workspace .mgmt-card{padding:var(--space-4)}html[data-crm-surface=desktop] body .documents-desktop-workspace .mgmt-card h2{font-size:var(--pc-section-title-size)}html[data-crm-surface=desktop] body .documents-desktop-workspace .mgmt-card p{font-size:var(--pc-body-size);line-height:var(--pc-body-line)}html[data-crm-surface=desktop] body .documents-desktop-workspace .documents-revision-list>article{gap:var(--space-3);padding-block:var(--space-3)}html[data-crm-surface=desktop] body .documents-desktop-workspace .documents-template-fields>span{padding-block:var(--space-2)}html[data-crm-surface=desktop] body .documents-contract-modal{padding:var(--space-4)}html[data-crm-surface=desktop] body .documents-contract-modal :is(input,select){min-height:var(--control-height-md);font-size:var(--pc-body-size)}html[data-crm-surface=desktop] body .admin-page:not(.admin-page-webvisor-replay){padding:var(--pc-page-gutter)}html[data-crm-surface=desktop] body .admin-page :is(.admin-header,.admin-tabs,.admin-grid,.admin-actions,.admin-panel){width:100%}html[data-crm-surface=desktop] body .admin-header{gap:var(--space-3);min-height:42px;margin-bottom:var(--space-3)}html[data-crm-surface=desktop] body .admin-header h1{font-size:var(--pc-page-title-size);line-height:var(--pc-page-title-line)}html[data-crm-surface=desktop] body .admin-tabs{min-height:var(--control-height-md);padding:var(--space-1);margin-bottom:var(--space-3);flex-wrap:wrap;display:flex}html[data-crm-surface=desktop] body .admin-tabs a{min-height:var(--control-height-sm);padding:var(--space-1) var(--space-3)}html[data-crm-surface=desktop] body .admin-page :is(.admin-grid,.admin-actions){gap:var(--space-3)}html[data-crm-surface=desktop] body .admin-panel{padding:var(--space-4)}html[data-crm-surface=desktop] body .admin-page .button{min-height:var(--control-height-md);padding:var(--space-1) var(--space-3)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-page-header{min-height:var(--control-height-md);margin-bottom:var(--space-2)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-page-header>div:first-child{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-page-header>div:first-child>p{display:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-page-header h1{margin:0}html[data-crm-surface=desktop] body .motivation-pc-workspace .motivation-scroll{align-content:start;align-items:center;gap:var(--space-2);padding:var(--pc-page-gutter);grid-template-columns:minmax(180px,auto) minmax(0,1fr);display:grid}html[data-crm-surface=desktop] body .motivation-scroll>:not(.motivation-header):not(.motivation-period-panel){grid-column:1/-1;min-width:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .motivation-header{margin:0}html[data-crm-surface=desktop] body .motivation-tabs{gap:var(--space-1);flex-wrap:nowrap;margin:0;overflow-x:auto}html[data-crm-surface=desktop] body .motivation-tabs>button{white-space:nowrap;min-height:var(--control-height-md);padding:var(--space-1) var(--space-3);font-size:var(--pc-secondary-size);flex:none}html[data-crm-surface=desktop] body .motivation-pc-scope{font-size:var(--font-size-2xs);line-height:var(--pc-secondary-line)}html[data-crm-surface=desktop] body .motivation-personal-stack{gap:var(--space-3)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .motivation-card>header{min-height:var(--control-height-md);padding:var(--space-2) var(--space-3);gap:var(--space-2)}html[data-crm-surface=desktop] body .motivation-card>header p{margin:var(--space-1) 0 0;font-size:var(--font-size-2xs);line-height:14px}html[data-crm-surface=desktop] body .motivation-card>header h2{font-size:var(--pc-section-title-size);line-height:var(--pc-section-title-line)}html[data-crm-surface=desktop] body .motivation-personal-toolbar{padding:0 var(--space-3) var(--space-2);gap:var(--space-2);align-items:center}html[data-crm-surface=desktop] body :is(.motivation-personal-meta,.motivation-personal-identity){min-height:var(--control-height-md);padding:var(--space-1) var(--space-2);font-size:var(--pc-secondary-size)}html[data-crm-surface=desktop] body .motivation-pc-summary{gap:var(--space-2);padding-inline:var(--space-3);grid-template-columns:repeat(4,minmax(0,1fr))}html[data-crm-surface=desktop] body .motivation-pc-summary>button{gap:var(--space-1);min-height:68px;padding:var(--space-2)}html[data-crm-surface=desktop] body .motivation-pc-summary strong{font-size:18px;line-height:22px}html[data-crm-surface=desktop] body .motivation-pc-summary-note{margin:var(--space-2) var(--space-3);font-size:var(--font-size-2xs);line-height:14px}@media (max-width:1100px){html[data-crm-surface=desktop] body .motivation-pc-workspace .motivation-scroll{grid-template-columns:minmax(0,1fr)}html[data-crm-surface=desktop] body .motivation-period-panel{grid-column:1}}@media (min-width:861px) and (max-width:1200px){html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace[data-section=tasks]:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:minmax(250px,.5fr) minmax(0,.5fr)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace[data-section=tasks]:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane .app-header{grid-area:1/1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace[data-section=tasks]:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane .search-zone{padding:var(--space-2) var(--pc-page-gutter) var(--space-2) 0;grid-area:1/2}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace[data-section=tasks]:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.entity-scroll{grid-area:3/1/auto/-1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace[data-section=tasks]:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.registry-data-note{grid-area:2/1/auto/-1}}@media (max-width:860px){html[data-crm-surface=desktop] body .motivation-pc-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-stage3-settings .channel-grid{gap:var(--space-2);margin-bottom:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-stage3-settings .channel-card{min-height:0;padding:var(--space-3)}html[data-crm-surface=desktop] body .mgmt-stage3-settings .channel-card>header>i{width:24px;height:24px}html[data-crm-surface=desktop] body .mgmt-stage3-settings .channel-card h2{margin:var(--space-2) 0 var(--space-1);font-size:var(--font-size-lg);line-height:var(--pc-body-line)}html[data-crm-surface=desktop] body .mgmt-stage3-settings .channel-card>div{gap:var(--space-1);margin:var(--space-2) 0;padding:var(--space-2) 0}html[data-crm-surface=desktop] body .mgmt-stage3-settings .settings-sidebar>header{min-height:40px;padding-bottom:var(--space-2)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:is([data-section=tasks],[data-section=clients],[data-section=sales]):not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane{background:var(--color-canvas) url(/assets/entity-list-grain-CwtLlqee.png) repeat 0 0 / 480px;grid-template-rows:auto auto auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:is([data-section=tasks],[data-section=clients],[data-section=sales]):not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>:is(.app-header,.app-filter-grid,.search-zone,.registry-data-note){box-shadow:none;background:0 0;border:0;grid-column:1/-1;margin:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:is([data-section=tasks],[data-section=clients],[data-section=sales]):not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.app-header{grid-row:1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:is([data-section=tasks],[data-section=clients],[data-section=sales]):not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.app-filter-grid{width:auto;padding:0 var(--pc-page-gutter,12px) 8px;grid-row:3;justify-content:flex-start;justify-self:stretch}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:is([data-section=tasks],[data-section=clients],[data-section=sales]):not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.search-zone{padding:0 var(--pc-page-gutter,12px) 8px;flex-direction:column;grid-row:2;align-items:flex-start;gap:8px;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:is([data-section=tasks],[data-section=clients],[data-section=sales]):not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.search-zone :is(.segmented,.search-scope-switch){width:auto;box-shadow:none;background:0 0;border:0;border-radius:0;flex-wrap:wrap;flex:0 auto;gap:4px;padding:0;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:is([data-section=tasks],[data-section=clients],[data-section=sales]):not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.search-zone :is(.segmented,.search-scope-switch)>button{min-height:32px;color:var(--color-text-muted);box-shadow:none;background:0 0;border:1px solid #0000;border-radius:5px;padding:6px 10px;font-size:12px;font-weight:600;line-height:18px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:is([data-section=tasks],[data-section=clients],[data-section=sales]):not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.search-zone :is(.segmented,.search-scope-switch)>button.active{color:var(--crm-theme-on-ink,var(--color-surface));background:var(--color-selection-strong);border-color:var(--color-selection-strong)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:is([data-section=tasks],[data-section=clients],[data-section=sales]):not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.search-zone :is(.segmented,.search-scope-switch)>button:after{display:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:is([data-section=tasks],[data-section=clients],[data-section=sales]):not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.registry-data-note{grid-row:4}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:is([data-section=tasks],[data-section=clients],[data-section=sales]):not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.entity-scroll{grid-area:5/1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace[data-section=clients]:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane{grid-template-rows:auto auto auto auto minmax(0,1fr) auto}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace[data-section=clients]:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.clients-pagination-footer{grid-area:6/1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace[data-section=sales]:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.sales-search-zone{grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:8px;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace[data-section=sales]>.list-pane>.sales-search-zone>.view-switch{grid-column:1/-1;justify-self:start}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-search-zone .sales-pipeline-search-control{align-items:center;gap:8px;min-width:0;display:inline-flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-search-zone .sales-pipeline-search-control .filter-summary-card{border-color:var(--color-primary);background:var(--color-primary);min-height:36px;color:var(--color-surface);box-shadow:0 3px 10px color-mix(in srgb, var(--color-primary) 20%, transparent)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-search-zone .sales-pipeline-search-control .filter-summary-card :is(small,strong,svg){color:var(--color-surface)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-search-zone .sales-pipeline-search-control .filter-summary-card:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-search-zone .report-search-control{grid-column:2;align-self:center;width:100%;min-width:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-search-zone .search-scope-switch{grid-column:2}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace[data-section=sales] .sales-search-zone .search-scope-switch>button,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace[data-section=sales] .sales-search-zone .search-scope-switch>button.active{min-height:24px;box-shadow:none;color:var(--color-text-secondary);text-underline-offset:3px;background:0 0;border:0;border-radius:0;padding:1px 0;font-size:11px;font-weight:500;text-decoration:underline}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace[data-section=sales] .sales-search-zone .search-scope-switch>button.active{color:var(--color-action);font-weight:700}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace[data-section=sales] .sales-search-zone .search-scope-switch>button:after{display:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace[data-section=sales]:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.sales-search-zone .search-scope-switch>button,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace[data-section=sales]:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.sales-search-zone .search-scope-switch>button.active{color:var(--color-text-secondary);background-color:#0000;border-color:#0000;padding-inline-start:0;padding-inline-end:0;font-size:11px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace[data-section=sales]:not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane>.sales-search-zone .search-scope-switch>button.active{color:var(--color-action)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard:not(.leadership-warehouse-reports){max-width:none;padding:8px 12px 12px;font-size:13px;line-height:18px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop:not(.leadership-warehouse-reports){grid-template-columns:minmax(0,1fr) auto;align-content:start;gap:4px 8px;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop:not(.leadership-warehouse-reports)>*{grid-column:1/-1;min-width:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard>.warehouse-intro{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;min-height:32px;margin:0;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-intro h1{margin:0;font-size:18px;line-height:24px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-intro-controls{flex-wrap:wrap;gap:6px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard :is(.warehouse-source,.warehouse-legal-entity-filter){min-width:0;min-height:30px;box-shadow:none;background:0 0;border:0;flex-direction:row;align-items:center;gap:6px;padding:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard :is(.warehouse-source,.warehouse-legal-entity-filter)>span{white-space:nowrap;font-size:11px;font-weight:500;line-height:15px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard :is(.warehouse-source,.warehouse-legal-entity-filter) select{border:1px solid var(--color-border-strong);background:var(--color-surface);-webkit-appearance:auto;appearance:auto;border-radius:4px;width:auto;max-width:180px;height:28px;min-height:28px;padding:3px 6px;font-size:12px;font-weight:500;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard :is(.warehouse-source,.warehouse-legal-entity-filter)>svg{display:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-intro .updated{font-size:11px;line-height:15px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop>.warehouse-tabs{border:0;grid-area:2/1/auto/-1;align-items:center;gap:4px;margin:0;padding:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tabs>.warehouse-tab-divider{background:var(--border,#d7dce2);width:1px;height:18px;margin:0 7px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tabs>.warehouse-tab-caption{color:var(--crm-theme-muted,#6b7480);padding:0 3px;font-size:11px;font-weight:600}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop>.warehouse-scope{grid-area:2/2;gap:5px;margin:0;font-size:11px;font-weight:500}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-scope>div{gap:0;padding:1px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard :is(.warehouse-tabs,.warehouse-scope>div)>button{white-space:nowrap;height:auto;min-height:28px;padding:4px 7px;font-size:12px;font-weight:500;line-height:18px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .warehouse-tabs>button>b{padding:1px 4px;font-size:10px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard>.warehouse-tools{background:0 0;border:0;flex-flow:wrap;align-items:center;gap:4px 8px;margin:0;padding:0;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools>.warehouse-search{box-sizing:border-box;flex:0 0 100%;gap:5px;width:100%;min-width:0;height:30px;min-height:30px;padding:0 7px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-search input:not([type=checkbox]){border:0;height:28px;min-height:28px;padding:0;font-size:12px;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools>.wh-filters{flex-wrap:nowrap;flex:3 590px;align-items:center;gap:5px;min-width:0;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .wh-filters label{flex-direction:row;flex:1 1 0;align-items:center;gap:4px;min-width:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .wh-filters label>span{white-space:nowrap;font-size:11px;font-weight:500;line-height:15px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .wh-filters select{width:100%;min-width:0;height:28px;min-height:28px;padding:3px 5px;font-size:12px;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .wh-filters>button{flex:none;height:28px;min-height:28px;padding:3px 7px;font-size:11px;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .stock-metrics.wh-compact-metrics{grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin:0;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop:not(.leadership-warehouse-reports){gap:8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop>.warehouse-intro{border:1px solid var(--color-border);border-radius:var(--radius-md);background:color-mix(in srgb, var(--color-surface) 94%, var(--color-canvas));min-height:48px;padding:8px 12px;box-shadow:0 1px 2px #0f172a0a}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop>.warehouse-tabs{border:1px solid var(--color-border);border-radius:var(--radius-md);background:color-mix(in srgb, var(--color-surface) 88%, var(--color-canvas));align-self:center;width:fit-content;max-width:100%;padding:3px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .warehouse-tabs>button{border-radius:calc(var(--radius-md) - 3px);border:1px solid #0000;transition:background-color .16s,color .16s,border-color .16s,transform .16s}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .warehouse-tabs>button:hover:not(.active){background:var(--color-surface-hover);color:var(--color-text)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .warehouse-tabs>button.active{border-color:var(--color-text);box-shadow:0 1px 2px #0f172a24}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop>.warehouse-scope{border:1px solid var(--color-border);border-radius:var(--radius-md);background:color-mix(in srgb, var(--color-surface) 88%, var(--color-canvas));padding:3px 4px 3px 10px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .warehouse-scope>div{background:var(--color-surface-muted);border-color:#0000}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .warehouse-scope button.active{box-shadow:0 1px 3px #0f172a1f}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop>.warehouse-tools{border:1px solid var(--color-border);border-radius:var(--radius-md);background:color-mix(in srgb, var(--color-surface) 96%, var(--color-canvas));padding:10px;box-shadow:0 1px 2px #0f172a08}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .warehouse-search{border-color:var(--color-border);background:var(--color-surface-muted)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .warehouse-search:focus-within{border-color:var(--color-text-secondary);background:var(--color-surface);box-shadow:0 0 0 3px color-mix(in srgb, var(--color-primary) 14%, transparent)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .wh-filters>label>select{border-color:var(--color-border);background:var(--color-surface-muted);transition:border-color .16s,background-color .16s}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .wh-filters>label>select:hover,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .wh-filters>label>select:focus{border-color:var(--color-text-secondary);background:var(--color-surface)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .stock-metrics.wh-compact-metrics{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);overflow:hidden;box-shadow:0 1px 2px #0f172a08}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .stock-metrics.wh-compact-metrics button{border-right-color:var(--color-border);min-height:52px;transition:background-color .16s,box-shadow .16s;position:relative}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .stock-metrics.wh-compact-metrics button:hover{background:var(--color-surface-hover)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .stock-metrics.wh-compact-metrics button.active{background:var(--color-surface-muted);box-shadow:inset 0 3px 0 var(--color-primary)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .inventory-section{border-color:var(--color-border);overflow:visible;box-shadow:0 1px 2px #0f172a08}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .inventory-section>header{border-bottom:1px solid var(--color-border);background:color-mix(in srgb, var(--color-surface) 92%, var(--color-canvas))}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .inventory-row{transition:background-color .14s}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .inventory-row:hover{background:color-mix(in srgb, var(--color-primary) 7%, var(--color-surface))}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .stock-metrics.wh-compact-metrics button{flex-direction:row;justify-content:flex-start;align-items:center;gap:5px;min-height:32px;padding:4px 7px;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .stock-metrics.wh-compact-metrics button span{font-size:11px;line-height:15px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .stock-metrics.wh-compact-metrics button strong{font-size:15px;line-height:20px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .stock-metrics.wh-compact-metrics button small{font-size:10px;line-height:13px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard :is(.inventory-section,.warehouse-events-section){margin:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard :is(.inventory-section,.warehouse-events-section)>header{flex-wrap:wrap;align-items:center;gap:6px 10px;min-height:28px;padding:3px 8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .inventory-section>header>div{flex-direction:row;align-items:baseline;gap:8px;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .inventory-section>header h2{margin:0;font-size:13px;line-height:18px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard :is(.inventory-section,.warehouse-events-section)>header :is(span,small){font-size:11px;line-height:15px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .inventory-grid{max-height:calc(100dvh - 230px)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard:not(.leadership-warehouse-reports) :is(.warehouse-active-report-header,.warehouse-report-control-bar,.warehouse-report-source-row){margin:0 0 6px;padding:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-active-report-header h2{margin:0;font-size:15px;line-height:20px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-active-report-header span{font-size:11px;line-height:15px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard:not(.leadership-warehouse-reports) .warehouse-report-tab-content{padding:8px}@media (max-width:1150px){html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .stock-metrics.wh-compact-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .stock-metrics.wh-compact-metrics button{min-height:28px;padding-block-start:3px;padding-block-end:3px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop>.warehouse-tabs{grid-column:1/-1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop>.warehouse-scope{grid-area:3/1/auto/-1}}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-mode>.warehouse-list-pane>.app-header{display:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .inventory-grid .inventory-row>.inventory-model-button{gap:0;min-height:0;padding:3px 8px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop>.warehouse-tools{box-shadow:none;grid-template-columns:repeat(6,minmax(0,1fr));align-items:end;gap:14px 12px;padding:16px;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools>.warehouse-intro-controls{grid-column:span 2;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:12px;width:auto;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools>.wh-filters{grid-column:span 4;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));align-items:end;gap:12px;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools :is(.warehouse-intro-controls>*,.wh-filters>label){box-sizing:border-box;width:100%;min-width:0;margin:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools .wh-filters>label{flex-direction:column;align-items:stretch;gap:6px;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools>:is(.warehouse-list-search,.warehouse-filter-actions){grid-column:1/-1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-filter-actions>button.pc-button.pc-button--text{min-height:28px;color:var(--color-text-secondary);box-shadow:none;padding:3px 0;font-size:12px;line-height:20px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-filter-actions>button.pc-button.pc-button--text .pc-button-rest{gap:6px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-filter-actions>button.pc-button.pc-button--text svg{width:14px;height:14px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .stock-metrics.wh-compact-metrics button{flex-direction:row;justify-content:space-between;align-items:center;gap:12px;min-height:60px;padding:14px 16px;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .stock-metrics.wh-compact-metrics button span{color:var(--color-text-secondary);font-size:12px;font-weight:500}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .stock-metrics.wh-compact-metrics button strong{color:var(--color-text);font-size:22px;font-weight:700;line-height:1}@media (max-width:1200px){html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools>:is(.warehouse-intro-controls,.wh-filters){grid-column:1/-1}}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .warehouse-intro-controls :is(.warehouse-source,.warehouse-legal-entity-filter){grid-template-columns:minmax(0,1fr);justify-content:stretch;justify-items:stretch}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-filter-actions>button.pc-button.pc-button--text{background:0 0;border:0;border-radius:4px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools .wh-filters>.pc-select-filter-custom{grid-template-columns:minmax(0,1fr);align-content:end;gap:6px;font-size:12px;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools .pc-select-filter-custom>span{color:var(--color-text-secondary);font-size:11px;font-weight:500;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools .pc-select-filter-custom .logistics-combobox-trigger{height:38px;min-height:38px;font-size:13px;font-weight:500}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .warehouse-intro-controls .pc-select-filter-custom:after{content:none}html[data-crm-surface=desktop] .pc-select-filter-custom>.logistics-combobox{width:100%;min-width:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop>.warehouse-tools-equipment{flex-flow:wrap;align-items:flex-end;gap:8px;padding:10px;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools-equipment>:is(.warehouse-intro-controls,.wh-filters){display:contents}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools-equipment .pc-select-filter-custom{flex:0 116px;min-width:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools-equipment .warehouse-legal-entity-filter{flex-basis:140px;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools-equipment .warehouse-customs-filter{flex-basis:144px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools-equipment>.warehouse-list-search{flex:0 220px;min-width:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools-equipment>.warehouse-list-search.report-search-control>div{box-sizing:border-box;gap:8px;height:38px;min-height:38px;padding-inline-start:10px;padding-inline-end:10px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools-equipment>.warehouse-filter-actions{flex:0 auto;width:auto}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools-equipment .warehouse-filter-actions>button.pc-button.pc-button--text{min-height:38px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report{padding:16px var(--pc-page-gutter) 20px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:240px max-content max-content;justify-content:start;gap:14px;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.crm-page-header{background:0 0;border:0;grid-area:1/1;min-height:0;margin:0;padding:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .crm-page-header :is(.crm-page-header__eyebrow,p){display:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-period-panel{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:none;flex-wrap:wrap;grid-area:1/2;justify-self:start;gap:10px;margin:0;padding:12px 14px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-period-summary{display:none!important}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-tabs{background:0 0;border:0;grid-area:1/3;align-self:center;margin:0;padding:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-tabs button{min-height:38px;padding:7px 11px;font-size:13px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-report-scroll{flex-direction:column;grid-area:2/1/auto/-1;gap:14px;min-width:0;padding:0;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-search-panel{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:none;grid-template-columns:minmax(260px,1fr) auto;gap:12px 16px;margin:0;padding:14px;display:grid;position:static}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-list-toolbar{grid-area:1/1;min-width:0;margin:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-list-toolbar>label{height:38px;min-height:38px;padding-inline-start:12px;padding-inline-end:12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-desktop-filters{flex-wrap:wrap;grid-area:1/2;align-items:end;gap:10px;margin:0;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-desktop-filters>span{display:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-extra-filters{flex-wrap:wrap;grid-area:2/1/auto/-1;align-items:end;gap:10px 14px;padding:0;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-extra-filters-title{display:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report :is(.calls-range-filter,.calls-select-filter){align-content:end;gap:5px;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-range-filter{grid-template-columns:repeat(2,64px)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-range-filter>input{width:64px;padding-inline-start:8px!important;padding-inline-end:8px!important}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-select-filter{min-width:180px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-kpis{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-kpis article{gap:3px;min-height:76px;padding:10px 12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-kpis article strong{font-size:20px;line-height:24px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-panel{min-width:0;overflow:visible}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-panel>header h2{font-size:16px;line-height:22px}@media (max-width:1440px){html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:1180px){html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) auto}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.crm-page-header{grid-area:1/1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-tabs{grid-area:1/2}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-period-panel{grid-area:2/1/auto/-1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-report-scroll{grid-row:3}}@media (max-width:860px){html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-search-panel{grid-template-columns:minmax(0,1fr)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-list-toolbar,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-desktop-filters{grid-column:1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-list-toolbar{grid-row:1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-desktop-filters{grid-row:2}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-extra-filters{grid-row:3}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body,html[data-crm-surface=desktop] .crm-shell.layout-desktop :is(.workspace,.entity-scroll,.warehouse-scroll,.management-workspace),html[data-app-surface=platform] .platform-app{background-color:var(--color-canvas);background-image:url(/assets/entity-list-grain-CwtLlqee.png);background-size:480px}html[data-crm-surface=desktop] .crm-shell.layout-desktop :is(.search-zone .segmented button.active,.warehouse-tabs button.active,.motivation-tabs>button.active),html[data-app-surface=platform] .platform-sidebar button.active{color:var(--crm-theme-on-ink,var(--color-surface));border-color:var(--color-selection-strong);background:var(--color-selection-strong);box-shadow:none}html[data-crm-surface=desktop] .crm-shell.layout-desktop .search-scope-switch button.active:after{background:var(--color-action-emphasis)}html[data-crm-surface=desktop] .crm-shell.layout-desktop .filter-summary-card.active{border-color:var(--color-action-emphasis);background:var(--color-primary-softer)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .registry-create-button{border:1px solid var(--color-action);background:var(--color-action);min-height:38px;box-shadow:none;border-radius:10px;padding:8px 14px;font-size:13px;line-height:18px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .registry-create-button:hover{color:var(--color-on-primary);background:var(--color-action-hover);border-color:var(--color-action-hover)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .app-header .header-actions .icon-button{border:1px solid var(--color-border);background:var(--color-surface);width:38px;height:38px;min-height:38px;color:var(--color-text-secondary);box-shadow:none;border-radius:10px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .app-header .header-actions .icon-button:hover{border-color:var(--color-action-emphasis);background:var(--color-primary-softer);color:var(--color-action)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .app-header .header-actions .icon-button.filter-active{border-color:var(--color-selection-strong);background:var(--color-selection-strong);color:var(--crm-theme-on-ink,var(--color-surface))}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-search-zone .search-scope-switch,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .clients-search-zone .search-scope-switch{gap:4px 14px;padding:0 2px 4px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace .sales-search-zone .search-scope-switch>button,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace .sales-search-zone .search-scope-switch>button.active{min-height:24px;box-shadow:none;color:var(--color-text-secondary);text-underline-offset:3px;background:0 0;border:0;border-radius:0;padding:1px 0;font-size:11px;font-weight:500;line-height:16px;text-decoration:underline}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace .sales-search-zone .search-scope-switch>button.active{color:var(--color-action);font-weight:700}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-search-zone .search-scope-switch>button:after{display:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace .clients-search-zone .search-scope-switch>button,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace .clients-search-zone .search-scope-switch>button.active{min-height:24px;box-shadow:none;color:var(--color-text-secondary);text-underline-offset:3px;background:0 0;border:0;border-radius:0;padding:1px 0;font-size:11px;font-weight:500;line-height:16px;text-decoration:underline}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace .clients-search-zone .search-scope-switch>button.active{font-weight:700;color:var(--color-action)!important;box-shadow:none!important;background:0 0!important;border-color:#0000!important}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .clients-search-zone .search-scope-switch>button:after{display:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace[data-section=clients]>.list-pane>.clients-search-zone .search-scope-switch>button{font-size:11px!important}html[data-crm-surface=desktop] body .sales-board-card{cursor:pointer}html[data-crm-surface=desktop] body .sales-board-card:hover{border-color:var(--color-action-emphasis);box-shadow:0 4px 14px #20252b14}html[data-crm-surface=desktop] body .deal-desktop-detail .deal-data-section{background:var(--color-surface);border:1px solid var(--color-border)}html[data-crm-surface=desktop] body .deal-desktop-detail .deal-data-section .field-subsections{background:0 0;gap:0;padding:0}html[data-crm-surface=desktop] body .deal-desktop-detail .deal-data-section .field-subsection{box-shadow:none;background:0 0;border:0;border-radius:0}html[data-crm-surface=desktop] body .deal-desktop-detail .deal-data-section .field-subsection+.field-subsection{border-top:1px solid var(--color-border)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace.has-detail>.detail-pane{height:auto;max-height:calc(100dvh - var(--shell-bar-height))}html[data-crm-surface=desktop] body .deal-desktop-detail{min-height:0;overflow:hidden}html[data-crm-surface=desktop] body .deal-desktop-detail>.conversation-frame{flex:auto;grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) auto;min-height:0;display:grid;overflow:hidden}html[data-crm-surface=desktop] body .deal-desktop-detail>.conversation-frame>.deal-desktop-conversation-context{border-radius:8px 0 0 8px;grid-area:1/1}html[data-crm-surface=desktop] body .deal-desktop-detail>.conversation-frame>.entity-search{border:1px solid var(--color-border);border-left:0;border-radius:0 8px 8px 0;grid-area:1/2;height:100%;position:static}html[data-crm-surface=desktop] body .deal-desktop-detail>.conversation-frame>.conversation{grid-area:2/1/auto/-1;min-height:0;overflow-y:auto}html[data-crm-surface=desktop] body .deal-desktop-detail>.composer-zone{flex:none}html[data-crm-surface=desktop] body :is(.sales-dashboard-filter-row,.wh-filters){flex-wrap:wrap;align-items:flex-end;gap:10px 14px;display:flex}html[data-crm-surface=desktop] body :is(.sales-dashboard-filter-row .mgmt-select,.wh-filters>label){align-content:end;gap:5px;min-width:160px;display:grid}html[data-crm-surface=desktop] body :is(.sales-dashboard-filter-row .mgmt-select,.wh-filters>label)>:is(span,label){color:var(--color-text-secondary);margin:0;font-size:11px;font-weight:600;line-height:16px}html[data-crm-surface=desktop] body .sales-dashboard-filter-row>svg{align-self:center}html[data-crm-surface=desktop] body .warehouse-tools{border-color:var(--color-border);gap:12px;padding:16px}html[data-crm-surface=desktop] body .wh-filters>button{border:1px solid var(--color-border);background:var(--color-surface);border-radius:8px;min-height:38px;padding:7px 12px}html[data-crm-surface=desktop] body .calls-extra-filters{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end;gap:12px;display:grid}html[data-crm-surface=desktop] body .calls-extra-filters-title{color:var(--color-text-secondary);text-transform:none;align-self:center;font-size:11px}html[data-crm-surface=desktop] body :is(.calls-range-filter,.calls-select-filter){color:var(--color-text-secondary);text-transform:none;gap:5px;font-size:11px;font-weight:600;line-height:16px}html[data-crm-surface=desktop] body :is(.calls-range-filter input,.calls-select-filter select){border-color:var(--color-border-strong);background:var(--color-surface);min-height:38px;color:var(--color-text);border-radius:8px;font-size:13px}html[data-crm-surface=desktop] body .calls-check-filter{border-color:var(--color-border);background:var(--color-surface);min-height:38px;color:var(--color-text);border-radius:8px;font-size:12px}html[data-crm-surface=desktop] body .warehouse-dashboard .inventory-grid:not(.warehouse-report-grid):not(.warehouse-operational-grid) .inventory-row>span.inventory-financial-warning{box-sizing:border-box;flex-direction:row;justify-content:flex-end;justify-self:stretch;align-items:center;min-width:0;padding-right:12px;display:flex;position:relative}html[data-crm-surface=desktop] body .warehouse-dashboard .inventory-financial-warning>b{white-space:nowrap;text-align:right;width:100%;min-width:0;font-size:inherit}html[data-crm-surface=desktop] body .warehouse-dashboard .inventory-financial-warning>i{position:absolute;top:3px;right:10px}html[data-crm-surface=desktop] body .motivation-pc-workspace .motivation-scroll{flex-direction:column;gap:14px;display:flex}html[data-crm-surface=desktop] body .motivation-pc-workspace .motivation-header{min-height:0;margin:0;padding:0;display:block}html[data-crm-surface=desktop] body .motivation-pc-workspace .motivation-header h1{margin:2px 0 0}html[data-crm-surface=desktop] body .motivation-pc-workspace .motivation-period-panel{margin:0;padding:14px}html[data-crm-surface=desktop] body .motivation-pc-workspace .motivation-tabs{gap:6px;margin:0;padding:0;display:flex;position:static}html[data-crm-surface=desktop] body .motivation-pc-workspace .motivation-tabs>button{min-height:36px;padding:7px 11px}html[data-crm-surface=desktop] body .motivation-pc-workspace .motivation-tabs>button.active{color:var(--crm-theme-on-ink,var(--color-surface));background:var(--color-selection-strong);border-color:var(--color-selection-strong)}html[data-crm-surface=desktop] body .motivation-pc-workspace .motivation-tabs>button:last-child{margin-left:0}html[data-crm-surface=desktop] body .motivation-pc-workspace .motivation-pc-scope{margin:0}html[data-crm-surface=desktop] body .deal-detail-screen.deal-desktop-detail{gap:7px;padding-block-start:8px;padding-block-end:8px}html[data-crm-surface=desktop] body .deal-desktop-detail>.deal-detail-header{min-height:52px;padding:7px 12px}html[data-crm-surface=desktop] body .deal-desktop-detail .deal-title-block h1,html[data-crm-surface=desktop] body .deal-desktop-detail .deal-title{line-height:22px;font-size:17px!important}html[data-crm-surface=desktop] body .deal-desktop-detail .deal-product{font-size:11px;line-height:15px}html[data-crm-surface=desktop] body .deal-desktop-summary{gap:12px;padding:8px 12px}html[data-crm-surface=desktop] body .deal-desktop-summary>div{gap:2px}html[data-crm-surface=desktop] body .deal-desktop-summary small{font-size:11px;line-height:15px}html[data-crm-surface=desktop] body .deal-desktop-summary strong{font-size:13px;line-height:18px}html[data-crm-surface=desktop] body .deal-desktop-summary button{min-height:30px;padding:4px 8px;font-size:13px;line-height:18px}html[data-crm-surface=desktop] body .deal-desktop-detail .deal-status-stack,html[data-crm-surface=desktop] body .deal-desktop-detail .deal-status-stack .next-action{min-height:46px}html[data-crm-surface=desktop] body .deal-desktop-detail .deal-status-stack{padding-inline-start:8px;padding-inline-end:8px}html[data-crm-surface=desktop] body .deal-desktop-detail .deal-status-stack .next-action-main{padding-block-start:5px;padding-block-end:5px}html[data-crm-surface=desktop] body .deal-desktop-tabs{scrollbar-width:thin;flex-wrap:nowrap;flex:none;gap:2px;padding:4px 6px;overflow-x:auto}html[data-crm-surface=desktop] body .deal-desktop-tabs button{white-space:nowrap;flex:none;min-height:32px;padding:5px 9px;font-size:12px;line-height:18px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.sales-dashboard-filter-row .mgmt-select,.wh-filters>label,.calls-desktop-filters>label,.calls-select-filter,.calls-range-filter){min-width:0;color:var(--color-text-secondary);text-transform:none;letter-spacing:normal;align-content:end;gap:5px;font-size:11px;font-weight:600;line-height:16px;display:grid;position:relative}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.sales-dashboard-filter-row .mgmt-select,.wh-filters>label,.calls-desktop-filters>label,.calls-select-filter,.calls-range-filter)>span{color:var(--color-text-secondary);text-transform:none;letter-spacing:normal;margin:0;font-size:11px;font-weight:600;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.sales-dashboard-filter-row .mgmt-select select,.wh-filters>label>select,.calls-desktop-filters>label>select,.calls-select-filter>select,.calls-range-filter>input){box-sizing:border-box;border:1px solid var(--color-border);background:color-mix(in srgb, var(--color-surface) 94%, var(--color-canvas));width:100%;max-width:none;height:34px;min-height:34px;color:var(--color-text-secondary);font-family:var(--font-body);box-shadow:none;border-radius:12px;padding:0 30px 0 11px;font-size:12px;font-weight:600;line-height:32px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .wh-filters>label{flex:145px;align-content:end;gap:5px;min-width:145px;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools>.wh-filters{flex-wrap:wrap;align-items:end;gap:10px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .wh-filters>label>select,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-desktop-filters label>select,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-select-filter>select,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-range-filter>input{font-size:12px;background:color-mix(in srgb, var(--color-surface) 94%, var(--color-canvas))!important;height:34px!important;min-height:34px!important;color:var(--color-text-secondary)!important;border-radius:12px!important;padding:0 30px 0 11px!important}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .warehouse-search{height:38px;min-height:38px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .wh-filters>button{height:38px;min-height:38px;padding:7px 12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .warehouse-intro-controls :is(.warehouse-source,.warehouse-legal-entity-filter){min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;align-content:end;gap:5px;padding:0;display:grid;position:relative}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .warehouse-intro-controls :is(.warehouse-source,.warehouse-legal-entity-filter)>span{color:var(--color-text-secondary);text-transform:none;font-size:11px;font-weight:600;line-height:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .warehouse-intro-controls :is(.warehouse-source,.warehouse-legal-entity-filter) select{-webkit-appearance:none;appearance:none;border:1px solid var(--color-border);background:var(--color-surface);width:100%;color:var(--color-text);border-radius:8px;font-size:13px;font-weight:500;line-height:36px;height:38px!important;min-height:38px!important;padding:0 34px 0 12px!important}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard .warehouse-intro-controls :is(.warehouse-source,.warehouse-legal-entity-filter):after{content:"";border-right:1px solid var(--color-text-muted);border-bottom:1px solid var(--color-text-muted);pointer-events:none;width:5px;height:5px;position:absolute;bottom:17px;right:16px;transform:rotate(45deg)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report{grid-template-columns:minmax(120px,.35fr) minmax(0,1.65fr) auto;gap:10px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-period-panel{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);flex-wrap:wrap;gap:10px;padding:10px 12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-period-panel .motivation-period-field{align-content:end;gap:5px;min-width:0;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-period-panel .motivation-period-field select{width:100%;min-width:0;font-size:13px;height:38px!important;min-height:38px!important;padding:0 34px 0 12px!important}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-tabs{align-self:center}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-report-scroll>.calls-search-panel{grid-template-columns:minmax(240px,.85fr) minmax(360px,1.15fr);align-items:end;gap:10px;padding:12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-list-toolbar>label{height:38px;min-height:38px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-desktop-filters{align-items:end;gap:10px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-desktop-filters label{align-content:end;gap:5px;min-width:160px;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-extra-filters{align-items:end;gap:10px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-select-filter{gap:5px;min-width:170px;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-range-filter{grid-template-columns:repeat(2,64px);gap:5px;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-range-filter>span{grid-column:1/-1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-range-filter>input{width:64px;padding:0 8px;padding:0 8px!important}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report :is(.calls-check-filter,.calls-reset-filters){min-height:38px;padding:7px 10px}@media (max-width:1100px){html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-tools>.wh-filters{flex:100%}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) auto}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.crm-page-header{grid-area:1/1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-period-panel{grid-area:2/1/auto/-1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-tabs{grid-area:1/2}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-report-scroll{grid-area:3/1/auto/-1}}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.wh-filters>label>select,.calls-desktop-filters>label>select,.calls-select-filter>select){-webkit-appearance:none;appearance:none;cursor:pointer}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.wh-filters>label,.calls-desktop-filters>label,.calls-select-filter):after{content:"";border-right:1px solid var(--color-text-muted);border-bottom:1px solid var(--color-text-muted);pointer-events:none;width:5px;height:5px;position:absolute;bottom:17px;right:16px;transform:rotate(45deg)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-dashboard-filter-row .mgmt-select svg{width:12px;height:12px;color:var(--color-text-muted);stroke-width:1.5px;top:13px;right:13px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-dashboard-filter-row .mgmt-select{flex:0 180px;min-width:160px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .sales-dashboard-filter-row .mgmt-select select{height:38px!important;min-height:38px!important;padding:0 34px 0 12px!important}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.sales-dashboard-filter-row .mgmt-select select,.wh-filters>label>select,.calls-desktop-filters>label>select,.calls-select-filter>select,.calls-range-filter>input):not(:disabled):hover{border-color:color-mix(in srgb, var(--color-border) 70%, var(--color-text-secondary));background:var(--color-surface-hover)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.sales-dashboard-filter-row .mgmt-select select,.wh-filters>label>select,.calls-desktop-filters>label>select,.calls-select-filter>select,.calls-range-filter>input):focus-visible{border-color:var(--color-focus);outline:2px solid var(--color-focus);outline-offset:2px;box-shadow:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop :is(.warehouse-intro-controls .warehouse-source select,.warehouse-intro-controls .warehouse-legal-entity-filter select,.wh-filters>label>select){border-color:color-mix(in srgb, var(--color-border) 82%, var(--color-text-muted));background:color-mix(in srgb, var(--color-surface) 97%, var(--color-canvas));color:var(--color-text-secondary);letter-spacing:.01em;border-radius:12px;font-weight:500;height:34px!important;min-height:34px!important;font-size:12px!important}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .wh-filters>label>select,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop :is(.warehouse-intro-controls .warehouse-source select,.warehouse-intro-controls .warehouse-legal-entity-filter select){padding:0 38px 0 14px!important}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop :is(.warehouse-intro-controls .warehouse-source select,.warehouse-intro-controls .warehouse-legal-entity-filter select,.wh-filters>label>select):not(:disabled):hover{border-color:color-mix(in srgb, var(--color-border) 58%, var(--color-text-muted));background:var(--color-surface)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop .wh-filters>label:after{bottom:15px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button:is(.pc-button,.primary,.primary-inline,.secondary,.secondary-action,.danger,.danger-action,.mgmt-primary,.mgmt-secondary,.mgmt-danger,.mgmt-icon-button,.mgmt-link,.mgmt-link-button,.button-primary,.button-secondary,.icon-button,.back-button,.documents-icon-button,.logistics-ghost-button,.logistics-icon-button,.warehouse-report-settings-button,.warehouse-report-settings-primary,.document-primary-action,.registry-create-button,.manual-save-button,.warehouse-manual-cost-save,.bot-save,.send-button,.motivation-settings-button,.motivation-add-participant,.field-inline-save,.field-inline-cancel,.pc-empty-state__action,.pc-status-message__action,.company-add-contact,.company-composer-contact-action,.task-add-chat,.task-desktop-secondary,.warehouse-manual-cost-add,.warehouse-report-settings-add,.schedule-copy-action,.add-option,.add-recipient,.add-check-row,.remove-check,.remove-condition,.table-delete,.delete-filter,.v3-add-tag,.logout-button,.onboarding-settings-button,.help-panel__training-button,.load-more-button,.stage-load-more-button,.clients-overview-action,.bulk-danger,.confirm-danger-action,.deal-action-circle,.warehouse-import-details-button,.warehouse-branch-vin-button,.save,.remove),:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(.modal-actions,.form-actions,.detail-header-actions,.document-actions,.mgmt-page-actions,.pc-dialog-confirmation__actions,.motivation-modal,.motivation-column-settings,.warehouse-report-actions,.logistics-detail-actions,.entity-action-confirmation__actions,.field-inline-actions,.row-actions,.dictionary-actions,.documents-detail-actions,.filter-save-box,.sales-row-actions,.deal-direct-actions,.task-desktop-header-actions,.task-desktop-row-actions,.warehouse-card-actions,.warehouse-report-header-actions,.admin-actions,.profile-actions,.documents-template-actions,.schedule-replacements-editor,.stage-actions,.stage-delete-panel,.dictionary-add-row,.mgmt-card>header,.manual-create-actions,.task-desktop-approval-actions,.ui-panel-actions) button:not(.pc-button){--pc-action-color:var(--color-text);--pc-action-border:var(--color-border-strong);--pc-action-background:var(--color-surface);--pc-action-hover-color:var(--color-text);--pc-action-hover-border:var(--color-text-secondary);--pc-action-hover-background:var(--color-surface-hover);--pc-action-pressed-background:var(--color-surface-selection);color:var(--pc-action-color);border:1px solid var(--pc-action-border);border-radius:var(--radius-sm);background:var(--pc-action-background);box-shadow:none;font-family:var(--font-body);font-weight:var(--font-weight-semibold);text-transform:none;letter-spacing:normal;transition:background-color var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard)}:is(:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button:is(.pc-button,.primary,.primary-inline,.secondary,.secondary-action,.danger,.danger-action,.mgmt-primary,.mgmt-secondary,.mgmt-danger,.mgmt-icon-button,.mgmt-link,.mgmt-link-button,.button-primary,.button-secondary,.icon-button,.back-button,.documents-icon-button,.logistics-ghost-button,.logistics-icon-button,.warehouse-report-settings-button,.warehouse-report-settings-primary,.document-primary-action,.registry-create-button,.manual-save-button,.warehouse-manual-cost-save,.bot-save,.send-button,.motivation-settings-button,.motivation-add-participant,.field-inline-save,.field-inline-cancel,.pc-empty-state__action,.pc-status-message__action,.company-add-contact,.company-composer-contact-action,.task-add-chat,.task-desktop-secondary,.warehouse-manual-cost-add,.warehouse-report-settings-add,.schedule-copy-action,.add-option,.add-recipient,.add-check-row,.remove-check,.remove-condition,.table-delete,.delete-filter,.v3-add-tag,.logout-button,.onboarding-settings-button,.help-panel__training-button,.load-more-button,.stage-load-more-button,.clients-overview-action,.bulk-danger,.confirm-danger-action,.deal-action-circle,.warehouse-import-details-button,.warehouse-branch-vin-button,.save,.remove),:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(.modal-actions,.form-actions,.detail-header-actions,.document-actions,.mgmt-page-actions,.pc-dialog-confirmation__actions,.motivation-modal,.motivation-column-settings,.warehouse-report-actions,.logistics-detail-actions,.entity-action-confirmation__actions,.field-inline-actions,.row-actions,.dictionary-actions,.documents-detail-actions,.filter-save-box,.sales-row-actions,.deal-direct-actions,.task-desktop-header-actions,.task-desktop-row-actions,.warehouse-card-actions,.warehouse-report-header-actions,.admin-actions,.profile-actions,.documents-template-actions,.schedule-replacements-editor,.stage-actions,.stage-delete-panel,.dictionary-add-row,.mgmt-card>header,.manual-create-actions,.task-desktop-approval-actions,.ui-panel-actions) button:not(.pc-button)):not(:disabled):hover{color:var(--pc-action-hover-color);border-color:var(--pc-action-hover-border);background:var(--pc-action-hover-background);box-shadow:none}:is(:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button:is(.pc-button,.primary,.primary-inline,.secondary,.secondary-action,.danger,.danger-action,.mgmt-primary,.mgmt-secondary,.mgmt-danger,.mgmt-icon-button,.mgmt-link,.mgmt-link-button,.button-primary,.button-secondary,.icon-button,.back-button,.documents-icon-button,.logistics-ghost-button,.logistics-icon-button,.warehouse-report-settings-button,.warehouse-report-settings-primary,.document-primary-action,.registry-create-button,.manual-save-button,.warehouse-manual-cost-save,.bot-save,.send-button,.motivation-settings-button,.motivation-add-participant,.field-inline-save,.field-inline-cancel,.pc-empty-state__action,.pc-status-message__action,.company-add-contact,.company-composer-contact-action,.task-add-chat,.task-desktop-secondary,.warehouse-manual-cost-add,.warehouse-report-settings-add,.schedule-copy-action,.add-option,.add-recipient,.add-check-row,.remove-check,.remove-condition,.table-delete,.delete-filter,.v3-add-tag,.logout-button,.onboarding-settings-button,.help-panel__training-button,.load-more-button,.stage-load-more-button,.clients-overview-action,.bulk-danger,.confirm-danger-action,.deal-action-circle,.warehouse-import-details-button,.warehouse-branch-vin-button,.save,.remove),:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(.modal-actions,.form-actions,.detail-header-actions,.document-actions,.mgmt-page-actions,.pc-dialog-confirmation__actions,.motivation-modal,.motivation-column-settings,.warehouse-report-actions,.logistics-detail-actions,.entity-action-confirmation__actions,.field-inline-actions,.row-actions,.dictionary-actions,.documents-detail-actions,.filter-save-box,.sales-row-actions,.deal-direct-actions,.task-desktop-header-actions,.task-desktop-row-actions,.warehouse-card-actions,.warehouse-report-header-actions,.admin-actions,.profile-actions,.documents-template-actions,.schedule-replacements-editor,.stage-actions,.stage-delete-panel,.dictionary-add-row,.mgmt-card>header,.manual-create-actions,.task-desktop-approval-actions,.ui-panel-actions) button:not(.pc-button)):not(:disabled):active{background:var(--pc-action-pressed-background)}:is(:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button:is(.pc-button,.primary,.primary-inline,.secondary,.secondary-action,.danger,.danger-action,.mgmt-primary,.mgmt-secondary,.mgmt-danger,.mgmt-icon-button,.mgmt-link,.mgmt-link-button,.button-primary,.button-secondary,.icon-button,.back-button,.documents-icon-button,.logistics-ghost-button,.logistics-icon-button,.warehouse-report-settings-button,.warehouse-report-settings-primary,.document-primary-action,.registry-create-button,.manual-save-button,.warehouse-manual-cost-save,.bot-save,.send-button,.motivation-settings-button,.motivation-add-participant,.field-inline-save,.field-inline-cancel,.pc-empty-state__action,.pc-status-message__action,.company-add-contact,.company-composer-contact-action,.task-add-chat,.task-desktop-secondary,.warehouse-manual-cost-add,.warehouse-report-settings-add,.schedule-copy-action,.add-option,.add-recipient,.add-check-row,.remove-check,.remove-condition,.table-delete,.delete-filter,.v3-add-tag,.logout-button,.onboarding-settings-button,.help-panel__training-button,.load-more-button,.stage-load-more-button,.clients-overview-action,.bulk-danger,.confirm-danger-action,.deal-action-circle,.warehouse-import-details-button,.warehouse-branch-vin-button,.save,.remove),:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(.modal-actions,.form-actions,.detail-header-actions,.document-actions,.mgmt-page-actions,.pc-dialog-confirmation__actions,.motivation-modal,.motivation-column-settings,.warehouse-report-actions,.logistics-detail-actions,.entity-action-confirmation__actions,.field-inline-actions,.row-actions,.dictionary-actions,.documents-detail-actions,.filter-save-box,.sales-row-actions,.deal-direct-actions,.task-desktop-header-actions,.task-desktop-row-actions,.warehouse-card-actions,.warehouse-report-header-actions,.admin-actions,.profile-actions,.documents-template-actions,.schedule-replacements-editor,.stage-actions,.stage-delete-panel,.dictionary-add-row,.mgmt-card>header,.manual-create-actions,.task-desktop-approval-actions,.ui-panel-actions) button:not(.pc-button)):disabled:not([aria-busy=true]){opacity:1;color:var(--color-text-secondary);border-color:var(--color-border);background:var(--color-surface-muted);box-shadow:none;cursor:not-allowed}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button:is(.pc-button--primary,.primary,.primary-inline,.mgmt-primary,.button-primary,.warehouse-report-settings-primary,.document-primary-action,.registry-create-button,.manual-save-button,.warehouse-manual-cost-save,.bot-save,.send-button,.save),:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body :is(.motivation-participant-modal,.motivation-column-settings) footer button:last-child{--pc-action-color:var(--color-on-primary);--pc-action-border:var(--color-action);--pc-action-background:var(--color-action);--pc-action-hover-color:var(--color-on-primary);--pc-action-hover-border:var(--color-action-hover);--pc-action-hover-background:var(--color-action-hover);--pc-action-pressed-background:var(--color-selection-strong);color:var(--pc-action-color);border-color:var(--pc-action-border);background:var(--pc-action-background)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button.pc-button.pc-button--secondary{--pc-action-color:#315b76;--pc-action-border:#b9cede;--pc-action-background:#f3f8fc;--pc-action-hover-color:#214c69;--pc-action-hover-border:#88adc8;--pc-action-hover-background:#e9f3fa;--pc-action-pressed-background:#deedf7;border-radius:10px;min-height:38px;padding:7px 14px;font-size:13px;line-height:20px;box-shadow:0 1px 3px #2f56731a}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button.pc-button--secondary .pc-button-rest{gap:8px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button.pc-button--secondary .pc-button-rest>svg{stroke-width:2px;flex:none;width:18px;height:18px}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body button.pc-button--secondary:not(:disabled):hover{box-shadow:0 3px 10px #2f567324}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .export-button{align-items:center;display:inline-flex;position:relative}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .export-button>.export-trigger{border:1px solid var(--color-border);background:var(--color-surface);width:42px;height:32px;min-height:32px;color:var(--color-text-secondary);box-shadow:none;border-radius:8px;justify-content:center;align-items:center;gap:3px;margin:0;padding:0 6px;font-size:12px;font-weight:600;line-height:1;display:inline-flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .export-button>.export-trigger:not(:disabled):hover,:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .export-button>.export-trigger[aria-expanded=true]{border-color:var(--color-border-strong);background:var(--color-surface-hover);color:var(--color-text);box-shadow:none}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .export-format-menu{z-index:30;border:1px solid var(--color-border);background:var(--color-surface);min-width:144px;box-shadow:0 10px 28px color-mix(in srgb, var(--color-text) 14%, transparent);border-radius:9px;gap:2px;padding:5px;display:grid;position:absolute;top:calc(100% + 5px);right:0}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .export-format-menu>button{min-height:32px;color:var(--color-text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:12px;padding:0 9px;font-size:12px;font-weight:600;display:flex}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body .export-format-menu>button:hover{background:var(--color-surface-hover)}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) .export-format-menu small{color:var(--color-text-muted);font-size:11px;font-weight:500}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body select:not([multiple]){box-sizing:border-box;max-width:100%;font-family:var(--font-body);line-height:32px;border:1px solid var(--color-border)!important;background:color-mix(in srgb, var(--color-surface) 94%, var(--color-canvas))!important;height:34px!important;min-height:34px!important;color:var(--color-text-secondary)!important;box-shadow:none!important;border-radius:12px!important;padding:0 30px 0 11px!important;font-size:12px!important;font-weight:600!important}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body select:not([multiple]):not(:disabled):hover{border-color:var(--color-border-strong)!important;background:var(--color-surface)!important}:is(html[data-crm-surface=desktop],html[data-app-surface=platform]) body select:not([multiple]):focus-visible{border-color:var(--color-action)!important;background:var(--color-surface)!important;box-shadow:0 0 0 3px var(--color-primary-softer)!important}html[data-crm-surface=desktop] :is(.ui-data-table-scroll,.mgmt-table-wrap,.logistics-table-wrap){border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);min-width:0;position:relative;overflow:auto;box-shadow:0 1px 2px #0f172a0a}html[data-crm-surface=desktop] .calls-desktop-table{max-height:calc(100dvh - 190px)}html[data-crm-surface=desktop] :is(.ui-data-table,.mgmt-table,.logistics-table){border-collapse:separate;border-spacing:0;background:var(--color-surface);width:100%;color:var(--color-text)}html[data-crm-surface=desktop] :is(.ui-data-table,.mgmt-table,.logistics-table) caption{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}html[data-crm-surface=desktop] :is(.ui-data-table,.mgmt-table,.logistics-table) thead th{z-index:2;border:0;border-bottom:1px solid var(--color-border);background:var(--color-surface-muted);height:46px;color:var(--color-text-secondary);letter-spacing:.01em;text-align:left;vertical-align:middle;padding:8px 14px;font-size:12px;font-weight:700;line-height:16px;position:sticky;top:0}html[data-crm-surface=desktop] :is(.ui-data-table,.mgmt-table,.logistics-table) tbody td{border:0;border-bottom:1px solid var(--color-border);background:var(--color-surface);min-height:52px;color:var(--color-text);vertical-align:middle;padding:11px 14px;font-size:13px;line-height:18px}html[data-crm-surface=desktop] :is(.ui-data-table,.mgmt-table,.logistics-table) tbody tr:last-child td{border-bottom:0}html[data-crm-surface=desktop] :is(.ui-data-table,.mgmt-table,.logistics-table) tbody tr:hover td{background:var(--color-surface-hover)}html[data-crm-surface=desktop] :is(.ui-data-table,.mgmt-table) tbody tr.clickable{cursor:pointer}html[data-crm-surface=desktop] :is(.ui-data-table,.mgmt-table) tbody tr:is([data-selected=true],[data-current=true]) td{background:var(--color-surface-selection)}html[data-crm-surface=desktop] .ui-table-sort{max-width:100%;min-height:28px;color:inherit;font:inherit;text-align:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:6px;padding:3px 0;display:inline-flex}html[data-crm-surface=desktop] .ui-table-sort:hover{color:var(--color-action)}html[data-crm-surface=desktop] .ui-table-sort:focus-visible{outline:2px solid var(--color-action);outline-offset:2px}html[data-crm-surface=desktop] .ui-table-sort-indicator{color:var(--color-text-muted);font-size:14px;line-height:1}html[data-crm-surface=desktop] .ui-table-header-control{gap:5px;min-width:118px;display:grid}html[data-crm-surface=desktop] .ui-table-header-control .ui-table-sort{width:100%}html[data-crm-surface=desktop] .ui-table-filter{width:100%;line-height:26px;background:var(--color-surface)!important;border-radius:8px!important;height:28px!important;min-height:28px!important;padding:0 22px 0 8px!important;font-size:11px!important}html[data-crm-surface=desktop] :is(.commercial-status-chip,.status-pill,.mgmt-badge,.er-status-pill,.warehouse-invoice-status-badge,.schedule-cell-badge){letter-spacing:.005em;white-space:nowrap;border:0;border-radius:999px;justify-content:center;align-items:center;gap:5px;width:fit-content;max-width:100%;min-height:24px;padding:4px 9px;font-size:11px;font-style:normal;font-weight:750;line-height:16px;display:inline-flex}html[data-crm-surface=desktop] .commercial-status-chip{--commercial-status-color:var(--color-text-muted);--commercial-status-bg:var(--color-surface-muted);color:var(--commercial-status-color);border:1px solid color-mix(in srgb, var(--commercial-status-color) 22%, transparent);background:var(--commercial-status-bg);box-shadow:none}html[data-crm-surface=desktop] .commercial-status-chip>span{color:inherit}html[data-crm-surface=desktop] .commercial-status-chip:before{content:"";background:var(--commercial-status-color);width:7px;height:7px;box-shadow:none;border-radius:50%;flex:0 0 7px}html[data-crm-surface=desktop] .commercial-status-chip.ready{--commercial-status-color:var(--color-status-ready);--commercial-status-bg:#dff3e5}html[data-crm-surface=desktop] .commercial-status-chip.reserve{--commercial-status-color:#913c1d;--commercial-status-bg:#fce3d7}html[data-crm-surface=desktop] .commercial-status-chip.repair{--commercial-status-color:var(--color-status-repair);--commercial-status-bg:#eddefb}html[data-crm-surface=desktop] .commercial-status-chip.sold{--commercial-status-color:#245579;--commercial-status-bg:#dcecf8}html[data-crm-surface=desktop] .commercial-status-chip.blocked{--commercial-status-color:var(--color-danger-action-strong);--commercial-status-bg:#fbdedb}html[data-crm-surface=desktop] .commercial-status-chip.customs,html[data-crm-surface=desktop] .commercial-status-chip.disputed{--commercial-status-color:#705500;--commercial-status-bg:#f8e9a9}html[data-crm-surface=desktop] .mgmt-badge.good,html[data-crm-surface=desktop] .er-status-pill-good{color:var(--color-success-strong);background:var(--color-success-soft)}html[data-crm-surface=desktop] .mgmt-badge.warn,html[data-crm-surface=desktop] .er-status-pill-warn{color:var(--color-warning-strong);background:var(--color-warning-soft)}html[data-crm-surface=desktop] .mgmt-badge.bad,html[data-crm-surface=desktop] .er-status-pill-bad{color:var(--color-danger-strong);background:var(--color-danger-soft)}html[data-crm-surface=desktop] :is(.mgmt-badge.neutral,.er-status-pill-normal,.warehouse-invoice-status-badge){color:var(--color-text-secondary);background:var(--color-surface-hover)}html[data-crm-surface=desktop] .status-pill.free{color:var(--color-primary-strong);background:var(--color-primary-softer)}html[data-crm-surface=desktop] .status-pill.reserve{color:var(--color-warning-strong);background:var(--color-warning-soft)}html[data-crm-surface=desktop] .status-pill.transit{color:var(--color-text-secondary);background:var(--color-surface-hover)}html[data-crm-surface=desktop] .status-pill.blocker{color:var(--color-danger-strong);background:var(--color-danger-soft)}html[data-crm-surface=desktop] .schedule-cell-badge{min-width:72px;box-shadow:none}html[data-crm-surface=desktop] .schedule-cell.working .schedule-cell-badge{color:var(--color-success-strong);background:var(--color-success-soft)}html[data-crm-surface=desktop] .schedule-cell.day_off .schedule-cell-badge{color:var(--color-text-secondary);background:var(--color-surface-hover)}html[data-crm-surface=desktop] .schedule-cell.vacation .schedule-cell-badge{color:var(--color-primary-strong);background:var(--color-primary-softer)}html[data-crm-surface=desktop] .schedule-cell.sick_leave .schedule-cell-badge{color:var(--color-warning-strong);background:var(--color-warning-soft)}html[data-crm-surface=desktop] .schedule-cell.absence .schedule-cell-badge{color:var(--color-danger-strong);background:var(--color-danger-soft)}html[data-crm-surface=desktop] .schedule-cell.unfilled .schedule-cell-badge{color:var(--color-text-secondary);background:var(--color-surface-hover)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report{padding:18px var(--pc-page-gutter) 24px;background:var(--color-canvas);grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) auto;gap:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-report-header{grid-area:1/1;align-self:center}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-report-header h1{color:var(--color-text);font-size:var(--pc-page-title-size);letter-spacing:-.02em;margin:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-period-panel.warehouse-report-date-range{width:100%;padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:color-mix(in srgb, var(--color-surface) 94%, var(--color-canvas));grid-area:2/1/auto/-1;margin:0;display:grid;position:static;box-shadow:0 1px 2px #0f172a08}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-tabs{grid-area:1/2;align-self:center}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-report-scroll{grid-area:3/1/auto/-1;gap:16px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-search-panel{background:var(--color-surface);border-radius:14px;gap:12px 16px;padding:12px;box-shadow:0 1px 2px #0f172a0a}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-list-toolbar>label:not(.report-search-control){border-color:var(--color-border);background:var(--color-surface-muted);border-radius:10px;height:36px;min-height:36px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-list-toolbar>label:not(.report-search-control):focus-within{border-color:var(--color-action);background:var(--color-surface);box-shadow:0 0 0 3px var(--color-primary-softer)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report :is(.calls-desktop-filters label,.calls-select-filter,.calls-range-filter){color:var(--color-text-muted);text-transform:none;gap:4px;font-size:10px;font-weight:700}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-range-filter input{border-radius:10px;padding-inline-start:9px;padding-inline-end:9px;border-color:var(--color-border)!important;background:color-mix(in srgb, var(--color-surface) 94%, var(--color-canvas))!important;height:34px!important;min-height:34px!important;color:var(--color-text-secondary)!important;padding:0 30px 0 11px!important;font-size:12px!important}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-range-filter input:hover{border-color:var(--color-border-strong);background:var(--color-surface)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report :is(.calls-check-filter,.calls-reset-filters){border-color:var(--color-border);background:var(--color-surface-muted);min-height:34px;color:var(--color-text-secondary);border-radius:10px;font-size:11px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-check-filter:has(input:checked){border-color:var(--color-action);background:var(--color-primary-softer);color:var(--color-primary-strong)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-panel{background:var(--color-surface);border-radius:14px;box-shadow:0 1px 2px #0f172a0a}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-panel>header{min-height:54px;padding:10px 14px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-overview-panel>header span{color:var(--color-action)}html[data-crm-surface=desktop] .call-status{min-height:24px;color:var(--color-surface);border:0;padding:4px 9px;font-size:11px;font-weight:750;line-height:16px;box-shadow:inset 0 1px #ffffff2e,0 2px 5px #0f172a24}html[data-crm-surface=desktop] .call-status i{background:var(--crm-theme-surface,#ffffffdb);width:6px;height:6px;box-shadow:0 0 0 3px #ffffff29}html[data-crm-surface=desktop] .call-status.answered{color:var(--color-surface);background:var(--color-success-strong)}html[data-crm-surface=desktop] .call-status.missed{color:var(--color-surface);background:var(--color-danger-strong)}html[data-crm-surface=desktop] .call-detail-backdrop{background:#0f172a57;padding:20px}html[data-crm-surface=desktop] .call-detail{border-radius:18px;width:min(980px,100%);box-shadow:0 24px 64px #0f172a3d}html[data-crm-surface=desktop] .call-detail>header{background:var(--color-surface-muted);min-height:0;padding:18px 20px}html[data-crm-surface=desktop] .call-detail>header h2{font-size:22px}html[data-crm-surface=desktop] .call-detail-body{gap:12px;padding:18px 20px 22px}html[data-crm-surface=desktop] .call-detail-metrics>span{background:var(--color-surface-muted);border-radius:10px}html[data-crm-surface=desktop] :is(.call-recording-player,.call-transcript,.call-analysis-desktop){border-radius:12px}html[data-crm-surface=desktop] .call-transcript{background:0 0;border:0;border-radius:0;padding:0}html[data-crm-surface=desktop] .call-transcript>header{border-bottom:1px solid var(--color-border);gap:10px;padding:0 0 12px}html[data-crm-surface=desktop] .call-transcript>header>div{gap:2px}html[data-crm-surface=desktop] .call-transcript header strong{font-size:14px}html[data-crm-surface=desktop] .call-transcript header small{font-size:11px}html[data-crm-surface=desktop] .call-transcript>div.call-transcript-dialog{gap:0;margin-top:0}html[data-crm-surface=desktop] .call-transcript-dialog article{border-bottom:1px solid var(--color-border-subtle);background:0 0;border-radius:0;grid-template-columns:100px minmax(0,1fr);gap:14px;padding:10px 2px}html[data-crm-surface=desktop] .call-transcript-dialog article strong{color:var(--color-text-secondary);font-size:12px;font-weight:700;line-height:1.5}html[data-crm-surface=desktop] .call-transcript-dialog article p{color:var(--color-text);font-size:14px;line-height:1.5}html[data-crm-surface=desktop] .call-transcript-plain>span{font-size:12px}html[data-crm-surface=desktop] .call-transcript-plain>p{max-width:82ch;margin-top:10px;font-size:14px;line-height:1.7}html[data-crm-surface=desktop] .call-transcript-dialog article{border:1px solid var(--color-border-subtle);background:var(--color-surface);border-radius:12px;grid-template-columns:150px minmax(0,1fr);gap:18px;margin-top:8px;padding:14px 16px}html[data-crm-surface=desktop] .call-transcript-dialog article[data-speaker="1"]{border-left:3px solid var(--crm-theme-border,#b35c48);background:var(--crm-theme-surface-soft,#fff8f5)}html[data-crm-surface=desktop] .call-transcript-dialog article[data-speaker="2"]{border-left:3px solid var(--crm-theme-border,#31859b);background:var(--crm-theme-surface-soft,#f3fafb)}html[data-crm-surface=desktop] .call-transcript-dialog article strong{color:var(--color-text);align-items:center;gap:9px;font-size:13px;display:flex}html[data-crm-surface=desktop] .call-transcript-dialog article p{padding-top:3px;font-size:14px;line-height:1.65}.call-transcript-speaker-mark{width:28px;height:28px;color:var(--crm-theme-accent-text,#79463c);background:var(--crm-theme-surface-soft,#f4e8e4);border-radius:50%;flex:0 0 28px;place-items:center;font-size:12px;font-weight:750;display:inline-grid}.call-transcript-dialog article[data-speaker="1"] strong{color:var(--crm-theme-accent-text,#954633)}.call-transcript-dialog article[data-speaker="2"] strong{color:var(--crm-theme-info-text,#286f81)}.call-transcript-dialog article[data-speaker="2"] .call-transcript-speaker-mark{color:var(--crm-theme-info-text,#285a68);background:var(--crm-theme-surface-soft,#dceff3)}@media (max-width:600px){.call-transcript-dialog article,html[data-crm-surface=desktop] .call-transcript-dialog article{grid-template-columns:1fr;gap:6px}}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-report-scroll>.calls-search-panel{z-index:30;grid-template-columns:minmax(280px,1fr) auto;align-items:center;gap:10px 14px;display:grid;position:relative}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-list-toolbar{grid-area:1/1;display:block}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-list-toolbar>label:not(.report-search-control){box-sizing:border-box;width:100%;max-width:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-filter-shortcuts{flex-wrap:wrap;grid-area:1/2;align-items:center;gap:8px;min-width:0;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-shortcut-checkbox{box-sizing:border-box;border:1px solid var(--crm-theme-border,#d9e0e8);background:var(--crm-theme-surface,#fff);min-height:36px;color:var(--crm-theme-info-text,#475569);white-space:nowrap;cursor:pointer;border-radius:10px;align-items:center;gap:8px;padding:0 11px;font-size:12px;font-weight:600;display:inline-flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-shortcut-checkbox:has(input:checked){border-color:var(--crm-theme-border,#aebac8);background:var(--crm-theme-surface-soft,#f5f7fa);color:var(--crm-theme-text,#202833)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-shortcut-checkbox input{accent-color:#202833;cursor:pointer;width:16px;height:16px;margin:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-more-filters>summary{border:1px solid var(--color-border);background:var(--crm-theme-surface-soft,#eef2f6);min-height:36px;color:var(--crm-theme-info-text,#475569);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:12px;font-weight:650;display:inline-flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-more-filters>summary:hover{border-color:var(--crm-theme-border,#b8c4d0);background:var(--crm-theme-surface-soft,#e5ebf1)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-more-filters.has-active-filters>summary{color:#fff;background:#202833;border-color:#202833}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-more-filters.has-active-filters>summary:hover{background:#343e4b}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-filter-shortcuts>.calls-clear-all{min-height:36px;color:var(--crm-theme-info-text,#526174);cursor:pointer;background:0 0;border:0;padding:0 5px;font-size:12px;font-weight:650}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-more-filters{position:relative}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-more-filters>summary{list-style:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-more-filters>summary::-webkit-details-marker{display:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-more-filters>summary i{background:var(--crm-theme-surface,#fff);border-radius:50%;width:6px;height:6px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-more-filters-content{z-index:30;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);grid-template-columns:repeat(2,minmax(150px,1fr));gap:12px;width:min(600px,100vw - 80px);padding:16px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 16px 40px #0f172a29}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-more-filters-content .calls-extra-filters{grid-area:auto/1/auto/-1;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-more-filters-content .calls-range-filter{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-more-filters-content .calls-range-filter>input{box-sizing:border-box;width:100%}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-kpi-toolbar{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:10px;margin-bottom:12px;display:grid}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-kpi-toolbar .calls-kpis{margin:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-kpi-filters{z-index:25;align-self:start;position:relative}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-kpi-filters>summary{border:1px solid var(--color-border);background:var(--color-surface);min-height:38px;color:var(--color-text);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:0 13px;font-size:12px;font-weight:700;list-style:none;display:inline-flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-kpi-filters>summary::-webkit-details-marker{display:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-kpi-filters>summary:hover,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-kpi-filters[open]>summary{border-color:var(--color-border-strong);background:var(--color-surface-hover)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-kpi-filters>summary i{background:var(--color-action);border-radius:50%;width:6px;height:6px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-kpi-filters-panel{z-index:30;box-sizing:border-box;border:1px solid var(--color-border);background:var(--color-surface);border-radius:12px;gap:10px;width:300px;padding:12px;display:grid;position:absolute;top:calc(100% + 7px);right:0;box-shadow:0 16px 35px #0f172a29}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-kpi-filter-check{color:var(--color-text);cursor:pointer;align-items:center;gap:9px;font-size:12px;display:flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-kpi-filter-check input{width:16px;height:16px;accent-color:var(--color-action);margin:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-kpi-filter-reset{color:var(--color-action);cursor:pointer;background:0 0;border:0;justify-self:start;padding:4px 0;font-size:12px;font-weight:700}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-inventory-grid{--warehouse-inventory-columns:minmax(75px, .5fr) minmax(145px, .95fr) minmax(140px, .9fr) minmax(190px, 1.25fr) minmax(150px, 1fr) minmax(145px, .95fr) minmax(175px, 1.15fr) minmax(170px, 1.1fr) minmax(180px, 1.15fr) minmax(190px, 1.25fr);--calls-table-min-width:1560px;overscroll-behavior-y:auto;max-height:none;overflow-x:auto}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-inventory-grid :is(.inventory-grid-head,.inventory-row){box-sizing:border-box;min-width:var(--calls-table-min-width);width:100%}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-inventory-grid .warehouse-grid-th{min-width:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-inventory-grid .calls-grid-row[data-current=true]{background:var(--color-surface-selection);box-shadow:inset 3px 0 var(--color-action)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-inventory-grid .calls-grid-row a{color:var(--color-action);text-decoration:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-inventory-grid .calls-grid-row a:hover{text-decoration:underline}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-inventory-grid .calls-grid-row small{color:var(--color-text-secondary);margin-top:3px;font-size:12px;display:block}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-inventory-grid .calls-table-transcription{align-items:center}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-inventory-grid .inventory-grid-head>:nth-child(8){justify-content:center}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-inventory-grid .calls-transcription-mark{border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:inline-flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-inventory-grid .calls-transcription-mark.available{color:var(--color-success-strong);background:color-mix(in srgb, var(--color-success-strong) 12%, var(--crm-theme-surface,white))}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-inventory-grid .calls-transcription-mark.unavailable{color:var(--color-text-muted);background:var(--color-surface-muted)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-inventory-grid .calls-table-analysis{text-align:left;align-items:flex-start}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-analysis-button{border:1px solid var(--crm-theme-border,#efc39e);background:var(--crm-theme-surface-soft,#fff4e9);min-height:34px;color:var(--crm-theme-accent-text,#a7470d);font:700 12px/1.25 var(--font-body);white-space:nowrap;cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:6px 11px;transition:border-color .15s,background-color .15s,color .15s,box-shadow .15s;display:inline-flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-analysis-button svg{color:#d66718;flex:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-analysis-button:hover{border-color:var(--crm-theme-border,#dc8a4a);background:var(--crm-theme-accent-surface,#ffe8d2);color:var(--crm-theme-accent-text,#8e3908);box-shadow:0 2px 5px #8b43141a}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-analysis-button:focus-visible{outline:2px solid var(--crm-theme-border,#c15a16);outline-offset:2px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-analysis-unavailable{color:var(--color-text-muted);font-size:12px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-inventory-grid .calls-grid-empty{min-width:var(--calls-table-min-width)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-operators-grid{--calls-table-min-width:1300px;--warehouse-inventory-columns:minmax(210px, 1.4fr) minmax(110px, .7fr) minmax(120px, .8fr) minmax(155px, 1fr) repeat(2, minmax(170px, 1fr)) minmax(155px, 1fr) minmax(190px, 1.1fr)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-operators-grid :is(.inventory-grid-head,.inventory-row),html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-operators-grid .calls-grid-empty{min-width:1300px}@media (max-width:1050px){html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-report-scroll>.calls-search-panel{grid-template-columns:1fr}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-filter-shortcuts{grid-area:2/1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-more-filters[open]{flex:100%}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-more-filters-content{box-sizing:border-box;width:100%;box-shadow:none;margin-top:8px;position:static}}@media (max-width:620px){html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-more-filters-content,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-more-filters-content .calls-extra-filters{grid-template-columns:1fr}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-period-panel:has(.calls-period-search){padding-bottom:24px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report .calls-period-search{grid-area:3/1/auto/-1;width:100%;min-width:0;margin-top:8px}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) :is(.pc-tab-list,.warehouse-tabs,.warehouse-card-tabs,.calls-tabs,.motivation-tabs,.sales-report-tabs,.mgmt-tabs,.documents-tabs,.deal-desktop-tabs,.clients-detail-navigation,.task-desktop-detail-tabs,.dictionary-group-tabs,.call-content-tabs [role=tablist],.logistics-view-toggle,.journal-switch){scrollbar-width:thin;border:1px solid var(--color-border)!important;border-radius:var(--radius-md)!important;background:color-mix(in srgb, var(--color-surface) 88%, var(--color-canvas))!important;width:fit-content!important;max-width:100%!important;box-shadow:none!important;flex-wrap:wrap!important;align-items:center!important;gap:4px!important;margin:0!important;padding:3px!important;display:flex!important;overflow-x:auto!important}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) :is(.pc-tab-list,.warehouse-tabs,.warehouse-card-tabs,.calls-tabs,.motivation-tabs,.sales-report-tabs,.mgmt-tabs,.documents-tabs,.deal-desktop-tabs,.clients-detail-navigation,.task-desktop-detail-tabs,.dictionary-group-tabs,.call-content-tabs [role=tablist],.logistics-view-toggle,.journal-switch)>:is(button,.warehouse-report-tab){cursor:pointer;transition:background-color .16s,color .16s,border-color .16s,transform .16s;height:auto!important;min-height:28px!important;color:var(--crm-theme-muted,#66666e)!important;border-radius:calc(var(--radius-md) - 3px)!important;box-shadow:none!important;white-space:nowrap!important;background:0 0!important;border:1px solid #0000!important;flex:none!important;justify-content:center!important;align-items:center!important;gap:7px!important;padding:4px 7px!important;font-size:12px!important;font-weight:500!important;line-height:18px!important;display:inline-flex!important}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) :is(.pc-tab-list,.warehouse-tabs,.warehouse-card-tabs,.calls-tabs,.motivation-tabs,.sales-report-tabs,.mgmt-tabs,.documents-tabs,.deal-desktop-tabs,.clients-detail-navigation,.task-desktop-detail-tabs,.dictionary-group-tabs,.call-content-tabs [role=tablist],.logistics-view-toggle,.journal-switch)>:is(button,.warehouse-report-tab):hover:not(.active):not([aria-current=page]):not([aria-selected=true]){color:var(--color-text)!important;background:var(--color-surface-hover)!important}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) :is(.pc-tab-list,.warehouse-tabs,.warehouse-card-tabs,.calls-tabs,.motivation-tabs,.sales-report-tabs,.mgmt-tabs,.documents-tabs,.deal-desktop-tabs,.clients-detail-navigation,.task-desktop-detail-tabs,.dictionary-group-tabs,.call-content-tabs [role=tablist],.logistics-view-toggle,.journal-switch)>:is(button,.warehouse-report-tab):is(.active,[aria-current=page],[aria-selected=true]){color:var(--crm-theme-on-ink,var(--color-surface))!important;border-color:var(--color-text)!important;background:var(--crm-theme-ink-surface,var(--color-text))!important;box-shadow:0 1px 2px #0f172a24!important}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) :is(.pc-tab-list,.warehouse-tabs,.warehouse-card-tabs,.calls-tabs,.motivation-tabs,.sales-report-tabs,.mgmt-tabs,.documents-tabs,.deal-desktop-tabs,.clients-detail-navigation,.task-desktop-detail-tabs,.dictionary-group-tabs,.call-content-tabs [role=tablist],.logistics-view-toggle,.journal-switch)>:is(button,.warehouse-report-tab)>:is(i,b){color:inherit;background:var(--color-surface-hover)}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) :is(.pc-tab-list,.warehouse-tabs,.warehouse-card-tabs,.calls-tabs,.motivation-tabs,.sales-report-tabs,.mgmt-tabs,.documents-tabs,.deal-desktop-tabs,.clients-detail-navigation,.task-desktop-detail-tabs,.dictionary-group-tabs,.call-content-tabs [role=tablist],.logistics-view-toggle,.journal-switch)>:is(button,.warehouse-report-tab):is(.active,[aria-current=page],[aria-selected=true])>:is(i,b){color:var(--crm-theme-on-ink,var(--color-surface));background:var(--crm-theme-ink-surface,var(--color-text-secondary))}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) .leadership-warehouse-reports .warehouse-report-tabs{box-shadow:none;background:0 0;border:0;padding:0}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) .leadership-warehouse-reports .warehouse-report-tabs-footer{justify-content:flex-start;width:100%;display:flex}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) .leadership-warehouse-reports .warehouse-active-report-header h2{color:var(--color-text);font-size:17px;font-weight:700;line-height:1.3}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) .leadership-warehouse-reports .pc-tab-list>.warehouse-report-tab{overflow:hidden;gap:0!important;padding:0!important}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) .leadership-warehouse-reports .pc-tab-list>.warehouse-report-tab>button{min-height:28px;font-size:12px;font-weight:500;line-height:18px;color:inherit!important;box-shadow:none!important;background:0 0!important;border:0!important}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) .leadership-warehouse-reports .pc-tab-list>.warehouse-report-tab>.warehouse-report-tab-label{padding:4px 7px}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) .leadership-warehouse-reports .pc-tab-list>.warehouse-report-tab>.warehouse-report-tab-star{width:27px;min-width:27px;padding:4px;border-left:1px solid var(--color-border)!important;color:var(--color-text-secondary)!important}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) .leadership-warehouse-reports .pc-tab-list>.warehouse-report-tab>.warehouse-report-tab-star.active{color:var(--color-warning-action)!important}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) .leadership-warehouse-reports .pc-tab-list>.warehouse-report-tab.active>.warehouse-report-tab-star{border-left-color:var(--crm-theme-border,#ffffff3d)!important}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) .leadership-warehouse-reports :is(.warehouse-report-search-row,.warehouse-report-filter-bar){align-items:start}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) .leadership-warehouse-reports .warehouse-report-search-group{flex:360px;justify-items:start;gap:8px;min-width:0;display:grid}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) .leadership-warehouse-reports .warehouse-report-search-group .warehouse-report-search{width:100%;max-width:none}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) .leadership-warehouse-reports .warehouse-report-actions .warehouse-source{border:1px solid var(--color-border-subtle);border-radius:var(--radius-sm);background:var(--color-surface-muted);width:auto;min-width:0;height:32px;min-height:32px;color:var(--color-text-secondary);box-shadow:none;gap:6px;padding:0 9px}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) .leadership-warehouse-reports .warehouse-report-actions .warehouse-source>span{color:var(--color-text-secondary);font-size:11px;font-weight:500}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) .leadership-warehouse-reports .warehouse-report-actions .warehouse-source select{color:var(--color-text-secondary);flex:0 auto;font-size:12px;font-weight:600}:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) .leadership-warehouse-reports .warehouse-report-actions .export-button>.export-trigger,:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) .leadership-warehouse-reports .warehouse-report-actions .export-button>.export-trigger:not(:disabled):hover,:is(html[data-crm-surface=desktop] body .crm-shell.layout-desktop,html[data-app-surface=platform] body .platform-reports-workspace) .leadership-warehouse-reports .warehouse-report-actions .export-button>.export-trigger[aria-expanded=true]{box-shadow:none;background:0 0;border:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop{--pc-elevation-soft:0 7px 24px #1723320f;--pc-elevation-hover:0 12px 28px #1723321c;--crm-page-heading-offset:10px;--crm-page-tabs-gap:10px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:not(.calls-mode) .entity-scroll{scrollbar-color:color-mix(in srgb, var(--color-text-muted) 40%, transparent) transparent}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.app-header,.app-filter-grid,.search-zone){position:relative}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .app-header .header-copy>span{letter-spacing:-.02em;align-items:center;gap:9px;font-weight:750;display:inline-flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .app-header .header-copy>span:before{background:linear-gradient(180deg, var(--color-action), color-mix(in srgb, var(--color-action) 52%, var(--color-warning-action)));content:"";border-radius:999px;width:4px;height:22px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .filter-summary-card,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .search-field,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .search-zone .segmented{border-color:color-mix(in srgb, var(--color-border) 78%, transparent);border-radius:10px;box-shadow:0 3px 10px #1723320a}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .search-field:focus-within{border-color:color-mix(in srgb, var(--color-action) 60%, var(--color-border));box-shadow:0 0 0 3px color-mix(in srgb, var(--color-action) 12%, transparent), 0 4px 12px #1723320f}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.registry-create-button,.mgmt-primary,.pc-button.primary){box-shadow:0 5px 13px color-mix(in srgb, var(--color-action) 22%, transparent);border-radius:9px;transition:box-shadow .16s,transform .16s}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.registry-create-button,.mgmt-primary,.pc-button.primary):hover{box-shadow:0 8px 18px color-mix(in srgb, var(--color-action) 28%, transparent);transform:translateY(-1px)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.ui-data-table-scroll,.mgmt-table-wrap,.logistics-table-wrap){border-color:color-mix(in srgb, var(--color-border) 76%, transparent);box-shadow:var(--pc-elevation-soft);border-radius:14px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.ui-data-table,.mgmt-table,.logistics-table) thead th{background:linear-gradient(180deg, color-mix(in srgb, var(--color-surface-muted) 84%, var(--color-surface)) 0%, var(--color-surface-muted) 100%)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.ui-data-table,.mgmt-table,.logistics-table) tbody tr{transition:background-color .16s,box-shadow .16s}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.ui-data-table,.mgmt-table,.logistics-table) tbody tr:hover td{background:color-mix(in srgb, var(--color-surface-hover) 74%, var(--color-surface))}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.entity-card,.deal-chat-row,.task-chat-row,.ui-panel,.warehouse-card-section,.warehouse-report-card,.mgmt-kpi-grid>article,.mgmt-kpi-grid>button){border-color:color-mix(in srgb, var(--color-border) 76%, transparent);box-shadow:var(--pc-elevation-soft)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.entity-card,.deal-chat-row,.task-chat-row,.warehouse-report-card,.mgmt-kpi-grid>article,.mgmt-kpi-grid>button){transition:border-color .16s,box-shadow .16s,transform .16s}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.entity-card,.deal-chat-row,.task-chat-row,.warehouse-report-card,.mgmt-kpi-grid>article,.mgmt-kpi-grid>button):hover{border-color:color-mix(in srgb, var(--color-action) 36%, var(--color-border));box-shadow:var(--pc-elevation-hover);transform:translateY(-1px)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.ui-panel,.warehouse-card-section)>header,html[data-crm-surface=desktop] body .crm-shell.layout-desktop .ui-panel-header{border-bottom-color:color-mix(in srgb, var(--color-border) 74%, transparent)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.mgmt-page,.settings-content,.warehouse-dashboard,.calls-desktop-report):has(>.crm-page-header){padding-top:var(--crm-page-heading-offset)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .motivation-pc-workspace .motivation-scroll:has(>.crm-page-header){padding-top:var(--crm-page-heading-offset)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-stage3-settings .settings-scroll{padding-top:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .crm-page-header{align-items:flex-start;gap:12px;margin-bottom:8px;padding:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .crm-page-header--compact{margin-bottom:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .crm-page-header:has(+:is(.pc-tab-list,.warehouse-tabs,.mgmt-tabs)){margin-bottom:var(--crm-page-tabs-gap)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop:not(.leadership-warehouse-reports){row-gap:var(--crm-page-tabs-gap)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .warehouse-dashboard.wh-desktop>.crm-page-header{margin-bottom:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report{gap:var(--crm-page-tabs-gap);grid-template-rows:auto auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.crm-page-header{grid-area:1/1;margin-bottom:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-tabs{grid-area:2/1;place-self:start}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-period-panel.warehouse-report-date-range{grid-area:3/1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .calls-desktop-report>.calls-report-scroll{grid-area:4/1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .motivation-pc-workspace .motivation-scroll{gap:var(--crm-page-tabs-gap);grid-template-columns:minmax(0,1fr)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .motivation-scroll>.motivation-header{grid-area:1/1;margin-bottom:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .motivation-scroll>.motivation-tabs{grid-area:2/1;justify-self:start}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .motivation-scroll>.motivation-period-panel{grid-area:3/1}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .crm-page-header__copy{min-width:0}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .crm-page-header h1{color:var(--color-text);letter-spacing:-.02em;align-items:center;gap:9px;margin:0;font-size:20px;font-weight:750;line-height:26px;display:inline-flex}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .crm-page-header h1:before{background:linear-gradient(180deg, var(--color-action), color-mix(in srgb, var(--color-action) 52%, var(--color-warning-action)));content:"";border-radius:999px;flex:0 0 4px;width:4px;height:22px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .crm-page-header :is(.crm-page-header__eyebrow,p){display:none}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.deal-desktop-detail>.deal-detail-header,.task-desktop-detail-header,.clients-desktop-detail>.detail-header){border-color:color-mix(in srgb, var(--color-border) 76%, transparent);box-shadow:var(--pc-elevation-soft)}html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.deal-desktop-summary,.task-desktop-facts,.clients-overview-relations,.task-desktop-overview,.task-desktop-history,.task-desktop-fields){border-color:color-mix(in srgb, var(--color-border) 76%, transparent);box-shadow:0 4px 16px #1723320a}@media (prefers-reduced-motion:reduce){html[data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.registry-create-button,.mgmt-primary,.pc-button.primary,.entity-card,.deal-chat-row,.task-chat-row,.warehouse-report-card,.mgmt-kpi-grid>article,.mgmt-kpi-grid>button){transition:none}}html[data-crm-surface=desktop] .mgmt-stage3-settings{background:radial-gradient(circle at 100% 0, color-mix(in srgb, var(--color-action) 7%, transparent), transparent 34rem), var(--color-canvas);grid-template-columns:264px minmax(0,1fr)}html[data-crm-surface=desktop] .mgmt-stage3-settings .settings-sidebar{padding:var(--space-4);border-right-color:color-mix(in srgb, var(--color-border) 82%, transparent);background:color-mix(in srgb, var(--color-surface) 94%, var(--color-canvas))}html[data-crm-surface=desktop] .mgmt-stage3-settings .settings-sidebar>header{min-height:64px;padding:0 var(--space-2) var(--space-4);border-bottom-color:var(--color-border)}html[data-crm-surface=desktop] .mgmt-stage3-settings .settings-sidebar>header>i{width:38px;height:38px;color:var(--color-action);border:1px solid color-mix(in srgb, var(--color-action) 18%, var(--color-border));border-radius:var(--radius-sm);background:var(--color-surface-selection);box-shadow:none}html[data-crm-surface=desktop] .mgmt-stage3-settings .settings-sidebar nav{gap:var(--space-2);padding-top:var(--space-4)}html[data-crm-surface=desktop] .mgmt-stage3-settings .settings-sidebar nav button{min-height:68px;padding:var(--space-3);transition:background-color var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);border:1px solid #0000;position:relative}html[data-crm-surface=desktop] .mgmt-stage3-settings .settings-sidebar nav button:hover{border-color:color-mix(in srgb, var(--color-border) 86%, transparent);background:var(--color-surface-hover)}html[data-crm-surface=desktop] .mgmt-stage3-settings .settings-sidebar nav button[aria-current=page]{border-color:color-mix(in srgb, var(--color-action) 28%, var(--color-border));background:var(--color-surface-selection);box-shadow:inset 3px 0 0 var(--color-action)}html[data-crm-surface=desktop] .mgmt-stage3-settings .settings-sidebar nav button[aria-current=page]>i{color:var(--color-action);background:color-mix(in srgb, var(--color-action) 11%, var(--color-surface))}html[data-crm-surface=desktop] .mgmt-stage3-settings .demo-callout{gap:var(--space-3);padding:var(--space-4);border-radius:var(--radius-md);background:linear-gradient(145deg, var(--color-surface-muted), var(--color-surface))}html[data-crm-surface=desktop] .mgmt-stage3-settings .settings-scroll{padding:var(--space-6) clamp(var(--space-5), 3vw, var(--space-8))}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-stage3-settings .settings-scroll :is(.ui-data-table-scroll,.inventory-grid,.admin-table-wrap,.schedule-grid-card){overscroll-behavior-y:auto;scrollbar-gutter:auto;height:auto;max-height:none;overflow:auto visible}html[data-crm-surface=desktop] .mgmt-stage3-settings .settings-content{max-width:1500px}html[data-crm-surface=desktop] .mgmt-stage3-settings .settings-workspace-title{width:min(1380px,100%);color:var(--color-text);font:750 25px/1.2 var(--font-display);margin:0 auto 14px}html[data-crm-surface=desktop] .mgmt-stage3-settings .settings-main-navigation{width:min(1380px,100%);margin:0 auto 17px}html[data-crm-surface=desktop] body .crm-shell.layout-desktop .mgmt-stage3-settings .mgmt-tabs.settings-navigation-tabs{scrollbar-width:thin;min-width:0;max-width:100%;flex-wrap:nowrap!important}html[data-crm-surface=desktop] .mgmt-stage3-settings .settings-navigation-tabs button{white-space:nowrap;flex:none}html[data-crm-surface=desktop] .mgmt-stage3-settings .settings-content:has(>.mgmt-tabs){padding-top:0}html[data-crm-surface=desktop] .mgmt-stage3-settings .settings-content>.crm-page-header,html[data-crm-surface=desktop] .mgmt-stage3-settings .settings-content>.mgmt-tabs{display:none!important}html[data-crm-surface=desktop] .mgmt-stage3-settings .channel-card{border-color:color-mix(in srgb, var(--color-border) 82%, transparent);box-shadow:var(--pc-elevation-soft);transition:border-color var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard)}html[data-crm-surface=desktop] .mgmt-stage3-settings .channel-card:hover{border-color:color-mix(in srgb, var(--color-action) 32%, var(--color-border));box-shadow:var(--pc-elevation-hover);transform:translateY(-1px)}html[data-crm-surface=desktop] .mgmt-stage3-settings .mgmt-tabs{padding:var(--space-1);border-color:var(--color-border);background:var(--color-surface-muted)}html[data-crm-surface=desktop] .mgmt-stage3-settings .mgmt-tabs button.active{color:var(--color-action);box-shadow:0 2px 8px color-mix(in srgb, var(--color-text) 9%, transparent)}@media (max-width:1200px){html[data-crm-surface=desktop] .mgmt-stage3-settings{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){html[data-crm-surface=desktop] .mgmt-stage3-settings :is(.settings-sidebar nav button,.channel-card){transition:none}}html[data-crm-surface=mobile] body .layout-mobile .sales-list-filter .bottom-sheet,html[data-crm-surface=mobile] body .layout-mobile .sales-list-filter .bottom-sheet.wide.is-fullscreen{height:auto;min-height:0;max-height:calc(100dvh - var(--space-4));padding:0 var(--space-4) max(var(--space-3), env(safe-area-inset-bottom));flex-direction:column;gap:0;display:flex}html[data-crm-surface=mobile] body .layout-mobile .sales-list-filter.is-fullscreen-sheet{align-items:flex-end}html[data-crm-surface=mobile] body .layout-mobile .sales-list-filter .bottom-sheet>header{min-height:48px;padding-block:var(--space-2);flex:none}html[data-crm-surface=mobile] body .layout-mobile .sales-list-filter .bottom-sheet .sales-list-filter-fields{align-content:start;gap:var(--space-4);min-height:0;padding:var(--space-3) 0;flex:0 auto;grid-template-rows:none;grid-auto-rows:max-content;display:grid;overflow-y:auto}html[data-crm-surface=mobile] body .layout-mobile .sales-list-filter-fields fieldset{min-height:0;margin:0;padding:0;display:block}html[data-crm-surface=mobile] body .layout-mobile .sales-list-filter-fields legend{margin:0 0 var(--space-2);font-size:var(--font-size-sm)}html[data-crm-surface=mobile] body .layout-mobile .sales-list-filter-fields .sales-status-picker{height:auto;margin:0}html[data-crm-surface=mobile] body .layout-mobile .sales-list-filter-fields .sales-status-picker button{height:auto;min-height:36px;padding:var(--space-2);font-size:var(--font-size-sm);line-height:1.25}html[data-crm-surface=mobile] body .layout-mobile .sales-list-filter-fields .sales-filter-checks{align-content:start;gap:var(--space-1);grid-template-columns:minmax(0,1fr);grid-auto-rows:auto}html[data-crm-surface=mobile] body .layout-mobile .sales-filter-checks>button{gap:var(--space-2);height:auto;min-height:42px;padding:var(--space-1) var(--space-2);grid-template-columns:28px minmax(0,1fr) 20px}html[data-crm-surface=mobile] body .layout-mobile .sales-filter-checks>button>span:not(.sales-filter-icon){overflow-wrap:normal;font-size:var(--font-size-sm);line-height:1.3}html[data-crm-surface=mobile] body .layout-mobile .sales-filter-checks .sales-filter-icon{width:28px;height:28px}html[data-crm-surface=mobile] body .layout-mobile .sales-filter-checks .sales-filter-icon svg{width:18px;height:18px}html[data-crm-surface=mobile] body .layout-mobile .sales-list-filter .sales-filter-footer{min-height:0;margin-top:var(--space-2);padding-top:var(--space-2);flex:none}html[data-crm-surface=mobile] body .layout-mobile .sales-list-filter .sales-filter-footer>button{height:auto;min-height:40px;padding-block:var(--space-2)}html[data-crm-surface=mobile] body .layout-mobile :is(.clients-search-zone,.sales-search-zone) .segmented{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}html[data-crm-surface=mobile] body .layout-mobile :is(.clients-search-zone,.sales-search-zone) .segmented>button{justify-content:center;align-items:center;gap:var(--space-2);min-width:0;padding-inline:var(--space-2);display:flex}html[data-crm-surface=mobile] body .layout-mobile :is(.clients-search-zone,.sales-search-zone) .segmented>button>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}html[data-crm-surface=mobile] body .layout-mobile :is(.clients-search-zone,.sales-search-zone) .segmented>button>i{width:auto;min-width:20px;height:20px;padding-inline:var(--space-1);border-radius:var(--radius-pill);white-space:nowrap;font-variant-numeric:tabular-nums;flex:none;justify-content:center;align-items:center;font-size:11px;font-style:normal;line-height:1;display:inline-flex}html[data-crm-surface=mobile] body .layout-mobile .workspace[data-section=clients]>.list-pane:has(>.clients-pagination-footer){padding-bottom:calc(64px + env(safe-area-inset-bottom));flex-direction:column;display:flex}html[data-crm-surface=mobile] body .layout-mobile .workspace[data-section=clients]>.list-pane:has(>.clients-pagination-footer)>.entity-scroll{min-height:0;padding-bottom:var(--space-2);flex:1 1 0;order:3}html[data-crm-surface=mobile] body .layout-mobile .clients-pagination-footer{min-width:0;padding:0 var(--space-3);background:var(--color-canvas);flex:none;order:4}html[data-crm-surface=mobile] body .layout-mobile .clients-pagination-footer .warehouse-pagination{justify-content:space-between;gap:var(--space-2);min-height:42px;padding:var(--space-1) 0;margin:0;font-size:11px}html[data-crm-surface=mobile] body .layout-mobile .clients-pagination-footer .warehouse-pagination>div{background:0 0;border:0;flex-wrap:nowrap;flex:none;padding:0}html[data-crm-surface=mobile] body .layout-mobile .clients-pagination-footer .warehouse-pagination>div>:is(button:not(:first-child):not(:last-child):not([aria-current=page]),i){display:none}html[data-crm-surface=mobile] body .layout-mobile .clients-pagination-footer .warehouse-pagination button{width:auto;min-width:32px;height:32px;min-height:32px;padding-inline:var(--space-2)}html[data-crm-surface=mobile] body .layout-mobile .message-input>:is(.desktop-send,.desktop-voice),html[data-crm-surface=mobile] body .layout-mobile .message-input[data-mobile-action=voice]>.mobile-send,html[data-crm-surface=mobile] body .layout-mobile .message-input[data-mobile-action=send]>.mobile-voice{display:none!important}html[data-crm-surface=mobile] body .layout-mobile .message-input[data-mobile-action=voice]>.mobile-voice,html[data-crm-surface=mobile] body .layout-mobile .message-input[data-mobile-action=send]>.mobile-send{flex-shrink:0;place-items:center;display:grid!important}html[data-crm-surface=mobile] body .layout-mobile .message-input{align-items:center;gap:var(--space-1);grid-template-columns:30px minmax(0,1fr) 36px;min-height:44px;display:grid}html[data-crm-surface=mobile] body .layout-mobile .message-input>:is(.mobile-send,.mobile-voice){grid-area:1/3;width:36px!important;height:36px!important}html[data-crm-surface=mobile] body .layout-mobile .message-input>.mobile-voice>button{border-radius:50%;place-items:center;display:grid;width:36px!important;height:36px!important}html[data-crm-surface=mobile] body .layout-mobile .message-input>.message-input-textarea{box-sizing:border-box;grid-area:1/2;min-height:32px;max-height:88px}html[data-crm-surface=mobile] body .layout-mobile .message-input>.composer-attach{grid-area:1/1}html[data-crm-surface=mobile] body .layout-mobile .message-input.has-mobile-scheduled{grid-template-columns:30px minmax(0,1fr) 32px 36px}html[data-crm-surface=mobile] body .layout-mobile .message-input.has-mobile-scheduled>.mobile-scheduled{grid-area:1/3}html[data-crm-surface=mobile] body .layout-mobile .message-input.has-mobile-scheduled>:is(.mobile-send,.mobile-voice){grid-column:4}html[data-crm-surface=mobile] body .layout-mobile .detail-screen>:is(.composer-zone,.task-composer){box-sizing:border-box;width:100%;min-width:0;padding-bottom:max(var(--space-1), env(safe-area-inset-bottom));flex:none;margin:0;position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important}html[data-crm-surface=mobile] body .layout-mobile .detail-screen>.conversation-frame{flex:1;min-height:0}html[data-crm-surface=mobile] body .layout-mobile .conversation-frame>.conversation{min-height:0;padding-bottom:var(--space-4);scroll-padding-bottom:var(--space-4);overflow-x:hidden}html[data-crm-surface=mobile] body .layout-mobile .composer-toolbar{min-width:0;height:38px;min-height:38px}html[data-crm-surface=mobile] body .layout-mobile .composer-recipient :is(.recipient-contact-cluster,.recipient-label,.recipient-label>span){min-width:0}html[data-crm-surface=mobile] body .layout-mobile .recipient-label strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-screen .entity-ai-thread .message.ai{box-sizing:border-box;max-width:calc(100% - 46px);margin-left:38px}html[data-crm-surface=mobile] body .layout-mobile .deal-detail-screen .entity-ai-thread .message.ai:before{width:28px;height:28px;left:-36px}html[data-crm-surface=mobile] body .layout-mobile .entity-ai-thread :is(.message,.ai-message-body,.formatted-ai-text){overflow-wrap:anywhere;min-width:0}html[data-crm-surface=mobile] body .layout-mobile .deal-task-chat-screen-header{gap:var(--space-1);min-height:42px;padding:var(--space-1) var(--space-2);grid-template-columns:32px minmax(0,1fr) 32px;position:relative}html[data-crm-surface=mobile] body .layout-mobile .deal-task-chat-screen-header>button:first-child,html[data-crm-surface=mobile] body .layout-mobile .deal-task-mobile-options-toggle{width:32px;height:32px;color:var(--color-text-secondary);background:var(--color-surface-subtle);border:0;border-radius:50%;place-items:center;padding:0;display:grid}html[data-crm-surface=mobile] body .layout-mobile .deal-task-open-card{min-height:32px;padding:0 var(--space-1);grid-template-columns:minmax(0,1fr) auto}html[data-crm-surface=mobile] body .layout-mobile .deal-task-open-card>i,html[data-crm-surface=mobile] body .layout-mobile .deal-task-open-card small,html[data-crm-surface=mobile] body .layout-mobile .deal-task-chat-header-actions{display:none}html[data-crm-surface=mobile] body .layout-mobile .deal-task-chat-header-actions.mobile-options-open{z-index:30;top:calc(100% - 2px);right:var(--space-2);min-width:150px;padding:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-sheet);flex-direction:column;align-items:stretch;display:flex;position:absolute}html[data-crm-surface=mobile] body .layout-mobile .deal-task-chat-screen>.task-chat-groups{padding:var(--space-1)}html[data-crm-surface=mobile] body .layout-mobile .deal-task-chat-screen>.task-chat-groups .task-chat-selector{gap:var(--space-1);padding:0;display:flex;overflow-x:auto}html[data-crm-surface=mobile] body .layout-mobile .deal-task-chat-screen>.task-chat-groups .task-chat-selector>button{max-width:200px;min-height:28px;padding:var(--space-1) var(--space-2);flex:none;font-size:11px}html[data-crm-surface=mobile] body .layout-mobile .deal-task-chat-screen>.timeline-event{display:none}html[data-crm-surface=mobile] body .layout-mobile .deal-task-chat-screen .inline-task-conversation{padding:var(--space-3);flex:1;min-height:0}html[data-crm-surface=mobile] body .layout-mobile .deal-task-chat-composer{padding:var(--space-1) 0 max(var(--space-1), env(safe-area-inset-bottom))}html[data-crm-surface=mobile] body .layout-mobile .ai-panel.mobile-surface>header{min-height:44px;padding:var(--space-2) var(--space-3) var(--space-1)}html[data-crm-surface=mobile] body .layout-mobile .ai-panel.mobile-surface>header>div:last-child .icon-button,html[data-crm-surface=mobile] body .layout-mobile .ai-panel.mobile-surface .ai-identity>i{width:32px;height:32px}html[data-crm-surface=mobile] body .layout-mobile .ai-panel.mobile-surface .ai-mode-switch{height:36px;min-height:36px;margin:var(--space-1) var(--space-3) var(--space-2);width:auto;padding:3px}html[data-crm-surface=mobile] body .layout-mobile .ai-panel.mobile-surface .ai-mode-switch button{min-height:30px;font-size:13px}html[data-crm-surface=mobile] body .layout-mobile .ai-panel.mobile-surface.has-conversation:not(.expanded){height:min(72dvh,620px)}html[data-crm-surface=mobile] body .layout-mobile .ai-panel.mobile-surface.has-conversation .ai-thread{flex:1;min-height:0;display:block;overflow-y:auto}html[data-crm-surface=mobile] body .layout-mobile .ai-panel.mobile-surface .ai-chat-surface{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}html[data-crm-surface=mobile] body .layout-mobile .ai-panel.mobile-surface .ai-bottom-dock{padding:var(--space-1) var(--space-2) max(var(--space-2), env(safe-area-inset-bottom));flex:none}html[data-crm-surface=mobile] body .layout-mobile .ai-panel.mobile-surface .ai-history-row{min-height:28px;margin:0 var(--space-3);padding:0 var(--space-2);font-size:12px}html[data-crm-surface=mobile] body .layout-mobile .ai-panel.mobile-surface .message-input{min-height:44px;padding:var(--space-1);grid-template-columns:minmax(0,1fr) 36px}html[data-crm-surface=mobile] body .layout-mobile .ai-panel.mobile-surface .message-input>.message-input-textarea{padding:var(--space-2);grid-column:1}html[data-crm-surface=mobile] body .layout-mobile .ai-panel.mobile-surface .message-input>:is(.mobile-send,.mobile-voice){grid-column:2;width:36px!important;height:36px!important}html[data-crm-surface=mobile] body .layout-mobile .ai-panel.mobile-surface .ai-recorder-host.recording{display:block}html[data-crm-surface=mobile] body .layout-mobile :is(.entity-ai-thread,.ai-panel.mobile-surface) :is(.ai-inline-keyboard,.ai-entity-links) button{min-height:30px;padding:var(--space-1) var(--space-2);font-size:12px}html[data-crm-surface=mobile] body .layout-mobile .message-input--simple:not(.message-input--with-leading){grid-template-columns:minmax(0,1fr) 36px!important}html[data-crm-surface=mobile] body .layout-mobile .message-input--simple:not(.message-input--with-leading)>.message-input-textarea{grid-column:1}html[data-crm-surface=mobile] body .layout-mobile .message-input--simple:not(.message-input--with-leading)>:is(.mobile-send,.mobile-voice){grid-column:2}html[data-crm-surface=mobile] body .layout-mobile .ai-panel.mobile-surface .composer-box.message-input[data-mobile-action=voice]>.mobile-voice{display:grid!important}html[data-crm-surface=mobile] body .layout-mobile .ai-panel.mobile-surface .composer-box.message-input[data-mobile-action=voice]>.mobile-send,html[data-crm-surface=mobile] body .layout-mobile .ai-panel.mobile-surface .composer-box.message-input[data-mobile-action=send]>.mobile-voice{display:none!important}html[data-crm-surface=mobile] body .layout-mobile .ai-panel.mobile-surface .composer-box.message-input[data-mobile-action=send]>.mobile-send{display:grid!important}html[data-crm-surface=mobile] .warehouse-dashboard>.crm-page-header{min-height:0;margin-bottom:var(--space-2);padding:0}html[data-crm-surface=mobile] .warehouse-dashboard>.crm-page-header h1{font-size:18px}html[data-crm-surface=mobile] .warehouse-dashboard>.crm-page-header .crm-page-header__eyebrow{display:none}html[data-crm-surface=mobile] .warehouse-dashboard>.warehouse-tools{align-items:center;gap:var(--space-2);margin:var(--space-2) 0;box-shadow:none;background:0 0;border:0;grid-template-columns:minmax(0,1fr) 40px;padding:0;display:grid}html[data-crm-surface=mobile] body .layout-mobile .warehouse-tools>.report-search-control.warehouse-list-search{grid-area:1/1;min-width:0;margin:0}html[data-crm-surface=mobile] body .layout-mobile .warehouse-tools>.report-search-control.warehouse-list-search>div{height:40px;min-height:40px;padding-inline:var(--space-3)}html[data-crm-surface=mobile] .warehouse-mobile-filter-toggle{width:40px;height:40px;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);grid-area:1/2;place-items:center;display:grid}html[data-crm-surface=mobile] .warehouse-tabs{gap:var(--space-1)}html[data-crm-surface=mobile] .warehouse-tabs button{min-height:34px;padding:0 var(--space-2);font-size:11px}html[data-crm-surface=mobile] .warehouse-tabs button b{width:auto;min-width:0;padding-inline:var(--space-2)}html[data-crm-surface=mobile] .warehouse-mobile-filters-body{gap:var(--space-3);min-height:0;padding-block:var(--space-3);display:grid;overflow-y:auto}html[data-crm-surface=mobile] .warehouse-mobile-filters-body .warehouse-intro-controls{gap:var(--space-2);grid-template-columns:1fr;display:grid}html[data-crm-surface=mobile] .warehouse-mobile-filters-body .pc-select-filter{gap:var(--space-1);min-width:0;padding:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-lg);display:grid;position:relative}html[data-crm-surface=mobile] .warehouse-mobile-filters-body .pc-select-filter>span{gap:var(--space-2);color:var(--muted);font-size:12px;display:flex}html[data-crm-surface=mobile] .warehouse-mobile-filters-body .pc-select-filter>svg{display:none}html[data-crm-surface=mobile] .warehouse-mobile-filters-body :is(select,button){min-height:40px}html[data-crm-surface=mobile] .warehouse-mobile-filters-body select{width:100%;min-width:0;padding:var(--space-2);color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);font-size:16px}html[data-crm-surface=mobile] .warehouse-mobile-filters-body .wh-filters{gap:var(--space-2);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}html[data-crm-surface=mobile] .warehouse-mobile-filters-body .wh-filters>label,html[data-crm-surface=mobile] .warehouse-mobile-status{gap:var(--space-1);min-width:0;font-size:12px;display:grid}html[data-crm-surface=mobile] .warehouse-mobile-filters-body .wh-filters>button{grid-column:1/-1}html[data-crm-surface=mobile] .warehouse-mobile-filters-body .warehouse-scope{gap:var(--space-2);margin:0;display:grid}html[data-crm-surface=mobile] .warehouse-mobile-filters-body .warehouse-scope>div{min-width:0;display:flex}html[data-crm-surface=mobile] .warehouse-mobile-filters-body .warehouse-scope button{min-width:0;padding-inline:var(--space-2);flex:1;font-size:12px}html[data-crm-surface=mobile] body .layout-mobile .warehouse-dashboard>.wh-compact-metrics{display:none}html[data-crm-surface=mobile] .task-access-section .field-row.participant-field{align-items:center;gap:var(--space-1) var(--space-2);padding:var(--space-3);text-align:left;grid-template-rows:auto auto;grid-template-columns:24px minmax(0,1fr) 18px;display:grid}html[data-crm-surface=mobile] .task-access-section .participant-field>svg:first-child{grid-area:1/1/3}html[data-crm-surface=mobile] .task-access-section .participant-field>span{min-width:0;color:var(--muted);grid-area:1/2;font-size:12px}html[data-crm-surface=mobile] .task-access-section .participant-field>strong{white-space:normal;overflow-wrap:anywhere;grid-area:2/2;min-width:0;max-width:100%;font-size:13px;line-height:1.4}html[data-crm-surface=mobile] .task-access-section .participant-field>svg:last-child{grid-area:1/3/3}html[data-crm-surface=mobile] .warehouse-mobile-filters-body .warehouse-filter-actions{min-width:0}html[data-crm-surface=mobile] .warehouse-mobile-filters-body .warehouse-filter-actions>button{width:100%}html[data-crm-surface=mobile] body .pc-button{max-width:100%;min-height:40px;padding:var(--space-2) var(--space-3);border:1px solid var(--color-border-subtle);border-radius:var(--radius-lg);background:var(--color-surface);color:var(--color-text);font:inherit;justify-content:center;align-items:center;font-weight:700;display:inline-flex}html[data-crm-surface=mobile] body .pc-button--primary{color:var(--color-on-primary);border-color:var(--color-primary);background:var(--color-primary)}html[data-crm-surface=mobile] body .pc-button--danger{color:var(--color-danger)}html[data-crm-surface=mobile] body .pc-button--text{background:0 0;border-color:#0000}html[data-crm-surface=mobile] body .pc-button:disabled{opacity:.55}html[data-crm-surface=mobile] body .pc-button-content{min-width:0;display:grid}html[data-crm-surface=mobile] body :is(.pc-button-rest,.pc-button-busy){justify-content:center;align-items:center;gap:var(--space-2);overflow-wrap:anywhere;grid-area:1/1;min-width:0;display:inline-flex}html[data-crm-surface=mobile] body .pc-button-busy,html[data-crm-surface=mobile] body .pc-button[data-loading=true] .pc-button-rest{visibility:hidden}html[data-crm-surface=mobile] body .pc-button[data-loading=true] .pc-button-busy{visibility:visible}html[data-crm-surface=mobile] body .pc-button :is(svg,.pc-button-spinner){width:var(--space-4);height:var(--space-4);flex:none}html[data-crm-surface=mobile] body .document-workspace{min-width:0;padding-inline:var(--space-3)}html[data-crm-surface=mobile] body .documents-tabpanel{min-width:0;max-width:100%}html[data-crm-surface=mobile] body .documents-tabpanel[hidden]{display:none}html[data-crm-surface=mobile] body .document-workspace .documents-navigation{min-width:0;overflow-x:auto}html[data-crm-surface=mobile] body .document-workspace .documents-navigation__item{flex-shrink:0}html[data-crm-surface=mobile] body .document-generator{width:100%;min-width:0}html[data-crm-surface=mobile] body .document-generator>header{min-height:44px;padding:var(--space-2) var(--space-3)}html[data-crm-surface=mobile] body .document-generator strong{font-size:13px}html[data-crm-surface=mobile] body .document-generator small{font-size:11px;line-height:1.35}html[data-crm-surface=mobile] body .document-actions{padding:var(--space-2);grid-template-columns:minmax(0,1fr)}html[data-crm-surface=mobile] body .document-actions .document-primary-action{gap:var(--space-2);width:100%;min-height:48px;padding:var(--space-2);grid-template-columns:28px minmax(0,1fr) 16px}html[data-crm-surface=mobile] body .document-actions .document-primary-action>svg:first-child{width:28px;height:28px;padding:var(--space-1)}html[data-crm-surface=mobile] body .document-actions .document-primary-action>span strong{font-size:13px}html[data-crm-surface=mobile] body .document-actions .document-primary-action>span small{font-size:11px}html[data-crm-surface=mobile] body .document-registry>header{min-height:40px;padding:var(--space-2) var(--space-3)}html[data-crm-surface=mobile] body .document-registry>p{padding:var(--space-3);font-size:12px}html[data-crm-surface=mobile] body .document-registry article{gap:var(--space-2);grid-template-columns:28px minmax(0,1fr) auto}html[data-crm-surface=mobile] body .document-registry article>span strong{white-space:normal;overflow-wrap:anywhere}html[data-crm-surface=mobile] body .document-registry article>div{grid-column:auto}html[data-crm-surface=mobile] body :is(.document-load-status,.document-load-error){padding:var(--space-3);margin:0;font-size:12px}html[data-crm-surface=mobile] body .document-load-error{gap:var(--space-2);color:var(--color-danger);display:grid}html[data-crm-surface=mobile] body .document-load-error button{border:1px solid var(--color-border-subtle);border-radius:var(--radius-lg);background:var(--color-surface);min-height:40px;font:inherit}html[data-crm-surface=mobile] body .document-modal-backdrop{padding:var(--space-2)}html[data-crm-surface=mobile] body .document-modal{width:100%;max-width:520px;max-height:calc(var(--app-visual-viewport-height,100dvh) - var(--space-4))}html[data-crm-surface=mobile] body .document-modal>header{min-height:48px;padding:var(--space-2) var(--space-3)}html[data-crm-surface=mobile] body .document-modal>header h2{font-family:inherit;font-size:16px}html[data-crm-surface=mobile] body .document-modal-body{min-width:0;padding:var(--space-3);overscroll-behavior:contain}html[data-crm-surface=mobile] body .document-modal-body label>span{font-size:12px}html[data-crm-surface=mobile] body .document-modal-body :is(input,textarea,select){max-width:100%;font-size:16px}html[data-crm-surface=mobile] body .document-item-editor{flex-wrap:wrap;min-width:0;display:flex}html[data-crm-surface=mobile] body .document-item-editor>input{flex:40%;width:40%}html[data-crm-surface=mobile] body .document-item-editor>input:first-child{flex-basis:100%;width:100%}html[data-crm-surface=mobile] body .document-modal>footer{padding:var(--space-2) var(--space-3);flex-wrap:wrap}html[data-crm-surface=mobile] body .document-modal>footer button{min-width:0;height:auto;min-height:40px;padding:var(--space-2);flex:100%;font-size:12px}html[data-crm-surface=mobile] body .document-company-error>div{gap:var(--space-2);flex-wrap:wrap;display:flex}html[data-crm-surface=mobile] body .document-company-error>div button{flex:100%;min-height:40px}html[data-crm-surface=mobile] body .deal-document-workspace,html[data-crm-surface=mobile] body .deal-document-list{min-width:0;max-width:100%}html[data-crm-surface=mobile] body .deal-document-list .deal-document-toolbar{gap:var(--space-2);padding:var(--space-2);flex-wrap:wrap}html[data-crm-surface=mobile] body .deal-document-toolbar .deal-document-create{min-width:0}html[data-crm-surface=mobile] body .deal-document-toolbar>[role=status]{flex-basis:100%;order:3;font-size:12px}html[data-crm-surface=mobile] body .deal-document-view-switch{flex:none;margin-left:auto}html[data-crm-surface=mobile] body .deal-document-view-switch button{width:32px;height:32px}html[data-crm-surface=mobile] body .deal-document-create-menu{max-width:calc(100vw - var(--space-8))}html[data-crm-surface=mobile] body .deal-document-list .deal-document-create-menu>button,html[data-crm-surface=mobile] body .deal-document-list .deal-document-menu>div>:is(a,button){min-height:40px;padding:var(--space-2);overflow-wrap:anywhere;font-size:12px}html[data-crm-surface=mobile] body .deal-document-list .deal-document-rows:not(.deal-document-rows--grid) .deal-document-row{gap:var(--space-1) var(--space-2);padding:var(--space-2) var(--space-3);grid-template-rows:auto;grid-template-columns:minmax(0,1fr) 36px}html[data-crm-surface=mobile] body .deal-document-list .deal-document-rows:not(.deal-document-rows--grid) .deal-document-row--head{display:none}html[data-crm-surface=mobile] body .deal-document-list .deal-document-rows:not(.deal-document-rows--grid) .deal-document-row>:is(strong,.deal-document-name-input){grid-area:1/1;min-width:0;max-width:100%;margin:0;font-size:14px;line-height:1.35}html[data-crm-surface=mobile] body .deal-document-list .deal-document-rows:not(.deal-document-rows--grid) .deal-document-row>strong{white-space:normal;overflow-wrap:anywhere}html[data-crm-surface=mobile] body .deal-document-list .deal-document-rows .deal-document-row>.deal-document-name-input{min-height:36px;font-size:16px}html[data-crm-surface=mobile] body .deal-document-list .deal-document-rows:not(.deal-document-rows--grid) .deal-document-row>.deal-document-name-input{font-size:16px}html[data-crm-surface=mobile] body .deal-document-list .deal-document-rows:not(.deal-document-rows--grid) .deal-document-row__number{grid-area:3/1;font-size:12px;display:block}html[data-crm-surface=mobile] body .deal-document-list .deal-document-rows:not(.deal-document-rows--grid) .deal-document-row>time{grid-area:4/1;font-size:11px}html[data-crm-surface=mobile] body .deal-document-list .deal-chat-media .deal-document-rows:not(.deal-document-rows--grid) .deal-document-row>time{grid-row:2}html[data-crm-surface=mobile] body .deal-document-list .deal-document-rows:not(.deal-document-rows--grid) .deal-document-row>.deal-document-row__type,html[data-crm-surface=mobile] body .deal-document-list .deal-document-row>span:nth-last-child(2){display:none}html[data-crm-surface=mobile] body .deal-document-list>.deal-document-rows:not(.deal-document-rows--grid) .deal-document-row>.deal-document-row__type{color:var(--muted);grid-area:2/1;font-size:12px;display:block}html[data-crm-surface=mobile] body .deal-document-list .deal-document-rows:not(.deal-document-rows--grid) .deal-document-menu{grid-area:1/2/4;align-self:start}html[data-crm-surface=mobile] body .deal-document-list .deal-document-menu>.entity-more-button{width:36px;min-width:36px;height:36px;min-height:36px;padding:0}html[data-crm-surface=mobile] body .deal-document-list .deal-document-menu .entity-more-button .pc-button-busy{display:none}html[data-crm-surface=mobile] body .deal-document-list .deal-document-menu>div{z-index:30;max-width:calc(100vw - var(--space-8))}html[data-crm-surface=mobile] body .deal-document-list .deal-document-empty{padding:var(--space-4);font-size:12px;line-height:1.45}html[data-crm-surface=mobile] body .deal-document-list .deal-document-rows--grid{gap:var(--space-2);padding:var(--space-2);grid-template-columns:minmax(0,1fr)}html[data-crm-surface=mobile] body .deal-document-list .deal-document-rows--grid .deal-document-row{grid-template-rows:120px auto auto auto}html[data-crm-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-canvas:#11151b;--color-surface:#1b212a;--color-surface-muted:#151b23;--color-surface-subtle:#202833;--color-surface-subtle-alt:#202833;--color-surface-hover:#2a3441;--color-surface-sunken:#11171e;--color-surface-rail:#171d25;--color-surface-selection:#3c2b26;--color-surface-glass:#1b212af0;--color-surface-glass-soft:#1b212ab3;--color-surface-glass-strong:#1b212af5;--color-overlay:#000000ad;--color-text:#e9edf3;--color-text-secondary:#bdc7d4;--color-text-muted:#a5b1c2;--color-text-subtle:#98a6b9;--color-text-faint:#8391a5;--color-text-warm:#ffae88;--color-border:#354151;--color-border-subtle:#293340;--color-border-strong:#63748a;--color-action:#ff966b;--color-action-hover:#ffae88;--color-action-emphasis:#ffae88;--color-selection-strong:#394757;--color-primary:#ff966b;--color-primary-text:#ffae88;--color-primary-hover:#ffae88;--color-primary-strong:#d46539;--color-primary-soft:#462e26;--color-primary-softer:#34261f;--color-primary-faint:#2c221e;--color-primary-border:#86533c;--color-on-primary:#1b1715;--color-accent:#ff966b;--color-accent-contrast:#ff8da0;--color-focus:#8ab9ff;--color-focus-soft:#233d61;--color-link:#8fbeff;--color-link-strong:#b0d1ff;--color-info:#8fbeff;--color-info-soft:#21364c;--color-success:#82d4a4;--color-success-strong:#a0e6bd;--color-success-ink:#a0e6bd;--color-success-soft:#20392c;--color-success-surface:#20392c;--color-success-surface-subtle:#1c3027;--color-success-surface-strong:#35634a;--color-success-border:#47795a;--color-warning:#f2cc78;--color-warning-strong:#ffe1a0;--color-warning-ink:#ffe1a0;--color-warning-soft:#3b321e;--color-warning-surface:#3b321e;--color-warning-border-soft:#78633c;--color-danger:#ff9696;--color-danger-action:#ec7474;--color-danger-strong:#ffb1b1;--color-danger-ink:#ffb1b1;--color-danger-strong-ink:#ffb1b1;--color-danger-soft:#40272c;--color-danger-surface:#40272c;--color-danger-border:#85505a;--color-danger-border-soft:#85505a;--color-input-text:var(--color-text);--color-input-border:var(--color-border-strong);--color-disabled-text:#8d9aab;--color-disabled-icon:#8d9aab;--color-disabled-border:#354151;--color-disabled-surface:#202630;--color-table-heading:var(--color-text-muted);--color-table-divider:var(--color-border-subtle);--color-table-divider-strong:var(--color-border);--color-table-header-surface:#202833;--color-navigation-surface:#202833;--color-next-action-surface:#283344;--color-next-action-border:#495c73;--color-next-action-accent-soft:#283344;--color-stock-available:#82d4a4;--color-stock-available-bg:#20392c;--color-stock-pending:#f2cc78;--color-stock-pending-bg:#3b321e;--color-stock-blocked:#ff9696;--color-stock-blocked-bg:#40272c;--color-status-ready:#82d4a4;--color-status-ready-surface:#20392c;--color-status-sold:#8fbeff;--color-status-sold-surface:#21364c;--color-status-repair:#c8a7f0;--color-status-repair-surface:#352b46;--color-status-disputed:#f2cc78;--color-status-disputed-surface:#3b321e;--color-status-reserved:#f2cc78;--color-status-reserved-surface:#3b321e;--color-status-blocked-surface:#40272c;--color-warehouse-panel-surface:#202b26;--color-warehouse-price-surface:#202b26;--color-warehouse-price-border:#425c4b;--color-warehouse-margin:#a0e6bd;--color-warehouse-margin-muted:#a5b1c2;--color-warehouse-input-border:#63748a;--color-warehouse-hero-start:#202b26;--color-warehouse-hero-end:#1b212a;--color-warehouse-panel-start:#202b26;--color-warehouse-row-hover:#2a3441;--color-warehouse-actions-surface:#242a32;--color-warehouse-child-surface:#202833;--color-platform-surface-1:#151b23;--color-platform-surface-2:#202833;--color-platform-surface-3:#202833;--color-platform-text-1:#e9edf3;--color-platform-text-2:#e9edf3;--color-platform-text-3:#e9edf3;--color-platform-text-4:#e9edf3;--color-platform-muted-1:#a5b1c2;--color-platform-muted-2:#a5b1c2;--color-platform-muted-3:#a5b1c2;--color-platform-border-1:#354151;--color-platform-border-2:#354151;--color-warehouse-danger-1:var(--color-danger);--color-warehouse-warning-1:var(--color-warning);--color-warehouse-danger-2:var(--color-danger);--color-warehouse-warning-2:var(--color-warning);--color-warehouse-danger-3:var(--color-danger);--color-warehouse-info-1:var(--color-info);--color-warehouse-info-2:var(--color-info);--color-warehouse-text-1:var(--color-text);--color-warehouse-text-2:var(--color-text);--color-warehouse-info-3:var(--color-info);--color-warehouse-success-1:var(--color-success);--color-warehouse-info-4:var(--color-info);--color-warehouse-text-3:var(--color-text);--color-warehouse-muted-1:var(--color-text-muted);--color-warehouse-success-2:var(--color-success);--color-warehouse-border-1:var(--color-border);--color-warehouse-warning-3:var(--color-warning);--color-warehouse-surface-1:var(--color-surface-subtle);--color-platform-info-1:var(--color-info);--color-platform-success-1:var(--color-success);--color-platform-warning-1:var(--color-warning);--color-platform-danger-1:var(--color-danger);--color-platform-success-2:var(--color-success);--color-platform-status-surface-1:var(--color-surface-subtle);--color-platform-danger-2:var(--color-danger);--color-platform-info-2:var(--color-info);--color-logistics-info-1:var(--color-info);--color-logistics-info-2:var(--color-info);--color-logistics-info-3:var(--color-info);--color-logistics-heading-1:var(--color-text);--color-logistics-heading-2:var(--color-text);--color-logistics-heading-3:var(--color-text);--color-logistics-heading-4:var(--color-text);--color-logistics-muted-1:var(--color-text-muted);--color-logistics-muted-2:var(--color-text-muted);--color-logistics-muted-3:var(--color-text-muted);--color-logistics-muted-4:var(--color-text-muted);--color-logistics-muted-5:var(--color-text-muted);--color-logistics-muted-6:var(--color-text-muted);--color-logistics-muted-7:var(--color-text-muted);--color-logistics-border-1:var(--color-border);--color-logistics-border-2:var(--color-border);--color-logistics-border-3:var(--color-border);--color-logistics-border-4:var(--color-border);--color-logistics-border-5:var(--color-border);--color-logistics-border-6:var(--color-border);--color-logistics-border-7:var(--color-border);--color-logistics-border-8:var(--color-border);--color-logistics-border-9:var(--color-border);--color-logistics-surface-1:var(--color-surface-subtle);--color-logistics-surface-2:var(--color-surface-subtle);--color-logistics-surface-3:var(--color-surface-subtle);--color-logistics-surface-4:var(--color-surface-subtle);--color-logistics-surface-5:var(--color-surface-subtle);--color-logistics-surface-6:var(--color-surface-subtle);--color-logistics-surface-7:var(--color-surface-subtle);--color-logistics-surface-8:var(--color-surface-subtle);--color-logistics-surface-9:var(--color-surface-subtle);--color-logistics-danger-1:var(--color-danger);--color-logistics-danger-2:var(--color-danger);--color-logistics-danger-3:var(--color-danger);--color-logistics-danger-4:var(--color-danger);--color-logistics-danger-border-1:var(--color-border);--color-logistics-danger-surface-1:var(--color-surface-subtle);--color-logistics-success-1:var(--color-success);--color-logistics-success-2:var(--color-success);--color-logistics-success-surface-1:var(--color-surface-subtle);--color-logistics-success-surface-2:var(--color-surface-subtle);--color-logistics-warning-surface-1:var(--color-surface-subtle);--color-warehouse-margin-text:var(--color-text);--color-warehouse-margin-muted-text:var(--color-text-muted);--shadow-xs:0 1px 2px #00000040;--shadow-sm:0 4px 14px #00000047;--shadow-md:0 12px 34px #0006;--shadow-lg:0 24px 64px #00000080;--shadow-sheet:var(--shadow-lg);--bg:var(--color-canvas);--surface:var(--color-surface);--surface-2:var(--color-surface-muted);--surface-soft:var(--color-surface-subtle);--text:var(--color-text);--ink:var(--color-text);--muted:var(--color-text-muted);--faint:var(--color-text-faint);--line:var(--color-border);--accent:var(--color-primary);--accent-soft:var(--color-primary-soft);--danger:var(--color-danger);--danger-soft:var(--color-danger-soft);--green:var(--color-success);color:var(--color-text);background:var(--color-canvas)}.profile-screen>header:has(.profile-theme-toggle){grid-template-columns:auto 1fr auto auto}.profile-screen>header .icon-button.profile-theme-toggle{display:grid}html[data-crm-theme=dark] body{color:var(--text);background:var(--bg)}html[data-crm-theme=dark] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea,select){color:var(--text);background-color:var(--surface);border-color:var(--line)}html[data-crm-theme=dark] :is(input,textarea)::placeholder{color:var(--muted);opacity:1}html[data-crm-theme=dark] :is(input,textarea,select):disabled{color:var(--faint);background-color:var(--surface-2)}html[data-crm-theme=dark] :is(input[type=checkbox],input[type=radio]){accent-color:var(--accent)}html[data-crm-theme=dark] :focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}html[data-crm-theme=dark] :is(.profile-screen,.profile-card,.settings-section,.profile-screen>header,.task-chat-directory-group>button,.task-chat-builder>header,.task-create-mode-switch>button,.task-builder-required,.task-participant-menu,.task-chat-panel,.task-chat-composer,.message-composer,.composer,.modal,.modal-sheet,.sheet,.popover,.dropdown-menu,.notification-panel,.notifications-panel,.search-panel,.entity-card,.deal-card,.task-card,.field-row,.note-block,.telegram-account-card,.telegram-account-form,.option-list button){background-color:var(--surface);color:var(--text);border-color:var(--line)}html[data-crm-theme=dark] :is(.stage-heading,.task-chat-builder,.task-chat-avatar,.task-builder-deal,.task-builder-participants>button,.task-create-chat-intro,.task-participant-menu>div>i,.transfer-notices,.transfer-notice-card,.task-participant-stack>i,.avatar-button span,.profile-card>span,.large-avatar){background:var(--surface-2);color:var(--muted);border-color:var(--line)}html[data-crm-theme=dark] :is(.transfer-notice-card strong,.task-chat-builder h2,.task-chat-builder h3){color:var(--text)}html[data-crm-theme=dark] :is(.task-create-mode-switch>button.active,.task-builder-participants>button.selected,.task-builder-deal.required,.task-chat-avatar.request,.task-chat-builder>header>span>i,.task-chat-directory-group>button>i.request,.offline-banner){color:var(--accent);background:var(--accent-soft);border-color:var(--color-primary-border)}html[data-crm-theme=dark] .entity-card:hover{background-color:var(--color-surface-hover)}html[data-crm-theme=dark] .entity-card:is(.current,.selected){background-color:var(--color-surface-selection)}html[data-crm-theme=dark] .brand-mark{background:var(--color-primary-strong);color:#fff}html[data-crm-theme=dark] :is(.message,.message-bubble){background-color:var(--surface);color:var(--text);border-color:var(--line)}html[data-crm-theme=dark] :is(.message,.message-bubble):is(.outgoing,.own){background-color:var(--accent-soft)}html[data-crm-theme=dark] .message.system{background-color:var(--surface-2);color:var(--muted)}html[data-crm-theme=dark] :is(.layout-desktop,.layout-mobile) .shell-notifications-action{background:var(--accent-soft);color:var(--accent)}html[data-crm-theme=dark] .call-transcript-dialog article[data-speaker="1"]{background:var(--color-primary-faint)}html[data-crm-theme=dark] .call-transcript-dialog article[data-speaker="2"]{background:var(--color-info-soft)}html[data-crm-theme=dark] .call-transcript-speaker-mark{background:var(--surface-2);color:var(--text)}html[data-crm-theme=dark] body,html[data-crm-theme=dark] .crm-shell.layout-desktop :is(.workspace,.entity-scroll,.warehouse-scroll,.management-workspace){background-image:none}html[data-crm-theme=dark][data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.search-zone .segmented button.active,.warehouse-tabs button.active,.motivation-tabs>button.active,.app-header .header-actions .icon-button.filter-active,.warehouse-report-tab.active button){color:var(--color-text)!important}html[data-crm-theme=dark] :is(.logout-button,.telegram-account-disconnect,.telegram-account-head .empty){color:var(--accent);background:var(--accent-soft);border-color:var(--color-primary-border)}html[data-crm-theme=dark] .telegram-account-message.error{color:var(--color-danger);background:var(--color-danger-soft);border-color:var(--color-danger-border)}html[data-crm-theme=dark] :is(.telegram-account-add,.telegram-account-form button){color:var(--color-on-primary)}html[data-crm-theme=dark][data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.pc-tab-list,.warehouse-tabs,.warehouse-card-tabs,.calls-tabs,.motivation-tabs,.sales-report-tabs,.mgmt-tabs,.documents-tabs,.deal-desktop-tabs,.clients-detail-navigation,.task-desktop-detail-tabs,.dictionary-group-tabs,.call-content-tabs [role=tablist],.logistics-view-toggle,.journal-switch)>:is(button,.warehouse-report-tab){color:var(--muted)!important}html[data-crm-theme=dark][data-crm-surface=desktop] body .crm-shell.layout-desktop :is(.pc-tab-list,.warehouse-tabs,.warehouse-card-tabs,.calls-tabs,.motivation-tabs,.sales-report-tabs,.mgmt-tabs,.documents-tabs,.deal-desktop-tabs,.clients-detail-navigation,.task-desktop-detail-tabs,.dictionary-group-tabs,.call-content-tabs [role=tablist],.logistics-view-toggle,.journal-switch)>:is(button,.warehouse-report-tab):is(.active,[aria-current=page],[aria-selected=true]){color:var(--text)!important;background:var(--color-selection-strong)!important;border-color:var(--line)!important}html[data-crm-theme=dark] .crm-shell.layout-desktop .list-pane{background-image:none;background-color:var(--bg)}html[data-crm-theme=dark] .crm-shell.layout-desktop .shell-navigation .shell-navigation-item[aria-current=page]{color:var(--text)}html[data-crm-theme=dark] .crm-shell.layout-desktop .search-field input{background-color:var(--surface);color:var(--text)}html[data-crm-theme=dark] :is(.ai-thread,.manual-create-panel,.inventory-model,.inventory-row .inventory-model.inventory-model-button,.warehouse-deal-actions,.warehouse-payments-total-rop,.journal-note-composer,.journal-switch,.attach-source-switch,.field-section-switch,.merge-conflict,.merge-conflict>div>span,.merge-conflict>div>button,.task-chat-builder>header>button,.task-builder-participants>button>span:first-child,.task-chat-directory-group>button>i){background:var(--surface-2);color:var(--text);border-color:var(--line)}html[data-crm-theme=dark] :is(.journal-switch,.attach-source-switch,.field-section-switch) button.active{background:var(--surface);color:var(--accent)}html[data-crm-theme=dark] :is(.ai-message.error,.manual-create-actions button.active,.scheduled-entry){background:var(--accent-soft);color:var(--accent);border-color:var(--color-primary-border)}html[data-crm-theme=dark] .task-chat-directory-group>button small{color:var(--muted)}html[data-crm-theme=dark] .create-first-dialog{background:var(--accent-soft)!important;border-color:var(--color-primary-border)!important}html[data-crm-theme=dark] .composer-box.disabled{background:var(--surface-2)}html[data-crm-theme=dark] .warehouse-margin-result{background:var(--color-success-soft);color:var(--color-success)}html[data-crm-theme=dark] .commercial-status-chip.ready{--commercial-status-color:var(--color-status-ready);--commercial-status-bg:var(--color-status-ready-surface)}html[data-crm-theme=dark] .commercial-status-chip.reserve{--commercial-status-color:var(--color-status-reserved);--commercial-status-bg:var(--color-status-reserved-surface)}html[data-crm-theme=dark] .commercial-status-chip.repair{--commercial-status-color:var(--color-status-repair);--commercial-status-bg:var(--color-status-repair-surface)}html[data-crm-theme=dark] .commercial-status-chip.sold{--commercial-status-color:var(--color-status-sold);--commercial-status-bg:var(--color-status-sold-surface)}html[data-crm-theme=dark] .commercial-status-chip.blocked{--commercial-status-color:var(--color-danger);--commercial-status-bg:var(--color-danger-soft)}html[data-crm-theme=dark] .commercial-status-chip.customs,html[data-crm-theme=dark] .commercial-status-chip.disputed{--commercial-status-color:var(--color-status-disputed);--commercial-status-bg:var(--color-status-disputed-surface)}html[data-crm-theme=dark][data-crm-surface=mobile] body .layout-mobile .list-pane{background-image:none;background-color:var(--bg)}html[data-crm-theme=dark][data-crm-surface=mobile] body .layout-mobile .nav-switch{background:var(--surface);border-color:var(--line);box-shadow:var(--shadow-lg)}html[data-crm-theme=dark][data-crm-surface=mobile] body .layout-mobile :is(.segmented,.nav-switch) button.active{color:var(--text);background:var(--color-selection-strong)}html[data-crm-theme=dark][data-crm-surface=desktop] body button.pc-button.pc-button--secondary{--pc-action-color:var(--color-info);--pc-action-border:var(--color-border-strong);--pc-action-background:var(--color-info-soft);--pc-action-hover-color:var(--color-text);--pc-action-hover-border:var(--color-info);--pc-action-hover-background:var(--color-surface-hover);--pc-action-pressed-background:var(--color-surface-selection)}html[data-crm-theme=dark][data-crm-surface=desktop] body .crm-shell.layout-desktop .workspace:is([data-section=tasks],[data-section=clients],[data-section=sales]):not(.has-detail):not(.warehouse-mode):not(.calls-mode)>.list-pane{background:var(--color-canvas)}html[data-crm-theme=dark][data-crm-surface=desktop] body .layout-desktop .ai-panel.assistant-shell{--assistant-ink:var(--color-text);--assistant-muted:var(--color-text-muted);--assistant-paper:var(--color-surface-muted);--assistant-line:var(--color-border);--assistant-accent:var(--color-primary);--assistant-on-accent:var(--color-on-primary);--assistant-surface:var(--color-surface);--assistant-surface-muted:var(--color-surface-subtle);--assistant-active-surface:var(--color-primary-soft);--assistant-disabled-surface:var(--color-disabled-surface);--assistant-accent-hover:var(--color-primary-hover);--assistant-surface-glass:var(--color-surface-glass);--assistant-paper-glass:var(--color-surface-glass-strong);--assistant-glow:var(--color-surface-subtle);--assistant-label:var(--color-text-secondary);--assistant-placeholder:var(--color-text-muted);--assistant-control-border:var(--color-border);--assistant-active-border:var(--color-primary-border);--assistant-focus:var(--color-focus);--assistant-scrollbar:var(--color-border-strong);box-shadow:var(--shadow-lg)}html[data-crm-theme=dark]{--deal-chat-canvas:#141b24;--deal-chat-incoming:#222d3a;--deal-chat-outgoing:#403029;--deal-ai-canvas:#191c28;--deal-ai-glow:#292a3b;--deal-ai-message:#252a38;--deal-ai-text:var(--color-text);--deal-ai-border:#40465c;--deal-ai-ring:var(--deal-ai-canvas);--deal-ai-focus:var(--color-focus);--deal-ai-action:var(--color-primary);--deal-ai-on-action:var(--color-on-primary)}html[data-crm-theme=dark] .deal-detail-screen .entity-ai-thread{background:radial-gradient(ellipse at top right, var(--deal-ai-glow), transparent 65%), var(--deal-ai-canvas);color:var(--text)}html[data-crm-theme=dark] .deal-detail-screen .entity-ai-thread .message.ai{background:var(--deal-ai-message);color:var(--text);border-color:var(--deal-ai-border)}html[data-crm-theme=dark][data-crm-surface=desktop] body .crm-shell.layout-desktop .deal-desktop-chat:not(.deal-desktop-chat-ai) .conversation{background:var(--deal-chat-canvas)}html[data-crm-theme=dark][data-crm-surface=desktop] body .crm-shell.layout-desktop .deal-desktop-chat .message.them{background:var(--deal-chat-incoming);color:var(--text);border-color:var(--line);box-shadow:var(--shadow-xs)}html[data-crm-theme=dark][data-crm-surface=desktop] body .crm-shell.layout-desktop .deal-desktop-chat .message.me{background:var(--deal-chat-outgoing);color:var(--text);border-color:var(--color-primary-border);box-shadow:var(--shadow-xs)}html[data-crm-theme=dark] .deal-detail-screen :is(.message time,.message-author,.message-avatar-content>strong){color:var(--muted)}html[data-crm-theme=dark] .deal-detail-screen .message-attachment:not(.voice):not(.image):not(.media){background-color:var(--surface-2);color:var(--text);border-color:var(--line)}html[data-crm-theme=dark] .deal-detail-screen :is(.deal-contact-switcher>div>article,.deal-dialog-list article>footer button,.deal-entity-open,.deal-contact-primary,.deal-dialog-select,.deal-desktop-journal,.read-only-dialog-notice,.journal-note-composer,.scheduled-conversation .scheduled-title,.scheduled-message){background-color:var(--surface);color:var(--text);border-color:var(--line)}html[data-crm-theme=dark] .deal-detail-screen .deal-contact-switcher>div>article.active{background:var(--accent-soft);border-color:var(--color-primary-border)}html[data-crm-theme=dark] .deal-detail-screen .scheduled-message :is(.scheduled-date,footer>span button){background:var(--surface-2);color:var(--muted)}html[data-crm-theme=dark][data-crm-surface=mobile] body .layout-mobile .deal-detail-screen .conversation-frame{background:var(--deal-chat-canvas)}html[data-crm-theme=dark][data-crm-surface=mobile] body .layout-mobile .deal-detail-screen :is(.message.them,.deal-call-card){background:var(--deal-chat-incoming);color:var(--text);filter:none;box-shadow:var(--shadow-xs)}html[data-crm-theme=dark][data-crm-surface=mobile] body .layout-mobile .deal-detail-screen :is(.message.me,.deal-call-card.outgoing){background:var(--deal-chat-outgoing);color:var(--text);filter:none;box-shadow:var(--shadow-xs)}html[data-crm-theme=dark][data-crm-surface=mobile] body .layout-mobile .deal-detail-screen .message.ai{background:var(--deal-ai-message);color:var(--text);filter:none}html[data-crm-theme=dark][data-crm-surface=mobile] body .layout-mobile .deal-detail-screen :is(.message,.deal-call-card):after{background-image:none}html[data-crm-theme=dark][data-crm-surface=mobile] body .layout-mobile .deal-detail-screen :is(.composer-zone,.composer-toolbar,.composer-box,.top-tabs){background:var(--surface);color:var(--text);border-color:var(--line)}html[data-crm-theme=dark]{--color-next-action-accent:var(--color-info)}html[data-crm-theme=dark][data-crm-surface=mobile] body .layout-mobile .deal-detail-screen{background:var(--deal-chat-canvas)}html[data-crm-theme=dark][data-crm-surface=mobile] body .layout-mobile .deal-detail-screen .deal-detail-header :is(.deal-title-block,.back-button,.deal-action-circle),html[data-crm-theme=dark][data-crm-surface=mobile] body .layout-mobile .deal-detail-screen .deal-status-stack{background:var(--color-surface-glass);color:var(--text);box-shadow:none}html[data-crm-theme=dark][data-crm-surface=mobile] body .layout-mobile .deal-detail-screen .deal-detail-header :is(.deal-title-button,.deal-title){color:var(--text)}html[data-crm-theme=dark][data-crm-surface=mobile] body .layout-mobile .deal-detail-screen .detail-tabs button.active{background:var(--color-selection-strong);color:var(--text)}html[data-crm-theme=dark][data-crm-surface=mobile] body .layout-mobile .deal-detail-screen .deal-detail-header :is(.back-button,.deal-action-circle) svg{color:var(--text)}html[data-crm-theme=dark][data-crm-surface=mobile] body .layout-mobile .deal-detail-screen .message .message-author{color:var(--accent)}html[data-crm-theme=dark]{--mgmt-theme-surface:var(--color-surface);--mgmt-theme-surface-soft:var(--color-surface-subtle);--mgmt-theme-text:var(--color-text);--mgmt-theme-muted:var(--color-text-muted);--mgmt-theme-border:var(--color-border);--mgmt-theme-action-surface:#a74825;--mgmt-theme-accent-text:var(--color-primary);--mgmt-theme-accent-surface:var(--color-primary-soft);--mgmt-theme-accent-border:var(--color-primary-border);--mgmt-theme-danger-text:var(--color-danger);--mgmt-theme-danger-surface:var(--color-danger-soft);--mgmt-theme-danger-border:var(--color-danger-border);--mgmt-theme-info-text:var(--color-info);--mgmt-theme-info-surface:var(--color-info-soft);--mgmt-theme-info-border:var(--color-border-strong);--mgmt-theme-success-text:var(--color-success);--mgmt-theme-success-surface:var(--color-success-soft);--mgmt-theme-success-border:var(--color-success-border);--mgmt-theme-warning-text:var(--color-warning);--mgmt-theme-warning-surface:var(--color-warning-soft);--mgmt-theme-warning-border:var(--color-warning-border-soft)}html[data-crm-theme=dark] .app-error-screen{width:100%;min-height:100dvh;color:var(--color-text);background:radial-gradient(ellipse at 50% 35%, var(--color-surface-subtle), transparent 70%), var(--color-canvas);padding:clamp(20px,5vw,64px)}html[data-crm-theme=dark] .app-error-card{border:1px solid var(--color-border);border-top:3px solid var(--color-primary);border-radius:var(--radius-xl);background:var(--color-surface);box-shadow:var(--shadow-lg);padding:clamp(24px,4vw,36px)}html[data-crm-theme=dark] .app-error-label{color:var(--color-primary);font-size:13px}html[data-crm-theme=dark] .app-error-card h1{color:var(--color-text);font-size:clamp(22px,3vw,28px);line-height:1.25}html[data-crm-theme=dark] .app-error-card p{color:var(--color-text-secondary);line-height:1.6}html[data-crm-theme=dark] .app-error-message{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-sunken);padding:14px 16px}html[data-crm-theme=dark] .app-error-card .button-primary{border:1px solid var(--color-primary-border);border-radius:var(--radius-md);background:var(--color-primary);min-height:42px;color:var(--color-on-primary);padding:10px 18px}html[data-crm-theme=dark] .app-error-card .button-primary:hover{background:var(--color-primary-hover)}html[data-crm-theme=dark] .app-error-popup{color:var(--color-danger);border-color:var(--color-danger-border);background:var(--color-danger-soft);box-shadow:var(--shadow-lg)}html[data-crm-theme=dark] .app-error-popup button{color:var(--color-danger)}html[data-crm-theme=dark] .app-error-popup button:hover{background:var(--color-surface-hover)}html[data-crm-theme=dark]{--crm-theme-surface:var(--color-surface);--crm-theme-surface-soft:var(--color-surface-subtle);--crm-theme-glass:var(--color-surface-glass);--crm-theme-glass-soft:#ffffff0d;--crm-theme-border:var(--color-border);--crm-theme-text:var(--color-text);--crm-theme-muted:var(--color-text-muted);--crm-theme-on-solid:var(--color-canvas);--crm-theme-accent-surface:var(--color-primary-soft);--crm-theme-accent-text:var(--color-primary);--crm-theme-danger-surface:var(--color-danger-soft);--crm-theme-danger-text:var(--color-danger);--crm-theme-success-surface:var(--color-success-soft);--crm-theme-success-text:var(--color-success);--crm-theme-warning-surface:var(--color-warning-soft);--crm-theme-warning-text:var(--color-warning);--crm-theme-info-surface:var(--color-info-soft);--crm-theme-info-text:var(--color-info);--crm-theme-violet-surface:#332b46;--crm-theme-violet-text:#cfb6f4;--crm-theme-ink-surface:var(--color-selection-strong);--crm-theme-on-ink:var(--color-text)}html[data-crm-theme=dark] .warehouse-plan-completion i{background:var(--color-warning-soft)}
