body {
  overflow: hidden;
}

.info-box {
  border: 1px solid #eee;
  padding: 10px 11px;
  border-radius: 6px;
  background: #fafafa;
  font-size: 13px;
}

.property-card-wrap {
  margin-bottom: 2px;
}

.property-card {
  padding: 14px !important;
}

.property-card-top {
  gap: 14px;
}

.property-card-main {
  min-width: 0;
  flex: 1 1 auto;
  gap: 12px !important;
}

.property-card-select {
  flex-shrink: 0;
}

.property-card-thumb {
  width: 92px !important;
  height: 72px !important;
  flex-shrink: 0;
}

.property-card-copy {
  min-width: 0;
}

.property-card-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
}

.property-card-title .badge {
  margin-left: 0 !important;
}

.property-card-price-row {
  line-height: 1.35;
}

.property-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.property-card-actions {
  flex-shrink: 0;
  gap: 10px !important;
}

.property-card-meta-row {
  --bs-gutter-x: 10px;
  --bs-gutter-y: 10px;
}

.property-card-meta-col .info-box {
  height: 100%;
}

.property-card-footer {
  gap: 10px;
}

.info-box a {
  text-decoration: none;
  color: var(--primary-color);
  font-size: 12px;
}

.property-credit-helper {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 11px;
}

.property-insight-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.property-performance-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.property-performance-score-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.property-performance-score-copy {
  min-width: 0;
}

.property-performance-score-copy strong {
  display: block;
  color: #0f172a;
  font-size: 13px;
}

.property-performance-score-copy span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 11px;
}

.property-performance-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.property-performance-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
}

.property-performance-badge.is-boosted {
  background: #d1fae5;
  color: #065f46;
}

.property-performance-copy {
  color: #475569;
  font-size: 12px;
}

.property-performance-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.property-performance-mini-grid div {
  border: 1px solid #e5edf5;
  border-radius: 12px;
  background: #fff;
  padding: 9px;
}

.property-performance-mini-grid strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
}

.property-performance-mini-grid span {
  display: block;
  color: #64748b;
  font-size: 11px;
  margin-top: 4px;
}

.action-bar-layout {
  row-gap: 10px;
}

.action-bar-summary {
  min-width: 0;
}

.credit-inline-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.credit-inline-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dbe4ef;
  border-radius: 999px;
  background: #f8fbff;
  padding: 6px 10px;
  white-space: nowrap;
}

.credit-inline-chip.is-hold {
  background: #fff7e8;
  border-color: #fde7b1;
}

.credit-inline-chip.is-used {
  background: #f3f6fa;
  border-color: #d8e0ea;
}

.credit-inline-chip small {
  display: inline-block;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.credit-inline-chip strong {
  display: inline-block;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.credit-summary-alert {
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fff1f2;
  color: #b91c1c;
  font-size: 13px;
  padding: 10px 14px;
}



/* Base */
.top-bar {
  font-size: 13px;
}


.label-title {
  font-weight: 600;
  color: #555;
}

.status-item {
  text-decoration: none;
  color: #555;
  padding: 4px 8px;
  border-radius: 6px;
  transition: 0.2s;
}

.status-item:hover {
  background: #f1f3f5;
}

.status-item.active {
  background: #e7f1ff;
  color: var(--primary-color);
  font-weight: 500;
}

.search-box-wrap {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: 0.2s;
}

.search-box-wrap i {
  font-size: 12px;
  color: #888;
  margin-right: 5px;
}

.search-box-wrap input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  width: 180px;
}

.search-box-wrap:focus-within {
  border: 1px solid var(--primary-color);
  background: #fff;
}

.custom-select {
  border: 1px solid #e0e0e0;
  background: #f8f9fa;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: 0.2s;
}

.custom-select:focus {
  border-color: var(--primary-color);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(13,110,253,0.1);
}

.action-bar {
  font-size: 13px;
}

.select-all input {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.action-btn {
  border: 1px solid #e0e0e0;
  background: #f8f9fa;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  transition: 0.2s;
}

.action-btn:hover {
  background: #eef3ff;
  border-color: var(--primary-color);
  color: var(--primary-color);
}


.score-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 11px;
  font-weight: 600;

  background: conic-gradient(
    var(--color) calc(var(--value) * 1%),
    #e9ecef 0
  );
}

.score-circle::before {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
}

.score-circle span {
  position: relative;
  z-index: 1;
}


.page-wrapper {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.fixed-top-area {
  position: sticky;
  /* top: 30px; */
  z-index: 1000;
  background: #fff;
}

.scroll-area {
  flex: 1;
  overflow-y: auto;
  padding-top: 10px;
  padding-bottom: 80px;
}

.property-insights-canvas {
  width: min(560px, 100vw);
}

.property-insights-loading-state,
.property-insights-empty {
  border: 1px solid #e5edf5;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f7f9fc 100%);
  padding: 18px;
}

.property-insights-loading-state h6,
.property-insights-empty h6 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 700;
}

.property-insights-loading-state p,
.property-insights-empty p {
  color: #64748b;
  font-size: 13px;
}

.property-insights-summary-card {
  border: 1px solid #dbe4ef;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 20px;
}

.property-insights-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  text-transform: uppercase;
}

