/* Public casebook: buyer decisions first, exact recorded outcomes on demand. */
.tests-article { max-width:76rem; }
.tests-hero { padding:clamp(3rem,7vw,6rem) 0 3rem; max-width:64rem; }
.tests-breadcrumb { display:flex; flex-wrap:wrap; gap:.5rem; font-size:.875rem; color:var(--ink-muted); margin-bottom:2.5rem; }
.tests-hero h1 { max-width:15ch; font-size:clamp(2.5rem,5vw,4.75rem); line-height:1.04; letter-spacing:-.045em; margin:1rem 0 1.5rem; text-wrap:balance; }
.tests-lead { font-size:clamp(1.125rem,1.6vw,1.375rem); line-height:1.55; max-width:48rem; color:var(--ink-muted); }
.tests-actions { display:flex; flex-wrap:wrap; gap:.75rem; margin:1.75rem 0 1rem; }
.tests-actions .button { white-space:normal; text-align:center; }
.tests-format { font-size:.8125rem; font-weight:400; }
.tests-scope { margin-top:1.75rem; font-weight:600; font-size:.9375rem; }
.tests-meta,.tests-byline,.tests-caption { color:var(--ink-muted); font-size:.875rem; line-height:1.65; }
.tests-byline { margin-top:1.5rem; }
.tests-byline span { margin:0 .4rem; }
.tests-section { border-top:1px solid var(--rule-soft); padding:clamp(2.5rem,5vw,4.5rem) 0; scroll-margin-top:6rem; }
.tests-section-heading { max-width:50rem; margin-bottom:2rem; }
.tests-section h2 { font-size:clamp(1.875rem,3.1vw,2.75rem); line-height:1.12; letter-spacing:-.035em; margin:.75rem 0 1rem; }
.tests-section-heading>p:not(.eyebrow) { color:var(--ink-muted); font-size:1.0625rem; line-height:1.65; }
.test-feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; }
.test-feature { border-top:3px solid var(--institutional); padding:1.5rem; background:var(--surface); display:flex; flex-direction:column; min-width:0; }
.test-feature-id { font-size:.8125rem; color:var(--ink-muted); margin-bottom:1rem; }
.test-feature h3 { font-size:1.65rem; line-height:1.2; letter-spacing:-.025em; min-height:3.6em; }
.test-payment-record { margin:1rem 0 1.5rem; }
.test-payment-record>div { border-bottom:1px solid var(--rule-soft); padding:.75rem 0; }
.test-payment-record dt,.test-feature-decision>span { font-size:.875rem; color:var(--ink-muted); }
.test-payment-record dd { margin:.25rem 0 0; font-size:1rem; font-weight:550; }
.test-feature-decision { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem; padding-bottom:1rem; }
.test-action,.test-result { display:inline-flex; justify-content:center; align-items:center; font-size:.8125rem; font-weight:650; letter-spacing:.02em; line-height:1.3; padding:.35rem .5rem; border:1px solid; border-radius:.25rem; white-space:nowrap; }
.test-action--hold { background:var(--hold-bg); color:var(--hold-ink); border-color:var(--hold-border); }
.test-action--accept,.test-result--pass { background:var(--accept-bg); color:var(--accept-ink); border-color:var(--accept-border); }
.test-result--fail { background:var(--refuse-bg); color:var(--refuse-ink); border-color:var(--refuse-border); }
.test-result--inconclusive { background:var(--evidence-bg); color:var(--evidence-ink); border-color:var(--evidence-border); }
.test-feature>p:not(.test-feature-id) { font-size:1rem; line-height:1.6; color:var(--ink-muted); }
.test-feature>a { display:inline-flex; align-items:center; gap:.5rem; align-self:flex-start; min-height:44px; margin-top:auto; font-weight:600; }
.tests-caption { margin-top:1.5rem; max-width:60rem; }
.test-meaning-grid,.test-method-grid { display:grid; grid-template-columns:1fr 1fr; gap:3rem; }
.test-meaning-grid h3,.test-method-grid h3 { font-size:1.25rem; margin-bottom:1rem; }
.test-definitions>div { display:grid; grid-template-columns:8.5rem 1fr; gap:1rem; padding:.75rem 0; border-top:1px solid var(--rule-soft); }
.test-definitions dt { font-size:.875rem; font-weight:650; }
.test-definitions dd { margin:0; color:var(--ink-muted); line-height:1.6; }
.tests-note { border-left:3px solid var(--institutional); padding:.25rem 0 .25rem 1.25rem; margin:2rem 0 0; max-width:59rem; color:var(--ink-muted); line-height:1.65; }
.test-case { border-bottom:1px solid var(--rule-soft); scroll-margin-top:6rem; }
.test-case:first-child { border-top:1px solid var(--rule-soft); }
.test-case summary { list-style:none; display:grid; grid-template-columns:3.5rem 1fr 1.5rem; gap:1rem; align-items:center; cursor:pointer; min-height:74px; padding:1rem .75rem; }
.test-case summary::-webkit-details-marker { display:none; }
.test-case summary::marker { content:""; }
.test-case summary:hover { background:var(--surface-quiet); }
.test-case-id { font-family:var(--font-mono); font-size:.875rem; color:var(--ink-muted); }
.test-case-title { font-size:1.125rem; font-weight:550; }
.test-case-open { text-align:center; font-size:1.5rem; color:var(--ink-muted); }
.test-case[open] .test-case-open { transform:rotate(45deg); }
.test-case[open] { background:var(--surface); }
.test-case:target { outline:2px solid var(--institutional); outline-offset:3px; }
.test-case-body { padding:.5rem 1.5rem 2rem 5.25rem; }
.test-recommendation { display:flex; flex-wrap:wrap; align-items:baseline; gap:.5rem 1.25rem; padding-bottom:1.25rem; border-bottom:1px solid var(--rule-soft); }
.test-recommendation span { color:var(--ink-muted); font-size:.875rem; }
.test-recommendation strong { font-size:1.2rem; }
.test-case-fields { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem 2rem; margin:1.5rem 0 2rem; }
.test-case-fields dt { font-weight:600; margin-bottom:.4rem; }
.test-case-fields dd { margin:0; color:var(--ink-muted); line-height:1.65; }
.test-case-body h3 { font-size:1rem; }
.test-outcomes { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; margin:1rem 0; }
.test-outcomes dt { font-size:.875rem; color:var(--ink-muted); min-height:3em; }
.test-outcomes dd { margin:.5rem 0 0; }
.test-case-note { font-size:.875rem; color:var(--ink-muted); margin-top:1.5rem; }
.test-permalink { display:inline-flex; align-items:center; min-height:44px; font-size:.875rem; }
.test-method-disclosure { border:1px solid var(--rule-soft); border-radius:.5rem; margin:1.5rem 0; }
.test-method-disclosure>summary { padding:1.25rem 1.5rem; cursor:pointer; font-weight:600; line-height:1.5; }
.test-models { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem 2rem; padding:0 1.5rem 1.5rem; }
.test-models dt { font-weight:600; margin-bottom:.4rem; }
.test-models dd { margin:0; color:var(--ink-muted); line-height:1.6; }
.test-matrix { width:100%; border-collapse:collapse; font-size:.9375rem; margin-top:2rem; }
.test-matrix caption { text-align:left; color:var(--ink-muted); font-size:.875rem; line-height:1.6; padding-bottom:1rem; max-width:54rem; }
.test-matrix th,.test-matrix td { text-align:left; padding:1rem .625rem; border-bottom:1px solid var(--rule-soft); vertical-align:middle; }
.test-matrix thead th { background:var(--surface-quiet); font-size:.875rem; font-weight:600; }
.test-matrix tbody th { width:34%; font-weight:500; }
.test-matrix tbody th>a { display:block; color:var(--ink); text-decoration:none; }
.test-matrix tbody th>a:hover { color:var(--link); text-decoration:underline; }
.test-matrix th a>span { display:block; margin-top:.25rem; }
.test-mobile-label { display:none; }
.tests-data-links { display:flex; flex-wrap:wrap; gap:1rem 2rem; margin-top:1.5rem; }
.tests-data-links a { min-height:44px; display:inline-flex; align-items:center; gap:.6rem; }
.tests-data-links span { color:var(--ink-muted); font-family:var(--font-mono); font-size:.8125rem; }
.test-method-grid p { color:var(--ink-muted); line-height:1.7; }
.test-method-content { padding:0 1.5rem 1.5rem; max-width:60rem; }
.test-method-content p { line-height:1.7; }
.test-source-record { border-block:1px solid var(--rule-soft); margin:1.5rem 0; padding:1rem 0; }
.test-source-record>div { margin:.75rem 0; }
.test-source-record dt { font-size:.875rem; color:var(--ink-muted); }
.test-source-record dd { margin:.25rem 0 0; overflow-wrap:anywhere; }
.test-source-record .mono { font-size:.8125rem; }
.tests-next>p:not(.eyebrow) { max-width:48rem; line-height:1.65; color:var(--ink-muted); }
.test-review-prompts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; list-style:none; padding:0; margin:2rem 0; counter-reset:prompts; }
.test-review-prompts li { border-top:1px solid var(--rule-strong); padding-top:1rem; counter-increment:prompts; }
.test-review-prompts li::before { content:"0" counter(prompts); font-family:var(--font-mono); color:var(--ink-muted); font-size:.875rem; display:block; margin-bottom:1rem; }
.test-review-prompts strong,.test-review-prompts span { display:block; }
.test-review-prompts span { color:var(--ink-muted); line-height:1.6; margin-top:.5rem; }
@media(max-width:67rem) { .test-matrix th,.test-matrix td { padding:.875rem .375rem; } .test-matrix .test-result { font-size:.8125rem; padding:.3rem .35rem; } .test-feature { padding:1.25rem; } }
@media(max-width:52rem) { .test-feature-grid { grid-template-columns:1fr; } .test-feature h3 { min-height:0; } .test-feature { padding:1.5rem; } .test-meaning-grid,.test-method-grid { grid-template-columns:1fr; gap:2rem; } .test-outcomes { grid-template-columns:1fr 1fr; } .test-review-prompts { grid-template-columns:1fr; gap:1.25rem; } .test-review-prompts li::before { margin-bottom:.5rem; } }
@media(max-width:47.99rem) {
  .tests-hero { padding-top:2rem; } .tests-breadcrumb { margin-bottom:1.75rem; } .tests-actions { flex-direction:column; align-items:stretch; } .tests-actions .button { width:100%; flex-wrap:wrap; }
  .test-matrix,.test-matrix tbody,.test-matrix tr,.test-matrix th,.test-matrix td { display:block; }
  .test-matrix thead { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); }
  .test-matrix tbody tr { border:1px solid var(--rule-soft); border-radius:.5rem; padding:.75rem 1rem; margin-bottom:1rem; }
  .test-matrix tbody th { width:auto; padding:.5rem 0 .875rem; font-size:1rem; }
  .test-matrix tbody td { display:flex; justify-content:space-between; align-items:center; gap:.75rem; padding:.75rem 0; }
  .test-matrix tbody td:last-child { border-bottom:0; }
  .test-mobile-label { display:block; color:var(--ink-muted); font-size:.875rem; line-height:1.5; }
  .test-matrix .test-result { flex-shrink:0; }
  .test-case summary { grid-template-columns:2.5rem 1fr 1rem; gap:.5rem; padding:1rem .25rem; }
  .test-case-title { font-size:1rem; }
  .test-case-body { padding:.5rem 1rem 1.5rem; }
  .test-case-fields,.test-models { grid-template-columns:1fr; }
  .test-definitions>div { grid-template-columns:1fr; gap:.3rem; }
  .test-method-disclosure>summary { padding:1rem; } .test-models,.test-method-content { padding:0 1rem 1rem; }
}
@media(max-width:23rem) { .test-outcomes { grid-template-columns:1fr; } .test-outcomes dt { min-height:0; } }
@media print {
  .site-header,.site-footer,.tests-actions,.tests-next,.test-permalink,.tests-data-links { display:none!important; }
  .tests-hero { padding:0 0 1.5rem; } .tests-hero h1 { font-size:32pt; max-width:none; } .tests-section { padding:1.5rem 0; }
  .test-feature-grid,.test-meaning-grid,.test-method-grid { display:block; } .test-feature { break-inside:avoid; margin-bottom:1rem; }
  .test-matrix { display:table; font-size:9pt; } .test-matrix thead { display:table-header-group; position:static; clip-path:none; width:auto; height:auto; }
  .test-matrix tbody { display:table-row-group; } .test-matrix tr { display:table-row!important; break-inside:avoid; }
  .test-matrix th,.test-matrix td { display:table-cell!important; padding:6pt!important; } .test-matrix tbody th { width:34%; font-size:9pt; }
  .test-mobile-label { display:none; } .test-result { font-size:7.5pt!important; } .test-case { break-inside:avoid; }
}
