@font-face {
  font-family: "PP Mori";
  src: url("/static/fonts/pp-mori-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Interphases Pro";
  src: url("/static/fonts/tt-interphases-pro-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


/* =========================
   App shell / layout
========================= */

.app-shell {
  min-height: 100vh;
  display: flex;
}

.app-main {
  flex: 1 1 0%;
  min-width: 0;
}

.app-content {
  padding: 1.5rem;
}

.view-stack,
.lifecycle-list,
.billing-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.dashboard-main-col {
  grid-column: span 12 / span 12;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dashboard-side-col {
  grid-column: span 12 / span 12;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 1280px) {
  .dashboard-main-col {
    grid-column: span 8 / span 8;
  }

  .dashboard-side-col {
    grid-column: span 4 / span 4;
  }
}


/* =========================
   Topbar
========================= */

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
}

.app-topbar-inner {
  display: flex;
  height: 6rem;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2rem;
}

.page-title-wrap,
.guest-info,
.hs-min {
  min-width: 0;
}

.page-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #020617;
}

.page-subtitle {
  margin-top: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: #64748b;
}

.topbar-spacer {
  flex: 1 1 0%;
}

.global-pmc-form {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .global-pmc-form {
    display: flex;
  }
}

.global-pmc-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #94a3b8;
}

.global-pmc-select {
  height: 2.75rem;
  min-width: 220px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 0 1rem;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  outline: none;
}

/* =========================
   Cards
========================= */

.hs-card,
.hs-card-lg,
.attention-card,
.suggestions-card,
.portfolio-card,
.hs-card-lg,
.hs-filter-card,
.properties-filter-card,
.content-filter-card {
  border-radius: 28px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.hs-card-soft,
.guest-intel-card {
  border-radius: 28px;
  border: 1px solid #d9e0ea;
  background: #f8fafc;
  padding: 1.25rem;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.03);
}

@media (min-width: 640px) {
  .hs-card-soft {
    padding: 1.5rem;
  }
}

.hs-inner-card {
  border-radius: 22px;
  border: 1px solid #d9e0ea;
  background: #f4f7fb;
  padding: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hs-empty-soft {
  border-radius: 18px;
  border: 1px dashed #d9e0ea;
  background: rgba(255, 255, 255, 0.7);
  padding: 1.5rem;
  font-size: 14px;
  color: #64748b;
}

/* =========================
   Text / headings
========================= */

.hs-section-heading {
  font-size: 24px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #020617;
}

.hs-section-subtitle {
  margin-top: 0.5rem;
  font-size: 14px;
  color: #64748b;
}

.hs-card-title {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.hs-card-copy {
  margin-top: 0.25rem;
  font-size: 13px;
  line-height: 1.35;
  color: #64748b;
}

.hs-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #94a3b8;
}

.hs-muted {
  color: #94a3b8;
}

.hs-link-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 15px;
  font-weight: 600;
  color: #316cff;
}

.hs-link-blue:hover {
  color: #2456d8;
}

/* =========================
   Buttons
========================= */

.hs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 1rem;
  padding: 0 1rem;
  font-size: 14px;
  font-weight: 600;
  transition: all 150ms ease;
}

.hs-btn-sm {
  height: 2.5rem;
}

.hs-btn-md {
  height: 2.75rem;
}

.hs-btn-lg {
  height: 3rem;
}

.hs-btn-primary {
  background: #020617;
  color: #ffffff;
}

.hs-btn-primary:hover {
  background: #1e293b;
}

.hs-btn-blue {
  background: #356cf6;
  color: #ffffff;
}

.hs-btn-blue:hover {
  background: #2457d9;
}

.hs-btn-white {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
}

.hs-btn-white:hover,
.attention-row:hover,
.btn-secondary:hover,
.icon-btn:hover {
  background: #f8fafc;
}

.hs-btn-soft {
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  color: #334155;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.hs-btn-soft:hover {
  border-color: #94a3b8;
  background: #e2e8f0;
  color: #020617;
}

.hs-btn-hero {
  height: 3rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  padding: 0 1.25rem;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.hs-btn-hero:hover {
  background: rgba(255, 255, 255, 0.25);
}

.hs-btn-disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* =========================
   Forms / filters
========================= */

/* .hs-filter-card {
  border-radius: 28px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
} */

.hs-filter-stack,
.portfolio-legend,
.properties-filter-inner,
.content-filter-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hs-filter-row,
.hs-filter-actions,
.content-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hs-search-pill,
.content-inline-search {
  display: flex;
  height: 3rem;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 0 1rem;
}

.hs-search-icon {
  width: 1rem;
  height: 1rem;
  color: #94a3b8;
}

.hs-search-input,
.content-inline-search input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: #020617;
  outline: none;
}

.hs-search-input::placeholder {
  color: #94a3b8;
}

.hs-input {
  height: 3rem;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 0 1rem;
  font-size: 14px;
  color: #020617;
  outline: none;
}

.hs-select-pill {
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 0 1.25rem;
  font-size: 15px;
  color: #475569;
  outline: none;
}

.hs-select-strong {
  height: 2.75rem;
  min-width: 220px;
  border-radius: 9999px;
  border: 2px solid #2f6bff;
  background: #ffffff;
  padding: 0 2.5rem 0 1.25rem;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  outline: none;
  appearance: none;
}

