.entity-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:3px 1px 0}
.entity-section-heading h3{margin:0;display:flex;gap:7px;align-items:center;font-size:13px;color:#334155}
.entity-section-heading h3>span{background:#EFF6FF;border-radius:10px;padding:2px 7px;font-size:11px;color:#475569}
.entity-section-heading button,.entity-empty-company>button{font-size:11px;min-height:30px;padding:5px 8px;border-radius:4px;color:#2563EB;border-color:#DBEAFE;background:#F8FAFC}
.deal-properties-body .entity-name{border:0;background:transparent;border-radius:0;box-shadow:none;text-align:left;padding:0;min-height:0;height:auto;width:auto;max-width:100%;font-size:14px;line-height:1.6;color:#1E40AF;font-weight:600;overflow-wrap:anywhere;display:block}
.deal-properties-body .entity-name:hover{color:#2563EB;text-decoration:underline}
.entity-card-actions{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:5px 0 0;padding:10px 0 0;border:0;border-top:1px solid #F1F5F9;background:none;font-size:11px;color:#64748B;flex-wrap:wrap}
.deal-contact-block .entity-card-actions button,.entity-card-actions button{display:inline-flex;align-items:center;gap:4px;font-size:11px;min-height:26px;padding:4px 5px;border:0;background:transparent;color:#2563EB;border-radius:3px;width:auto}
.entity-card-actions button:hover{background:#F8FAFC;color:#1D4ED8}
.entity-card-actions button>svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.entity-primary-badge{font-size:10px;color:#3c8870;background:#eef8f3;border-radius:3px;padding:3px 6px}
.entity-empty{border:1px dashed #E2E8F0;border-radius:7px;padding:18px 15px;text-align:center;background:#ffffff;color:#64748B}
.entity-empty>span{display:block;margin-bottom:6px}.entity-empty svg{width:23px;height:23px;fill:none;stroke:#64748B;stroke-width:1.4}
.entity-empty strong{font-size:12px;font-weight:600}.entity-empty p,.entity-empty-company>p{font-size:11px;line-height:1.7;color:#64748B;margin:5px 0 12px}
.entity-edit-company{width:27px;height:27px;min-height:27px;padding:5px;border:1px solid #EFF6FF;background:#F8FAFC;border-radius:4px;color:#2563EB}
.entity-edit-company svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.7}
.entity-company .deal-contact-details{display:block;margin:12px 0 0}
.entity-company .deal-contact-details>div{display:grid;grid-template-columns:70px minmax(0,1fr);padding:10px 0}
.entity-company dt{display:flex;align-items:center;gap:4px;color:#475569;font-size:11px}.entity-company dt svg{width:13px;height:13px;stroke:#64748B;fill:none;stroke-width:1.5}
.entity-company dd{margin:0;font-size:12px;overflow-wrap:anywhere}.entity-company dd a{color:#2563EB;text-decoration:none}
.entity-editor .error:empty{display:none}.entity-editor-hint{font-size:12px;line-height:1.8;color:#475569}
.entity-editor .form-actions{justify-content:flex-end;margin-top:18px}.entity-editor label{font-size:12px}
.entity-picker>label{display:block;font-size:12px;margin-bottom:7px}.entity-picker>input{width:100%;min-height:40px;font-size:13px}
.entity-picker-results{margin-top:14px;max-height:48vh;overflow-y:auto;scrollbar-width:thin;border:1px solid #F1F5F9;border-radius:5px}
.entity-picker-results>button{display:flex;width:100%;align-items:center;gap:11px;text-align:left;padding:11px 12px;border:0;border-bottom:1px solid #F1F5F9;background:white;border-radius:0;min-height:65px}
.entity-picker-results>button:hover:not(:disabled){background:#F8FAFC}.entity-picker-results>button:disabled{opacity:.65;background:#F8FAFC}
.entity-picker-results>button>span:nth-child(2){flex:1;min-width:0}.entity-picker-results strong,.entity-directory-row strong{display:block;font-size:13px;font-weight:600;color:#1D4ED8;overflow-wrap:anywhere}
.entity-picker-results small,.entity-directory-row small{display:block;font-size:11px;color:#64748B;margin-top:5px;overflow-wrap:anywhere}
.entity-picker-results em{font-size:11px;font-style:normal;color:#2563EB;flex-shrink:0}
.entity-result-avatar{display:grid;place-items:center;flex-shrink:0;width:35px;height:35px;border-radius:50%;background:#EFF6FF;color:#2563EB;font-size:12px;font-weight:600}
.entity-result-avatar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}
.entity-picker footer{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;border:0;background:none;padding:15px 0 0;margin:0}
.entity-picker footer button{font-size:12px;padding:7px 11px;min-height:34px}.entity-picker .error:empty{display:none}
.entity-picker-results>button.entity-more{justify-content:center;font-size:12px;color:#2563EB;min-height:38px;background:#F8FAFC}
.entity-directory-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:22px}
.entity-directory-toolbar>div{display:flex;border:1px solid #E2E8F0;border-radius:5px;padding:3px;background:#F8FAFC}
.entity-directory-toolbar [role=tab]{font-size:13px;padding:7px 13px;border:0;background:none;border-radius:3px;color:#64748B;min-height:33px}
.entity-directory-toolbar [aria-selected=true]{background:#ffffff;color:#2563EB;box-shadow:0 1px 3px #1E40AF12}
.entity-directory-toolbar>input{flex:1;min-width:180px;max-width:430px;font-size:13px;min-height:39px}
.entity-directory-toolbar>.primary{margin-left:auto;font-size:12px;min-height:39px;padding:9px 14px}
.entity-directory-list{border:1px solid #F1F5F9;border-radius:6px;overflow:hidden;min-height:70px}
.entity-directory-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:15px 17px;border:0;border-radius:0;border-bottom:1px solid #F1F5F9;background:white;min-height:78px}
.entity-directory-row:last-child{border-bottom:0}.entity-directory-row:hover{background:#F8FAFC}
.entity-directory-row>span:nth-child(2){flex:1;min-width:0}.entity-directory-email{flex:1;font-size:12px;font-weight:400;color:#64748B;overflow-wrap:anywhere}
.entity-directory-open{font-size:12px;color:#2563EB;margin-left:auto;flex-shrink:0}
.entity-directory-paging{display:flex;gap:12px;justify-content:flex-end;align-items:center;margin-top:17px;font-size:12px;color:#64748B}
.entity-directory-paging button{font-size:12px;min-height:32px;padding:6px 10px}
.entity-related-leads{border-top:1px solid #F1F5F9;padding-top:12px;margin-top:15px}.entity-related-leads h4{font-size:12px;margin:0 0 8px;color:#475569}
.entity-related-leads>button{display:flex;width:100%;justify-content:space-between;gap:10px;font-size:12px;min-height:35px;padding:8px 10px;text-align:left;border:0;border-bottom:1px solid #F1F5F9;border-radius:0;color:#2563EB;background:#F8FAFC}
@media(max-width:600px){.entity-directory-toolbar{gap:10px}.entity-directory-toolbar>input{width:100%;max-width:none;flex-basis:100%;order:2}.entity-directory-toolbar>.primary{margin-left:0;padding:8px 9px}.entity-directory-toolbar [role=tab]{padding:6px 10px;font-size:12px}.entity-directory-row{padding:13px 10px;gap:9px}.entity-directory-email{display:none}.entity-directory-open{font-size:11px}.entity-picker-results em{font-size:10px}.entity-picker-results>button{padding:10px 8px;gap:8px}.entity-picker-results{max-height:45vh}}
.entity-picker [hidden],.entity-directory [hidden]{display:none!important}
