/* Editable tables and field settings from the meeting. */
.crm-record-related-group h4{font-size:10px;letter-spacing:.03em;text-transform:uppercase;color:#7a8aa0;margin:14px 0 7px}
.crm-org-department{background:#fff;border:1px solid #dce3eb;border-radius:6px;margin:0 0 12px calc(var(--org-depth,0) * 22px);padding:14px}
.crm-org-department>header{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e7ebf1;padding-bottom:10px;margin-bottom:10px}
.crm-org-department h3{font-size:14px;margin:0}
.crm-org-people{display:flex;flex-wrap:wrap;gap:8px;min-height:40px}
.crm-org-user{display:flex;align-items:center;flex-wrap:wrap;max-width:100%;box-sizing:border-box;gap:8px;padding:8px 10px;border:1px solid #dce3ed;border-radius:5px;font-size:12px;cursor:grab}
.crm-org-user strong{min-width:0;overflow-wrap:anywhere}
.crm-org-user>span{color:#99a6b9}
.crm-org-user select{max-width:150px;font-size:11px;border:1px solid #dce3ed;padding:5px}
.crm-org-empty,.crm-org-description{color:#7a8a9f;font-size:12px}
.crm-mail-layout{display:grid;grid-template-columns:minmax(230px,340px) minmax(300px,1fr);gap:14px;align-items:start}
.crm-mail-list,.crm-mail-detail{background:#fff;border:1px solid #dce3ed;border-radius:6px;overflow:hidden}
.crm-mail-row{display:block;width:100%;padding:12px 14px;background:#fff;text-align:left;border:0;border-bottom:1px solid #e4e9f0;cursor:pointer;color:#455974}
.crm-mail-row:hover{background:#f2f7ff}
.crm-mail-row strong,.crm-mail-row span,.crm-mail-row small{display:block;overflow-wrap:anywhere;line-height:1.5}
.crm-mail-row strong{font-size:12px;font-weight:500}
.crm-mail-row.unread strong{font-weight:700;color:#204e88}
.crm-mail-row span{font-size:11px;color:#6b7b90}
.crm-mail-row small{font-size:10px;color:#8c98a8}
.crm-mail-list-head{padding:10px 14px;background:#f8fafc;border-bottom:1px solid #e5e9ef;font-size:11px;color:#7d8ba0}
.crm-mail-detail{padding:20px;min-height:420px}
.crm-mail-detail header{border-bottom:1px solid #e1e7ef;padding-bottom:16px}
.crm-mail-detail h2{font-size:20px;margin:0 0 15px;overflow-wrap:anywhere}
.crm-mail-detail header p,.crm-mail-detail header small{font-size:11px;color:#718096}
.crm-mail-detail header button{display:block;margin-top:12px}
.crm-mail-message{font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;padding:20px 0;color:#34445b}
.crm-mail-attachments{border-top:1px solid #e1e7ef;padding-top:12px}
.crm-mail-attachments .btn{margin:3px}
@media(max-width:800px){.crm-mail-layout{grid-template-columns:1fr}.crm-mail-list{max-height:340px;overflow:auto}.crm-mail-detail{min-height:250px}}
.crm-hero-preview{display:flex;flex-direction:column;width:100%;height:100%;grid-column:1/-1;min-height:190px;background:#f7f9fc}
.crm-hero-preview>nav{display:flex;gap:0;align-items:center;background:#fff;border-bottom:1px solid #dce3ed;min-height:35px}
.crm-hero-preview>nav button{border:0;border-bottom:2px solid transparent;background:transparent;padding:9px 12px;color:#738097;font-size:11px;cursor:pointer}
.crm-hero-preview>nav button.active{color:#2b71c7;border-bottom-color:#4c8ede}
.crm-hero-preview select{margin-left:auto;font-size:10px;max-width:135px;padding:3px;border:1px solid #e1e7ef}
.crm-hero-preview-content{flex:1;min-height:140px;display:grid;grid-template-columns:3fr 1fr;gap:3px}
.crm-hero-preview-content.is-map{display:block}
.crm-hero-preview-content iframe{display:block;width:100%;height:100%;min-height:180px;border:0}
.crm-hero-preview-content>.property-hero-empty{grid-column:1/-1}
#globalSearchTo[hidden]{display:none!important}
.global-search.range-active #globalSearch,.global-search.range-active #globalSearchTo{min-width:70px;width:100px;flex:1}
.crm-related-preview{flex:none;max-height:220px;overflow:auto;border-bottom:1px solid #e1e7ee;background:#f9fbff;padding:10px 14px}
.crm-related-preview-head{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:12px;color:#53667f}
.crm-related-preview-head .btn{padding:2px 7px;min-height:25px}
.crm-related-preview-values>div{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e6ebf2;padding:7px 0;font-size:12px}
.crm-related-preview-values small{color:#718096;font-size:11px}
.crm-related-preview-values strong{font-weight:500;text-align:right;overflow-wrap:anywhere}
.crm-related-preview-values p{font-size:11px;color:#8591a2;line-height:1.5;margin:7px 0 0}
.crm-related-choices{max-height:45vh;overflow:auto;margin-top:10px}
.crm-related-choices label{display:flex;gap:9px;align-items:start;padding:8px;border-bottom:1px solid #edf0f5;cursor:pointer;font-size:12px}
.crm-related-choices small{display:block;color:#8591a2;font-size:10px;margin-top:3px}
.crm-related-choices label[hidden]{display:none!important}
.crm-plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:16px}
.crm-plan-card .panel-head{display:flex;gap:12px;align-items:center;justify-content:space-between}
.crm-plan-card .panel-head span{color:#64748b;font-size:11px}
.crm-plan-card h3{margin:0 0 5px;font-size:15px}
.crm-plan-card .panel-body p{font-size:11px;color:#718096}
.crm-plan-values{display:flex;align-items:center;gap:25px;padding:10px 0 15px}
.crm-plan-values span{display:block;font-size:11px;color:#718096;margin-bottom:5px}
.crm-plan-values strong{font-size:22px;color:#273d59}
.crm-plan-values>b{margin-left:auto;color:#3073cb;font-size:20px}
.crm-plan-card progress{width:100%;height:8px;accent-color:#3c80d8}
.crm-plan-inactive{opacity:.6}
.crm-plan-condition{display:grid;grid-template-columns:minmax(140px,2fr) 100px minmax(90px,1fr) 80px 30px;gap:5px;margin-bottom:7px}
.crm-plan-condition input,.crm-plan-condition select{width:100%;min-width:0;box-sizing:border-box;padding:6px}
.crm-plan-condition [hidden]{display:none!important}
@media(max-width:650px){.crm-plan-condition{display:flex;flex-wrap:wrap}.crm-plan-condition select,.crm-plan-condition input{flex:1;min-width:100px}}
.crm-menu-setting-row{display:flex;gap:10px;align-items:center;padding:8px;border:1px solid #e2e8f0;border-radius:4px;margin-bottom:5px;cursor:grab}
.crm-menu-setting-row strong{flex:1;font-size:12px}
.crm-menu-setting-row select{max-width:180px;padding:6px}
.crm-top-navigation #nav [hidden],.crm-more-panel [hidden]{display:none!important}
.crm-menu-configure{grid-column:1/-1;padding:9px;border:1px solid #dbe3ec;border-radius:4px;background:#f4f7fc;color:#47617f;text-align:left;cursor:pointer}
.crm-duplicate-card{display:flex;align-items:center;gap:8px;border:1px solid #e1e7ef;border-radius:5px;padding:10px;margin-bottom:8px}
.crm-duplicate-card>div{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}
.crm-duplicate-card small,.crm-duplicate-card span{font-size:11px;color:#718096}
#listSearchTo[hidden]{display:none!important}
.filter-bar #listSearchField{max-width:240px}
.crm-field-settings{display:grid;grid-template-columns:150px 190px minmax(240px,1fr);gap:0;border:1px solid #dce3eb;border-radius:7px;overflow:hidden;background:#fff;min-height:480px}
.crm-field-entities,.crm-field-sections{padding:10px;border-right:1px solid #e2e8ef;background:#f9fafc}
.crm-field-settings nav button,.crm-field-sections>button{display:flex;justify-content:space-between;gap:5px;align-items:center;width:100%;padding:9px 8px;background:transparent;border:0;border-radius:4px;text-align:left;cursor:pointer;color:#475569;font-size:12px;overflow-wrap:anywhere}
.crm-field-settings button.active{background:#e7f0ff;color:#235bb0;font-weight:600}
.crm-field-settings input{box-sizing:border-box;width:100%;margin-bottom:8px;padding:8px;border:1px solid #dce3eb;border-radius:4px}
.crm-field-catalog{padding:12px;max-height:calc(100vh - 260px);overflow:auto}
.crm-field-catalog>input{position:sticky;top:0;z-index:2;background:#fff}
.crm-field-catalog [hidden],#cfFormulaBlock[hidden],#crmFieldsEmpty[hidden],.crm-field-sections button[hidden]{display:none!important}
.crm-field-settings-button{margin-left:6px;border:0;background:transparent;color:#7d8ba1;font-size:12px;cursor:pointer;padding:2px 5px}
.crm-history-filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:15px}
.crm-history-filters input,.crm-history-filters select{min-width:110px;max-width:100%;flex:1;padding:7px;border:1px solid #dce3eb;border-radius:4px}
.crm-history-filters small{width:100%;color:#718096;font-size:11px}
#cfDependencies{padding:12px;border:1px solid #dce3eb;border-radius:5px;margin-top:12px}
#cfDependencies h3{margin-top:0}
#cfDependencies .btn{margin:3px}
#cfFormula{min-height:85px;width:100%;box-sizing:border-box;font-family:monospace}
@media(max-width:1100px){.crm-field-settings{grid-template-columns:125px 150px minmax(160px,1fr)}}
@media(max-width:700px){.crm-field-settings{grid-template-columns:1fr}.crm-field-entities{display:flex;overflow:auto}.crm-field-entities button{width:auto!important;white-space:nowrap}.crm-field-sections{max-height:150px;overflow:auto}.crm-field-catalog{max-height:none}}
.crm-resizable-table td{position:relative;padding-right:30px!important}
.crm-resizable-table .crm-select-column{width:44px!important;min-width:44px;padding:8px!important;text-align:center}
.crm-resizable-table .sticky-col{left:44px!important}
.crm-select-column{position:sticky!important;left:0;z-index:3;background:var(--panel,#fff)}
thead .crm-select-column{z-index:7}
.crm-cell-edit{position:absolute;right:4px;top:50%;transform:translateY(-50%);border:1px solid #d8dfe7;border-radius:4px;background:#fff;color:#64748b;width:24px;height:24px;opacity:0;cursor:pointer}
td:hover .crm-cell-edit,.crm-cell-edit:focus-visible{opacity:1}
.crm-column-filter{border:0;background:transparent;color:#64748b;cursor:pointer;margin-right:9px}
.crm-resizable-table .crm-sort-button{max-width:calc(100% - 35px)}
.crm-inline-editor{display:flex;flex-wrap:wrap;gap:3px;padding:2px 0;min-width:130px}
.crm-inline-editor input,.crm-inline-editor select{width:100%;min-width:0;box-sizing:border-box;padding:5px;border:1px solid #94b7f3;border-radius:3px}
.crm-inline-editor .btn{padding:2px 9px;min-height:25px}
.crm-cell-error{color:#b42318;font-size:12px;white-space:normal;width:100%}
.crm-table-bulk{position:sticky;bottom:0;z-index:9;display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:10px 14px;background:#eaf2ff;border:1px solid #bfd5f5;box-shadow:0 -3px 12px #16365c12}
.crm-table-bulk[hidden],[data-fto][hidden],[data-range-inputs][hidden],[data-vb-name][hidden],#vbFieldGroups section[hidden]{display:none!important}
.crm-resizable-table audio{width:100%;min-width:180px;height:32px}
.crm-table-fullscreen{position:fixed!important;inset:0!important;z-index:80!important;background:#f4f6f9!important;overflow:auto!important;padding:54px 16px 16px!important;box-sizing:border-box}
.crm-table-fullscreen .crm-resizable-table{max-height:calc(100vh - 180px);overflow:auto}
.crm-fullscreen-exit{position:fixed;right:20px;top:12px;z-index:81}
.crm-field-relations{display:flex;flex-wrap:wrap;gap:6px;padding:9px 0;border-bottom:1px solid #e4e9ef;margin-bottom:10px}
.crm-field-path{display:flex;align-items:center;gap:8px;padding-top:9px;font-size:12px;color:#64748b;overflow-wrap:anywhere}
.crm-field-relations label{flex:1;min-width:180px}
.crm-field-relations select{display:block;width:100%}
.vb-selected-row{cursor:grab}
.vb-selected-row input[type=color]{width:27px;height:27px;padding:1px;border:1px solid #d8e0e8;background:transparent;border-radius:4px;flex-shrink:0;cursor:pointer}
.vb-filter-row{grid-template-columns:minmax(170px,2fr) minmax(120px,1fr) minmax(130px,1.3fr) 30px!important;align-items:start!important}
.vb-filter-row input,.vb-filter-row select{box-sizing:border-box;width:100%;min-width:0}
.vb-filter-row [data-key-search]{margin-bottom:4px}
.vb-filter-row [data-fto]{margin-top:4px}
@media(max-width:700px){.vb-filter-row{grid-template-columns:minmax(130px,1fr) minmax(100px,1fr) 30px!important}.vb-filter-row [data-range-inputs]{grid-column:1/3}.vb-filter-row>[data-remove-filter]{grid-column:3;grid-row:1}.crm-cell-edit{opacity:1}.crm-table-fullscreen{padding:54px 7px 7px!important}}
