/**
 * Physio Clinical Pilates lost revenue calculator.
 * Reuses .prc-* field, panel, and card rules from pilates-revenue-calculator.css.
 * Phone rules there are tied to .pilates-revenue-calculator-container, so this
 * file repeats the page-level phone behaviour for this container.
 */

.physio-pilates-lost-revenue-container,
.physio-pilates-lost-revenue-container *,
.physio-pilates-lost-revenue-container *::before,
.physio-pilates-lost-revenue-container *::after {
  box-sizing: border-box;
}

.physio-pilates-lost-revenue-container {
  --prc-primary: var(--btn-primary, #1dbb99);
  --prc-primary-hover: var(--btn-primary-hover, #17a885);
  --prc-text: #0f172a;
  --prc-body: #334155;
  --prc-muted: #64748b;
  --prc-border: #e2e8f0;
  --prc-bg: #ffffff;
  --prc-tint: #f0fdfa;
  --prc-negative: #b91c1c;
  --prc-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);

  max-width: 100%;
  font-family: Ubuntu, Roboto, "Noto Sans", system-ui, sans-serif;
  color: var(--prc-text);
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.physio-pilates-lost-revenue-container .pplr-subhead {
  margin-top: 1.75rem;
}

.physio-pilates-lost-revenue-container .pplr-choice {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.physio-pilates-lost-revenue-container .pplr-choice legend {
  display: block;
  margin-bottom: 0.45rem;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--prc-text);
}

.physio-pilates-lost-revenue-container .pplr-choice-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 48px;
  margin: 0 0 0.5rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--prc-border);
  border-radius: 10px;
  background: #fff;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--prc-text);
  cursor: pointer;
}

.physio-pilates-lost-revenue-container .pplr-choice-option:last-child {
  margin-bottom: 0;
}

.physio-pilates-lost-revenue-container .pplr-choice-option input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--prc-primary);
}

.physio-pilates-lost-revenue-container .pplr-total-card {
  margin-bottom: 0.25rem;
  text-align: left;
}

.physio-pilates-lost-revenue-container .pplr-total-card .prc-hero-card-value {
  font-size: 2rem;
  overflow-wrap: anywhere;
}

.physio-pilates-lost-revenue-container .pplr-total-note,
.physio-pilates-lost-revenue-container .pplr-group-note,
.physio-pilates-lost-revenue-container .pplr-line-note,
.physio-pilates-lost-revenue-container .pplr-line-fix {
  margin: 0.4rem 0 0;
  color: var(--prc-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.physio-pilates-lost-revenue-container .pplr-group {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--prc-border);
}

.physio-pilates-lost-revenue-container .pplr-group-head,
.physio-pilates-lost-revenue-container .pplr-line-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.physio-pilates-lost-revenue-container .pplr-group-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.physio-pilates-lost-revenue-container .pplr-group-value,
.physio-pilates-lost-revenue-container .pplr-line-value {
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.physio-pilates-lost-revenue-container .pplr-group-value {
  font-size: 1.35rem;
}

.physio-pilates-lost-revenue-container .pplr-line {
  padding-top: 0.85rem;
  margin-top: 0.85rem;
  border-top: 1px solid var(--prc-border);
}

.physio-pilates-lost-revenue-container .pplr-line-label {
  font-weight: 600;
}

.physio-pilates-lost-revenue-container .prc-secondary-grid {
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .physio-pilates-lost-revenue-container .prc-secondary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.physio-pilates-lost-revenue-container .prc-disclaimer {
  margin: 1rem 0 0;
  color: var(--prc-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.physio-pilates-lost-revenue-container .pplr-proof {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(29, 187, 153, 0.24);
  border-radius: 10px;
  background: var(--prc-tint);
  color: var(--prc-body);
  font-size: 0.92rem;
  line-height: 1.5;
}

.physio-pilates-lost-revenue-container .pplr-proof a {
  font-weight: 600;
}

@media (max-width: 767px) {
  html:has(.physio-pilates-lost-revenue-container),
  body:has(.physio-pilates-lost-revenue-container) {
    overflow-x: hidden;
  }

  .cb-page:has(.physio-pilates-lost-revenue-container) .cb-wrap {
    padding-left: max(16px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(16px, env(safe-area-inset-right, 0px)) !important;
  }

  .cb-page:has(.physio-pilates-lost-revenue-container) .cb-hero {
    padding: 2rem 0 1.15rem;
  }

  .cb-page:has(.physio-pilates-lost-revenue-container)
    .cb-section--tint:has(.physio-pilates-lost-revenue-container) {
    padding-top: 1.25rem;
    padding-bottom: 2.25rem;
  }

  .cb-page:has(.physio-pilates-lost-revenue-container) .cb-cta .cb-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cb-page:has(.physio-pilates-lost-revenue-container) .cb-cta .btn {
    width: 100%;
  }

  .physio-pilates-lost-revenue-container .prc-fields {
    grid-template-columns: 1fr;
  }

  .physio-pilates-lost-revenue-container .prc-panel {
    padding: 1.1rem;
    margin-bottom: 1.15rem;
    border-radius: 12px;
  }

  .physio-pilates-lost-revenue-container .prc-panel-title {
    font-size: 1.15rem;
  }

  .physio-pilates-lost-revenue-container .pplr-total-card .prc-hero-card-value {
    font-size: 1.75rem;
  }

  .physio-pilates-lost-revenue-container .pplr-group-head,
  .physio-pilates-lost-revenue-container .pplr-line-top {
    flex-wrap: wrap;
  }

  .physio-pilates-lost-revenue-container .pplr-group-value {
    font-size: 1.2rem;
  }

  .physio-pilates-lost-revenue-container .prc-hero-grid,
  .physio-pilates-lost-revenue-container .prc-secondary-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

@media (max-width: 400px) {
  .physio-pilates-lost-revenue-container .pplr-total-card .prc-hero-card-value,
  .physio-pilates-lost-revenue-container .pplr-group-value,
  .physio-pilates-lost-revenue-container .pplr-line-value,
  .physio-pilates-lost-revenue-container .prc-secondary-value {
    overflow-wrap: anywhere;
  }
}