/* .hs-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
} */

/* =========================
   Overview: Guest Intelligence
========================= */


.guest-cell {
  width: 250px;
  padding: 0.875rem 1rem;
  vertical-align: top;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-duration: 150ms;
}

.group:hover .guest-cell {
  background-color: inherit;
}

.message-cell {
  width: 460px;
  padding: 0.875rem 1rem;
  vertical-align: top;
  font-size: 0.75rem;
  line-height: 1rem;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-duration: 150ms;
}

@media (min-width: 640px) {
  .guest-intel-card {
    padding: 1.5rem;
  }
}

.guest-intel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.guest-intel-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.guest-intel-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #c9d8ff, #7ea4ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.guest-intel-body-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .guest-intel-body-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.guest-intel-left {
  padding-right: 0;
}

@media (min-width: 1024px) {
  .guest-intel-left {
    padding-right: 1.5rem;
  }
}

.metric-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.metric-value {
  margin-bottom: 0.5rem;
  font-size: clamp(26px, 3vw, 60px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #020617;
}

.metric-value-small {
  margin-left: 0.25rem;
  font-size: 0.5em;
  vertical-align: top;
}

.metric-label {
  font-size: 13px;
  color: #94a3b8;
}

.lifecycle-card {
  margin-top: 1.75rem;
  border-radius: 22px;
  border: 1px solid #d9e0ea;
  background: #f4f7fb;
  padding: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* .lifecycle-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
} */

.lifecycle-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.lifecycle-label-wrap,
.attention-heading-row,
.suggestion-property-row,
.portfolio-legend-label,
.editor-actions,
.sidebar-user-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lifecycle-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 14px;
}

.lifecycle-icon span {
  font-size: 18px;
  line-height: 1;
}

.lifecycle-title {
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  color: #1e293b;
}

.lifecycle-subtitle {
  margin-top: 0.25rem;
  font-size: 13px;
  line-height: 1;
  color: #64748b;
}

.lifecycle-percent {
  font-size: 15px;
  font-weight: 600;
  color: #334155;
}

.progress-track {
  margin-top: 0.75rem;
  height: 8px;
  border-radius: 9999px;
  background: #e2e8f0;
}

.progress-fill {
  height: 8px;
  border-radius: 9999px;
}

/* =========================
   Property chat stats
========================= */

.property-stats-panel {
  margin-top: 1.5rem;
  border-top: 1px solid #d9e0ea;
  padding-top: 1.5rem;
}

@media (min-width: 1024px) {
  .property-stats-panel {
    margin-top: 0;
    border-top: 0;
    border-left: 1px solid #d9e0ea;
    padding-top: 0;
    padding-left: 1.5rem;
  }
}

.property-stats-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
}

@media (min-width: 640px) {
  .property-stats-title {
    font-size: 17px;
  }
}

.property-stats-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.property-stat-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 115px) 1fr 56px;
  align-items: center;
  column-gap: 1rem;
}

.property-stat-thumb {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  border: 1px solid #d9e0ea;
  object-fit: cover;
}

.property-stat-fallback {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 14px;
  border: 1px solid #d9e0ea;
  background: #f1f5f9;
  font-size: 20px;
}

.property-stat-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.property-stat-count {
  text-align: right;
  font-size: 15px;
  font-weight: 600;
  color: #94a3b8;
}

/* =========================
   Needs attention
========================= */

/* .attention-card {
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
} */

.attention-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* .attention-heading-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
} */

.attention-dot {
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  background: #356cf6;
}

.attention-list {
  margin-top: 1.25rem;
}

.attention-list>*+* {
  border-top: 1px solid #f1f5f9;
}

.attention-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  transition: background-color 150ms ease;
}

/* .attention-row:hover {
  background: #f8fafc;
} */

.attention-main {
  min-width: 0;
  flex: 1 1 0%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
}

.attention-guest {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #020617;
}

.attention-issue {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1;
  color: #64748b;
}

.attention-property {
  width: 160px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.attention-property-thumb {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  object-fit: cover;
}

.attention-property-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
}

.attention-status {
  flex-shrink: 0;
}

.attention-time {
  flex-shrink: 0;
  white-space: nowrap;
  text-align: right;
  font-size: 12px;
  color: #94a3b8;
}

.attention-empty {
  padding: 2rem 0;
  font-size: 14px;
  color: #64748b;
}

/* =========================
   Suggestions
========================= */

/* .suggestions-card {
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
} */

.suggestions-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.suggestions-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 1rem;
  background: #fff4df;
  color: #f2b233;
}

.suggestions-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.suggestion-item {
  border-radius: 22px;
  border: 1px solid #e2e8f0;
  padding: 1rem;
}

/* .suggestion-property-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
} */

.suggestion-property-thumb {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
}

