.tpc2 {
  --c-bg: #0A0A0B; --c-card: #141417; --c-raised: #1B1B1E;
  --c-line: #27272A; --c-line-2: #3F3F46;
  --c-text: #FAFAFA; --c-muted: #A1A1AA;
  --c-blue: #50A2FF; --c-heat: #F59E0B; --c-heat-hi: #FCD34D;
  --tpc2-s: 0.6;
  margin: clamp(0rem, 3.2vw - 0.75rem, 2rem) 0 0; padding: 0; color: var(--c-text);
  font-family: 'IBM Plex Sans', var(--font-heading, system-ui), sans-serif;
  min-width: 0;
}
.tpc2 *, .tpc2 *::before, .tpc2 *::after { box-sizing: border-box; }
.tpc2__head { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; max-width: 46rem; }
.tpc2__body { display: grid; gap: 1.5rem; }
.tpc2-card { min-width: 0; padding: 1.5rem; border: 1px solid var(--c-line); border-radius: var(--radius-xl, 24px); background: var(--c-card); overflow: hidden; }
@media (min-width: 960px) {
  .tpc2__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: stretch; }
  .tpc2-card--trend { display: flex; flex-direction: column; }
  .tpc2-card--trend .tpc2-chart { flex: 1 1 auto; display: flex; flex-direction: column; }
  .tpc2-card--trend .tpc2-chart__body { flex: 1 1 auto; min-height: 220px; }
  .tpc2-card--trend .tpc2-plot { height: auto; }
}
.tpc2 .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tpc2 sub { font-size: 0.68em; vertical-align: -0.28em; line-height: 0; }
.tpc2 p { margin: 0; }

.tpc2__eyebrow { font-family: var(--font-mono); font-size: var(--fs-label, 0.875rem); letter-spacing: 0.02em; color: var(--c-blue); }
.tpc2__title { margin: 0; font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--c-text); }

.tpc2-read { border-radius: 14px !important; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(1rem, 2.5vw, 1.75rem); margin-top: 0;
  padding: 1.375rem clamp(0.875rem, 2vw, 1.25rem) 0.5rem; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 10px; }
.tpc2-read__keys { display: flex; flex-direction: column; }
.tpc2-read__k { height: 3.25rem; display: flex; flex-direction: column; justify-content: center; gap: 0.15rem; white-space: nowrap; }
.tpc2-read__k b { font-size: clamp(1.125rem, 1.9vw, 1.375rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; }
.tpc2-read__k span { font-size: 0.8125rem; font-weight: 500; line-height: 1.25; }
.tpc2-read__k--tp b { color: var(--c-blue); }
.tpc2-read__k--tp span { color: var(--c-text); }
.tpc2-read__k--conv b { color: var(--c-muted); }
.tpc2-read__k--conv span { color: var(--c-muted); }
.tpc2-short { display: none; }
.tpc2-read__bars { position: relative; display: flex; flex-direction: column; }
.tpc2-read__track { position: relative; height: 3.25rem; }
.tpc2-read__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 12px; margin-top: -6px; border-radius: 999px;
  background: var(--c-raised); box-shadow: inset 0 0 0 1px var(--c-line); }
.tpc2-read__fill { position: absolute; left: 0; width: 100%; top: 50%; height: 12px; margin-top: -6px; border-radius: 999px; transform-origin: left center; }
.tpc2-read__track--tp .tpc2-read__fill { background: linear-gradient(90deg, rgba(80, 162, 255, 0.45), var(--c-blue)); box-shadow: 0 0 18px rgba(80, 162, 255, 0.45); }
.tpc2-read__track--conv .tpc2-read__fill { background: linear-gradient(90deg, rgba(161, 161, 170, 0.35), var(--c-muted)); }
.tpc2-read__miss { position: absolute; top: 50%; height: 12px; margin-top: -6px; border-radius: 0 999px 999px 0;
  background: repeating-linear-gradient(135deg, rgba(250, 250, 250, 0.16) 0 2px, transparent 2px 6px); box-shadow: inset 0 0 0 1px rgba(250, 250, 250, 0.12); }
.tpc2-read__ts { position: absolute; top: -0.25rem; bottom: 0.25rem; width: 0; border-left: 2px dashed var(--c-heat); margin-left: -1px; z-index: 2; }
.tpc2-read__tsl { position: absolute; bottom: 100%; left: 0; transform: translateX(-50%); padding-bottom: 0.2rem;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--c-heat-hi); white-space: nowrap; }

.tpc2-rig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 1.25rem; }
.tpc2-stack { display: flex; flex-direction: column; align-items: center; justify-self: center; width: 84%; min-width: 0; }

