.bt-activity {
  --bt-line: var(--ds-line, #d9cfc5);
  --bt-ink: var(--ds-ink, #391e1c);
  --bt-accent: var(--ds-brand, #751f2a);
  color: var(--bt-ink);
  min-width: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.bt-activity button { font: inherit; }
.bt-activity :is(h3, p, figure, dl) { margin: 0; }
.bt-activity :is(button, [role='tabpanel']):focus-visible { outline: 2px solid var(--bt-accent); outline-offset: 3px; }
.bt-activity [hidden] { display: none !important; }
.bt-activity figcaption { color: var(--ds-muted, #66524d); font-size: .82rem; line-height: 1.44; }

.bt-growth-diagram { min-width: 0; margin: 0; }
.bt-growth-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 58px));
  justify-content: center;
  align-items: end;
  gap: clamp(18px, 4vw, 46px);
  padding: 10px 12px 9px;
  border: 1px solid var(--ds-line, #d9cfc5);
  border-radius: var(--ds-round, 14px);
  background: var(--ds-paper, #fbf8f2);
}
.bt-growth-bars > div { display: grid; justify-items: center; gap: 5px; font-size: .86rem; }
.bt-growth-stack { display: flex; flex-direction: column; justify-content: end; gap: 2px; width: clamp(26px, 7vw, 50px); }
.bt-growth-stack i { display: block; width: 100%; height: 9px; background: #b09c72; border-radius: 1px; }
.bt-growth-stack i:nth-child(2n) { background: #7d815b; }
.bt-growth-stack[data-stage='late'] i { height: 25px; }
.bt-growth-stack[data-stage='late'] i:first-child { height: 17px; }
.bt-growth-stack[data-stage='late'] i:last-child { height: 19px; }
.bt-growth-diagram figcaption { margin-block-start: 6px; color: var(--ds-muted, #66524d); font-size: .82rem; line-height: 1.44; }
.bt-growth-diagram p { margin: 0; }
.bt-growth-diagram .bt-figure-note { margin-top: 4px; }

.bt-inspect { width: 100%; }
.bt-photo-stage { position: relative; isolation: isolate; width: 100%; aspect-ratio: 4 / 3; }
.bt-photo-stage img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; border-radius: var(--ds-round, 14px); }
.bt-photo-marker { position: absolute; inset: var(--bt-y) auto auto var(--bt-x); transform: translate(-50%, -50%); width: clamp(25px, 3vw, 34px); aspect-ratio: 1; border: 2px solid #fff9f3; border-radius: 50%; background: #481c2424; box-shadow: 0 0 0 2px #53222b85; pointer-events: none; }
.bt-photo-marker::after { content: ''; position: absolute; inset: 50% auto auto 50%; width: 6px; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #fff9f3; box-shadow: 0 0 0 1px #53222b85; }
.bt-photo figcaption { margin-block-start: 5px; font-size: .76rem; overflow-wrap: anywhere; }
.bt-photo-controls { display: flex; flex-wrap: wrap; align-items: stretch; column-gap: clamp(6px, 1.4vw, 16px); border-bottom: 1px solid var(--bt-line); }
.bt-photo-controls .bt-point-choice { min-inline-size: 44px; min-block-size: 44px; padding: 5px clamp(3px, 1.08vw, 9px) 4px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--ds-muted, #66524d); font-size: .875rem; font-weight: 650; cursor: pointer; }
.bt-photo-controls .bt-point-choice:first-child { padding-inline-start: 0; }
.bt-photo-controls .bt-point-choice:is(:hover, [aria-pressed='true']) { color: var(--bt-accent); }
.bt-photo-controls .bt-point-choice[aria-pressed='true'] { border-bottom-color: var(--bt-accent); }
.bt-photo-controls .bt-point-choice:focus-visible { outline-offset: -3px; }
.bt-photo-readout { margin-block-start: 6px; font-size: .875rem; }
.bt-readout-title { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bt-inspect .bt-photo-fallback { margin-block-start: 9px; font-size: .875rem; }
.bt-photo-fallback dt { font-weight: 680; }
.bt-photo-fallback dd { margin: 0 0 9px; }

.bt-case-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(7px, 1vw, 11px); margin-bottom: 9px; }
.bt-case-options .bt-case-option {
  display: grid;
  grid-template-columns: clamp(49px, 7vw, 73px) minmax(0, 1fr);
  gap: clamp(7px, 1vw, 11px);
  align-items: center;
  padding: 0;
  border: 1px solid var(--bt-line);
  border-radius: 11px;
  overflow: hidden;
  background: var(--ds-paper, #fbf8f2);
  color: var(--bt-ink);
  text-align: start;
  cursor: pointer;
}
.bt-case-option:is(:hover, [aria-selected='true']) { border-color: var(--bt-accent); }
.bt-case-option[aria-selected='true'] { box-shadow: inset 0 -3px var(--bt-accent); background: #f8eee7; }
.bt-case-option-media { position: relative; align-self: stretch; min-height: 54px; overflow: hidden; }
.bt-case-option-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
/* Crop the thin border baked into the study photograph. */
.bt-case-option[data-bt-case='panel-study'] .bt-case-option-media img { transform: scale(1.1); }
.bt-case-option-text { display: grid; gap: 2px; min-width: 0; padding: 6px 6px 6px 0; overflow-wrap: anywhere; }
.bt-case-option-text strong { font-size: clamp(.82rem, 1.1vw, .94rem); line-height: 1.18; }
.bt-case-option-text span { color: var(--ds-muted, #66524d); font-size: .74rem; line-height: 1.2; }

.bt-case-panel {
  display: flow-root;
  padding: clamp(9px, 1.2vw, 13px);
  border: 1px solid var(--bt-line);
  border-radius: var(--ds-round, 14px);
  background: var(--ds-paper, #fbf8f2);
}
.bt-case-panel + .bt-case-panel { margin-top: 10px; }
.bt-case-panel[role='tabpanel'] { margin-top: 0; }
.bt-case-panel .bt-case-figure {
  float: inline-start;
  width: min(34%, 246px);
  margin-block-end: 4px;
  margin-inline-end: clamp(10px, 1.5vw, 16px);
}
.bt-case-panel[data-bt-case-panel='panel-study'] .bt-case-figure { width: min(42%, 305px); }
.bt-case-panel[data-bt-case-panel='panel-study'] .bt-case-copy { display: flow-root; }
.bt-case-figure img { display: block; width: 100%; height: auto; aspect-ratio: 1.85; object-fit: cover; border-radius: 8px; }
.bt-case-panel[data-bt-case-panel='japanese-basket'] img { object-position: center 75%; }
.bt-case-panel[data-bt-case-panel='panel-study'] img { aspect-ratio: auto; }
.bt-case-figure figcaption { margin-block-start: 4px; font-size: .74rem; overflow-wrap: anywhere; }
.ds-main .bt-case-panel h3 { font-size: clamp(1.4rem, 2.1vw, 1.85rem); line-height: 1.12; }
.bt-case-panel .bt-case-location { color: var(--bt-accent); font-size: .83rem; font-weight: 650; }
.bt-case-panel .bt-case-location:not([hidden]) + h3 { margin-block-start: 4px; }
.bt-case-panel h3 + p, .bt-case-panel p + p { margin-block-start: 6px; }

@media (max-width: 649px) {
  .bt-case-options .bt-case-option { grid-template-columns: minmax(0, 1fr); grid-template-rows: clamp(41px, 11vw, 52px) 1fr; gap: 0; align-items: start; }
  .bt-case-option-media { min-height: 0; }
  .bt-case-option-text { padding: 6px 5px 7px; }
  .bt-case-panel .bt-case-figure {
    float: none;
    width: min(82%, 280px);
    margin-inline: auto;
    margin-block-end: 8px;
    text-align: center;
  }
  .bt-case-panel[data-bt-case-panel='panel-study'] .bt-case-figure { width: min(100%, 305px); }
  .bt-case-figure img { aspect-ratio: 2; }
  .bt-case-panel[data-bt-case-panel='japanese-basket'] img { aspect-ratio: 1.65; }
}
@media (prefers-reduced-motion: no-preference) {
  .bt-photo-marker { transition: top 240ms ease, left 240ms ease; }
}
