.crm{--crm-ink:#173d3d;--crm-line:#dce5df;color:#183634}.crm-heading,.crm-profile,.crm-tab-heading,.crm-card-title{display:flex;justify-content:space-between;align-items:center;gap:18px}.crm-heading{margin-bottom:24px}.crm-heading h1{margin:6px 0}.crm-heading p{color:#64776e}.crm-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}.crm-stats>div{padding:18px 22px;background:#fff;border:1px solid var(--crm-line);border-radius:14px;display:flex;gap:16px;align-items:center}.crm-stats strong{font-size:26px;color:var(--crm-ink)}.crm-stats span{font-size:12px;color:#65776b}.crm-layout{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:22px;align-items:start}.crm-directory{padding:18px;background:#eef3ed;border:1px solid var(--crm-line);border-radius:14px;position:sticky;top:20px}.crm label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;margin-bottom:15px}.crm input,.crm select,.crm textarea{width:100%;min-width:0;border:1px solid #becbc2;border-radius:8px;background:white;padding:10px;color:#193a35;font:inherit;font-size:14px}.crm textarea{min-height:90px;resize:vertical;line-height:1.5}.crm-person{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:14px 10px;margin:7px 0;border:1px solid transparent;background:transparent;border-radius:9px;overflow-wrap:anywhere}.crm-person.chosen{background:#fff;border-color:#acc4b6;box-shadow:0 3px 12px #274c3110}.crm-person strong{display:block;font-size:13px}.crm-person small{display:block;font-size:11px;margin-top:5px;color:#6b7c72}.crm-initial{width:32px;height:32px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:#d8e6d8;font-weight:bold}.crm-detail{background:#fff;border:1px solid var(--crm-line);border-radius:14px;overflow:hidden;min-width:0}.crm-profile{padding:25px 26px;background:#173d3d;color:#fff;align-items:flex-start}.crm-profile h2{color:white;font-size:23px;margin:14px 0 9px;overflow-wrap:anywhere}.crm-profile p{font-size:12px;color:#cbdcd2}.crm-profile button{flex-shrink:0}.crm-tags{display:flex;flex-wrap:wrap;gap:7px}.crm-tag{display:inline-flex;padding:5px 10px;border-radius:20px;background:#e5f0e5;color:#24503b;font-size:11px;font-weight:600;line-height:1.4}.crm-tag.neutral{background:#edf0ee;color:#51675e}.crm-tag.warning{background:#fff1d5;color:#82531d}.crm-tag.danger{background:#ffe1dc;color:#943d30}.crm-contact{padding:20px 26px;border-bottom:1px solid var(--crm-line)}.crm-contact summary{font-weight:650;cursor:pointer}.crm-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;margin:22px 0}.crm-facts div{min-width:0}.crm-facts dt{font-size:11px;color:#718078;margin-bottom:5px}.crm-facts dd{margin:0;font-size:13px;font-weight:600;overflow-wrap:anywhere;white-space:pre-wrap}.crm-notes{font-size:12px;white-space:pre-wrap;color:#61736b;margin-bottom:0}.crm-tabs{display:flex;gap:4px;padding:12px 18px 0;border-bottom:1px solid var(--crm-line);overflow-x:auto}.crm-tabs button{white-space:nowrap;border:0;border-radius:0;background:transparent;border-bottom:3px solid transparent;padding:12px 11px;font-size:12px}.crm-tabs button.active{color:#173d3d;border-bottom-color:#b88b45;font-weight:bold}.crm #crm-tab{padding:24px}.crm-tab-heading{margin-bottom:20px;flex-wrap:wrap}.crm-tab-heading h3{font-size:16px;margin:0}.crm-tab-heading button{font-size:12px}.crm-contract{border:1px solid var(--crm-line);border-radius:12px;padding:22px;margin:0 0 18px}.crm-card-title h3,.crm-card-title h4{margin:4px 0 12px}.crm-card-title .eyebrow{color:#a96c1d;font-size:10px;margin:0}.crm-source{font-size:12px;line-height:1.65;color:#607267;white-space:pre-wrap;overflow-wrap:anywhere}.crm-notice{padding:15px 18px;border-radius:9px;background:#faf2e4;font-size:12px;line-height:1.7;color:#785a2e}.crm-doc-grid{display:grid;gap:12px}.crm-document{display:flex;gap:16px;padding:17px;border:1px solid var(--crm-line);border-radius:10px;min-width:0}.crm-document h4{margin:0 0 7px;font-size:13px;overflow-wrap:anywhere}.crm-document p,.crm-document small{font-size:11px;color:#6a7a6f;margin:0 0 7px}.crm-document a{display:block;font-size:12px;margin-top:10px;color:#216848;font-weight:600}.crm-file-icon{padding:9px 7px;align-self:start;min-width:42px;border-radius:7px;background:#eeeadd;color:#876325;font-size:10px;font-weight:bold;text-align:center}.crm-timeline,.crm-issue{padding:20px;border:1px solid var(--crm-line);border-left:3px solid #b2c9b4;border-radius:8px;margin-bottom:16px}.crm-issue{border-left-color:#d0a155}.crm-issue p,.crm-timeline p{white-space:pre-wrap;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.crm-issue small,.crm-timeline small{font-size:11px;color:#64796b}.crm-issue button{display:block;margin-top:14px}.crm-timeline h4{margin:10px 0}.crm-history{padding:14px 0;border-bottom:1px solid var(--crm-line);font-size:12px}.crm-history summary{cursor:pointer}.crm-history-values{display:grid;grid-template-columns:1fr 1fr;gap:12px}.crm-history pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;background:#f0f4f0;padding:12px;max-height:450px;overflow:auto}.crm-empty{padding:40px 20px;color:#6b7b71;text-align:center;line-height:1.7}.crm-dialog{width:min(780px,94vw);max-height:90vh;border:0;border-radius:14px;padding:28px;overflow:auto}.crm-dialog::backdrop{background:#102f30aa}.crm-dialog h2{font-size:22px}.crm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.crm-wide{grid-column:1/-1}.crm-check{display:flex!important;flex-direction:row!important;align-items:center}.crm-check input{width:auto}.crm .error{color:#a63022}.crm button:focus-visible,.crm a:focus-visible{outline:3px solid #bd8f46;outline-offset:2px}.crm-lot-links{padding:16px;border:1px solid #d4dfd6;border-radius:10px;margin:18px 0;background:#f2f6f0}.crm-lot-links p{font-size:13px;line-height:1.7}.crm-lot-links small{display:block;color:#69796c}
@media(max-width:1100px){.crm-layout{grid-template-columns:220px minmax(0,1fr)}.crm-stats>div{flex-direction:column;gap:4px;align-items:flex-start}.crm-profile{flex-direction:column}.crm-card-title{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:760px){.crm-heading{align-items:flex-start;flex-direction:column}.crm-stats{grid-template-columns:1fr 1fr;gap:10px}.crm-stats>div{padding:13px;flex-direction:row;align-items:center;gap:10px}.crm-stats strong{font-size:22px}.crm-layout{grid-template-columns:1fr;gap:15px}.crm-directory{position:static;padding:14px}.crm-directory #crm-people{max-height:210px;overflow:auto}.crm-profile,.crm-contact,.crm #crm-tab{padding:18px}.crm-facts{gap:16px 12px}.crm-contract{padding:16px}.crm-form-grid{grid-template-columns:1fr}.crm-dialog{padding:20px 16px}.crm-tabs{padding-left:8px}.crm-history-values{grid-template-columns:1fr}.crm-tab-heading{align-items:flex-start;flex-direction:column}}
