.ptp-method h3 { margin-top: 1.7rem; }
.ptp-method {
  --slot-content: #a16a16; --slot-content-fill: #fff1d4;
  --slot-position: #2b72ad; --slot-position-fill: #e2f1fd;
  --slot-lift: #7661b0; --slot-lift-fill: #efeafb;
  --slot-head: #168168; --slot-head-fill: #ddf3eb;
}
.token-input { container-type: inline-size; }
.token-input .ti-caption { margin: .6rem 0 1rem; font: 400 1rem/1.48 var(--sans); color: #394656; }
.ti-sequence { display: flex; justify-content: space-around; align-items: end; gap: .4rem; }
.ti-token { display: grid; justify-items: center; gap: .3rem; }
.ti-token strong, .ti-detail strong { color: #34425a; font: 600 .92rem/1.3 var(--sans); }
.ti-row { display: flex; }
.ti-row > span { display: grid; justify-items: stretch; text-align: center; }
.ti-row i, .ti-slot i { color: #445475; font: italic .96rem/1.45 var(--serif); }
.ti-row b, .ti-slot b {
  min-width: clamp(1.65rem, 7cqi, 2.55rem); text-align: center;
  padding: .28rem .12rem; border: 1px solid #a8b7cd; background: #edf1f8; color: #24395e;
  font: 500 .91rem/1.2 var(--mono); font-variant-numeric: tabular-nums;
}
.ti-row span + span b { border-left-width: 0; }
.ti-focus strong, .ti-detail strong { color: #263fa4; }
.ti-content b { background: var(--slot-content-fill); border-color: var(--slot-content); }
.ti-position b { background: var(--slot-position-fill); border-color: var(--slot-position); }
.ti-detail { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: .5rem 1.1rem; margin: 1.2rem 0 0; padding: 1.1rem 0 .2rem; border-top: 1px solid #d1d9e7; }
.ti-grown { display: inline-flex; }
.ti-slot { display: grid; grid-template-columns: 1fr; }
.ti-slot i { grid-column: 1 / -1; text-align: center; padding-top: .15rem; }
.ti-slot + .ti-slot b { border-left-width: 0; }
.ti-lift { grid-template-columns: repeat(3, 1fr); }
.ti-lift b { background: var(--slot-lift-fill); border-color: var(--slot-lift); }
.ti-slot.ti-lift b + b { border-left-width: 1px; border-left-color: #c6c0de; }
.ti-head b { background: var(--slot-head-fill); border-color: var(--slot-head); color: #29533f; padding-inline: .4rem; }
@container (max-width: 400px) {
  .ti-detail { flex-direction: column; align-items: center; gap: .5rem; }
}

.stack-attention { container-type:inline-size; }
.stack-attention .stack-guide { margin:.65rem 0 .9rem; font:400 1rem/1.48 var(--sans); color:#394656; }
.stack-image { padding: .75rem .25rem; background:#fff; border-block:1px solid #d7deea; }
.stack-image img { display:block; width:100%; height:auto; margin-inline:auto; }
.stack-image .stack-portrait { display:none; }
.stack-attention .stack-footnote { margin:.55rem 0; color:#46556b; font:400 .88rem/1.45 var(--sans); }
.stack-reads { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.35rem 1.1rem; margin:.9rem 0 .65rem; }
.stack-reads p { margin:0; font:400 .96rem/1.46 var(--sans); color:#35435a; }
.stack-reads strong { display:block; color:#26364c; margin:0 0 .25rem; }
.stack-attention .stack-credit { margin:0; color:#526276; font:400 .82rem/1.45 var(--sans); }
@container (max-width: 565px) {
  .stack-image .stack-landscape { display:none; }
  .stack-image .stack-portrait { display:block; max-width:24rem; }
  .stack-reads { grid-template-columns:1fr; gap:.65rem; }
}
