.crm-settings-workspace{display:grid;grid-template-columns:205px minmax(0,1fr);gap:20px;align-items:start;min-width:0;margin-block:8px 20px}
.crm-settings-navigation{min-width:0;padding:11px;background:#f8faff;border:1px solid #dce4f0;border-radius:12px;position:sticky;top:8px}
.crm-settings-search{display:flex;align-items:center;gap:7px;min-width:0;margin:0 0 10px}.crm-settings-search>svg{width:18px;height:18px;flex:none;color:#526d94}.crm-settings-search>input{min-width:0;width:100%;font:inherit;font-size:12px;min-height:37px;border:1px solid #bbcbe1;border-radius:7px;padding:6px 8px;color:#213d65;background:#fff}
.crm-settings-nav-group+.crm-settings-nav-group{margin-block-start:14px}.crm-settings-nav-group>h3{font-size:11px;color:#51637d;margin:0 0 5px;padding-inline:8px;font-weight:600;line-height:1.8}
.crm-settings-workspace .crm-settings-tab{display:flex;align-items:center;gap:8px;width:100%;min-width:0;min-height:41px;border:0;border-radius:8px;padding:8px;font:inherit;font-size:13px;font-weight:600;color:#314966;background:transparent;text-align:start;cursor:pointer;line-height:1.8}
.crm-settings-tab>svg{width:19px;height:19px;flex:none}.crm-settings-tab>svg:last-child{width:14px;height:14px;margin-inline-start:auto}.crm-settings-tab>span{min-width:0;overflow-wrap:anywhere}
.crm-settings-workspace .crm-settings-tab[aria-selected=true]{background:#dfe9ff;color:#20499a;box-shadow:inset -3px 0 #315bc4}.crm-settings-workspace .crm-settings-tab:hover{background:#eaf0fb}.crm-settings-tab:focus-visible{outline:3px solid #315bc4;outline-offset:2px}
.crm-settings-no-match{font-size:12px;color:#536986;padding:8px;margin:0}
.crm-settings-content{min-width:0;max-width:100%;outline:none}.crm-settings-panel-heading{display:flex;align-items:center;gap:12px;min-width:0;padding:12px 14px;margin-block:0 13px;background:#edf2fc;border:1px solid #d6e0f0;border-radius:10px}
.crm-settings-panel-heading>[data-settings-icon]{display:grid;place-items:center;flex:none;width:39px;height:39px;border-radius:10px;background:#dce7ff;color:#3156a1}.crm-settings-panel-heading svg{width:23px;height:23px}.crm-settings-panel-heading>div{min-width:0}.crm-settings-panel-heading h2{font-size:17px;margin:0 0 2px;line-height:1.8}.crm-settings-panel-heading p{font-size:12px;color:#526786;margin:0;line-height:1.8}
.crm-settings-content>[data-settings-section]{min-width:0}.crm-settings-content[data-section=sources],.crm-settings-content[data-section=losses],.crm-settings-content[data-section=documents],.crm-settings-content[data-section=data]{width:min(660px,100%)}
.crm-settings-content[data-section=sources],.crm-settings-content[data-section=losses]{width:min(560px,100%)}
.crm-settings-content .day-section-head{margin-block:0 10px;padding-inline:14px;gap:12px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}.crm-settings-content .day-section-head h2,.crm-settings-content .day-section-head h3{font-size:14px;margin:0;line-height:1.8}.crm-settings-content .module-table{font-size:13px}.crm-settings-content .module-table th{font-size:12px}.crm-settings-content .module-table td{padding-block:9px}.crm-settings-content .module-table td:last-child{white-space:normal}.crm-settings-content .module-table td>button+button{margin-inline-start:5px}
.crm-settings-content .module-table-wrap{margin-block-end:14px}.crm-settings-content [data-error][data-kind=error]{display:flex;align-items:center;gap:8px;color:#a11e2a;background:#fff0f0;border:1px solid #e5a5ab;border-radius:8px;padding:10px 12px}.crm-settings-content [data-error][hidden]{display:none!important}.crm-settings-content [data-error]>svg{width:20px;height:20px;flex:none}
.crm-settings-master-list th:last-child{width:80px}.crm-settings-master-list th:nth-child(2){width:100px}
.crm-settings-command{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:15px;border:1px solid #d1def0;border-radius:11px;background:#fff}.crm-settings-command>div{min-width:0;flex:1 1 190px}.crm-settings-command h3{font-size:14px;margin:0 0 4px;line-height:1.8}.crm-settings-command p{font-size:12px;margin:0;color:#526783;line-height:1.8}.crm-settings-command-icon{display:grid;place-items:center;width:42px;height:42px;flex:none;background:#edf2ff;color:#315bc4;border-radius:10px}.crm-settings-command-icon svg{width:25px;height:25px}
.crm-settings-history{margin-block-start:15px;border:1px solid #d9e2ef;border-radius:10px;padding:11px 13px}.crm-settings-history>summary{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;font-weight:600;color:#3b5273;list-style:none}.crm-settings-history>summary>svg{width:19px;height:19px}.crm-settings-history>summary>svg:last-child{margin-inline-start:auto}.crm-settings-history[open]>summary{margin-block-end:14px}.crm-settings-history .module-toolbar{flex-wrap:wrap;gap:9px;justify-content:flex-start}.crm-settings-history [data-result]{font-size:12px;line-height:1.9}
.day-workspace-editorhost[data-editor-kind=acquisition-source],.day-workspace-editorhost[data-editor-kind=sales-pipeline],.day-workspace-editorhost[data-editor-kind=sales-stage]{width:min(640px,100%)!important;max-width:640px!important;margin-inline-start:0!important;margin-inline-end:auto!important}
.day-workspace-editorhost[data-editor-kind=acquisition-source]{width:min(560px,100%)!important;max-width:560px!important}
.day-workspace-editorhost[data-editor-kind=acquisition-source] .module-editor,.day-workspace-editorhost[data-editor-kind=sales-pipeline] .module-editor,.day-workspace-editorhost[data-editor-kind=sales-stage] .module-editor{padding:15px!important;width:100%;min-height:0!important}
.day-workspace-editorhost[data-editor-kind=acquisition-source] .module-form-grid{display:flex;align-items:center;flex-wrap:wrap;gap:13px;margin-block:12px}.day-workspace-editorhost[data-editor-kind=acquisition-source] .day-field-medium{flex:1 1 230px;max-width:350px}.day-workspace-editorhost[data-editor-kind=acquisition-source] footer{display:flex;justify-content:flex-start;margin-block-start:14px}
@media(max-width:820px){.crm-settings-workspace{grid-template-columns:minmax(0,1fr);gap:12px}.crm-settings-navigation{position:static;padding:10px}.crm-settings-navigation>[data-settings-links]{display:flex;flex-wrap:wrap;gap:8px 12px}.crm-settings-nav-group+.crm-settings-nav-group{margin-block-start:0}.crm-settings-workspace .crm-settings-tab{width:auto;max-width:100%}.crm-settings-nav-group{min-width:0;display:flex;flex-wrap:wrap;gap:5px}.crm-settings-nav-group>h3{width:100%;padding-inline:5px}.crm-settings-panel-heading{padding-inline:12px}.crm-settings-content .day-section-head{padding-inline:12px}.crm-settings-content{width:100%!important}}
@media(max-width:430px){.crm-settings-workspace .crm-settings-tab{min-height:44px;font-size:12px}.crm-settings-tab>svg:last-child{display:none}.crm-settings-command{padding:12px}.crm-settings-command>button{min-height:44px}.crm-settings-content .day-section-head{align-items:flex-start}}