.suggestion-property-name {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

.suggestion-title {
  margin-top: 1rem;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #020617;
}

.suggestion-meta {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  color: #94a3b8;
}

.suggestion-reason {
  margin-top: 0.75rem;
  font-size: 14px;
  line-height: 1.5rem;
  color: #334155;
}

.suggestion-action {
  margin-top: 0.75rem;
  font-size: 14px;
  line-height: 1.5rem;
  color: #94a3b8;
}

.suggestion-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* =========================
   Portfolio status
========================= */

/* .portfolio-card {
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
} */

.portfolio-layout {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 1.25rem;
}

.portfolio-chart {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.portfolio-chart canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.portfolio-chart-label {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-chart-number {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #0f172a;
}

.portfolio-chart-subtitle {
  font-size: 11px;
  color: #94a3b8;
}

/* .portfolio-legend {
  display: flex;
  flex-direction: column;
  gap: 1rem;
} */

.portfolio-legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* .portfolio-legend-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
} */

.portfolio-legend-dot {
  display: inline-block;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 9999px;
}

.portfolio-legend-text {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #020617;
}

.portfolio-legend-percent {
  font-size: 14px;
  color: #94a3b8;
}

/* =========================
   Properties
========================= */

/* .properties-filter-card {
  border-radius: 28px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
} */

/* .properties-filter-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
} */

@media (min-width: 1280px) {
  .properties-filter-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.properties-filter-left {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
}

.properties-filter-left .hs-search-pill {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 900px) {
  .properties-filter-left {
    flex-direction: column;
    align-items: stretch;
  }

  .properties-filter-actions {
    flex-wrap: wrap;
  }
}

@media (min-width: 1024px) {
  .properties-filter-left {
    flex-direction: row;
    align-items: center;
  }
}

.properties-filter-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
}

.view-toggle {
  display: inline-flex;
  border-radius: 9999px;
  background: #f1f5f9;
  padding: 0.25rem;
}

.view-toggle-btn {
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

.view-toggle-btn.is-active {
  background: #ffffff;
  color: #020617;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.properties-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 1280px) {
  .properties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1536px) {
  .properties-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.property-card {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.property-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.property-media {
  position: relative;
}

.property-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.property-photo-fallback {
  display: grid;
  width: 100%;
  height: 220px;
  place-items: center;
  background: #f1f5f9;
  text-align: center;
}

.property-photo-emoji {
  font-size: 3rem;
}

.property-photo-label {
  margin-top: 0.75rem;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #94a3b8;
}

.property-media-gradient {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 6rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
}

.property-card-body {
  padding: 1.25rem;
}

.property-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #020617;
}

.property-pmc-pill {
  margin-top: 0.25rem;
  display: inline-flex;
  border-radius: 9999px;
  background: #f1f5f9;
  padding: 0.25rem 0.75rem;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.property-meta-row {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.5rem;
  row-gap: 0.25rem;
  font-size: 14px;
  color: #64748b;
}

.property-sync-line {
  margin-top: 1.25rem;
  font-size: 14px;
  color: #475569;
}

.property-sync-label {
  font-weight: 500;
  color: #334155;
}

.property-action-panel {
  margin-top: 1.25rem;
  border-radius: 1rem;
  background: #f8fafc;
  padding: 0.75rem;
}

.property-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

/* =========================
   Property list view
========================= */

.properties-list {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.properties-list-header {
  display: none;
  grid-template-columns: 132px minmax(0, 1.2fr) 190px 1fr;
  gap: 1rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 1rem 1.5rem;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94a3b8;
}

@media (min-width: 1024px) {
  .properties-list-header {
    display: grid;
  }
}

.property-list-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  border-bottom: 1px solid #f1f5f9;
  padding: 1.25rem;
}

.property-list-row:last-child {
  border-bottom: 0;
}

@media (min-width: 1024px) {
  .property-list-row {
    grid-template-columns: 132px minmax(0, 1.2fr) 190px 1fr;
    align-items: center;
    padding: 1.25rem 1.5rem;
  }
}

.property-list-thumb,
.property-list-fallback {
  width: 100%;
  height: 6rem;
  border-radius: 1rem;
}

@media (min-width: 1024px) {

  .property-list-thumb,
  .property-list-fallback {
    width: 112px;
  }
}

.property-list-thumb {
  object-fit: cover;
}

.property-list-fallback {
  display: grid;
  place-items: center;
  background: #f1f5f9;
  font-size: 26px;
}

.property-list-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #020617;
}

.property-list-meta {
  margin-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.5rem;
  row-gap: 0.25rem;
  font-size: 14px;
  color: #64748b;
}

.property-list-actions-shell {
  border-radius: 1rem;
  background: #f8fafc;
  padding: 0.75rem;
}

.property-list-actions-scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
}

/* =========================
   Property status
========================= */

.property-status-toggle {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.25rem;
  font-size: 12px;
  font-weight: 600;
}

.property-status-toggle.is-live {
  background: #dcfce7;
  color: #047857;
}

.property-status-toggle.is-offline {
  background: #ffe4e6;
  color: #be123c;
}

.property-status-segment {
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  color: #475569;
}

.property-status-segment.is-live {
  background: #059669;
  color: #ffffff;
}

.property-status-segment.is-offline {
  background: #e11d48;
  color: #ffffff;
}

.locked-pill {
  display: inline-flex;
  border-radius: 9999px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  padding: 0.375rem 0.75rem;
  font-size: 11px;
  font-weight: 600;
  color: #92400e;
}

/* =========================
   Guides + Upgrades
========================= */

/* .content-filter-card {
  border-radius: 28px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
} */

/* .content-filter-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
} */

/* .content-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
} */

.content-search-wrap {
  position: relative;
}

.content-search-icon {
  pointer-events: none;
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%);
  color: #94a3b8;
}

.content-search-input {
  height: 3rem;
  width: 100%;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 0 1rem 0 2.75rem;
  font-size: 15px;
  color: #020617;
  outline: none;
}

.content-search-input::placeholder {
  color: #94a3b8;
}

/* .content-inline-search {
  display: flex;
  height: 3rem;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 0 1rem;
} */

/* .content-inline-search input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: #020617;
  outline: none;
} */

.content-list-loading {
  font-size: 14px;
  color: #64748b;
}

.content-flash {
  margin-top: 1rem;
}

.locked-notice {
  border-radius: 0.75rem;
  border: 1px solid #fde68a;
  background: #fffbeb;
  padding: 0.75rem;
  font-size: 14px;
  color: #78350f;
}

/* =========================
   Slide-in editors
========================= */

.editor-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.editor-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(4px);
  transition: opacity 180ms ease;
}

.editor-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(920px, 100vw);
  background: #ffffff;
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  transition: transform 220ms ease;
}