.property-insights-summary-card h5 {
  margin: 12px 0 6px;
  font-size: 22px;
  font-weight: 700;
}

.property-insights-summary-card p {
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
}

.property-insights-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.property-insights-summary-grid article {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 14px;
}

.property-insights-summary-grid span {
  display: block;
  color: rgba(226, 232, 240, 0.78);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.property-insights-summary-grid strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 16px;
}

.property-insights-tabs {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.property-insights-tab {
  border: 1px solid #dbe4ef;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
}

.property-insights-tab.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.property-insights-pane {
  display: none;
}

.property-insights-pane.active {
  display: block;
}

.property-insights-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.property-insights-stat-card {
  border: 1px solid #e5edf5;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
}

.property-insights-stat-card span {
  display: block;
  color: #64748b;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.property-insights-stat-card strong {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 18px;
}

.property-insights-stat-card small {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
}

.property-insights-section {
  margin-top: 18px;
}

.property-insights-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.property-insights-section-head h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.property-insights-section-head span,
.property-insights-subcopy {
  color: #64748b;
  font-size: 12px;
}

@media (max-width: 991.98px) {
  .action-bar-layout {
    align-items: flex-start !important;
  }

  .action-bar .ms-auto {
    margin-left: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .credit-inline-summary {
    gap: 6px;
  }

  .credit-inline-chip {
    gap: 6px;
    padding: 5px 8px;
  }

  .credit-inline-chip small {
    font-size: 9px;
  }

  .credit-inline-chip strong {
    font-size: 12px;
  }

  .credit-summary-alert {
    font-size: 12px;
    padding: 9px 12px;
  }
}

.property-insights-breakdown-card,
.property-insights-timeline-item,
.property-performance-detail-card {
  border: 1px solid #e5edf5;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
}

.property-insights-breakdown-card + .property-insights-breakdown-card,
.property-insights-timeline-item + .property-insights-timeline-item {
  margin-top: 10px;
}

.property-insights-breakdown-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.property-insights-breakdown-card.is-hold {
  border-color: #fde68a;
  background: #fffbeb;
}

.property-insights-breakdown-card h6,
.property-insights-timeline-item h6 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.property-insights-breakdown-card p,
.property-insights-timeline-item p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

.property-insights-breakdown-credits {
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.property-insights-timeline-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.property-insights-timeline-item.is-credit {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.property-insights-timeline-side {
  text-align: right;
}

.property-insights-timeline-side strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
}

.property-insights-timeline-side span {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 11px;
}

.property-performance-chart {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  min-height: 220px;
  border: 1px solid #e5edf5;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  padding: 20px 16px 16px;
}

.property-performance-chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.property-performance-chart-value {
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.property-performance-chart-bar-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 130px;
}

.property-performance-chart-bar {
  width: 100%;
  max-width: 42px;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, #0f766e 0%, #14b8a6 100%);
  box-shadow: 0 10px 20px rgba(20, 184, 166, 0.18);
}

.property-performance-chart-label {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.property-performance-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.property-performance-detail-card span {
  display: block;
  color: #64748b;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.property-performance-detail-card strong {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 14px;
}

.property-responses-trigger.is-active {
  color: var(--primary-color);
  font-weight: 600;
}

.property-responses-panel {
  margin-top: 18px;
  border-top: 1px solid #e8edf3;
  padding-top: 18px;
}

.property-responses-shell {
  border: 1px solid #dfe7f1;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  overflow: hidden;
}

.property-responses-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 12px;
}

.property-responses-head h5 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
}

.property-responses-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #6b7280;
}

.property-responses-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.property-manage-leads-btn {
  white-space: nowrap;
  border-color: var(--brand-orange);
  background: var(--brand-orange);
  color: #fff;
}

.property-manage-leads-btn:hover,
.property-manage-leads-btn:focus,
.property-manage-leads-btn:active {
  border-color: var(--brand-orange);
  background: #e96d3a;
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(255, 126, 75, 0.18);
}

.property-responses-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #eef2f7;
  color: #4b5563;
}

.property-responses-close:hover {
  background: #dde6f2;
}

.property-response-tabs {
  display: flex;
  gap: 8px;
  padding: 0 20px 14px;
  overflow-x: auto;
  border-bottom: 1px solid #e4ebf3;
}

.property-response-tab {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.property-response-tab span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 8px;
  border-radius: 999px;
  background: #edf2f7;
  color: #334155;
  font-size: 11px;
}

