/* mockups.css: stylized product visuals (fictional data only). */

.mock {
  margin: 0;
  width: 100%;
  max-width: 560px;
}

.mock-window {
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  font-family: var(--font-body);
}

.mock-line .mock-window {
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
}

.mock-dots {
  display: inline-flex;
  gap: 6px;
}

.mock-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.mock-title {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.mock-chip {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blue-tint);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
}

.mock-chip-ok {
  background: #e9f6e7;
  color: #2b6b24;
}

.mock-body {
  padding: 22px;
}

.mock-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mock-kpi {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.mock-value {
  display: block;
  margin-top: 4px;
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.mock-savings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f1f9ef;
  border: 1px solid #d4ecd0;
}

.mock-savings .mock-label {
  color: var(--text-2);
}

/* Large bold green figure: --green-text passes AA as large text only. */
.mock-savings-value {
  font-family: var(--font-head);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--green-text);
}

.mock-bars {
  display: grid;
  gap: 10px;
}

.mock-bars > .mock-label {
  margin-bottom: 2px;
}

.mock-row {
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr) 3.2em;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
}

.mock-row-name {
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-row-val {
  font-weight: 700;
  text-align: right;
  color: var(--text);
}

/* Track scale: 0 to 250 percent of Medicare; the target marker sits at 160. */
.mock-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: var(--canvas);
}

.mock-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  background: var(--blue);
}

.mock-fill-240 {
  width: 96%;
  background: var(--orange);
}

.mock-fill-185 {
  width: 74%;
}

.mock-fill-150 {
  width: 60%;
  background: var(--green);
}

.mock-target {
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: 64%;
  width: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.mock-caption {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--on-dark-2);
  text-align: center;
}

.mock-line {
  max-width: 720px;
}

.mock-line .mock-caption {
  color: var(--muted);
}

.mock-line-head {
  margin-bottom: 16px;
}

.mock-line-service {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
}

.mock-line-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

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

.mock-line-grid > div {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.mock-line-grid dt {
  font-size: 0.75rem;
  color: var(--muted);
}

.mock-line-grid dd {
  margin: 2px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
}

.mock-medicare {
  color: var(--blue);
}

.mock-grade {
  display: inline-block;
  padding: 0 8px;
  border-radius: 6px;
  background: #e9f6e7;
  color: #2b6b24;
  font-size: 0.9375rem;
}

@media (max-width: 480px) {
  .mock-body {
    padding: 16px;
  }

  .mock-kpis {
    gap: 8px;
  }

  .mock-kpi {
    padding: 10px;
  }

  .mock-value {
    font-size: 1.125rem;
  }

  .mock-row {
    grid-template-columns: 7.5em minmax(0, 1fr) 3em;
  }
}
