.fault-hero h1 { max-width: 24ch; text-wrap: balance; }
.fault-example { padding-block: clamp(32px, 5vw, 64px); }
.example-heading { margin-bottom: 22px; }
.example-heading h2 { margin: 12px 0 0; font-size: clamp(26px, 3vw, 40px); line-height: 1.15; }
.case-sheet { border: 1px solid #c6d7e7; border-radius: 12px; background: white; overflow: hidden; }
.fault-film { margin: 0; }
.film-caption { display: flex; justify-content: space-between; align-items: center; padding: 9px clamp(14px, 2.4vw, 28px); min-height: 43px; border-bottom: 1px solid #d3e1ee; color: #163958; font-size: 14px; font-weight: 650; }
.film-descriptor { margin-left: 5px; color: #4c647e; font-weight: 400; }
.film-toggle { display: grid; place-items: center; width: 32px; height: 32px; background: white; border: 1px solid #cbd9e6; border-radius: 50%; color: #174973; cursor: pointer; }
.film-toggle:focus-visible { outline: 2px solid #1c73c5; outline-offset: 2px; }
.film-toggle[hidden], .play-icon, .film-toggle[data-paused] .pause-icon { display: none; }
.film-toggle[data-paused] .play-icon { display: inline; }
.film-toggle svg { width: 13px; height: 13px; }
.film-description { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.film-deck { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,.80fr) minmax(0,1.2fr); align-items: center; gap: clamp(22px,5vw,75px); padding: clamp(16px,3vw,40px); background: radial-gradient(#cadae6 .75px, transparent .9px) 0 0/14px 14px, #edf4fa; overflow: hidden; }
.film-machine { min-width: 0; }
.machine-screen { position: relative; padding: clamp(14px,1.6vw,24px); border: 5px solid #18324e; border-radius: 13px; color: #ecf6ff; background: linear-gradient(135deg,#0c294b,#112339); box-shadow: 0 5px 14px #1534521c; }
.screen-title, .scope-labels { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #bed6e9; font-variant-numeric: tabular-nums; font-size: 12px; }
.screen-title i { width: 6px; height: 6px; display: inline-block; background: #70baff; border-radius: 50%; margin: 0 4px 2px 0; }
.machine-title { margin: 20px 0 13px; display: flex; gap: 10px; align-items: center; }
.machine-title strong { display: block; font-size: clamp(22px,2.6vw,35px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.machine-title div span { display: block; margin-top: 4px; font-size: 14px; }
.machine-alert { border: 1px solid #deaf6b; color: #ffcd87; width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; font-weight: 650; }
.monitor-chart svg { display: block; height: clamp(55px,6.7vw,88px); width: 100%; }
.monitor-chart path, .match-chart path, .packet path, .archive-source svg * { fill: none; vector-effect: non-scaling-stroke; }
.scope-grid { stroke: #254562; stroke-width: 1; }
.scope-mark { stroke: #9fb3bc; stroke-width: 1; stroke-dasharray: 3 4; }
.monitor-line { stroke: #85d4ff; stroke-width: 2.7; stroke-linejoin: round; }
.scope-labels { margin-top: 4px; font-size: 11px; }
.machine-port { display: flex; justify-content: end; margin-top: 12px; }
.packet { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 27px; padding: 0 8px; white-space: nowrap; border: 1px solid #a4c9ed; background: #edf6ff; color: #174c7e; border-radius: 5px; font-size: 11px; line-height: 1; }
.packet svg { width: 30px; height: 12px; }
.packet path { stroke: #1e78bc; stroke-width: 1.6; }
.monitor-neck, .monitor-foot { display: block; margin: auto; background: #405b75; }
.monitor-neck { width: 14%; height: 10px; }
.monitor-foot { width: 34%; height: 4px; border-radius: 3px; }
.film-app { min-width: 0; background: #fff; border: 1px solid #b4cbdc; border-radius: 10px; box-shadow: 0 6px 22px #14395a0e; overflow: hidden; }
.app-title { display: flex; align-items: center; gap: 9px; padding: 13px 18px; color: #123457; border-bottom: 1px solid #dce7ef; }
.app-title .slash { width: 2px; height: 18px; margin: 0; }
.app-title strong { font-size: 17px; }
.app-inputs { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 12px; padding: 12px 18px; background: #f6f9fc; border-bottom: 1px solid #dce7ef; }
.field-label, .report-label, .match-heading, .match-legend { color: #415e77; font-size: 12px; line-height: 1.35; }
.field-label { display: block; margin-bottom: 5px; }
.input-slot { position: relative; display: inline-grid; align-items: center; min-height: 27px; }
.input-slot > * { grid-area: 1 / 1; }
.slot-idle { opacity: 0; width: 100%; padding: 4px; border: 1px dashed #a4bdd1; border-radius: 5px; color: #546e84; text-align: center; font-size: 11px; }
.archive-source { display: flex; align-items: center; gap: 6px; min-height: 27px; line-height: 1.2; color: #234f77; font-size: 13px; font-weight: 600; }
.archive-source svg { flex: 0 0 19px; width: 19px; height: 19px; stroke: #47779c; stroke-width: 1.4; }
.app-output { display: grid; padding: clamp(15px,1.65vw,24px); }
.app-output > * { grid-area: 1 / 1; min-width: 0; }
.match-view { align-self: center; opacity: 0; }
.match-heading, .report-label { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.match-heading { font-size: 15px; font-weight: 600; }
.match-heading b, .report-label b { font-size: 11px; font-weight: 500; color: #536e84; }
.match-chart { width: 100%; height: 85px; display: block; margin: 15px 0 9px; background: repeating-linear-gradient(0deg,#fff 0 21px,#e6edf3 21px 22px); }
.archive-line { stroke: #7591aa; stroke-width: 2.3; stroke-dasharray: 4 3; }
.current-line { stroke: #176bb2; stroke-width: 2.5; }
.match-legend { display: flex; flex-wrap: wrap; gap: 6px 15px; }
.match-legend span::before { content: ''; display: inline-block; width: 14px; vertical-align: middle; margin-right: 5px; border-top: 2px dashed #7591aa; }
.match-legend span + span::before { border-top: 2px solid #176bb2; }
.report-label span { color: #1768a9; font-weight: 650; }
.report-view h3 { color: #0c365e; font-size: clamp(19px,1.8vw,26px); line-height: 1.12; margin: 5px 0; }
.report-view p, .report-view li { font-size: 14px; line-height: 1.4; color: #304d66; }
.report-view p { margin: 0; }
.report-view h4 { margin: 12px 0 4px; padding-top: 10px; border-top: 1px solid #d4e1ec; color: #173c60; font-size: 14px; }
.report-view ol { margin: 0; padding-left: 1.35em; }
.report-view li + li { margin-top: 3px; }
.report-view li::marker { color: #216da8; font-weight: 650; }
.flight-packet { display: none; position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; box-shadow: 0 3px 13px #25578040; }
.fault-film[data-phase="transfer"] .flight-packet { display: flex; }
.fault-film:not([data-phase="monitor"]) .source-packet { opacity: .45; }
.fault-film:is([data-phase="monitor"],[data-phase="transfer"]) :is(.received-packet,.match-state,.match-legend span + span) { opacity: 0; }
.fault-film:is([data-phase="monitor"],[data-phase="transfer"]) .slot-idle { opacity: 1; }
.fault-film:not([data-phase="result"]) .match-view { opacity: 1; }
.fault-film:not([data-phase="result"]) .report-view { opacity: 0; }
.fault-film[data-animated] :is(.match-view,.report-view) { transition: opacity .24s ease-out; }
.fault-film[data-phase="compare"] .archive-source { color: #1465a8; }
@media (max-width: 760px) {
  .film-deck { grid-template-columns: minmax(0,1fr); padding: 12px; gap: 14px; }
  .film-machine { width: min(94%, 360px); justify-self: center; }
  .machine-screen { padding: 10px 13px; border-width: 3px; border-radius: 9px; }
  .screen-title { font-size: 11px; }
  .machine-title { margin: 10px 0 4px; gap: 7px; }
  .machine-title > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 7px; }
  .machine-title strong { font-size: 19px; }
  .machine-title div span { font-size: 12px; margin: 0; }
  .machine-alert { width: 17px; height: 17px; font-size: 12px; }
  .monitor-chart svg { height: 39px; }
  .machine-port { margin-top: 2px; }
  .monitor-neck { height: 5px; }
  .monitor-foot { height: 3px; }
  .app-title { padding: 8px 12px; }
  .app-title strong { font-size: 15px; }
  .app-inputs { padding: 8px 12px; gap: 6px; }
  .archive-source { font-size: 12px; }
  .app-output { padding: 12px; }
  .report-view p, .report-view li { font-size: 13px; line-height: 1.4; }
  .film-caption { padding: 5px 12px; font-size: 12px; }
  .case-sheet .case-evidence dl { grid-template-columns: minmax(0,1fr); }
}

.case-evidence { border-top: 1px solid #c6d7e7; }
.case-evidence summary { cursor: pointer; color: #195c93; font-size: 14px; font-weight: 600; padding: 13px clamp(20px, 3vw, 36px); }
.case-evidence summary:focus-visible { outline-offset: -4px; }
.case-evidence dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 4px clamp(20px, 3vw, 36px) 22px; margin: 0; }
.case-evidence dt { font-size: 14px; font-weight: 650; }
.case-evidence dd { margin: 5px 0 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.case-caption { margin: 9px 0 0; font-size: 12px; color: var(--muted); }
.fault-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 24px; }
.fault-hero-actions .button { margin-top: 0; }
.experience-grid, .pilot-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(28px, 6vw, 90px); }
.experience-grid h2, .pilot-grid h2 { font-size: clamp(29px, 3.5vw, 48px); letter-spacing: -.035em; line-height: 1.14; margin: 16px 0; }
.story-text p, .pilot-grid p:not(.eyebrow) { font-size: 16px; line-height: 1.75; color: var(--muted); }
.fault-experience { background: #0b2b52; color: white; }
.experience-grid, .pilot-grid { padding-block: clamp(44px, 6vw, 82px); }
.experience-grid { grid-template-columns: .9fr 1.1fr; }
.experience-grid .eyebrow, .experience-grid .byline { color: #abd7ff; }
.experience-grid .byline { margin-top: 24px; font-size: 14px; }
.story-text p { color: #e3eef8; margin: 0; }
.story-text p + p { margin-top: 18px; }
.fault-pilot { background: #eff5fa; border-block: 1px solid var(--line); }
.pilot-paper { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: clamp(18px, 2.6vw, 32px); }
.pilot-paper h3 { font-size: 22px; margin: 0 0 14px; }
.pilot-paper dl { margin: 0; }
.pilot-paper dl div { border-top: 1px solid var(--line); padding: 12px 0 0; margin-top: 12px; }
.pilot-paper dt { font-size: 13px; font-weight: 650; color: #205a8e; }
.pilot-paper dd { margin: 3px 0 0; line-height: 1.65; color: var(--muted); font-size: 15px; }
.fault-faq { padding-top: clamp(44px, 6vw, 82px); }
@media (max-width: 760px) {
  .experience-grid, .pilot-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .fault-hero-actions { align-items: start; }
  .experience-grid .byline { margin-top: 14px; }
}
