/* BRIEF-31: three measured clinic cases in the shared section system. */
#results.v31-results {
  padding: var(--v6-section-space) 0;
  color: var(--v6-ink);
  background: var(--v6-surface);
}
#results .v31-heading {
  margin: 0 0 32px;
  text-align: center;
}
#results .v31-heading h2 {
  margin: 0;
  color: var(--v6-ink);
  font-size: var(--v6-title-size);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.045em;
}
#results .v31-heading > p {
  margin: 12px 0 0;
  color: var(--v6-blue);
  font-size: 16px;
  line-height: 1.5;
}
#results .v31-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}
#results .v31-result {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: var(--v6-card-padding);
  border: 1px solid var(--v6-border);
  border-radius: var(--v6-radius);
  background: var(--v6-card);
}
#results .v31-result-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  margin: 0;
  padding: 8px 12px;
  border-radius: var(--v6-preview-radius);
  background: var(--v6-preview);
}
#results .v31-result-preview svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
#results .v31-result-preview text {
  fill: var(--v6-muted);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
}
#results .v31-chart-grid { fill: none; stroke: #dce5f7; stroke-width: 1; }
#results .v31-chart-area { fill: #dbe6ff; }
#results :is(.v31-chart-line, .v31-chart-rank) { fill: none; stroke: var(--v6-blue); stroke-width: 3; stroke-linecap: round; }
#results :is(.v31-chart-dot, .v31-chart-bar-after) { fill: var(--v6-blue); }
#results :is(.v31-chart-dot-before, .v31-chart-bar-before) { fill: #a9bde9; }
#results .v31-result-preview .v31-chart-value { fill: var(--v6-blue); font-weight: 700; font-size: 18px; }
#results .v31-result-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; margin-top: 16px; }
#results .v31-result-copy h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.035em;
  word-break: keep-all;
}
#results .v31-result-copy h3 span {
  display: inline-block;
  color: var(--v6-muted);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -.025em;
}
#results .v31-result-metric {
  min-height: 22px;
  margin: 8px 0 0;
  color: var(--v6-muted);
  font-size: 16px;
  line-height: 1.4;
  word-break: keep-all;
}
#results .v31-result-comparison {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 7px;
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.045em;
}
#results .v31-result-before,
#results .v31-result-after { white-space: nowrap; }
#results .v31-result-before { color: var(--v6-muted); font-size: 17px; font-weight: 400; }
#results .v31-result-arrow { color: var(--v6-muted); font-size: 17px; font-weight: 400; }
#results .v31-result-after { color: var(--v6-ink); font-weight: 700; }
#results .v31-result-change {
  margin: 6px 0 0;
  color: var(--v6-blue);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
#results .v31-result-source {
  min-height: 36px;
  margin: auto 0 0;
  padding-top: 14px;
  color: var(--v6-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  word-break: keep-all;
}
#results .v31-results-footer { margin-top: 16px; text-align: center; }
#results .v31-results-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--v6-ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
#results .v31-results-link span { transition: transform .2s ease; }
#results .v31-results-link:hover { color: var(--v6-blue); }
#results .v31-results-link:hover span { transform: translate(2px, -2px); }
#results .v31-results-link:focus-visible { outline: 2px solid var(--v6-blue); outline-offset: 4px; }
@media (min-width: 768px) and (max-width: 1000px) {
  #results .v31-results-grid { gap: 16px; }
  #results .v31-result-preview { padding: 6px; height: 120px; }
  #results .v31-result-copy h3 span { display: block; margin-top: 4px; }
  #results .v31-result-metric { min-height: 68px; }
  #results .v31-result-comparison { font-size: 20px; }
}
@media (max-width: 767px) {
  #results .v31-results-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  #results .v31-result-preview { height: 164px; }
  #results .v31-result-metric { min-height: 0; }
  #results .v31-result-source { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #results .v31-results-link span { transition: none; }
}
