.bn-crm{font-family:inherit;color:var(--ink,#20201e);font-size:14px;max-width:1200px;margin:auto}.bn-crm *{box-sizing:border-box}.bn-crm h2,.bn-crm h3,.bn-crm h4{margin:0 0 10px}.bn-crm p{line-height:1.55}.bn-crm button,.bn-crm input,.bn-crm select,.bn-crm textarea{font:inherit;min-height:44px;border:1px solid var(--line,#deded8);border-radius:8px;background:#fff;color:inherit;padding:10px 12px;max-width:100%}.bn-crm button{cursor:pointer}.bn-crm button:hover{border-color:#777}.bn-crm button:focus-visible,.bn-crm input:focus-visible,.bn-crm textarea:focus-visible,.bn-crm select:focus-visible{outline:2px solid #335c49;outline-offset:2px}.bn-crm button:disabled{opacity:.6;cursor:wait}.bn-crm label{display:flex;flex-direction:column;gap:6px;font-size:12px;margin:12px 0;min-width:0}.bn-crm textarea{resize:vertical;width:100%}.bn-crm .crm-heading,.bn-crm .crm-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.bn-crm .crm-heading{justify-content:space-between}.bn-crm .crm-heading p{max-width:650px;color:#666}.bn-crm .crm-notice:not(:empty){padding:12px;border:1px solid #d7c6a7;background:#fff9ed;margin:12px 0;border-radius:8px}.bn-crm .crm-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.bn-crm .crm-filters label:first-child{flex:1;min-width:200px}.bn-crm .crm-filters button{margin-bottom:12px}.bn-crm .crm-layout{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);gap:20px}.bn-crm .crm-list{display:flex;flex-direction:column;gap:8px;min-width:0}.bn-crm .crm-lead{display:flex;flex-direction:column;text-align:left;gap:5px;width:100%;overflow-wrap:anywhere}.bn-crm .crm-lead.selected{border-color:#536f5d;background:#f3f7f1}.bn-crm .crm-lead span{font-size:12px}.bn-crm .crm-lead small,.bn-crm .crm-muted{font-size:12px;color:#666;line-height:1.5}.bn-crm .crm-detail{border:1px solid var(--line,#deded8);padding:20px;border-radius:12px;min-width:0;background:#fff}.bn-crm .crm-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bn-crm .crm-primary{background:#283e32;color:white;border-color:#283e32}.bn-crm .crm-client,.bn-crm .crm-history{border-top:1px solid var(--line,#deded8);margin-top:22px;padding-top:18px}.bn-crm .crm-history article{padding:12px 0;border-bottom:1px solid #eee;overflow-wrap:anywhere}.bn-crm .crm-history small{display:block;color:#777;font-size:11px;margin-top:4px}.bn-crm .crm-history p{white-space:pre-wrap}.bn-crm .crm-import{margin:24px 0;padding:16px;border:1px solid var(--line,#deded8);border-radius:10px}.bn-crm .crm-import summary{cursor:pointer;min-height:32px}.bn-crm .crm-error{color:#8d3025}.bn-crm .crm-preview-rows{max-height:250px;overflow:auto;overflow-wrap:anywhere}.bn-crm .crm-empty{padding:16px;background:#f8f8f4;border-radius:8px}@media(max-width:680px){.bn-crm .crm-layout{grid-template-columns:1fr}.bn-crm .crm-pair{grid-template-columns:1fr;gap:0}.bn-crm .crm-detail{padding:14px}.bn-crm .crm-filters label{flex:1;min-width:120px}.bn-crm .crm-heading .crm-actions{width:100%}.bn-crm .crm-list{max-height:360px;overflow:auto}}

.bn-crm .crm-followup.overdue{color:#9c3021;font-weight:600}.bn-crm .crm-followup.today{color:#725a12;font-weight:600}