.editor-panel-inner {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.editor-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}

.editor-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #020617;
}

.editor-title-lg {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #020617;
}

.editor-subtitle {
  margin-top: 0.25rem;
  font-size: 14px;
  color: #64748b;
}

/* .editor-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
} */

.editor-body {
  height: calc(100vh - 76px);
  overflow-y: auto;
  padding: 24px;
  background: #f8fafc;
}

.editor-body-card {
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #ffffff;
  padding: 24px;
}

.editor-overlay.is-open {
  pointer-events: auto;
}

.editor-overlay.is-open .editor-backdrop {
  opacity: 1;
}

.editor-overlay.is-open .editor-panel {
  transform: translateX(0);
}

/* =========================
   Messages + payouts
========================= */

.utility-card {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.utility-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.utility-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.utility-subtitle {
  margin-top: 0.25rem;
  font-size: 14px;
  color: #64748b;
}

.utility-actions,
.guest-header,
.hs-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.utility-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.utility-left {
  grid-column: span 12 / span 12;
}

.utility-right {
  grid-column: span 12 / span 12;
}

@media (min-width: 1280px) {
  .utility-left {
    grid-column: span 5 / span 5;
  }

  .utility-right {
    grid-column: span 7 / span 7;
  }
}

.message-filter-row {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.message-list {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.message-detail {
  min-height: 240px;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 1rem;
}

.message-pagination {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
}

.stat-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat-box {
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  padding: 0.75rem;
}

.stat-label {
  font-size: 12px;
  color: #64748b;
}

.stat-value {
  font-size: 14px;
  font-weight: 600;
  color: #020617;
}

.data-table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
}

.data-table {
  min-width: 100%;
  font-size: 14px;
}

.data-table thead tr {
  text-align: left;
  color: #64748b;
}

.data-table th {
  padding: 0.5rem 0.75rem 0.5rem 0;
  font-weight: 500;
}

.data-table tbody {
  color: #020617;
}

.utility-note {
  margin-top: 0.75rem;
  font-size: 12px;
  color: #64748b;
}

/* =========================
   Modals
========================= */

.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.5);
  padding: 1rem;
  backdrop-filter: blur(8px);
}

.preview-modal.is-open {
  display: flex;
}

.preview-panel {
  position: relative;
  display: flex;
  max-height: 92vh;
  width: 100%;
  max-width: 520px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  padding: 1.25rem 1.5rem;
}

.preview-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #94a3b8;
}

.preview-title {
  margin-top: 0.25rem;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #020617;
}

.preview-close {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #020617;
  color: #ffffff;
}

/* =========================
   Billing banner
========================= */

