.field-hero {
  background-color: #eef3f8;
  background-image: linear-gradient(100deg, #f7f9fb 6%, transparent 68%), linear-gradient(90deg, #8ca5c312 1px, transparent 1px);
  background-size: auto, 3rem 100%;
  padding: clamp(2rem,4vw,4rem) 0 clamp(2.2rem,3.8vw,3.9rem);
  border-bottom: 1px solid #cbd7e1;
}
.field-lead { display: grid; grid-template-columns: 1.48fr 1fr; align-items: end; gap: 3.4rem; margin-bottom: clamp(1.8rem, 3vw, 3rem); }
.category-line { display: flex; align-items: center; gap: .55rem; font-weight: 680; font-size: 1rem; color: #224b77; }
.category-line .icon { width: 1.35em; height: 1.35em; }
.field-lead h1 { font-size: clamp(3rem, 4.55vw, 4.75rem); line-height: 1.12; margin: 1.05rem 0 0; font-weight: 730; letter-spacing: -.055em; }
.field-lead em { color: #174e93; font-style: normal; }
.field-intro p { color: #344d65; max-width: 32rem; line-height: 1.78; font-size: 1.04rem; }
.field-intro .actions { margin-top: 1.2rem; gap: .65rem; }
.field-intro .secondary { background: transparent; }
.replay { border: 1px solid #adbfce; background: white; border-radius: .45rem; overflow: hidden; box-shadow: 0 9px 27px -20px #16344c85; }
.replay-header,.replay-meta,.trace-legend,.replay-footer,.trace-notes,.trace-controls {display: flex; align-items: center;}
.replay-header { justify-content: space-between; gap: .8rem; border-bottom: 1px solid #d2dde5; padding: .85rem 1.35rem; background: #f9fbfd; }
.replay-header h2 { font-size: 1.25rem; letter-spacing: -.025em; }
.replay-meta { gap: 1.1rem; color: #516277; font-size: .875rem; flex-wrap: wrap; }
.replay-meta time,.axis-y,.axis-x,.observations dd,.time-marker { font-family: "IBM Plex Mono",ui-monospace,monospace; font-variant-numeric: tabular-nums; }
.replay-meta a { color: var(--blue); }
.replay-grid { display: grid; grid-template-columns: minmax(0,3.5fr) minmax(13.2rem,1fr); }
.trace-block { padding: 1rem 1.4rem .85rem; min-width: 0; }
.trace-controls { gap: .2rem; width: fit-content; padding: .18rem; border: 1px solid #cdd9e4; border-radius: .35rem; background: #f0f4f8; }
.trace-controls button { border: 1px solid transparent; border-radius: .2rem; padding: .26rem .7rem; font-size: .88rem; line-height: 1.45; color: #465a6e; background: transparent; }
.trace-controls button[aria-pressed="true"] { background: white; color: #113c76; border-color: #b9cbdb; font-weight: 630; }
.trace-legend { font-size: .89rem; color: #3e5064; gap: .45rem; margin: .75rem 0 .45rem; }
.series { width: 1rem; height: 3px; background: #ed7100; }
.series.green { background: #049346; }
.plot-grid { display: grid; grid-template-columns: 3.5rem 1fr; }
.axis-y { display: flex; flex-direction: column; justify-content: space-between; color: #526578; font-size: .81rem; }
.trace-window { position: relative; min-width: 0; border-left: 1px solid #c9d3de; border-bottom: 1px solid #c9d3de; }
.trace-window img { width: 100%; height: clamp(7.1rem,9.5vw,10rem); }
.time-marker { position: absolute; top: 0; bottom: 0; left: 24.96%; width: 0; border-left: 1px dashed #9c4208; pointer-events: none; }
.time-marker b { position: absolute; top: -1.35rem; left: .25rem; font-size: .78rem; padding: .03rem .25rem; background: #fff5e6; color: #93410c; }
.aligned .time-marker { animation: align .35s ease-out; }
@keyframes align { from { transform: translateX(-1.2rem); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.axis-x { margin-left: 3.5rem; display: flex; justify-content: space-between; font-size: .81rem; color: #526578; }
.trace-notes { justify-content: space-between; gap: .65rem; margin-top: .65rem; font-size: .9rem; color: var(--muted); }
.replay-step { background: none; border: 0; color: var(--blue); text-decoration: underline; text-underline-offset: .22em; font-weight: 580; padding: .2rem; white-space: nowrap; }
.trace-controls[hidden], .replay-step[hidden] { display: none; }
.observations { border-left: 1px solid #d2dde5; background: #f8fafb; padding: 1rem 1.35rem; }
.observations h3 { font-size: .94rem; color: #354c63; }
.observations h3 time { display: inline-block; margin-left: .35rem; font: 600 .875rem ui-monospace, monospace; color: #93410c; }
.observations dl { margin: .4rem 0 0; }
.observations dl div { padding: .6rem 0; border-bottom: 1px solid #dce4eb; }
.observations dl div:last-child { border: 0; }
.observations dt { color: #506477; font-size: .88rem; }
.observations dd { font-size: 1.09rem; margin: .1rem 0 0; line-height: 1.3; }
.observations dd.peak-value { font-size: 1.9rem; font-weight: 620; color: #183a5b; }
.peak-value small { font-size: .95rem; }
.observations .selected dd { color: #93410c; }
.replay-footer { border-top: 1px solid #d2dde5; background: #f9fbfd; padding: .8rem 1.35rem; justify-content: space-between; gap: 1rem; }
.replay-footer p { font-size: .92rem; color: #394e64; }
.replay-footer a { flex: none; font-size: .94rem; }
.issue-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid #c5d2df; }
.issue-grid article { padding: 1.65rem clamp(1rem,2vw,2rem); }
.issue-grid article:first-child { padding-left: 0; }
.issue-grid article + article { border-left: 1px solid var(--line); }
.issue-grid .icon { color: #28568d; width: 1.6rem; height: 1.6rem; margin-bottom: .8rem; }
.issue-grid h3 { font-size: 1.23rem; }
.issue-grid p { margin: .6rem 0 1rem; }
.field-hardware { padding: 3.3rem 0; background: #eaf0f5; border-top: 1px solid var(--line); }
.hardware-spread { display: grid; align-items: center; grid-template-columns: 1fr 1.25fr; gap: 3rem; }
.hardware-spread h2 { margin: .5rem 0 .85rem; }
.hardware-spread .button { margin-top: 1rem; }
.hardware-spread figure { min-width: 0; text-align: center; }
.hardware-spread img { width: 100%; mix-blend-mode: multiply; }
.hardware-spread figcaption { font-size: .9rem; margin-top: .6rem; color: #536478; }
@media (max-width:55rem) {
  .field-lead { grid-template-columns: 1.12fr 1fr; gap: 1.4rem; }
  .field-lead h1 { font-size: clamp(2.4rem,5.7vw,3rem); }
  .replay-grid { grid-template-columns: minmax(0,1fr) 11.5rem; }
  .observations { padding-inline: .8rem; }
  .replay-footer { align-items: start; flex-direction: column; gap: .45rem; }
}
@media (max-width:42rem) {
  .field-lead,.hardware-spread { grid-template-columns: 1fr; gap: 1.05rem; }
  .field-lead h1 { font-size: clamp(2.28rem,8.7vw,3.25rem); margin-top: .65rem; }
  .field-intro p { font-size: 1rem; }
  .field-intro .actions { margin-top: .9rem; }
  .replay-grid { grid-template-columns: 1fr; }
  .replay-header { align-items: start; flex-direction: column; gap: .3rem; padding: .75rem .9rem; }
  .replay-meta { gap: .75rem; }
  .trace-block { padding: .75rem; }
  .plot-grid { grid-template-columns: 2.85rem 1fr; }
  .axis-x { margin-left: 2.85rem; }
  .axis-x,.axis-y { font-size: .77rem; }
  .trace-window img { height: 6.8rem; }
  .time-marker b { display: none; }
  .observations { border-left: 0; border-top: 1px solid var(--line); padding: .75rem .9rem; }
  .observations dl div { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; padding: .35rem 0; }
  .observations dd.peak-value { font-size: 1.3rem; }
  .replay-footer { padding: .75rem .9rem; }
  .issue-grid { grid-template-columns: 1fr; }
  .issue-grid article,.issue-grid article:first-child { padding-inline: .1rem; }
  .issue-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { .aligned .time-marker { animation: none; } }