.tpc2-tag { display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.01em; color: var(--c-muted); }
.tpc2-stack .tpc2-tag { margin-bottom: 0.5rem; }
.tpc2-tag--tp { color: var(--c-blue); }

.tpc2-sw { display: inline-block; flex: none; width: 1rem; height: 0; border-top: 2px solid var(--c-muted); }
.tpc2-sw--tp { border-top: 3px solid var(--c-blue); }
.tpc2-sw--ts { border-top: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--c-heat) 0 4px, transparent 4px 7px); }

.tpc2-sensor { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  width: 58%; height: 1.875rem; background: var(--c-raised); border: 1px solid var(--c-line-2); border-bottom: 0; border-radius: 6px 6px 0 0;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--c-text); }
.tpc2-stack--tp .tpc2-sensor { border-color: rgba(80, 162, 255, 0.6); }
.tpc2-led { width: 7px; height: 7px; border-radius: 50%; background: var(--c-heat-hi); flex: none; }
.tpc2-stack--conv .tpc2-led { opacity: calc(0.14 + 0.3 * var(--tpc2-s)); }
.tpc2-stack--tp .tpc2-led { opacity: calc(0.5 + 0.5 * var(--tpc2-s)); box-shadow: 0 0 calc(3px + 12px * var(--tpc2-s)) rgba(252, 211, 77, 0.9); }
.tpc2-stack--tp .tpc2-sensor { box-shadow: 0 -2px calc(4px + 16px * var(--tpc2-s)) rgba(80, 162, 255, calc(0.12 + 0.3 * var(--tpc2-s))); }

.tpc2-layer { position: relative; width: 100%; height: clamp(5.25rem, 10vw, 6.75rem); overflow: hidden;
  background: #18181B; border: 1px solid var(--c-line-2); border-bottom: 0;
  display: flex; align-items: center; justify-content: center; }
.tpc2-stack--tp .tpc2-layer { background: rgba(80, 162, 255, 0.10); border-color: rgba(80, 162, 255, 0.7); }
.tpc2-layer__heat { position: absolute; inset: 0; pointer-events: none; }
.tpc2-stack--conv .tpc2-layer__heat {
  background: linear-gradient(to top, rgba(245, 158, 11, 0.8) 0%, rgba(245, 158, 11, 0.4) 20%, rgba(245, 158, 11, 0.12) 48%, rgba(245, 158, 11, 0) 76%);
  opacity: calc(0.42 + 0.58 * var(--tpc2-s)); }
.tpc2-stack--tp .tpc2-layer__heat {
  background: linear-gradient(to top, rgba(245, 158, 11, 0.82) 0%, rgba(245, 158, 11, 0.7) 55%, rgba(252, 211, 77, 0.62) 100%);
  opacity: calc(0.45 + 0.55 * var(--tpc2-s)); }

.tpc2-layer__txt, .tpc2-obj__txt { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0.1rem; padding: 0.35rem 0.6rem; border-radius: 6px; background: rgba(10, 10, 11, 0.76); max-width: calc(100% - 0.75rem); }
.tpc2-layer__txt b, .tpc2-obj__txt b { font-size: 0.8125rem; font-weight: 600; line-height: 1.2; color: var(--c-text); }
.tpc2-stack--tp .tpc2-layer__txt b { color: #BFDBFE; }
.tpc2-layer__txt small, .tpc2-obj__txt small { font-size: 0.75rem; line-height: 1.25; color: #D4D4D8; }

.tpc2-flow { position: absolute; inset: 0; pointer-events: none; }
.tpc2-flow i { position: absolute; left: var(--x); top: 0; bottom: 0; width: 5px; margin-left: -2.5px; display: none;
  animation: tpc2-up-tp 2.4s linear infinite; animation-delay: var(--d); animation-play-state: paused; }
.tpc2-flow i::before { content: ""; position: absolute; left: 0; bottom: 0; width: 5px; height: 5px; border-radius: 50%;
  background: var(--c-heat-hi); box-shadow: 0 0 6px rgba(252, 211, 77, 0.8);
  opacity: calc(0.35 + 1.4 * var(--tpc2-s) - var(--k, 0)); } .tpc2-flow i:nth-child(3n+2) { --k: 0.35; }
.tpc2-flow i:nth-child(3n) { --k: 0.7; }
.tpc2-stack--conv .tpc2-flow i { animation-name: tpc2-up-conv; }
.tpc2.is-js .tpc2-flow i { display: block; }
.tpc2.is-live .tpc2-flow i { animation-play-state: running; }
@keyframes tpc2-up-tp {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 1; }
  84% { opacity: 1; }
  100% { transform: translateY(-100%); opacity: 0; }
}
@keyframes tpc2-up-conv {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.85; }
  44% { opacity: 0; }
  100% { transform: translateY(-100%); opacity: 0; }
}