.billing-banner {
  margin-bottom: 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(252, 211, 77, 0.7);
  background: #fffbeb;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

/* .billing-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
} */

@media (min-width: 1024px) {
  .billing-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.billing-banner-copy {
  min-width: 0;
  max-width: 56rem;
}

.billing-banner-title {
  font-size: 18px;
  font-weight: 700;
  color: #451a03;
}

.billing-banner-body {
  margin-top: 0.5rem;
  font-size: 16px;
  line-height: 1.75rem;
  color: rgba(120, 53, 15, 0.85);
}

.billing-banner-actions {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .billing-banner-actions {
    flex-direction: row;
    align-items: center;
  }
}

.billing-primary {
  display: inline-flex;
  min-width: 220px;
  height: 3rem;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 1rem;
  background: #f59e0b;
  padding: 0 1.5rem;
  font-size: 15px;
  font-weight: 700;
  color: #020617;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.billing-primary:hover {
  background: #fbbf24;
}

.billing-secondary {
  display: inline-flex;
  min-width: 140px;
  height: 3rem;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 1rem;
  border: 1px solid #fcd34d;
  background: #ffffff;
  padding: 0 1.5rem;
  font-size: 15px;
  font-weight: 700;
  color: #451a03;
}

.billing-secondary:hover {
  background: #fef3c7;
}


/* .sidebar-user-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
} */


/* =========================
   Analytics
========================= */

.analytics-shell {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid #dde4ef;
  background: #ffffff;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}

.analytics-top-pill-wrap {
  display: inline-flex;
  border-radius: 9999px;
  border: 1px solid #d8e0ec;
  background: #ffffff;
  padding: 0.25rem;
}

.analytics-range-btn,
.analytics-mode-btn {
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 150ms ease;
}

.analytics-range-btn {
  color: #7c8ca5;
}

.analytics-range-btn.is-active {
  background: #18284a;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.analytics-mode-btn {
  color: #6e7e97;
}

.analytics-mode-btn.is-active {
  background: #5b4cf0;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(91, 76, 240, 0.25);
}

.analytics-soft-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 0.5rem 1rem;
  font-size: 11px;
  font-weight: 500;
  color: #7a889d;
}

.analytics-chart-frame {
  border-radius: 26px;
  border: 1px solid #dde4ef;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.96) 100%);
  padding: 1rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 1px 2px rgba(15, 23, 42, 0.03);
}

.analytics-lower-card,
.analytics-drill-card {
  border-radius: 22px;
  border: 1px solid #dde4ef;
  background: #ffffff;
  padding: 1.25rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.analytics-open-day-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid #d7ddf0;
  background: #ffffff;
  padding: 0.5rem 1rem;
  font-size: 14px;
  font-weight: 600;
  color: #4f46e5;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: all 150ms ease;
}

.analytics-open-day-btn:hover {
  background: #f6f7ff;
}

/* =========================
   Legacy shared buttons
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  user-select: none;
  height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.btn:focus {
  outline: none;
  box-shadow:
    0 0 0 2px #cbd5e1,
    0 0 0 4px #ffffff;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: #0f172a;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1e293b;
}

.btn-secondary {
  border-color: #e2e8f0;
  background: #ffffff;
  color: #1e293b;
}

/* .btn-secondary:hover {
  background: #f8fafc;
} */

.btn-indigo {
  background: #4f46e5;
  color: #ffffff;
}

.btn-indigo:hover {
  background: #4338ca;
}

.icon-btn {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
}

/* .icon-btn:hover {
  background: #f8fafc;
} */

.batch-btn {
  height: 2.25rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0 0.75rem;
  font-size: 14px;
  font-weight: 600;
}

.batch-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.batch-btn-danger {
  height: 2.25rem;
  border-radius: 0.75rem;
  background: #e11d48;
  padding: 0 0.75rem;
  font-size: 14px;
  font-weight: 600;
}

.batch-btn-danger:hover {
  background: #f43f5e;
}

.status-select {
  height: 2.25rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 0 0.75rem;
  font-size: 14px;
}


/* =========================
   Tasks
========================= */

.tasks-tab {
  border-bottom: 2px solid transparent;
  padding: 0 0.25rem 0.75rem;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

.tasks-tab.is-active {
  border-bottom-color: #0f172a;
  color: #0f172a;
}


/* =========================
   Sidebar / nav
========================= */

.admin-sidebar {
  transition: width 220ms ease;
}

.nav-section-label {
  padding: 0 1.5rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #94a3b8;
}

.nav-group {
  padding: 0 1rem;
}

.nav-group>*+* {
  margin-top: 0.375rem;
}

.nav-item {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  padding: 0.375rem 1rem;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: #475569;
  transition: all 200ms ease;
}

.nav-item:hover {
  background: rgba(241, 245, 249, 0.8);
  color: #0f172a;
}

.nav-item.active {
  background: #eef2ff;
  color: #356cf6;
}

.nav-icon-wrap {
  display: flex;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  color: #64748b;
  transition: all 200ms ease;
}

.nav-item:hover .nav-icon-wrap {
  color: #334155;
}

.nav-item.active .nav-icon-wrap {
  border-radius: 0.75rem;
  background: #ffffff;
  color: #356cf6;
  box-shadow: inset 0 0 0 1px #d7e3ff;
}

.nav-badge {
  display: inline-flex;
  min-width: 24px;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #356cf6;
  padding: 0 0.5rem;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
}

.nav-item-logout {
  color: #334155;
}

.nav-item-logout .nav-icon-wrap {
  color: #64748b;
}

.nav-item-logout:hover {
  background: rgba(241, 245, 249, 0.8);
  color: #0f172a;
}

.sidebar-footer-card {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.75rem;
  transition: all 200ms ease;
}

.sidebar-footer-card:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}


.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.25rem;
}

.sidebar-brand-mark {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #356cf6;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.sidebar-brand-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #020617;
}

.sidebar-logo-toggle {
  cursor: pointer;
}

.sidebar-logo-full,
.sidebar-logo-mark {
  transition: opacity 180ms ease, transform 180ms ease;
}

/* =========================
   Collapsed sidebar
========================= */



body.sidebar-collapsed .sidebar-collapse-label,
body.sidebar-collapsed .nav-section-label,
body.sidebar-collapsed .nav-item .truncate,
body.sidebar-collapsed .nav-item span:not(.nav-icon-wrap):not(.nav-badge),
body.sidebar-collapsed .sidebar-footer-card,
body.sidebar-collapsed .nav-item-logout span:not(.nav-icon-wrap),
body.sidebar-collapsed .mt-3.flex.items-center.justify-center {
  display: none !important;
}



/* =========================
   Admin chat message rendering
========================= */

.js-admin-chat-message {
  padding: 0.95rem;
  line-height: 1.45;
}

.js-admin-chat-message p {
  margin: 0 0 0.85rem;
}

.js-admin-chat-message p:last-child {
  margin-bottom: 0;
}

.js-admin-chat-message ol,
.js-admin-chat-message ul {
  margin: 0.65rem 0 0.9rem;
  padding-left: 1.25rem;
}

.js-admin-chat-message li {
  margin-bottom: 0.45rem;
}

.js-admin-chat-message li:last-child {
  margin-bottom: 0;
}

.js-admin-chat-message strong {
  font-weight: 700;
}

.js-admin-chat-message hr {
  margin: 0.9rem 0;
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}


.guide-content {
  color: #111827;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
}

.guide-content>*:first-child {
  margin-top: 0;
}

.guide-content>*:last-child {
  margin-bottom: 0;
}

.guide-content p {
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  color: #374151;
}

.guide-content h1,
.guide-content h2,
.guide-content h3,
.guide-content h4 {
  color: #0f172a;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.guide-content h1 {
  margin: 2.25rem 0 0.85rem;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.guide-content h2 {
  margin: 2rem 0 1rem;
  font-size: 24px;
  line-height: 1.2;
}

.guide-content h3 {
  margin: 1.75rem 0 0.65rem;
  font-size: 20px;
  line-height: 1.25;
}

.guide-content h4 {
  margin: 1.5rem 0 0.5rem;
  font-size: 17px;
  line-height: 1.3;
}

.guide-content strong,
.guide-content b {
  font-weight: 700;
  color: #111827;
}

.guide-content em {
  font-style: italic;
}

.guide-content ul,
.guide-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
  color: #374151;
}

.guide-content ul {
  list-style-type: disc;
}

.guide-content ol {
  list-style-type: decimal;
}

.guide-content li {
  margin-bottom: 0.45rem;
  line-height: 1.6;
}

.guide-content li::marker {
  color: #111827;
  font-weight: 600;
}

.guide-content a {
  color: #0f172a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.guide-content a:hover {
  color: #2563eb;
}

.guide-content blockquote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 4px solid #cbd5e1;
  color: #475569;
  font-size: 18px;
  line-height: 1.6;
  font-style: italic;
}

