/* Pain-point samples page; builds on portal.css tokens. */
.sample-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 28px; }
.sample-index a { display: flex; align-items: flex-start; gap: 10px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--panel); font-size: 13px; line-height: 1.4; text-decoration: none; }
.sample-index a:hover { border-color: var(--teal); background: var(--teal-pale); }
.sample-index-number { display: grid; flex: 0 0 auto; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: var(--teal); font-size: 11px; font-weight: 800; }

.sample-card { margin-bottom: 28px; scroll-margin-top: 18px; }
.sample-card .eyebrow { margin-bottom: 7px; }
.sample-answer { max-width: 860px; margin: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.45; letter-spacing: -.01em; }
.sample-replaces { max-width: 860px; margin: 13px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.sample-replaces strong { color: var(--ink-soft); }

.sample-figure { margin: 22px 0 18px; padding: 16px 16px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fcfcfb; }
.sample-figure figcaption { margin-bottom: 10px; color: var(--ink-soft); font-size: 11px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.sample-chart-svg { display: block; width: 100%; height: auto; overflow: visible; }
.sample-chart-svg .bar { fill: var(--teal); }
.sample-chart-svg .bar-negative { fill: var(--danger); }
.sample-chart-svg .axis-line { stroke: var(--line-strong); stroke-width: 1; }
.sample-chart-svg .grid-line { stroke: var(--line); stroke-width: 1; }
.sample-chart-svg .zero-line { stroke: var(--muted-light); stroke-width: 1; stroke-dasharray: 3 3; }
.sample-chart-svg .median-line { stroke: var(--ink-soft); stroke-width: 2; }
.sample-chart-svg .peer-dot { fill: var(--muted-light); fill-opacity: .55; stroke: #fcfcfb; stroke-width: 2; }
.sample-chart-svg .subject-dot { fill: var(--danger); stroke: #fcfcfb; stroke-width: 2; }
.sample-chart-svg .value-label { fill: var(--ink); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sample-chart-svg .axis-label { fill: var(--ink-soft); font-size: 11px; }
.sample-chart-svg .axis-note { fill: var(--muted); font-size: 10px; }
.sample-chart-svg .subject-label { fill: var(--ink); font-size: 12px; font-weight: 800; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 10px; padding: 0; color: var(--ink-soft); font-size: 11px; list-style: none; }
.chart-legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend-swatch { width: 11px; height: 11px; border-radius: 3px; }

.sample-table th { vertical-align: bottom; }
.sample-table th.numeric, .sample-table td.numeric { text-align: right; font-variant-numeric: tabular-nums; }
.column-source { display: block; margin-top: 3px; color: var(--muted-light); font-size: 9px; font-weight: 600; letter-spacing: 0; text-transform: none; white-space: normal; }
.definition-source { color: var(--muted); }
.sample-notes { margin: 0; padding-left: 16px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.sample-notes li + li { margin-top: 5px; }

.sample-sources h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 500; }
.sample-sources-lede { max-width: 820px; margin: 9px 0 16px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.sample-sources code.sha { color: var(--ink-soft); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; overflow-wrap: anywhere; }
.sample-sources a { color: var(--teal-dark); font-weight: 700; }

@media (max-width: 760px) {
  .sample-index { grid-template-columns: 1fr; }
  .sample-answer { font-size: 18px; }
}