.tpc2-obj { grid-column: 1 / -1; position: relative; overflow: hidden; height: 3.75rem; border-radius: 0 0 8px 8px;
  background: var(--c-raised); border: 1px solid var(--c-line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0 0.75rem; }
.tpc2-obj::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(245, 158, 11, 0.78), rgba(245, 158, 11, 0.38));
  opacity: calc(0.45 + 0.55 * var(--tpc2-s)); }
.tpc2-obj::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-heat-hi) 0 7px, transparent 7px 11px); }
.tpc2-obj__core { position: absolute; left: 20%; right: 20%; top: 35%; bottom: -40%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(252, 211, 77, 0.7), rgba(252, 211, 77, 0)); opacity: calc(0.25 + 0.75 * var(--tpc2-s)); }
.tpc2-obj__txt { flex-direction: row; align-items: baseline; gap: 0.5rem; }
.tpc2-obj .tpc2-tag { position: relative; z-index: 1; padding: 0.35rem 0.6rem; border-radius: 6px; background: rgba(10, 10, 11, 0.76); color: var(--c-heat-hi); }

.tpc2-chart { margin-top: 0; }
.tpc2-chart__top, .tpc2-chart__bot { display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.03em; color: var(--c-muted); }
.tpc2-chart__top { margin-bottom: 0.5rem; }
.tpc2-chart__top > span:first-child::before { content: "\2191\00a0"; }
.tpc2-chart__bot { margin-top: 0.375rem; padding-right: var(--tpc2-gut); justify-content: flex-end; }
.tpc2-chart__bot span::after { content: "\00a0\2192"; }

.tpc2-chart__body { --tpc2-gut: 9rem; display: grid; grid-template-columns: minmax(0, 1fr) var(--tpc2-gut); }
.tpc2-chart { --tpc2-gut: 9rem; }
.tpc2-plot { position: relative; height: clamp(190px, 22vw, 240px); border-left: 1px solid var(--c-line-2); border-bottom: 1px solid var(--c-line-2); }
.tpc2-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.tpc2-svg path, .tpc2-svg line { vector-effect: non-scaling-stroke; }
.tpc2-grid line { stroke: var(--c-line); stroke-width: 1; }
.tpc2-l { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tpc2-l--ts { stroke: var(--c-heat); stroke-width: 2; stroke-dasharray: 7 5; }
.tpc2-l--tp { stroke: var(--c-blue); stroke-width: 2.75; }
.tpc2-l--tpglow { stroke: var(--c-blue); stroke-width: 10; opacity: 0.16; }
.tpc2-l--conv { stroke: var(--c-muted); stroke-width: 2.25; }

.tpc2-now { position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, rgba(250, 250, 250, 0), rgba(250, 250, 250, 0.16)); }
.tpc2-dot { position: absolute; right: 0; width: 10px; height: 10px; margin: -5px -5px 0 0; border-radius: 50%; z-index: 2; }
.tpc2-dot--ts { background: var(--c-card); box-shadow: inset 0 0 0 2px var(--c-heat-hi); }
.tpc2-dot--tp { background: var(--c-blue); box-shadow: 0 0 0 4px rgba(80, 162, 255, 0.22), 0 0 14px rgba(80, 162, 255, 0.6); }
.tpc2-dot--conv { background: var(--c-muted); box-shadow: 0 0 0 4px rgba(161, 161, 170, 0.14); }