.guide-content hr {
  border: 0;
  height: 1px;
  background: #e5e7eb;
  margin: 2rem 0;
}

.guide-content img {
  display: block;
  width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 24px;
}

.guide-content code {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  padding: 0.15rem 0.35rem;
  border-radius: 0.4rem;
  font-size: 0.9em;
}

.guide-content pre {
  margin: 1.5rem 0;
  padding: 1rem;
  overflow-x: auto;
  border-radius: 1rem;
  background: #0b1120;
  color: #e5e7eb;
  font-size: 0.9rem;
  line-height: 1.5;
}

.guide-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
}



html,
body,
button,
input,
select,
textarea {
  font-family: "TT Interphases Pro", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.hero-copy {
  margin-top: 1.1rem;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.3;
}

.hero-title {
  margin-top: 1.25rem;
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: rgba(255, 255, 255);
  font-family: "PP Mori", "TT Interphases Pro", system-ui, sans-serif;
}

.hero-eyebrow {
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.1);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.85);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 80%;
}

.open-pill {
  display: inline-flex;
  border-radius: 9999px;
  background-color: #f8fafc;
  padding: 0.25rem 0.75rem;
  font-size: 12px;
  font-weight: 400;
  color: #94a3b8;
}

.group:hover .open-pill {
  background-color: #dbeafe;
  color: #356CF6;
}

.chat-row {
  --row-hover-bg: #f8fafc;
  --row-hover-bar: #356CF6;

  cursor: pointer;
  border-top: 1px solid rgba(241, 245, 249, 0.8);
  transition: all 150ms ease;
}

.chat-row:hover>td {
  background: var(--row-hover-bg) !important;
}

.chat-row:hover>td:first-child {
  box-shadow: inset 4px 0 0 var(--row-hover-bar);
}


.new-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  background-color: #2563eb;
  padding: 0.375rem 0.75rem;
  font-size: 12px;
  font-weight: 500;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    inset 0 0 0 1px var(--tw-ring-color);
  color: #ffffff;
}

.new-pill-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background-color: #ffffff;
}


.activity-cell {
  width: 140px;
  padding: 0.875rem 1rem;
  vertical-align: top;
  white-space: nowrap;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-duration: 150ms;
}

.group:hover .activity-cell {
  background-color: inherit;
}

.activity-cell-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.activity-date {
  color: #94a3b8;
}



.group:hover .guest-cell {
  background-color: inherit;
}


.group:hover .message-cell {
  background-color: inherit;
}

.property-name {
  margin-top: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
}

.guest-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: #020617;
}

/* .guest-info {
  min-width: 0;
} */

/* .guest-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
} */

.guest-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.message-content {
  min-width: 0;
  padding-right: 1rem;
}

.last-snippet,
.hs-snippet {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 12px;
  line-height: 1.25rem;
  color: #94a3b8;
}

