.record-form-member .record-access,.record-form-member .record-identity{display:flex;flex-direction:column;gap:18px;min-width:0}.record-form-member .editor-section select{width:100%;min-width:0;min-height:42px;padding:10px 12px;border:1px solid var(--form-line);border-radius:8px;background:var(--form-paper,var(--background));color:var(--form-ink);font:inherit;font-weight:400}.record-form-member .editor-section small{font-weight:400;font-size:12px;line-height:1.5}.record-form-member .active-control{grid-column:1/-1}@media(max-width:760px){.record-form-member .editor-section :is(input,select){font-size:16px}}.designed-form.record-form.new-employee-dialog{width:min(920px,calc(100vw - 40px))!important;max-width:920px}.new-employee-dialog .new-employee-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;grid-column:1/-1}.new-employee-fields .editor-section{display:flex;flex-direction:column;gap:18px;min-width:0;margin:0}.new-employee-fields .editor-section+.editor-section{border-left:1px solid var(--subpro-line);padding-left:20px}.new-employee-fields label{display:block;font-size:13px;font-weight:500}.new-employee-fields :is(input,select){display:block;width:100%;min-width:0;min-height:42px;margin-top:7px;padding:10px 12px;border:1px solid var(--subpro-line);border-radius:8px;background:var(--background);color:var(--foreground);font:inherit}.new-employee-fields small{display:block;font-size:12px;font-weight:400;line-height:1.5;margin-top:6px}.new-employee-note{font-size:12px;line-height:1.6;color:var(--color-muted-foreground);margin:0}.new-employee-dialog .active-control{grid-column:1/-1}@media(max-width:700px){.designed-form.record-form.new-employee-dialog{width:calc(100vw - 24px)!important}.new-employee-dialog .new-employee-fields{grid-template-columns:minmax(0,1fr);gap:24px}.new-employee-fields .editor-section+.editor-section{border-left:0;border-top:1px solid var(--subpro-line);padding:20px}.new-employee-fields :is(input,select){font-size:16px}}.customers-page{--customers-muted:#777986;--customers-tint:#f8f8fb;min-width:0;color:var(--foreground)}.customers-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0 20px}.customers-heading-copy{display:flex;align-items:center;gap:14px;min-width:0}.customers-heading-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:48px;height:48px;border:1px solid color-mix(in srgb,var(--primary) 15%,transparent);border-radius:14px;background:var(--subpro-soft);color:var(--primary)}.customers-heading h2{display:flex;align-items:center;gap:10px;margin:0;font-size:23px;font-weight:650;letter-spacing:-.5px}.customers-heading p{margin:5px 0 0;font-size:13px;color:var(--customers-muted);line-height:1.5}.customers-count{font-size:12px;font-weight:600;letter-spacing:0;padding:3px 9px;border-radius:20px;background:var(--customers-tint);color:var(--customers-muted);border:1px solid var(--subpro-line)}.customers-heading>.primary{display:flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;font-size:14px}.customers-panel{overflow:hidden;background:var(--background,#fff)}.customers-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px;border-bottom:1px solid var(--subpro-line)}.customers-search{display:flex;align-items:center;gap:10px;flex:1;max-width:500px;padding:0 13px;min-height:44px;border:1px solid var(--subpro-line);border-radius:10px;background:var(--customers-tint);color:var(--customers-muted)}.customers-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 10%,transparent)}.customers-search>svg{flex-shrink:0}.customers-search input{width:100%;min-width:0;padding:11px 0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font-size:14px;color:var(--foreground)}.customers-search input::placeholder{color:var(--customers-muted)}.customers-search button{display:grid;place-items:center;background:transparent;border:0;min-width:28px;min-height:28px;color:inherit}.customers-toolbar-meta{display:flex;align-items:center;gap:18px;font-size:12px;color:var(--customers-muted);white-space:nowrap}.customers-refresh{display:flex;align-items:center;gap:7px;font-size:13px;min-height:38px;padding:8px 11px}.customers-spin{animation:customers-spin 1.2s linear infinite}@keyframes customers-spin{to{transform:rotate(1turn)}}@media(prefers-reduced-motion:reduce){.customers-spin{animation:none}}.customers-list [data-slot=table-container]{overflow:visible}.customers-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px}.customers-table th{background:var(--customers-tint);color:var(--customers-muted);font-size:11px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;text-align:left;padding:13px 22px;white-space:normal}.customers-table th:first-child{width:36%}.customers-table th:nth-child(3){width:180px}.customers-table th:last-child{width:66px}.customers-table td{border-bottom:1px solid var(--subpro-line);padding:18px 22px;vertical-align:middle;white-space:normal;overflow-wrap:anywhere}.customers-table tr:last-child td{border-bottom:0}.customers-table tbody tr:hover{background:var(--customers-tint)}.customers-company{padding-left:22px!important}.customers-name{font-size:14px;font-weight:600;text-align:left;line-height:1.5;color:var(--foreground);background:transparent;border:0;padding:0;overflow-wrap:anywhere}.customers-name:hover{color:var(--primary)}.customers-name:focus-visible{outline:2px solid var(--primary);outline-offset:4px;border-radius:3px}.customers-legal{font-size:13px;color:var(--customers-muted);line-height:1.6}.customers-inn span{display:inline-block;padding:5px 8px;border-radius:6px;background:var(--customers-tint);font-size:12px;letter-spacing:.4px;font-variant-numeric:tabular-nums;white-space:nowrap}.customers-action{padding-left:0!important;padding-right:22px!important}.customers-action .icon-button{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--subpro-line);background:transparent;color:var(--customers-muted)}.customers-empty{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;padding:56px 24px;color:var(--customers-muted)}.customers-empty>svg{color:var(--primary);margin-bottom:4px}.customers-empty strong{font-size:16px;color:var(--foreground)}.customers-empty p{font-size:13px;max-width:360px;margin:0;line-height:1.6}.customers-panel>.error{margin:16px 22px}.customers-dialog{max-width:520px!important}.customers-dialog [data-slot=dialog-header]{gap:10px}.customers-dialog [data-slot=dialog-title]{font-size:22px;line-height:1.35;overflow-wrap:anywhere}.customers-dialog [data-slot=dialog-description]{font-size:13px;line-height:1.6}.customers-dialog .form-grid{gap:20px;margin-top:8px}.customers-dialog .form-grid label{font-size:13px;gap:8px}.customers-dialog .form-grid input{min-height:46px;font-size:15px}.customers-dialog .form-actions{margin-top:4px;padding-top:20px;border-top:1px solid var(--subpro-line)}.dark .customers-page{--customers-muted:#a7b7c9;--customers-tint:#1d2c3e}.dark .customers-table tbody tr:hover{background:#213247}.dark .customers-dialog .customers-heading-icon{background:#422333}.dark .customers-count{color:#bac8d8}@media(max-width:700px){.customers-heading{align-items:flex-start;flex-direction:column;gap:16px;margin-top:20px}.customers-heading h2{font-size:21px}.customers-heading p{font-size:12px}.customers-heading>.primary{width:100%}.customers-heading-icon{width:42px;height:42px;border-radius:12px}.customers-toolbar{flex-wrap:wrap;padding:16px;gap:12px}.customers-search{max-width:none;flex-basis:100%}.customers-toolbar-meta{width:100%;justify-content:space-between}.customers-table,.customers-table tbody{display:block}.customers-table thead{display:none}.customers-table tr{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:9px;padding:18px 56px 18px 16px;border-bottom:1px solid var(--subpro-line)}.customers-table tr:last-child{border:0}.customers-table td{display:block;padding:0!important;border:0!important}.customers-table .customers-company{padding:0!important;min-height:28px;display:flex;align-items:center;margin-bottom:3px}.customers-legal{font-size:12px}.customers-legal:before{content:attr(data-label) " · ";color:var(--customers-muted)}.customers-inn:before{content:"ИНН ";font-size:11px;color:var(--customers-muted);margin-right:5px}.customers-table .customers-action{position:absolute;right:16px;top:20px}.customers-empty{padding:40px 20px}.customers-dialog{max-width:calc(100vw - 28px)!important}.customers-dialog .form-grid input{font-size:16px}}.customers-table tr{border-color:var(--subpro-line)}.customers-inn{color:var(--foreground)}.dark .customers-page .customers-inn,.dark .customers-page .customers-inn span{color:#dce6f1}.dark .customers-page .customers-heading>.primary{color:#fff!important;background:#c91950!important}.dark .customers-page .customers-refresh{background:#1d2c3e!important;color:#c5d2e0!important;border-color:#35455b!important}.customers-compact .customers-heading{margin:16px 0 12px;gap:12px}.customers-compact .customers-heading h2{font-size:19px;letter-spacing:-.25px}.customers-compact .customers-heading p{font-size:12px;margin-top:3px}.customers-compact .customers-heading>.primary{min-height:38px;padding:9px 13px;font-size:13px;border-radius:7px;box-shadow:none}.customers-compact .customers-count{border:0;background:none;padding:0 3px;font-weight:400;font-size:13px}.customers-compact .customers-panel{border-radius:9px;box-shadow:none}.customers-compact .customers-toolbar{padding:12px 14px;gap:12px}.customers-compact .customers-search{min-height:36px;max-width:420px;border-radius:6px;background:transparent}.customers-compact .customers-search input{padding:8px 0;font-size:13px}.customers-compact .customers-refresh{min-height:34px;padding:6px 9px;border-radius:6px}.customers-compact .customers-table th{padding:10px 14px;font-size:12px;font-weight:500;text-transform:none;letter-spacing:0}.customers-compact .customers-table td{padding:10px 14px;font-size:13px;line-height:1.45}.customers-compact .customers-table th:first-child{width:36%}.customers-compact .customers-table th:nth-child(3){width:160px}.customers-compact .customers-table th:last-child{width:48px}.customers-compact .customers-company{padding-left:14px!important}.customers-compact .customers-name{font-size:13px;font-weight:500;line-height:1.45}.customers-compact .customers-legal{color:var(--customers-muted);font-size:13px}.customers-compact .customers-inn span{padding:0;background:none;border-radius:0;font-size:13px;letter-spacing:0}.customers-compact .customers-action{padding-right:14px!important}.customers-compact .customers-action .icon-button{height:28px;width:28px;border:0;background:transparent!important}.customers-compact .customers-table tr{border-color:var(--subpro-line)}@media(max-width:700px){.customers-compact .customers-heading{gap:12px}.customers-compact .customers-toolbar{padding:12px}.customers-compact .customers-search{max-width:none}.customers-compact .customers-table tr{padding:12px 46px 12px 14px;gap:6px}.customers-compact .customers-table td{padding:0}.customers-compact .customers-table .customers-company{min-height:22px;padding:0!important;margin:0}.customers-compact .customers-table .customers-action{right:10px;top:9px}.customers-compact .customers-table .customers-legal{font-size:12px}.customers-compact .customers-heading>.primary{width:auto}.customers-compact .customers-name{font-size:14px}}.customers-compact .customers-heading{margin:16px 0;align-items:center}.customers-compact .customers-heading-copy{flex:1}.customers-compact .customers-heading h2{font-size:20px;line-height:1.4}.customers-compact .customers-heading>.primary{min-height:40px}.customers-compact .customers-toolbar{padding:14px;align-items:center}.customers-compact .customers-search{min-height:40px;max-width:none}.customers-compact .customers-toolbar-meta{gap:12px}@media(max-width:700px){.customers-compact .customers-heading{align-items:stretch;gap:12px}.customers-compact .customers-toolbar-meta{width:100%}.customers-compact .customers-search{flex-basis:100%}}.customers-compact .customers-heading h2{font-size:24px;font-weight:650;letter-spacing:-.5px}.customers-compact .customers-heading{margin:20px 0 16px}.customers-compact .customers-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) 200px auto;gap:16px;padding:16px 20px;align-items:end}.customers-compact .customers-search{height:42px;background:var(--background);border-radius:8px}.customers-role-filter{display:grid;gap:5px;font-size:12px;color:var(--customers-muted)}.customers-role-filter select{height:42px;border:1px solid var(--subpro-line);border-radius:8px;padding:8px 12px;background:var(--background);color:var(--foreground);font-size:13px;width:100%}.customers-compact .customers-toolbar-meta{height:42px;white-space:nowrap;font-size:12px}.customers-compact .customers-refresh{min-height:40px}.customers-compact .customers-table th{background:var(--customers-tint);font-weight:600;padding:12px 20px}.customers-compact .customers-table td{padding:14px 20px;overflow-wrap:anywhere}.customers-compact .customers-table th:first-child{width:28%}.customers-compact .customers-table th:nth-child(3){width:220px}.customers-compact .customers-table th:nth-child(4){width:160px}.customers-compact .customers-name{font-weight:600;font-size:14px;text-align:left}.customers-compact .customers-company{padding-left:20px!important}.customers-roles>div{display:flex;flex-wrap:wrap;gap:5px}.customers-roles span{font-size:11px;line-height:1.5;border-radius:5px;padding:3px 7px;background:var(--customers-tint);color:var(--foreground)}.customers-compact .customers-action .icon-button{border:1px solid var(--subpro-line);width:36px;height:36px;border-radius:7px}.counterparty-details{display:grid;grid-template-columns:180px minmax(0,1fr);margin:0;padding:20px 0;gap:0}.counterparty-details dd,.counterparty-details dt{padding:14px 0;margin:0;border-bottom:1px solid var(--form-line);font-size:13px;line-height:1.6;overflow-wrap:anywhere}.counterparty-details dt{color:var(--form-muted);padding-right:16px}.counterparty-details dd{color:var(--form-ink)}@media(max-width:1000px){.customers-compact .customers-toolbar{grid-template-columns:minmax(0,1fr) 180px}.customers-compact .customers-toolbar-meta{grid-column:1/-1;justify-content:space-between}}@media(max-width:700px){.customers-compact .customers-heading h2{font-size:22px}.customers-compact .customers-toolbar{display:flex;padding:12px;gap:12px;flex-wrap:wrap}.customers-role-filter{width:100%}.customers-compact .customers-search input,.customers-role-filter select{font-size:16px}.customers-compact .customers-search,.customers-role-filter select{min-height:44px}.customers-compact .customers-table tr{padding:16px 58px 16px 16px;gap:8px}.customers-compact .customers-table td{padding:0}.customers-compact .customers-action .icon-button{width:44px;height:44px}.customers-compact .customers-table .customers-action{right:8px;top:12px;padding:0!important}.counterparty-details{grid-template-columns:minmax(0,1fr);padding:12px 0}.counterparty-details dt{padding:12px 0 2px;border:0;font-size:12px}.counterparty-details dd{padding:0 0 12px}}.dark .customers-compact .customers-table :is(tr,td){background:#1b2635!important;color:#e8edf5}.dark .customers-compact .customers-table tbody tr:hover td{background:#222e3e!important}.dark .customers-compact .customers-table th{background:#222e3e!important;color:#b2bfd1}.dark .customers-compact .customers-name{color:#e8edf5}.dark .customers-compact .customers-legal{color:#b2bfd1}.dark .customers-compact .customers-toolbar .customers-refresh{background:#222e3e!important;color:#e8edf5!important;border-color:#3c495b!important}.dark .workspace[data-page=crm] [role=tab]{color:#b2bfd1}.dark .workspace[data-page=crm] [role=tab][aria-selected=true]{color:#f190af;background:#3d2936}.own-organizations.customers-compact .customers-heading{margin-top:0}.own-organizations .customers-table th:first-child{width:32%}.own-organizations .customers-table th:nth-child(2){width:auto}.own-organizations .customers-table th:nth-child(3){width:160px}.own-organizations-existing{margin-top:16px;border-top:1px solid var(--subpro-line);color:var(--foreground)}.own-organizations-existing>summary{padding:16px 0;font-size:13px;font-weight:500;cursor:pointer;color:var(--primary);line-height:1.5}.own-organizations-existing>summary:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:4px}.own-organizations-existing-body{display:grid;gap:12px;padding:0 0 16px;max-width:640px}.own-organizations-existing-body p,.own-organizations-existing-body small{margin:0;font-size:13px;line-height:1.6;color:var(--customers-muted)}.own-organizations-existing-body label{display:grid;gap:8px;font-size:13px;font-weight:500}.own-organizations-existing-body select{width:100%;min-width:0;min-height:40px;padding:10px 12px;font:inherit;color:var(--foreground);background:var(--background);border:1px solid var(--subpro-line);border-radius:7px}.own-organizations-existing-body select:focus-visible{outline:2px solid var(--primary);outline-offset:2px}@media(max-width:700px){.own-organizations-existing-body select{font-size:16px;min-height:44px}}.workspace[data-page=settings][data-group=organizations] .team-settings{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}.own-organizations.customers-compact{margin-top:0}.own-organizations .customers-heading:has(.worklist-local-action){justify-content:flex-end;margin-bottom:16px}.own-organizations .customers-heading:empty{display:none}.own-organizations.customers-compact .customers-table th:last-child{width:64px}.designed-form.edit-dialog.own-organization-dialog{width:min(1240px,calc(100vw - 40px))!important;max-width:1240px!important}.designed-form.customers-dialog.own-organization-dialog>.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;padding-top:20px}.designed-form.customers-dialog.own-organization-dialog .editor-section{grid-column:auto!important;display:flex;flex-direction:column;gap:10px;min-width:0;padding:0;background:none;border:0}.own-organization-dialog .editor-section+.editor-section{padding-left:20px!important;border-left:1px solid var(--form-line)!important}.own-organization-dialog .editor-section label{display:flex;flex-direction:column;gap:5px}.own-organization-dialog .editor-section input{min-height:40px!important;font-size:13px!important}.own-organization-dialog .error,.own-organization-dialog .form-actions{grid-column:1/-1}@media(max-width:800px){.designed-form.edit-dialog.own-organization-dialog{width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important}.designed-form.customers-dialog.own-organization-dialog>.form-grid{grid-template-columns:minmax(0,1fr)!important}.own-organization-dialog .editor-section+.editor-section{padding-left:0!important;border-left:0!important}.own-organization-dialog .editor-section input{font-size:16px!important}}