.tpc2-bracket { position: absolute; right: 1.125rem; width: 0.5rem; border: 1.5px solid #E4E4E7; border-left: 0; z-index: 1; }
.tpc2-bracket__t { position: absolute; left: calc(100% + 1.125rem + 0.875rem); top: 50%; transform: translateY(-50%); white-space: nowrap;
  font-size: 0.8125rem; font-weight: 500; line-height: 1.3; color: var(--c-text); }
.tpc2-schem__s { display: none; }

.tpc2-gutter { position: relative; }
.tpc2-lab { position: absolute; left: 0.875rem; right: 0; transform: translateY(-50%); display: flex; flex-direction: column; gap: 0.3rem; }
.tpc2-lab__row { display: flex; align-items: center; gap: 0.45rem; font-size: 0.8125rem; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.tpc2-lab__row em { font-style: normal; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 400; opacity: 0.9; }
.tpc2-lab__row--ts { color: var(--c-heat-hi); }
.tpc2-lab__row--tp { color: var(--c-blue); font-weight: 600; }
.tpc2-lab__row--conv { color: var(--c-muted); }
.tpc2-lab--conv { transform: translateY(-0.5rem); gap: 0.2rem; }
.tpc2-lab__sub { padding-left: 1.45rem; font-size: 0.75rem; line-height: 1.25; font-weight: 500; color: var(--c-text); white-space: nowrap; }

.tpc2-chart__note { margin-top: 0.75rem !important; font-size: 0.875rem; line-height: 1.55; color: var(--c-muted); max-width: 62ch; }

.tpc2__cap { margin-top: 1.25rem; display: grid; gap: 0.625rem 2rem; align-items: center; }
@media (min-width: 960px) {
  .tpc2__cap { grid-template-columns: auto minmax(0, 1fr); }
  .tpc2__cap .tpc2__line { margin-top: 0 !important; max-width: 78ch; }
  .tpc2__foot { grid-column: 1 / -1; margin-top: 0.25rem !important; }
}
.tpc2__formula { font-family: var(--font-mono); font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 500; letter-spacing: 0.01em; color: var(--c-text); }
.tpc2__formula span { color: var(--c-blue); padding: 0 0.15em; }
.tpc2__line { margin-top: 0.625rem !important; font-size: 0.9375rem; line-height: 1.55; color: var(--c-muted); max-width: 62ch; }
.tpc2__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 1rem; }
.tpc2__toggle { appearance: none; flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer;
  color: var(--c-text); background: rgba(20, 20, 23, 0.8); border: 1px solid var(--c-line-2); border-radius: 50%;
  transition: border-color var(--dur-fast, 160ms) var(--ease-out, ease), background-color var(--dur-fast, 160ms) var(--ease-out, ease); }
.tpc2__toggle:hover { border-color: var(--c-blue); background: rgba(27, 27, 30, 0.95); }
.tpc2__toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tpc2__toggle .i-play { display: none; fill: currentColor; stroke: none; }
.tpc2.is-paused .tpc2__toggle .i-play { display: block; }
.tpc2.is-paused .tpc2__toggle .i-pause { display: none; }
.tpc2__toggle:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; }
.tpc2__toggle[hidden] { display: none; }
.tpc2__foot { flex-wrap: nowrap !important; }
.tpc2__cite { flex: 1 1 auto; min-width: 0; font-size: 0.8125rem; line-height: 1.45; color: var(--c-muted); }

@media (max-width: 599px) {
  .tpc2-card { padding: 1rem; border-radius: 20px; }
  .tpc2__head { margin-bottom: 1.125rem; }
  .tpc2__body { gap: 1rem; }
  .tpc2-chart__note { display: none; }
  .tpc2-chart, .tpc2-chart__body { --tpc2-gut: 7rem; }
  .tpc2-lab { left: 0.625rem; }
  .tpc2-lab__row { font-size: 0.75rem; gap: 0.35rem; }
  .tpc2-lab__row em { display: none; }
  .tpc2-lab__sub { padding-left: 1.1rem; font-size: 0.6875rem; }
  .tpc2-sw { width: 0.75rem; }
  .tpc2-bracket { right: 0.875rem; }
  .tpc2-bracket__t { font-size: 0.75rem; left: calc(100% + 0.875rem + 0.625rem); }
  .tpc2-schem__l { display: none; }
  .tpc2-schem__s { display: inline; }
  .tpc2-stack { width: 90%; }
  .tpc2-sensor { width: 70%; }
  .tpc2-layer__txt { padding: 0.3rem 0.4rem; }
  .tpc2-layer__txt b { font-size: 0.75rem; }
  .tpc2-layer__txt small { font-size: 0.6875rem; }
  .tpc2-obj { padding: 0 0.5rem; }
  .tpc2-obj__txt small { display: none; }
  .tpc2-tag { font-size: 0.6875rem; }
  .tpc2-read { column-gap: 0.875rem; padding-left: 0.75rem; padding-right: 0.875rem; }
  .tpc2-read__k span { font-size: 0.75rem; }
  .tpc2-long { display: none; }
  .tpc2-short { display: inline; }
}

.tpc2.is-enter .tpc2-svg { animation: tpc2-wipe 1.1s var(--ease-out, ease-out) both; }
.tpc2.is-enter .tpc2-dot, .tpc2.is-enter .tpc2-lab, .tpc2.is-enter .tpc2-bracket { animation: tpc2-in 0.5s var(--ease-out, ease-out) 0.85s both; }
@keyframes tpc2-wipe { from { clip-path: inset(-12px 100% -12px -12px); } to { clip-path: inset(-12px -12px -12px -12px); } }
@keyframes tpc2-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .tpc2.is-enter .tpc2-svg, .tpc2.is-enter .tpc2-dot, .tpc2.is-enter .tpc2-lab, .tpc2.is-enter .tpc2-bracket { animation: none !important; }
  .tpc2-flow i { display: none !important; animation: none !important; }
}
.tpc2.is-reduced .tpc2-flow i { display: none; }

.rp-split--even.rp-compare { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