.property-response-tab.active {
  background: #0f172a;
  color: #fff;
}

.property-response-tab.active span {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.property-response-tab:focus-visible,
.property-responses-close:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

.property-response-panes {
  padding: 18px 20px 20px;
}

.property-response-pane {
  display: none;
}

.property-response-pane.active {
  display: block;
}

.response-lead-card,
.response-feedback-card,
.response-reference-card {
  background: #fff;
  border: 1px solid #e5edf5;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.response-lead-card + .response-lead-card,
.response-feedback-card + .response-feedback-card,
.response-reference-card + .response-reference-card {
  margin-top: 12px;
}

.response-lead-card {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr);
  gap: 18px;
}

.response-lead-main {
  display: flex;
  gap: 14px;
  min-width: 0;
}

.response-lead-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d4ed8, #38bdf8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.response-lead-copy,
.response-lead-side {
  min-width: 0;
}

.response-lead-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.response-lead-head h6,
.response-feedback-head h6,
.response-reference-card h6,
.response-empty-state h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.response-lead-meta,
.response-lead-submeta,
.response-reference-meta,
.response-feedback-status,
.response-feedback-meta,
.response-empty-state p {
  color: #6b7280;
  font-size: 13px;
}

.response-lead-submeta {
  margin-top: 4px;
}

.response-dot {
  margin: 0 6px;
  color: #c0cad7;
}

.response-lead-side {
  display: grid;
  gap: 10px;
}

.response-lead-side div,
.response-reference-links {
  display: grid;
  gap: 4px;
}

.response-lead-side strong {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.response-lead-side span,
.response-reference-link,
.response-reference-link a {
  font-size: 13px;
  color: #334155;
}

.response-feedback-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.response-feedback-card p {
  margin: 0 0 10px;
  color: #1f2937;
  font-size: 14px;
}

.response-feedback-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.response-rating-stars {
  color: #f59e0b;
  display: inline-flex;
  gap: 2px;
}

.response-rating-value {
  margin-left: 8px;
  font-weight: 700;
  color: #111827;
  font-size: 13px;
}

.response-reference-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.response-reference-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 600;
}

.response-empty-inline {
  color: #94a3b8;
  font-size: 12px;
}

.response-empty-state {
  padding: 30px 18px;
  text-align: center;
}

.response-empty-state p {
  margin: 8px auto 0;
  max-width: 480px;
}

.property-responses-loading .response-empty-state {
  padding: 40px 18px;
}

.property-responses-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 20px 20px;
}

.property-responses-footer-copy {
  color: #64748b;
  font-size: 13px;
}

.property-responses-more {
  border-radius: 999px;
  padding-inline: 16px;
}


@media (max-width: 768px) {

  .property-insights-canvas {
    width: 100vw;
  }

  .property-insights-stat-grid,
  .property-insights-summary-grid,
  .property-performance-detail-grid,
  .property-performance-mini-grid {
    grid-template-columns: 1fr;
  }

  .property-performance-chart {
    gap: 8px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .property-insights-breakdown-card,
  .property-insights-timeline-item {
    flex-direction: column;
  }

  /* Top bar */
  .top-bar .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px;
  }

  .status-filter {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .status-item {
    font-size: 12px;
    padding: 3px 6px;
  }

  /* Search + filters full width */
  .search-box-wrap {
    width: 100%;
  }

  .search-box-wrap input {
    width: 100%;
  }

  .custom-select {
    width: 100%;
  }

  /* Action bar */
  .action-bar .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px;
  }

  .action-bar .ms-auto {
    width: 100%;
    justify-content: space-between;
  }

  .property-card .d-flex {
    flex-direction: column;
    gap: 10px;
  }

  .property-card-top,
  .property-card-main,
  .property-card-actions,
  .property-card-footer {
    gap: 10px !important;
  }

  .property-card img {
    width: 100%;
    height: 140px;
  }

  .property-card-thumb {
    width: 100% !important;
    height: 140px !important;
  }

  .property-card {
    padding: 12px !important;
  }

  .action-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  /* Info boxes grid */
  .property-card .row > div {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Footer actions */
  .property-card .justify-content-between {
    flex-direction: column;
    gap: 10px;
  }

  .property-responses-head,
  .property-response-panes {
    padding-left: 14px;
    padding-right: 14px;
  }

  .property-responses-head {
    align-items: flex-start;
  }

  .property-responses-head-actions {
    width: 100%;
    justify-content: space-between;
  }

  .property-response-tabs {
    padding-left: 14px;
    padding-right: 14px;
  }

  .response-lead-card {
    grid-template-columns: 1fr;
  }

  .response-feedback-head {
    flex-direction: column;
  }

  .response-feedback-meta {
    flex-direction: column;
    gap: 6px;
  }

  .property-responses-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

}