:root {
  --paper: #faf8f4;
  --panel: #fffdf9;
  --ink: #242126;
  --muted: #5f565e;
  --line: #d9cbd0;
  --accent: #81283f;
  --out-burgundy: #641d33;
  --out-rose: #f2d9df;
  --heading: Georgia, "Times New Roman", serif;
}
.trtbeforeandafter .mast { border-bottom: 3px solid var(--out-burgundy); }
.trtbeforeandafter .mast-brand { font-family: var(--heading); font-size: 1.25rem; }
.trtbeforeandafter .brand-mark { position: relative; border-radius: 50%; background: var(--out-burgundy); }
.trtbeforeandafter .brand-mark::before, .trtbeforeandafter .brand-mark::after {
  position: absolute;
  content: '';
  border: 1px solid #f4c9d4;
  border-radius: 50%;
}
.trtbeforeandafter .brand-mark::before { inset: 21%; }
.trtbeforeandafter .brand-mark::after { inset: 37%; background: #f4c9d4; }
.trtbeforeandafter .site-footer { background: var(--out-burgundy); color: #fff8f3; }
.trtbeforeandafter .site-footer :is(a,p) { color: #fff8f3; }
.out-category { margin: 0; color: var(--accent); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .095em; }
.out-cover { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 1fr); gap: clamp(1.75rem, 4vw, 4rem); align-items: center; padding: clamp(2rem, 5.5vw, 5rem) clamp(1.2rem, 5vw, 4.5rem); max-width: 74rem; margin: 0 auto; border-bottom: 1px solid var(--line); background: linear-gradient(120deg,#fbf4f2,#faf8f4 65%); }
.out-cover h1 { max-width: 11ch; margin: .6rem 0 1rem; font-size: clamp(2.75rem, 7.6vw, 6.15rem); line-height: .94; letter-spacing: -.055em; }
.out-cover h1 em { color: var(--accent); font-weight: inherit; }
.out-cover-lead { max-width: 41ch; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); margin-bottom: 1.35rem; }
.out-action, .out-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .5rem .9rem; border: 1px solid var(--out-burgundy); border-radius: .2rem; background: var(--out-burgundy); color: #fff; font: inherit; font-weight: 700; text-decoration: none; }
.out-action:hover { background: #491125; color: white; }
.out-secondary { background: var(--panel); color: var(--out-burgundy); }
.out-cover-figure { --out-plot-grid: #a76d80; --out-plot-mark: #f5bdcb; margin: 0; padding: clamp(1rem, 3vw, 1.7rem); background: var(--out-burgundy); color: #fff5f4; }
.out-cover-figure a { color: #fff5f4; text-decoration: none; }
.out-effect-chart { --out-label-width: 5.35rem; --out-plot-gap: .65rem; }
.out-effect-chart figcaption { font-family: var(--heading); font-size: clamp(1.33rem, 2.1vw, 1.75rem); font-weight: 700; line-height: 1.18; margin-bottom: .5rem; }
.out-effect-chart > p { font-size: .9rem; line-height: 1.5; margin-bottom: .9rem; }
.out-effect-chart dl { display: grid; gap: .75rem; margin: 0; }
.out-effect-row { display: grid; grid-template-columns: var(--out-label-width) minmax(0, 1fr); align-items: start; gap: var(--out-plot-gap); }
.out-effect-row dt { font-size: .88rem; line-height: 1.4; font-weight: 700; padding-top: .15rem; }
.out-effect-row dd { min-width: 0; margin: 0; }
.out-effect-track { height: 1.4rem; position: relative; border-inline: 1px solid var(--out-plot-grid); background: linear-gradient(90deg,transparent calc(100% - 1px),var(--out-plot-grid) calc(100% - 1px)) 0 0 / 20% 100%; }
.out-effect-track::before { content: ''; position: absolute; inset-block: 0; inset-inline-start: var(--zero); width: 1px; height: 100%; background: currentColor; }
.out-effect-interval { position: absolute; inset: calc(50% - 1px) calc(100% - var(--hi)) auto var(--lo); height: 2px; background: var(--out-plot-mark); }
.out-effect-interval::before, .out-effect-interval::after { content: ''; position: absolute; top: -2px; width: 2px; height: 6px; background: var(--out-plot-mark); }
.out-effect-interval::before { left: 0; }
.out-effect-interval::after { right: 0; }
.out-effect-point { position: absolute; top: 50%; left: var(--estimate); width: .56rem; height: .56rem; border-radius: 50%; transform: translate(-50%,-50%); background: var(--out-plot-mark); }
.out-effect-estimate { display: block; margin-top: .22rem; font-size: .87rem; font-weight: 720; line-height: 1.4; font-variant-numeric: tabular-nums; }
.out-effect-estimate span { font-weight: 400; }
.out-effect-axis { display: grid; grid-template-columns: repeat(5,1fr) 0; border-top: 1px solid var(--out-plot-grid); margin: .65rem 0 0 calc(var(--out-label-width) + var(--out-plot-gap)); padding-top: .3rem; font-size: .82rem; font-variant-numeric: tabular-nums; }
.out-effect-axis span { justify-self: start; }
.out-effect-axis span:not(:first-child,:last-child) { transform: translateX(-50%); }
.out-effect-axis span:last-child { transform: translateX(-100%); }
.out-effect-chart .out-effect-caption { margin: .8rem 0 0; font-size: .85rem; }
.out-home-list, .out-article { width: min(67rem, calc(100% - 2.5rem)); margin: 2.5rem auto 0; }
.out-home-list > h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin: 0 0 .9rem; }
.out-home-list article { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: .5rem 1.5rem; align-items: baseline; border-top: 1px solid var(--line); padding: .95rem 0; }
.out-home-list h3 { margin: 0 0 .2rem; font-size: clamp(1.25rem, 2.5vw, 1.8rem); }
.out-home-list h3 a { color: var(--ink); text-decoration: none; }
.out-home-list h3 a:hover { color: var(--accent); text-decoration: underline; }
.out-home-list article div p { margin: 0; color: var(--muted); }
.out-story-head { border-bottom: 1px solid var(--line); padding: .4rem 0 1.2rem; margin-bottom: 1.6rem; }
.out-story-head h1 { margin: .5rem 0 .65rem; max-width: 21ch; font-size: clamp(2.4rem, 6.1vw, 5.25rem); }
.out-story-head > p:not(.out-category) { max-width: 62ch; color: var(--muted); }
.out-byline { font-size: .88rem; margin-bottom: 0; }
.out-story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 15rem); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.out-prose > section { margin-bottom: 2rem; scroll-margin-top: 1.25rem; }
.out-prose h2 { margin: 0 0 .65rem; font-size: clamp(1.5rem, 2.7vw, 2.2rem); }
.out-prose li, .out-prose p, .out-prose dd { max-width: 72ch; }
.out-study-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.out-study-table caption { text-align: left; color: var(--muted); font-size: .88rem; padding-bottom: .55rem; }
.out-study-table :is(th,td) { padding: .72rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.48; overflow-wrap: anywhere; }
.out-study-table :is(th,td):first-child { width: 36%; }
.out-study-table thead { background: var(--out-burgundy); color: #fff5f4; font-size: .89rem; }
.out-study-table tbody tr:nth-child(odd) { background: #f6eeed; }
.out-study-table tbody th { color: var(--out-burgundy); }
.out-study-table tbody th span { display: block; margin-top: .26rem; color: var(--muted); font-size: .9rem; font-weight: 400; }
.out-data { --out-plot-grid: #ba8a96; --out-plot-mark: var(--out-burgundy); margin: 1.25rem 0; padding: 1rem; background: #f8e6e9; border-left: 3px solid var(--out-burgundy); }
.out-outline { position: sticky; top: 1rem; border-top: 2px solid var(--out-burgundy); padding-top: .7rem; }
.out-outline h2 { font-size: 1.14rem; margin: 0 0 .5rem; }
.out-outline ul, .out-mobile-outline ul { list-style: none; margin: 0; padding: 0; }
.out-outline a, .out-mobile-outline a { display: block; padding: .33rem 0; font-size: .9rem; text-decoration: none; }
.out-mobile-outline { display: none; }
.out-citation { margin-inline-start: .14em; }
.out-citation a, .out-sources a { text-decoration: none; }
.out-sources { padding-top: .8rem; border-top: 1px solid var(--line); }
.out-sources h2 { font-size: 1.2rem; }
.out-sources ol { margin: 0; padding-left: 1.25rem; font-size: .875rem; }
.out-sources li { padding-block: .16rem; }
.out-sources li:target { outline: 2px solid var(--accent); outline-offset: 2px; }
.out-worksheet > p { max-width: 68ch; }
#notes-privacy { font-size: .92rem; color: var(--muted); }
#out-notes { max-width: 44rem; padding: clamp(.9rem, 2vw, 1.5rem); background: var(--panel); border: 1px solid var(--line); }
.out-fields { display: grid; gap: .95rem; }
.out-fields label { display: grid; gap: .3rem; font-weight: 650; }
.out-field-title small { font-size: .92rem; font-weight: 400; }
.out-fields textarea { min-height: 5.8rem; width: 100%; padding: .6rem; color: var(--ink); background: var(--paper); border: 1px solid #ad98a0; border-radius: .25rem; font: inherit; font-weight: 400; resize: vertical; }
.out-fields input { justify-self: start; }
.out-actions { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: 1rem; }

@media (max-width: 47rem) {
  .out-cover, .out-story-grid { grid-template-columns: minmax(0, 1fr); }
  .out-cover { align-items: start; padding-bottom: 1.75rem; }
  .out-cover h1 { max-width: 10ch; }
  .out-cover-figure { max-width: 28rem; }
  .out-outline { display: none; }
  .out-mobile-outline { display: block; padding-inline: .8rem; margin-bottom: 1.2rem; border: 1px solid var(--line); }
  .out-mobile-outline summary { min-height: 2.75rem; align-content: center; cursor: pointer; font-weight: 700; }
  .out-mobile-outline a { min-height: 2.75rem; align-content: center; }
  .out-home-list article { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
}
@media (max-width: 27rem) {
  .trtbeforeandafter .mast-brand { font-size: 1.05rem; }
  .out-article, .out-home-list { width: calc(100% - 2rem); }
  .out-study-table, .out-study-table :is(caption,tbody,tr,th,td) { display: block; }
  .out-study-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
  .out-study-table tbody tr { border-bottom: 1px solid var(--line); padding: .65rem .75rem; }
  .out-study-table :is(th,td), .out-study-table :is(th,td):first-child { width: 100%; padding: 0; border: 0; }
  .out-study-table tbody td { margin-top: .48rem; }
  .out-study-table tbody th span { font-size: .88rem; }
  .out-effect-chart { --out-label-width: 4.5rem; --out-plot-gap: .4rem; }
}
@media print {
  body:has(.out-print-sheet) :is(.mast, .site-footer, .skip, .out-worksheet > :not(.out-print-sheet)) { display: none; }
  body:has(.out-print-sheet) { background: white; color: black; }
  .out-worksheet { width: 100%; margin: 0; }
  .out-print-sheet[hidden] { display: block; }
  .out-print-sheet h1 { font-size: 23pt; }
  .out-print-sheet h2 { font-size: 13pt; }
  .out-print-sheet p { white-space: pre-wrap; overflow-wrap: anywhere; }
}
