.crm-navigation .nav-caption{margin-top:24px}.crm-navigation .main-nav{margin-bottom:8px}
.crm-board .crm-deal-cards{max-height:min(560px,60dvh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c4d4bc transparent;padding-right:2px}
#crm{min-width:0}.crm-content{min-width:0}.crm-heading-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.crm-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 24px;border-bottom:1px solid var(--line);padding-bottom:10px}.crm-tab{padding:9px 15px;border-radius:8px;color:var(--text-green-muted);font-size:12px;font-weight:650}.crm-tab.active{background:#e9f1e5;color:#315746}.crm-tab:hover{background:#eff4ec}.crm-stat-symbol{font-family:Manrope,var(--font);font-size:19px;font-weight:750}.crm-stats button{text-align:left}.crm-amounts{display:flex;gap:14px;align-items:baseline;flex-wrap:wrap;margin:0 0 21px;color:#586d5d;font-size:12px}.crm-amounts strong{font-family:Manrope,var(--font);font-size:17px;color:#315746}
.crm-toolbar{padding:15px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}.crm-toolbar>input{flex:1 1 270px;min-width:160px;border:1px solid var(--line);border-radius:8px;padding:11px 13px;background:#fff;font:inherit;font-size:12px;min-height:40px}.crm-toolbar>select{max-width:220px;min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#435d4d;font:inherit;font-size:11px}.crm-toolbar .view-switch button{min-height:30px}.crm-text-button{font-size:11px;font-weight:650;color:#4f754d;padding:7px 3px;text-align:left}.crm-text-button:hover{text-decoration:underline}.crm-source-link{font-size:10px;color:#7b8b80;text-decoration:none;white-space:nowrap}.crm-source-link:hover{text-decoration:underline}
.crm-table-wrap{overflow-x:auto;border-radius:12px}.crm-table{width:100%;border-collapse:collapse;text-align:left;min-width:740px;font-size:11px}.crm-table th{font-size:9px;text-transform:uppercase;letter-spacing:.7px;color:#849289;background:#fafbf8;padding:15px 18px;border-bottom:1px solid var(--line)}.crm-table td{padding:17px 18px;border-bottom:1px solid #eef0eb;color:#718176;max-width:270px;overflow-wrap:anywhere}.crm-table tr:last-child td{border-bottom:0}.crm-table tbody tr:hover{background:#fbfcf9}.crm-table td:first-child{width:32%;min-width:220px}.crm-record-title{font-size:12px;font-weight:700;text-align:left;color:#315746;line-height:1.55;display:block}.crm-record-title:hover{color:#729452}.crm-table td small{font-size:9px;display:block;margin-top:4px;color:#96a097}.crm-pagination{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:18px 2px;font-size:11px;color:#819085}.crm-pagination>span{margin-right:auto}.crm-pagination button{padding:7px 12px;font-size:10px}.crm-pagination button:disabled{opacity:.4;cursor:default}
.crm-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(230px,1fr);gap:14px;overflow-x:auto;padding:0 0 15px;align-items:start;max-width:100%;scrollbar-color:#c4d4bc #f2f5ee;scrollbar-width:thin}.crm-stage{background:#f0f3ed;border:1px solid #e5ebe0;border-radius:12px;padding:13px 10px 10px;min-height:260px;transition:background .15s}.crm-stage.drop-target{background:#e1edda;outline:2px solid #8aaf74;outline-offset:-2px}.crm-stage-head{padding:0 5px 14px}.crm-stage-head>div{display:flex;gap:7px;align-items:center;justify-content:space-between}.crm-stage-head strong{font-size:11px;font-weight:750;color:#3d5e48}.crm-count{font-size:9px;border-radius:5px;background:#e0e8d9;padding:2px 5px;color:#6a805f}.crm-stage-head small{display:block;color:#8a9988;font-size:10px;margin-top:6px}.crm-deal-cards{display:flex;flex-direction:column;gap:10px}.crm-deal-card{background:#fff;border:1px solid #e4eadd;border-radius:9px;padding:15px 13px;box-shadow:0 2px 5px #293d2205;cursor:grab}.crm-deal-card:active{cursor:grabbing}.crm-deal-title{display:block;text-align:left;font-size:12px;line-height:1.55;font-weight:700;color:#365b45;margin-bottom:9px;overflow-wrap:anywhere}.crm-deal-title:hover{text-decoration:underline}.crm-deal-amount{font-size:15px;font-family:Manrope,var(--font);font-weight:750;color:#365b45}.crm-deal-card>small{font-size:9px;color:#8b988c;display:block;margin-top:5px}.crm-deal-owner{font-size:10px;display:block;margin-top:11px;color:#87947f}.crm-deal-foot{padding-top:12px;display:flex;flex-direction:column;gap:9px;color:#98a194;font-size:9px}.crm-deal-foot select{max-width:100%;font-family:inherit;font-size:9px;color:#78906c;background:#f6f9f1;border:1px solid #e5ecd8;border-radius:5px;padding:6px}.crm-stage-empty{font-size:10px;text-align:center;color:#a0ad98;margin:28px 0}.crm-table-hint{font-size:10px;color:#91a089;margin:12px 3px}
.crm-dialog{width:calc(100% - 30px);max-width:660px;max-height:90dvh;border:1px solid #e4e9df;border-radius:15px;padding:0;color:var(--text);background:#fff;box-shadow:0 25px 100px #1c372833}.crm-dialog.crm-wide{max-width:1100px}.crm-dialog::backdrop{background:#1d312955;backdrop-filter:blur(3px)}.crm-modal-inner{padding:28px 30px}.crm-modal-inner h2{font-family:Manrope,var(--font);font-size:24px;line-height:1.4;overflow-wrap:anywhere;letter-spacing:-.7px;margin-top:6px}.crm-modal-inner .dialoghead{align-items:flex-start;margin-bottom:20px}.crm-modal-inner .close{font-size:23px;flex-shrink:0;width:30px;height:30px;color:#92a08e}.crm-field{font-size:11px;color:#5d735e;display:flex;flex-direction:column;gap:7px}.crm-field>input,.crm-field>select,.crm-field>textarea{width:100%;border:1px solid #e2e8de;border-radius:8px;background:#fff;padding:11px 12px;color:#375944;font-family:inherit;font-size:12px;line-height:1.5;min-height:42px}.crm-field>textarea{resize:vertical}.crm-field>input:focus,.crm-field>select:focus,.crm-field>textarea:focus{outline:2px solid #a6bd93;outline-offset:1px}.crm-edit-form{gap:16px}.crm-edit-form>.pair{gap:14px}.crm-form-error{margin-top:10px}.crm-modal-inner .dialogfoot{margin-top:10px}.crm-dialog .primary:disabled{opacity:.5}
.crm-detail-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:22px}.crm-detail-actions .secondary-button{padding:7px 12px;font-size:10px}.crm-detail-actions .crm-source-link{margin-left:auto}.crm-pill{padding:5px 9px;border-radius:5px;background:#f0f4eb;color:#71866c;font-size:9px;font-weight:650;display:inline-block}.crm-pill.won,.crm-pill.done{background:#e6f2e4;color:#517c4b}.crm-pill.lost{background:#f8eeeb;color:#ad7e6f}.crm-detail-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px}.crm-record-info{border-right:1px solid var(--line);padding-right:23px;min-width:0}.crm-record-info dl{margin:0}.crm-value{padding:0 0 15px;overflow-wrap:anywhere}.crm-value dt{font-size:9px;color:#95a18e;letter-spacing:.4px;margin-bottom:5px}.crm-value dd{margin:0;font-size:12px;color:#526f55;line-height:1.6;white-space:pre-wrap}.crm-related{border-top:1px solid var(--line);padding-top:17px;margin-top:6px}.crm-related h3{font-size:12px;margin:0 0 10px}.crm-related-row{display:flex;align-items:center;gap:5px}.crm-related-row .crm-text-button{flex:1;font-size:10px;line-height:1.55}.crm-unlink{width:23px;flex-shrink:0;font-size:16px;color:#a5afa0}.crm-record-main{min-width:0}.crm-record-main h3{font-size:13px;color:#526c54;margin:0 0 12px}.crm-body-text{font-size:12px;line-height:1.8;color:#74856c;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:26px}.crm-history-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.crm-history-heading h3{margin:0}.crm-history-heading .secondary-button{font-size:10px;padding:8px 11px}.crm-history{display:flex;flex-direction:column;gap:11px}.crm-activity{border:1px solid #e6ebdf;border-radius:9px;padding:15px 16px}.crm-activity>div{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;gap:10px}.crm-activity small{font-size:9px;color:#99a38e}.crm-activity p{font-size:11px;line-height:1.65;color:#829174;white-space:pre-wrap;overflow-wrap:anywhere}.crm-muted{font-size:11px;line-height:1.7;color:#8c9b80}.crm-properties{margin-top:28px;border-top:1px solid var(--line);padding-top:15px}.crm-properties summary{font-size:11px;color:#8a9b79;cursor:pointer}.crm-properties dl{max-height:50vh;overflow:auto;padding-top:20px}.crm-properties .crm-value dd{font-size:10px}.crm-checkbox{display:flex!important;align-items:center;flex-direction:row!important;gap:8px;font-size:11px;line-height:1.6;color:#7e9070}.crm-checkbox input{width:16px!important;height:16px!important;min-height:16px!important;flex-shrink:0;accent-color:#678c51}
.crm-empty{padding:45px 30px;text-align:center;min-height:210px}.crm-empty h2,.crm-empty h3{font-family:Manrope,var(--font);font-size:22px;color:#496c4e;margin:0 0 12px}.crm-empty p{font-size:12px;line-height:1.8;color:#8c9c7c;max-width:530px;margin:0 auto 22px}.crm-import-card,.crm-settings{padding:28px 30px;margin-bottom:20px}.crm-import-card h2,.crm-settings h2{font-family:Manrope,var(--font);font-size:20px;margin:0 0 12px;color:#47664b}.crm-import-card>p{font-size:12px;line-height:1.8;color:#8a9b79;max-width:750px;margin:0 0 25px}.crm-import-card form{max-width:850px}.crm-import-card input[type=file]{font-size:11px;padding:13px}.crm-paste summary{font-size:11px;color:#8b9e78;cursor:pointer;margin-bottom:12px}.crm-import-preview{font-size:12px;color:#637f58;line-height:1.7}.crm-import-preview:empty{display:none}.crm-import-result{font-size:12px;line-height:1.7;color:#6d8d5b}.crm-import-result[data-state=done]{border:1px solid #d7e5ca;padding:15px;background:#f4f9ed;border-radius:8px}.crm-import-card progress{width:100%;height:8px;accent-color:#789b5c}.crm-mapping{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:18px}.crm-setting-row{display:flex;align-items:center;gap:22px;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--line)}.crm-setting-row:last-of-type{margin-bottom:18px}.crm-setting-row strong{font-size:12px}.crm-setting-row p{font-size:10px;color:#93a081;line-height:1.8;max-width:620px;margin:7px 0 0}.crm-setting-row .secondary-button{font-size:10px;padding:8px 12px;flex-shrink:0}.crm-access-form{padding:22px 0;border-bottom:1px solid var(--line);max-width:700px}.crm-access-form h3{font-size:13px;margin:0}.crm-owner-checks{border:1px solid #e1e9d6;border-radius:8px;padding:13px 17px}.crm-owner-checks legend{font-size:10px;color:#8b9f78}.crm-owner-checks label{margin:8px 0}.crm-verification{font-size:11px;line-height:1.9;white-space:pre-wrap;color:#6c895a;padding:16px;background:#f6f9f0;border-radius:8px}.crm-pipeline-editor{display:flex;flex-direction:column;gap:14px}.crm-pipeline-stage{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) 100px auto;gap:10px;align-items:end;border:1px solid var(--line);border-radius:8px;padding:13px}.crm-stage-actions{display:flex;align-items:center;gap:3px;padding-bottom:5px}
#crmResults[aria-busy=true]{opacity:.55;pointer-events:none}
.crm-files{border:1px solid #e3eadd;border-radius:10px;padding:18px;margin-bottom:26px}.crm-files-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.crm-files-heading h3{margin:0}.crm-files-heading .secondary-button{font-size:10px;padding:8px 11px}.crm-files-filter{margin:0 0 12px}.crm-file-list{display:flex;flex-direction:column;gap:10px}.crm-file-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #edf0e8}.crm-file-type{font-size:9px;font-weight:750;color:#6e8c61;background:#f0f5e9;padding:9px 7px;border-radius:6px;min-width:38px;text-align:center}.crm-file-info{flex:1;min-width:0}.crm-file-info strong{font-size:11px;color:#496b50;display:block;overflow-wrap:anywhere;line-height:1.55}.crm-file-info small{display:block;color:#8c9b80;font-size:9px;margin-top:4px;line-height:1.6}.crm-file-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.crm-file-actions a,.crm-file-actions button{font-size:10px}.crm-file-download{color:#557b48;text-decoration:underline;text-underline-offset:3px}.crm-files[aria-busy=true]{opacity:.65}.crm-upload-form{gap:15px}.crm-upload-form input[type=file]{font-size:12px;padding:12px}.crm-upload-queue{padding-left:20px;font-size:11px;line-height:1.8;color:#708765;overflow-wrap:anywhere}.crm-upload-queue:empty{display:none}.crm-files button:disabled{opacity:.5;cursor:default}
@media(max-width:760px){.crm-files{padding:15px}.crm-files-heading{align-items:flex-start;flex-wrap:wrap}.crm-file-row{flex-wrap:wrap;gap:9px}.crm-file-actions{width:100%;padding-left:47px}.crm-upload-form input[type=file]{font-size:13px}}
@media(max-width:1100px){.crm-toolbar>input{flex-basis:100%}.crm-detail-layout{grid-template-columns:220px minmax(0,1fr)}.crm-dialog.crm-wide{max-width:calc(100vw - 30px)}}
@media(max-width:760px){.crm-heading-actions{gap:6px}.crm-heading-actions>.primary-button{font-size:11px;padding:10px}.crm-heading-actions>.secondary-button{font-size:10px;padding:9px}.crm-tabs{gap:0;margin-bottom:18px;flex-wrap:nowrap;overflow-x:auto}.crm-tab{font-size:10px;padding:9px 10px;white-space:nowrap}.crm-stats{gap:10px}.crm-stats .stat-card{padding:14px 10px;gap:9px}.crm-stats .stat-card>div>span{font-size:8px}.crm-amounts{font-size:10px;gap:9px;margin-bottom:16px}.crm-amounts strong{font-size:15px}.crm-toolbar{padding:12px;gap:8px}.crm-toolbar>input{min-height:43px;font-size:13px}.crm-toolbar>select{flex:1 1 40%;max-width:100%;font-size:11px}.crm-toolbar .view-switch{margin-right:auto}.crm-board{grid-auto-columns:255px;gap:10px}.crm-table td,.crm-table th{padding:14px}.crm-modal-inner{padding:22px 19px}.crm-modal-inner h2{font-size:21px}.crm-detail-layout{display:flex;flex-direction:column;gap:22px}.crm-record-info{border-right:0;padding-right:0;border-bottom:1px solid var(--line);padding-bottom:18px}.crm-record-info>dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}.crm-detail-actions{gap:8px}.crm-detail-actions .crm-source-link{margin-left:0}.crm-field>input,.crm-field>select,.crm-field>textarea{font-size:16px;min-height:44px}.crm-history-heading{align-items:flex-start;flex-direction:column}.crm-dialog{max-height:94dvh}.crm-import-card,.crm-settings{padding:23px 19px}.crm-mapping{grid-template-columns:1fr}.crm-setting-row{flex-wrap:wrap;gap:12px}.crm-pipeline-stage{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.crm-pipeline-stage>.crm-field:first-child{grid-column:1/-1}.crm-stage-actions{justify-content:flex-end}.crm-checkbox{font-size:11px}.crm-pagination{gap:5px;font-size:10px}.crm-pagination button{font-size:10px;padding:7px 9px}.crm-table-hint{font-size:9px}.crm-empty{padding:35px 20px}}

.crm-deal-link {
  min-width: 0;
  margin: 0;
  padding: 12px 14px 14px;
  border: 1px solid #e2e8de;
  border-radius: 9px;
}
.crm-deal-link legend {
  padding: 0 6px;
  color: #375944;
  font-size: 12px;
  font-weight: 650;
}
.crm-deal-link-body {
  display: grid;
  gap: 9px;
}
.crm-deal-link-bar,
.crm-deal-link-selection {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.crm-deal-link-bar .crm-field {
  flex: 1;
  min-width: 0;
}
.crm-deal-link-bar .secondary-button {
  min-height: 42px;
}
.crm-deal-link-selection {
  align-items: center;
  justify-content: space-between;
  color: #375944;
  font-size: 12px;
}
.crm-deal-link-selection > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.crm-deal-link-status,
.crm-deal-link-results {
  margin: 0;
}
.crm-deal-link-status:empty,
.crm-deal-link-results:empty,
.crm-deal-link-pages:empty {
  display: none;
}
.crm-deal-link-results {
  max-height: 196px;
  overflow-y: auto;
  padding: 0;
  list-style: none;
  border: 1px solid #e2e8de;
  border-radius: 8px;
}
.crm-deal-link-results li + li {
  border-top: 1px solid #edf1eb;
}
.crm-deal-link-result {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 9px 11px;
  border: 0;
  background: #fff;
  color: #375944;
  font: inherit;
  font-size: 12px;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.crm-deal-link-result:hover,
.crm-deal-link-result:focus-visible {
  background: #eff4ed;
}
.crm-deal-link-result:focus-visible {
  outline: 2px solid #7c9f76;
  outline-offset: -2px;
}
.crm-file-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 13px;
}
.crm-file-category {
  padding: 6px 11px;
  min-height: 34px;
  border: 1px solid #dbe3d4;
  border-radius: 7px;
  background: #fff;
  color: #496b50;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.crm-file-category:hover,
.crm-file-category[aria-pressed="true"] {
  background: #edf4eb;
  border-color: #91ad89;
}
.crm-file-category[aria-pressed="true"] {
  font-weight: 700;
}
.crm-file-category:focus-visible {
  outline: 2px solid #7c9f76;
  outline-offset: 2px;
}
.crm-file-permission-form {
  max-width: 680px;
  margin-top: 16px;
}
.crm-file-permission-options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
}
.crm-file-permission-options[hidden] {
  display: none;
}
.crm-project-history-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.crm-project-history-list .crm-activity > div {
  flex-wrap: wrap;
  gap: 5px 12px;
}
.crm-project-history-list .crm-activity time,
.crm-project-history-list .crm-activity p {
  color: #526b56;
  font-size: 12px;
}
.crm-project-history-list .crm-activity p {
  margin: 3px 0 0;
}
.crm-equipment-order {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.crm-equipment-order h3 {
  margin: 0;
  color: #2e5142;
  font-size: 15px;
}
.crm-order-group {
  display: grid;
  gap: 13px;
  min-width: 0;
  margin: 0;
  padding: 13px;
  border: 1px solid #dbe3d4;
  border-radius: 9px;
}
.crm-order-group legend {
  padding: 0 6px;
  color: #496b4e;
  font-size: 12px;
  font-weight: 600;
}
.crm-order-fields,
.crm-order-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.crm-order-items,
.crm-order-lines {
  display: grid;
  gap: 8px;
}
.crm-order-items > button {
  justify-self: start;
}
.crm-order-line {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding: 10px;
  background: #f5f8f3;
  border-radius: 8px;
}
.crm-order-line > button {
  margin-top: 20px;
}
.crm-order-read-group + .crm-order-read-group {
  border-top: 1px solid #e3eadd;
  padding-top: 13px;
  margin-top: 13px;
}
.crm-order-read-group h4 {
  margin: 0 0 9px;
  color: #3d614d;
  font-size: 12px;
}
.crm-order-values {
  margin: 0;
}
.crm-order-values .crm-value {
  padding: 0;
}
.crm-order-values .crm-value dt {
  color: #5d735e;
  font-size: 11px;
}
.crm-order-products {
  width: 100%;
  margin: 0 0 12px;
  border-collapse: collapse;
  font-size: 12px;
}
.crm-order-products th,
.crm-order-products td {
  padding: 8px 10px;
  border: 1px solid #e3eadd;
  text-align: left;
  vertical-align: top;
}
.crm-order-products th {
  background: #eef4eb;
  color: #3d614d;
}
.crm-order-products td {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.crm-order-products th:first-child {
  width: 76px;
}
@media (max-width: 500px) {
  .crm-order-fields,
  .crm-order-values {
    grid-template-columns: 1fr;
  }
  .crm-order-line {
    grid-template-columns: 68px minmax(0, 1fr);
  }
  .crm-order-line > button {
    grid-column: 2;
    justify-self: end;
    margin-top: 0;
  }
  .crm-deal-link-bar {
    display: grid;
    justify-items: start;
  }
  .crm-deal-link-bar .crm-field {
    width: 100%;
  }
}