/* Prospects presentation layer. No data, workflow or shared-site changes. */
@font-face {
  font-family: Prospects Manrope;
  src: url("/assets/fonts/manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
.crm-body {
  --product-ink: #183548;
  --product-muted: #637783;
  --product-line: #dfe7eb;
  --product-accent: #087e8b;
  background: #f3f6f8;
  color: var(--product-ink);
  font-family:
    Prospects Manrope,
    Manrope,
    Arial,
    sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.crm-body .site-header {
  min-height: 76px;
  padding: 14px 32px;
  gap: 24px;
  background: #fff;
  border-bottom: 1px solid var(--product-line);
  box-shadow: none;
  backdrop-filter: none;
}
.crm-body .site-header .brand {
  min-width: 188px;
  width: 188px;
  height: 46px;
}
.crm-body .pricing-admin-title {
  margin-left: 0;
  padding-left: 24px;
  border-left: 1px solid var(--product-line);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--product-muted);
}
.crm-body .crm-user-menu {
  margin-left: auto;
}
.crm-body .crm-user-button {
  width: 38px;
  height: 38px;
  border: 1px solid #cce4e7;
  padding: 3px;
  box-shadow: none;
  background: #f0fafb;
}
.crm-body .crm-user-avatar {
  height: 30px;
  width: 30px;
  flex-basis: 30px;
  font-size: 12px;
  background: var(--product-accent);
}
.crm-body .crm-user-dropdown {
  border-color: var(--product-line);
  border-radius: 10px;
  box-shadow: 0 12px 32px #18354814;
}
.crm-body.crm-authenticated .crm-app > :not(.site-header) {
  width: calc(100% - 64px);
  max-width: 1800px;
}
.crm-body .crm-header {
  min-height: 136px;
  padding: 30px 0 24px;
  gap: 24px;
}
.crm-body .crm-header-title {
  gap: 6px;
  max-width: none;
}
.crm-body .crm-header-title .section-kicker {
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--product-accent);
  margin: 0;
}
.crm-body .crm-header-title .section-kicker::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--product-accent);
}
.crm-body .crm-header h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  font-weight: 800;
  color: var(--product-ink);
}
.crm-body .button {
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 750;
  box-shadow: none;
  transform: none;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.crm-body .button.primary {
  background: var(--product-accent);
  border: 1px solid var(--product-accent);
  color: #fff;
}
.crm-body .button.primary:hover {
  background: #066977;
  border-color: #066977;
}
.crm-body .button.secondary {
  background: #fff;
  border: 1px solid #cfdae1;
  color: var(--product-ink);
}
.crm-body .button.secondary:hover {
  background: #f0f7f8;
  border-color: #9fbdc6;
}
.crm-body .button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.crm-body .crm-toolbar,
.crm-body .crm-filters,
.crm-body .crm-table-wrap {
  background: #fff;
  border: 1px solid var(--product-line);
  box-shadow: 0 2px 4px #18354803;
}
.crm-body .crm-toolbar {
  padding: 22px 24px;
  margin-bottom: 0;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  gap: 24px;
}
.crm-body .crm-toolbar h2 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 0 0 5px;
}
.crm-body .crm-toolbar p {
  font-size: 12px;
  color: var(--product-muted);
}
.crm-body .crm-toolbar-actions {
  gap: 8px;
  flex-wrap: nowrap;
}
.crm-body .crm-filters {
  grid-template-columns: minmax(220px, 1.3fr) minmax(110px, 0.5fr) repeat(
      2,
      minmax(245px, 1fr)
    );
  gap: 16px;
  padding: 20px 24px 24px;
  margin-bottom: 20px;
  border-top: 1px solid #edf1f4;
  border-radius: 0 0 12px 12px;
}
.crm-body .crm-filters label,
.crm-body .crm-modal-card label {
  font-size: 11px;
  font-weight: 750;
  gap: 7px;
  color: #526a79;
  letter-spacing: 0.01em;
  min-width: 0;
}
.crm-body .crm-filters input,
.crm-body .crm-filters select,
.crm-body .crm-form-grid input,
.crm-body .crm-form-grid select,
.crm-body .crm-modal-card textarea {
  min-height: 40px;
  font-size: 12px;
  font-weight: 500;
  border-color: #d9e2e8;
  border-radius: 6px;
  padding: 9px 11px;
  box-shadow: 0 1px 2px #18354803;
  background: #fff;
  min-width: 0;
}
.crm-body #globalSearch {
  padding-left: 35px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23738794' stroke-width='1.7'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E")
    11px center no-repeat;
}
.crm-body input::placeholder {
  color: #7b8a95;
  font-weight: 500;
}
.crm-body .crm-date-range {
  min-height: 40px;
  border-color: #d9e2e8;
  border-radius: 6px;
  padding: 3px 8px;
  gap: 5px;
}
.crm-body .crm-date-range input {
  padding: 3px 0;
  min-height: 30px;
  border: 0;
  box-shadow: none;
  font-size: 11px;
}
.crm-body .crm-date-range span {
  font-size: 9px;
  font-weight: 600;
  text-transform: none;
  color: #7d8f9b;
}
.crm-body .crm-table-wrap {
  border-radius: 10px;
  max-height: calc(100vh - 414px);
  min-height: 280px;
  scrollbar-color: #b3c5ce #f3f6f8;
  scrollbar-width: thin;
}
.crm-body .crm-table {
  min-width: 2220px;
  width: 100%;
  font-size: 12px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.crm-body .crm-table th,
.crm-body .crm-table td {
  padding: 15px 14px;
  vertical-align: middle;
  border-bottom: 1px solid #eaf0f3;
  white-space: nowrap;
}
.crm-body .crm-table th {
  height: 48px;
  padding-top: 12px;
  padding-bottom: 12px;
  background: #f7f9fb;
  color: #617481;
  font-size: 10px;
  font-weight: 750;
}
.crm-body .crm-table th .sort-button {
  font-size: 10px;
  font-weight: 750;
  color: #617481;
  gap: 5px;
  white-space: nowrap;
  min-height: 24px;
}
.crm-body .crm-table th .sort-button span {
  background: transparent;
  color: #92a3af;
  width: 12px;
  height: 18px;
  flex-basis: 12px;
  font-size: 12px;
  border-radius: 3px;
}
.crm-body .crm-table th .sort-button.is-active {
  color: var(--product-accent);
}
.crm-body .crm-table th .sort-button.is-active span {
  color: var(--product-accent);
  background: #e4f4f5;
}
.crm-body .crm-table tbody tr {
  background: #fff;
}
.crm-body .crm-table tbody tr:nth-child(even) {
  background: #fcfdfe;
}
.crm-body .crm-table tbody tr:hover {
  background: #f1f8fa;
}
.crm-body .crm-table td:nth-child(2) {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #6c818e;
}
.crm-body .crm-table td:nth-child(3) {
  color: #657b89;
  font-size: 11px;
}
.crm-body .crm-table td:nth-child(7) {
  min-width: 200px;
  max-width: 280px;
  white-space: normal;
  font-weight: 750;
  color: #183548;
}
.crm-body .crm-table td:nth-child(10) a {
  color: #087887;
}
.crm-body .crm-table td:nth-child(10) a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.crm-body .crm-table td:nth-child(n + 13):nth-child(-n + 15) {
  font-weight: 650;
}
.crm-body .crm-table th:nth-child(1),
.crm-body .crm-table td:nth-child(1) {
  position: sticky;
  left: 0;
  min-width: 106px;
  width: 106px;
  z-index: 2;
  border-right: 1px solid #e2eaee;
  background: #fff;
}
.crm-body .crm-table th:nth-child(1) {
  z-index: 3;
  background: #f7f9fb;
}
.crm-body .crm-table tbody tr:hover td:nth-child(1) {
  background: #f1f8fa;
}
.crm-body .crm-table .assignee-select {
  appearance: auto;
  min-height: 32px;
  padding: 5px 7px;
  border: 1px solid #e1e8ed;
  border-radius: 6px;
  background: #f8fafb;
  font-size: 11px;
  font-weight: 650;
  min-width: 74px;
}
.crm-body .status-select {
  padding: 5px 9px;
  border: 1px solid #cce4e8;
  border-radius: 6px;
  background: #ecf7f9;
  color: #087786;
  font-size: 11px;
  font-weight: 750;
  min-height: 32px;
}
.crm-body .crm-table tr.is-won > td {
  background: #f0f9f3;
}
.crm-body .crm-table tr.is-won .status-select {
  background: #e1f3e7;
  border-color: #badfc7;
  color: #267344;
}
.crm-body .crm-table tr.is-archived {
  opacity: 0.72;
}
.crm-body .table-action {
  font-size: 11px;
  font-weight: 650;
  min-height: 32px;
  padding: 6px 9px;
  border-color: #dbe5ea;
  border-radius: 6px;
  margin: 0 5px 0 0;
  background: #fff;
  white-space: nowrap;
}
.crm-body .table-action:hover {
  background: #eef7f8;
  border-color: #a9c9d0;
}
.crm-body .table-action.is-danger {
  color: #a04444;
}
.crm-body .row-actions {
  min-width: 338px;
}
.crm-body .crm-message {
  font-size: 11px;
  color: #6c818d;
  padding-top: 12px;
}
.crm-body .crm-message:empty {
  display: none;
}
.crm-body .crm-modal {
  width: min(920px, calc(100% - 40px));
  border-radius: 14px;
  box-shadow: 0 24px 80px #102e4533;
}
.crm-body #notesModal,
.crm-body #callModal {
  width: min(640px, calc(100% - 40px));
}
.crm-body .crm-modal::backdrop {
  background: #10263880;
  backdrop-filter: blur(3px);
}
.crm-body .crm-modal-card {
  border: 1px solid #dce6eb;
  border-radius: 14px;
  background: #fff;
  padding: 32px;
  gap: 20px;
  box-shadow: none;
  max-height: 88vh;
}
.crm-body .crm-modal-card h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
  line-height: 1.3;
  padding-right: 38px;
  font-weight: 800;
}
.crm-body .crm-modal-card h3 {
  font-size: 14px;
  font-weight: 800;
}
.crm-body .crm-form-intro,
.crm-body .crm-modal-card p {
  font-size: 12px;
  line-height: 1.7;
}
.crm-body .crm-form-section {
  padding: 20px;
  border: 1px solid #e3ebef;
  border-radius: 9px;
  background: #fbfcfd;
  box-shadow: none;
}
.crm-body .crm-form-grid {
  gap: 16px;
}
.crm-body .crm-modal-card textarea {
  resize: vertical;
  line-height: 1.6;
}
.crm-body .crm-modal-card .modal-close {
  width: 32px;
  height: 32px;
  top: 24px;
  right: 24px;
  font-size: 22px;
  font-weight: 500;
  border-radius: 7px;
  background: #f0f4f6;
  color: #69818e;
}
.crm-body .crm-modal-actions {
  padding-top: 18px;
  border-top: 1px solid #e6edf1;
  gap: 8px;
}
.crm-body .crm-notes-list article {
  background: #f6f9fb;
  border: 1px solid #e4ecf0;
  border-left: 3px solid #8fc9ce;
  border-radius: 6px;
  padding: 15px;
}
.crm-body .crm-services label {
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
}
.crm-body .crm-quote-sharing {
  border-radius: 10px;
  box-shadow: none;
  background: #f0f8f9;
}
.crm-body .crm-quote-result {
  border-radius: 10px;
  box-shadow: none;
}
.crm-body .crm-auth {
  min-height: auto;
  max-width: 480px;
  margin: 12vh auto 0;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--product-line);
  border-radius: 14px;
  box-shadow: 0 16px 48px #16324f08;
  gap: 18px;
}
.crm-body .crm-auth h1 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.8px;
}
.crm-body .crm-auth p {
  font-size: 13px;
  color: var(--product-muted);
}
.crm-body :is(button, input, select, textarea, a, summary):focus-visible {
  outline: 2px solid #087e8b;
  outline-offset: 3px;
}
@media (min-width: 1700px) {
  .crm-body .site-header {
    padding-inline: max(32px, calc((100vw - 1800px) / 2));
  }
}
@media (max-width: 1150px) {
  .crm-body .crm-filters {
    grid-template-columns: 1fr 1fr;
  }
  .crm-body .crm-table-wrap {
    max-height: calc(100vh - 490px);
  }
  .crm-body .crm-toolbar p {
    max-width: 420px;
  }
}
@media (max-width: 900px) {
  .crm-body .crm-header {
    flex-direction: row;
    align-items: center;
    min-height: 124px;
  }
  .crm-body .crm-header h1 {
    font-size: 27px;
  }
  .crm-body .crm-toolbar {
    display: flex;
    align-items: center;
  }
  .crm-body .crm-toolbar-actions {
    flex-wrap: wrap;
  }
  .crm-body .crm-toolbar-actions .button {
    width: auto;
  }
  .crm-body .crm-filters {
    grid-template-columns: 1fr 1fr;
  }
  .crm-body .crm-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .crm-body .site-header {
    padding: 12px 18px;
    min-height: 66px;
    gap: 14px;
  }
  .crm-body .site-header .brand {
    min-width: 144px;
    width: 144px;
    height: 38px;
  }
  .crm-body .pricing-admin-title {
    font-size: 9px;
    padding-left: 14px;
    letter-spacing: 0.03em;
  }
  .crm-body.crm-authenticated .crm-app > :not(.site-header) {
    width: calc(100% - 32px);
  }
  .crm-body .crm-header {
    padding: 24px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .crm-body .crm-header h1 {
    font-size: 28px;
  }
  .crm-body .crm-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 16px;
    gap: 16px;
  }
  .crm-body .crm-toolbar-actions {
    justify-content: flex-start;
    flex-wrap: nowrap;
  }
  .crm-body .crm-toolbar-actions .button {
    flex: 1;
    padding-inline: 10px;
    white-space: nowrap;
    font-size: 11px;
  }
  .crm-body .crm-filters {
    padding: 18px 16px;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .crm-body .crm-date-range input {
    font-size: 12px;
  }
  .crm-body .crm-table-wrap {
    max-height: 65vh;
    min-height: 260px;
  }
  .crm-body .crm-table th:nth-child(1),
  .crm-body .crm-table td:nth-child(1) {
    position: static;
  }
  .crm-body .crm-modal {
    width: calc(100% - 20px);
  }
  .crm-body .crm-modal-card {
    padding: 24px 18px;
  }
  .crm-body .crm-modal-card h2 {
    font-size: 22px;
  }
  .crm-body .crm-form-grid {
    grid-template-columns: 1fr;
  }
  .crm-body .crm-form-section {
    padding: 16px;
  }
  .crm-body .crm-auth {
    padding: 24px;
    margin-top: 6vh;
  }
}
@media (prefers-reduced-motion: reduce) {
  .crm-body * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Keep the compact product header independent of marketing-site breakpoints. */
.crm-body .site-header {
  align-items: center;
  flex-wrap: nowrap;
}
.crm-body .site-header .brand {
  flex: 0 0 auto;
}

.crm-body .portal-transfer-action { background:#ecf7f9; border-color:#b6dce2; color:#087786; }
.crm-body .row-actions { min-width:455px; }
.crm-body .portal-review-link { color:#087786; font-weight:750; text-decoration:underline; }
.crm-body .status-select { min-width:115px; }