.signal-badges {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.signal-detail {
  margin-top: 0.5rem;
  font-size: 13px;
  line-height: 1.25rem;
  color: #475569;
}

.group-badge {
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1rem;
  font-size: 12px;
  font-weight: 400;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.group-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border-width: 1px;
  padding: 0.25rem 0.75rem;
  font-size: 12px;
  font-weight: 400;
}

.group-label {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #020617;
}

.group-dot-wrap {
  margin-top: 0.25rem;
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background-color: #f8fafc;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.group-dot {
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 9999px;
}

.hs-row {
  cursor: pointer;
  border-top: 1px solid rgba(241, 245, 249, 0.8);
  transition: all 150ms ease;
}

.hs-row:hover>td {
  background: #f8fafc !important;
}

.hs-cell {
  padding: 0.875rem 1rem;
  vertical-align: top;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.hs-cell-guest {
  width: 250px;
}

.hs-cell-message {
  width: 460px;
  font-size: 0.75rem;
  line-height: 1rem;
}

.hs-cell-action {
  width: 140px;
  white-space: nowrap;
}

.hs-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

/* .hs-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
} */

.hs-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* .hs-min {
  min-width: 0;
} */

/* Text */
.hs-title-sm {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: #020617;
}

.hs-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
}

/* .hs-snippet {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 12px;
  line-height: 1.25rem;
  color: #94a3b8;
} */

/* Pills */
.hs-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  font-size: 12px;
  font-weight: 500;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    inset 0 0 0 1px var(--tw-ring-color, transparent);
}

.hs-pill-sm {
  padding: 0.25rem 0.625rem;
  font-size: 12px;
}

.hs-pill-new {
  background-color: #2563eb;
  color: #ffffff;
}

.hs-pill-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background-color: currentColor;
}

/* Open pill */


/* Color themes */
.hs-blue {
  background-color: #eff6ff;
  color: #1d4ed8;
  --tw-ring-color: #bfdbfe;
}

.hs-emerald {
  background-color: #ecfdf5;
  color: #047857;
  --tw-ring-color: #a7f3d0;
}

.hs-rose {
  background-color: #fff1f2;
  color: #be123c;
  --tw-ring-color: #fecdd3;
}

.hs-amber {
  background-color: #fffbeb;
  color: #b45309;
  --tw-ring-color: #fde68a;
}

.hs-violet {
  background-color: #f5f3ff;
  color: #6d28d9;
  --tw-ring-color: #ddd6fe;
}

.hs-slate {
  background-color: #f8fafc;
  color: #475569;
  --tw-ring-color: #e2e8f0;
}

.pill-blue {
  background-color: #eff6ff;
  color: #1d4ed8;
  --pill-ring-color: #bfdbfe;
}

.pill-emerald {
  background-color: #ecfdf5;
  color: #047857;
  --pill-ring-color: #a7f3d0;
}

.pill-rose {
  background-color: #fff1f2;
  color: #be123c;
  --pill-ring-color: #fecdd3;
}

.pill-amber {
  background-color: #fffbeb;
  color: #b45309;
  --pill-ring-color: #fde68a;
}

.pill-violet {
  background-color: #f5f3ff;
  color: #6d28d9;
  --pill-ring-color: #ddd6fe;
}

.pill-slate {
  background-color: #f8fafc;
  color: #475569;
  --pill-ring-color: #e2e8f0;
}

.stay-pill,
.source-pill,
.signal-pill,
.mood-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  font-size: 12px;
  font-weight: 500;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    inset 0 0 0 1px var(--pill-ring-color, transparent);
}



.js-admin-chat-message p {
  margin: 0 0 0.85rem;
}

.js-admin-chat-message p:last-child {
  margin-bottom: 0;
}


.js-admin-chat-message ol,
.js-admin-chat-message ul {
  margin: 0.65rem 0 0.9rem;
  padding-left: 1.25rem;
}

.js-admin-chat-message li {
  margin-bottom: 0.45rem;
}

.js-admin-chat-message li:last-child {
  margin-bottom: 0;
}

.js-admin-chat-message strong {
  font-weight: 700;
}

.js-admin-chat-message hr {
  margin: 0.9rem 0;
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}



.hairline {
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.04);
}


header {
  backdrop-filter: blur(12px);
}

.insight-card {
  background: white;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.insight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}


body.sidebar-collapsed .sidebar-brand {
  padding-left: 1rem;
  padding-right: 1rem;
  justify-content: center;
}

body.sidebar-collapsed .sidebar-brand-link {
  flex: 0 0 auto;
}

body.sidebar-collapsed .sidebar-collapse-label,
body.sidebar-collapsed .nav-section-label,
body.sidebar-collapsed .nav-item .truncate,
body.sidebar-collapsed .nav-item span:not(.nav-icon-wrap):not(.nav-badge),
body.sidebar-collapsed .sidebar-footer-card,
body.sidebar-collapsed .nav-item-logout span:not(.nav-icon-wrap),
body.sidebar-collapsed .mt-3.flex.items-center.justify-center {
  display: none !important;
}

body.sidebar-collapsed .nav-group {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

body.sidebar-collapsed .nav-item {
  justify-content: center;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

body.sidebar-collapsed .nav-icon-wrap {
  margin-left: auto;
  margin-right: auto;
}

body.sidebar-collapsed .nav-badge {
  position: absolute;
  right: 0.45rem;
  top: 0.35rem;
  height: 1.1rem;
  min-width: 1.1rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  font-size: 0.62rem;
}

body.sidebar-collapsed #sidebar-collapse-toggle {
  margin-left: 0;
}

body.sidebar-collapsed #sidebar-collapse-icon {
  transform: rotate(180deg);
}


