.study-page { max-width: 960px; }
.study-meta-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 20px;
  padding: 18px 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.study-meta-strip dt { color: var(--faint); font-size: 11px; margin-bottom: 4px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.study-meta-strip dd { color: var(--ink); font-weight: 500; }

.study-page article > section { max-width: 72ch; margin: 28px 0 36px; }
.study-page article > section.wide { max-width: none; }
.study-page section p + p { margin-top: 12px; }

.study-figure {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(18px, 3vw, 28px);
  margin: 18px 0 26px;
}
.study-figure-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 18px;
}
.study-figure-title { font-size: 15px; font-weight: 600; letter-spacing: -.015em; }
.study-figure-sub { font-size: 13px; color: var(--mute); margin-top: 2px; }
.study-key { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--mute); }
.study-key span { display: inline-flex; align-items: center; gap: 6px; }
.study-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.k-neu { background: #595e55; }
.k-aut { background: #303b5c; }
.k-usr { background: #b44b2c; }

.dumbbells { display: grid; gap: 14px; }
.db-row {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr) 128px;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}
.db-label { font-weight: 500; }
.db-lab { display: block; font-size: 11px; font-weight: 400; color: var(--faint); }
.db-track {
  position: relative;
  height: 28px;
  background: var(--plate);
  border-radius: 3px;
}
.db-grid { position: absolute; top: 0; bottom: 0; width: 1px; background: rgb(0 0 0 / .08); }
.db-span { position: absolute; top: 12px; height: 4px; background: rgb(48 59 92 / .32); border-radius: 2px; }
.db-dot {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px var(--paper);
}
.db-dot.d-neu { background: #595e55; z-index: 1; }
.db-dot.d-aut { background: #303b5c; z-index: 2; }
.db-dot.d-usr { background: #b44b2c; z-index: 3; }
.db-nums { font: 400 11.5px/1.35 var(--mono); color: var(--mute); text-align: right; }
.db-nums strong { color: var(--ink); font-weight: 600; }
.db-axis {
  display: flex;
  justify-content: space-between;
  margin: 10px 142px 0 170px;
  font: 400 11px/1 var(--mono);
  color: var(--faint);
}

.table-wrap { overflow-x: auto; margin: 16px 0 8px; }
.study-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.study-table th, .study-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.study-table th {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--mute);
  border-bottom-color: #303b5c;
  white-space: nowrap;
}
.study-table td.num, .study-table th.num { text-align: right; font-family: var(--mono); font-size: 12px; }
.study-table tr.pooled-row td { font-weight: 600; background: var(--plate); border-top: 1px solid #303b5c; }
.delta-pos { color: #9c381c; font-weight: 600; }
.delta-zero { color: var(--faint); }

.explorer {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(18px, 3vw, 26px);
  margin-top: 16px;
}
.explorer-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 16px;
}
.cat-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-tabs button {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 13px;
  color: var(--mute);
  background: var(--bg);
}
.cat-tabs button[aria-pressed="true"] {
  background: #303b5c;
  border-color: #303b5c;
  color: #fff4d9;
}
.explorer-controls select {
  flex: 1 1 280px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}
.explorer-statement {
  padding: 14px 16px;
  margin-bottom: 16px;
  background: var(--bg);
  border-left: 3px solid #303b5c;
  font-size: 16px;
  line-height: 1.45;
}
.explorer-statement small {
  display: block;
  margin-bottom: 4px;
  font: 500 11px/1.3 var(--mono);
  color: var(--faint);
  text-transform: uppercase;
}
.explorer-grid { display: grid; gap: 12px; }
.ex-card {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px;
  background: var(--paper);
}
.ex-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 13px;
}
.ex-card-head strong { font-weight: 600; }
.ex-card-head span { font-size: 11.5px; color: var(--faint); font-family: var(--mono); }
.ex-framings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
}
.ex-col { font-size: 12.5px; line-height: 1.48; color: var(--mute); }
.ex-col-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
}
.ex-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 20px;
  padding: 0 5px;
  border-radius: 2px;
  font: 600 11px/1 var(--mono);
  color: white;
}
.ex-badge.b-neu { background: #595e55; }
.ex-badge.b-aut { background: #303b5c; }
.ex-badge.b-usr { background: #b44b2c; }

.prompt-list { display: grid; gap: 10px; margin: 14px 0; }
.prompt-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px;
  font-size: 13.5px;
}
.prompt-box strong {
  display: block;
  margin-bottom: 3px;
  font: 600 11.5px/1.3 var(--mono);
  color: #303b5c;
  text-transform: uppercase;
}
.study-note-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 18px;
  list-style: disc;
  font-size: 15px;
}
.study-page ul.study-note-list { display: grid; list-style: disc; padding-left: 20px; }
.study-page ul.study-note-list li { display: list-item; }

@media (max-width: 720px) {
  .study-meta-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .db-row { grid-template-columns: 1fr; gap: 6px; }
  .db-nums { text-align: left; }
  .db-axis { margin: 8px 0 0; }
  .ex-framings { grid-template-columns: 1fr; }
}
