.required{color:#ba2638;font-weight:800}.field>small{color:#64736f;line-height:1.5}.field>textarea{min-height:110px}.field[hidden],[hidden]{display:none!important}.choice-field,.contact-group{border:1px solid #d7e3df;border-radius:10px;margin:14px 0;padding:16px;min-width:0}.choice-field legend,.contact-group legend{font-size:14px;font-weight:600;padding:0 7px}.choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.choice-grid label{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.5}.choice-grid input[type=checkbox]{width:17px;height:17px;flex:0 0 auto}.contact-row{display:flex;gap:9px;align-items:center;margin:8px 0}.contact-row input{flex:1;min-width:0}.contact-row button{flex:0 0 auto}.customer-search{position:relative;min-width:220px;flex:2}.search-matches{position:absolute;z-index:20;top:100%;left:0;right:0;min-width:300px;background:#fff;border:1px solid #ccd9d5;border-radius:10px;box-shadow:0 10px 28px #173f3324;max-height:360px;overflow:auto}.search-matches button{display:block;width:100%;text-align:left;border:0;border-radius:0;padding:12px;border-bottom:1px solid #edf0ed;white-space:normal}.search-matches button:focus,.search-matches button:hover{background:#e9f5ef}.search-matches small{display:block;color:#64736f;margin-top:5px}.search-matches p{padding:12px}.crm-filter{align-items:end;flex-wrap:wrap}.crm-filter .field{min-width:140px;flex:1}.crm-filter select{max-width:100%}.fold{border:1px solid #dce5e1;border-radius:10px;padding:12px 16px;margin:12px 0;background:#fff}.fold>summary{cursor:pointer;font-weight:600;line-height:1.8}.fold>div{margin-top:12px}.communication summary{display:grid;grid-template-columns:1fr auto;gap:4px 12px;font-size:13px}.communication summary>span:nth-child(2){font-weight:400;color:#65746d}.summary-preview{grid-column:1/-1;font-weight:400;color:#697b73;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.transcript{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.8 inherit;max-height:480px;overflow:auto;background:#f6f8f7;border:1px solid #e3e9e6;border-radius:9px;padding:15px}.file-row,.review-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px;border-bottom:1px solid #e3e9e6;min-width:0}.file-row strong{overflow-wrap:anywhere}.file-row>div:first-child{min-width:0}.review-row>p{flex:1;overflow-wrap:anywhere;color:#5e6c66;font-size:13px}.review-row>div:first-child{min-width:150px;line-height:1.8}.compact-jobs{margin-top:12px}.compact-jobs>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-top:1px solid #e4eae6;font-size:13px}.file-preview{display:block;max-width:100%;max-height:65vh;margin:auto;object-fit:contain}.pdf-preview{width:100%;height:65vh;border:1px solid #dce5df}.upload-progress{font-size:13px;color:#146c48}.catalog-choices{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.crm-filter .customer-search{flex-basis:280px}.form-grid>#ad-choice,.form-grid>#not-target-reason{min-width:0}.form-grid>#not-target-reason{grid-column:1/-1}.detail-item>div{line-height:1.6}.table-wrap td.wrap{max-width:330px}.modal-body form>.form-actions{position:sticky;bottom:-1px;background:#fff;padding:12px 0;z-index:2;border-top:1px solid #e5eae6}.section-title{line-height:1.8}.form-grid .field>input,.form-grid .field>select,.form-grid .field>textarea{min-width:0;width:100%}
@media(max-width:800px){.choice-grid{grid-template-columns:1fr 1fr}.catalog-choices{grid-template-columns:1fr}.review-row,.file-row{flex-wrap:wrap}.review-row>p{flex-basis:100%;order:3}.communication summary{grid-template-columns:1fr}.communication summary>span:nth-child(2){font-size:12px}.compact-jobs>div{flex-wrap:wrap}.search-matches{min-width:0}.crm-filter .customer-search{flex-basis:100%}.modal-body{padding:16px}.contact-row input{width:calc(100% - 70px)}}

.crm-filter{display:grid;grid-template-columns:minmax(260px,2fr) repeat(3,minmax(140px,1fr));gap:14px 12px}.crm-filter .field{display:flex;flex-direction:column;gap:7px;min-width:0}.crm-filter .customer-search{display:flex;flex-direction:column;font-size:12px;color:#4d646b}.crm-filter input,.crm-filter select{width:100%;max-width:none!important}.crm-filter button[type=submit]{height:36px;align-self:end}.crm-filter .field:has(select[name=sort]){grid-column:span 2}@media(max-width:1000px){.crm-filter{grid-template-columns:1fr 1fr}.crm-filter .customer-search{grid-column:1/-1}}@media(max-width:600px){.crm-filter{grid-template-columns:1fr}.crm-filter .field:has(select[name=sort]){grid-column:auto}}
form:not(.filter) label.field{display:block;line-height:1.6}form:not(.filter) label.field>input,form:not(.filter) label.field>select,form:not(.filter) label.field>textarea{display:block;width:100%;margin-top:7px}form:not(.filter) label.field>small{display:block;margin-top:7px}