.sidebar-logo-toggle {
  cursor: pointer;
}

.sidebar-logo-full,
.sidebar-logo-mark {
  transition: opacity 180ms ease, transform 180ms ease;
}



body.sidebar-collapsed .sidebar-brand {
  padding-left: 1rem;
  padding-right: 1rem;
  justify-content: center;
}

/* =========================
   Chat loading skeleton
========================= */

.chat-loading-row td {
  padding: 0;
}

.chat-loading-shell {
  padding: 18px 16px 22px;
}

.chat-loading-line {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f7;
}

.chat-loading-line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.75),
      transparent);
  animation: chat-loading-shimmer 1.25s infinite;
}

.chat-loading-card {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 140px;
  gap: 36px;
  align-items: center;
  padding: 14px 0;
}

.chat-loading-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.chat-loading-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.75),
      transparent);
  animation: chat-loading-shimmer 1.25s infinite;
}

.chat-loading-guest {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-loading-stack {
  display: grid;
  gap: 8px;
}

.chat-loading-title {
  height: 12px;
  width: 120px;
}

.chat-loading-subtitle {
  height: 10px;
  width: 170px;
}

.chat-loading-read-1 {
  height: 12px;
  width: 88%;
}

.chat-loading-read-2 {
  height: 10px;
  width: 64%;
}

.chat-loading-time {
  height: 12px;
  width: 70px;
}

@keyframes chat-loading-shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 900px) {
  .chat-loading-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .chat-loading-time {
    display: none;
  }
}



.admin-sidebar {
  transition: width 220ms ease;
}

body.sidebar-collapsed .admin-sidebar {
  width: 5.25rem !important;
}

body.sidebar-collapsed .sidebar-brand {
  padding-left: 1rem;
  padding-right: 1rem;
  justify-content: center;
}

body.sidebar-collapsed .sidebar-brand-link {
  flex: 0 0 auto;
}

body.sidebar-collapsed .sidebar-collapse-label,
body.sidebar-collapsed .nav-section-label,
body.sidebar-collapsed .nav-item .truncate,
body.sidebar-collapsed .nav-item span:not(.nav-icon-wrap):not(.nav-badge),
body.sidebar-collapsed .sidebar-footer-card,
body.sidebar-collapsed .nav-item-logout span:not(.nav-icon-wrap),
body.sidebar-collapsed .mt-3.flex.items-center.justify-center {
  display: none !important;
}

body.sidebar-collapsed .nav-group {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

body.sidebar-collapsed .nav-item {
  justify-content: center;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

body.sidebar-collapsed .nav-icon-wrap {
  margin-left: auto;
  margin-right: auto;
}

body.sidebar-collapsed .nav-badge {
  position: absolute;
  right: 0.45rem;
  top: 0.35rem;
  height: 1.1rem;
  min-width: 1.1rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  font-size: 0.62rem;
}

body.sidebar-collapsed #sidebar-collapse-toggle {
  margin-left: 0;
}

body.sidebar-collapsed #sidebar-collapse-icon {
  transform: rotate(180deg);
}


.sidebar-logo-toggle {
  cursor: pointer;
}

.sidebar-logo-full,
.sidebar-logo-mark {
  transition: opacity 180ms ease, transform 180ms ease;
}

body.sidebar-collapsed .sidebar-logo-full {
  display: none !important;
}

body.sidebar-collapsed .sidebar-logo-mark {
  display: block !important;
}

body.sidebar-collapsed .sidebar-brand {
  padding-left: 1rem;
  padding-right: 1rem;
  justify-content: center;
}

.google-login-btn {
  min-height: 64px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 24px;
  border: 1px solid #356CF6;
  background: #356CF6;
  padding: 0 24px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(53, 108, 246, 0.24);
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.google-login-btn:hover {
  transform: translateY(-2px);
  background: #2457D9;
  box-shadow: 0 20px 40px rgba(53, 108, 246, 0.3);
}

.google-login-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 9999px;
  background: #ffffff;
}

.google-login-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Chat area cards: align internal content consistently */
[data-chat-area-card] {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

/* Icon row */
[data-chat-area-card]>div:nth-of-type(1) {
  width: 100%;
  flex-shrink: 0;
}

/* Title row */
[data-chat-area-card]>div:nth-of-type(2) {
  min-height: 42px;
  display: flex;
  align-items: flex-start;
}

/* Count / pill row */
[data-chat-area-card]>div:nth-of-type(3) {
  min-height: 36px;
  display: flex;
  align-items: center;
}

/* Description row */
[data-chat-area-card]>div:nth-of-type(4) {
  min-height: 64px;
}

/* Footer signal row */
[data-chat-area-card]>div:nth-of-type(5) {
  margin-top: 0.75rem;
}

/* Optional activity line under first card */
[data-chat-area-card]>div:nth-of-type(6) {
  margin-top: 0.5rem;
}

/* Analytics property performance table */
#analytics-property-list .data-table th:first-child,
#analytics-property-list .data-table td:first-child {
  padding-left: 2.5rem !important;
}

#analytics-property-list .data-table th:first-child {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}